/* =========================================================================
   Foodgram — "Fresh from Laksam" (Warm Sprout Editorial)
   Coming-soon landing page. Mobile-first, transform/opacity-only motion.
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand greens (the hero color system) */
  --green-700: #0B6B2B;  /* brand anchor */
  --green-900: #063D18;  /* deep forest */
  --green-500: #2E9E55;  /* leaf */
  --green-50:  #E8F2EA;  /* sage wash */

  /* Appetite accent (used scarcely) */
  --amber-500: #E1641E;  /* roasted saffron-tomato — fills/glows only */
  --amber-600: #C5551A;  /* text-safe amber */

  /* Neutrals */
  --cream: #FBF6EC;      /* warm paper background */
  --ink:   #241D14;      /* warm near-black body */
  --clay:  #C9A267;      /* gold hairlines / marginalia */
  --white: #FFFFFF;

  /* Surfaces & lines */
  --surface: #FFFFFF;
  --hairline: color-mix(in srgb, var(--clay) 55%, transparent);

  /* Type */
  --font-display: "Fraunces", "Hind Siliguri", Georgia, serif;
  --font-body: "Hind Siliguri", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --soft: 'opsz' 80, 'SOFT' 48, 'WONK' 1;

  /* Spacing & shape */
  --container: 1120px;
  --gutter: clamp(1.1rem, 5vw, 2.5rem);
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(6, 61, 24, .07);
  --shadow-md: 0 14px 34px -14px rgba(6, 61, 24, .28);
  --shadow-lg: 0 30px 70px -28px rgba(6, 61, 24, .42);

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.33, 1, .68, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
strong { font-weight: 600; }
em { font-style: italic; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.4rem, 9vw, 6rem); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Skip link — visually hidden until focused */
.skip-link {
  position: absolute; left: .5rem; top: -3.5rem; z-index: 100;
  padding: .55rem .9rem; border-radius: 8px;
  background: var(--green-500); color: #fff; font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: .5rem; }

/* Accessible focus */
:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Wordmark + sprout ---------- */
.wordmark { display: inline-flex; align-items: center; }
.wordmark__text {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: var(--soft);
  font-size: 1.55rem;
  letter-spacing: -.015em;
  color: var(--green-700);
  line-height: 1;
}
.wordmark__o { position: relative; display: inline-block; }
.wordmark__sprout {
  position: absolute;
  width: .5em; height: .72em;
  left: 50%; bottom: .4em;
  transform: translateX(-50%);
  overflow: visible;
}
.wordmark--rev .wordmark__text { color: var(--cream); }

/* The sprout symbol coloring (stem green, leaves green + amber tip) */
.spr-stem  { stroke: var(--green-500); }
.spr-leaf-r { fill: var(--amber-500); }
.spr-leaf-l { fill: var(--green-500); }
.wordmark--rev .spr-stem { stroke: var(--green-500); }

.sprout-glyph { width: 16px; height: 22px; overflow: visible; flex: none; }
.sprout-glyph--rev .spr-leaf-l { fill: var(--green-500); }

/* ---------- Icons ---------- */
.ico { width: 22px; height: 22px; fill: currentColor; flex: none; }
.ico--xs { width: 16px; height: 16px; }
.ico--green { color: var(--green-700); width: 26px; height: 26px; }
.ico--clay { color: var(--clay); width: 22px; height: 22px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-pad-y: .85rem;
  --btn-pad-x: 1.4rem;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  min-height: 48px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .2s ease, color .2s ease;
  text-align: center;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn--primary:hover { box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.25); transform: translateY(-2px); }

.btn--amber {
  color: var(--white);
  background: var(--amber-500);
  box-shadow: 0 8px 20px -10px rgba(225, 100, 30, .8);
}
.btn--amber:hover { background: #d65a17; transform: translateY(-2px); }

.btn--ghost {
  color: var(--green-900);
  background: transparent;
  border-color: var(--hairline);
}
.btn--ghost:hover { border-color: var(--green-700); background: color-mix(in srgb, var(--green-50) 60%, transparent); }

.btn--sm { --btn-pad-y: .55rem; --btn-pad-x: 1rem; min-height: 44px; font-size: .92rem; }
.btn--lg { --btn-pad-y: 1.05rem; --btn-pad-x: 2rem; font-size: 1.08rem; }
.btn--block { width: 100%; }

/* breathing glow ring to draw the thumb */
.btn--glow { position: relative; isolation: isolate; }
.btn--glow::before {
  content: ""; position: absolute; inset: -4px; border-radius: inherit; z-index: -1;
  box-shadow: 0 0 0 0 rgba(225,100,30,.55);
  animation: glow 2.6s var(--ease-soft) infinite;
}
.btn--glow:hover::before { animation-play-state: paused; }
@keyframes glow {
  0%   { box-shadow: 0 0 0 0 rgba(225,100,30,.5); }
  70%  { box-shadow: 0 0 0 14px rgba(225,100,30,0); }
  100% { box-shadow: 0 0 0 0 rgba(225,100,30,0); }
}
/* shine sweep */
.btn--glow::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; overflow: hidden;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform .7s var(--ease-out);
  pointer-events: none;
}
.btn--glow:hover::after { transform: translateX(130%); }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.topbar.is-stuck {
  border-bottom-color: var(--hairline);
  backdrop-filter: saturate(1.2) blur(10px);
  box-shadow: var(--shadow-sm);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: .7rem;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-700);
}
.eyebrow [lang="bn"] { letter-spacing: 0; text-transform: none; font-size: .92rem; color: var(--amber-600); }
.eyebrow__sep { color: var(--hairline); }
.pulse-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--green-500);
  box-shadow: 0 0 0 0 rgba(46,158,85,.6); animation: pulse 2s ease-out infinite; flex: none;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46,158,85,.55); }
  70% { box-shadow: 0 0 0 9px rgba(46,158,85,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,158,85,0); }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(2.4rem, 7vw, 5rem) clamp(2.6rem, 7vw, 4.5rem); overflow: clip; }
.hero__bloom {
  position: absolute; border-radius: 50%; z-index: 0; pointer-events: none;
  filter: blur(40px); opacity: .5;
}
.hero__bloom--a { width: 46vw; height: 46vw; max-width: 520px; max-height: 520px;
  background: radial-gradient(circle, rgba(46,158,85,.16), transparent 70%);
  top: -8%; right: -10%; animation: drift 24s ease-in-out infinite alternate; }
.hero__bloom--b { width: 40vw; height: 40vw; max-width: 440px; max-height: 440px;
  background: radial-gradient(circle, rgba(11,107,43,.12), transparent 70%);
  bottom: -16%; left: -14%; animation: drift 30s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0,0); } to { transform: translate(4%, 5%); } }

.hero__grid {
  position: relative; z-index: 1;
  display: grid; gap: clamp(1.8rem, 5vw, 3rem);
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: var(--soft);
  font-size: clamp(2.4rem, 9vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.025em;
  color: var(--green-900);
  margin-block: .35em .55em;
}
.hero__title span { display: block; }
.ink-keyword { position: relative; display: inline-block; color: var(--green-700); }
.swoosh {
  position: absolute; left: -2%; bottom: -.32em; width: 104%; height: .5em;
  color: var(--green-500); overflow: visible;
}
.swoosh__tip { fill: var(--amber-500); }

.hero__sub { font-size: clamp(1.02rem, 2.4vw, 1.18rem); max-width: 34ch; color: color-mix(in srgb, var(--ink) 88%, transparent); }
.hero__bn { font-family: var(--font-body); font-weight: 500; color: var(--amber-600); margin-top: .7rem; font-size: 1.05rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* hero art */
.hero__art { position: relative; justify-self: center; width: min(86vw, 420px); }
.dish--hero { position: relative; }
.dish__svg { width: 100%; filter: drop-shadow(0 26px 40px rgba(6,61,24,.22)); }
.steam {
  position: absolute; top: -6%; left: 50%; transform: translateX(-50%);
  width: 38%; height: 40%; z-index: 2; pointer-events: none;
  fill: none; stroke: var(--amber-500); stroke-width: 3; stroke-linecap: round; opacity: .0;
}
.steam path { stroke-dasharray: 120; animation: steam 4.2s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: 1.4s; }
@keyframes steam {
  0% { opacity: 0; stroke-dashoffset: 60; transform: translateY(8px); }
  30% { opacity: .5; }
  100% { opacity: 0; stroke-dashoffset: -40; transform: translateY(-10px); }
}
.sticker {
  position: absolute; bottom: 6%; right: 2%;
  display: inline-flex; align-items: center; gap: .4rem;
  max-width: calc(100% - 1rem);
  background: var(--green-700); color: var(--white);
  font-size: .82rem; font-weight: 600;
  padding: .55rem .85rem; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.sticker [lang="bn"] { font-weight: 500; }
.sticker .ico { fill: var(--white); }

.float { animation: float 6s ease-in-out infinite; }
.float-slow { animation: float 7.5s ease-in-out infinite .6s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Trust strip ---------- */
.trust { background: var(--green-50); border-block: 1px solid color-mix(in srgb, var(--green-500) 18%, transparent); }
.trust__row {
  display: grid; gap: .8rem; padding-block: 1.4rem;
}
.trust__pill {
  display: flex; align-items: center; gap: .7rem; justify-content: center;
  font-weight: 500; color: var(--green-900);
  font-size: .98rem;
}

/* ---------- Section headings ---------- */
.sec-head { display: flex; align-items: center; gap: 1rem; justify-content: center; margin-bottom: 1rem; }
.sec-head--left { justify-content: flex-start; gap: .6rem; margin-bottom: .6rem; }
.sec-no {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  color: var(--green-700); font-size: 1rem; letter-spacing: .04em; white-space: nowrap;
}
.rule { height: 1px; flex: 1; max-width: 90px; background: var(--hairline); transform-origin: center; }
.sec-title {
  font-family: var(--font-display); font-weight: 500;
  font-variation-settings: var(--soft);
  font-size: clamp(1.9rem, 5.5vw, 3rem); line-height: 1.08; letter-spacing: -.02em;
  color: var(--green-900); text-align: center;
}
.sec-lead { text-align: center; max-width: 46ch; margin: .7rem auto 0; color: color-mix(in srgb, var(--ink) 80%, transparent); }
.how, .fb, .menu { text-align: center; }
.menu .sec-lead, .how .sec-lead, .fb .sec-lead { margin-bottom: 2.4rem; }

/* ---------- How to order (steps) ---------- */
.steps {
  display: grid; gap: 1.6rem; max-width: 620px; margin: 2.4rem auto 0;
  text-align: left; position: relative;
}
.step { display: flex; gap: 1.2rem; align-items: flex-start; }
.step__no {
  font-family: var(--font-display); font-weight: 500; font-style: italic;
  font-size: 2.6rem; line-height: 1; color: var(--green-700);
  flex: none; width: 1.8ch; text-align: center;
}
.step__body h3 { font-family: var(--font-display); font-weight: 600; font-variation-settings: var(--soft);
  font-size: 1.25rem; color: var(--green-900); margin-bottom: .2rem; }
.step__body p { color: color-mix(in srgb, var(--ink) 82%, transparent); }
.how__cta { margin-top: 2.6rem; }

/* ---------- Menu rail ---------- */
.menu__rail {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: .6rem var(--gutter) 1.4rem;
  scroll-padding-inline: var(--gutter);
}
.menu__rail::-webkit-scrollbar { display: none; }
.menu__rail > li { scroll-snap-align: start; }

.card {
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.2rem 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s ease;
  text-align: center;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--green-500) 40%, transparent); }
.card__plate { width: 64%; max-width: 150px; transition: transform .35s var(--ease-out); }
.card:hover .card__plate { transform: scale(1.05); }
.card__plate svg { width: 100%; filter: drop-shadow(0 10px 14px rgba(6,61,24,.12)); }
.card__body { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.card__name {
  font-family: var(--font-display); font-weight: 600; font-variation-settings: var(--soft);
  font-size: 1.2rem; color: var(--green-900);
  background-image: linear-gradient(var(--clay), var(--clay));
  background-size: 0% 2px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .35s var(--ease-out); padding-bottom: 2px;
}
.card:hover .card__name { background-size: 100% 2px; }
.pill {
  font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: var(--radius-pill);
}
.pill--amber { color: var(--amber-600); background: color-mix(in srgb, var(--amber-500) 14%, var(--cream)); }
.card__cta {
  margin-top: auto; display: inline-flex; align-items: center; gap: .35rem;
  color: var(--green-700); font-weight: 600; font-size: .92rem;
  transition: transform .25s var(--ease-out);
}
.card:hover .card__cta { transform: translateX(2px); color: var(--amber-600); }
.card:hover .card__cta .ico { fill: var(--amber-500); }

/* ---------- Story band ---------- */
.story { background: var(--green-50); }
.story__inner { display: grid; gap: 2rem; align-items: center; }
.story__copy p { color: color-mix(in srgb, var(--ink) 84%, transparent); max-width: 46ch; }
.story .sec-title { text-align: left; }
.story__made { display: flex; align-items: center; gap: .55rem; margin-top: 1.2rem; font-weight: 500; color: var(--green-900); }
.story__map { justify-self: center; width: min(78vw, 320px); }
.story__map svg { width: 100%; }
.map-sprout { color: var(--green-500); }
.map-sprout .spr-leaf-r { fill: var(--amber-500); }

/* ---------- Facebook section ---------- */
.fb__wrap { display: grid; gap: 1.4rem; align-items: stretch; text-align: left; max-width: 940px; margin-inline: auto; }
.fb__embed { min-height: 420px; display: grid; }
.fb__facade {
  position: relative; width: 100%; min-height: 420px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem;
  border: 1px dashed color-mix(in srgb, var(--green-500) 45%, transparent);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--green-50) 90%, transparent), transparent),
    var(--surface);
  cursor: pointer; color: var(--green-900);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s ease;
  font-family: inherit;
}
.fb__facade:hover { box-shadow: var(--shadow-md); border-color: var(--green-700); transform: translateY(-2px); }
.fb__facade.is-loading { opacity: .6; pointer-events: none; }
.fb__facade-glyph {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green-700); color: var(--white);
}
.fb__facade-glyph .ico { width: 34px; height: 34px; }
.fb__facade-name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--green-900); }
.fb__facade-play {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .92rem; font-weight: 600; color: var(--green-700);
}
.fb__facade-play .ico { fill: var(--amber-500); }
.fb__embed .fb-page, .fb__embed iframe { border-radius: var(--radius-lg); overflow: hidden; }
.fb__embed iframe { max-width: 100%; }

.fb__side {
  background: var(--green-900); color: var(--cream);
  border-radius: var(--radius-lg); padding: 1.6rem;
  display: flex; flex-direction: column; gap: .8rem; justify-content: center;
}
.fb__side-lead { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; font-variation-settings: var(--soft); }

/* ---------- Notify ---------- */
.notify__card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-sm);
  display: grid; gap: 1.1rem; max-width: 760px; margin-inline: auto;
  text-align: center;
}
.notify__title { font-family: var(--font-display); font-weight: 600; font-variation-settings: var(--soft);
  font-size: clamp(1.4rem, 4vw, 1.9rem); color: var(--green-900); }
.notify__text p { color: color-mix(in srgb, var(--ink) 80%, transparent); margin-top: .3rem; }
.notify__form { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.notify__form input {
  flex: 1 1 240px; min-width: 0;
  font: inherit; padding: .85rem 1.1rem; min-height: 48px;
  border: 1.5px solid var(--hairline); border-radius: var(--radius-pill);
  background: var(--cream); color: var(--ink);
}
.notify__form input:focus-visible { border-color: var(--green-500); outline-offset: 1px; }
.notify__status { font-size: .92rem; min-height: 1.2em; color: var(--green-700); font-weight: 500; }

/* ---------- Footer ---------- */
.footer {
  background: var(--green-900); color: var(--cream);
  padding-top: clamp(2.6rem, 7vw, 4rem);
  /* reserve room so the fixed Messenger bubble never overlaps footer content */
  padding-bottom: calc(clamp(2.6rem, 7vw, 4rem) + 60px + 1.1rem + env(safe-area-inset-bottom));
}
.footer__inner { display: grid; gap: 1rem; justify-items: center; text-align: center; }
.footer .wordmark__text { font-size: 1.9rem; }
.footer__nav { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; justify-content: center; }
.footer__nav a { font-weight: 500; color: var(--cream); padding-bottom: 2px;
  border-bottom: 1.5px solid transparent; transition: border-color .2s ease, color .2s ease; }
.footer__nav a:hover { border-bottom-color: var(--green-500); }
.footer__area { color: color-mix(in srgb, var(--cream) 82%, transparent); }
.footer__bn { font-family: var(--font-body); color: color-mix(in srgb, var(--clay) 92%, white); font-size: 1.02rem; font-weight: 500; }
.footer__legal { font-size: .82rem; color: color-mix(in srgb, var(--cream) 60%, transparent); letter-spacing: .02em; }
.footer__est { font-family: var(--font-display); font-style: italic; letter-spacing: .08em; }
.sprout-glyph--rev { transform: scale(.9); }

/* ---------- Floating Messenger bubble ---------- */
.fab {
  position: fixed; z-index: 70;
  right: max(1.1rem, env(safe-area-inset-right));
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; transform: translateY(20px) scale(.6); pointer-events: none;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), visibility .4s var(--ease-out);
}
.fab.is-visible { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.fab.is-bounce { animation: fabBounce .6s var(--ease-out); }
@keyframes fabBounce { 0%,100% { transform: translateY(0); } 40% { transform: translateY(-10px); } }
.fab__btn {
  position: relative; isolation: isolate;
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--amber-500); color: var(--white);
  box-shadow: 0 12px 28px -8px rgba(225,100,30,.75), var(--shadow-md);
  transition: transform .25s var(--ease-out), background .2s ease;
}
.fab__btn::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: -1;
  box-shadow: 0 0 0 0 rgba(225,100,30,.5); animation: glow 2.8s var(--ease-soft) infinite;
}
.fab__btn:hover { transform: scale(1.08); background: #d65a17; }
.fab__btn .ico { width: 28px; height: 28px; }

/* =========================================================================
   Reveal-on-scroll (progressive enhancement; visible by default w/o JS)
   ========================================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(16px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }

/* The hero swoosh self-draw */
.swoosh__line { stroke-dasharray: 320; stroke-dashoffset: 320; }
.swoosh__tip { opacity: 0; transform: scale(0); transform-origin: 214px 26px; transform-box: fill-box; }
.js .is-in .swoosh__line { animation: draw .8s var(--ease-out) .25s forwards; }
.js .is-in .swoosh__tip  { animation: pop .4s var(--ease-out) .9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { 0% { opacity: 0; transform: scale(0); } 70% { transform: scale(1.15); } 100% { opacity: 1; transform: scale(1); } }

/* sprout grow-in on the wordmark */
.spr-stem { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 1s var(--ease-out) .3s forwards; }
.spr-leaf-r, .spr-leaf-l { opacity: 0; transform: scale(0); transform-origin: center; transform-box: fill-box; animation: pop .5s var(--ease-out) forwards; }
.spr-leaf-l { animation-delay: 1s; }
.spr-leaf-r { animation-delay: 1.15s; }

/* =========================================================================
   Responsive — enhance for tablet & desktop
   ========================================================================= */
@media (min-width: 600px) {
  .trust__row { grid-auto-flow: column; justify-content: center; gap: 2.4rem; }
  .menu__rail { grid-auto-columns: 46%; }
  .notify__card { text-align: left; grid-template-columns: 1fr; }
  .notify__form { justify-content: flex-start; }
}

@media (min-width: 880px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
  .hero__copy { max-width: 560px; }
  .hero__sub { font-size: 1.18rem; }
  .menu__rail {
    grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto;
    overflow: visible; max-width: var(--container); margin-inline: auto;
    padding-inline: var(--gutter); scroll-snap-type: none;
  }
  .story__inner { grid-template-columns: 1.1fr .9fr; gap: 3rem; }
  .fb__wrap { grid-template-columns: 1.6fr 1fr; }
  .notify__card { grid-template-columns: 1.2fr 1fr; align-items: center; text-align: left; }
  .notify__form { justify-content: flex-end; }
}

/* =========================================================================
   Reduced motion — collapse all decorative motion to instant
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .swoosh__line { stroke-dashoffset: 0; }
  .swoosh__tip { opacity: 1; transform: none; }
  .spr-stem { stroke-dashoffset: 0; }
  .spr-leaf-r, .spr-leaf-l { opacity: 1; transform: none; }
  .float, .float-slow, .hero__bloom, .steam path, .pulse-dot, .btn--glow::before, .fab__btn::before { animation: none !important; }
  .steam { opacity: 0; }
}
