/* ChefxDoor — landing page
   ------------------------------------------------------------------------- */

:root {
  --bg:          #FBF9F6;
  --paper:       #ffffff;
  --ink:         #14110F;
  --ink-deep:    #0B0806;
  --body:        #463D35;
  --muted:       #6B635C;

  --brand:       #FF4F00;  /* the mark — decorative fills, rules, icons      */
  --brand-deep:  #B83A00;  /* solid buttons — 4.6:1 on paper                 */
  --brand-text:  #C2400A;  /* links and eyebrows — 4.7:1 on paper            */
  --brand-light: #FF7A3D;  /* eyebrows on the dark bands                     */

  --line:        rgba(20, 17, 15, .09);
  --line-soft:   rgba(20, 17, 15, .08);
  --hairline:    rgba(20, 17, 15, .12);

  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans:  'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono:  'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --shell: 1200px;
  --gut: 40px;
  --rhythm: 120px;      /* space between major sections */

  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg) url("/landing/assets/cotton.png") repeat;
  background-size: 34px 34px;
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* height:auto is load-bearing — the width/height attributes are there to
   reserve space against layout shift, and without this they would also fix
   the rendered height, overriding aspect-ratio and intrinsic scaling. */
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
input, select, textarea, button { font: inherit; color: inherit; }

a { color: var(--brand-text); text-decoration: none; transition: color .3s ease; }
a:hover { color: var(--ink); }

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

.skip {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-size: 14px;
  transform: translateY(-160%); transition: transform .25s ease;
}
.skip:focus { transform: none; color: var(--bg); }

/* ── shared type ─────────────────────────────────────────────────────────── */

.eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand-text);
}
.eyebrow--light { color: var(--brand-light); }

.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 4vw, 46px); line-height: 1.1; letter-spacing: -.015em;
  margin-top: 14px; text-wrap: pretty;
}
.h2--sm { font-size: clamp(26px, 3vw, 32px); margin-top: 0; }
.h2--md { font-size: clamp(30px, 3.6vw, 42px); }
.h2--lg { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.06; }

.lede {
  font-size: 17.5px; line-height: 1.6; color: var(--body);
  margin-top: 22px; max-width: 52ch; text-wrap: pretty;
}
.lede--muted { color: var(--muted); margin-top: 16px; }

.pullquote {
  font-size: 16px; line-height: 1.6; color: var(--muted);
  margin-top: 16px; max-width: 48ch;
  padding-left: 16px; border-left: 2px solid var(--brand);
  text-wrap: pretty;
}

/* ── buttons and inline links ────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 500; white-space: nowrap;
  padding: 14px 24px; border: 1px solid transparent; border-radius: 999px;
  cursor: pointer;
  transition: background .3s ease, color .3s ease, border-color .3s ease,
              transform .3s ease, box-shadow .3s ease;
}
.btn--lg { margin-top: 32px; }
.btn--block { width: 100%; justify-content: center; margin-top: 6px; padding: 15px; }

.btn--dark  { background: var(--ink); color: var(--bg); font-size: 14px; padding: 10px 18px; }
.btn--dark:hover  { background: var(--brand-deep); color: #fff; transform: translateY(-1px); }
.btn--lg.btn--dark { font-size: 15px; padding: 14px 24px; }

.btn--brand {
  background: var(--brand-deep); color: #fff; padding: 15px 26px;
  box-shadow: 0 10px 26px -14px rgba(255, 79, 0, .9);
}
.btn--brand:hover {
  background: var(--ink); color: #fff; transform: translateY(-2px);
  box-shadow: 0 18px 34px -16px rgba(20, 17, 15, .5);
}
.btn--brand:active { transform: translateY(0); }

.btn--paper {
  background: var(--paper); color: var(--ink);
  border-color: rgba(20, 17, 15, .16); padding: 15px 26px;
}
.btn--paper:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.btn--paper span { color: var(--brand-text); }

.btn--ghost { color: var(--ink); border-color: rgba(20, 17, 15, .18); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.btn--ghost span { color: var(--brand-text); }

.btn span { font-size: 14px; }

.link-icon { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink); }
.link-icon svg { color: var(--brand); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; white-space: nowrap; }

/* ── header ──────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 246, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .35s ease;
}
.site-header[data-stuck] { box-shadow: 0 10px 30px -24px rgba(20, 17, 15, .7); }

.site-header__bar {
  max-width: var(--shell); margin: 0 auto; padding: 0 var(--gut);
  height: 68px; display: flex; align-items: center; gap: 40px;
}
.site-header__logo { flex: none; display: flex; align-items: center; }
.site-header__logo img { height: 24px; width: auto; }

.site-nav { display: flex; gap: 28px; font-size: 14px; }
.site-nav a {
  color: var(--muted); padding-bottom: 3px;
  border-bottom: 1.5px solid transparent;
  transition: color .3s ease, border-color .3s ease;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: rgba(255, 79, 0, .45); }
.site-nav a[data-active] { color: var(--ink); border-bottom-color: var(--brand); }

.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }

.site-header__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.site-header__progress i { display: block; height: 100%; width: 0; background: var(--brand); transition: width .12s linear; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; padding: 11px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 1.5px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s ease;
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── hero ────────────────────────────────────────────────────────────────── */

.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.hero__map { position: absolute; inset: 0 0 0 44%; z-index: 0; }

.hero__inner {
  position: relative; z-index: 1;
  max-width: var(--shell); margin: 0 auto;
  padding: 84px var(--gut) 96px;
  min-height: 590px; display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start;
}

.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--body);
  white-space: nowrap;
  background: rgba(251, 249, 246, .85);
  border: 1px solid rgba(20, 17, 15, .14);
  padding: 6px 12px; border-radius: 999px;
}
.eyebrow-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-deep); }

.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 6.4vw, 68px); line-height: 1.04; letter-spacing: -.02em;
  margin-top: 24px; color: var(--ink-deep); text-wrap: pretty;
}
.hero h1 em { font-style: italic; color: var(--brand); }

.hero__lede { font-size: 17.5px; line-height: 1.6; color: var(--body); margin-top: 22px; max-width: 470px; text-wrap: pretty; }
.hero__lede strong { font-weight: 600; color: var(--ink); }
.hero__sub  { font-size: 16.5px; line-height: 1.6; color: var(--muted); margin-top: 16px; max-width: 470px; text-wrap: pretty; }
.hero__cta  { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ── section shell ───────────────────────────────────────────────────────── */

.section { max-width: var(--shell); margin: 0 auto; padding: var(--rhythm) var(--gut) 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.split__body { padding-top: 8px; }
.split .lede:first-child { margin-top: 0; }

.band { background: var(--ink); color: var(--bg); margin-top: var(--rhythm); padding: 110px 0; }
.band__inner { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gut); }
.band .h2 { color: var(--bg); }

/* ── stories ─────────────────────────────────────────────────────────────── */

.stories { padding-top: 56px; }
.stories__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.stories__rail-wrap { position: relative; margin-top: 22px; }
.stories__rail {
  display: flex; gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  margin: 0 calc(var(--gut) * -1); padding: 6px var(--gut) 10px;
  scrollbar-width: none;
}
.stories__rail::-webkit-scrollbar { display: none; }

.story {
  position: relative; flex: none;
  width: 236px; height: 288px;
  border-radius: 16px; overflow: hidden; scroll-snap-align: start;
  background: #EFEAE3;
  transition: transform .5s var(--ease), box-shadow .5s ease;
}
.story:hover { transform: translateY(-6px); box-shadow: 0 26px 46px -28px rgba(20, 17, 15, .55); }
.story__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,17,15,.5) 0%, rgba(20,17,15,0) 34%,
                                      rgba(20,17,15,0) 44%, rgba(20,17,15,.78) 100%);
}
.story__cook {
  position: absolute; top: 12px; left: 12px;
  display: flex; align-items: center; gap: 9px; pointer-events: none;
}
.story__cook img {
  width: 30px; height: 30px; border-radius: 50%; object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, .85);
}
.story__cook b    { display: block; font-size: 13px; font-weight: 600; color: #fff; line-height: 1.2; }
.story__cook span { display: block; font-size: 11.5px; color: rgba(255,255,255,.78); line-height: 1.2; }

.story__meta { position: absolute; left: 14px; right: 14px; bottom: 14px; pointer-events: none; }
.story__meta b    { display: block; font-size: 17px; font-weight: 600; color: #fff; line-height: 1.2; }
.story__meta span { display: block; font-size: 12.5px; color: rgba(255,255,255,.78); margin-top: 3px; }

.want {
  pointer-events: auto;
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  background: rgba(255, 255, 255, .94); border: 0; border-radius: 999px;
  padding: 7px 13px; font-size: 12.5px; font-weight: 500; color: var(--ink);
  cursor: pointer; transition: background .3s ease, color .3s ease;
}
.want svg { color: var(--brand); }
.want:hover { background: var(--brand-deep); color: #fff; }
.want:hover svg { color: #fff; }
.want[data-on] { background: var(--brand-deep); color: #fff; }
.want[data-on] svg { color: #fff; fill: currentColor; }

.rail-next {
  position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper); border: 1px solid rgba(20, 17, 15, .1); border-radius: 999px;
  box-shadow: 0 12px 26px -14px rgba(20, 17, 15, .5);
  font-size: 16px; color: var(--ink); cursor: pointer;
  transition: background .3s ease, color .3s ease;
}
.rail-next:hover { background: var(--brand-deep); color: #fff; }

/* ── cooks + phone mock ──────────────────────────────────────────────────── */

.cooks { display: grid; grid-template-columns: minmax(0, 1fr) 474px; gap: 56px; align-items: center; }
.cooks .lede:first-of-type { margin-top: 22px; }

.phone-stage { display: flex; align-items: center; justify-content: center; perspective: 1600px; }
.phone { position: relative; width: 274px; flex: none; }
.phone--tilt {
  transform: rotateY(-15deg) rotateX(5deg) rotateZ(-2deg);
  transform-style: preserve-3d; transition: transform .7s var(--ease);
}
.phone--tilt:hover { transform: rotateY(-7deg) rotateX(2deg) rotateZ(-1deg); }
.phone__shadow {
  position: absolute; left: 6%; right: -4%; bottom: -34px; height: 56px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(20,17,15,.34), rgba(20,17,15,0) 72%);
  filter: blur(6px);
}
.phone__body {
  position: relative; border-radius: 44px; padding: 8px;
  background: linear-gradient(145deg, #3A3532 0%, #14110F 32%, #14110F 70%, #2C2724 100%);
  box-shadow: 0 44px 84px -34px rgba(20,17,15,.6), 0 3px 0 rgba(255,255,255,.12) inset;
}
.phone__body img { width: 100%; aspect-ratio: 1284 / 2778; object-fit: cover; border-radius: 37px; }
.phone__glare {
  position: absolute; inset: 8px; border-radius: 37px; pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,.2) 0%, rgba(255,255,255,.06) 26%, rgba(255,255,255,0) 46%);
}

/* ── journey ─────────────────────────────────────────────────────────────── */

.journey__head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.journey__intro { font-size: 17px; line-height: 1.6; color: rgba(251,249,246,.62); margin-bottom: 6px; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 66px; }
.steps li { position: relative; transition: transform .4s var(--ease); }
.steps li:hover { transform: translateY(-5px); }
.steps li:not(:last-child)::after {
  content: "→";
  position: absolute; right: -17px; top: 13px; z-index: 1;
  width: 16px; height: 16px; border-radius: 50%;
  display: grid; place-items: center;
  color: rgba(251,249,246,.68); background: rgba(255,79,0,.22);
  font-size: 11px; line-height: 1;
}
.steps__rule { display: block; height: 2px; background: rgb(255 79 0 / var(--step)); }
.steps__label {
  display: flex; align-items: center; gap: 7px; padding-top: 20px;
  font-family: var(--mono); font-size: 11px; color: rgba(251,249,246,.7);
}
.steps__label em { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-deep); opacity: var(--step); }
.steps h3 { font-size: 19px; font-weight: 500; margin: 12px 0 8px; }
.steps p:last-child { font-size: 14.5px; line-height: 1.55; color: rgba(251,249,246,.78); }

/* ── known for ───────────────────────────────────────────────────────────── */

.known-for { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 72px; align-items: center; }
.known-for__copy .lede { max-width: 50ch; }

.profile-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 24px;
  padding: 28px; box-shadow: 0 30px 70px -46px rgba(20, 17, 15, .5);
}
.profile-card__top { display: flex; align-items: center; gap: 16px; }
.profile-card__top img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.profile-card__top h3 { font-size: 22px; font-weight: 600; }
.profile-card__top p { color: var(--muted); margin-top: 3px; }
.mini-label {
  font-family: var(--mono); font-size: 10.5px; font-weight: 400;
  letter-spacing: .1em; text-transform: uppercase; color: var(--brand-text);
}
.known-dishes { margin-top: 26px; }
.dish-chip {
  display: inline-flex; align-items: center; margin: 10px 8px 0 0;
  padding: 9px 13px; border-radius: 999px;
  background: rgba(255, 79, 0, .08); border: 1px solid rgba(255, 79, 0, .18);
  font-size: 14px; font-weight: 500;
}
.journey-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin: 28px 0 0;
}
.journey-stats div {
  border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px 12px;
  background: var(--bg);
}
.journey-stats dt { font-size: 11.5px; line-height: 1.3; color: var(--muted); }
.journey-stats dd { margin: 6px 0 0; font-size: 24px; line-height: 1; font-family: var(--serif); color: var(--ink); }
.trend-callout {
  display: flex; align-items: center; gap: 12px; margin-top: 16px;
  border-radius: 16px; padding: 16px; background: var(--ink); color: var(--bg);
}
.trend-callout span { font-size: 22px; }
.trend-callout .mini-label { color: var(--brand-light); }
.trend-callout strong { display: block; margin-top: 4px; font-size: 18px; font-weight: 500; }

/* ── neighbors ───────────────────────────────────────────────────────────── */

.ticks { display: flex; flex-direction: column; gap: 6px; margin-left: -10px; padding-top: 6px; }
.ticks li {
  display: flex; align-items: center; gap: 12px;
  font-size: 16.5px; line-height: 1.5; padding: 8px 10px; border-radius: 10px;
  transition: background .3s ease, transform .3s ease;
}
.ticks li:hover { background: #F3EFE9; transform: translateX(5px); }
.ticks span { color: var(--brand-text); }

/* ── selling ─────────────────────────────────────────────────────────────── */

.selling {
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 72px;
  align-items: center;
}
.selling__copy .lede { max-width: 54ch; }
.terms {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px;
}
.terms li {
  padding: 10px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 79, 0, .28); background: rgba(255, 79, 0, .05);
  font-size: 13.5px; font-weight: 500;
}
.path__shot { display: flex; justify-content: center; }
.path__shot img {
  width: 266px; flex: none;
  filter: drop-shadow(0 34px 60px rgba(20, 17, 15, .34));
  animation: bob 7s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ── join ────────────────────────────────────────────────────────────────── */

.join__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.join { padding: 100px 0; }
.join__lede { font-size: 17px; line-height: 1.6; color: rgba(251,249,246,.62); margin-top: 20px; max-width: 420px; text-wrap: pretty; }

.signup {
  background: rgba(251, 249, 246, .04); border: 1px solid rgba(251, 249, 246, .12);
  border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px;
}
.signup__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(251, 249, 246, .55);
}
.field input, .field select, .field textarea {
  background: transparent; border: 1px solid rgba(251, 249, 246, .2);
  border-radius: 10px; padding: 12px 14px; color: var(--bg); font-size: 15px;
  outline: none; transition: border-color .3s ease, background .3s ease;
}
.field textarea { resize: vertical; min-height: 84px; }
.field select {
  appearance: none; -webkit-appearance: none;
  padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23FBF9F6' stroke-width='1.6' stroke-opacity='.6'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field select option { color: var(--ink); background: var(--bg); }
.field input::placeholder, .field textarea::placeholder { color: rgba(251, 249, 246, .38); }
.field :is(input, select, textarea):focus {
  border-color: var(--brand); background: rgba(251, 249, 246, .06);
}
.field :is(input, textarea)[aria-invalid="true"] { border-color: #FF7A3D; }

.field__error { font-size: 12px; color: #FF9E6B; min-height: 0; }
.field__error:empty { display: none; }

.signup__fine   { font-size: 12.5px; color: rgba(251, 249, 246, .55); text-align: center; }
.signup__status { font-size: 14px; line-height: 1.5; text-align: center; color: var(--brand-light); }
.signup__status:empty { display: none; }
.signup[data-sent] .signup__status { color: #8FD9A8; }

/* ── back to top ─────────────────────────────────────────────────────────── */

.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--bg); border-radius: 999px; padding: 12px 18px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease, background .3s ease;
}
.to-top[data-on] { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--brand-deep); color: #fff; }
.to-top span { font-size: 13px; }

/* ── footer ──────────────────────────────────────────────────────────────── */

.site-footer { max-width: var(--shell); margin: 0 auto; padding: 56px var(--gut); }
.site-footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.site-footer__cols img { height: 26px; width: auto; }
.site-footer__cols > div p { font-size: 14px; line-height: 1.55; color: var(--muted); margin-top: 12px; max-width: 320px; }
.site-footer nav { display: flex; flex-direction: column; }
.site-footer h2 {
  font-family: var(--mono); font-size: 10.5px; font-weight: 400;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.site-footer nav a { font-size: 14.5px; color: var(--ink); }
.site-footer nav a + a { margin-top: 9px; }
.site-footer nav a:hover { color: var(--brand-text); }
.site-footer__base {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(20, 17, 15, .1);
  font-size: 13px; color: var(--muted);
}

/* ── scroll reveal ───────────────────────────────────────────────────────── */

[data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal="in"] { opacity: 1; transform: none; }

/* ── responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  :root { --gut: 32px; --rhythm: 96px; }
  .cooks { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }
  .known-for, .selling { grid-template-columns: 1fr; gap: 44px; }
  .known-for .profile-card { max-width: 520px; }
  .selling .path__shot { justify-content: flex-start; }
  .path__shot img { width: 240px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px 18px; }
  .steps li::after { display: none; }
  .join__inner { gap: 48px; }
}

@media (max-width: 900px) {
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gut) 20px;
    box-shadow: 0 24px 40px -30px rgba(20, 17, 15, .8);
    display: none;
  }
  .site-nav[data-open] { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
  .site-nav a[data-active] { border-bottom-color: var(--line-soft); }
  .nav-toggle { display: block; }
  .site-header__actions { display: none; }
  .site-header__bar { gap: 16px; }

  .hero__map { inset: 0; opacity: .5; }
  .hero__inner { padding: 64px var(--gut) 72px; min-height: 0; }
  .hero h1 { max-width: none; }
  .hero__lede, .hero__sub { max-width: 60ch; }

  .split, .cooks, .journey__head, .join__inner { grid-template-columns: 1fr; gap: 32px; }
  .split__body, .ticks { padding-top: 0; }
  .journey__intro { margin-bottom: 0; }
  .cooks { gap: 48px; }
  .phone-stage { order: -1; }
  .phone--tilt { transform: none; }
  .band { padding: 80px 0; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer__cols > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --gut: 20px; --rhythm: 72px; }
  .stories__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .rail-next { display: none; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps li::after { display: none; }
  .profile-card { padding: 22px; }
  .journey-stats { grid-template-columns: 1fr; }
  .signup__row { grid-template-columns: 1fr; }
  .signup { padding: 24px; }
  .site-footer__base { flex-direction: column; gap: 8px; }
  .to-top { right: 16px; bottom: 16px; }
  .lede { font-size: 16.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
