/* ==========================================================================
   BurgerzWingz concept site, calm edition
   Design read: restrained brand site for a food concept, quiet type,
   generous space, photography does the talking.
   Dials: DESIGN_VARIANCE 5, MOTION_INTENSITY 3, VISUAL_DENSITY 3.
   Shape rule: buttons and chips are pills, cards and tiles use 16px,
   inputs use 10px. One accent (a softened orange), used sparingly.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Geist";
  src: url("assets/fonts/Geist.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;

  --bg: #121315;
  --bg-2: #17181a;
  --surface: #1c1d20;
  --surface-2: #25262a;
  --line: rgb(255 255 255 / 0.1);
  --text: #eeede9;
  --muted: #a3a29e;

  --accent: #e8612c;
  --accent-ink: #f07a48; /* accent as text on the page background */
  --on-accent: #121315;
  --logo-red: #ee3b2f; /* logo Z only */

  --photo-text: #f4f3f0; /* text on photography, same in both modes */
  --scrim: linear-gradient(to top, rgb(10 10 12 / 0.82) 0%, rgb(10 10 12 / 0.4) 40%, rgb(10 10 12 / 0) 72%);

  --r-card: 16px;
  --r-input: 10px;
  --r-pill: 999px;

  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 64px;
  --gutter: clamp(20px, 4vw, 48px);
  --maxw: 1200px;
  --section-y: clamp(64px, 8vw, 112px);

  /* z-index scale */
  --z-nav: 40;
  --z-menu: 50;
  --z-skip: 60;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f3f3f2;
    --bg-2: #eaeaea;
    --surface: #fafafa;
    --surface-2: #e2e3e4;
    --line: rgb(18 19 21 / 0.12);
    --text: #17181a;
    --muted: #5a5b60;
    --accent-ink: #b5430e;
    --logo-red: #d42a1e;
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f3f2;
  --bg-2: #eaeaea;
  --surface: #fafafa;
  --surface-2: #e2e3e4;
  --line: rgb(18 19 21 / 0.12);
  --text: #17181a;
  --muted: #5a5b60;
  --accent-ink: #b5430e;
  --logo-red: #d42a1e;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }

.skip {
  position: fixed;
  left: 12px;
  top: -64px;
  z-index: var(--z-skip);
  background: var(--accent);
  color: var(--on-accent);
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }

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

section[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }
.section { padding-block: var(--section-y); }

/* ---------- Type ---------- */
.h1,
.h2,
.tile h3,
.preview h3,
.success h3 {
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h1 { font-size: clamp(2.25rem, 4.4vw, 3.75rem); line-height: 1.06; }
.h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.12; max-width: 20ch; }

.lede {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 52ch;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent-ink);
}

.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding-inline: 22px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.2s var(--ease);
}
.btn i { font-size: 1.05em; }
.btn:active { transform: scale(0.98); }

.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-ink); }

.btn--ghost { border: 1px solid var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--muted); }

.btn--sm { height: 40px; padding-inline: 18px; font-size: 0.875rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: var(--z-nav);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s;
}
.nav.is-stuck {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo {
  display: inline-block;
  white-space: nowrap;
  font-weight: 650;
  font-size: 1.125rem;
  letter-spacing: -0.03em;
}
.logo b {
  /* the Z: larger, inclined, red */
  display: inline-block;
  font-weight: 800;
  font-size: 1.32em;
  line-height: 0.7;
  color: var(--logo-red);
  transform: rotate(-9deg) skewX(-10deg);
  transform-origin: 50% 80%;
  margin-inline: 0.02em;
}

.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 32px); }
.nav__links a:not(.btn) { font-size: 0.9rem; color: var(--muted); transition: color 0.2s; }
.nav__links a:not(.btn):hover { color: var(--text); }

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 88px)); padding-bottom: var(--section-y); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.hero__copy { display: grid; gap: 22px; justify-items: start; }
.hero .lede { max-width: 42ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }

.hero__main {
  aspect-ratio: 4 / 4.6;
  max-height: 600px;
  width: 100%;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--surface);
}
.hero__main img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; }

/* ---------- Menu ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-bottom: clamp(20px, 3vw, 32px); }
.tab {
  height: 40px;
  padding-inline: 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.tab:hover { color: var(--text); border-color: var(--muted); }
.tab[aria-selected="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }

.bento {
  --row: clamp(220px, 23vw, 300px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: var(--row);
  gap: 12px;
}
.tile {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--surface);
  color: var(--photo-text);
  isolation: isolate;
  grid-column: span 6;
}
.tile > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.8s var(--ease);
}
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--scrim); }
.tile:hover > img { transform: scale(1.03); }
.tile__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(16px, 2vw, 24px);
  display: grid;
  gap: 4px;
}
.tile h3 { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.2; letter-spacing: -0.02em; }
.tile p { font-size: 0.875rem; line-height: 1.5; max-width: 42ch; color: rgb(244 243 240 / 0.82); }

.s3 { grid-column: span 3; }
.s4 { grid-column: span 4; }
.s5 { grid-column: span 5; }
.s6 { grid-column: span 6; }
.s7 { grid-column: span 7; }
.s8 { grid-column: span 8; }
.r2 { grid-row: span 2; }

.tile--plain { background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.tile--plain::after { display: none; }
.tile--plain p { color: var(--muted); }
.tile--text .tile__body { inset: 0; align-content: space-between; }
.tile__icon { font-size: 1.5rem; color: var(--accent-ink); }

.panel { animation: panel-in 0.4s var(--ease) both; }
@keyframes panel-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Sauce lab ---------- */
.sauce { background: var(--bg-2); border-block: 1px solid var(--line); }
.sauce__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.sauce__copy { display: grid; gap: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding-inline: 18px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.chip:hover { border-color: var(--muted); }
.chip .pips { display: inline-flex; gap: 1px; font-size: 0.8rem; color: var(--accent-ink); }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.chip[aria-pressed="true"] .pips { color: var(--accent); }

.preview {
  position: relative;
  aspect-ratio: 4 / 4.2;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--surface);
  color: var(--photo-text);
  isolation: isolate;
}
.preview__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: -2;
}
.preview__img.is-on { opacity: 1; }
.preview::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--scrim); }
.preview__body { position: absolute; inset: auto 0 0 0; padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 8px; }
.preview h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; }
.heat { display: flex; align-items: center; gap: 10px; }
.heat__flames { display: inline-flex; gap: 2px; font-size: 1rem; }
.heat__flames i { color: rgb(244 243 240 / 0.3); transition: color 0.3s; }
.heat__flames i.on { color: var(--accent); }
.heat__label { font-weight: 500; font-size: 0.875rem; }
.preview p { color: rgb(244 243 240 / 0.86); max-width: 40ch; font-size: 0.9375rem; line-height: 1.55; }
.preview .pair { color: rgb(244 243 240 / 0.7); font-size: 0.8125rem; }

/* ---------- Story ---------- */
.story__img {
  aspect-ratio: 21 / 9;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--surface);
}
.story__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.story__body {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 88px);
  margin-top: clamp(32px, 5vw, 64px);
  align-items: start;
}
.story__text { display: grid; gap: 18px; }
.story__text p { color: var(--muted); max-width: 46ch; }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 40px) clamp(24px, 3.4vw, 48px); }
.pillar { display: grid; gap: 6px; align-content: start; }
.pillar i { font-size: 1.375rem; color: var(--accent-ink); margin-bottom: 4px; }
.pillar h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.pillar p { color: var(--muted); font-size: 0.9375rem; line-height: 1.6; max-width: 34ch; }

/* ---------- Franchise ---------- */
.fr-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(24px, 4.5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.fr-panel__copy { display: grid; gap: 18px; justify-items: start; }
.fr-points { display: grid; }
.fr-points li {
  font-size: 1rem;
  font-weight: 500;
  padding-block: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}
.fr-points li:last-child { border-bottom: 1px solid var(--line); }
.fr-points i { color: var(--accent-ink); font-size: 1.1rem; }

.fr-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  margin-top: clamp(40px, 6vw, 80px);
}
.fr-detail h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 22px; }
.formats { display: grid; gap: 18px; }
.format { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.format__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--accent-ink);
}
.format h4 { font-size: 1rem; font-weight: 600; line-height: 1.35; }
.format p { color: var(--muted); font-size: 0.9375rem; margin-top: 2px; max-width: 44ch; line-height: 1.55; }

.path { position: relative; display: grid; gap: 20px; }
.path::before { content: ""; position: absolute; left: 15px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.path li { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 16px; align-items: start; }
.path__dot {
  width: 32px;
  height: 32px;
  border-radius: var(--r-pill);
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--accent-ink);
  font-size: 0.95rem;
}
.path h4 { font-size: 1rem; font-weight: 600; line-height: 1.35; padding-top: 4px; }
.path p { color: var(--muted); font-size: 0.9375rem; margin-top: 2px; max-width: 44ch; line-height: 1.55; }

/* ---------- Inquiry form ---------- */
.inquiry { background: var(--bg-2); border-block: 1px solid var(--line); }
.inquiry__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.inquiry__aside { display: grid; gap: 24px; position: sticky; top: calc(var(--nav-h) + 24px); }
.inquiry__photo { aspect-ratio: 16 / 10; border-radius: var(--r-card); overflow: hidden; }
.inquiry__photo img { width: 100%; height: 100%; object-fit: cover; }
.next { display: grid; gap: 10px; }
.next li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; color: var(--muted); font-size: 0.9375rem; }
.next i { color: var(--accent-ink); font-size: 1.1rem; margin-top: 3px; }

.mail { color: var(--muted); font-size: 0.9375rem; }
.mail a { color: var(--text); border-bottom: 1px solid var(--line); transition: border-color 0.2s; }
.mail a:hover { border-color: var(--text); }

.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 500; font-size: 0.875rem; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.field ::placeholder { color: #8a8985; opacity: 1; }
:root[data-theme="light"] .field ::placeholder,
:root[data-theme="light"] .join__row input::placeholder { color: #6a6b70; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .field ::placeholder,
  :root:not([data-theme="dark"]) .join__row input::placeholder { color: #6a6b70; }
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--muted); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--accent-ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent);
}
.help { color: var(--muted); font-size: 0.8125rem; }
.error { display: none; align-items: center; gap: 6px; color: var(--accent-ink); font-size: 0.8125rem; font-weight: 500; }
.field.has-error .error { display: flex; }
.field.has-error input,
.field.has-error select { border-color: var(--accent-ink); }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__foot small { color: var(--muted); font-size: 0.8125rem; max-width: 36ch; }
.btn[disabled] { opacity: 0.85; pointer-events: none; }
.btn .spin {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgb(18 19 21 / 0.25);
  border-top-color: var(--on-accent);
  animation: spin 0.7s linear infinite;
  display: none;
}
.btn.is-loading .spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.success {
  display: grid;
  gap: 12px;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
  justify-items: start;
}
.success i { font-size: 2rem; color: var(--accent-ink); }
.success h3 { font-size: 1.5rem; line-height: 1.2; }
.success p { color: var(--muted); max-width: 44ch; }

/* ---------- FAQ ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.faq__intro { display: grid; gap: 14px; position: sticky; top: calc(var(--nav-h) + 24px); }
.faq__list { display: grid; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
  cursor: pointer;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { flex-shrink: 0; font-size: 1.05rem; color: var(--muted); transition: transform 0.3s var(--ease); }
.qa[open] summary i { transform: rotate(45deg); }
.qa p { padding: 0 0 20px; color: var(--muted); max-width: 60ch; font-size: 0.9375rem; }

/* ---------- Footer ---------- */
.footer { padding-top: var(--section-y); }
.join {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}
.join__form { display: grid; gap: 10px; }
.join__form label { color: var(--muted); font-size: 0.9375rem; }
.join__row { display: flex; gap: 8px; }
.join__row input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding-inline: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.9375rem;
}
.join__row input:focus-visible { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent); }
.join__row input::placeholder { color: #8a8985; opacity: 1; }
.join__msg { font-size: 0.875rem; min-height: 1.5em; color: var(--muted); }
.join__msg.is-error { color: var(--accent-ink); }
.join__msg.is-ok { color: var(--text); }

.footer__cols {
  display: grid;
  grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr));
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(48px, 7vw, 88px);
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.footer__brand { display: grid; gap: 14px; align-content: start; }
.footer__brand p { color: var(--muted); max-width: 34ch; font-size: 0.9375rem; }
.footer h4 { font-size: 0.875rem; font-weight: 600; margin-bottom: 12px; }
.footer ul { display: grid; gap: 8px; }
.footer ul a { color: var(--muted); transition: color 0.2s; font-size: 0.9375rem; }
.footer ul a:hover { color: var(--text); }
.social { display: flex; gap: 8px; }
.social a {
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: border-color 0.2s, color 0.2s;
}
.social a:hover { border-color: var(--muted); color: var(--accent-ink); }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 28px;
  margin-top: clamp(40px, 6vw, 72px);
  padding-block: 24px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}
.footer__legal nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__legal a:hover { color: var(--text); }

/* ---------- Motion (subtle, opacity and a short lift only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: calc(var(--d, 0) * 70ms);
  }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .hero [data-in] { animation: fade-up 0.8s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms + 80ms); }
  @keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .panel { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav__toggle { display: inline-flex; position: relative; z-index: calc(var(--z-menu) + 1); }
  .nav__links {
    position: fixed;
    inset: 0;
    z-index: var(--z-menu);
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 88px var(--gutter) 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; }
  .nav__links a:not(.btn) { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; color: var(--text); padding-block: 6px; }
  .nav__links .btn { margin-top: 20px; }
  .nav.is-open { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: transparent; }
  .nav.is-open .logo { position: relative; z-index: calc(var(--z-menu) + 1); }

  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__main { aspect-ratio: 16 / 11; max-height: none; }

  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 260px; }
  .bento > * { grid-column: auto !important; }
  .bento > .r2 { grid-row: span 2; }

  .sauce__grid,
  .story__body,
  .fr-panel,
  .fr-detail,
  .inquiry__grid,
  .faq__grid,
  .join { grid-template-columns: minmax(0, 1fr); }
  .inquiry__aside,
  .faq__intro { position: static; }
  .inquiry__photo { display: none; }
  .story__img { aspect-ratio: 16 / 9; }

  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .hero__cta .btn { flex: 1 1 100%; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .join__row { flex-direction: column; }
  .join__row .btn { width: 100%; }
  .footer__legal { flex-direction: column; }
}
