/* poppy.health. Colour chapters: each section is one flat field, one typeface, one grid. */
:root {
  --bg: #ffffff;
  --surface: #f4f4f1;
  --ink: #111111;
  --muted: #55524e;
  --accent: #fe7141;
  --f-orange: #fe7141;
  --f-sage: #d1ddd3;
  --f-gold: #f6c445;
  --f-black: #111111;
  --paper: #f4f4f1;

  --font: "Hanken Grotesk", "Helvetica Neue", system-ui, sans-serif;

  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem);
  --step-head: clamp(2.25rem, 1rem + 4.4vw, 5rem);
  --step-display: clamp(3.5rem, 7.4vw, 7rem);

  --margin: clamp(1rem, 3.2vw, 3rem);
  --gap: 8px;
  --r: 6px;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.45; letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:target { scroll-margin-top: 1rem; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
p { max-width: 54ch; text-wrap: pretty; }
p + p { margin-top: 0.8em; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; letter-spacing: -0.05em; line-height: 0.95; }
h2 { font-size: var(--step-head); }
h3 { font-size: var(--step-lead); letter-spacing: -0.03em; line-height: 1.1; }
.small { font-size: var(--step-small); line-height: 1.45; }
.nums { font-variant-numeric: tabular-nums; }
.textlink { font-weight: 500; text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 2px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.5rem; border-radius: var(--r); background: var(--ink); color: #fff; text-decoration: none; font-weight: 500; font-size: 1rem; transition: transform 300ms var(--ease), background-color 200ms var(--ease), color 200ms var(--ease); }
.btn:active { transform: scale(0.97); }
.btn.on-dark { background: var(--accent); color: var(--ink); }
@media (hover: hover) {
  .btn:hover { background: var(--accent); color: var(--ink); }
  .btn.on-dark:hover { background: #fff; }
}

/* ---------- chapters ---------- */
.ch { background: var(--f); color: var(--fi, var(--ink)); padding: clamp(4rem, 8vw, 7rem) var(--margin); }
.ch.orange { --f: var(--f-orange); }
.ch.sage { --f: var(--f-sage); }
.ch.gold { --f: var(--f-gold); }
.ch.black { --f: var(--f-black); --fi: #f4f4f4; }
.ch.white { --f: var(--bg); }
.ch.grey { --f: var(--surface); }
@media (min-width: 48em) { .ch { min-height: 90svh; } }
.ch-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2rem, 4vw, 4rem); max-width: 62rem; }
.ch-head p { font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.02em; max-width: 36ch; }

/* ---------- header and hero ---------- */
.top { position: absolute; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: stretch; height: 3.5rem; }
.wordmark { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0 1.25rem; background: var(--ink); color: #fff; text-decoration: none; font-weight: 500; font-size: 1.125rem; letter-spacing: -0.03em; line-height: 1; }
.wordmark svg { width: 1.4rem; height: 1.4rem; }
.nav-links { display: none; align-items: center; gap: 2rem; padding: 0 1.5rem; background: var(--accent); width: 42%; font-size: 1rem; font-weight: 500; }
.nav-links a { text-decoration: none; }
@media (hover: hover) { .nav-links a:hover { text-decoration: underline; text-underline-offset: 0.25em; } }
.toplink { display: none; margin-left: auto; align-items: center; padding: 0 var(--margin); font-weight: 500; text-decoration: none; background: var(--bg); }
.burger { margin-left: auto; padding: 0 1.25rem; background: var(--accent); font-weight: 500; font-size: 1rem; min-width: 5rem; }
@media (min-width: 48em) {
  .nav-links { display: flex; }
  .toplink { display: flex; }
  .burger { display: none; }
}
.sheet { position: fixed; inset: 0; z-index: 30; background: var(--accent); color: var(--ink); display: grid; align-content: center; gap: 0.25rem; padding: 5rem var(--margin) 3rem; opacity: 0; visibility: hidden; transition: opacity 300ms var(--ease), visibility 0s linear 300ms; }
.sheet.open { opacity: 1; visibility: visible; transition-delay: 0s; }
.sheet a { font-size: var(--step-head); letter-spacing: -0.05em; font-weight: 500; text-decoration: none; line-height: 1; padding: 0.15em 0; }
.top.open { z-index: 40; }
.top.open .burger { background: var(--ink); color: #fff; }

.band { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; height: 38svh; min-height: 16rem; }
.band > * { min-width: 0; min-height: 0; overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.band .m-or { background: var(--f-orange); grid-column: 1; grid-row: 1 / 3; }
.band .m-photo1 { grid-column: 2; grid-row: 1; }
.band .m-sg { background: var(--f-sage); grid-column: 3; grid-row: 1; }
.band .m-photo2 { grid-column: 2; grid-row: 2; }
.band .m-go { background: var(--f-gold); grid-column: 3; grid-row: 2; }
.band .m-photo3, .band .m-fax, .band .m-ink, .band .m-sg2, .band .m-photo4 { display: none; }
.band .m-fax img { filter: none; object-fit: cover; object-position: left top; }
@media (min-width: 48em) {
  .band { grid-template-columns: repeat(6, 1fr); height: 52svh; min-height: 24rem; }
  .band .m-or { grid-column: 1; grid-row: 1 / 3; }
  .band .m-photo1 { grid-column: 2 / 4; grid-row: 1; }
  .band .m-sg { grid-column: 4; grid-row: 1; }
  .band .m-photo3 { display: block; grid-column: 5; grid-row: 1; }
  .band .m-go { grid-column: 6; grid-row: 1; }
  .band .m-photo2 { grid-column: 2; grid-row: 2; }
  .band .m-ink { display: block; background: var(--f-black); grid-column: 3; grid-row: 2; }
  .band .m-fax { display: block; grid-column: 4 / 6; grid-row: 2; background: #fff; }
  .band .m-sg2 { display: block; background: var(--f-sage); grid-column: 6; grid-row: 2; }
}

.hero-body { padding: clamp(1.5rem, 3vw, 2.5rem) var(--margin) clamp(3rem, 6vw, 5rem); display: grid; gap: 1.5rem; }
.hero h1 { font-size: 13vw; letter-spacing: -0.06em; line-height: 0.9; }
.ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.ln > span { display: block; }
.stand { font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.025em; max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
@media (min-width: 48em) {
  .hero-body { grid-template-columns: 42% minmax(0, 1fr); column-gap: 0; align-items: start; padding-top: 6.5rem; }
  .hero h1 { grid-column: 2; grid-row: 1 / 3; font-size: var(--step-display); }
  .hero-left { grid-column: 1; grid-row: 1; display: grid; gap: 2rem; padding-right: 2rem; }
}
@media (max-width: 47.99em) {
  .hero-body { display: flex; flex-direction: column; }
  .hero h1 { order: 1; }
  .hero-left { order: 2; display: grid; gap: 1.5rem; }
}

/* ---------- benefits ---------- */
.benefits { display: grid; gap: 2.5rem 2rem; }
.benefits > div { display: grid; gap: 0.75rem; align-content: start; }
.benefits p { font-size: var(--step-body); }
@media (min-width: 48em) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62em) { .benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- roles ---------- */
.roles { display: grid; gap: var(--gap); }
.roles > div { background: #1d1d1d; border-radius: var(--r); padding: clamp(1.25rem, 2.4vw, 2rem); display: grid; gap: 1rem; align-content: start; min-height: 16rem; }
.roles h3 { color: var(--accent); }
.roles p { color: #f4f4f4; }
@media (min-width: 62em) { .roles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- cycle time ---------- */
.days { display: grid; gap: clamp(2rem, 4vw, 4rem); }
.days > * { min-width: 0; }
.gap-row { display: grid; gap: 0.1rem; padding: 0.9rem 0; }
.gap-row label { display: flex; justify-content: space-between; gap: 1rem; font-weight: 500; align-items: baseline; font-size: var(--step-body); line-height: 1.25; }
.gap-row output { white-space: nowrap; }
.rng { position: relative; height: 40px; --fill: currentColor; }
.rng .rail, .rng .fill { position: absolute; left: 0; right: 0; top: 50%; height: 8px; margin-top: -4px; }
.rng .rail { background: color-mix(in srgb, currentColor 20%, transparent); }
.rng .fill { background: var(--fill); transform-origin: left center; transform: scaleX(var(--p, 0)); transition: transform 200ms var(--ease); }
.rng input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.rng input::-webkit-slider-runnable-track { background: transparent; height: 40px; }
.rng input::-moz-range-track { background: transparent; height: 40px; }
.rng input::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 32px; height: 32px; margin-top: 4px; border-radius: 0; background: var(--accent); border: 0; transition: transform 200ms var(--ease); }
.rng input::-moz-range-thumb { width: 32px; height: 32px; border-radius: 0; background: var(--accent); border: 0; }
.rng input:active::-webkit-slider-thumb { transform: scale(1.12); }
.ch.orange .rng input::-webkit-slider-thumb, .ch.gold .rng input::-webkit-slider-thumb { background: var(--ink); }
.ch.gold .rng input::-moz-range-thumb { background: var(--ink); }
.bloom-wrap { display: grid; gap: 1rem; align-content: center; justify-items: center; text-align: center; }
.bloom-wrap svg { width: 340px; max-width: 100%; height: auto; }
.petal { transform-box: view-box; transform-origin: 200px 200px; transition: transform 700ms var(--ease); }
.petal.p-a { fill: var(--accent); }
.petal.p-b { fill: var(--f-sage); }
.total { display: grid; gap: 0.2rem; justify-items: center; }
.total strong { font-weight: 500; font-size: var(--step-display); line-height: 0.9; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.readout { max-width: 40ch; }
.key { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; justify-content: center; font-size: var(--step-small); }
.key span { display: inline-flex; align-items: center; gap: 0.4rem; }
.key i { width: 12px; height: 12px; display: block; }
.days-note { margin-top: clamp(2rem, 4vw, 3rem); max-width: 62ch; }
@media (min-width: 62em) { .days { grid-template-columns: 1.05fr 1fr; align-items: center; } }

/* ---------- stages (50/50 split, one slider) ---------- */
.how { display: grid; }
.how-l { background: var(--f-black); color: #f4f4f4; padding: clamp(2rem, 4vw, 3.5rem) var(--margin); display: grid; align-content: space-between; gap: 2rem; min-height: 28rem; }
.how-r { background: var(--f-sage); display: grid; place-items: center; padding: 2rem var(--margin); min-height: 24rem; }
.how-l h3 { font-size: var(--step-head); letter-spacing: -0.05em; line-height: 0.95; min-height: 2em; max-width: 12ch; }
.how-l p { max-width: 40ch; margin-top: 1.25rem; min-height: 5em; }
.how-l .rng { color: #f4f4f4; --fill: #f4f4f4; }
.stops { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 0.25rem; }
.stops button { text-align: left; padding: 0.55rem 0; min-height: 2.75rem; color: #9a9a9a; font-size: 1rem; }
.stops button:last-child { text-align: right; }
.stops button.is-on { color: #f4f4f4; font-weight: 500; }
.frag { display: grid; width: min(440px, 100%); }
.frag figure { grid-area: 1 / 1; place-self: center; opacity: 0; transition: opacity 200ms var(--ease); pointer-events: none; }
.frag figure.is-on { opacity: 1; pointer-events: auto; }
.frag img { width: 100%; max-height: 60svh; object-fit: contain; background: #fff; border-radius: var(--r); }
.how-note { padding: 1rem var(--margin); background: var(--f-black); color: #f4f4f4; }
@media (min-width: 48em) {
  .how { grid-template-columns: 1fr 1fr; min-height: 88svh; }
  .how-r { order: 0; }
}
@media (max-width: 47.99em) {
  .how-r { order: -1; min-height: 46svh; }
}

/* ---------- checks (pinned output, live controls) ---------- */
.chk { display: grid; }
.pin { background: var(--f-orange); display: grid; place-items: center; padding: 1rem var(--margin); position: sticky; top: 0; height: 52svh; z-index: 2; }
.out { background: #fff; border-radius: var(--r); padding: clamp(0.75rem, 2vw, 1.5rem); display: grid; gap: 6px; width: min(26rem, 100%); }
.out-title { font-weight: 500; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 0.25rem; }
.out-row { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 0.55rem 0.75rem; background: var(--surface); border-radius: var(--r); font-weight: 500; font-size: 1rem; line-height: 1.2; }
.chip { flex: none; padding: 0.15rem 0.6rem; border-radius: 4px; font-size: var(--step-small); font-weight: 500; background: var(--f-sage); color: var(--ink); transition: background-color 200ms var(--ease); }
.out-row.is-bad .chip { background: var(--accent); }
.req { background: var(--ink); color: #f4f4f4; border-radius: var(--r); padding: 0.75rem; font-size: var(--step-small); line-height: 1.4; margin-top: 4px; }
.req b { font-weight: 500; color: var(--accent); }
.ctl-col { padding: clamp(3rem, 6vw, 4.5rem) var(--margin) 3rem; display: grid; align-content: start; }
.ctl-col .ch-head { margin-bottom: 1rem; max-width: 44ch; }
.ctl-card { display: grid; gap: 1rem; align-content: start; padding: 2.5rem 0; max-width: 44ch; }
.ctl-card p { font-size: var(--step-body); }
.ctl-read { display: flex; justify-content: space-between; font-weight: 500; gap: 1rem; align-items: baseline; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.seg button { min-height: 2.75rem; padding: 0.4rem; border-radius: var(--r); font-size: 1rem; font-weight: 500; background: var(--surface); transition: background-color 150ms var(--ease), transform 200ms var(--ease); }
.seg button:active { transform: scale(0.97); }
.seg button[aria-pressed="true"] { background: var(--accent); }
.tog { display: inline-flex; align-items: center; gap: 0.8rem; min-height: 2.75rem; font-weight: 500; text-align: left; }
.tog .sw { width: 52px; height: 30px; border-radius: var(--r); background: #c9c7c2; position: relative; transition: background-color 200ms var(--ease); flex: none; }
.tog .sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 3px; background: #fff; transition: transform 300ms var(--ease); }
.tog[aria-pressed="true"] .sw { background: var(--accent); }
.tog[aria-pressed="true"] .sw::after { transform: translateX(22px); background: var(--ink); }
@media (min-width: 48em) {
  .chk { grid-template-columns: 1fr 1fr; align-items: start; }
  .pin { height: 100svh; }
  .ctl-card { min-height: 50svh; align-content: center; }
}
@media (max-width: 47.99em) {
  .out-title { display: none; }
  .out-row { padding: 0.4rem 0.6rem; }
  .req { padding: 0.5rem 0.6rem; }
}

/* ---------- the name ---------- */
.name { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.name > * { min-width: 0; }
.name h2 { margin-bottom: 1.25rem; }
.name p { font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.02em; max-width: 30ch; }
.name figure img { width: 100%; height: auto; border-radius: var(--r); }
.name figcaption { margin-top: 0.6rem; }
@media (min-width: 62em) { .name { grid-template-columns: 0.8fr 1.2fr; } }

/* ---------- about ---------- */
.about { display: grid; gap: clamp(2rem, 4vw, 4rem); }
.about > * { min-width: 0; }
.about h3 { margin-bottom: 0.75rem; }
.facts { display: grid; gap: var(--gap); }
.facts div { display: grid; gap: 0.2rem; padding: 1rem 1.25rem; background: #fff; border-radius: var(--r); }
.facts dt { font-weight: 500; }
@media (min-width: 48em) { .facts div { grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: 1.25rem; } }
@media (min-width: 62em) { .about { grid-template-columns: 0.8fr 1.2fr; } }

/* ---------- faq ---------- */
.faq { display: grid; gap: 1.5rem; }
.faq > * { min-width: 0; }
.faq-list { display: grid; gap: 6px; align-content: start; }
details.q { background: var(--surface); border-radius: var(--r); transition: background-color 200ms var(--ease); }
details.q[open] { background: var(--accent); }
details.q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.25rem 1.5rem; min-height: 4rem; font-size: 1.125rem; font-weight: 500; line-height: 1.25; }
details.q summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 16px; height: 16px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; background: currentColor; transition: transform 300ms var(--ease); }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0); }
details.q .ans { padding: 0 1.5rem 1.5rem; max-width: 56ch; animation: fadeup 400ms var(--ease) both; }
@keyframes fadeup { from { opacity: 0; transform: translateY(8px); } }
@media (min-width: 62em) {
  .faq { grid-template-columns: 4fr 8fr; gap: 2rem; }
  .faq h2 { position: sticky; top: 6rem; align-self: start; font-size: clamp(2.25rem, 4vw, 4rem); }
  details.q summary { font-size: 1.25rem; }
  details.q .ans { font-size: 1.0625rem; }
}

/* ---------- cta ---------- */
.cta { display: grid; align-content: center; }
.cta h2 { max-width: 12ch; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.cta form { max-width: 48rem; display: grid; gap: 1rem; }
.cta .row { display: flex; flex-wrap: wrap; gap: 8px; }
.cta input[type="email"] { flex: 1 1 14rem; min-width: 0; height: 3.5rem; padding: 0 1rem; border: 0; border-radius: var(--r); background: #262626; color: #fff; font-size: var(--step-lead); letter-spacing: -0.03em; }
.cta input::placeholder { color: #9a9a9a; opacity: 1; }
.cta .go { height: 3.5rem; padding: 0 1.75rem; border-radius: var(--r); background: var(--accent); color: var(--ink); font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.03em; transition: transform 200ms var(--ease), background-color 200ms var(--ease); }
.cta .go:active { transform: scale(0.97); }
@media (hover: hover) { .cta .go:hover { background: #fff; } }
.cta .more { display: grid; gap: 1rem; margin-top: 1rem; }
.cta .more .two { display: grid; gap: 1rem; }
.cta .more label { display: grid; gap: 0.4rem; font-size: var(--step-small); font-weight: 500; color: #cfcfcf; }
.cta .more input, .cta .more select, .cta .more textarea { font-size: 1rem; font-weight: 400; color: #fff; background: #262626; border: 0; border-radius: var(--r); padding: 0.8rem 0.9rem; width: 100%; }
.cta .more select option { color: #111; }
.cta .more textarea { resize: vertical; min-height: 5.5rem; }
.cta .after { margin-top: 1.5rem; color: #cfcfcf; max-width: 60ch; }
.cta .status { margin-top: 0.6rem; font-weight: 500; min-height: 1.5em; }
@media (min-width: 40em) { .cta .more .two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- footer tiles ---------- */
.foot { padding: 12px; display: grid; gap: var(--gap); background: var(--bg); }
.foot .t { border-radius: var(--r); padding: 20px; background: var(--surface); display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; min-height: 13rem; }
.foot .t p { max-width: 30ch; }
.foot .t-state p:first-child { font-size: var(--step-lead); line-height: 1.15; letter-spacing: -0.03em; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 0.35rem; }
.foot a { text-decoration: none; }
@media (hover: hover) { .foot a:hover { text-decoration: underline; text-underline-offset: 0.25em; } }
.foot .t-mail a { font-size: var(--step-lead); letter-spacing: -0.03em; word-break: break-word; }
.foot .t-mark { background: var(--f-black); color: #fff; justify-content: center; align-items: center; min-height: 10rem; }
.foot .t-mark span { font-size: clamp(2.5rem, 9vw, 7rem); font-weight: 500; letter-spacing: -0.06em; line-height: 1; }
.foot .t-go { background: var(--accent); color: var(--ink); font-size: var(--step-lead); letter-spacing: -0.03em; line-height: 1.1; position: relative; text-decoration: none; min-height: 10rem; }
.foot .t-go svg { width: 3rem; height: 3rem; align-self: flex-end; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: square; transition: transform 300ms var(--ease); }
@media (hover: hover) { .foot .t-go:hover svg { transform: translate(4px, -4px); } .foot .t-go:hover { text-decoration: none; } }
.credits { padding: 1.5rem var(--margin) 2.5rem; display: grid; gap: 0.4rem; font-size: var(--step-small); color: var(--muted); line-height: 1.5; background: var(--bg); }
.credits p { max-width: 70ch; }
@media (min-width: 48em) {
  .foot { grid-template-columns: repeat(12, 1fr); }
  .foot .t { grid-column: span 4; min-height: 220px; }
  .foot .t-nav { grid-column: span 3; }
  .foot .t-time { grid-column: span 2; }
  .foot .t-mail { grid-column: span 3; }
  .foot .t-state { grid-column: span 4; }
  .foot .t-mark { grid-column: span 8; min-height: 320px; }
  .foot .t-go { grid-column: span 4; min-height: 320px; }
  .foot .t-go svg { width: 4rem; height: 4rem; }
}
@media (max-width: 47.99em) {
  .foot { grid-template-columns: 1fr 1fr; gap: 6px; }
  .foot .t { grid-column: span 1; }
  .foot .t-mark { grid-column: 1 / -1; min-height: 160px; order: 1; }
  .foot .t-go { grid-column: 1 / -1; order: 2; }
  .foot .t-nav, .foot .t-mail { order: 3; }
  .foot .t-time, .foot .t-state { order: 4; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(1.5rem); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .hero .ln > span { animation: mask 900ms var(--ease-out) both; animation-delay: calc(var(--l, 0) * 110ms + 100ms); }
  .hero .fade { animation: fadeup 700ms var(--ease-out) both; animation-delay: 700ms; }
  .band > * { animation: bandin 900ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
  .wordmark svg { animation: spin 40s linear infinite; }
}
@keyframes mask { from { transform: translateY(105%); } }
@keyframes bandin { from { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

.band .m-photo1 img { transform: scale(1.3); }
