/* Matcha Pilates — Magazine-style Global Pilates Hub
   Inspired by @matcha.pilates IG modules (not a template)
   Palette: matcha #63C477 · parchment #D8CEC1 · taupe #B8AEA3 · charcoal #202020 · cream #F3E8D4
   Type: Archivo Black · Cormorant Garamond · Great Vibes · Montserrat
*/

:root {
  --matcha: #63C477;
  --matcha-deep: #4AA863;
  --matcha-dark: #2F6B45;
  --matcha-soft: #A8D9B4;

  --parchment: #D8CEC1;
  --taupe: #B8AEA3;
  --taupe-deep: #9A9084;
  --cream: #F3E8D4;
  --cream-soft: #F7F0E4;
  --ivory: #FAF6EF;
  --stone: #C9BDB0;
  --sepia: #8B7355;
  --gold: #C4A35A;
  --gold-deep: #A8893E;

  --charcoal: #202020;
  --ink: #161616;
  --muted: #5C574F;
  --white: #FFFFFF;

  --cyan: #00C8DC;
  --magenta: #E02878;

  --font-display: "Archivo Black", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-script: "Great Vibes", "Apple Chancery", cursive;
  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --texture-paper: url("../assets/texture-taupe-paper.png");
  --texture-cream: url("../assets/texture-cream-paper.png");
  --texture-stone: url("../assets/texture-taupe-stone.png");

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --radius: 2px;
  --gutter: 0.55rem;
  --max: 1120px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 18px 50px rgba(32, 32, 32, 0.1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--charcoal);
  background:
    var(--texture-cream) center / 480px repeat,
    var(--parchment);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--matcha-dark); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--matcha-deep); }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--matcha);
  outline-offset: 3px;
}

h1, h2, h3 { color: var(--ink); margin: 0 0 0.75rem; }

.display-heading,
h1 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.4rem, 7vw, 4.8rem); }
.display-heading,
h2.display-heading { font-size: clamp(1.75rem, 4.5vw, 2.85rem); }

h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.25;
}

.script-gold {
  font-family: var(--font-script);
  font-weight: 400;
  font-style: normal;
  color: var(--gold-deep);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1;
}
.script-inline {
  font-size: 1.85em;
  display: inline-block;
  vertical-align: baseline;
  margin: 0 0.05em;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--matcha);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sepia);
  margin: 0 0 0.85rem;
}
.eyebrow-light { color: var(--matcha-soft); }

.section-lead {
  color: var(--muted);
  font-weight: 300;
  max-width: 42ch;
  margin: 0.5rem 0 0;
}
.section-header { max-width: 36rem; margin-bottom: var(--space-xl); }
.section-header-center {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
.section-header-center .section-lead { margin-inline: auto; }

.section { padding: var(--space-2xl) 0; }

/* ——— Green MAT/CHA badge ——— */
.matcha-badge {
  display: inline-grid;
  place-items: center;
  background: var(--matcha);
  color: var(--white);
  width: 72px;
  height: 72px;
  line-height: 1;
  text-align: center;
  box-shadow: 0 4px 18px rgba(32, 32, 32, 0.18);
}
.matcha-badge .badge-mat,
.matcha-badge .badge-cha {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  display: block;
}
.matcha-badge .badge-sub {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.42rem;
  letter-spacing: 0.22em;
  margin-top: 0.15rem;
  opacity: 0.92;
}
.badge-sm { width: 48px; height: 48px; }
.badge-sm .badge-mat,
.badge-sm .badge-cha { font-size: 0.62rem; }
.badge-lg { width: 110px; height: 110px; }
.badge-lg .badge-mat,
.badge-lg .badge-cha { font-size: 1.35rem; }
.badge-lg .badge-sub { font-size: 0.55rem; margin-top: 0.25rem; }

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 232, 212, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--stone);
  box-shadow: 0 4px 24px rgba(32, 32, 32, 0.06);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.brand:hover { color: inherit; }
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(32, 32, 32, 0.08);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand-tag {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  margin-inline: auto;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(3.75px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: var(--cream);
  border-bottom: 1px solid var(--stone);
  padding: 1.25rem 1.5rem 1.75rem;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.site-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.site-nav a {
  display: block;
  padding: 0.7rem 0.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--charcoal);
}
.site-nav a:hover { color: var(--matcha-dark); }
.nav-cta {
  margin-top: 0.5rem;
  text-align: center;
  background: var(--matcha);
  color: var(--white) !important;
  border-radius: var(--radius);
  padding: 0.85rem 1rem !important;
}
.nav-cta:hover { background: var(--matcha-deep); color: var(--white) !important; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    inset: auto;
    background: transparent;
    border: 0;
    padding: 0;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.1rem;
  }
  .site-nav a {
    padding: 0.5rem 0.65rem;
    font-size: 0.7rem;
  }
  .nav-cta {
    margin-top: 0;
    margin-left: 0.5rem;
    padding: 0.55rem 1rem !important;
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--matcha);
  color: var(--white);
  border-color: var(--matcha);
}
.btn-primary:hover { background: var(--matcha-deep); border-color: var(--matcha-deep); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--taupe-deep);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* ========== HERO ========== */
.hero {
  padding: var(--space-lg) 0 var(--space-xl);
  background:
    linear-gradient(180deg, rgba(243, 232, 212, 0.55), rgba(216, 206, 193, 0.9)),
    var(--texture-paper) center / 400px repeat,
    var(--parchment);
}

.hero-stage {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 900px) {
  .hero-stage {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-xl);
    min-height: calc(100svh - var(--header-h) - 8rem);
  }
}

.hero-photo-frame {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--charcoal);
  box-shadow: var(--shadow-soft);
  outline: 2px solid var(--matcha);
  outline-offset: 6px;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) grayscale(0.15);
}
.hero-photo-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(16, 16, 16, 0.55) 100%);
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-copy { max-width: 34rem; }
.hero .display-line { display: block; }

.hero-emphasis {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-style: italic;
  color: var(--ink);
  margin: 0.35rem 0 1.15rem;
}
.hero-emphasis .script-gold {
  font-style: normal;
  font-size: 1.35em;
  padding: 0 0.1em;
}

.hero-pillars {
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 1.4vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin: 0 0 0.55rem;
}
.hero-pillars span { color: var(--taupe-deep); margin: 0 0.3rem; font-weight: 300; }

.hero-geo {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sepia);
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Circular IG-style highlights */
.highlights {
  width: min(100% - 1.5rem, var(--max));
  margin: var(--space-xl) auto 0;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem 0.5rem 1rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.highlight {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--charcoal);
  min-width: 76px;
}
.highlight:hover { color: var(--matcha-dark); }
.highlight-orb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    var(--texture-cream) center / cover,
    var(--cream);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1.5px var(--stone), 0 6px 18px rgba(32, 32, 32, 0.08);
  color: var(--matcha);
}
.highlight-orb-matcha {
  background: var(--matcha);
  color: var(--white);
  box-shadow: 0 0 0 1.5px var(--matcha-deep), 0 6px 18px rgba(32, 32, 32, 0.12);
}
.highlight-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

/* ========== IG GRID HUB ========== */
.hub {
  background:
    linear-gradient(180deg, rgba(184, 174, 163, 0.35), rgba(216, 206, 193, 0.55)),
    var(--texture-stone) center / 380px repeat,
    var(--taupe);
}

.ig-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gutter);
}

@media (min-width: 640px) {
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .ig-grid { grid-template-columns: repeat(3, 1fr); gap: 0.65rem; }
}

.ig-tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--charcoal);
  isolation: isolate;
}

.ig-tile > img:not(.tile-bg),
.ig-tile .tile-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.tile-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  background: linear-gradient(180deg, transparent 35%, rgba(16, 16, 16, 0.72) 100%);
  color: var(--white);
}
.tile-overlay-dark {
  background: linear-gradient(180deg, rgba(16, 16, 16, 0.35) 0%, rgba(16, 16, 16, 0.78) 100%);
  justify-content: space-between;
  padding-top: 1.35rem;
}

.tile-kicker {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 0.45rem;
  color: rgba(255, 255, 255, 0.75);
}
.tile-kicker-cyan { color: var(--cyan); }

.tile-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.25;
  margin: 0;
  color: var(--white);
  text-transform: none;
  letter-spacing: 0;
}

.tile-headline-caps {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 0.65rem;
  color: var(--white);
}

.tile-body {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 28ch;
}
.dark-body { color: var(--muted); }

.ig-tile .matcha-badge {
  position: absolute;
  bottom: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

/* Quote tiles */
.tile-quote { background: var(--parchment); }
.tile-quote-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1.25rem 3.25rem;
  background: rgba(216, 206, 193, 0.28);
}
.tile-quote-inner blockquote {
  margin: 0 0 1rem;
  border: 0;
  padding: 0;
}
.tile-quote-inner blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}
.mindset-label {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sepia);
  margin: 0;
}

/* Framed mono photo tile */
.tile-framed {
  background:
    var(--texture-cream) center / cover,
    var(--cream);
  display: grid;
  place-items: center;
  padding: 1.1rem;
}
.framed-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  outline: 2px solid var(--matcha);
  outline-offset: 0;
  overflow: hidden;
}
.framed-inner img {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.framed-script {
  position: absolute;
  bottom: 0.65rem;
  left: 0.75rem;
  z-index: 2;
  font-family: var(--font-script);
  font-size: 1.35rem;
  color: var(--gold);
  margin: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
.framed-caption {
  position: absolute;
  bottom: 0.55rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sepia);
  margin: 0;
  z-index: 2;
}

/* Solid pillar tile */
.tile-solid { background: var(--cream); }
.solid-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(243, 232, 212, 0.82);
}
.solid-inner .tile-kicker { color: var(--sepia); }
.solid-inner .tile-headline-caps { color: var(--ink); }
.tile-link {
  margin-top: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--matcha-dark);
}
.tile-link:hover { color: var(--matcha); }

.grain-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--texture-stone);
  background-size: 320px;
  opacity: 0.35;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
.grain-surface > * { position: relative; z-index: 1; }

/* ========== PARCHMENT MINDSET ========== */
.mindset {
  background:
    linear-gradient(180deg, rgba(216, 206, 193, 0.7), rgba(184, 174, 163, 0.45)),
    var(--texture-paper) center / 420px repeat,
    var(--parchment);
}

.parchment-card {
  position: relative;
  margin: 0 auto;
  max-width: 52rem;
  aspect-ratio: 1 / 0.92;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(32, 32, 32, 0.1);
}
@media (min-width: 720px) {
  .parchment-card { aspect-ratio: 4 / 3; }
}

.parchment-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.parchment-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 5vw, 3.5rem) 5rem;
  background: rgba(216, 206, 193, 0.22);
}
.parchment-quote {
  margin: 0 0 1.5rem;
  border: 0;
  padding: 0;
  max-width: 36rem;
}
.parchment-quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3.2vw, 2.1rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
}
.parchment-card .matcha-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
}

/* ========== DARK NEWS ========== */
.news {
  background: var(--charcoal);
  color: rgba(243, 232, 212, 0.88);
  padding: 0;
}
.news-panel {
  display: grid;
  gap: 0;
}
@media (min-width: 860px) {
  .news-panel { grid-template-columns: 1fr 1fr; min-height: 560px; }
}
.news-visual {
  position: relative;
  min-height: 320px;
  background: #121214;
}
.news-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.news-copy {
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(0, 200, 220, 0.08), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(224, 40, 120, 0.07), transparent 45%),
    var(--charcoal);
}
.news-headline {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 1rem;
}
.news-lead {
  font-weight: 300;
  color: rgba(243, 232, 212, 0.72);
  max-width: 38ch;
  margin-bottom: 1.25rem;
}
.news-points {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.news-points li {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  padding-left: 1rem;
  position: relative;
}
.news-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--magenta);
}

/* ========== METHOD ========== */
.method {
  background:
    linear-gradient(180deg, rgba(243, 232, 212, 0.85), rgba(216, 206, 193, 0.7)),
    var(--texture-cream) center / 420px repeat,
    var(--cream);
}

.principle-row {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .principle-row { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.principle {
  padding: 1.75rem 1.35rem;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(139, 115, 85, 0.22);
  position: relative;
  overflow: hidden;
}
.principle::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--texture-stone);
  background-size: 300px;
  opacity: 0.3;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.principle > * { position: relative; z-index: 1; }
.principle-orb {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cream);
  border: 1.5px solid var(--white);
  box-shadow: 0 0 0 1px var(--stone);
  color: var(--matcha);
  margin-bottom: 1.1rem;
}
.principle h3 { margin-bottom: 0.55rem; }
.principle p {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 300;
}

/* ========== COMMUNITY ========== */
.community {
  background:
    linear-gradient(180deg, rgba(184, 174, 163, 0.28), rgba(216, 206, 193, 0.55)),
    var(--texture-paper) center / 400px repeat,
    var(--taupe);
}

.community-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  align-items: stretch;
}

.community-intro {
  max-width: 40rem;
  text-align: left;
}

.community-lead {
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 1.5rem;
  max-width: 42ch;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.25rem;
  background: rgba(243, 232, 212, 0.92);
  border: 1px solid rgba(139, 115, 85, 0.28);
  text-decoration: none;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.social-pill:hover {
  border-color: var(--matcha);
  box-shadow: var(--shadow-soft);
  color: var(--matcha-dark);
}
.social-pill svg { color: var(--matcha); flex-shrink: 0; }

/* Full-width IG-style gallery — cream mats lift taupe posts off taupe ground */
.community-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .community-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.community-card {
  display: block;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.community-card-mat {
  display: block;
  background: var(--cream);
  padding: 0.85rem;
  border: 1px solid rgba(139, 115, 85, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 18px 40px rgba(48, 40, 32, 0.12);
  position: relative;
}
.community-card-mat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--matcha);
  opacity: 0.85;
}
.community-card-mat img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  background: #e8e0d4;
  transition: transform 0.45s ease;
}
.community-card:hover .community-card-mat {
  border-color: rgba(99, 196, 119, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 22px 48px rgba(48, 40, 32, 0.16);
}
.community-card:hover .community-card-mat img {
  transform: scale(1.015);
}

/* legacy strip classes kept harmless if referenced elsewhere */
.community-layout { display: block; }
.community-strip,
.strip-tile,
.strip-badge,
.strip-script,
.strip-script-text { display: none; }

/* ========== ABOUT ========== */
.about {
  background:
    linear-gradient(180deg, rgba(216, 206, 193, 0.8), rgba(243, 232, 212, 0.7)),
    var(--texture-cream) center / 420px repeat,
    var(--cream);
}
.about-layout {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 800px) {
  .about-layout { grid-template-columns: 0.7fr 1.3fr; gap: var(--space-2xl); }
}
.about-visual { display: flex; justify-content: center; }
.about-frame {
  width: min(240px, 58vw);
  aspect-ratio: 1;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  outline: 2px solid var(--matcha);
  outline-offset: 6px;
}
.about-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p { color: var(--muted); font-weight: 300; max-width: 42ch; }

/* ========== CONTACT ========== */
.contact {
  text-align: center;
  background:
    linear-gradient(180deg, rgba(243, 232, 212, 0.9), rgba(216, 206, 193, 0.85)),
    var(--texture-paper) center / 400px repeat,
    var(--parchment);
}
.contact-inner { max-width: 560px; }
.contact-lead {
  color: var(--muted);
  font-weight: 300;
  margin-bottom: var(--space-lg);
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  text-align: left;
}
.contact-list li {
  display: grid;
  gap: 0.2rem;
  padding: 1.05rem 1.2rem;
  background: rgba(243, 232, 212, 0.72);
  border: 1px solid rgba(139, 115, 85, 0.25);
  position: relative;
  overflow: hidden;
}
.contact-list li::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--texture-stone);
  background-size: 300px;
  opacity: 0.25;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.contact-list li > * { position: relative; z-index: 1; }
.contact-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sepia);
}
.contact-list a {
  font-size: 1.02rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}
.contact-list a:hover { color: var(--matcha-dark); }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--ink);
  color: rgba(243, 232, 212, 0.7);
  padding: var(--space-xl) 0 var(--space-lg);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  opacity: 0.12;
  pointer-events: none;
}
.footer-inner {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
  position: relative;
  z-index: 1;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-brand img { border-radius: 3px; }
.footer-name {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}
.footer-tag {
  margin: 0.15rem 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: rgba(243, 232, 212, 0.5);
}
.footer-geo {
  margin: 0.35rem 0 0;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.footer-nav a {
  color: rgba(243, 232, 212, 0.7);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-nav a:hover { color: var(--matcha-soft); }
.footer-copy {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(243, 232, 212, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  width: 100%;
}

@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .footer-copy { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
