/* =================================================================
   Eden Kafe — landing page
   Design reference: Figma "Edens" · node 94:30 (1920px canvas)
   ================================================================= */

/* ------------------------------- Tokens ------------------------------- */
:root {
  /* Brand */
  --gold:        #e1b252;
  --gold-deep:   #daa12f;
  --gold-soft:   #f0cf8d;
  --ink:         #000000;
  --paper:       #ffffff;
  --on-dark:     #ffffff;
  --on-dark-mute: rgba(255, 255, 255, .8);
  --hairline:    rgba(255, 255, 255, .18);
  --hairline-ink: rgba(0, 0, 0, .22);

  /* Type families — Figma names first, web-safe equivalents after */
  --font-serif:  "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-serif-alt: "Cormorant Infant", "Cormorant", Georgia, serif;
  --font-sans:   "Euclid Circular A", "Jost", "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-script: "Sunrise Himalaya", "Sacramento", "Snell Roundhand", cursive;

  /* Fluid type — upper bound equals the Figma value at 1920px */
  --fs-hero:    clamp(3.5rem,   6.77vw, 8.125rem);  /*  56 → 130 */
  --fs-h2:      clamp(2.25rem,  4.17vw, 5rem);      /*  36 →  80 */
  --fs-script:  clamp(1.5rem,   1.36vw, 1.625rem);  /*  24 →  26 */
  --fs-serif:   clamp(1.1875rem,1.36vw, 1.625rem);  /*  19 →  26 */
  --fs-btn:     clamp(1.125rem, 1.36vw, 1.625rem);  /*  18 →  26 */
  --fs-eyebrow: clamp(1.0625rem,1.15vw, 1.375rem);  /*  17 →  22 */
  --fs-body:    clamp(1rem,     1.04vw, 1.25rem);   /*  16 →  20 */

  /* Spacing / layout */
  --gutter:     clamp(1.25rem, 6.25vw, 7.5rem);     /*  20 → 120 */
  --shell:      105rem;                             /* 1680 */
  --col-gap:    clamp(2.5rem, 6.25vw, 7.5rem);
  --section-y:  clamp(4.5rem, 7vw, 8.5rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
h1, h2, p, figure, ul, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 99;
  padding: .75rem 1.25rem;
  background: var(--gold);
  color: var(--ink);
  font-size: .95rem;
  letter-spacing: .06em;
  transition: transform .25s var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

.shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

/* --------------------------- Shared typography ------------------------ */
.script {
  font-family: var(--font-script);
  font-size: var(--fs-script);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .14em;
}
.script--light {
  color: var(--on-dark);
  text-shadow: 0 2px 18px rgba(0, 0, 0, .6);
}
.script--dark  { color: var(--ink); }

.open-dot {
  display: inline-block;
  width: .5em;
  height: .5em;
  margin-right: .6em;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(225, 178, 82, .55);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(225, 178, 82, .5); }
  70%  { box-shadow: 0 0 0 .7em rgba(225, 178, 82, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 178, 82, 0); }
}

.eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: .08em;
}

.serif-italic {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  font-size: var(--fs-serif);
  line-height: 1.35;
}

/* -------------------------------- Buttons ----------------------------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(3.25rem, 3.39vw, 4.0625rem);   /* 52 → 65 */
  padding-inline: clamp(1.75rem, 3vw, 2.75rem);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: var(--fs-btn);
  line-height: 1;
  letter-spacing: .01em;
  text-align: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::after {                       /* soft sheen on hover */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform .7s var(--ease);
}
.btn:hover, .btn:focus-visible { transform: translateY(-3px); }
.btn:hover::after, .btn:focus-visible::after { transform: translateX(110%); }
.btn:active { transform: translateY(-1px); }

.btn--gold {
  min-width: clamp(11rem, 10.5vw, 12.625rem);      /* → 202 */
  box-shadow: 0 10px 34px rgba(225, 178, 82, .18);
}
.btn--gold:hover, .btn--gold:focus-visible {
  box-shadow: 0 18px 46px rgba(225, 178, 82, .34);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--gold);
  border: 1px solid rgba(225, 178, 82, .5);
  min-width: clamp(15rem, 16.9vw, 20.25rem);
  font-weight: 500;
}
.btn--outline:hover, .btn--outline:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 14px 40px rgba(225, 178, 82, .16);
}

.btn--ink {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  min-width: clamp(15rem, 16.9vw, 20.25rem);       /* → 324 */
  min-height: clamp(3.5rem, 4.53vw, 5.4375rem);    /* → 87 */
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
.btn--ink:hover, .btn--ink:focus-visible {
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

/* -------------------------- Gold masked icons ------------------------- */
.icon {
  flex: none;
  display: block;
  background-color: var(--gold);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
}
.icon--sparkle {
  width: clamp(1.25rem, 1.35vw, 1.625rem);
  height: clamp(1.25rem, 1.35vw, 1.625rem);
  -webkit-mask-image: url("../assets/icons/sparkle-mask.png");
          mask-image: url("../assets/icons/sparkle-mask.png");
}
.icon--phone,
.icon--location,
.icon--mail {
  width: clamp(1.5rem, 1.67vw, 2rem);
  height: clamp(1.5rem, 1.67vw, 2rem);
}
.icon--phone {
  -webkit-mask-image: url("../assets/icons/phone-mask.png");
          mask-image: url("../assets/icons/phone-mask.png");
}
.icon--location {
  -webkit-mask-image: url("../assets/icons/location-mask.png");
          mask-image: url("../assets/icons/location-mask.png");
}
.icon--mail {
  -webkit-mask-image: url("../assets/icons/mail-mask.png");
          mask-image: url("../assets/icons/mail-mask.png");
}

/* ================================= HERO =============================== */
.hero {
  position: relative;
  min-height: min(100svh, 65rem);
  display: flex;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}

.hero__media { position: absolute; inset: 0; z-index: -1; }

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 50%;
  transform: scale(1.02);
}

/* Figma: linear gradient transparent → black, plus the blurred dark ellipses */
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 34% at 50% 62%, rgba(0,0,0,.58), transparent 74%),
    linear-gradient(to bottom,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,.22) 42%,
      rgba(0,0,0,.62) 66%,
      rgba(0,0,0,.92) 84%,
      #000 96%);
}
/* Figma: circle d=401, black @ 80%, blur stdDeviation 102.25 */
.hero__vignette--top {
  --glow-w: clamp(15rem, 20.89vw, 25.0625rem);      /* 240 → 401 */
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--glow-w);
  aspect-ratio: 1;
  transform: translate(-50%, -43%);
  border-radius: 50%;
  background: rgba(0, 0, 0, .8);
  filter: blur(calc(var(--glow-w) * 0.255));        /* 102.25 / 401 */
}

.hero__inner {
  position: relative;
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-block: clamp(1.75rem, 3.9vw, 2.5625rem) clamp(2.5rem, 3.9vw, 3.75rem);
  text-align: center;
}

/* Logo — reproduces the Figma crop of the source artwork */
.hero__brandmark { position: relative; }
.logo-crop {
  display: block;
  position: relative;
  width: clamp(9rem, 12.76vw, 15.3125rem);   /* → 245 */
  aspect-ratio: 245 / 110;
  overflow: hidden;
}
.logo-crop img {
  position: absolute;
  left: -62.45%;
  top: -154.26%;
  width: 233.14%;
  height: 438.85%;
  max-width: none;
}

.hero__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(.5rem, 1vw, .75rem);
  margin-top: auto;
  padding-top: clamp(3rem, 8vw, 7rem);
}
/* Figma: ellipse 639x276, black @ 30%, blur stdDeviation 75 */
.hero__glow {
  --glow-w: clamp(20rem, 33.28vw, 39.9375rem);      /* 320 → 639 */
  position: absolute;
  left: 50%;
  top: 52%;
  width: var(--glow-w);
  aspect-ratio: 639 / 276;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(0, 0, 0, .3);
  filter: blur(calc(var(--glow-w) * 0.1174));       /* 75 / 639 */
  z-index: -1;
  pointer-events: none;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--fs-hero);
  line-height: 1.05;
  letter-spacing: .005em;
  color: var(--gold);
  margin-block: clamp(-.25rem, .3vw, .25rem) 0;
  text-shadow: 0 18px 60px rgba(0, 0, 0, .55);
}

.hero__status {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  max-width: 30ch;
}

.hero__action {
  position: relative;
  margin-top: clamp(1.5rem, 2.2vw, 2.0625rem);
}

/* ================================ STORY =============================== */
.story {
  position: relative;
  background: var(--ink);
  padding-block: var(--section-y);
}

.story__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 840fr) minmax(0, 720fr);
  column-gap: var(--col-gap);
  align-items: center;
}

/* the full-height centre rule from the design */
.story__rule {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: min(48.125rem, 100%);
  transform: translate(-50%, -50%);
  background: linear-gradient(to bottom, transparent, var(--hairline) 12%, var(--hairline) 88%, transparent);
  pointer-events: none;
}

/* --- rotating dish showcase --- */
.showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.showcase__stage {
  position: relative;
  aspect-ratio: 840 / 762;
  overflow: hidden;
  background: var(--ink);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s var(--ease);
  will-change: opacity;
}
.slide.is-active { opacity: 1; }

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.005);
}
/* a slow drift while a slide is on screen */
.slide.is-active img { animation: driftIn 8s var(--ease) forwards; }
@keyframes driftIn {
  from { transform: scale(1.005); }
  to   { transform: scale(1.055); }
}

.showcase__caption {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-top: clamp(.25rem, 1vw, 1rem);
  min-height: 2em;
  transition: opacity .5s var(--ease);
}
.showcase__caption.is-swapping { opacity: 0; }

.showcase__name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  font-size: var(--fs-serif);
  letter-spacing: .01em;
  color: var(--gold);
}
.showcase__dots {
  display: flex;
  justify-content: center;
  gap: .75rem;
  margin-top: clamp(.875rem, 1.2vw, 1.25rem);
}
.dot {
  appearance: none;
  width: 2rem;
  height: 2px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(225, 178, 82, .28);
  cursor: pointer;
  transition: background-color .4s var(--ease), transform .4s var(--ease);
}
.dot:hover { background: rgba(225, 178, 82, .6); }
.dot.is-active { background: var(--gold); transform: scaleY(2); }

.u-sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.story__content { max-width: 39.3125rem; }   /* 629 */

.story__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 1.1;
  color: var(--gold);
  margin-top: clamp(1rem, 1.6vw, 1.9375rem);
  max-width: 7.5em;
}

.story__lede {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--on-dark-mute);
  margin-top: clamp(1.25rem, 1.9vw, 2.25rem);
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 1.67vw, 2rem);
  margin-top: clamp(1.75rem, 2.6vw, 3.125rem);
}
.pillar {
  display: flex;
  align-items: center;
  gap: clamp(.625rem, .68vw, .8125rem);
}
.pillar__text {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  font-size: var(--fs-serif);
  line-height: 1.3;
  color: var(--gold);
}

/* ================================ MENU ================================ */
.menu {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(to bottom, #000 0%, #0b0906 22%, #0b0906 78%, #000 100%);
  padding-block: var(--section-y);
  border-block: 1px solid rgba(225, 178, 82, .14);
}

.menu__glow {
  --glow-w: clamp(28rem, 46vw, 55rem);
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--glow-w);
  aspect-ratio: 437 / 158;
  transform: translate(-50%, -38%);
  border-radius: 50%;
  background: rgba(225, 178, 82, .34);
  filter: blur(calc(var(--glow-w) * 0.3944));
  z-index: -1;
  pointer-events: none;
}

.menu__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.menu__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 1.1;
  color: var(--gold);
  margin-top: clamp(.75rem, 1.2vw, 1.25rem);
}

.menu__lede {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--on-dark-mute);
  max-width: 44ch;
  margin-top: clamp(.875rem, 1.2vw, 1.25rem);
  text-wrap: pretty;
}

/* --- category filters --- */
.menu__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .625rem;
  margin-top: clamp(1.75rem, 2.4vw, 2.75rem);
}

.chip {
  appearance: none;
  border: 1px solid rgba(225, 178, 82, .38);
  background: transparent;
  color: var(--gold);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(.8125rem, .78vw, .9375rem);
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .7em 1.5em;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
}
.chip:hover { border-color: var(--gold); transform: translateY(-2px); }
.chip.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #17130b;
}

/* --- the menu itself --- */
.m-columns {
  columns: 2;
  column-gap: clamp(2.5rem, 6.25vw, 7.5rem);
  margin-top: clamp(2.5rem, 4vw, 4.5rem);
}

.m-group {
  break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: clamp(2.25rem, 3.2vw, 3.5rem);
}
.m-group[hidden] { display: none; }

.m-group__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(.9375rem, .94vw, 1.125rem);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin: 0 0 clamp(1rem, 1.3vw, 1.375rem);
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(225, 178, 82, .22);
}

.m-list {
  display: flex;
  flex-direction: column;
  gap: clamp(.625rem, .78vw, .875rem);
}

.m-item {
  display: flex;
  align-items: baseline;
  gap: .625rem;
  font-family: var(--font-serif);
  font-size: clamp(1.0625rem, 1.15vw, 1.375rem);
  line-height: 1.35;
}

.m-item__name {
  font-weight: 500;
  color: rgba(255, 255, 255, .92);
}

.m-item__leader {
  flex: 1 1 auto;
  min-width: 1.5rem;
  height: 0;
  transform: translateY(-.3em);
  border-bottom: 1px dotted rgba(225, 178, 82, .42);
}

.m-item__price {
  flex: none;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
  white-space: nowrap;
}
.m-item__price--ask {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: .72em;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(225, 178, 82, .6);
}

.menu__note {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(.8125rem, .83vw, 1rem);
  color: rgba(255, 255, 255, .5);
  text-align: center;
  margin-top: clamp(1.75rem, 2.4vw, 2.75rem);
}
.menu__note em { font-style: normal; color: rgba(225, 178, 82, .78); }

/* =============================== FOOTER =============================== */
.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  padding-block: clamp(4rem, 8.6vw, 10.375rem) clamp(2.5rem, 3.8vw, 4.5625rem);
  text-align: center;
}

.footer__media { position: absolute; inset: 0; z-index: -1; }
.footer__media img { width: 100%; height: 100%; object-fit: cover; }
.footer__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .78); }

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1.1;
  color: var(--gold-deep);
}

.footer__tagline {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: .04em;
  color: var(--on-dark);
  margin-top: clamp(1rem, 1.5vw, 1.75rem);
}

.hairline {
  display: block;
  width: min(48.125rem, 100%);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--hairline) 18%, var(--hairline) 82%, transparent);
  margin-top: clamp(2.25rem, 4.5vw, 5.375rem);
}

.contact {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.125rem, 1.56vw, 1.875rem);
  margin-top: clamp(2.25rem, 3.65vw, 4.375rem);
  text-align: left;
}
/* Figma: ellipse 437x158, fill #DAA12F, layer blur stdDeviation 172.35.
   Reproduced as a real Gaussian rather than a gradient ramp — a linear falloff
   leaves a visible edge where the blur should still be fading. */
.footer__glow {
  --glow-w: clamp(13.65rem, 22.76vw, 27.3125rem);   /* 218 → 437 */
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--glow-w);
  aspect-ratio: 437 / 158;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--gold-deep);
  filter: blur(calc(var(--glow-w) * 0.3944));       /* 172.35 / 437 */
  z-index: -1;
  pointer-events: none;
}

.contact__row {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-serif-alt);
  font-weight: 400;
  font-size: var(--fs-serif);
  line-height: 1.25;
  color: var(--gold);
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.contact__row:hover,
.contact__row:focus-visible { color: var(--gold-soft); transform: translateX(3px); }
.contact__row:hover .icon,
.contact__row:focus-visible .icon { background-color: var(--gold-soft); }

.footer__cta { margin-top: clamp(2rem, 2.8vw, 3.25rem); }

.footer__legal {
  font-family: var(--font-serif-alt);
  font-size: var(--fs-body);
  color: var(--on-dark);
  margin-top: clamp(1.75rem, 2.55vw, 3.0625rem);
}

/* ============================ Reveal motion =========================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-reveal="1"] { transition-delay: .05s; }
.reveal[data-reveal="2"] { transition-delay: .18s; }
.reveal[data-reveal="3"] { transition-delay: .32s; }
.reveal[data-reveal="4"] { transition-delay: .46s; }

/* ============================= Breakpoints ============================ */

/* Tablet & below — the two-column story stacks */
@media (max-width: 1024px) {
  .story__grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: clamp(2rem, 6vw, 3.5rem);
    justify-items: center;
  }
  .story__rule { display: none; }
  .showcase { width: min(100%, 34rem); }
  .story__content { max-width: 34rem; text-align: center; }
  .story__title { max-width: none; }
  .pillars { align-items: center; }
  .pillar { justify-content: flex-start; }
  .contact { align-items: center; text-align: center; }
}

@media (max-width: 900px) {
  .m-columns { columns: 1; }
}

/* Large phones */
@media (max-width: 640px) {
  :root {
    --section-y: clamp(3.5rem, 12vw, 5rem);
  }
  .hero { min-height: 100svh; }
  .hero__inner { padding-block: 1.75rem 3rem; }
  .hero__img { object-position: 55% 50%; }
  .hero__scrim {
    background:
      radial-gradient(70% 34% at 50% 62%, rgba(0,0,0,.6), transparent 74%),
      linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,.35) 30%, rgba(0,0,0,.88) 78%, #000 100%);
  }
  .btn { width: 100%; max-width: 22rem; margin-inline: auto; }
  .hero__action, .footer__cta { width: 100%; }
  .chip { padding: .65em 1.15em; letter-spacing: .1em; }
  .m-item { font-size: 1.0625rem; }
  .contact__row { font-size: clamp(1.125rem, 4.6vw, 1.375rem); }
  .story__lede { text-wrap: pretty; }
}

/* Small phones */
@media (max-width: 380px) {
  .hero__title { font-size: 3.125rem; }
  .script { letter-spacing: .1em; }
}

/* Very wide screens — stop growing past the design canvas */
@media (min-width: 1921px) {
  :root { --gutter: 7.5rem; }
  .hero { min-height: min(100svh, 65.25rem); }
}

/* --------------------------- Motion / print --------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .slide.is-active img { animation: none; transform: scale(1.005); }
}

@media print {
  .hero { min-height: auto; }
  .reveal { opacity: 1; transform: none; }
}
