/* Judah's Potatoes. Shared styles for the standard and epic variants.
   Content is visible by default; motion hiding only applies under
   html.motion-ready, which site.js adds after it initializes. */

/* ------------------------------------------------------------ tokens */
:root {
  --canvas: #EEF1E2;
  --surface: #F9FAF3;
  --surface-2: #E1E7CF;
  --ink: #1D1A13;
  --ink-soft: #4A4636;
  --soil: #2E2117;
  --soil-2: #3F2E20;
  --on-soil: #F4EEDC;
  --on-soil-soft: #D6CBB0;
  --leaf: #1F6B43;
  --leaf-bright: #2F8F58;
  --gold: #F2B33D;
  --gold-deep: #C98A12;
  --on-gold: #1D1A13;
  --line: rgba(29, 26, 19, .16);
  --line-strong: rgba(29, 26, 19, .5);
  --pattern-ink: rgba(31, 107, 67, .26);
  --focus: #1F6B43;
  --btn-edge: #1D1A13;
  --shadow-soft: 0 18px 40px -24px rgba(46, 33, 23, .55);

  --sb-track: #DCE3C6;
  --sb-stripe: rgba(46, 33, 23, .10);
  --sb-thumb-a: #F5C35A;
  --sb-thumb-b: #D99A1C;
  --sb-edge: #2E2117;

  --hdr-x: 84px;
  --hdr-c: 60px;
  --gutter: clamp(18px, 4vw, 48px);
  --maxw: 1280px;
  --radius: 20px;
  --tuber: 46% 54% 42% 58% / 56% 44% 56% 44%;
  --ease: cubic-bezier(.2, .7, .1, 1);

  --f-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --f-text: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --rows-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='28'%3E%3Cpath d='M0 14 C16 4 32 4 48 14 S80 24 96 14' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E");

  /* Shared Chatbot Studio theming */
  --chatbot-color: #F2B33D;
  --chatbot-on-color: #1D1A13;
  --chatbot-background: #F9FAF3;
  --chatbot-surface: #E1E7CF;
  --chatbot-text: #1D1A13;
  --chatbot-font: "Figtree", system-ui, sans-serif;
  --chatbot-radius: 18px;

  color-scheme: light;
}

[data-theme="dark"] {
  --canvas: #14100B;
  --surface: #1F1811;
  --surface-2: #2A2017;
  --ink: #F2ECDB;
  --ink-soft: #CDC4AB;
  --soil: #2A1E14;
  --soil-2: #3A2A1C;
  --on-soil: #F4EEDC;
  --on-soil-soft: #D6CBB0;
  --leaf: #8ED9A6;
  --leaf-bright: #B1E8C2;
  --gold: #F5BE4F;
  --gold-deep: #D99A1C;
  --line: rgba(242, 236, 219, .16);
  --line-strong: rgba(242, 236, 219, .5);
  --pattern-ink: rgba(245, 190, 79, .2);
  --focus: #F5BE4F;
  --btn-edge: #0A0704;
  --shadow-soft: 0 18px 40px -20px rgba(0, 0, 0, .8);

  --sb-track: #1E160F;
  --sb-stripe: rgba(245, 190, 79, .07);
  --sb-thumb-a: #F5C35A;
  --sb-thumb-b: #C98A12;
  --sb-edge: #0A0704;

  --chatbot-background: #1F1811;
  --chatbot-surface: #2A2017;
  --chatbot-text: #F2ECDB;

  color-scheme: dark;
}

@media (max-width: 767px) {
  :root { --hdr-x: 68px; --hdr-c: 56px; }
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--hdr-c) + 16px);
  background: var(--canvas);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-x: clip;
  transition: background-color .3s, color .3s;
}
@media (max-width: 767px) { body { font-size: 1.0625rem; } }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
p { margin: 0 0 1em; max-width: 64ch; }
p:last-child { margin-bottom: 0; }
a { color: var(--leaf); text-underline-offset: .18em; text-decoration-thickness: 2px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--on-gold); padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none; border: 2px solid var(--btn-edge);
}
.skip-link:focus { top: 12px; }
.lede { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.5; color: var(--ink-soft); max-width: 46ch; }

.pattern-rows {
  background-color: var(--pattern-ink);
  -webkit-mask: var(--rows-mask) repeat;
  mask: var(--rows-mask) repeat;
  -webkit-mask-size: var(--ps, 96px 28px);
  mask-size: var(--ps, 96px 28px);
}

/* ------------------------------------------------------------ scrollbar
   Designed native scrollbar (replaces any traveling side ornament).
   Rich pseudo-elements for Chromium/WebKit; scrollbar-color only where those
   are unsupported, so it never suppresses the richer styling. */
::-webkit-scrollbar { width: 16px; height: 16px; }
::-webkit-scrollbar-track {
  background-color: var(--sb-track);
  background-image: repeating-linear-gradient(180deg, transparent 0 9px, var(--sb-stripe) 9px 11px);
  border-left: 1px solid var(--line);
  box-shadow: inset 2px 0 4px -2px rgba(0, 0, 0, .25);
}
::-webkit-scrollbar-thumb {
  min-height: 56px;
  border: 3px solid transparent;
  background-clip: padding-box;
  background-color: var(--sb-thumb-b);
  background-image: linear-gradient(90deg, var(--sb-thumb-a), var(--sb-thumb-b));
  border-radius: 9px 9px 9px 9px / 14px 14px 14px 14px;
  box-shadow: inset 0 0 0 1.5px var(--sb-edge), inset 2px 2px 0 1.5px rgba(255, 255, 255, .35);
}
::-webkit-scrollbar-thumb:hover {
  background-image: linear-gradient(90deg, #3DA466, #1F6B43);
  background-color: #1F6B43;
}
::-webkit-scrollbar-thumb:active {
  background-image: linear-gradient(90deg, #4A3726, #2E2117);
  background-color: #2E2117;
  box-shadow: inset 0 0 0 1.5px #F2B33D;
}
::-webkit-scrollbar-corner { background: var(--sb-track); }
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-color: var(--sb-thumb-b) var(--sb-track); scrollbar-width: auto; }
}
/* Standard: calmer finish, same draggable width. */
[data-variant="standard"] ::-webkit-scrollbar-track { background-image: none; box-shadow: none; }
[data-variant="standard"] ::-webkit-scrollbar-thumb {
  background-image: none; background-color: var(--leaf-bright);
  box-shadow: inset 0 0 0 1.5px var(--sb-edge);
  border-radius: 9px;
}
[data-variant="standard"] ::-webkit-scrollbar-thumb:hover { background-color: var(--leaf); }
[data-variant="standard"] ::-webkit-scrollbar-thumb:active { background-color: var(--soil); }

/* ------------------------------------------------------------ buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 10px 22px;
  font: 700 1rem/1.2 var(--f-text);
  border-radius: 999px;
  border: 2px solid var(--btn-edge);
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.btn-primary { background: var(--gold); color: var(--on-gold); box-shadow: 3px 3px 0 var(--btn-edge); }
.btn-primary:hover { color: var(--on-gold); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--btn-edge); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--btn-edge); }
[data-theme="dark"] .btn-primary { box-shadow: 3px 3px 0 var(--gold-deep); }
[data-theme="dark"] .btn-primary:hover { box-shadow: 5px 5px 0 var(--gold-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); background: var(--surface-2); }
.text-link { font-weight: 700; color: var(--leaf); }

/* ------------------------------------------------------------ header */
.hdr-slot { height: var(--hdr-x); }
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--hdr-x);
  background: color-mix(in srgb, var(--canvas) 92%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: height .28s var(--ease), background-color .28s, box-shadow .28s;
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 7px;
  background-color: var(--gold);
  -webkit-mask: var(--rows-mask) repeat-x; mask: var(--rows-mask) repeat-x;
  -webkit-mask-size: 48px 14px; mask-size: 48px 14px;
  opacity: 0; transform: scaleY(.4); transform-origin: top;
  transition: opacity .28s, transform .28s var(--ease);
  pointer-events: none;
}
.site-header.is-compact {
  height: var(--hdr-c);
  background: var(--surface);
  box-shadow: 0 1px 0 var(--line), 0 10px 24px -18px rgba(29, 26, 19, .6);
}
.site-header.is-compact::after { opacity: 1; transform: none; }
.hdr-inner {
  height: 100%;
  width: min(1400px, 100% - 2 * var(--gutter)); margin-inline: auto;
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px);
}
.wordmark {
  display: flex; align-items: baseline; gap: 12px; text-decoration: none; color: var(--ink);
  flex-shrink: 0; min-height: 44px; align-items: center;
}
.wordmark-name {
  font: 800 1.55rem/1 var(--f-display);
  font-variation-settings: "wdth" 88;
  letter-spacing: -.02em;
  transform-origin: left center;
  transition: transform .28s var(--ease);
  white-space: nowrap;
}
.is-compact .wordmark-name { transform: scale(.86); }
.wordmark-desc {
  font-size: .9rem; color: var(--ink-soft); padding-left: 12px; border-left: 2px solid var(--gold);
  white-space: nowrap;
}
.hdr-nav { margin-left: auto; }
.hdr-nav ul { display: flex; gap: clamp(4px, 1vw, 14px); list-style: none; margin: 0; padding: 0; }
.hdr-link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px;
  font-weight: 600; font-size: 1rem; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.hdr-link::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 6px; height: 4px; border-radius: 4px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.hdr-link:hover { color: var(--ink); }
.hdr-link:hover::after { transform: scaleX(.5); }
.hdr-link[aria-current="page"]::after { transform: scaleX(1); background: var(--leaf-bright); }
.hdr-actions { display: flex; align-items: center; gap: 10px; }
.hdr-cta { min-height: 44px; padding: 8px 18px; white-space: nowrap; }

.theme-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  min-width: 44px; min-height: 44px; padding: 0 10px; justify-content: center;
  background: transparent; color: var(--ink); border: 2px solid var(--line-strong); border-radius: 999px;
  font: 600 1rem var(--f-text); cursor: pointer;
}
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle-icon {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid currentColor;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}
.hdr-actions .theme-toggle-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.menu-btn {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  background: var(--soil); color: var(--on-soil); border: 0; border-radius: 999px;
  font: 700 1rem var(--f-text); cursor: pointer;
}
.menu-btn-bars { display: grid; gap: 5px; width: 18px; }
.menu-btn-bars span { height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
.menu-btn[aria-expanded="true"] .menu-btn-bars span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-bars span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100svh - var(--hdr-x)); overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface); border-top: 1px solid var(--line);
  padding: 20px var(--gutter) 32px;
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .5);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0 0 20px; padding: 0; }
.mm-link {
  display: flex; align-items: center; min-height: 52px;
  font: 750 1.7rem/1.1 var(--f-display); color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mm-link[aria-current="page"] { color: var(--leaf); }
.mm-cta { width: 100%; margin-bottom: 18px; }
.mm-contact { display: grid; gap: 6px; margin-bottom: 18px; }
.mm-contact a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; overflow-wrap: anywhere; }
.theme-toggle--menu { width: 100%; justify-content: flex-start; padding: 0 16px; }

/* Secondary text goes first, then the inline nav, then the bar CTA (which
   stays first-class inside the mobile menu). Text never shrinks to fit. */
@media (max-width: 1319px) { .wordmark-desc { display: none; } }
@media (max-width: 1179px) {
  .hdr-nav, .hdr-actions > .theme-toggle { display: none; }
  .hdr-actions { margin-left: auto; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 639px) { .hdr-cta { display: none; } }
@media (max-width: 459px) { .wordmark-name { font-size: 1.35rem; } }
html.nav-open { overflow: hidden; }

/* ------------------------------------------------------------ motion primitives */
.ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ln > span { display: inline-block; }
.motion-ready [data-reveal="lines"] .ln > span { transition: transform .9s var(--ease); }
.motion-ready [data-reveal="lines"] .ln:nth-child(2) > span { transition-delay: .11s; }
.motion-ready [data-reveal="lines"]:not(.is-in) .ln > span { transform: translateY(108%); }

.motion-ready [data-reveal="rise"] { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.motion-ready [data-reveal="rise"]:not(.is-in) { opacity: 0; transform: translateY(36px); }

.motion-ready [data-reveal="crop"] img { transition: clip-path .95s var(--ease), transform 1.2s var(--ease); }
.motion-ready [data-reveal="crop"]:not(.is-in) img { clip-path: inset(100% 0 0 0); transform: scale(1.12); }

.motion-ready [data-reveal="rows"] > * {
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: calc(var(--ri, 0) * 110ms);
}
.motion-ready [data-reveal="rows"]:not(.is-in) > * { opacity: 0; transform: translateX(-32px); }
.motion-ready [data-reveal="rows"] > *::before {
  transition: transform .8s var(--ease); transition-delay: calc(var(--ri, 0) * 110ms + 80ms);
}
.motion-ready [data-reveal="rows"]:not(.is-in) > *::before { transform: scaleX(0); }

[data-depth] { will-change: transform; }

/* Standard variant: calmer entrances, no depth. */
[data-variant="standard"].motion-ready [data-reveal="rise"]:not(.is-in) { transform: translateY(20px); }
[data-variant="standard"].motion-ready [data-reveal="rows"]:not(.is-in) > * { transform: translateY(18px); }
[data-variant="standard"].motion-ready [data-reveal="crop"]:not(.is-in) img { clip-path: none; transform: none; opacity: 0; }
[data-variant="standard"].motion-ready [data-reveal="crop"] img { transition: opacity .7s var(--ease); }
[data-variant="standard"] [data-depth] { transform: none !important; will-change: auto; }

/* ------------------------------------------------------------ home: hero */
.hero { position: relative; padding-top: clamp(20px, 3.5vw, 48px); }
.hero-title {
  font-size: clamp(3.6rem, 13.2vw, 11.75rem);
  font-weight: 800;
  font-variation-settings: "wdth" 84;
  line-height: .84;
  letter-spacing: -.035em;
  margin-bottom: clamp(18px, 2.6vw, 36px);
}
.hero-title .ln:nth-child(2) { padding-left: .85em; }
.hero-media {
  position: relative; isolation: isolate; overflow: hidden;
  height: clamp(320px, 60svh, 740px);
  margin-inline: var(--gutter);
  border-radius: 10px 10px clamp(28px, 6vw, 96px) clamp(28px, 6vw, 96px);
  background: var(--soil);
}
.hero-media-layer { position: absolute; inset: -10% 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transform: scale(1.04); }
.motion-ready .hero-img { animation: jp-push 1.8s var(--ease) both; }
@keyframes jp-push { from { transform: scale(1.13); } to { transform: scale(1.04); } }
.hero-furrows-layer { position: absolute; left: 0; right: 0; bottom: -8%; height: 62%; pointer-events: none; }
.hero-furrows { width: 100%; height: 100%; }
.hero-furrows line, .cz-rows line {
  stroke: var(--gold); stroke-width: 2.5; vector-effect: non-scaling-stroke; fill: none;
  stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .75;
}
.motion-ready .hero-furrows line { animation: jp-draw 1.4s var(--ease) both; animation-delay: calc(.35s + var(--i) * 90ms); }
@keyframes jp-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.hero-panel {
  position: absolute; z-index: 2;
  right: calc(var(--gutter) + clamp(16px, 3vw, 48px)); bottom: -56px;
  width: min(470px, 42vw);
  background: var(--surface); color: var(--ink);
  border: 2px solid var(--btn-edge);
  border-radius: 22px;
  padding: clamp(20px, 2.4vw, 32px);
  box-shadow: 8px 8px 0 var(--leaf);
}
.hero-lede { font-size: 1.2rem; line-height: 1.5; margin-bottom: 20px; }
.motion-ready .hero-panel { animation: jp-rise .8s var(--ease) .25s both; }
@keyframes jp-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

[data-variant="standard"] .hero-media { border-radius: var(--radius); height: clamp(300px, 52svh, 620px); }
[data-variant="standard"] .hero-furrows-layer { display: none; }
[data-variant="standard"] .hero-img { animation: none !important; transform: none; }
[data-variant="standard"] .hero-media-layer { inset: 0; }
[data-variant="standard"] .hero-panel { box-shadow: var(--shadow-soft); border-color: var(--line-strong); }
[data-variant="standard"] .hero-title .ln:nth-child(2) { padding-left: 0; }

@media (max-width: 899px) {
  .hero-panel {
    position: relative; right: auto; bottom: auto; width: auto;
    margin: -48px calc(var(--gutter) + 12px) 0;
    box-shadow: 6px 6px 0 var(--leaf);
  }
  .hero-media { height: clamp(260px, 46svh, 520px); }
}
@media (max-width: 599px) {
  .hero-title .ln:nth-child(2) { padding-left: 0; }
  .hero-media { margin-inline: 10px; }
  .hero-panel { margin-inline: 18px; padding: 20px; }
  .hero-lede { font-size: 1.08rem; }
  .hero-panel .btn { flex: 1 1 100%; }
}

/* ------------------------------------------------------------ home: intro */
.intro {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 80px); align-items: end;
  padding-block: clamp(120px, 13vw, 180px) clamp(56px, 7vw, 96px);
}
.intro-statement { font-size: clamp(2.1rem, 4.6vw, 4rem); line-height: 1; }
.intro-side { color: var(--ink-soft); border-top: 4px solid var(--gold); padding-top: 20px; }
.intro-contact { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; }
.intro-contact a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; overflow-wrap: anywhere; }
@media (max-width: 899px) {
  .intro { grid-template-columns: 1fr; padding-top: clamp(64px, 12vw, 120px); }
}

/* ------------------------------------------------------------ home: capture scene */
.cz { position: relative; padding-top: clamp(40px, 6vw, 80px); }
.cz-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px 48px; align-items: end; margin-bottom: clamp(24px, 3vw, 40px);
}
.cz-head h2 { font-size: clamp(2.4rem, 6vw, 5rem); }
.cz-head p { color: var(--ink-soft); font-size: 1.2rem; justify-self: end; }
@media (max-width: 767px) { .cz-head { grid-template-columns: 1fr; } .cz-head p { justify-self: start; } }

/* Static, complete layout. Used without JS, with reduced motion, and on failure. */
.cz-list { list-style: none; padding: 0; margin-block: 0; display: grid; gap: clamp(28px, 4vw, 56px); padding-bottom: clamp(56px, 7vw, 96px); }
.cz-item { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.cz-item:nth-child(even) .cz-item-fig { order: 2; }
.cz-item-fig { overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 2; background: var(--soil); }
.cz-item-fig img { width: 100%; height: 100%; object-fit: cover; }
.cz-item:nth-child(2) .cz-item-fig { border-radius: var(--tuber); }
.cz-item h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 10px; }
@media (max-width: 767px) {
  .cz-item { grid-template-columns: 1fr; }
  .cz-item:nth-child(even) .cz-item-fig { order: 0; }
}

.cz-track { display: none; }
.cz.is-live .cz-list {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; padding: 0; margin: -1px;
}
.cz.is-live .cz-track { display: block; position: relative; }

.cz-stage {
  position: sticky; top: var(--hdr-c);
  height: calc(100svh - var(--hdr-c));
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px); align-items: center;
  width: min(1400px, 100% - 2 * var(--gutter)); margin-inline: auto;
  padding-block: clamp(16px, 3.5vh, 44px);
  contain: paint;
}
.cz-visual { position: relative; height: min(100%, 680px); isolation: isolate; }
.cz-frame {
  position: absolute; inset: 0; overflow: hidden; z-index: 1;
  border-radius: 28px; background: var(--soil);
  transition: border-radius .9s var(--ease), transform .9s var(--ease);
}
.cz-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease), clip-path .9s var(--ease), opacity .7s var(--ease);
}
.cz-img--field { transform: scale(1.08); object-position: 62% 50%; }
.cz-img--soil { clip-path: circle(0% at 50% 100%); }
.cz-img--crate { clip-path: inset(0 0 0 100%); }
.cz-rows {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 58%;
  transition: opacity .6s var(--ease); pointer-events: none;
}
.cz-inset {
  position: absolute; z-index: 2; right: -3%; bottom: -5%; width: 36%; aspect-ratio: 1;
  border-radius: var(--tuber); overflow: hidden;
  border: 4px solid var(--surface); box-shadow: var(--shadow-soft);
  opacity: 0; transform: translate(12%, 18%) rotate(8deg) scale(.8);
  transition: opacity .6s var(--ease), transform .9s var(--ease);
}
.cz-inset img { width: 100%; height: 100%; object-fit: cover; transform: translateY(calc((var(--cp, 0) - .5) * -14%)) scale(1.2); }
.cz-ask {
  position: absolute; z-index: 3; right: 0; top: 50%; width: 52%;
  background: var(--gold); color: var(--on-gold); border: 2px solid var(--btn-edge);
  border-radius: 24px; padding: clamp(18px, 2.4vw, 32px);
  box-shadow: 8px 8px 0 var(--btn-edge);
  opacity: 0; transform: translate(30%, -50%) rotate(4deg);
  transition: opacity .55s var(--ease), transform .9s var(--ease);
}
.cz-ask span { display: block; font: 800 clamp(1.8rem, 3.6vw, 3.4rem)/.95 var(--f-display); font-variation-settings: "wdth" 86; }
.cz-ask::after {
  content: ""; display: block; height: 28px; margin-top: 16px;
  background-color: rgba(29, 26, 19, .45);
  -webkit-mask: var(--rows-mask) repeat-x; mask: var(--rows-mask) repeat-x;
  -webkit-mask-size: 64px 18px; mask-size: 64px 18px;
}

/* State 1: soil rises up through the field; the frame turns tuber-shaped. */
.cz-stage[data-state="1"] .cz-frame { border-radius: var(--tuber); transform: scale(.94) rotate(-2deg); }
.cz-stage[data-state="1"] .cz-img--field { transform: scale(1.35) translateY(9%); }
.cz-stage[data-state="1"] .cz-img--soil,
.cz-stage[data-state="2"] .cz-img--soil,
.cz-stage[data-state="3"] .cz-img--soil { clip-path: circle(80% at 50% 100%); }
.cz-stage[data-state="1"] .cz-rows,
.cz-stage[data-state="2"] .cz-rows,
.cz-stage[data-state="3"] .cz-rows { opacity: 0; }
/* State 2: the crate wipes in; a soil close-up lifts forward as a depth layer. */
.cz-stage[data-state="2"] .cz-frame { border-radius: 22px; transform: translateX(-3%) scale(.95) rotate(1.5deg); }
.cz-stage[data-state="2"] .cz-img--crate,
.cz-stage[data-state="3"] .cz-img--crate { clip-path: inset(0 0 0 0); }
.cz-stage[data-state="2"] .cz-inset { opacity: 1; transform: rotate(-6deg); }
/* State 3: the crate steps back and the ask panel takes the front. */
.cz-stage[data-state="3"] .cz-frame { border-radius: 22px var(--radius) 96px 22px; transform: translateX(-12%) scale(.8) rotate(-3deg); }
.cz-stage[data-state="3"] .cz-inset { opacity: 1; transform: translate(-150%, -95%) rotate(5deg) scale(.7); }
.cz-stage[data-state="3"] .cz-ask { opacity: 1; transform: translate(0, -50%) rotate(-2deg); }

.cz-copy { display: grid; align-content: center; gap: 28px; min-width: 0; }
.cz-copy > .cz-panel { grid-area: 1 / 1; }
.cz-panel {
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .45s var(--ease), transform .55s var(--ease), visibility 0s linear .45s;
}
.cz-stage[data-state="0"] .cz-panel[data-i="0"],
.cz-stage[data-state="1"] .cz-panel[data-i="1"],
.cz-stage[data-state="2"] .cz-panel[data-i="2"],
.cz-stage[data-state="3"] .cz-panel[data-i="3"] {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .45s var(--ease) .1s, transform .55s var(--ease) .1s, visibility 0s;
}
.cz-panel-title { font: 800 clamp(2.2rem, 4.4vw, 3.8rem)/.98 var(--f-display); letter-spacing: -.025em; margin-bottom: 14px; }
.cz-panel-text { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--ink-soft); max-width: 34ch; }
.cz-progress { grid-area: 2 / 1; display: flex; gap: 8px; }
.cz-progress span { height: 6px; flex: 0 0 44px; border-radius: 6px; background: var(--line); transition: background-color .4s, flex-basis .4s var(--ease); }
.cz-stage[data-state="0"] .cz-progress span[data-i="0"],
.cz-stage[data-state="1"] .cz-progress span[data-i="1"],
.cz-stage[data-state="2"] .cz-progress span[data-i="2"],
.cz-stage[data-state="3"] .cz-progress span[data-i="3"] { background: var(--gold); flex-basis: 72px; }

/* Standard: same story, simpler finish. Crossfades, no frame morph or depth layer. */
[data-variant="standard"] .cz-frame { transform: none !important; border-radius: var(--radius) !important; }
[data-variant="standard"] .cz-img--field { transform: none !important; }
[data-variant="standard"] .cz-img--soil, [data-variant="standard"] .cz-img--crate { clip-path: none !important; opacity: 0; }
[data-variant="standard"] .cz-stage[data-state="1"] .cz-img--soil,
[data-variant="standard"] .cz-stage[data-state="2"] .cz-img--crate,
[data-variant="standard"] .cz-stage[data-state="3"] .cz-img--crate { opacity: 1; }
[data-variant="standard"] .cz-inset, [data-variant="standard"] .cz-rows { display: none; }
[data-variant="standard"] .cz-ask { box-shadow: var(--shadow-soft); }
[data-variant="standard"] .cz-stage[data-state="3"] .cz-ask { transform: translate(0, -50%); }

@media (max-width: 767px) {
  .cz-stage {
    grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto;
    gap: 14px; padding-block: 12px 16px; width: calc(100% - 2 * var(--gutter));
    align-items: stretch;
  }
  .cz-visual { height: 100%; min-height: 0; }
  .cz-copy { gap: 12px; align-content: start; min-height: 9.5rem; }
  .cz-panel-title { font-size: clamp(1.7rem, 7.5vw, 2.2rem); margin-bottom: 6px; }
  .cz-panel-text { font-size: 1rem; line-height: 1.45; }
  .cz-ask { width: 62%; padding: 14px 16px; box-shadow: 5px 5px 0 var(--btn-edge); }
  .cz-ask::after { height: 18px; margin-top: 10px; }
  .cz-inset { width: 40%; right: 2%; bottom: 2%; border-width: 3px; }
  .cz-stage[data-state="3"] .cz-frame { transform: translateX(-8%) scale(.84) rotate(-3deg); }
  .cz-stage[data-state="3"] .cz-inset { transform: translate(-125%, -80%) rotate(5deg) scale(.6); }
  .cz-progress span { flex-basis: 32px; height: 5px; }
  .cz-stage[data-state] .cz-progress span[data-i] { flex-basis: 32px; }
}
@media (max-width: 767px) and (max-height: 620px) {
  .cz-copy { min-height: 8rem; }
  .cz-panel-text { font-size: .95rem; }
}

/* ------------------------------------------------------------ home: ask rows */
.ask { padding-block: clamp(72px, 9vw, 136px) clamp(56px, 7vw, 104px); }
.ask-title { margin-bottom: clamp(24px, 3vw, 44px); max-width: 14ch; }
.ask-rows { display: grid; }
.ask-row {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) minmax(0, 3fr);
  gap: 12px clamp(20px, 3vw, 48px); align-items: baseline;
  padding-block: clamp(22px, 3vw, 36px);
}
.ask-row::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--leaf-bright), var(--gold));
  transform-origin: left;
}
.ask-row h3 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
.ask-row p { color: var(--ink-soft); }
.ask-row .text-link { justify-self: end; display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 899px) {
  .ask-row { grid-template-columns: 1fr; }
  .ask-row .text-link { justify-self: start; }
}

/* ------------------------------------------------------------ home: closer */
.closer {
  position: relative; isolation: isolate;
  min-height: clamp(460px, 70vh, 680px);
  margin: 0 var(--gutter) clamp(64px, 8vw, 112px);
  display: flex; align-items: center;
  padding: clamp(24px, 5vw, 72px);
}
.closer-media { position: absolute; inset: 0; overflow: hidden; border-radius: clamp(28px, 5vw, 80px) 10px clamp(28px, 5vw, 80px) 10px; z-index: -2; background: var(--soil); }
.closer-media-layer { position: absolute; inset: -12% 0; }
.closer-img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }
.closer-pattern {
  position: absolute; right: 0; bottom: 0; width: 38%; height: 45%; z-index: -1;
  --pattern-ink: rgba(242, 179, 61, .55); --ps: 120px 34px;
  border-radius: 0 0 clamp(28px, 5vw, 80px) 0; pointer-events: none;
}
.closer-panel {
  max-width: 560px; background: var(--surface); color: var(--ink);
  border: 2px solid var(--btn-edge); border-radius: 24px;
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 8px 8px 0 var(--gold);
}
.closer-panel h2 { font-size: clamp(2rem, 4vw, 3.3rem); margin-bottom: 14px; }
.closer-panel p { color: var(--ink-soft); margin-bottom: 22px; }
[data-variant="standard"] .closer-pattern { display: none; }
[data-variant="standard"] .closer-media-layer { inset: 0; }
@media (max-width: 599px) {
  .closer { margin-inline: 10px; padding: 160px 14px 14px; align-items: flex-end; }
  .closer-panel { box-shadow: 5px 5px 0 var(--gold); }
  .closer-panel .btn { flex: 1 1 100%; }
}

/* ------------------------------------------------------------ inner pages */
.page-title {
  font-size: clamp(3.2rem, 10vw, 8.75rem);
  font-weight: 800; font-variation-settings: "wdth" 84;
  line-height: .86; letter-spacing: -.035em;
}

/* offerings */
.off-hero {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 80px); align-items: center;
  padding-block: clamp(36px, 6vw, 88px) clamp(56px, 7vw, 104px);
}
.off-hero-text .lede { margin-block: 22px 28px; }
.off-hero-fig { overflow: hidden; border-radius: 160px 22px 22px 22px; aspect-ratio: 4 / 5; background: var(--soil); }
.off-hero-fig img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; }
.spec { padding-bottom: clamp(64px, 8vw, 120px); }
.spec h2 { margin-bottom: clamp(20px, 3vw, 40px); max-width: 16ch; }
.spec-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); }
.spec-row { position: relative; padding-block: 24px; }
.spec-row::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px;
  background: var(--leaf-bright); transform-origin: left;
}
.spec-row dt { font: 750 clamp(1.5rem, 2.4vw, 2rem)/1.1 var(--f-display); margin-bottom: 8px; }
.spec-row dd { margin: 0; color: var(--ink-soft); }
.avail { background: var(--soil); color: var(--on-soil); padding-block: clamp(56px, 8vw, 112px); }
.avail-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.avail-fig { overflow: hidden; border-radius: 22px 22px 120px 22px; aspect-ratio: 3 / 2; }
.avail-fig img { width: 100%; height: 100%; object-fit: cover; }
.avail-note h2 { color: var(--gold); margin-bottom: 16px; }
.avail-note p { color: var(--on-soil-soft); margin-bottom: 24px; }
.avail .btn-primary { box-shadow: 3px 3px 0 var(--gold-deep); }
@media (max-width: 899px) {
  .off-hero, .avail-inner { grid-template-columns: 1fr; }
  .off-hero-fig { aspect-ratio: 4 / 3; border-radius: 96px 18px 18px 18px; }
  .spec-list { grid-template-columns: 1fr; }
}

/* about */
.about-hero { padding-top: clamp(36px, 6vw, 88px); }
.about-hero-text { margin-bottom: clamp(24px, 4vw, 48px); }
.about-band { overflow: hidden; margin-inline: var(--gutter); border-radius: var(--radius); aspect-ratio: 21 / 8; background: var(--soil); }
.about-band img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.facts {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px); padding-block: clamp(56px, 8vw, 112px);
}
.facts h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 22px; }
.fact-list { margin: 0; }
.fact-list > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 16px; padding-block: 14px; border-top: 2px solid var(--line); }
.fact-list dt { font-weight: 700; }
.fact-list dd { margin: 0; color: var(--ink-soft); overflow-wrap: anywhere; }
.facts-col--ask { background: var(--surface-2); border-radius: 24px 24px 24px 96px; padding: clamp(24px, 3.5vw, 48px); align-self: start; }
.facts-col--ask p { margin-bottom: 24px; }
.pair { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(16px, 3vw, 40px); padding-bottom: clamp(64px, 8vw, 120px); align-items: start; }
.pair figure { overflow: hidden; background: var(--soil); }
.pair img { width: 100%; height: 100%; object-fit: cover; }
.pair-a { aspect-ratio: 3 / 2; border-radius: 22px 22px 22px 110px; }
.pair-b { aspect-ratio: 4 / 5; margin-top: 18%; border-radius: var(--tuber); }
@media (max-width: 767px) {
  .about-band { aspect-ratio: 4 / 3; margin-inline: 10px; }
  .facts { grid-template-columns: 1fr; }
  .fact-list > div { grid-template-columns: 1fr; gap: 2px; }
  .pair { grid-template-columns: 1fr 1fr; }
  .pair-b { margin-top: 30%; }
}

/* season */
.sv-hero {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: end;
  padding-block: clamp(36px, 6vw, 88px) clamp(48px, 6vw, 88px);
}
.year { background: var(--surface-2); padding-block: clamp(56px, 8vw, 112px); position: relative; overflow: hidden; }
.year::after {
  content: ""; position: absolute; right: -40px; top: 0; width: 34%; height: 100%;
  background-color: var(--pattern-ink);
  -webkit-mask: var(--rows-mask) repeat; mask: var(--rows-mask) repeat;
  -webkit-mask-size: 72px 22px; mask-size: 72px 22px; pointer-events: none; opacity: .8;
}
[data-variant="standard"] .year::after { display: none; }
.year-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); position: relative; z-index: 1; }
.year-head p { color: var(--ink-soft); }
.year-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 36px); position: relative; z-index: 1; counter-reset: yr; }
.year-stage { position: relative; padding-top: 44px; counter-increment: yr; }
.year-stage::before {
  content: ""; position: absolute; left: 0; right: calc(-1 * clamp(16px, 2.5vw, 36px)); top: 12px; height: 4px; border-radius: 4px;
  background: var(--leaf-bright); transform-origin: left;
}
.year-stage:last-child::before { right: 0; }
.year-stage::after {
  content: counter(yr); position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold); color: var(--on-gold); border: 2px solid var(--btn-edge);
  font: 800 .85rem/24px var(--f-text); text-align: center;
}
.year-stage h3 { margin-bottom: 8px; }
.year-stage p { color: var(--ink-soft); font-size: 1.05rem; }
.visit { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding-block: clamp(64px, 8vw, 120px); }
.visit-fig { overflow: hidden; border-radius: 22px 120px 22px 22px; aspect-ratio: 3 / 2; background: var(--soil); }
.visit-fig img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 55%; }
.visit-text h2 { margin-bottom: 18px; }
.visit-lede { color: var(--ink-soft); font-size: 1.2rem; border-left: 4px solid var(--gold); padding-left: 16px; margin-bottom: 26px; }
@media (max-width: 899px) {
  .sv-hero, .year-head, .visit { grid-template-columns: 1fr; }
  .year-line { grid-template-columns: 1fr; gap: 0; }
  .year-stage { padding: 0 0 28px 52px; }
  .year-stage::before { left: 12px; right: auto; top: 30px; bottom: 0; width: 4px; height: auto; transform-origin: top; }
  .year-stage:last-child::before { display: none; }
  .visit-fig { aspect-ratio: 4 / 3; }
}
@media (max-width: 899px) {
  .motion-ready .year-line[data-reveal="rows"]:not(.is-in) > *::before { transform: scaleY(0); }
}

/* contact */
.ct-hero { padding-block: clamp(36px, 6vw, 88px) clamp(28px, 4vw, 56px); }
.ct-hero .lede { margin-top: 20px; }
.ct-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(20px, 3vw, 44px); align-items: start; padding-bottom: clamp(64px, 8vw, 120px);
}
.ct-form {
  background: var(--surface); border: 2px solid var(--line); border-radius: 26px;
  padding: clamp(20px, 3.5vw, 48px);
}
.ct-form:focus { outline: none; }
.ct-form-title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 20px; }
.ct-side {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--soil); color: var(--on-soil);
  border-radius: 26px 26px 26px 110px;
  padding: clamp(24px, 3.5vw, 44px); display: grid; gap: 28px;
}
.ct-side-pattern { position: absolute; inset: auto -20px -10px -20px; height: 46%; z-index: -1; --pattern-ink: rgba(245, 190, 79, .22); --ps: 110px 32px; }
.ct-method h2 { font: 700 1rem/1.3 var(--f-text); letter-spacing: 0; color: var(--gold); margin-bottom: 6px; }
.ct-big {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 750 clamp(1.6rem, 3vw, 2.4rem)/1.1 var(--f-display); color: var(--on-soil);
  text-decoration-color: var(--gold); overflow-wrap: anywhere;
}
.ct-big:hover { color: var(--gold); }
.ct-big--email { font-size: clamp(1.15rem, 2vw, 1.55rem); }
.ct-method p { color: var(--on-soil-soft); }
@media (max-width: 899px) { .ct-grid { grid-template-columns: 1fr; } }

/* form */
.inquiry fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.inquiry fieldset[disabled] { opacity: .55; }
.field { margin-bottom: 20px; }
.field label, .choice-set legend { display: block; font-weight: 700; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--ink-soft); }
.field-hint { display: block; font-size: .95rem; color: var(--ink-soft); margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 1.05rem/1.4 var(--f-text); color: var(--ink);
  background: var(--canvas); border: 2px solid var(--line-strong); border-radius: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 35%, transparent); }
.has-error input, .has-error textarea { border-color: #B3261E; }
[data-theme="dark"] .has-error input, [data-theme="dark"] .has-error textarea { border-color: #FF8A80; }
.field-error { color: #B3261E; font-weight: 600; font-size: .95rem; margin: 6px 0 0; }
[data-theme="dark"] .field-error { color: #FFB4AB; }
.choice-set { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 16px 8px 12px;
  border: 2px solid var(--line-strong); border-radius: 999px; cursor: pointer; font-weight: 600;
  background: var(--canvas);
}
.choice input { width: 20px; height: 20px; accent-color: var(--leaf); margin: 0; }
.choice:has(input:checked) { background: var(--gold); color: var(--on-gold); border-color: var(--btn-edge); }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { min-width: 200px; margin-top: 4px; }
.btn-submit[aria-busy="true"] { opacity: .75; cursor: progress; }
.form-fine { font-size: .95rem; color: var(--ink-soft); margin-top: 14px; }
.form-status { border-radius: 16px; padding: 16px 18px; margin-bottom: 20px; border: 2px solid; }
.form-status h3 { font-size: 1.35rem; margin-bottom: 6px; }
.form-status.is-success { background: color-mix(in srgb, var(--leaf-bright) 14%, var(--surface)); border-color: var(--leaf); }
.form-status.is-error { background: color-mix(in srgb, #B3261E 10%, var(--surface)); border-color: #B3261E; }
[data-theme="dark"] .form-status.is-error { border-color: #FFB4AB; }
.form-status.is-off { background: var(--surface-2); border-color: var(--line-strong); }

/* 404 */
.nf { padding-block: clamp(48px, 8vw, 120px); }
.nf .lede { margin-block: 20px 28px; }

/* ------------------------------------------------------------ footer */
.site-footer { position: relative; background: var(--soil); color: var(--on-soil); overflow: hidden; }
[data-theme="dark"] .site-footer { background: #0D0905; }
.ft-pattern { height: 34px; --pattern-ink: var(--gold); --ps: 64px 18px; opacity: .9; }
.ft-inner { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; padding-block: clamp(40px, 6vw, 80px) 28px; }
.ft-name {
  font: 800 clamp(3rem, 11vw, 9rem)/.85 var(--f-display); font-variation-settings: "wdth" 84;
  letter-spacing: -.035em; color: var(--gold); margin-bottom: clamp(28px, 4vw, 56px); max-width: none;
}
.ft-cols { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4fr); gap: 32px; }
.ft-cols ul { list-style: none; margin: 0; padding: 0; }
.ft-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-soil); font-weight: 600; text-decoration: none; }
.ft-link:hover, .ft-link[aria-current="page"] { color: var(--gold); text-decoration: underline; }
.ft-contact { display: grid; align-content: start; gap: 8px; }
.ft-big { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-soil); font: 700 clamp(1.2rem, 2vw, 1.6rem)/1.2 var(--f-display); overflow-wrap: anywhere; text-decoration-color: var(--gold); }
.ft-big:hover { color: var(--gold); }
.ft-cta p { color: var(--on-soil-soft); }
.ft-cta .btn { margin-top: 8px; box-shadow: 3px 3px 0 var(--gold-deep); }
.ft-legal { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(244, 238, 220, .2); font-size: .95rem; color: var(--on-soil-soft); max-width: none; }
@media (max-width: 899px) { .ft-cols { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-reveal], [data-reveal] *, [data-reveal] > * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  [data-reveal] > *::before { transform: none !important; }
  [data-depth] { transform: none !important; }
  .hero-media-layer, .closer-media-layer { inset: 0; }
  .hero-img { transform: none; }
}
