/* Judah's Potatoes (Essential)
   Natural Regional profile, pushed toward the client's Modern / Earthy / Vibrant:
   evergreen ink on warm field, leaf green and potato gold as the bright pair.
   Motif: three parallel field rows. */

/* ---------------------------------------------------------------- Tokens */
:root {
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-text: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1200px;
  --gutter: clamp(20px, 4.5vw, 44px);
  --sec: clamp(56px, 8vw, 100px);
  --r: 6px;
  --r-sm: 4px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* light theme */
  --bg: #F2EBDD;
  --surface: #FBF8F1;
  --surface-2: #E9E0CC;
  --ink: #2A382D;
  --ink-soft: #565244;
  --line: #D3C8B1;
  --line-strong: #8C8470;
  --leaf: #3E7B22;
  --leaf-hover: #2F6418;
  --on-leaf: #FFFFFF;
  --tuber: #E2A53A;
  --on-tuber: #2A382D;
  --clay: #A9613D;
  --focus: #A9613D;
  --ph-bg: #D9CDB2;

  --dark-bg: #2A382D;
  --dark-ink: #F2EBDD;
  --dark-soft: #D2CBB8;
  --dark-line: #4A5A4C;
  --dark-link: #F2C46A;

  --leafband-bg: #3E7B22;
  --leafband-ink: #FFFFFF;

  --ok-bg: #E3EFD6;
  --ok-line: #3E7B22;
  --err-bg: #F6E0D6;
  --err-line: #9A3D1C;
  --err-ink: #8A3518;

  --sb-track: #E4DAC4;
  --sb-track-line: rgba(42, 56, 45, .10);
  --sb-edge: #CFC4AE;
  --sb-thumb: #3E7B22;
  --sb-thumb-hover: #2F6418;
  --sb-thumb-active: #A9613D;

  /* Chatbot Studio theming */
  --chatbot-color: #3E7B22;
  --chatbot-on-color: #FFFFFF;
  --chatbot-background: #F2EBDD;
  --chatbot-surface: #FBF8F1;
  --chatbot-text: #2A382D;
  --chatbot-font: "Work Sans", system-ui, sans-serif;
  --chatbot-radius: 6px;

  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #131913;
  --surface: #1B231C;
  --surface-2: #202A21;
  --ink: #F0E9DA;
  --ink-soft: #CBC3AF;
  --line: #334033;
  --line-strong: #7B8676;
  --leaf: #8CC65E;
  --leaf-hover: #A6D97E;
  --on-leaf: #132013;
  --tuber: #E9B24B;
  --on-tuber: #1A1F14;
  --clay: #E08B5F;
  --focus: #E9B24B;
  --ph-bg: #2A3428;

  --dark-bg: #222D22;
  --dark-ink: #F0E9DA;
  --dark-soft: #CFC8B4;
  --dark-line: #3E4C3E;
  --dark-link: #F2C46A;

  --leafband-bg: #2F5E1A;
  --leafband-ink: #F4F1E6;

  --ok-bg: #1F3319;
  --ok-line: #8CC65E;
  --err-bg: #3A2118;
  --err-line: #E08B5F;
  --err-ink: #F2B79C;

  --sb-track: #1B231C;
  --sb-track-line: rgba(240, 233, 218, .06);
  --sb-edge: #2E3A2E;
  --sb-thumb: #8CC65E;
  --sb-thumb-hover: #A9DA80;
  --sb-thumb-active: #E9B24B;

  --chatbot-color: #8CC65E;
  --chatbot-on-color: #132013;
  --chatbot-background: #131913;
  --chatbot-surface: #1B231C;
  --chatbot-text: #F0E9DA;

  color-scheme: dark;
}

/* ------------------------------------------------------------- Scrollbar */
/* Chromium / WebKit: designed track and thumb. Kept separate from the standard
   properties, because scrollbar-color would switch Chromium off this styling. */
@supports selector(::-webkit-scrollbar) {
  html::-webkit-scrollbar { width: 16px; height: 16px; }
  html::-webkit-scrollbar-track {
    background-color: var(--sb-track);
    background-image: repeating-linear-gradient(0deg, transparent 0 11px, var(--sb-track-line) 11px 12px);
    border-left: 1px solid var(--sb-edge);
    box-shadow: inset 2px 0 0 rgba(0, 0, 0, .04);
  }
  html::-webkit-scrollbar-thumb {
    background-color: var(--sb-thumb);
    border: 4px solid transparent;
    border-radius: 8px;
    background-clip: padding-box;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
    min-height: 48px;
  }
  html::-webkit-scrollbar-thumb:hover { background-color: var(--sb-thumb-hover); border-width: 3px; }
  html::-webkit-scrollbar-thumb:active { background-color: var(--sb-thumb-active); border-width: 3px; }
  html::-webkit-scrollbar-corner { background: var(--sb-track); }
}
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-color: var(--sb-thumb) var(--sb-track); scrollbar-width: auto; }
}

/* ------------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-x: clip;
  transition: background-color .3s ease, color .3s ease;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; max-width: 66ch; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; color: inherit; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--bg); border-radius: var(--r-sm); }
.skip:focus { top: 12px; }

/* Type scale */
.display {
  font-size: clamp(3.4rem, 8.4vw, 7.5rem);
  line-height: .9;
  letter-spacing: -.035em;
  font-weight: 600;
  font-variation-settings: "opsz" 60;
}
.display-2 {
  font-size: clamp(2.6rem, 6.4vw, 5.25rem);
  line-height: .98;
  letter-spacing: -.03em;
  font-variation-settings: "opsz" 60;
}
.h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); line-height: 1.04; letter-spacing: -.02em; margin-bottom: .5em; max-width: 18ch; }
.h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.12; letter-spacing: -.01em; margin-bottom: .45em; }
.h4 { font-family: var(--font-text); font-size: 1.125rem; font-weight: 600; line-height: 1.35; margin-bottom: .35em; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--ink); max-width: 40ch; }

/* Field-row motif */
.rows { display: grid; gap: 5px; width: 64px; margin-bottom: 22px; }
.rows i { display: block; height: 3px; border-radius: 2px; background: var(--leaf); }
.rows i:nth-child(2) { width: 80%; background: var(--tuber); }
.rows i:nth-child(3) { width: 56%; background: var(--clay); }

/* --------------------------------------------------------------- Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px;
  border: 2px solid transparent; border-radius: var(--r-sm);
  font: 600 1rem/1.2 var(--font-text); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--leaf); color: var(--on-leaf); border-color: var(--leaf); }
.btn-primary:hover { background: var(--leaf-hover); border-color: var(--leaf-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--surface); }
.btn-on-dark { background: var(--tuber); color: var(--on-tuber); border-color: var(--tuber); }
.btn-on-leaf { background: #FFFFFF; color: #23461A; border-color: #FFFFFF; }
.btn-ghost-on-leaf { background: transparent; color: var(--leafband-ink); border-color: var(--leafband-ink); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }
.link-strong { font-weight: 600; text-decoration-thickness: 2px; }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: background-color .3s ease;
}
.hdr { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand {
  font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: -.02em;
  text-decoration: none; white-space: nowrap; margin-right: auto;
  min-height: 44px; display: inline-flex; align-items: center;
}
.nav { display: flex; align-items: center; gap: 20px; }
.nav-list { list-style: none; display: flex; gap: 4px; }
.nav-list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  font-size: 1rem; font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent;
}
.nav-list a:hover { border-bottom-color: var(--line-strong); }
.nav-list a[aria-current="page"] { border-bottom-color: var(--leaf); font-weight: 600; }
.nav-cta { min-height: 44px; padding: 10px 16px; font-size: .95rem; }
.hdr-tools { display: flex; align-items: center; gap: 8px; }
.theme-toggle, .menu-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; min-width: 44px; padding: 0 12px;
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
  font: 500 .95rem/1 var(--font-text); cursor: pointer;
}
.theme-toggle:hover, .menu-toggle:hover { border-color: var(--ink); background: var(--surface); }
.tt-icon {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--ink);
  box-shadow: inset -5px -3px 0 0 var(--bg);
}
[data-theme="dark"] .tt-icon { background: var(--tuber); box-shadow: none; }
.menu-toggle { display: none; justify-content: center; padding: 0; }
.mt-bars, .mt-bars::before, .mt-bars::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 1px; position: relative;
  transition: transform .2s ease, background-color .2s ease;
}
.mt-bars::before, .mt-bars::after { content: ""; position: absolute; left: 0; }
.mt-bars::before { top: -6px; }
.mt-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .mt-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .mt-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .mt-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1240px) {
  .nav-cta { display: none; }
}
@media (max-width: 1040px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: inline-flex; }
  .tt-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .theme-toggle { padding: 0; justify-content: center; }
  .hdr { gap: 12px; }
  .brand { font-size: 1.25rem; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { width: 100%; min-height: 52px; padding: 0 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav-list a[aria-current="page"] { border-bottom: 1px solid var(--line); box-shadow: inset 4px 0 0 var(--leaf); padding-left: 14px; }
  .nav-cta { display: inline-flex; margin-top: 16px; min-height: 48px; }
}

/* ---------------------------------------------------------------- Images */
.ph {
  position: relative; overflow: hidden;
  background-color: var(--ph-bg);
  background-image: repeating-linear-gradient(0deg, transparent 0 22px, rgba(42, 56, 45, .08) 22px 24px);
  border-radius: var(--r);
}
.ph img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.ph.is-failed img { visibility: hidden; }

/* ------------------------------------------------------------ Home hero */
.hero-home { padding-top: clamp(28px, 5vw, 64px); }
.hero-home__top {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px); align-items: end;
  padding-bottom: clamp(28px, 4vw, 48px);
}
.hero-home__title .ln { display: block; }
.hero-home__title .ln:last-child { padding-left: .55em; }
.hero-home__aside { padding-bottom: .6em; }
.hero-home__band {
  position: relative; overflow: hidden;
  height: clamp(300px, 40vw, 560px);
  margin-inline: auto; max-width: 1600px;
}
.hero-home__img { position: absolute; inset: 0; border-radius: 0; }
.hero-home__img img { transform: translate3d(0, var(--drift, 0px), 0) scale(1.12); will-change: transform; }

/* ------------------------------------------------------------ Fact strip */
.facts { background: var(--dark-bg); color: var(--dark-ink); }
.facts__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-block: clamp(28px, 4vw, 44px);
}
.fact { padding: 6px clamp(14px, 2vw, 28px); border-left: 1px solid var(--dark-line); }
.fact:first-child { padding-left: 0; border-left: 0; }
.fact__k { margin: 0 0 6px; font-size: .95rem; color: var(--dark-soft); }
.fact__v { margin: 0; font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.2; font-weight: 600; overflow-wrap: anywhere; }
.fact__v--sm { font-family: var(--font-text); font-size: 1.05rem; font-weight: 500; }
.facts a { color: var(--dark-link); }

/* ------------------------------------------------- Capture zone (home) */
.cz { padding-block: var(--sec); }
.cz__head {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 48px; align-items: end; margin-bottom: clamp(28px, 4vw, 44px);
}
.cz__head .h2 { margin-bottom: 0; }
.cz__intro { color: var(--ink-soft); margin: 0; }

/* Static flow: default, reduced motion and any JS failure. */
.cz__stage { display: grid; gap: clamp(36px, 5vw, 64px); }
.cz__step {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px); align-items: center;
}
.cz__fig { aspect-ratio: 3 / 2; }
.cz__num { font-size: .95rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 10px; }
.cz__text p { max-width: 42ch; }
.cz__text .btn { margin-top: 6px; }
.cz__meter { display: none; }

/* Live: compact sticky stage advanced by native document scroll. */
.cz.is-live {
  --cz-stage-h: min(calc(100vh - var(--header-h) - 40px), 700px);
  --cz-run: min(120vh, 1080px);
}
.cz.is-live .cz__track { height: calc(var(--cz-stage-h) + var(--cz-run)); }
.cz.is-live .cz__stage {
  position: sticky; top: calc(var(--header-h) + 20px);
  height: var(--cz-stage-h);
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  column-gap: clamp(28px, 4vw, 56px); row-gap: 20px;
  isolation: isolate;
}
.cz.is-live .cz__step { display: contents; }
.cz.is-live .cz__fig {
  grid-column: 1; grid-row: 1 / span 2;
  aspect-ratio: auto; height: 100%; min-height: 0;
  transition: clip-path 1s var(--ease);
}
.cz.is-live .cz__fig img { transform: scale(1.1); transition: transform 1.6s var(--ease); }
.cz.is-live .cz__fig--0 { z-index: 1; }
.cz.is-live .cz__fig--1 { z-index: 2; clip-path: inset(100% 0 0 0); }
.cz.is-live .cz__fig--2 { z-index: 3; clip-path: inset(100% 0 0 0); }
.cz.is-live .cz__fig.is-shown { clip-path: inset(0 0 0 0); }
.cz.is-live .cz__fig.is-current img { transform: scale(1); }
.cz.is-live .cz__text {
  grid-column: 2; grid-row: 1; align-self: center;
  opacity: 0; visibility: hidden; transform: translateY(18px);
  transition: opacity .45s ease, transform .55s var(--ease), visibility 0s linear .45s;
}
.cz.is-live .cz__text.is-current {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .55s ease .12s, transform .6s var(--ease) .12s, visibility 0s;
}
.cz.is-live .cz__meter {
  display: grid; grid-column: 2; grid-row: 2; gap: 6px; list-style: none; width: 100%; max-width: 240px;
}
.cz__meter li { height: 4px; border-radius: 2px; background: var(--line); transition: background-color .4s ease, transform .4s var(--ease); transform-origin: left; }
.cz__meter li:nth-child(2) { width: 82%; }
.cz__meter li:nth-child(3) { width: 64%; }
.cz__meter li.is-on { background: var(--leaf); }
.cz__meter li.is-on:nth-child(2) { background: var(--tuber); }
.cz__meter li.is-on:nth-child(3) { background: var(--clay); }

/* ------------------------------------------------------- Ask (home) */
.ask { padding-block: var(--sec); background: var(--surface); }
.ask__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ask__img { aspect-ratio: 4 / 5; }
.ticks { list-style: none; display: grid; gap: 10px; margin-top: 8px; }
.ticks li { position: relative; padding-left: 30px; max-width: 52ch; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 18px; height: 3px; border-radius: 2px; background: var(--leaf);
  box-shadow: 0 6px 0 var(--tuber);
}

/* -------------------------------------------------- Steps (home, dark) */
.band-dark { background: var(--dark-bg); color: var(--dark-ink); }
.band-dark a { color: var(--dark-link); }
.band-dark p { color: var(--dark-ink); }
.steps { padding-block: var(--sec); }
.steps__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); }
.steps__list { list-style: none; display: grid; }
.steps__list li, .visit__steps li {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px;
  padding-block: 22px; border-top: 1px solid var(--dark-line);
}
.steps__list li:last-child { border-bottom: 1px solid var(--dark-line); }
.steps__n {
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1; font-weight: 600; color: var(--tuber);
}
.steps__list p { overflow-wrap: anywhere; }

/* ------------------------------------------------------ Paths (home) */
.paths { padding-block: var(--sec); }
.paths__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.paths__media { position: sticky; top: calc(var(--header-h) + 24px); }
.paths__img { aspect-ratio: 1 / 1; }
.path {
  display: grid; gap: 4px; padding: 22px 0; text-decoration: none;
  border-top: 1px solid var(--line-strong);
}
.path:last-child { border-bottom: 1px solid var(--line-strong); }
.path__t { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; line-height: 1.1; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--line-strong); }
.path__d { color: var(--ink-soft); }
.path:hover .path__t { text-decoration-color: var(--leaf); text-decoration-thickness: 3px; }

/* ----------------------------------------------------- Closer (leaf) */
.band-leaf { background: var(--leafband-bg); color: var(--leafband-ink); }
.closer { padding-block: clamp(48px, 7vw, 88px); }
.closer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: end; }
.closer .h2 { margin-bottom: 0; font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.closer p { color: var(--leafband-ink); font-size: 1.15rem; }

/* -------------------------------------------- Offerings: ledger opening */
.open-ledger { padding-block: clamp(36px, 6vw, 80px) var(--sec); border-bottom: 1px solid var(--line); }
.open-ledger__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.open-ledger .lede { margin-top: 20px; }
.ledger {
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: 6px 6px 0 var(--tuber);
}
.ledger__h { font-size: 1.5rem; margin-bottom: 12px; }
.ledger__dl { margin: 0 0 20px; }
.ledger__dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ledger__dl dt { font-weight: 600; }
.ledger__dl dd { margin: 0; color: var(--ink-soft); text-align: right; }

.who { padding-block: var(--sec); }
.who__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.who__img { aspect-ratio: 5 / 6; }
.who__row { padding: 18px 0 18px 20px; border-left: 3px solid var(--leaf); margin-bottom: 14px; }
.who__row:nth-of-type(2) { border-left-color: var(--tuber); }
.who__row:nth-of-type(3) { border-left-color: var(--clay); }

.rfq { padding-block: var(--sec); }
.rfq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px) clamp(28px, 5vw, 72px); }
.rfq__list { list-style: none; display: grid; gap: 0; align-self: center; }
.rfq__list li { padding: 16px 0; border-top: 1px solid var(--dark-line); }
.rfq__list li:last-child { border-bottom: 1px solid var(--dark-line); }
.rfq__list strong { color: var(--tuber); font-weight: 600; }
.rfq__note { grid-column: 1 / -1; padding: 16px 20px; border: 1.5px solid var(--dark-line); border-radius: var(--r-sm); max-width: none; }

.keep { padding-block: var(--sec); }
.keep__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.keep__tag { font-size: 1rem; color: var(--ink-soft); font-style: italic; }
.keep__img { aspect-ratio: 4 / 3; }

.mini-cta { padding-block: clamp(40px, 5vw, 64px); background: var(--surface-2); }
.mini-cta__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.mini-cta .h3 { margin: 0; }
.mini-cta .actions { margin: 0; }

/* -------------------------------------------------- About: place opening */
.open-place { position: relative; min-height: clamp(440px, 56vw, 640px); display: flex; align-items: flex-end; overflow: hidden; }
.open-place__media { position: absolute; inset: 0; }
.open-place__img { position: absolute; inset: 0; border-radius: 0; }
.open-place__wrap { position: relative; z-index: 1; padding-bottom: clamp(24px, 4vw, 48px); }
.open-place__panel {
  background: var(--bg); padding: clamp(22px, 3.4vw, 40px); max-width: 560px; border-radius: var(--r);
  border-top: 4px solid var(--leaf);
}
.open-place__panel .lede { margin-top: 14px; }

.known { padding-block: var(--sec); }
.known__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); }
.known__dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.known__dl div { padding: 16px 0; border-top: 1px solid var(--line-strong); }
.known__dl dt { font-size: .95rem; color: var(--ink-soft); margin-bottom: 4px; }
.known__dl dd { margin: 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }

.grow { padding-block: var(--sec); background: var(--surface); }
.grow__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.grow__img { aspect-ratio: 3 / 2; }

.methods { padding-block: var(--sec); }
.methods__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }

.see { padding-block: var(--sec); }
.see__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.see__img { aspect-ratio: 16 / 10; }

/* ----------------------------------------- Potato season: board opening */
.open-board { padding-block: clamp(36px, 6vw, 80px) var(--sec); background: var(--surface-2); }
.open-board__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.open-board .lede { margin-top: 20px; }
.board { background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r); }
.board__row {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; align-items: center;
  padding: 18px clamp(16px, 2.4vw, 26px); border-top: 1px solid var(--line);
}
.board__row:first-child { border-top: 0; }
.board__k { font-weight: 600; }
.board__v { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: var(--ink); }
.pill { display: inline-block; padding: 4px 10px; border-radius: var(--r-sm); font-size: .9rem; font-weight: 600; line-height: 1.3; }
.pill--yes { background: var(--leaf); color: var(--on-leaf); }
.pill--ask { background: var(--tuber); color: var(--on-tuber); }

.visit { padding-block: var(--sec); }
.visit__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.visit__steps { list-style: none; }
.visit__steps li { border-top-color: var(--line-strong); }
.visit__steps li:last-child { border-bottom: 1px solid var(--line-strong); }
.visit__steps .steps__n { color: var(--leaf); }
.visit__steps p { overflow-wrap: anywhere; }
.visit__img { aspect-ratio: 3 / 4; }
.visit__note { margin-top: 18px; font-size: 1rem; font-style: italic; color: var(--ink-soft); }

.season { padding-block: var(--sec); }
.season__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); }

.pickup { padding-block: var(--sec); }
.pickup__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.pickup__img { aspect-ratio: 4 / 3; }

/* -------------------------------------------------- Contact: direct lines */
.open-contact { padding-top: clamp(36px, 6vw, 80px); }
.open-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: end; padding-bottom: clamp(32px, 4vw, 56px); }
.open-contact .lede { margin-top: 18px; }
.direct { display: grid; }
.direct__line {
  display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: baseline; gap: 12px;
  padding: 16px 0; border-top: 1.5px solid var(--line-strong); text-decoration: none;
}
.direct__line:last-child { border-bottom: 1.5px solid var(--line-strong); }
.direct__k { font-weight: 600; color: var(--ink-soft); }
.direct__v { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.1; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--leaf); }
.direct__v--sm { font-size: clamp(1.15rem, 2.2vw, 1.7rem); overflow-wrap: anywhere; }
.direct__line:hover .direct__v { text-decoration-thickness: 4px; }
.open-contact__strip { height: clamp(140px, 16vw, 220px); max-width: 1600px; margin-inline: auto; }
.open-contact__img { height: 100%; border-radius: 0; }

.inquiry { padding-block: var(--sec); }
.inquiry__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.inquiry__aside { padding: clamp(20px, 3vw, 32px); background: var(--surface-2); border-radius: var(--r); position: sticky; top: calc(var(--header-h) + 24px); }
.inquiry__aside .h4 { margin-top: 20px; }

/* ------------------------------------------------------------------ Form */
.form { display: grid; gap: 20px; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r); padding: clamp(20px, 3vw, 36px); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.req, .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 400 1.05rem/1.4 var(--font-text); color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--err-line); border-width: 2px; }
.field__hint { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.field__err { margin: 0; font-size: .95rem; font-weight: 600; color: var(--err-ink); }
.field__err::before { content: "! "; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { justify-self: start; min-width: 200px; }
.form__fine { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.form__live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-status, .form-unavailable { padding: 18px 20px; border-radius: var(--r-sm); border-left: 5px solid; margin-bottom: 20px; }
.form-status--ok { background: var(--ok-bg); border-color: var(--ok-line); }
.form-status--err { background: var(--err-bg); border-color: var(--err-line); }
.form-unavailable { background: var(--surface-2); border-color: var(--tuber); }
.form-status:focus { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ------------------------------------------------------------------ 404 */
.nf { padding-block: clamp(64px, 10vw, 140px); }
.nf .lede { margin-top: 18px; }

/* ---------------------------------------------------------------- Footer */
.site-footer { background: var(--dark-bg); color: var(--dark-ink); padding-top: clamp(44px, 6vw, 72px); }
.site-footer a { color: var(--dark-ink); }
.ftr { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .8fr); gap: 32px; padding-bottom: 36px; }
.ftr-name { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; margin-bottom: 8px; }
.ftr-id p:not(.ftr-name) { color: var(--dark-soft); max-width: 36ch; }
.ftr-contact p { margin-bottom: 6px; overflow-wrap: anywhere; }
.ftr-contact a, .ftr-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.ftr-nav { list-style: none; display: grid; }
.ftr-base { border-top: 1px solid var(--dark-line); padding-block: 18px; font-size: .95rem; color: var(--dark-soft); }
.ftr-base p { margin: 0; }

/* ------------------------------------------------------------ Responsive */
@media (max-width: 920px) {
  .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .ftr { grid-template-columns: 1fr 1fr; }
  .ftr-id { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  body { font-size: 1.0625rem; }
  .hero-home__top,
  .cz__head, .cz__step,
  .ask__grid, .steps__grid, .paths__grid, .closer__grid,
  .open-ledger__grid, .who__grid, .rfq__grid, .keep__grid,
  .known__grid, .grow__grid, .methods__grid, .see__grid,
  .open-board__grid, .visit__grid, .season__grid, .pickup__grid,
  .open-contact__grid, .inquiry__grid { grid-template-columns: minmax(0, 1fr); }
  .cz__head { gap: 12px; }
  .hero-home__title .ln:last-child { padding-left: 0; }
  .hero-home__aside { padding-bottom: 0; }
  .hero-home__band { height: clamp(240px, 70vw, 380px); }
  .ask__media, .grow__media, .pickup__media { order: 2; }
  .ask__img { aspect-ratio: 4 / 3; }
  .paths__media { position: static; }
  .paths__img { aspect-ratio: 16 / 10; }
  .who__img, .visit__img { aspect-ratio: 4 / 3; }
  .known__dl { grid-template-columns: minmax(0, 1fr); }
  .board__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .inquiry__aside { position: static; }
  .btn-submit { width: 100%; }
  .h2 { max-width: none; }
  .direct__line { grid-template-columns: 60px minmax(0, 1fr); }
  .ledger { box-shadow: 4px 4px 0 var(--tuber); }
  .open-place { min-height: 0; display: block; }
  .open-place__media { position: relative; height: clamp(220px, 62vw, 340px); }
  .open-place__wrap { padding-bottom: 0; margin-top: -48px; }
  .open-place__panel { max-width: none; }

  /* Mobile capture stage: same story, shorter stage, caption under the photo. */
  .cz.is-live {
    --cz-stage-h: min(calc(100vh - var(--header-h) - 20px), 720px);
    --cz-run: 96vh;
  }
  @supports (height: 100svh) {
    .cz.is-live { --cz-stage-h: min(calc(100svh - var(--header-h) - 20px), 720px); --cz-run: 96svh; }
  }
  .cz.is-live .cz__stage {
    top: calc(var(--header-h) + 10px);
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto auto;
    row-gap: 12px;
  }
  .cz.is-live .cz__fig { grid-column: 1; grid-row: 1; }
  .cz.is-live .cz__text { grid-column: 1; grid-row: 2; align-self: start; transform: translateY(12px); }
  .cz.is-live .cz__text .h3 { font-size: 1.4rem; margin-bottom: .3em; }
  .cz.is-live .cz__text p { font-size: 1rem; line-height: 1.5; margin-bottom: .6em; }
  .cz.is-live .cz__num { margin-bottom: 4px; font-size: .9rem; }
  .cz.is-live .cz__meter { grid-column: 1; grid-row: 3; max-width: 160px; }
  .cz.is-live .cz__text .btn { min-height: 44px; padding: 10px 18px; }
}

@media (max-width: 520px) {
  .facts__grid { grid-template-columns: minmax(0, 1fr); }
  .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--dark-line); padding-top: 14px; }
  .fact:first-child { border-top: 0; padding-top: 0; }
  .ftr { grid-template-columns: minmax(0, 1fr); }
  .actions .btn { flex: 1 1 100%; }
}

/* ---------------------------------------------------------------- Motion */
/* Hidden starting states apply only under html.motion, which the head script
   sets when reduced motion is off and removes if site.js never reports ready. */
@keyframes jp-rise { from { opacity: 0; transform: translateY(.35em); } to { opacity: 1; transform: none; } }
@keyframes jp-grow { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes jp-fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.motion .hero-home__title .ln { animation: jp-rise .9s var(--ease) both; }
.motion .hero-home__title .ln:last-child { animation-delay: .12s; }
.motion .hero-home__aside { animation: jp-fade .8s var(--ease) .3s both; }
.motion .hero-home__band { animation: jp-grow 1.15s var(--ease) .2s both; }

.motion [data-reveal] { transition: opacity .7s ease, transform .75s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.motion [data-reveal="rise"]:not(.is-in) { opacity: 0; transform: translateY(28px); }
.motion [data-reveal="slide"]:not(.is-in) { opacity: 0; transform: translateX(-32px); }
.motion [data-reveal="wipe"] .ph { transition: clip-path 1.05s var(--ease); clip-path: inset(0 0 0 0); }
.motion [data-reveal="wipe"] .ph img { transition: transform 1.5s var(--ease); }
.motion [data-reveal="wipe"]:not(.is-in) .ph { clip-path: inset(0 100% 0 0); }
.motion [data-reveal="wipe"]:not(.is-in) .ph img { transform: scale(1.12); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-home__img img { transform: none; }
}
