/* ==========================================================================
   Savor — site styles (2026 redesign)
   Editorial / documentary direction built around real plant photography.
   ========================================================================== */

/* ---------- Fonts (self-hosted, CSP friendly) ---------- */
@font-face { font-family: "Literata"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/literata-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/literata-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/literata-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/literata-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/literata-latin-ext-400-italic.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/literata-cyrillic-400-italic.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/literata-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/literata-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/literata-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }

@font-face { font-family: "Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/ibm-plex-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/ibm-plex-sans-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/ibm-plex-sans-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/ibm-plex-sans-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/ibm-plex-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/ibm-plex-sans-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }

@font-face { font-family: "Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/ibm-plex-mono-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/ibm-plex-mono-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }

/* ---------- Tokens ---------- */
:root {
  --bg: #f2ede2;
  --paper: #f8f5ee;
  --surface: #ebe4d5;
  --surface-strong: #f8f5ee;
  --ink: #1d1a15;
  --ink-soft: #3a342b;
  --muted: #655d51;
  --line: rgba(29, 26, 21, 0.18);
  --line-strong: rgba(29, 26, 21, 0.42);
  --butter: #edbb45;
  --butter-ink: #1d1a15;
  --brass: #8a6418;
  --plaque: #e6cf8f;
  --plaque-ink: #2a2316;
  --band: #1d1a15;
  --band-ink: #f2ede2;
  --band-muted: #b9b0a0;
  --danger: #9f3f36;
  --gold: var(--butter);
  --gold-deep: var(--brass);
  --inverse-bg: var(--band);
  --inverse-ink: var(--band-ink);
  --inverse-muted: var(--band-muted);
  --inverse-gold: var(--butter);
  --shell: min(1240px, calc(100% - 48px));
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius: 3px;
  --header-h: 72px;
  /* legacy tokens still used by admin.css */
  --shadow: 0 18px 50px rgba(40, 32, 20, 0.12);
  --radius-lg: 6px;
  --radius-md: 4px;
  --radius-sm: 3px;
  --sage: #77806c;
}

html[data-theme="dark"] {
  --bg: #14120f;
  --paper: #1b1915;
  --surface: #23201b;
  --surface-strong: #1b1915;
  --ink: #ece5d8;
  --ink-soft: #d4ccbd;
  --muted: #a69d8e;
  --line: rgba(236, 229, 216, 0.16);
  --line-strong: rgba(236, 229, 216, 0.4);
  --brass: #e2b65a;
  --plaque: #cdb370;
  --band: #0d0c0a;
  --band-ink: #ece5d8;
  --band-muted: #a69d8e;
  --danger: #ff9185;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
main { overflow-wrap: anywhere; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
::selection { background: var(--butter); color: var(--butter-ink); }

.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: fixed; z-index: 999; top: 12px; left: 12px;
  padding: 10px 14px; transform: translateY(-160%);
  background: var(--ink); color: var(--bg); border-radius: var(--radius);
}
.skip-link:focus { transform: none; }

.eyebrow {
  margin: 0 0 18px;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Plaque: echoes the brass room signs inside the plant */
.plaque {
  position: relative;
  display: inline-grid;
  gap: 1px;
  margin-bottom: 28px;
  padding: 12px 22px 11px;
  background: var(--plaque);
  color: var(--plaque-ink);
  border-radius: 2px;
  text-align: center;
  font-family: var(--sans);
  line-height: 1.25;
  box-shadow: inset 0 0 0 1px rgba(42, 35, 22, 0.18);
}
.plaque b { font-size: 1.0625rem; font-weight: 600; }
.plaque span { font-size: 0.8125rem; }
.plaque::before,
.plaque::after {
  content: "";
  position: absolute;
  top: 6px; left: 6px; right: 6px; bottom: 6px;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(42,35,22,.55) 1.6px, transparent 2px) top left / 5px 5px no-repeat,
    radial-gradient(circle, rgba(42,35,22,.55) 1.6px, transparent 2px) top right / 5px 5px no-repeat;
}
.plaque::after {
  background:
    radial-gradient(circle, rgba(42,35,22,.55) 1.6px, transparent 2px) bottom left / 5px 5px no-repeat,
    radial-gradient(circle, rgba(42,35,22,.55) 1.6px, transparent 2px) bottom right / 5px 5px no-repeat;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.button-primary { background: var(--ink); color: var(--bg); }
.button-primary:hover { background: var(--ink-soft); }
.button-butter { background: var(--butter); color: var(--butter-ink); }
.button-butter:hover { background: #f5c95e; }
.button-ghost { border-color: var(--line-strong); color: var(--ink); }
.button-ghost:hover { border-color: var(--ink); }
.button-light { background: #f8f5ee; color: #1d1a15; }
.button-outline-light { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.button-outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.play-glyph {
  width: 0; height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; z-index: 50; top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  min-height: var(--header-h);
}
.brand, .footer-brand { display: block; width: 104px; }
.brand img, .footer-brand img { width: 100%; height: auto; }
html[data-theme="dark"] .brand img,
html[data-theme="dark"] .footer-brand img { filter: brightness(1.15); }

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 0.9375rem;
  font-weight: 500;
}
.primary-nav a { position: relative; padding: 6px 0; color: var(--ink-soft); }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--ink); }
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--butter); transform: scaleX(0); transform-origin: left;
  transition: transform 180ms ease;
}
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }

.language-switcher, .admin-language {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.language-switcher button, .admin-language button {
  min-width: 42px; min-height: 40px; padding: 6px 8px;
  border: 0; background: transparent; color: var(--muted);
  cursor: pointer;
  font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.04em;
}
.language-switcher button + button { border-left: 1px solid var(--line); }
.language-switcher button[aria-pressed="true"], .admin-language button.active { background: var(--ink); color: var(--bg); }

.icon-button {
  position: relative;
  display: inline-grid; place-items: center;
  flex-shrink: 0;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent; color: var(--ink);
  cursor: pointer;
}
.icon-button:hover { border-color: var(--line-strong); }
.icon-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.sun-icon, html[data-theme="dark"] .moon-icon { display: none; }
html[data-theme="dark"] .sun-icon { display: block; }
.mobile-menu-toggle { display: none; }

/* ---------- Hero (video) ---------- */
.hero {
  position: relative;
  min-height: min(760px, calc(100svh - var(--header-h)));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #2b2720;
  color: #fff;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(14, 12, 9, 0.82) 0%, rgba(14, 12, 9, 0.45) 38%, rgba(14, 12, 9, 0.08) 70%);
}
.hero-content {
  position: relative; z-index: 1;
  padding-block: 120px clamp(48px, 7vw, 88px);
}
.hero-kicker {
  display: inline-block;
  margin: 0 0 20px;
  padding: 6px 10px;
  background: var(--butter);
  color: var(--butter-ink);
  font-family: var(--mono); font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.hero h1 {
  max-width: 14ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.75rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
}
.hero-text {
  max-width: 34ch;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- Facts strip ---------- */
.facts { border-bottom: 1px solid var(--line); background: var(--paper); }
.facts-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact {
  display: flex; align-items: baseline; gap: 14px;
  padding: 26px 24px 24px 0;
}
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact strong {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}
.fact span { color: var(--muted); font-size: 0.9375rem; line-height: 1.35; }

/* ---------- Sections ---------- */
.section { padding-top: clamp(80px, 10vw, 140px); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 44px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-strong);
}
.section-heading h2,
.about-content h2,
.contact-copy h2,
.factory-copy h2,
.film-copy h2,
.detail-section-heading h2,
.recipe-method h2,
.about-process h2,
.about-page-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.125rem, 4.4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.section-intro { max-width: 42ch; margin: 0 0 4px auto; color: var(--muted); }

/* ---------- Factory ---------- */
.factory-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
}
.factory-copy { padding-bottom: 8px; }
.factory-copy > p { max-width: 44ch; margin: 24px 0 0; color: var(--muted); font-size: 1.125rem; }
.factory-aerial img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }

figcaption {
  display: flex; gap: 12px; align-items: baseline;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.875rem;
}
figcaption span {
  color: var(--brass);
  font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em;
}

.steps-head { display: flex; align-items: center; gap: 20px; margin: clamp(64px, 8vw, 104px) 0 32px; }
.steps-title {
  margin: 0;
  font-family: var(--mono); font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass);
  white-space: nowrap;
}
.steps-rule { flex: 1; height: 1px; background: var(--line-strong); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 28px;
  margin: 0; padding: 0; list-style: none;
}
.step-media { position: relative; }
.step-media img:first-child { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.step-sign {
  position: absolute; right: 12px; bottom: -18px;
  width: 38%; aspect-ratio: 16 / 9; object-fit: cover;
  border: 4px solid var(--bg);
  border-radius: var(--radius);
}
.step-copy {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 8px;
  margin-top: 22px;
}
.step-number {
  grid-row: span 2;
  padding-top: 4px;
  color: var(--brass);
  font-family: var(--mono); font-size: 0.875rem; font-weight: 500;
}
.step-copy h3 { margin: 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; letter-spacing: -0.01em; }
.step-copy p { margin: 6px 0 0; color: var(--muted); font-size: 1rem; }

/* ---------- Film band ---------- */
.film-band {
  margin-top: clamp(88px, 11vw, 150px);
  padding-block: clamp(64px, 8vw, 110px);
  background: var(--band);
  color: var(--band-ink);
}
.film-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.film-copy p { max-width: 36ch; margin: 22px 0 0; color: var(--band-muted); font-size: 1.125rem; }
.plaque-dark { --plaque-ink: #2a2316; }
.film-frame { position: relative; }
.film-video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); }
.film-play {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: auto 1fr auto; align-content: end; align-items: center; gap: 16px;
  padding: clamp(18px, 3vw, 32px);
  border: 0; border-radius: var(--radius);
  background: linear-gradient(0deg, rgba(0,0,0,.6), rgba(0,0,0,0) 55%);
  color: #fff;
  cursor: pointer;
  text-align: left;
}
.film-play-icon {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--butter);
  transition: transform 180ms ease;
}
.film-play-icon::before {
  content: "";
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--butter-ink);
}
.film-play:hover .film-play-icon { transform: scale(1.06); }
.film-play-label { font-size: 1.125rem; font-weight: 600; }
.film-play-time { font-family: var(--mono); font-size: 0.875rem; opacity: 0.85; }
.film-frame.is-playing .film-play { display: none; }

/* ---------- Products ---------- */
.products-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.products-pack { position: sticky; top: calc(var(--header-h) + 24px); }
.products-pack img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }

.product-list { border-top: 1px solid var(--line-strong); }
.product-row {
  position: relative;
  display: grid;
  grid-template-columns: 34px 92px 88px minmax(0, 1fr) auto;
  grid-template-areas: "idx size thumb text arrow" "idx size thumb note arrow";
  column-gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 160ms ease;
}
.product-row:hover { background: var(--paper); }
.product-row-link { position: absolute; inset: 0; z-index: 1; }
.product-row-link:focus-visible { outline-offset: -2px; }
.product-index { grid-area: idx; color: var(--muted); font-family: var(--mono); font-size: 0.8125rem; }
.product-size { grid-area: size; display: flex; align-items: baseline; gap: 4px; }
.product-size strong { font-family: var(--serif); font-size: 2.5rem; font-weight: 400; line-height: 1; letter-spacing: -0.03em; }
.product-size span { color: var(--muted); font-family: var(--mono); font-size: 0.875rem; }
.product-thumb { grid-area: thumb; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.product-thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.product-text { grid-area: text; align-self: end; }
.product-text h3 { margin: 0; font-size: 1.0625rem; font-weight: 600; }
.product-text p { margin: 2px 0 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }
.product-note {
  grid-area: note; align-self: start; justify-self: start;
  margin-top: 8px; padding: 2px 8px;
  border: 1px solid var(--line-strong); border-radius: 2px;
  color: var(--ink-soft);
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.02em;
}
.product-arrow { grid-area: arrow; color: var(--ink); font-size: 0.9375rem; font-weight: 600; white-space: nowrap; }
.product-row:hover .product-arrow { color: var(--brass); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 36px 20px;
}
.gallery-item { grid-column: span 4; min-width: 0; }
.gallery-item:nth-child(10n + 1), .gallery-item:nth-child(10n + 8) { grid-column: span 8; }
.gallery-item:nth-child(10n + 2), .gallery-item:nth-child(10n + 9) { grid-column: span 4; }
.gallery-item:nth-child(10n + 6) { grid-column: span 6; }
.gallery-item:nth-child(10n + 7) { grid-column: span 6; }
.gallery-item button {
  display: block; width: 100%; padding: 0;
  border: 0; border-radius: var(--radius);
  overflow: hidden; background: var(--surface);
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%; height: clamp(220px, 26vw, 380px);
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.gallery-item button:hover img { transform: scale(1.03); }

.gallery-dialog {
  width: min(1180px, calc(100% - 32px)); max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0; overflow: auto;
  border: 0; border-radius: var(--radius);
  background: #0f0e0b; color: #fff;
}
.gallery-dialog::backdrop { background: rgba(10, 9, 7, 0.88); }
.gallery-dialog img { width: 100%; max-height: 80vh; object-fit: contain; }
.gallery-dialog p { margin: 0; padding: 14px 20px 18px; font-size: 0.9375rem; }
.gallery-dialog-close {
  position: absolute; z-index: 2; top: 12px; right: 12px;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius);
  background: rgba(15,13,10,.7); color: #fff;
  cursor: pointer; font-size: 26px; line-height: 1;
}

/* ---------- Recipes ---------- */
.recipe-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.recipe-link { display: block; }
.recipe-image { overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.recipe-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 500ms cubic-bezier(0.2, 0.6, 0.2, 1); }
.recipe-link:hover .recipe-image img { transform: scale(1.03); }
.recipe-meta {
  display: flex; justify-content: space-between;
  margin-top: 16px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted); font-family: var(--mono); font-size: 0.8125rem;
}
.recipe-item h3 { margin: 14px 0 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; letter-spacing: -0.01em; }
.recipe-item p { margin: 6px 0 0; color: var(--muted); font-size: 1rem; }
.recipe-more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 0.9375rem; }
.recipe-link:hover .recipe-more { color: var(--brass); }

/* ---------- About teaser ---------- */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.about-content p:not(.eyebrow) { max-width: 46ch; margin: 22px 0 0; color: var(--muted); font-size: 1.125rem; }
.about-content .button { margin-top: 30px; }

/* ---------- Contact ---------- */
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 110px);
  padding: clamp(40px, 6vw, 80px);
  background: var(--band);
  color: var(--band-ink);
  border-radius: var(--radius);
}
.contact-panel .eyebrow { color: var(--butter); }
.contact-copy > p:last-child { max-width: 40ch; margin: 22px 0 0; color: var(--band-muted); }
.contact-groups { display: grid; align-content: center; gap: 30px; }
.contact-group { display: grid; gap: 6px; padding-bottom: 26px; border-bottom: 1px solid rgba(242, 237, 226, 0.2); }
.contact-group:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-group > span { color: var(--band-muted); font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; }
.contact-group a {
  display: inline-flex; align-items: center; width: fit-content; min-height: 44px;
  font-family: var(--serif); font-size: clamp(1.375rem, 2.4vw, 2rem); letter-spacing: -0.01em;
}
.contact-group a:hover { color: var(--butter); }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(96px, 12vw, 160px); border-top: 1px solid var(--line-strong); }
.footer-inner {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 40px;
  padding-block: 44px 36px;
}
.footer-inner > p { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.footer-contact { display: grid; gap: 2px; font-size: 0.9375rem; }
.footer-contact a { display: inline-flex; align-items: center; min-height: 36px; width: fit-content; color: var(--ink-soft); }
.footer-contact a:hover { color: var(--brass); }
.footer-links {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; gap: 4px 26px;
  padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 0.9375rem; font-weight: 500;
}
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink-soft); }
.footer-links a:hover { color: var(--ink); }
.footer-inner > .footer-legal { grid-column: 1 / -1; font-family: var(--mono); font-size: 0.75rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 100; right: 22px; bottom: 22px;
  max-width: min(360px, calc(100% - 44px));
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--ink); color: var(--bg);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.toast.show { opacity: 1; transform: none; }

/* ==========================================================================
   Shared cards (detail pages: related items)
   ========================================================================== */
.card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 160ms ease;
}
.card:hover { border-color: var(--line-strong); }
.card-image-wrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.card-image { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 22px 22px 20px; }
.card-topline { display: grid; gap: 6px; }
.card h3 { margin: 0; font-family: var(--serif); font-size: 1.375rem; font-weight: 400; letter-spacing: -0.01em; }
.card-note { color: var(--brass); font-family: var(--mono); font-size: 0.8125rem; }
.card-description { margin: 10px 0 0; color: var(--muted); font-size: 1rem; }
.card-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; font-weight: 600; }
.card-link::after { content: "→"; transition: transform 160ms ease; }
.card:hover .card-link::after { transform: translateX(3px); }

/* ==========================================================================
   Detail pages (product / recipe / about) — markup from detail.js
   ========================================================================== */
.detail-main { padding-top: 24px; }

.detail-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  min-height: 44px; margin-bottom: 20px;
  color: var(--muted);
  font-family: var(--mono); font-size: 0.8125rem;
}
.detail-breadcrumb a:hover { color: var(--ink); }
.detail-breadcrumb strong { color: var(--ink); font-weight: 500; }

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: 560px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.detail-hero-copy {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: clamp(36px, 5vw, 72px) clamp(24px, 4vw, 64px) clamp(36px, 5vw, 72px) 0;
}
.detail-hero-copy h1,
.about-page-overlay h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.detail-lead { max-width: 40ch; margin: 22px 0 0; font-size: 1.1875rem; line-height: 1.5; }
.detail-copy { max-width: 60ch; margin: 16px 0 0; color: var(--muted); }
.text-arrow { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 28px; font-weight: 600; }
.text-arrow::before { content: "←"; transition: transform 160ms ease; }
.text-arrow:hover::before { transform: translateX(-3px); }
.detail-hero-media { min-height: 440px; background: var(--surface); overflow: hidden; }
.detail-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-product-hero .detail-hero-media img { object-fit: contain; object-position: center; padding: clamp(16px, 3vw, 40px); }

.detail-info-grid { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.detail-info-grid article,
.about-values article { padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px) clamp(28px, 4vw, 48px) 0; }
.detail-info-grid article + article { padding-left: clamp(20px, 3vw, 40px); border-left: 1px solid var(--line); }
.detail-info-grid article > span,
.about-values article > span { color: var(--brass); font-family: var(--mono); font-size: 0.8125rem; }
.detail-info-grid h2,
.about-values h2 { margin: 16px 0 0; font-family: var(--serif); font-size: 1.75rem; font-weight: 400; letter-spacing: -0.015em; }
.detail-info-grid p,
.about-values p { max-width: 48ch; margin: 10px 0 0; color: var(--muted); }

.detail-related { padding-top: clamp(72px, 9vw, 120px); }
.detail-section-heading { margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line-strong); }
.detail-related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.detail-related-card { display: grid; grid-template-columns: 0.9fr 1.1fr; }
.detail-related-card .card-image-wrap { height: 100%; aspect-ratio: auto; min-height: 220px; }
.detail-related-card .card-body { display: flex; flex-direction: column; }
.detail-related-card .card-link { margin-top: auto; padding-top: 16px; }

.recipe-method { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); margin-top: clamp(48px, 6vw, 80px); }
.ingredients-panel h2, .steps-panel h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.ingredients-panel ul, .steps-panel ol { margin: 24px 0 0; padding: 0; list-style: none; }
.ingredients-panel li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.steps-panel ol { counter-reset: recipe-steps; }
.steps-panel li {
  display: grid; grid-template-columns: 44px 1fr; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  counter-increment: recipe-steps; color: var(--ink-soft);
}
.steps-panel li::before {
  content: counter(recipe-steps, decimal-leading-zero);
  padding-top: 3px;
  color: var(--brass); font-family: var(--mono); font-size: 0.875rem;
}

.about-page-hero {
  position: relative;
  min-height: min(680px, calc(100svh - 160px));
  overflow: hidden;
  border-radius: var(--radius);
  background: #2b2720;
}
.about-page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(14,12,9,.86), rgba(14,12,9,.45) 55%, rgba(14,12,9,.25));
}
.about-page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-page-overlay {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  max-width: 760px; min-height: inherit;
  padding: clamp(32px, 6vw, 72px);
  color: #fff;
}
.about-page-overlay .eyebrow { color: var(--butter); }
.about-page-overlay p:not(.eyebrow) { max-width: 52ch; margin: 22px 0 0; color: rgba(255,255,255,.88); font-size: 1.125rem; }

.about-process {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 7vw, 100px); align-items: end;
  padding: clamp(72px, 10vw, 130px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line-strong);
}
.about-process > p { margin: 0; color: var(--muted); font-size: 1.125rem; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.about-values article + article { padding-left: clamp(20px, 3vw, 40px); border-left: 1px solid var(--line); }

.about-page-cta {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
  margin-top: clamp(72px, 9vw, 120px);
}
.about-page-cta > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.about-page-cta .button { margin-top: 26px; }
.detail-footer { margin-top: clamp(88px, 10vw, 140px); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  :root { --shell: min(100% - 40px, 820px); --header-h: 66px; }

  .header-inner { grid-template-columns: auto 1fr auto; gap: 12px; }
  .header-tools { grid-column: 2; grid-row: 1; justify-self: end; }
  .mobile-menu-toggle { display: inline-grid; grid-column: 3; grid-row: 1; }
  .mobile-menu-toggle span {
    position: absolute; left: 11px; top: 19px;
    width: 18px; height: 2px; background: currentColor;
    transition: transform 160ms ease;
  }
  .mobile-menu-toggle span:first-child { transform: translateY(-3px); }
  .mobile-menu-toggle span:last-child { transform: translateY(3px); }
  .mobile-menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .mobile-menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: grid; gap: 0;
    max-height: 0; overflow: hidden;
    background: var(--bg);
    border-bottom: 1px solid transparent;
    opacity: 0; visibility: hidden;
    transition: max-height 220ms ease, opacity 160ms ease;
  }
  .primary-nav.open {
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    border-color: var(--line);
    opacity: 1; visibility: visible;
  }
  .primary-nav a {
    width: var(--shell); margin: 0 auto; padding: 16px 0;
    border-top: 1px solid var(--line);
    font-family: var(--serif); font-size: 1.375rem; color: var(--ink);
  }
  .primary-nav a::after { display: none; }

  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .section-intro { margin-left: 0; }

  .factory-intro, .film-inner, .products-layout, .about-layout, .contact-panel { grid-template-columns: 1fr; }
  .factory-aerial { order: -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products-pack { position: static; }
  .products-pack img { aspect-ratio: 16 / 10; }

  .recipe-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recipe-item:first-child { grid-column: 1 / -1; }
  .recipe-item:first-child .recipe-image img { aspect-ratio: 16 / 9; }

  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .gallery-item, .gallery-item:nth-child(n) { grid-column: span 1; }
  .gallery-item:nth-child(5n + 1) { grid-column: 1 / -1; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > p:not(.footer-legal) { display: none; }

  .detail-hero { grid-template-columns: 1fr; min-height: 0; }
  .detail-hero-media { grid-row: 1; min-height: 0; aspect-ratio: 4 / 3; }
  .detail-hero-copy { padding: 36px 0 44px; }
  .recipe-method, .about-process, .about-page-cta { grid-template-columns: 1fr; }
  .detail-related-card { grid-template-columns: 1fr; }
  .detail-related-card .card-image-wrap { aspect-ratio: 3 / 2; min-height: 0; }
  .about-values { grid-template-columns: 1fr; }
  .about-values article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 700px) {
  :root { --shell: calc(100% - 32px); }
  body { font-size: 1rem; }
  html { scroll-padding-top: 16px; }

  .site-header { position: relative; }
  .brand { width: 84px; }
  .header-tools { gap: 6px; }
  .language-switcher button { min-width: 36px; padding: 6px 4px; font-size: 0.75rem; }

  .hero { min-height: calc(100svh - var(--header-h) - 40px); max-height: 720px; }
  .hero-content { padding-block: 96px 40px; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.25rem); line-height: 1.05; }
  .hero-actions .button { flex: 1 1 auto; }

  .facts-row { grid-template-columns: 1fr; }
  .fact { padding: 18px 0; }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }

  .section-heading h2, .about-content h2, .contact-copy h2, .factory-copy h2, .film-copy h2 { font-size: clamp(1.875rem, 8.5vw, 2.375rem); line-height: 1.12; }

  .steps {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    gap: 16px;
    margin-inline: -16px; padding: 0 16px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .step { scroll-snap-align: start; }

  .film-play-icon { width: 52px; height: 52px; }
  .film-play-time { display: none; }

  .product-row {
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas: "thumb size" "thumb text" "thumb note";
    column-gap: 16px; row-gap: 2px;
    padding: 16px 0;
  }
  .product-index, .product-arrow { display: none; }
  .product-size strong { font-size: 1.75rem; }
  .product-note { margin-top: 6px; }

  .recipe-row { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(n) { grid-column: auto; }
  .gallery-item img { height: auto; aspect-ratio: 4 / 3; }

  .contact-panel { padding: 36px 22px; }

  .footer-inner { grid-template-columns: 1fr; }

  .detail-info-grid, .detail-related-grid { grid-template-columns: 1fr; }
  .detail-info-grid article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .about-page-hero { min-height: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
