/* gardenofiron.com
   One motif: the weight plate seen on its edge, the shape of the logo's plates and of the app's
   plate strip (one plate per set). It is the hero, the stage every app screen stands on, the bullet,
   the button, the tier cards folding onto a bar, and the garden bed. A plate's corners are rounded to
   30% of its thickness.
   Colours and type are the app's own (the garden-of-iron redesign): sage ground, ink, one green, Barlow
   Condensed for titles and figures, Inter for text. Interface fragments (data-ui) follow the app.
   No inline styles anywhere: the site is served with style-src 'self'. */

@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/barlow-condensed-800.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Inter Variable"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/inter-var.woff2") format("woff2-variations"); }

:root {
  --ground: #edf0e8;          /* sage */
  --ground-2: #e1e6dc;        /* one tone step: a tile, a panel */
  --ground-3: #d3dbcc;        /* two steps */
  --surface: #ffffff;
  --ink: #131713;
  --muted: #4f5951;           /* 6.3:1 on the ground */
  --accent: #1f7a45;          /* the one green: the action and the plate */
  --accent-hover: #186638;
  --accent-ink: #ffffff;
  --leaf: #8fdc5d;            /* the logo's second plate */
  --leaf-pale: #cdeeb6;
  --deep: #123a22;            /* deep green */
  --iron: #131713;            /* dark fields */
  --iron-2: #252c26;
  --on-iron: #eef2ed;
  --on-iron-muted: #b0bab3;
  --bar: #3a3f48;             /* the bar, iron grey */
  --red: #d23a2f; --blue: #2463d6; --yellow: #d9a216; --green: #2f9a55; --black: #3a3f48; /* bumper plates = team colours */
  /* the app, inside interface fragments */
  --ui-card: #ffffff; --ui-raised: #f4f6f1; --ui-line: #dfe4da; --ui-rule: #ebeee7; --ui-control: #c5cdbf;
  --ui-chip: #e8ece4; --ui-active: #e1e6dc; --ui-ink: #131713; --ui-muted: #566058; --ui-accent: #1f7a45; --ui-accent-ink: #ffffff;
  --ui-good-bg: #dff2e3;
  /* the stick figures */
  --fig-ink: var(--ink); --fig-arm: var(--accent); --fig-far: #566058; --fig-line: #c5cdbf; --fig-kit: #6b756d; --fig-pad: #e1e6dc;

  --font-display: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", sans-serif;
  --font-text: "Inter Variable", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* five steps */
  --step-display: clamp(84px, 12.4vw, 224px);
  --step-head: clamp(34px, 4.3vw, 70px);
  --step-lead: clamp(20px, 1.6vw, 24px);
  --step-body: 17px;
  --step-small: 14px;

  --m: clamp(20px, 2.2vw, 32px);         /* page margin */
  --g: clamp(12px, 1.4vw, 24px);         /* gutter */
  --section: clamp(96px, 10vw, 160px);  /* between sections */
  --r: clamp(22px, 2.5vw, 36px);         /* tiles and panels */

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0c0e0d;
    --ground-2: #161b18;
    --ground-3: #202722;
    --surface: #151918;
    --ink: #eef2ed;
    --muted: #a7b1aa;
    --accent: #1f7a45;
    --accent-hover: #24894e;
    --leaf: #8fdc5d;
    --leaf-pale: #b9e69a;
    --deep: #123a22;
    --iron: #1a201c;
    --iron-2: #2a322c;
    --bar: #59606b;
    --ui-card: #151918; --ui-raised: #1c201f; --ui-line: #232826; --ui-rule: #1f2422; --ui-control: #3d4441;
    --ui-chip: #1f2422; --ui-active: #262b29; --ui-ink: #eef2ed; --ui-muted: #a3ada6; --ui-accent: #6fcf62; --ui-accent-ink: #0b150d;
    --ui-good-bg: #17291a;
    --fig-ink: #eef2ed; --fig-arm: #6fcf62; --fig-far: #a3ada6; --fig-line: #3d4441; --fig-kit: #8b958e; --fig-pad: #262b29;
    color-scheme: dark;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 var(--step-body)/1.55 var(--font-text); font-kerning: normal; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, fieldset, legend { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; hyphens: none; }
strong { font-weight: 650; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: var(--m); top: 12px; z-index: 30; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: var(--ground); font-weight: 600; text-decoration: none; transform: translateY(-180%); transition: transform var(--t-hover) var(--ease-out); }
.skip:focus { transform: none; }
[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; }

.display { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: var(--step-display); line-height: 0.86; letter-spacing: 0; }
.head { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: var(--step-head); line-height: 0.95; letter-spacing: 0.005em; }
.lead { font-size: var(--step-lead); line-height: 1.4; }
.small { font-size: var(--step-small); line-height: 1.5; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* The button is a plate laid flat: corners at 30% of its height. */
.btn {
  --h: 58px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 30px; border-radius: calc(var(--h) * 0.3);
  background: var(--accent); color: var(--accent-ink);
  font: 650 var(--step-body)/1 var(--font-text); text-decoration: none; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn.small { --h: 46px; padding: 0 22px; }
.btn.on-dark { background: var(--leaf); color: #131713; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--accent-hover); }
  .btn.on-dark:hover { background: #a6e67c; }
}
.link { text-decoration: underline; text-decoration-color: color-mix(in oklab, currentColor 40%, transparent); transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: currentColor; } }

/* A list whose bullets are plates. */
.plates li { position: relative; padding-left: 26px; }
.plates li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 10px; height: 1.05em; border-radius: 3px; background: var(--accent); }

/* ---------- header ---------- */
.top { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px var(--m); }
.top.over-hero { position: absolute; inset: 0 0 auto 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 9px; }
.brand span { font-family: var(--font-display); font-weight: 800; font-size: var(--step-lead); line-height: 1; text-transform: uppercase; white-space: nowrap; }
.brand em { font-style: normal; text-transform: lowercase; color: var(--accent); }
.top nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); font-weight: 600; }
.top nav a { display: inline-block; padding: 12px 0; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.3em; transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .top nav a:hover { text-decoration-color: currentColor; } }

/* ---------- hero: the end of a loaded bar, enormous ---------- */
.hero { --H: clamp(680px, 100svh, 1000px); position: relative; min-height: var(--H); overflow: clip; }
.hero-copy { position: relative; z-index: 2; min-height: var(--H); display: flex; flex-direction: column; justify-content: center; padding: 120px var(--m) 64px; max-width: 50vw; }
.hero h1 { margin-left: -0.035em; }
.hero h1 .ln { display: block; }
.hero .lead { margin-top: 40px; max-width: 30ch; }
.hero .act { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hero .act p { color: var(--muted); max-width: 31ch; font-size: var(--step-small); }
.hero-art { position: absolute; inset: 0; z-index: 1; }
.hero-art > svg { position: absolute; display: block; overflow: visible; }
.shape rect { fill: currentColor; }
.hero-art .bar { right: 0; left: 52vw; top: calc(var(--H) * 0.485); height: calc(var(--H) * 0.11); width: 48vw; color: var(--bar); }
.hero-art .collar { right: 45.4vw; width: 4.4vw; top: calc(var(--H) * 0.39); height: calc(var(--H) * 0.30); color: var(--ink); }
.hero-art .small-plate { right: 26vw; width: 18vw; top: calc(var(--H) * 0.14); height: calc(var(--H) * 0.80); color: var(--leaf); }
.hero-art .big-plate { right: -2vw; width: 26.6vw; top: calc(var(--H) * -0.08); height: calc(var(--H) * 1.16); color: var(--accent); }
.hero-shot { position: absolute; right: var(--m); width: 20vw; top: calc(var(--H) * 0.54); translate: 0 -50%; }
.shot { display: block; overflow: clip; border-radius: clamp(14px, 1.3vw, 22px); background: var(--surface); }
.shot img { width: 100%; }
@media (min-width: 1100px) { .top.over-hero nav { color: #edf0e8; } }

/* ---------- loads: pick a lift, type a max ---------- */
.loads { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: end; padding: clamp(72px, 8vw, 128px) var(--m) 0; background: var(--ground-2); overflow: clip; }
.lifts { grid-column: 1 / span 4; grid-row: 1; align-self: end; padding-bottom: clamp(56px, 7vw, 112px); }
.lifts legend { margin-bottom: 0.18em; }
.lifts label { color: var(--muted); }
.lifts legend .head { color: var(--ink); }
.lifts input { position: absolute; opacity: 0; pointer-events: none; }
.lifts label { display: block; width: fit-content; cursor: pointer; padding: 0.04em 0; transition: color var(--t-hover) ease; }
.lifts input:checked + label { color: var(--ink); }
.lifts input:checked + label::after { content: ""; display: inline-block; width: 0.17em; height: 0.66em; margin-left: 0.26em; border-radius: 0.05em; background: var(--accent); }
.lifts input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
@media (hover: hover) and (pointer: fine) { .lifts label:hover { color: var(--ink); } }

.stage { grid-column: 5 / span 5; grid-row: 1; position: relative; display: grid; justify-items: center; padding-top: 0; }
.stage-plate { --pw: min(30vw, 450px); position: absolute; z-index: 0; left: 50%; translate: -50% 0; top: 76px; height: calc(100% - 76px + var(--pw) * 0.3); width: var(--pw); color: var(--red); transition: color 300ms ease; }
.loads:has(#lift-bs:checked) .stage-plate { color: var(--blue); }
.loads:has(#lift-bp:checked) .stage-plate { color: var(--yellow); }
.loads:has(#lift-tb:checked) .stage-plate { color: var(--green); }
.loads:has(#lift-pp:checked) .stage-plate { color: var(--black); }
.cards { position: relative; z-index: 1; display: grid; width: min(28vw, 420px); margin-bottom: clamp(56px, 7vw, 112px); }
.cards > * { grid-area: 1 / 1; }
.lift-card, .fact { opacity: 0; visibility: hidden; transition: opacity 300ms ease, visibility 0s linear 300ms; }
.loads:has(#lift-pc:checked) [data-lift="pc"], .loads:has(#lift-bs:checked) [data-lift="bs"], .loads:has(#lift-bp:checked) [data-lift="bp"],
.loads:has(#lift-tb:checked) [data-lift="tb"], .loads:has(#lift-pp:checked) [data-lift="pp"] { opacity: 1; visibility: visible; transition: opacity 300ms ease, visibility 0s; }
.facts { grid-column: 10 / span 3; grid-row: 1; align-self: end; display: grid; gap: 18px; padding-bottom: clamp(56px, 7vw, 112px); }
.facts .fact { grid-area: 2 / 1; display: grid; gap: 14px; align-content: start; }
.facts .lead strong { font-weight: 700; white-space: nowrap; }
.facts-lead { grid-row: 1; font-weight: 600; }
.facts .tip { color: var(--muted); }
.facts > .small { grid-row: 3; }

/* the stick figures */
.stick path, .stick line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.stick .body { stroke: var(--fig-ink); stroke-width: 6; }
.stick .far { stroke: var(--fig-far); stroke-width: 6; opacity: 0.55; }
.stick .head { fill: var(--fig-ink); }
.stick .arm { stroke: var(--fig-arm); stroke-width: 5; }
.stick .far.arm { stroke: var(--fig-arm); }
.stick .ghost .body, .stick .ghost .head, .stick .ghost .far { opacity: 0.22; }
.stick .floor { stroke: var(--fig-line); stroke-width: 3; }
.stick .kit { stroke: var(--fig-kit); stroke-width: 4; }
.stick .kit.thin { stroke-width: 3; }
.stick .hollow { fill: none; }
.stick .pad { fill: var(--fig-pad); stroke: var(--fig-kit); stroke-width: 2; }
.stick .plate { fill: var(--fig-kit); stroke: var(--fig-ink); stroke-width: 2; }
.stick .bell { fill: var(--fig-ink); }
.stick .ball { fill: var(--leaf); stroke: var(--fig-ink); stroke-width: 2; }
.stick .cable { stroke: var(--fig-kit); stroke-width: 2; }

/* ---------- app fragments: the app's own panels, inputs and plate strip ---------- */
[data-ui] { font-family: var(--font-text); color: var(--ui-ink); }
[data-ui] .ui-label { font-size: 13px; color: var(--ui-muted); font-weight: 500; }
[data-ui] .ui-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 28px; line-height: 1; }
[data-ui] .ui-muted { color: var(--ui-muted); font-size: 15px; }
[data-ui] .small-ui { font-size: 13px; line-height: 1.4; }
[data-ui] .strip { display: flex; flex-wrap: wrap; gap: 6px 10px; }
[data-ui] .strip .ex { display: inline-flex; gap: 3px; }
[data-ui] .strip i { display: block; width: 10px; height: 18px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--ui-control); transition: background-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
[data-ui] .strip i.on { background: var(--ui-accent); box-shadow: inset 0 0 0 1.5px var(--ui-accent); }

.lift-card[data-ui] { background: var(--ui-card); border: 1px solid var(--ui-line); border-radius: 16px; padding: 14px 18px 20px; display: grid; gap: 6px; align-content: start; }
[data-ui].lift-card .stick { width: 100%; height: auto; aspect-ratio: 1.25; max-height: 250px; margin: 0 auto 4px; background: var(--ui-raised); border-radius: 12px; }
[data-ui].lift-card .ui-title { font-size: 30px; margin-top: 2px; }
[data-ui].lift-card .ui-max { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 10px; margin-top: 10px; }
[data-ui].lift-card .ui-max label { grid-column: 1 / -1; font-size: 13px; color: var(--ui-muted); font-weight: 500; }
[data-ui].lift-card .ui-stepper { display: flex; gap: 6px; align-items: center; }
[data-ui].lift-card .ui-input { width: 100%; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid transparent; border-radius: 12px; background: var(--ui-raised); color: var(--ui-ink); font: 600 26px/1 var(--font-display); text-align: right; }
[data-ui].lift-card .ui-input:focus { outline: 2px solid var(--ui-accent); outline-offset: 1px; }
[data-ui].lift-card .ui-input[readonly] { background: transparent; text-align: left; padding: 0; height: auto; }
[data-ui].lift-card .ui-step { flex: none; width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--ui-control); background: var(--ui-card); color: var(--ui-ink); font: 600 22px/1 var(--font-text); cursor: pointer; transition: transform var(--t-press) var(--ease-out), border-color var(--t-hover) ease; }
[data-ui].lift-card .ui-step:active { transform: scale(0.94); }
[data-ui].lift-card .ui-units { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--ui-chip); }
[data-ui].lift-card .ui-units button { min-width: 44px; height: 42px; border: 0; border-radius: 999px; background: transparent; color: var(--ui-muted); font: 600 15px/1 var(--font-text); cursor: pointer; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
[data-ui].lift-card .ui-units button[aria-pressed="true"] { background: var(--ui-card); color: var(--ui-ink); }
[data-ui].lift-card .ui-units button:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .lift-card .ui-step:hover { border-color: var(--ui-muted); } }
[data-ui].lift-card .ui-target { font: 600 22px/1 var(--font-display); color: var(--ui-muted); margin-top: 12px; }
[data-ui].lift-card .ui-fig { font-size: 52px; font-weight: 800; color: var(--ui-ink); letter-spacing: -0.01em; }
[data-ui].lift-card .strip { margin-top: 8px; }
[data-ui].lift-card .strip i { width: 12px; height: 24px; border-radius: 4px; background: var(--ui-accent); box-shadow: inset 0 0 0 1.5px var(--ui-accent); }

/* ---------- tiers: three cards that fold onto the bar like plates ---------- */
.tiers { padding: var(--section) var(--m) 0; overflow-x: clip; }
.tiers-head { display: grid; gap: 18px; max-width: 1100px; }
.tiers-head .lead { max-width: 44ch; }
.deck { margin-top: 48px; display: grid; gap: 28px; }
.tier { --tier-ink: #131713; --tier-soft: #24301f; position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 28px; align-content: space-between; min-height: 400px; padding: clamp(28px, 3vw, 44px); border-radius: var(--r); background: var(--leaf); color: var(--tier-ink); overflow: clip; }
.tier.t2 { background: var(--accent); --tier-ink: #ffffff; --tier-soft: #d8ecdc; }
.tier.t3 { background: var(--deep); --tier-ink: #eef2ed; --tier-soft: #b9cbbd; }
.tier h3 { grid-column: 1 / span 6; white-space: normal; }
.tier .tier-body { grid-column: 7 / span 6; display: grid; gap: 22px; align-content: start; }
.tier .plates { display: grid; gap: 10px; }
.tier .plates li::before { background: currentColor; }
.tier-foot { grid-column: 7 / -1; grid-row: 2; display: flex; justify-content: flex-end; gap: 16px; font-weight: 600; color: var(--tier-ink); align-self: end; }
[data-ui].tier-ui { grid-column: 1 / span 6; grid-row: 2; align-self: end; width: min(100%, 440px); background: var(--ui-card); color: var(--ui-ink); border-radius: 16px; padding: 14px 16px; display: grid; gap: 8px; }
[data-ui].tier-ui .ui-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; }
[data-ui].tier-ui .ui-row b { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 22px; }
[data-ui].tier-ui .ui-row span, [data-ui].tier-ui .ui-muted { font-size: 13px; color: var(--ui-muted); }
[data-ui] .ui-people, [data-ui] .ui-teams { display: grid; font-size: 14px; }
[data-ui] .ui-teams { grid-template-columns: 1fr 1fr; column-gap: 18px; }
[data-ui] .ui-teams li:nth-child(2) { border-top: 0; }
[data-ui] .ui-people li, [data-ui] .ui-teams li { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--ui-rule); }
[data-ui] .ui-people li:first-child, [data-ui] .ui-teams li:first-child { border-top: 0; }
[data-ui] .ui-people li span:first-child { flex: 1; font-weight: 550; }
[data-ui] .ui-teams li span { flex: 1; font-weight: 550; }
[data-ui] .ui-teams b { font-weight: 600; }
[data-ui] .ui-teams .dot { width: 7px; height: 13px; border-radius: 2px; }
[data-ui] .pill { display: inline-flex; align-items: center; flex: none; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; background: var(--ui-chip); color: var(--ui-muted); }
[data-ui] .pill.good { background: var(--ui-good-bg); color: #1f7a45; }
[data-ui] .pill.warn { background: #fdf0d8; color: #8a5300; }
.tiers-after { margin-top: 32px; font-size: var(--step-lead); }
.tier .spine { display: none; }


/* ---------- how: four stages, each tile bigger than the last ---------- */
.how { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); padding: var(--section) var(--m) 0; }
.how-head { grid-column: 1 / span 5; grid-row: 1; align-self: start; display: grid; gap: 18px; z-index: 1; }
.how-head .lead { max-width: 30ch; }
.grow { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: subgrid; align-items: end; }
.grow > li { display: grid; gap: 10px; align-content: end; }
.grow .g1 { grid-column: span 2; } .grow .g2 { grid-column: span 3; } .grow .g3 { grid-column: span 3; } .grow .g4 { grid-column: span 4; }
.grow .tile { position: relative; overflow: clip; border-radius: var(--r); margin-bottom: 10px; display: grid; place-items: center; }
.grow .g1 .tile { height: clamp(220px, 26vh, 270px); background: var(--ground-3); }
.grow .g2 .tile { height: clamp(300px, 36vh, 380px); background: var(--leaf); }
.grow .g3 .tile { height: clamp(390px, 48vh, 500px); background: var(--accent); }
.grow .g4 .tile { height: clamp(500px, 63vh, 660px); background: var(--iron); place-items: start center; }
.grow h3 { font-size: var(--step-lead); font-weight: 650; line-height: 1.25; }
.grow li > p { max-width: 32ch; }
.grow .g4 > p { max-width: none; }
.grow .g4 .shot { width: 72%; margin-top: 9%; }
.how-note { grid-column: 1 / -1; margin-top: 28px; }

[data-ui].ui-sheet { position: absolute; left: 18px; top: 22px; width: 330px; background: var(--ui-card); border-radius: 10px; padding: 0 0 6px; font-size: 13px; overflow: clip; }
[data-ui].ui-sheet .ui-file { display: block; padding: 8px 12px; font-weight: 600; font-size: 12px; background: #1d6f40; color: #fff; }
[data-ui].ui-sheet table { border-collapse: collapse; width: 100%; }
[data-ui].ui-sheet th, .ui-sheet td { border: 1px solid var(--ui-line); padding: 5px 8px; text-align: left; white-space: nowrap; font-weight: 400; }
[data-ui].ui-sheet thead th, .ui-sheet tbody th { background: var(--ui-raised); color: var(--ui-muted); font-size: 11px; text-align: center; }
[data-ui].ui-sheet td.num { text-align: right; }
[data-ui].ui-sheet tbody tr:first-child td { font-weight: 600; }
[data-ui].ui-assign { width: calc(100% - 36px); max-width: 300px; background: var(--ui-card); border: 1px solid var(--ui-line); border-radius: 16px; padding: 14px; display: grid; gap: 7px; }
[data-ui].ui-assign .ui-name { font-weight: 650; font-size: 15px; }
[data-ui].ui-assign .ui-row { display: flex; gap: 8px; }
[data-ui].ui-assign .ui-field { flex: 1; display: grid; gap: 4px; font-size: 12px; color: var(--ui-muted); font-weight: 500; }
[data-ui].ui-assign .ui-field b { font-weight: 500; font-size: 14px; color: var(--ui-ink); border: 1px solid var(--ui-control); border-radius: 12px; padding: 9px 10px; }
[data-ui].ui-assign .ui-chips { display: flex; flex-wrap: wrap; gap: 6px; }
[data-ui].ui-assign .ui-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: var(--ui-chip); font-size: 13px; font-weight: 550; }
[data-ui].ui-assign .ui-chip.on { background: var(--ui-ink); color: var(--ui-card); }
[data-ui].ui-assign .dot { width: 7px; height: 13px; border-radius: 2px; }
.dot.red { background: var(--red); } .dot.blue { background: var(--blue); } .dot.yellow { background: var(--yellow); } .dot.green { background: var(--green); } .dot.black { background: var(--black); }
[data-ui].ui-assign .ui-note { font-size: 13px; padding: 9px 11px; border-radius: 12px; background: var(--ui-good-bg); color: var(--ui-ink); }
[data-ui].ui-today { width: calc(100% - 36px); max-width: 300px; background: var(--ui-card); border: 1px solid var(--ui-line); border-radius: 16px; padding: 16px; display: grid; gap: 10px; }
[data-ui].ui-today .ui-title { font-size: 24px; }
[data-ui].ui-today .ui-loads { display: grid; font-size: 14px; }
[data-ui].ui-today .ui-loads li { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid var(--ui-rule); }
[data-ui].ui-today .ui-loads b { font-weight: 600; }
[data-ui].ui-today .ui-foot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ui-muted); }
[data-ui].ui-today .ui-btn { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; background: var(--ui-accent); color: var(--ui-accent-ink); font-weight: 650; font-size: 14px; }

/* ---------- the bed: a whole block, one plate per set ---------- */
.bed-band { margin-top: var(--section); background: var(--iron); color: var(--on-iron); padding: clamp(56px, 6vw, 96px) var(--m) clamp(40px, 5vw, 72px); display: grid; gap: 36px; }
.bed { --pw: clamp(5px, 0.82vw, 13px); display: grid; gap: calc(var(--pw) * 0.95); padding-top: 34px; }
.bed .wk { display: grid; grid-template-columns: 5.6em 1fr; align-items: center; font-size: var(--step-small); color: var(--on-iron-muted); }
.bed .days { display: flex; justify-content: space-between; gap: calc(var(--pw) * 1.8); }
.bed .day { position: relative; display: flex; gap: calc(var(--pw) * 0.8); }
.bed .day[data-day]::before { content: attr(data-day); position: absolute; left: 0; bottom: calc(100% + 12px); font-size: var(--step-small); color: var(--on-iron); white-space: nowrap; }
.bed .ex { display: flex; gap: calc(var(--pw) * 0.3); }
.bed i { display: block; width: var(--pw); height: calc(var(--pw) * 2.2); border-radius: calc(var(--pw) * 0.3); background: var(--leaf); }
.bed i.o { background: var(--iron-2); }
.bed-band figcaption { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 20px; color: var(--on-iron); }
.bed-band figcaption > p:first-child { grid-column: 1 / span 6; max-width: 62ch; }
.bed-band .legend { grid-column: 8 / span 5; display: flex; flex-wrap: wrap; gap: 12px 32px; align-content: start; }
.bed-band .legend span { display: inline-flex; align-items: center; gap: 12px; }
.bed-band .legend i { display: block; width: 13px; height: 28px; border-radius: 4px; background: var(--leaf); }
.bed-band .legend i.o { background: var(--iron-2); }

/* ---------- the weight room: lines that tick like sets ---------- */
.room { padding-top: var(--section); }
.room-head { padding: 0 var(--m) 40px; display: grid; gap: 18px; }
.room-head .lead { max-width: 46ch; }
.tick { --k: var(--leaf); --k-ink: #131713; transition: background-color 220ms ease; }
.tick summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--g); align-items: center; min-height: max(118px, 14vh); padding: 20px var(--m); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tick summary::-webkit-details-marker { display: none; }
.tick-line { color: var(--muted); transition: color 220ms ease; }
.tick .box { align-self: center; }
.tick-more { padding: 0 var(--m) 28px; max-width: calc(64ch + 2 * var(--m)); color: var(--k-ink); }
@media (prefers-reduced-motion: no-preference) { .tick[open] .tick-more { animation: rise 320ms var(--ease-out) both; } }
.tick[open] { background: var(--k); }
.tick[open] .tick-line { color: var(--k-ink); }
.tick summary:focus-visible { outline: 3px solid var(--accent); outline-offset: -6px; }
.tick.k2 { --k: var(--ground-3); }
.tick.k3 { --k: var(--yellow); }
.tick.k4 { --k: var(--accent); --k-ink: #ffffff; }
.tick.k5 { --k: var(--leaf-pale); }
.tick.k6 { --k: var(--blue); --k-ink: #ffffff; }
@media (prefers-color-scheme: dark) { .tick.k2 { --k: var(--ground-3); --k-ink: var(--ink); } }
[data-ui].box { display: block; width: 52px; height: 52px; overflow: visible; transition: transform var(--t-press) var(--ease-out); }
[data-ui].box rect { fill: var(--ui-card); stroke: var(--ui-control); stroke-width: 2; transition: fill 160ms ease, stroke 160ms ease; }
[data-ui].box path { fill: none; stroke: var(--ui-accent-ink); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; scale: 0.6; transform-origin: 50% 50%; transition: opacity 160ms ease, scale 200ms var(--ease-out); }
.tick[open] [data-ui].box rect { fill: var(--ui-accent); stroke: var(--ui-accent); }
.tick[open] [data-ui].box path { opacity: 1; scale: 1; }
.tick.k4[open] [data-ui].box rect, .tick.k6[open] [data-ui].box rect { fill: #ffffff; stroke: #ffffff; }
.tick.k4 [data-ui].box path { stroke: var(--accent); }
.tick.k6 [data-ui].box path { stroke: var(--blue); }
.tick summary:active [data-ui].box { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .tick summary:hover .tick-line { color: var(--ink); } .tick[open] summary:hover .tick-line { color: var(--k-ink); } }

/* ---------- the seed library: a specimen sheet ---------- */
.library { padding: var(--section) var(--m) 0; }
.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cell { position: relative; aspect-ratio: 1; border-radius: var(--r); background: var(--ground-2); display: grid; place-items: center; overflow: clip; }
.cell .cap { position: absolute; left: 12px; right: 12px; top: 20px; text-align: center; font-size: var(--step-small); font-weight: 600; }
.cell .stick { height: 66%; width: auto; max-width: 84%; margin-top: 9%; }
.cell.alt { background: var(--surface); }
.cell.leaf { background: var(--leaf); color: #131713; --fig-ink: #131713; --fig-far: #3b5a2c; --fig-arm: var(--deep); --fig-line: #6fb246; --fig-pad: #b4ea8f; --fig-kit: #2d5a1b; }
.c-word { background: var(--accent); color: #ffffff; }
.c-word h2 { font-size: var(--step-head); text-align: center; line-height: 0.92; }
.c-num { background: var(--ground-3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.c-num .cap { position: static; }
.c-num .display { margin-top: 0.1em; }
.c-num.iron { background: var(--iron); color: var(--on-iron); }
.c-num.green { background: var(--deep); color: var(--on-iron); }
.programs { margin-top: 8px; border-radius: var(--r); background: var(--ground-2); padding: clamp(28px, 4vw, 64px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 40px; }
.programs-intro { grid-column: 1 / span 4; display: grid; gap: 22px; align-content: start; justify-items: start; }
.programs-intro .head { font-size: var(--step-head); }
.programs-list { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--g); row-gap: 28px; }
.programs-list h4 { font-size: var(--step-body); font-weight: 700; margin-bottom: 10px; }
.programs-list h4 ~ h4 { margin-top: 26px; }
.programs-list .plates { display: grid; gap: 7px; }

/* ---------- price ---------- */
.price { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); padding: var(--section) var(--m) 0; align-items: center; }
.price-text { grid-column: 1 / span 4; display: grid; gap: 18px; align-self: start; padding-top: clamp(24px, 4vw, 64px); }
.price-text p { max-width: 40ch; }
.price-fig { grid-column: 6 / span 7; display: grid; justify-items: start; gap: 30px; }
.figure { position: relative; display: flex; align-items: flex-start; line-height: 0.8; }
.figure .cur { font-family: var(--font-display); font-weight: 800; font-size: var(--step-display); line-height: 0.82; margin-right: 0.06em; color: var(--accent); }
.figure .amt { position: relative; font-size: calc(var(--step-display) * 2); line-height: 0.8; }
.figure .per { align-self: flex-end; font-size: var(--step-body); font-weight: 600; margin-left: 18px; line-height: 1; padding-bottom: 0.6em; }
.price-plate { position: absolute; left: 62%; top: -0.12em; width: 0.2em; height: 0.86em; color: var(--leaf); z-index: -1; }
.included { display: grid; gap: 10px; }

/* ---------- about ---------- */
.about { padding: var(--section) var(--m) 0; }
.panel { position: relative; overflow: clip; border-radius: var(--r); background: var(--iron); color: var(--on-iron); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); padding: clamp(32px, 4vw, 64px); min-height: min(100svh, 940px); grid-template-rows: auto 1fr; }
.panel h2 { grid-column: 1 / span 6; grid-row: 1; color: #eef2ed; }
.about-text { grid-column: 8 / span 5; grid-row: 1 / span 2; display: grid; gap: 40px; align-content: start; justify-items: start; padding-top: 8px; }
.about-text > div { display: grid; gap: 12px; max-width: 46ch; }
.about-text h3 { font-weight: 650; color: #eef2ed; }
.about-text p { color: var(--on-iron); }
.about-art { grid-column: 1 / span 6; grid-row: 2; position: relative; align-self: stretch; min-height: clamp(420px, 50svh, 560px); margin-top: 40px; margin-bottom: calc(clamp(32px, 4vw, 64px) * -1); }
.about-plate { position: absolute; left: 4%; top: 0; width: min(36vw, 520px); height: calc(100% + min(36vw, 520px) * 0.3); color: var(--accent); }
.about-art .shot { position: absolute; left: calc(4% + min(36vw, 520px) * 0.18); width: min(23vw, 330px); top: 13%; }

/* ---------- questions: index cards in a drawer ---------- */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); padding: var(--section) var(--m) 0; }
.faq > h2 { grid-column: 3 / span 8; margin-bottom: 32px; }
.drawer { grid-column: 3 / span 8; display: grid; }
.drawer { gap: 8px; }
.drawer details { --card: var(--surface); position: relative; border-radius: var(--r); background: var(--card); padding: 0 clamp(20px, 2.6vw, 40px) 24px; }
.drawer .q2, .drawer .q5, .drawer .q8 { --card: var(--ground-3); }
.drawer .q3, .drawer .q6 { --card: var(--leaf-pale); }
@media (prefers-color-scheme: dark) { .drawer .q3, .drawer .q6 { --card: var(--ground-2); } }
.drawer summary { list-style: none; cursor: pointer; display: grid; gap: 4px; padding-top: 20px; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer .tab { font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.drawer .q { display: block; font-size: var(--step-lead); font-weight: 650; line-height: 1.3; padding-right: 48px; }
.drawer summary::after { content: ""; position: absolute; right: clamp(20px, 2.6vw, 40px); top: 46px; width: 14px; height: 14px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; rotate: 45deg; transition: rotate 200ms var(--ease-out); }
.drawer details[open] summary::after { rotate: 225deg; top: 52px; }
.drawer details p { margin-top: 14px; max-width: 58ch; }
.drawer details[open] .tab { color: var(--ink); }
.drawer summary:focus-visible { outline: none; }
.drawer details:has(summary:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .drawer summary:hover .q { text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.2em; } }

/* ---------- footer: the mark, built large ---------- */
.foot { margin-top: var(--section); background: var(--iron); color: var(--on-iron); padding: clamp(48px, 6vw, 96px) var(--m) 28px; display: grid; gap: clamp(40px, 5vw, 72px); }
.mark svg { width: 100%; height: auto; }
.mark .mark-phone { display: none; }
.mark .m-bar { fill: #8a939b; }
.mark .m-big { fill: var(--accent); }
.mark .m-small { fill: var(--leaf); }
.mark .m-collar { fill: #d5dade; }
.mark .m-stem { fill: var(--leaf); }
.mark .m-leaf { fill: var(--leaf); }
.mark .m-leaf2 { fill: #9bd67a; }
.foot-cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 40px; }
.foot-cols nav { grid-column: 1 / span 8; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--g); row-gap: 32px; }
.foot-cols h2 { font-size: var(--step-body); font-weight: 700; margin-bottom: 12px; color: #eef2ed; }
.foot-cols ul { display: grid; gap: 4px; }
.foot-cols a { display: inline-block; padding: 4px 0; }
.foot-contact { grid-column: 9 / span 4; display: grid; gap: 12px; align-content: start; }
.foot-last { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; color: var(--on-iron-muted); }

/* ---------- motion (motion layer; everything is in place on first paint) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .ln { overflow: clip; padding-bottom: 0.06em; margin-bottom: -0.06em; }
  .hero h1 .ln > span { display: block; animation: line-up 900ms var(--ease-expo) both; }
  .hero h1 .ln + .ln > span { animation-delay: 110ms; }
  .hero .lead { animation: rise 600ms var(--ease-out) 380ms both; }
  .hero .act { animation: rise 600ms var(--ease-out) 460ms both; }
  .hero-shot .shot { animation: open 1100ms var(--ease-in-out) 150ms both; }
  .hero-shot img { animation: settle 1400ms var(--ease-expo) 100ms both; }
  .hero-art .small-plate, .hero-art .collar { animation: slide-in 1000ms var(--ease-expo) both; }
  .hero-art .collar { animation-delay: 80ms; }
  .is-hidden { opacity: 0; translate: 0 26px; }
  .is-shown { opacity: 1; translate: 0 0; transition: opacity 700ms var(--ease-out) var(--d, 0ms), translate 900ms var(--ease-expo) var(--d, 0ms); }
}
@keyframes line-up { from { transform: translateY(104%); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes open { from { clip-path: inset(0 0 100% 0 round 22px); } to { clip-path: inset(0 0 0 0 round 22px); } }
@keyframes settle { from { transform: scale(1.12); } to { transform: none; } }
@keyframes slide-in { from { transform: translateX(14vw); } to { transform: none; } }

/* ---------- tablet and phone: their own composition ---------- */
@media (max-width: 1099px) {
  .hero { --H: auto; min-height: 0; }
  .hero-copy { max-width: none; min-height: 0; padding: 112px var(--m) 0; }
  .hero .lead { margin-top: 28px; max-width: 34ch; }
  .hero-art { position: relative; height: clamp(560px, 128vw, 1040px); margin-top: 56px; }
  .hero-art .bar { left: 0; right: 0; width: auto; top: 50%; height: 9vw; }
  .hero-art .collar { left: 2vw; right: auto; width: 4.4vw; top: calc(50% - 15vw); height: 39vw; }
  .hero-art .small-plate { left: 8vw; right: auto; width: 20vw; top: 13%; height: 74%; }
  .hero-art .big-plate { left: 30vw; right: -6vw; width: 76vw; top: 0; height: calc(100% + 30vw); }
  .hero-shot { right: auto; left: calc(30vw + (76vw - 52vw) / 2); width: 52vw; top: 48px; translate: none; }
  .loads { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .lifts, .stage, .facts { grid-column: 1; grid-row: auto; }
  .lifts { order: 2; }
  .lifts legend { margin-bottom: 0.3em; }
  .lifts label { display: inline-block; margin-right: 0.32em; }
  .lifts legend .head { font-size: var(--step-head); }
  .lifts { padding-bottom: 0; }
  .stage { order: 3; margin-top: 12px; }
  .stage-plate { --pw: min(88vw, 500px); top: 56px; }
  .cards { width: min(80vw, 380px); margin-bottom: 48px; }
  .facts { order: 2; padding-bottom: 0; }
  .tier { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .tier h3, .tier .tier-body { grid-column: 1; }
  .tier-foot, [data-ui].tier-ui { grid-column: 1; grid-row: auto; }
  .tier-foot { flex-wrap: wrap; }
  .how { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .how-head { grid-column: 1; grid-row: auto; }
  .grow { grid-column: 1; grid-row: auto; grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .grow > li { grid-column: 1 !important; }
  .grow .g1 .tile { height: max(180px, 36vw); } .grow .g2 .tile { height: max(300px, 58vw); } .grow .g3 .tile { height: max(380px, 76vw); } .grow .g4 .tile { height: max(460px, 96vw); }
  .grow .g4 .shot { width: min(64%, 360px); }
  .how-note { grid-column: 1; margin-top: 0; }
  .bed { --pw: 0.8vw; }
  .bed .wk { grid-template-columns: 4.6em 1fr; }
  .bed-band figcaption > p:first-child, .bed-band .legend { grid-column: 1 / -1; }
  .tick summary { grid-template-columns: minmax(0, 1fr) 52px; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .programs { grid-template-columns: minmax(0, 1fr); }
  .programs-intro, .programs-list { grid-column: 1; }
  .price { grid-template-columns: minmax(0, 1fr); row-gap: 48px; min-height: 0; }
  .price-text, .price-fig { grid-column: 1; }
  .price-text { padding-top: 0; }
  .panel { grid-template-columns: minmax(0, 1fr); row-gap: 40px; min-height: 0; }
  .panel h2, .about-text, .about-art { grid-column: 1; grid-row: auto; }
  .about-art { height: clamp(420px, 110vw, 700px); }
  .about-plate { left: 8%; width: min(76vw, 480px); height: calc(100% + min(76vw, 480px) * 0.3); }
  .about-art .shot { left: calc(8% + min(76vw, 480px) * 0.17); width: min(50vw, 320px); top: 9%; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq > h2, .drawer { grid-column: 1; }
  .faq > h2 { margin-bottom: 24px; }
  .foot-cols { grid-template-columns: minmax(0, 1fr); }
  .foot-cols nav, .foot-contact { grid-column: 1; }
}
@media (min-width: 760px) and (max-width: 1099px) {
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .grow { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--g); align-items: end; }
  .grow > li { grid-column: auto !important; }
  .grow .g1 .tile { height: 240px; } .grow .g2 .tile { height: 330px; } .grow .g3 .tile { height: 430px; } .grow .g4 .tile { height: 540px; }
}
@media (max-width: 759px) {
  .top nav a.wide-only { display: none; }
  .bed { --pw: clamp(6px, 1.6vw, 12px); gap: calc(var(--pw) * 2.4); padding-top: 0; }
  .bed .wk { align-items: start; }
  .bed .day[data-day]::before { display: none; }
  .bed .days { flex-direction: column; gap: calc(var(--pw) * 0.7); }
  .bed .day { gap: calc(var(--pw) * 1.1); }
  .brand span { font-size: var(--step-lead); }
  .hero-copy { padding-top: 100px; }
  .programs-list { grid-template-columns: minmax(0, 1fr); }
  .foot-cols nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mark .mark-wide { display: none; }
  .mark .mark-phone { display: block; }
  .tick summary { padding-block: 18px; }
  [data-ui].box { width: 46px; height: 46px; }
}

/* ---------- the small print and the lost page ---------- */
.legal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); padding: clamp(32px, 5vw, 80px) var(--m) 0; }
.legal-head { grid-column: 1 / -1; display: grid; gap: 16px; margin-bottom: clamp(48px, 6vw, 96px); }
.legal-head h1 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: min(var(--step-display), 12.5vw); line-height: 0.86; margin-left: -0.03em; }
.legal-head .updated { color: var(--muted); }
.toc { grid-column: 1 / span 3; align-self: start; position: sticky; top: 28px; display: grid; gap: 14px; }
.toc h2 { font-size: var(--step-body); font-weight: 700; }
.toc ul { display: grid; gap: 8px; }
.legal-body { grid-column: 5 / span 7; display: grid; gap: 16px; align-content: start; max-width: 68ch; }
.legal-body h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: var(--step-head); line-height: 0.95; margin-top: 40px; scroll-margin-top: 24px; }
.legal-body .plates { display: grid; gap: 10px; }
.notice { padding: 22px 26px; border-radius: var(--r); background: var(--leaf-pale); color: #131713; }
.lost { padding: clamp(48px, 8vw, 128px) var(--m) 0; display: grid; gap: clamp(48px, 6vw, 96px); }
.lost-copy { display: grid; gap: 28px; }
.lost h1 { font-size: min(var(--step-display), 13vw); margin-left: -0.03em; }
.lost .lead { max-width: 40ch; }
.empty-bar { width: 100%; height: auto; }
.empty-bar .m-bar { fill: var(--bar); }
.empty-bar .m-collar { fill: var(--ink); }
@media (max-width: 1099px) {
  .legal { grid-template-columns: minmax(0, 1fr); }
  .toc, .legal-body { grid-column: 1; }
  .toc { position: static; margin-bottom: 40px; }
}

/* the app screens a page talks about, each standing on a plate */
.legal-head .lead { max-width: 44ch; }
.screens { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); margin-bottom: clamp(72px, 8vw, 128px); }
.screens > li { display: grid; gap: 16px; align-content: start; }
.screen-stage { position: relative; display: block; height: clamp(300px, 30vw, 440px); overflow: clip; color: var(--leaf); transition: transform var(--t-press) var(--ease-out); }
.screens > li:nth-child(2) .screen-stage { color: var(--accent); }
.screens > li:nth-child(3) .screen-stage { color: var(--ground-3); }
.screens > li:nth-child(4) .screen-stage { color: var(--deep); }
.screen-stage .shape { position: absolute; left: 0; top: 0; width: 100%; height: 160%; }
.screen-stage img { position: absolute; left: 50%; top: 11%; width: 68%; translate: -50% 0; border-radius: clamp(12px, 1.2vw, 18px); background: var(--surface); }
.screen-cap { max-width: 32ch; }
.screen-link { display: grid; gap: 16px; text-decoration: none; }
.screen-link .screen-cap { font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in oklab, currentColor 40%, transparent); text-underline-offset: 0.2em; transition: text-decoration-color var(--t-hover) ease; }
.screen-link:active .screen-stage { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .screen-link:hover .screen-cap { text-decoration-color: currentColor; } }
.routes { display: grid; gap: 40px; }
.routes .screens { margin-bottom: 0; }
@media (max-width: 759px) {
  .screens { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .screen-stage { height: 64vw; }
}

/* the footer mark: as it comes into view the plates load onto the bar and the sprout comes up */
@media (prefers-reduced-motion: no-preference) {
  .mark.is-hidden { opacity: 1; translate: none; }
  .mark .l, .mark .r, .mark .m-stem, .mark .m-leaf, .mark .m-leaf2 { transform-box: fill-box; transition: translate 1000ms var(--ease-expo), scale 900ms var(--ease-expo), opacity 500ms ease; }
  .mark .m-stem, .mark .m-leaf, .mark .m-leaf2 { transform-origin: 50% 100%; }
  .mark .m-leaf { transform-origin: 100% 100%; }
  .mark .m-leaf2 { transform-origin: 0% 100%; }
  .mark.is-hidden .l { translate: -120px 0; opacity: 0; }
  .mark.is-hidden .r { translate: 120px 0; opacity: 0; }
  .mark.is-hidden .m-stem, .mark.is-hidden .m-leaf, .mark.is-hidden .m-leaf2 { scale: 0.2; opacity: 0; }
  .mark .m-small { transition-delay: 90ms; }
  .mark .m-collar { transition-delay: 160ms; }
  .mark .m-stem { transition-delay: 320ms; }
  .mark .m-leaf { transition-delay: 460ms; }
  .mark .m-leaf2 { transition-delay: 540ms; }
}

/* the small print: its title arrives with the page; the 404's empty bar gets its collars */
@media (max-width: 1099px) { .toc ul { display: block; columns: 2; column-gap: var(--g); } .toc li { break-inside: avoid; margin-bottom: 8px; } }
@media (prefers-reduced-motion: no-preference) {
  .legal-head > *, .lost-copy > * { animation: rise 600ms var(--ease-out) both; }
  .legal-head > :nth-child(2), .lost-copy > :nth-child(2) { animation-delay: 80ms; }
  .legal-head > :nth-child(3) { animation-delay: 160ms; }
  .toc { animation: rise 600ms var(--ease-out) 220ms both; }
  .empty-bar .m-collar { transform-box: fill-box; animation: collar-l 1000ms var(--ease-expo) 200ms both; }
  .empty-bar .m-collar + .m-collar { animation-name: collar-r; }
  .empty-bar .m-bar { transform-box: fill-box; transform-origin: 50% 50%; animation: bar-in 900ms var(--ease-expo) both; }
}
@keyframes collar-l { from { transform: translateX(-180px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes collar-r { from { transform: translateX(180px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bar-in { from { transform: scaleX(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
