/* =========================================================
   DAT LAWN GUY — site.css
   Minimal system: paper, ink, one green. Serif for voice,
   sans for information, mono for small labels and numbers.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --paper: #f3f2ec;
  --paper-2: #e8e7df;
  --paper-3: #dddcd2;
  --ink: #101712;
  --ink-2: #565d57;
  --ink-3: #8a908b;
  --line: rgba(16, 23, 18, 0.12);
  --line-strong: rgba(16, 23, 18, 0.24);

  --deep: #0b110d;
  --deep-2: #141c16;
  --deep-ink: #eceee6;
  --deep-ink-2: #98a199;
  --deep-line: rgba(236, 238, 230, 0.14);

  --green: #2d6a3b;
  --green-ink: #e9f3e6;
  --signal: #b9e26f;
  --danger: #b3261e;

  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --maxw: 1360px;
  --pad: clamp(20px, 4vw, 56px);
  --nav-h: 64px;
  --radius: 6px;
  --radius-lg: 14px;
  --section: clamp(96px, 15vh, 192px);
}

@media (max-width: 760px) {
  :root { --nav-h: 56px; }
}

/* ---------- Page transitions (cross-document) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.32s var(--ease-in-out) both; }
::view-transition-new(root) { animation: vt-in 0.6s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }
.nav { view-transition-name: site-nav; }
::view-transition-old(site-nav), ::view-transition-new(site-nav) { animation: none; }

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  overflow-x: clip;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--font);
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }

h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--ink); color: var(--paper); }

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

.hidden, [hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 1000;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.875rem;
  transition: top 0.3s var(--ease-out);
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--maxw), 100% - 2 * var(--pad));
  margin-inline: auto;
}
.wrap--narrow { width: min(880px, 100% - 2 * var(--pad)); margin-inline: auto; }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(64px, 10vh, 120px); }
.section + .section:not(.dark):not(.section--fill) { padding-top: 0; }
.section--fill { background: var(--paper-2); }
.dark {
  background: var(--deep);
  color: var(--deep-ink);
}
.dark + .section, .section--fill + .section { padding-top: var(--section) !important; }

/* ---------- Type ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 0.75rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.label .idx { color: var(--ink-3); }
.dark .label { color: var(--deep-ink-2); }
.dark .label .idx { color: rgba(236, 238, 230, 0.4); }
.label--dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.dark .label--dot::before { background: var(--signal); }

.t-xl {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3.25rem, 1.6rem + 7.4vw, 10rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.t-h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 1.5rem + 4.2vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.t-h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.875rem, 1.3rem + 2vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.t-h4 {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.012em;
}
.t-xl em, .t-h2 em, .t-h3 em { font-style: italic; }
.t-lead {
  font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.3125rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 42ch;
  text-wrap: pretty;
}
.dark .t-lead { color: var(--deep-ink-2); }
.muted { color: var(--ink-2); }
.dark .muted { color: var(--deep-ink-2); }
.small { font-size: 0.875rem; }
.mono { font-family: var(--font-mono); letter-spacing: 0; }

/* ---------- Links & buttons ---------- */
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.5s var(--ease-out), opacity 0.2s;
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link:active { opacity: 0.6; }

.arrow {
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  flex: none;
  position: relative;
  overflow: hidden;
}
.arrow::before,
.arrow::after {
  content: "→";
  position: absolute;
  inset: 0;
  line-height: 0.9em;
  font-family: var(--font);
  transition: transform 0.45s var(--ease-out);
}
.arrow::after { transform: translateX(-120%); }
.arrow--out::before, .arrow--out::after { content: "↗"; }
.arrow--out::after { transform: translate(-120%, 120%); }
a:hover > .arrow::before, button:hover > .arrow::before { transform: translateX(120%); }
a:hover > .arrow::after, button:hover > .arrow::after { transform: none; }
a:hover > .arrow--out::before, button:hover > .arrow--out::before { transform: translate(120%, -120%); }

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.5s var(--ease-out), background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
/* fill sweeps up from the bottom on hover */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--green);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.55s var(--ease-out);
}
.btn:hover::before { transform: none; }
.btn:hover { color: #fff; }
.btn:active { transform: scale(0.97); transition-duration: 0.08s; }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn--light { --btn-bg: var(--deep-ink); --btn-fg: var(--deep); }
.btn--light::before { background: var(--signal); }
.btn--light:hover { color: var(--deep); }
.btn--ghost-light {
  --btn-bg: rgba(236, 238, 230, 0.06);
  --btn-fg: var(--deep-ink);
  box-shadow: inset 0 0 0 1px rgba(236, 238, 230, 0.3);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.btn--ghost-light::before { background: var(--deep-ink); }
.btn--ghost-light:hover { color: var(--deep); }
.btn--sm { min-height: 36px; padding: 0 16px; font-size: 0.8125rem; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn.btn-loading { color: transparent !important; pointer-events: none; }
.btn.btn-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  color: var(--ink);
  transition: transform 0.6s var(--ease-out), color 0.4s;
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(243, 242, 236, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.4s, background-color 0.4s, border-color 0.4s;
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-dark { color: var(--deep-ink); }
.nav.is-dark::before { background: rgba(11, 17, 13, 0.6); border-color: var(--deep-line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner {
  position: relative;
  height: 100%;
  width: min(var(--maxw), 100% - 2 * var(--pad));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav-brand img { width: 28px; height: 28px; border-radius: 50%; }
.nav-links {
  display: flex;
  gap: 4px;
  font-size: 0.875rem;
}
.nav-links a {
  position: relative;
  padding: 8px 12px;
  border-radius: 999px;
  color: inherit;
  opacity: 0.72;
  transition: opacity 0.25s, background-color 0.25s;
}
.nav-links a:hover { opacity: 1; background: rgba(16, 23, 18, 0.06); }
.nav.is-dark .nav-links a:hover { background: rgba(236, 238, 230, 0.08); }
.nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: currentColor;
}
.nav-end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font: 500 0.75rem/1 var(--font-mono);
}
.lang span { opacity: 0.3; }
.lang-btn {
  padding: 6px 4px;
  opacity: 0.45;
  transition: opacity 0.2s;
}
.lang-btn:hover { opacity: 0.8; }
.lang-btn.active { opacity: 1; }
.nav.is-dark .btn, .menu-open .nav .btn { --btn-bg: var(--signal); --btn-fg: var(--deep); }
.nav.is-dark .btn::before, .menu-open .nav .btn::before { background: var(--deep-ink); }
.nav.is-dark .btn:hover, .menu-open .nav .btn:hover { color: var(--deep); }

.nav-burger {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  margin-right: -8px;
}
.nav-burger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.5s var(--ease-out);
}
.nav-burger span:first-child { top: 16px; }
.nav-burger span:last-child { top: 23px; }
.menu-open .nav-burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav-burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .nav-burger { display: block; }
}
@media (max-width: 560px) {
  .nav-end .btn { display: none; }
}

/* Mobile / overlay menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--deep);
  color: var(--deep-ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + 32px) var(--pad) max(32px, env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.7s var(--ease-in-out), visibility 0s 0.7s;
}
.menu-open .menu {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 0.7s var(--ease-in-out), visibility 0s;
}
.menu-open .nav { color: var(--deep-ink); }
.menu-open .nav::before { opacity: 0; }
.menu-list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 6px 0;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 9vw, 4.5rem);
  line-height: 1.05;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.7s var(--ease-out);
}
.menu-list a .idx { font: 500 0.75rem var(--font-mono); color: var(--deep-ink-2); }
.menu-list a[aria-current="page"] { color: var(--signal); }
.menu-open .menu-list a { opacity: 1; transform: none; transition-delay: calc(0.18s + var(--i, 0) * 0.05s); }
.menu-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--deep-ink-2);
  font-size: 0.875rem;
}
.menu-foot .socials { display: flex; gap: 18px; }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 101;
  height: 2px;
  background: var(--green);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  pointer-events: none;
}

/* =========================================================
   Home hero — one aerial photograph, centred and quiet
   ========================================================= */
.hero {
  position: relative;
  min-height: 600px;
  height: 100vh;
  height: 100svh;
  max-height: 1000px;
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  text-align: center;
  background: #0d2410;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  /* bright stadium green graded down to a deep lawn green */
  filter: brightness(0.5) saturate(1.12) contrast(1.1);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 55% at 50% 42%, rgba(8, 22, 10, 0.35) 0%, rgba(8, 22, 10, 0) 70%),
    linear-gradient(180deg, rgba(8, 22, 10, 0.55) 0%, rgba(8, 22, 10, 0) 26%, rgba(8, 22, 10, 0) 70%, rgba(8, 22, 10, 0.6) 100%);
}
/* the photo settles in once on load */
.js .hero-media { scale: 1.08; }
.js.is-loaded .hero-media { scale: 1; transition: scale 2.6s var(--ease-out); }

.hero-copy {
  align-self: center;
  width: min(900px, 100% - 2 * var(--pad));
  padding-top: var(--nav-h);
}
.hero-kicker {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.82);
}
.hero-title {
  margin-top: 18px;
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(2.75rem, 1.4rem + 4.6vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.hero-title em { font-style: normal; }
.hero-actions { margin-top: 32px; display: flex; justify-content: center; }
.btn--glass {
  --btn-bg: rgba(255, 255, 255, 0.14);
  --btn-fg: #fff;
  min-height: 46px;
  padding: 0 22px;
  font-size: 0.9375rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
}
.btn--glass::before { background: var(--signal); }
.btn--glass:hover { color: var(--deep); }

/* trust line at the bottom edge */
.hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(28px, 6vh, 56px);
  text-align: left;
}
.hero-proof-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--signal);
  color: var(--signal);
}
.hero-proof-icon svg { width: 15px; height: 15px; }
.hero-proof strong {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.hero-proof-sep {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.3);
}
.hero-proof-text {
  font-size: 0.8125rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.78);
}

/* =========================================================
   Sub-page head + framed media
   ========================================================= */
.page-head {
  padding-top: calc(var(--nav-h) + clamp(64px, 12vh, 140px));
  padding-bottom: clamp(48px, 8vh, 96px);
}
.page-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.55fr);
  gap: 32px 64px;
  align-items: end;
  margin-top: 28px;
}
.page-head-grid .t-lead { justify-self: end; }
.page-head .actions { margin-top: 28px; }
@media (max-width: 900px) {
  .page-head-grid { grid-template-columns: 1fr; }
  .page-head-grid .t-lead { justify-self: start; }
}

.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-2);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 4 / 5; }
@media (max-width: 760px) { .media--wide { aspect-ratio: 4 / 3; } }
/* inner image moves slower than the frame */
[data-parallax] img { transform: translate3d(0, var(--py, 0px), 0) scale(1.14); will-change: transform; }

/* Frame opens from the bottom edge on load */
.js .media--reveal { clip-path: inset(100% 0 0 0 round var(--radius)); }
.js.is-loaded .media--reveal {
  clip-path: inset(0 0 0 0 round var(--radius));
  transition: clip-path 1.4s var(--ease-in-out) 0.35s;
}

/* =========================================================
   Reveal & text motion
   ========================================================= */
.motion [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.motion [data-reveal].is-in { opacity: 1; transform: none; }

/* Split headings: each word rises out of its own mask */
.split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.split .w > span { display: inline-block; }
.motion .split .w > span {
  transform: translateY(105%);
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(var(--d, 0ms) + var(--i, 0) * 45ms);
}
.motion .split.is-in .w > span { transform: none; }

/* Statement: words light up as you read */
.words .wd { transition: color 0.3s; }
.motion .words .wd { color: var(--paper-3); }
.motion .words .wd.on { color: var(--ink); }

/* =========================================================
   Home sections
   ========================================================= */
.statement-text {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 1.2rem + 3.2vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin-top: 32px;
  text-wrap: pretty;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(56px, 9vh, 112px);
  border-top: 1px solid var(--line);
}
.fact {
  padding: 24px 24px 0 0;
  display: grid;
  gap: 8px;
}
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact strong { font-weight: 500; }
.fact span { color: var(--ink-2); font-size: 0.9375rem; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

.numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.number { border-top: 1px solid var(--line); padding-top: 20px; }
.number strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(4rem, 2rem + 8vw, 9.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.number span { display: block; margin-top: 14px; color: var(--ink-2); }
@media (max-width: 760px) { .numbers { grid-template-columns: 1fr; gap: 40px; } }

/* Full-bleed photographic moment */
.scene {
  position: relative;
  height: 130vh;
  height: 130svh;
  color: #fff;
}
.scene-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: end;
}
.scene-sticky > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--s, 1.16));
  will-change: transform;
}
.scene-sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 9, 0) 35%, rgba(8, 12, 9, 0.72) 100%);
}
.scene-copy {
  position: relative;
  z-index: 1;
  width: min(var(--maxw), 100% - 2 * var(--pad));
  margin-inline: auto;
  padding-bottom: clamp(40px, 10vh, 120px);
  opacity: var(--o, 1);
  transform: translate3d(0, var(--y, 0px), 0);
}
.scene-copy .label { color: rgba(255, 255, 255, 0.7); }
.scene-copy .t-h2 { margin-top: 18px; max-width: 14ch; }
.scene-copy p:last-child { margin-top: 18px; color: rgba(255, 255, 255, 0.75); max-width: 40ch; }

/* Marquee band */
.marquee {
  overflow: hidden;
  background: var(--green);
  color: var(--green-ink);
  padding: 22px 0;
  white-space: nowrap;
  user-select: none;
}
.marquee-track {
  display: inline-flex;
  gap: 48px;
  padding-right: 48px;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem);
  line-height: 1;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span::after { content: "✳"; margin-left: 48px; font-family: var(--font); font-size: 0.6em; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Index list with a cursor-following preview */
.index-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.index-list { border-top: 1px solid var(--line); }
.index-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.1fr) 32px;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.4s, padding 0.6s var(--ease-out);
}
.index-row .idx { font: 500 0.75rem var(--font-mono); color: var(--ink-3); }
.index-row .name {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 1.4rem + 3vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.015em;
}
.index-row .desc { color: var(--ink-2); max-width: 36ch; }
.index-row .arrow { justify-self: end; font-size: 1.25rem; }
.index-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper-2);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.6s var(--ease-out);
  z-index: -1;
}
.index-list { isolation: isolate; }
@media (hover: hover) {
  .index-row:hover { padding-inline: 16px; }
  .index-row:hover::before { transform: none; }
}
.index-thumb { display: none; }
@media (max-width: 760px) {
  .index-row { grid-template-columns: 1fr 72px; gap: 6px 16px; padding: 22px 0; }
  .index-row .idx { grid-column: 1 / -1; }
  .index-row .desc { grid-column: 1; font-size: 0.9375rem; }
  .index-row .arrow { display: none; }
  .index-thumb {
    display: block;
    grid-column: 2;
    grid-row: 2 / span 2;
    width: 72px;
    aspect-ratio: 1;
    border-radius: var(--radius);
    object-fit: cover;
  }
}
.preview {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 50;
  width: 300px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--x, 0), var(--y, 0), 0) rotate(var(--r, 0deg)) scale(var(--sc, 0.6));
  transition: opacity 0.35s;
}
.preview.on { opacity: 1; }
.preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 0.4s, transform 0.8s var(--ease-out);
}
.preview img.on { opacity: 1; transform: none; }
@media (hover: none) { .preview { display: none; } }

/* =========================================================
   Catalog
   ========================================================= */
.season {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px 64px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--paper-2);
  border-radius: var(--radius-lg);
}
.season-title { margin-top: 18px; }
.season-body { margin-top: 14px; color: var(--ink-2); max-width: 48ch; }
.season-plan { margin-top: 18px; font-size: 0.9375rem; }
.season-plan strong { font-weight: 500; }
.season-warning {
  margin-top: 12px;
  padding-left: 14px;
  border-left: 2px solid var(--green);
  font-size: 0.875rem;
  color: var(--ink-2);
}
.season-side { display: grid; align-content: space-between; gap: 24px; }
.segmented {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 4px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  isolation: isolate;
}
.segmented button {
  position: relative;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.3s;
}
.segmented button[aria-pressed="true"] { color: var(--paper); }
.segmented-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  z-index: -1;
  border-radius: 999px;
  background: var(--ink);
  width: var(--w, 0px);
  transform: translateX(var(--x, 0px));
}
@media (max-width: 900px) {
  .season { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .segmented { grid-template-columns: repeat(2, 1fr); border-radius: 22px; }
  .segmented-thumb { display: none; }
  .segmented button[aria-pressed="true"] { background: var(--ink); }
}

.group-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px 48px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.group-head p { margin-top: 12px; color: var(--ink-2); }
.group-count { font: 500 0.75rem var(--font-mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.875rem;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s, transform 0.4s var(--ease-out);
}
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip:active { transform: scale(0.95); transition-duration: 0.08s; }
.chip.active { background: var(--ink); color: var(--paper); box-shadow: none; }

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 48px 24px;
}
.product {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.product-photo {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  cursor: zoom-in;
}
.product-photo img {
  position: absolute;
  inset: 10%;
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: transform 0.9s var(--ease-out);
}
@media (hover: hover) { .product:hover .product-photo img { transform: scale(1.05); } }
.product-photo.placeholder {
  display: grid;
  place-items: center;
  cursor: default;
  background: var(--paper-2);
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--ink-3);
}
.product-badges {
  position: absolute;
  left: 12px;
  top: 12px;
  display: flex;
  gap: 6px;
  z-index: 1;
}
.badge {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font: 500 0.6875rem/1 var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge--soft { background: var(--paper-2); color: var(--ink-2); }
.product-body { flex: 1; padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.product-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.product-title { font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.012em; line-height: 1.3; }
.product-price { font: 500 0.75rem var(--font-mono); color: var(--ink-3); flex: none; }
.product-desc {
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.5;
  overflow: hidden;
  transition: max-height 0.6s var(--ease-out);
}
.product-desc.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.seasonal-inline-note { display: block; margin-top: 8px; font-size: 0.8125rem; color: var(--green); }
.desc-toggle {
  align-self: flex-start;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
}
.product-actions {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.product-actions .btn { min-height: 40px; padding: 0 18px; font-size: 0.875rem; }
.products .product { opacity: 1; }
.motion .products .product {
  animation: product-in 0.8s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 50ms);
}
@keyframes product-in { from { opacity: 0; transform: translateY(20px); } }

.skeleton {
  background: linear-gradient(90deg, var(--paper-2) 0%, var(--paper-3) 50%, var(--paper-2) 100%) 0 0 / 200% 100%;
  animation: shimmer 1.4s linear infinite;
  border-radius: var(--radius);
}
@keyframes shimmer { to { background-position: -200% 0; } }
.skel-photo { aspect-ratio: 1; }
.skel-line { height: 12px; margin-top: 14px; width: 80%; }
.skel-line.short { width: 50%; }

/* Promo */
.promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px 64px;
  align-items: end;
  padding: clamp(32px, 5vw, 72px);
  border-radius: var(--radius-lg);
  background: var(--deep);
  color: var(--deep-ink);
  overflow: hidden;
  position: relative;
}
.promo .t-h2 { margin-top: 20px; max-width: 16ch; }
.promo-sub { margin-top: 16px; color: var(--deep-ink-2); }
.promo-action { display: grid; gap: 12px; justify-items: end; }
.code {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 18px 18px 18px 26px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(236, 238, 230, 0.28);
  font: 500 clamp(1.125rem, 1rem + 0.6vw, 1.5rem) var(--font-mono);
  transition: box-shadow 0.3s, transform 0.5s var(--ease-out);
}
.code:hover { box-shadow: inset 0 0 0 1px var(--signal); }
.code:active { transform: scale(0.97); transition-duration: 0.08s; }
.code-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--signal);
  color: var(--deep);
  font: 600 0.75rem var(--font);
}
.code-icon::before { content: "⧉"; font-size: 1rem; }
.code.copied .code-icon::before { content: "✓"; }
.promo-hint { color: var(--deep-ink-2); font-size: 0.8125rem; }
@media (max-width: 760px) {
  .promo { grid-template-columns: 1fr; }
  .promo-action { justify-items: start; }
}

/* =========================================================
   Ebook
   ========================================================= */
.ebook-hero {
  padding-top: calc(var(--nav-h) + clamp(48px, 9vh, 120px));
  padding-bottom: var(--section);
}
.ebook-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 48px clamp(40px, 7vw, 120px);
  align-items: center;
}
.ebook-stage { perspective: 1400px; }
.ebook-cover {
  width: min(100%, 460px);
  margin-inline: auto;
  border-radius: 4px 10px 10px 4px;
  box-shadow:
    0 50px 80px -30px rgba(0, 0, 0, 0.7),
    0 24px 40px -24px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg));
  transform-style: preserve-3d;
  will-change: transform;
}
.ebook-copy .t-xl { margin-top: 24px; font-size: clamp(3rem, 1.8rem + 4.6vw, 6.5rem); }
.ebook-copy .t-lead { margin-top: 24px; }
.price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 36px;
}
.price strong {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3rem, 2rem + 3vw, 4.5rem);
  line-height: 1;
}
.price span { color: var(--deep-ink-2); font-size: 0.875rem; }
.ebook-copy .actions { margin-top: 28px; }
.proof { margin-top: 18px; font-size: 0.8125rem; color: var(--deep-ink-2); }
@media (max-width: 900px) { .ebook-grid { grid-template-columns: 1fr; } .ebook-cover { width: min(70%, 360px); } }

.rows { border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 80px minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 12px 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.row .idx { font: 500 0.75rem var(--font-mono); color: var(--ink-3); padding-top: 0.5em; }
.row strong { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); line-height: 1.1; }
.row p { color: var(--ink-2); }
@media (max-width: 760px) {
  .row { grid-template-columns: 48px 1fr; }
  .row p { grid-column: 2; }
}
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px clamp(40px, 6vw, 96px);
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

.offer {
  text-align: center;
  display: grid;
  justify-items: center;
}
.offer .t-h2 { margin-top: 20px; }
.offer .t-lead { margin: 20px auto 0; }
.offer .price { justify-content: center; }
.offer .price span { color: var(--ink-2); }

/* =========================================================
   Community: Instagram rail, gallery, reviews
   ========================================================= */
.ig-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  align-items: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.ig-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.75rem, 2rem + 2.6vw, 4.5rem);
  line-height: 1;
}
.ig-stat span { font-size: 0.875rem; color: var(--ink-2); }
.ig-meta { display: grid; gap: 4px; font-size: 0.875rem; color: var(--ink-2); }
.ig-meta b { color: var(--ink); font-weight: 500; }
.verified {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-left: 4px;
  border-radius: 50%;
  background: #3897f0;
  color: #fff;
  font-size: 10px;
  vertical-align: -2px;
}
.ig-stats .btn { margin-left: auto; }
@media (max-width: 760px) { .ig-stats .btn { margin-left: 0; } }

.rail-wrap { position: relative; }
.rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px max(var(--pad), (100vw - var(--maxw)) / 2) 24px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging a { pointer-events: none; }
.rail-card {
  flex: 0 0 clamp(220px, 22vw, 300px);
  scroll-snap-align: center;
  display: grid;
  gap: 12px;
}
.rail-card .media {
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  transform: scale(var(--sc, 1));
  will-change: transform;
}
.rail-card .media img { -webkit-user-drag: none; transition: transform 0.9s var(--ease-out); }
@media (hover: hover) { .rail-card:hover .media img { transform: scale(1.04); } }
.rail-card .media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.rail-kind {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font: 500 0.6875rem/1 var(--font-mono);
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.rail-card-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 0.875rem; }
.rail-card-meta time { font: 500 0.75rem var(--font-mono); color: var(--ink-3); flex: none; }
.rail-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.rail-buttons { display: flex; gap: 8px; }
.round-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease-out);
}
.round-btn:hover { background: var(--ink); color: var(--paper); }
.round-btn:active { transform: scale(0.92); transition-duration: 0.08s; }
.round-btn:disabled { opacity: 0.3; pointer-events: none; }

/* Gallery: masonry of community photos */
.gallery {
  columns: 4 240px;
  column-gap: 16px;
}
.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 16px;
  break-inside: avoid;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  cursor: zoom-in;
}
.gallery-item img { width: 100%; transition: transform 1s var(--ease-out), filter 0.6s; }
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 40px 14px 12px;
  color: #fff;
  font-size: 0.8125rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.5s var(--ease-out);
}
@media (hover: hover) {
  .gallery-item:hover img { transform: scale(1.04); }
  .gallery-item:hover figcaption { opacity: 1; transform: none; }
}
.gallery-empty {
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line-strong);
  text-align: center;
  color: var(--ink-2);
}

/* Lightbox: grows out of the thumbnail, drag down to dismiss */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: #fff;
  visibility: hidden;
}
.lightbox.open { visibility: visible; }
.lightbox-scrim {
  position: absolute;
  inset: 0;
  background: rgba(8, 11, 9, 0.92);
  opacity: var(--scrim, 0);
}
.lightbox-bar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px var(--pad);
  font-size: 0.875rem;
  opacity: var(--chrome, 0);
}
.lightbox-bar .mono { color: rgba(255, 255, 255, 0.6); font-size: 0.75rem; }
.lightbox-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.25rem;
  transition: background-color 0.25s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-stage {
  position: relative;
  touch-action: none;
  cursor: grab;
}
.lightbox-img {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none;
  border-radius: var(--radius);
  transform-origin: 0 0;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox-foot {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px var(--pad) max(20px, env(safe-area-inset-bottom));
  opacity: var(--chrome, 0);
}
.lightbox-text { max-width: 60ch; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.8); }
.lightbox-text strong { display: block; color: #fff; font-weight: 500; }
.lightbox-nav { display: flex; gap: 8px; }
.lightbox-nav button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  transition: background-color 0.25s, transform 0.4s var(--ease-out);
}
.lightbox-nav button:hover { background: rgba(255, 255, 255, 0.12); }
.lightbox-nav button:active { transform: scale(0.92); }
.lightbox-nav button:disabled { opacity: 0.3; }

/* Reviews */
.reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 960px) { .reviews-layout { grid-template-columns: 1fr; } }
.reviews-list { border-top: 1px solid var(--line); }
.review {
  display: grid;
  gap: 12px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.review-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.review-name { font-weight: 500; }
.review-date { font: 500 0.75rem var(--font-mono); color: var(--ink-3); }
.stars { letter-spacing: 2px; font-size: 0.8125rem; }
.stars .on { color: var(--ink); }
.stars .off { color: var(--paper-3); }
.review-text {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem);
  line-height: 1.2;
}
.review-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.review-thumb {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--paper-2);
}
.review-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.review-thumb:hover img { transform: scale(1.08); }
.review-skel { padding: 28px 0; border-bottom: 1px solid var(--line); }

.panel {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--paper-2);
}
.panel .t-h3 { margin-bottom: 28px; }
@media (max-width: 960px) { .panel { position: static; } }

/* Forms */
.form { display: grid; gap: 24px; }
.field { display: grid; gap: 8px; }
.field > label, .field legend {
  font: 500 0.75rem var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}
.field input:not([type="file"]),
.field textarea {
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  font-size: 1.0625rem;
  outline: none;
  transition: border-color 0.3s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
/* the focus line draws from the left */
.field-line { position: relative; }
.field-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.6s var(--ease-out);
}
.field-line:focus-within::after { transform: none; }
.input-error { border-bottom-color: var(--danger) !important; animation: shake 0.4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.hint { font-size: 0.8125rem; color: var(--ink-3); }

fieldset.field { border: 0; padding: 0; margin: 0; }
.star-input { display: flex; gap: 4px; }
.star-input .star {
  font-size: 1.75rem;
  line-height: 1;
  color: var(--paper-3);
  transition: color 0.2s, transform 0.4s var(--ease-out);
}
.star-input .star.active, .star-input .star.preview { color: var(--ink); }
.star-input .star:active { transform: scale(0.85); transition-duration: 0.08s; }

.file-input { display: flex; align-items: center; gap: 12px; }
.file-input input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.3s;
}
.file-button:hover { background: var(--paper); }
.file-input:focus-within .file-button { outline: 2px solid var(--green); outline-offset: 2px; }
.file-name { font-size: 0.8125rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-preview { display: flex; flex-wrap: wrap; gap: 8px; }
.file-preview:not(:has(.file-thumb)) { display: none; }
.file-thumb { position: relative; width: 64px; height: 64px; border-radius: var(--radius); overflow: hidden; }
.file-thumb img { width: 100%; height: 100%; object-fit: cover; }
.file-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.75rem;
  line-height: 20px;
}
.file-add { display: none; }
.file-count { font-size: 0.8125rem; color: var(--ink-2); }
.file-count.is-hidden { display: none; }

.alert { font-size: 0.875rem; color: var(--ink-2); }
.alert.loading { color: var(--ink); }
.loading-dots { display: inline-flex; gap: 3px; margin-left: 4px; }
.loading-dots span {
  width: 4px; height: 4px; border-radius: 50%; background: currentColor;
  animation: dot 1s infinite;
}
.loading-dots span:nth-child(2) { animation-delay: 0.15s; }
.loading-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 50% { opacity: 0.2; } }

/* =========================================================
   About
   ========================================================= */
.hello {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 48px clamp(40px, 7vw, 120px);
  align-items: center;
}
.hello .media { aspect-ratio: 3 / 4; border-radius: var(--radius-lg); }
.hello .t-xl { font-size: clamp(3rem, 1.8rem + 5vw, 7.5rem); }
.hello .t-lead { margin-top: 24px; }
@media (max-width: 900px) { .hello { grid-template-columns: 1fr; } .hello .media { max-width: 420px; } }

.quote {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.quote::before { content: "“"; color: var(--signal); }
.quote::after { content: "”"; color: var(--signal); }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 40px; }
.byline img { width: 48px; height: 48px; border-radius: 50%; }
.byline strong { display: block; font-weight: 500; }
.byline span { font-size: 0.875rem; color: var(--deep-ink-2); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span {
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 0.9375rem;
}
.stat-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.stat-pair > div { border-top: 1px solid var(--line); padding-top: 18px; }
.stat-pair strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 1.6rem + 3vw, 4.5rem);
  line-height: 1;
}
.stat-pair .mono strong, .stat-pair strong.mono { font-family: var(--font-mono); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 2; }
.stat-pair span { display: block; margin-top: 8px; font-size: 0.875rem; color: var(--ink-2); }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  text-align: left;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  line-height: 1.15;
}
.faq-icon {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color 0.3s, transform 0.6s var(--ease-out);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  margin: -0.75px 0 0 -6px;
  background: currentColor;
  transition: transform 0.6s var(--ease-out);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item:not(.collapsed) .faq-icon { background: var(--ink); color: var(--paper); transform: rotate(180deg); }
.faq-item:not(.collapsed) .faq-icon::after { transform: rotate(0deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease-out);
}
.faq-item:not(.collapsed) .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p {
  padding: 0 64px 32px 0;
  max-width: 60ch;
  color: var(--ink-2);
  font-size: 1.0625rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.4s, transform 0.6s var(--ease-out);
}
.faq-item:not(.collapsed) .faq-a p { opacity: 1; transform: none; transition-delay: 0.1s; }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px clamp(40px, 6vw, 96px);
  align-items: start;
}
.steps-list { border-top: 1px solid var(--line); margin-top: 24px; }
.steps-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.steps-list .idx { font: 500 0.75rem var(--font-mono); color: var(--ink-3); padding-top: 0.3em; }
.contact-aside .media { margin-top: 40px; aspect-ratio: 4 / 3; }
.big-mail {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem);
  line-height: 1.1;
  word-break: break-word;
}
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { text-align: center; display: grid; justify-items: center; gap: 28px; }
.cta-band .t-h2 { max-width: 16ch; }

/* =========================================================
   Legal & status pages
   ========================================================= */
.legal-body { display: grid; gap: 20px; font-size: 1.0625rem; }
.legal-body hr { border: 0; border-top: 1px solid var(--line); margin: 12px 0; width: 100%; }
.legal-body a { text-decoration: underline; text-underline-offset: 3px; }

.status {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px var(--pad);
  text-align: center;
  background: var(--deep);
  color: var(--deep-ink);
}
.status img { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 32px; }
.status .t-xl { margin-top: 20px; }
.status p.t-lead { margin: 20px auto 0; }
.status .actions { justify-content: center; margin-top: 36px; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--deep);
  color: var(--deep-ink);
  padding-top: clamp(72px, 12vh, 140px);
  overflow: hidden;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 0.6fr));
  gap: 40px 32px;
}
.footer-note { max-width: 36ch; color: var(--deep-ink-2); }
.footer-col { display: grid; gap: 10px; align-content: start; font-size: 0.9375rem; }
.footer-col strong {
  margin-bottom: 6px;
  font: 500 0.75rem var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--deep-ink-2);
}
.footer-col a { justify-self: start; opacity: 0.85; transition: opacity 0.2s; }
.footer-col a:hover { opacity: 1; }
.footer-col span { color: var(--deep-ink-2); font-size: 0.875rem; }
.wordmark {
  margin-top: clamp(64px, 10vh, 120px);
  font-family: var(--font-serif);
  font-size: clamp(4rem, 20.5vw, 25rem);
  line-height: 0.8;
  padding-bottom: 0.14em;
  letter-spacing: -0.035em;
  white-space: nowrap;
  text-align: center;
  color: var(--deep-ink);
  transform: translate3d(0, var(--wy, 0px), 0);
}
.wordmark em { color: var(--signal); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding: 24px 0 max(28px, env(safe-area-inset-bottom));
  margin-top: 24px;
  border-top: 1px solid var(--deep-line);
  font-size: 0.8125rem;
  color: var(--deep-ink-2);
}
@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
}

/* =========================================================
   Toasts & misc
   ========================================================= */
.toast-stack {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 300;
  display: grid;
  gap: 8px;
  justify-items: center;
  transform: translateX(-50%);
  pointer-events: none;
}
.toast {
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.875rem;
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.4);
  animation: toast-in 0.6s var(--ease-out);
  transition: opacity 0.25s, transform 0.25s;
}
.toast.error { background: var(--danger); color: #fff; }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(0.96); } }

.burst-host { position: fixed; z-index: 400; pointer-events: none; }
.burst-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: burst 0.8s var(--ease-out) var(--delay, 0ms) forwards;
}
@keyframes burst { to { transform: translate(var(--dx), var(--dy)) scale(var(--scale)); opacity: 0; } }

/* =========================================================
   Accessibility preferences
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .marquee-track { animation: none; }
  .js .media--reveal { clip-path: none; }
  .js .hero-media { scale: none; }
  [data-parallax] img { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .nav::before { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav.is-dark::before { background: var(--deep); }
  .btn--ghost-light, .rail-kind { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@media (prefers-contrast: more) {
  :root { --ink-2: #2f3530; --ink-3: #4a504b; --line: rgba(16, 23, 18, 0.4); --line-strong: rgba(16, 23, 18, 0.7); }
}

/* ---------- Late additions ---------- */
.row--simple { grid-template-columns: 80px minmax(0, 1fr); }
.row--simple strong { grid-column: 2; }
@media (max-width: 760px) { .row--simple { grid-template-columns: 48px 1fr; } }
.code-inline {
  text-align: left;
  border-bottom: 1px dashed var(--line-strong);
  transition: border-color 0.3s;
}
.code-inline:hover { border-color: var(--ink); }
.code-inline.copied strong::after { content: " ✓"; color: var(--green); }
.page-head .big-mail { margin-top: 24px; }
.status .label { justify-content: center; }
.status .t-lead { max-width: 40ch; }
.hint { display: block; margin-top: 12px; }
.rail-wrap .hint { margin-top: 4px; }
.status .t-lead, .status .label { color: var(--deep-ink-2); }
@media (max-width: 600px) {
  .products { grid-template-columns: 1fr 1fr; gap: 36px 12px; }
  .product-photo img { inset: 8%; width: 84%; height: 84%; }
  .product-title { font-size: 0.9375rem; }
  .product-top { flex-direction: column; gap: 2px; }
  .product-desc { font-size: 0.8125rem; }
  .product-desc.is-clamped { -webkit-line-clamp: 4; }
  .product-actions .btn { width: 100%; padding: 0 12px; }
  .badge { font-size: 0.625rem; padding: 4px 7px; }
  .product-badges { left: 8px; top: 8px; }
}

/* =========================================================
   Phones — tighter rhythm, content before decoration,
   thumb-sized targets, no hover-only affordances
   ========================================================= */
@media (max-width: 760px) {
  :root {
    --pad: 20px;
    --section: clamp(64px, 11vh, 96px);
  }
  body { font-size: 0.9375rem; }
  h1, h2, h3, .t-xl, .t-h2, .t-h3, .quote, .statement-text { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

  .t-xl { font-size: clamp(2.6rem, 11.5vw, 3.6rem); line-height: 0.95; }
  .t-h2 { font-size: clamp(2.1rem, 9vw, 2.9rem); }
  .t-h3 { font-size: clamp(1.6rem, 7vw, 2rem); }
  .t-lead { font-size: 1.0625rem; }

  /* bigger tap targets */
  .lang-btn { padding: 12px 6px; }
  .chip { min-height: 44px; padding: 0 16px; }
  .btn { min-height: 50px; }
  .btn--sm { min-height: 40px; }
  .actions .btn--lg { width: 100%; }
  .actions { gap: 12px; }

  /* home hero */
  .hero { min-height: 560px; max-height: none; }
  .hero-media img { object-position: 72% 50%; }
  .hero-title { font-size: clamp(2.5rem, 11.5vw, 3.4rem); hyphens: manual; }
  .hero-kicker { font-size: 0.8125rem; }
  .hero-proof { gap: 12px; }

  .page-head { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 32px; }
  .page-head-grid { margin-top: 18px; gap: 20px; }
  .media--wide { aspect-ratio: 4 / 3; }

  .statement-text { font-size: clamp(1.75rem, 7.6vw, 2.25rem); margin-top: 24px; }
  .facts { margin-top: 40px; }
  .number strong { font-size: clamp(4rem, 20vw, 5.5rem); }

  /* full-screen photos: shorter scroll, no sticky jank behind the browser bar */
  .scene { height: auto; }
  .scene-sticky { position: relative; height: 82svh; min-height: 480px; }
  .scene-copy .t-h2 { max-width: none; }

  .marquee { padding: 16px 0; }
  .index-head { margin-bottom: 24px; }

  /* catalog */
  .season { padding: 22px; gap: 24px; border-radius: var(--radius); }
  .group-head { margin-bottom: 28px; }
  .promo { padding: 28px 22px; border-radius: var(--radius); }
  .promo .t-h2 { max-width: none; }
  .code { width: 100%; justify-content: space-between; padding: 14px 14px 14px 22px; }

  /* ebook */
  .ebook-hero { padding-top: calc(var(--nav-h) + 28px); }
  .ebook-grid { gap: 32px; }
  .ebook-cover { width: min(58%, 260px); }
  .ebook-copy .t-xl { margin-top: 16px; font-size: clamp(2.6rem, 11vw, 3.4rem); }
  .price { flex-wrap: wrap; gap: 6px 12px; margin-top: 24px; }
  .price strong { white-space: nowrap; font-size: 3rem; }
  .offer .price { flex-direction: column; align-items: center; }
  .row { padding: 22px 0; gap: 8px 16px; }
  .row strong { font-size: 1.375rem; }
  .two-col { gap: 20px; }

  /* community */
  .ig-stats { gap: 18px 28px; margin-top: 28px; }
  .ig-stats .btn { width: 100%; }
  .rail { gap: 12px; padding-bottom: 16px; }
  .rail-card { flex-basis: 64vw; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery-item { margin-bottom: 10px; }
  .review-text { font-size: 1.3rem; }
  .panel { padding: 22px; border-radius: var(--radius); }

  /* about */
  .hello { gap: 28px; }
  .hello .media { max-width: none; aspect-ratio: 4 / 5; }
  .hello .t-xl { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .quote { font-size: clamp(1.9rem, 8.4vw, 2.5rem); }
  .byline { margin-top: 28px; }
  .stat-pair { gap: 16px; }
  .tags span { font-size: 0.875rem; padding: 8px 14px; }

  /* faq: questions first, picture after */
  .faq-list { order: -1; }
  .faq .media--tall, .two-col > .media--tall { aspect-ratio: 16 / 10; }
  .faq-q { padding: 22px 0; font-size: 1.375rem; gap: 16px; }
  .faq-icon { width: 36px; height: 36px; }
  .faq-a p { padding: 0 0 24px; font-size: 1rem; }

  /* contact: form before decoration */
  .contact-grid { gap: 40px; }
  .contact-aside .media { display: none; }
  .big-mail { font-size: clamp(1.4rem, 6.6vw, 1.9rem); }

  /* footer */
  .footer { padding-top: 64px; }
  .footer-top { gap: 32px 20px; }
  .footer-col a, .footer-col span { overflow-wrap: anywhere; }
  .footer-col a { padding: 4px 0; }
  .wordmark { margin-top: 48px; font-size: 19vw; padding-bottom: 0.2em; }
  .footer-bottom { flex-direction: column; margin-top: 0; }

  .lightbox-bar, .lightbox-foot { padding-inline: 16px; }
  .lightbox-foot { flex-direction: column; align-items: stretch; }
  .lightbox-nav { justify-content: flex-end; }
}

/* No hover on touch: swipe replaces arrows, no sticky hover states */
@media (hover: none) {
  .rail-buttons { display: none; }
  .rail { cursor: auto; }
  .btn::before { transition-duration: 0.2s; }
  .btn:hover::before { transform: translateY(101%); }
  .btn:hover { color: var(--btn-fg); }
  .btn:active::before { transform: none; }
  .product:hover .product-photo img { transform: none; }
}

@media (max-width: 380px) {
  .nav-brand span { font-size: 0.75rem; }
  .segmented button { font-size: 0.8125rem; padding: 0 6px; }
  .products { gap: 28px 10px; }
}
@media (max-width: 760px) {
  .label { font-size: 0.6875rem; letter-spacing: 0.06em; line-height: 1.4; }
}
@media (max-width: 900px) {
  .season-side { order: -1; }
}
