/* ============================================================
   Heritage Natural Stone — one-page pilot
   Palette: Charcoal #2A2825 · Alabaster #F8F3EA · Quarry Gold #CBAE82 · Navy #1F3E52
   Type: Cinzel (wordmark + Our Values) · Montserrat (Light body / SemiBold display)
   ============================================================ */

:root {
  --charcoal: #2a2825;
  --charcoal-deep: #211f1d;
  --alabaster: #f8f3ea;
  --alabaster-dim: #efe8da;
  --gold: #cbae82;
  --navy: #1f3e52;
  --ink: #26241f;
  --bar-h: 76px;
  --pad-x: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* NOTE: no CSS scroll-behavior:smooth here — Chrome silently drops fragment
   scrolls with it; smooth in-page scrolling is done in JS instead. */
html {
  scroll-padding-top: var(--bar-h);
}

body {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(1.02rem, 0.9rem + 0.5vw, 1.25rem); /* ~16 → 20px */
  line-height: 1.65;
  color: var(--ink);
  background: var(--alabaster);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* QA hook: ?noanim disables every animation/transition */
.no-anim *, .no-anim *::before, .no-anim *::after {
  animation: none !important;
  transition: none !important;
}

/* ---------- Shared type ---------- */

.kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.kicker--gold { color: var(--gold); }

.section__title {
  font-weight: 600;
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.75rem); /* → 60px */
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: inherit;
  text-wrap: balance;
}

.section__text {
  max-width: 62ch;
}

.section__text + .section__text { margin-top: 1.2em; }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }
.no-anim .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   1. Hero
   ============================================================ */

.hero {
  position: relative;
  height: 100svh;
  min-height: 520px;
  background:
    linear-gradient(rgba(28, 25, 22, 0.38), rgba(28, 25, 22, 0.3)),
    url("../assets/photos/hero-travertine.webp") center/cover no-repeat;
}

.hero__stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.2rem, 3vh, 2.2rem);
  padding: 0 var(--pad-x);
  text-align: center;
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 1.8rem);
  will-change: transform, opacity;
}

.hero__mark {
  width: clamp(56px, 7vw, 96px);
  height: auto;
  filter: brightness(0) invert(1) opacity(0.96); /* alabaster-white version */
}

.hero__word { text-align: left; color: var(--alabaster); }

.hero__name {
  display: block;
  font-family: "Cinzel", serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0.06em;
}

.hero__sub {
  display: block;
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: clamp(1rem, 2.3vw, 1.9rem);
  letter-spacing: 0.3em;
  margin-top: 0.35em;
  text-transform: uppercase;
}

.hero__slogan {
  color: var(--alabaster);
  font-weight: 300;
  font-size: clamp(1.1rem, 2.1vw, 1.6rem);
  letter-spacing: 0.07em;
  text-shadow: 0 1px 28px rgba(26, 23, 20, 0.55), 0 0 2px rgba(26, 23, 20, 0.35);
  will-change: opacity, transform;
}

/* ============================================================
   Bar — hero footer that sticks into the header
   ============================================================ */

.bar {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 var(--pad-x);
  background: var(--alabaster);
  color: var(--ink);
  transition: background 0.45s var(--ease), color 0.45s var(--ease),
              box-shadow 0.45s var(--ease);
}

.bar.is-stuck { box-shadow: 0 1px 0 rgba(42, 40, 37, 0.08); }

.bar__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  opacity: 1;
  transition: opacity 0.3s var(--ease);
}

/* while the big hero logo is flying in, the small slot stays empty */
.bar__brand.is-waiting { opacity: 0; }

.bar__mark {
  width: 26px;
  height: auto;
  filter: none; /* dark mark on light bar */
  transition: filter 0.45s var(--ease);
}

.bar__word { line-height: 1.05; }

.bar__name {
  display: block;
  font-family: "Cinzel", serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bar__sub {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.nav { display: flex; gap: clamp(1.2rem, 3vw, 2.6rem); }

.nav__link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  padding: 0.4rem 0;
  white-space: nowrap;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right 0.3s var(--ease);
}

.nav__link:hover::after,
.nav__link.is-active::after { right: 0; }

/* dark sections underneath → dark bar, light text/logo */
.bar.is-dark {
  background: var(--charcoal-deep);
  color: var(--alabaster);
}
.bar.is-dark .bar__mark { filter: brightness(0) invert(1) opacity(0.96); }

/* ---------- Mobile menu ---------- */

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  padding: 0 8px;
  z-index: 1001;
}
.menu-toggle span {
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.menu-toggle.is-open span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle.is-open span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: var(--charcoal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}
.mobile-menu a {
  color: var(--alabaster);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
}

/* ============================================================
   Floating contact buttons (appear after the hero)
   ============================================================ */

.contact-rail {
  position: fixed;
  right: clamp(14px, 2.4vw, 30px);
  bottom: clamp(14px, 3vh, 30px);
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

body.past-hero .contact-rail {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* contact section has its own CTAs; the rail steps aside there */
body.in-contact .contact-rail {
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
}

.contact-rail { align-items: flex-end; }

.contact-rail__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--alabaster);
  color: var(--charcoal);
  border: 1px solid rgba(42, 40, 37, 0.08);
  box-shadow: 0 8px 26px rgba(23, 20, 17, 0.28);
  transition: transform 0.25s var(--ease);
}

.contact-rail__btn:active { transform: scale(0.97); }
.contact-rail__btn svg { width: 24px; height: 24px; flex: 0 0 auto; }
.contact-rail__btn--wa svg { color: #25d366; }

/* label floats beside the icon (absolute: never pushes the other button) */
.contact-rail__label {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translate(8px, -50%);
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  background: var(--charcoal-deep);
  color: var(--alabaster);
  box-shadow: 0 6px 20px rgba(23, 20, 17, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.contact-rail__btn--wa .contact-rail__label { background: #25d366; color: #fff; }

@media (hover: hover) {
  .contact-rail__btn:hover .contact-rail__label,
  .contact-rail__btn:focus-visible .contact-rail__label {
    opacity: 1;
    transform: translate(0, -50%);
  }
}
/* touch devices: icons only (no hover state exists) */
@media (hover: none) { .contact-rail__label { display: none; } }

/* ============================================================
   2. Who We Are
   ============================================================ */

.section { padding: clamp(4.5rem, 10vh, 8rem) var(--pad-x); }

.who { background: var(--alabaster); }

.who__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1fr);
  column-gap: clamp(2.5rem, 6vw, 6rem);
  row-gap: clamp(2.5rem, 6vh, 4rem);
  align-items: start;
}

.who__body { padding-top: 0.6rem; }

/* stats share the team grid's exact template so the two 3-col rows align */
.stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.8rem, 4vw, 3.5rem);
  margin-top: clamp(1rem, 4vh, 2.5rem);
}

.stats__num {
  display: block;
  font-weight: 600;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1;
  color: var(--gold);
  letter-spacing: 0.01em;
}

.stats__label {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.95rem;
  max-width: 22ch;
}

/* ============================================================
   3. Our Team
   ============================================================ */

.team { background: var(--alabaster); padding-top: 0; }

.team__grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.8rem, 4vw, 3.5rem);
}

/* sequential entrance: 1st → 2nd → 3rd */
.team__grid .member:nth-child(2) { --reveal-delay: 0.22s; }
.team__grid .member:nth-child(3) { --reveal-delay: 0.44s; }

.member__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 12px;
  background: var(--alabaster-dim);
}

.member__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s var(--ease);
}

.member__img--alt { opacity: 0; }
.member__media.show-alt .member__img--alt { opacity: 1; }
.member__media.show-alt .member__img--main { opacity: 0; }

.member__next {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(248, 243, 234, 0.85);
  color: var(--charcoal);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.member__next span { transform: translateY(-1px); transition: transform 0.3s var(--ease); }
.member__media.show-alt .member__next span { transform: translateY(-1px) rotate(180deg); }

.member__media:hover .member__next,
.member__next:focus-visible { opacity: 1; }
@media (hover: none) { .member__next { opacity: 1; } }

.member__name {
  margin-top: 1.2rem;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
}

.member__role {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0.45rem 0 0.9rem;
  white-space: nowrap;
}

.member__text { font-size: 0.98rem; }

.team__line {
  max-width: 1240px;
  margin: clamp(2.5rem, 6vh, 4rem) auto 0;
  text-align: center;
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(38, 36, 31, 0.75);
}

/* ============================================================
   4. What We Do (dark, video + reversed image block)
   ============================================================ */

.wwd {
  background: var(--charcoal-deep);
  color: var(--alabaster);
  display: grid;
  gap: clamp(4rem, 9vh, 7rem);
}

.wwd__block {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.wwd__video {
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  background: #191715;
  max-height: 72vh;
  justify-self: end;
  width: 100%;
}

.wwd__video video { width: 100%; height: 100%; object-fit: cover; }

.wwd__media {
  aspect-ratio: 3 / 2;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
}

/* ============================================================
   5. Feature grid — 2×2, hover reveals the stone
   ============================================================ */

.features { background: var(--charcoal-deep); }

.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.fcell {
  position: relative;
  min-height: max(50vh, 380px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  overflow: hidden;
  outline: none;
}

/* photo lives on a child so it can Ken-Burns zoom on hover */
.fcell__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.001);
  transition: transform 1.4s var(--ease);
  will-change: transform;
}

.fcell:hover .fcell__bg,
.fcell:focus .fcell__bg,
.fcell:focus-within .fcell__bg { transform: scale(1.06); }

/* readable veil over the photo until the card opens */
.fcell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(26, 23, 20, 0.6);
  transition: background 0.5s var(--ease);
}

.fcell:hover::before,
.fcell:focus-within::before,
.fcell:focus::before { background: rgba(26, 23, 20, 0.24); }

.fcell__card {
  position: relative;
  z-index: 2;
  width: min(420px, 92%);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border-radius: 12px;
  text-align: center;
  color: var(--alabaster);
  background: rgba(248, 243, 234, 0.1);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(248, 243, 234, 0.14);
  transition: background 0.45s var(--ease), color 0.45s var(--ease),
              border-color 0.45s var(--ease);
}

.fcell__title {
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: 0.02em;
}

.fcell__text {
  font-size: 0.98rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease),
              margin-top 0.5s var(--ease);
}

.fcell:hover .fcell__card,
.fcell:focus .fcell__card,
.fcell:focus-within .fcell__card {
  background: rgba(248, 243, 234, 0.96);
  color: var(--ink);
  border-color: transparent;
}

.fcell:hover .fcell__text,
.fcell:focus .fcell__text,
.fcell:focus-within .fcell__text {
  max-height: 14em;
  opacity: 1;
  margin-top: 0.9rem;
}

/* ============================================================
   6. Our Values — Cinzel, centred
   ============================================================ */

.values {
  background: var(--alabaster);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(5rem, 12vh, 9rem);
  padding-bottom: clamp(5rem, 12vh, 9rem);
}

.values__text {
  font-family: "Cormorant Garamond", "Cinzel", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.3rem, 1rem + 1.3vw, 2.2rem);
  line-height: 1.55;
  max-width: 44ch;
  color: var(--charcoal);
}

/* ============================================================
   7. Contact
   ============================================================ */

.close {
  background: var(--charcoal-deep);
  color: var(--alabaster);
}

.close__grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.close__title {
  font-weight: 600;
  font-size: clamp(1.9rem, 1.1rem + 3vw, 3.4rem);
  line-height: 1.12;
}

.close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              color 0.25s var(--ease);
}

.btn:hover { transform: translateY(-2px); }

/* WhatsApp keeps its brand green only on the glyph; the surface stays ours */
.btn--wa {
  border: 1px solid rgba(248, 243, 234, 0.28);
  color: var(--alabaster);
}
.btn--wa svg { width: 20px; height: 20px; color: #25d366; }
.btn--wa:hover { border-color: var(--gold); }

.btn--ghost {
  border: 1px solid rgba(248, 243, 234, 0.4);
  color: var(--alabaster);
}
.btn--ghost:hover { background: rgba(248, 243, 234, 0.1); }

.close__note {
  margin-top: 1.6rem;
  font-size: 0.92rem;
  color: rgba(248, 243, 234, 0.66);
  max-width: 34ch;
}

.close__ask {
  font-weight: 600;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  margin-bottom: 1.4rem;
}

.presets__row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(248, 243, 234, 0.18);
}

.presets__row:first-child { border-top: 1px solid rgba(248, 243, 234, 0.18); }

.presets__link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease), padding-left 0.3s var(--ease);
}

.presets__arrow { transition: transform 0.3s var(--ease); }

.presets__link:hover { color: var(--gold); padding-left: 0.7rem; }
.presets__link:hover .presets__arrow { transform: translateX(6px); }

.presets__mail {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(248, 243, 234, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.presets__mail:hover { background: var(--alabaster); color: var(--charcoal); }

/* the arrow is the row's language; the mail chip appears on row hover */
@media (hover: hover) {
  .presets__mail { opacity: 0; transition: opacity 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease); }
  .presets__row:hover .presets__mail,
  .presets__mail:focus-visible { opacity: 1; }
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: var(--charcoal-deep);
  color: rgba(248, 243, 234, 0.75);
  border-top: 1px solid rgba(248, 243, 234, 0.12);
  padding: 2rem var(--pad-x);
}

.footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Cinzel", serif;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--alabaster);
}

.footer__mark { width: 20px; height: auto; filter: brightness(0) invert(1) opacity(0.9); }

.footer__nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }

.footer__social { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; }

.footer__nav a,
.footer__social a,
.footer__mailto {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: color 0.25s var(--ease);
}

.footer__nav a:hover,
.footer__social a:hover,
.footer__mailto:hover { color: var(--gold); }

.footer__legal { font-size: 0.8rem; }

/* ============================================================
   Motion layer (html.gsap-motion — set pre-paint, removed if GSAP
   fails to load so nothing can stay hidden)
   ============================================================ */

/* hero entrance targets start hidden; GSAP animates them in */
.gsap-motion .hero__mark,
.gsap-motion .hero__word,
.gsap-motion .hero__slogan { visibility: hidden; }
.gsap-motion .bar { transform: translateY(100%); }

/* Our Values word-scrub: JS wraps each word in .w */
.values__text .w { display: inline; }

/* member photo: subtle zoom on hover */
.member__media { overflow: hidden; }
.member__img { transition: opacity 0.5s var(--ease), transform 1.2s var(--ease); }
@media (hover: hover) {
  .member__media:hover .member__img { transform: scale(1.04); }
}

/* team stage: while pinned by ScrollTrigger the section is a full
   viewport frame (desktop only) */
@media (min-width: 901px) {
  .gsap-motion .team {
    min-height: calc(100svh - var(--bar-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: clamp(2rem, 5vh, 4rem);
    padding-bottom: clamp(2rem, 5vh, 4rem);
  }
  .gsap-motion .team .member__media { max-height: 40vh; }
  .gsap-motion .team .member__text { font-size: 0.92rem; }
  .gsap-motion .team .member__name { margin-top: 0.9rem; }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 900px) {
  :root { --bar-h: 64px; }

  .nav { display: none; }
  .menu-toggle { display: flex; }

  .hero__brand { flex-direction: column; text-align: center; }
  .hero__word { text-align: center; }

  .who__inner { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
  .stats__label { font-size: 0.8rem; }

  .team__grid { grid-template-columns: 1fr; max-width: 440px; }
  .team__grid .member:nth-child(n) { --reveal-delay: 0s; }

  .wwd__block { grid-template-columns: 1fr; }
  .wwd__video {
    justify-self: center;
    width: min(320px, 80vw);
  }

  .features__grid { grid-template-columns: 1fr; }
  .fcell { min-height: 380px; }
  /* no hover on touch: keep the card open */
  .fcell__card { background: rgba(248, 243, 234, 0.94); color: var(--ink); }
  .fcell__text { max-height: none; opacity: 1; margin-top: 0.9rem; }
  .fcell::before { background: rgba(26, 23, 20, 0.35); }

  .close__grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .stats__label { max-width: none; }
}
