/* =========================================================================
   VERVE Inc. — Local Roots.
   System: The Line (horizon) / The Roots (hairlines below it) / The Seed (the
   gold square — the full stop of the VERVE Inc. logo).
   ========================================================================= */

@view-transition { navigation: auto; }

:root {
  /* colour — one ink, one gold, white paper */
  --paper: #ffffff;
  --ink: #292929;
  --ink-2: #5c5852;            /* secondary text  · 6.9:1 on white */
  --ink-3: #8c877f;            /* ornament only   · 3.5:1 */
  --hair: rgba(41, 41, 41, .14);
  --hair-2: rgba(41, 41, 41, .34);
  --gold: #9c8456;             /* lines, seeds, large type · 3.6:1 */
  --gold-ink: #806a42;         /* small gold text          · 5.2:1 */
  --soil: #292929;
  --on-soil: #f3f1ec;
  --on-soil-2: rgba(243, 241, 236, .62);
  --hair-soil: rgba(243, 241, 236, .16);

  /* type */
  --f-en: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --f-jp: "Barlow", "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;

  /* space — one scale, nothing off it */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px; --s11: 192px;
  --m: clamp(20px, 4.2vw, 64px);          /* page margin */
  --gut: clamp(16px, 2.2vw, 32px);        /* grid gutter */
  --sec: clamp(120px, 15vw, 224px);       /* section rhythm */
  --hd: 72px;

  /* motion */
  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-inout: cubic-bezier(.76, 0, .24, 1);
  --e-in: cubic-bezier(.55, 0, 1, .45);
  --t-fast: 200ms; --t-mid: 480ms; --t-slow: 900ms;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-gutter: stable; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--f-jp); font-size: 15px; line-height: 2; letter-spacing: .04em;
  font-feature-settings: "kern"; word-break: auto-phrase; line-break: strict; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #fff; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.sr { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.skip { position: fixed; left: -999px; top: 8px; z-index: 200; background: var(--paper); padding: 8px 12px; }
.skip:focus { left: 8px; }
.pc { display: inline; } .sp { display: none; }
@media (max-width: 719px) { .pc { display: none; } .sp { display: inline; } }

/* ---------- type ---------- */
.sh { /* shoulder: the small Latin label that sits above things */
  display: flex; align-items: center; gap: 10px;
  font: 500 11px/1.4 var(--f-en); letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
}
.sq { /* the seed — proportion of the logo's full stop (3.30 × 2.87) */
  display: inline-block; flex: none; width: 6px; height: 5.2px; background: var(--gold);
}
.en-xl { font: 200 clamp(64px, 11vw, 176px)/.86 var(--f-en); letter-spacing: -.025em; }
.en-l { font: 200 clamp(48px, 7vw, 112px)/.9 var(--f-en); letter-spacing: -.02em; }
.en-m { font: 300 clamp(28px, 3.2vw, 44px)/1.1 var(--f-en); letter-spacing: -.005em; }
.jp-xl { font-weight: 500; font-size: clamp(28px, 4.2vw, 60px); line-height: 1.5; letter-spacing: .06em; font-feature-settings: "palt"; }
.jp-l { font-weight: 500; font-size: clamp(24px, 3vw, 42px); line-height: 1.6; letter-spacing: .06em; font-feature-settings: "palt"; }
.jp-m { font-weight: 500; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.7; letter-spacing: .06em; font-feature-settings: "palt"; }
.jp-s { font-weight: 500; font-size: 17px; line-height: 1.8; letter-spacing: .06em; }
.lead { font-size: clamp(15px, 1.25vw, 17px); line-height: 2.1; letter-spacing: .05em; }
.body p + p, .lead + .lead { margin-top: 1.4em; }
.note { font-size: 12px; line-height: 1.9; color: var(--ink-2); }
.gold { color: var(--gold-ink); }

/* text link with arrow */
.arr { width: 16px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1; flex: none; transition: transform var(--t-mid) var(--e-out); }
.arr.ext { width: 9px; height: 9px; }
.tl {
  display: inline-flex; align-items: center; gap: var(--s4); padding: 10px 0 9px;
  font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: .08em;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat, linear-gradient(var(--hair-2), var(--hair-2)) 0 100% / 100% 1px no-repeat;
  transition: background-size var(--t-mid) var(--e-out), color var(--t-fast);
}
@media (hover: hover) {
  .tl:hover { background-size: 100% 1px, 100% 1px; }
  .tl:hover .arr { transform: translateX(4px); }
}
.tl-row { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s6); }

/* ---------- layout ---------- */
.wrap { padding-inline: var(--m); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); }
.sec { padding-block: var(--sec); position: relative; }
[id] { scroll-margin-top: calc(var(--hd) + var(--s4)); }
.sec + .sec { padding-top: 0; }
.rule { height: 1px; background: var(--hair); border: 0; }

/* section head: shoulder on the left column, statement on the right */
.sec-head { row-gap: var(--s6); }
.sec-head > .sh { grid-column: 1 / span 3; align-self: start; padding-top: .9em; }
.sec-head > .sec-title { grid-column: 4 / span 8; }
.sec-body { grid-column: 4 / span 6; margin-top: var(--s7); }
@media (max-width: 899px) {
  .sec-head > .sh, .sec-head > .sec-title, .sec-body { grid-column: 1 / -1; }
  .sec-head > .sh { padding-top: 0; }
  .sec-body { margin-top: var(--s6); }
}

/* ---------- header ---------- */
.hd {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--hd);
  display: flex; align-items: center; justify-content: space-between; padding-inline: var(--m);
  color: var(--ink); view-transition-name: site-header;
  transition: transform var(--t-mid) var(--e-out), color var(--t-mid) var(--e-out);
}
.hd::before { /* paper behind the header once the page has scrolled */
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper);
  border-bottom: 1px solid var(--hair); opacity: 0; transition: opacity var(--t-mid) var(--e-out);
}
.hd.is-solid::before { opacity: 1; }
.hd.is-hidden { transform: translateY(-100%); }
.hd.is-dark { color: var(--on-soil); }
.hd.is-dark::before { opacity: 0; }
.menu-open .hd { transform: none; color: var(--ink); }
.menu-open .hd::before { opacity: 0; }
.hd-logo { display: block; width: clamp(96px, 8.4vw, 124px); padding-block: 12px; }
.logo { width: 100%; height: auto; fill: currentColor; overflow: visible; }
.logo .g-dot { fill: var(--gold); }
.hd-right { display: flex; align-items: center; gap: var(--s6); }
.hd-link { font: 500 11px/1 var(--f-en); letter-spacing: .2em; text-transform: uppercase; padding: 12px 0; position: relative; }
.hd-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--t-mid) var(--e-out); }
@media (hover: hover) { .hd-link:hover::after { transform: scaleX(1); transform-origin: left; } }
.menu-open .hd-link { opacity: 0; pointer-events: none; }
@media (max-width: 559px) { .hd-link { display: none; } }
.hd-menu { display: flex; align-items: center; gap: 14px; height: 44px; font: 500 11px/1 var(--f-en); letter-spacing: .2em; text-transform: uppercase; }
.hd-menu-label { position: relative; display: block; height: 1.1em; overflow: hidden; }
.hd-menu-label span { display: block; line-height: 1.1em; transition: transform var(--t-mid) var(--e-out); }
.menu-open .hd-menu-label span { transform: translateY(-100%); }
.hd-menu-icon { position: relative; width: 28px; height: 12px; }
.hd-menu-icon i { position: absolute; left: 0; width: 100%; height: 1px; background: currentColor; transition: transform var(--t-mid) var(--e-out), width var(--t-mid) var(--e-out); }
.hd-menu-icon i:nth-child(1) { top: 3px; }
.hd-menu-icon i:nth-child(2) { top: 9px; width: 64%; left: auto; right: 0; }
@media (hover: hover) { .hd-menu:hover .hd-menu-icon i:nth-child(2) { width: 100%; } }
/* open: the two lines become a horizon with one root  ⟂ */
.menu-open .hd-menu-icon i:nth-child(1) { transform: translateY(0); }
.menu-open .hd-menu-icon i:nth-child(2) { width: 1px; height: 9px; top: 4px; right: 13.5px; background: var(--gold); }

/* ---------- menu: the page lifts, the soil underneath shows ---------- */
.shell { position: relative; z-index: 2; background: var(--paper); transform-origin: 50% 0; }
.menu { position: fixed; inset: 0; z-index: 1; background: var(--soil); color: var(--on-soil); visibility: hidden; }
.menu-open .menu, .menu-closing .menu { visibility: visible; }
.menu-roots { position: absolute; inset: 0; width: 100%; height: 100%; }
.menu-in {
  position: absolute; left: 0; right: 0; bottom: 0; top: var(--lift-gap, 22svh);
  padding: clamp(28px, 4vh, 48px) var(--m) clamp(20px, 3vh, 32px);
  display: grid; grid-template-rows: auto 1fr auto; row-gap: clamp(12px, 2vh, 24px);
}
.menu-sh { color: var(--on-soil-2); }
.menu-nav { align-self: center; }
.menu-nav li { border-top: 1px solid var(--hair-soil); }
.menu-nav li:last-child { border-bottom: 1px solid var(--hair-soil); }
.menu-nav a {
  display: grid; grid-template-columns: clamp(14px, 2vw, 24px) minmax(0, 1fr) auto; align-items: center; column-gap: var(--s4);
  padding-block: clamp(6px, 1.2vh, 14px);
}
.mn-dot { width: 7px; height: 6px; background: var(--gold); transform: scale(0); transition: transform var(--t-mid) var(--e-out); }
.mn-en { font: 200 clamp(36px, min(7.4vh, 11.2vw), 96px)/1.04 var(--f-en); letter-spacing: -.02em; transition: transform var(--t-mid) var(--e-out), color var(--t-mid); }
.mn-jp { font-size: 13px; letter-spacing: .1em; color: var(--on-soil-2); text-align: right; }
.mn-note { display: none; }
.menu-nav a[aria-current] .mn-dot { transform: scale(1); }
@media (hover: hover) {
  .menu-nav a:hover .mn-dot, .menu-nav a:focus-visible .mn-dot { transform: scale(1); }
  .menu-nav a:hover .mn-en { transform: translateX(10px); color: #fff; }
}
@media (min-width: 900px) {
  .menu-nav a { grid-template-columns: 24px minmax(0, 1fr) 15em 9em; }
  .mn-note { display: block; font-size: 12px; color: var(--on-soil-2); opacity: 0; transform: translateX(-8px); transition: opacity var(--t-mid), transform var(--t-mid) var(--e-out); }
  .menu-nav a:hover .mn-note { opacity: 1; transform: none; }
}
.menu-foot { display: flex; align-items: baseline; gap: var(--s5); flex-wrap: wrap; color: var(--on-soil-2); }
.menu-foot .sh { color: var(--on-soil); }
.menu-foot-jp { font-size: 12px; letter-spacing: .1em; }
.menu-home { margin-left: auto; font: 500 11px/1 var(--f-en); letter-spacing: .2em; text-transform: uppercase; color: var(--on-soil); }
/* entrance */
.menu .menu-nav li, .menu .menu-sh, .menu .menu-foot { opacity: 0; transform: translateY(24px); }
.menu-open .menu .menu-nav li, .menu-open .menu .menu-sh, .menu-open .menu .menu-foot {
  opacity: 1; transform: none;
  transition: opacity 700ms var(--e-out), transform 900ms var(--e-out);
  transition-delay: calc(260ms + var(--i, 0) * 60ms);
}
.menu-lifted-hit { position: fixed; inset: 0 0 auto 0; z-index: 3; cursor: n-resize; display: none; }
.menu-open .menu-lifted-hit { display: block; }

/* ---------- the horizon & seed ---------- */
.horizon { position: absolute; left: 0; right: 0; top: var(--hz, 60%); height: 1px; background: var(--ink); transform-origin: var(--hz-ox, 50%) 50%; }
.hero > .horizon, .phero > .horizon { view-transition-name: horizon; }
.seed { display: inline-block; width: .088em; height: .0766em; background: var(--gold); margin-left: .045em; vertical-align: baseline; }
.probe { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
.js .hero:not(.is-ready) .horizon, .js .phero:not(.is-ready) .horizon { transform: scaleX(0); }

/* ---------- hero (top) ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; cursor: crosshair; }
.hero a, .hero button { cursor: pointer; }
.roots { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-title {
  position: absolute; left: var(--m); top: 40%; margin-left: -.055em;
  font: 200 100px/.8 var(--f-en); letter-spacing: -.03em; white-space: nowrap; width: max-content;
}
.hero-copy { position: absolute; left: var(--m); right: var(--m); top: calc(var(--hz, 60%) + clamp(36px, 5.5vh, 64px)); max-width: 36em; }
.hero-jp { font-weight: 500; font-size: clamp(22px, 2.3vw, 34px); line-height: 1.6; letter-spacing: .08em; font-feature-settings: "palt"; }
.hero-lead { margin-top: var(--s4); font-size: clamp(14px, 1.15vw, 16px); line-height: 2; letter-spacing: .08em; color: var(--ink-2); }
.hero-copy .tl-row { margin-top: var(--s5); }
.hero-meta { position: absolute; left: var(--m); right: var(--m); display: flex; justify-content: space-between; gap: var(--s5); pointer-events: none; }
.hero-meta.top { top: calc(var(--hd) + var(--s5)); }
.hero-meta.bottom { bottom: var(--s5); }
.hero-meta .sh { color: var(--ink-2); }
.hero-meta .sh b { font-weight: 500; color: var(--ink); }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue i { width: 1px; height: 28px; background: var(--hair-2); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 10px; background: var(--gold); animation: cue 2.4s var(--e-inout) infinite; }
@keyframes cue { from { transform: translateY(-10px); } to { transform: translateY(30px); } }
.plant-tip {
  position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none; opacity: 0;
  font: 500 10px/1 var(--f-en); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2);
  transition: opacity var(--t-mid);
}
.plant-tip.is-on { opacity: 1; }
/* a soft paper halo lifts copy off the roots without drawing a box */
.hero-copy, .phero-copy { text-shadow: 0 0 6px #fff, 0 0 14px #fff, 0 0 2px #fff; }
@media (max-width: 719px) {
  .hero .hero-meta.top .sh:last-child { display: none; }
  .hero-meta.bottom .sh:first-child { display: none; }
  .hero-meta.bottom { justify-content: flex-end; }
}
/* hero states (set by JS). Without JS everything is simply visible. */
.js .hero:not(.is-ready) .hero-copy > *, .js .hero:not(.is-ready) .hero-meta { opacity: 0; }
.hero-copy > *, .hero-meta { transition: opacity 1200ms var(--e-out), transform 1200ms var(--e-out); }
.js .hero:not(.is-ready) .hero-copy > * { transform: translateY(16px); }
.hero.is-ready .hero-copy > :nth-child(2) { transition-delay: 120ms; }
.hero.is-ready .hero-copy > :nth-child(3) { transition-delay: 240ms; }
.hero.is-ready .hero-meta { transition-delay: 600ms; }

/* ---------- page hero (subpages) ---------- */
.phero { position: relative; height: clamp(560px, 92svh, 1040px); overflow: hidden; }
.phero .hero-meta.top { top: calc(var(--hd) + var(--s5)); }
.phero-title {
  position: absolute; left: var(--m); top: 40%; margin-left: -.05em;
  font: 200 100px/.8 var(--f-en); letter-spacing: -.03em; white-space: nowrap; width: max-content;
}
.phero-copy { position: absolute; left: var(--m); right: var(--m); top: calc(var(--hz, 60%) + clamp(36px, 5.5vh, 64px)); }
.phero-copy .jp-l { max-width: 18em; }
.phero-copy .lead { margin-top: var(--s5); max-width: 34em; color: var(--ink-2); }
.js .phero:not(.is-ready) .phero-copy > *, .js .phero:not(.is-ready) .hero-meta { opacity: 0; transform: translateY(16px); }
.phero-copy > * { transition: opacity 1200ms var(--e-out), transform 1200ms var(--e-out); }
.phero.is-ready .phero-copy > :nth-child(2) { transition-delay: 140ms; }
@media (min-width: 900px) {
  .phero-copy { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); }
  .phero-copy .jp-l { grid-column: 1 / span 6; }
  .phero-copy .lead { grid-column: 7 / span 5; margin-top: .55em; }
}

/* titles grow out of the horizon: each line is clipped at its own baseline until fully grown */
.ht { display: inline-block; }
.is-stacked .ht { display: block; }
.rise { display: inline-block; transition: transform 1500ms var(--e-out); transition-delay: calc(var(--i, 0) * 110ms); }
.js [data-rise] .ht { clip-path: inset(-40% -6% var(--cb, 0px) -6%); transition: clip-path 1200ms var(--e-out); }
.js [data-rise].is-grown .ht { clip-path: inset(-40% -6% -40% -6%); }
.js [data-rise]:not(.is-risen) .rise { transform: translateY(102%); }
.horizon { transition: transform 1800ms var(--e-inout); }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 1100ms var(--e-out), transform 1100ms var(--e-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-words] .wi { display: inline-block; opacity: 0; transform: translateY(.5em); filter: blur(6px); transition: opacity 900ms var(--e-out), transform 1100ms var(--e-out), filter 900ms var(--e-out); transition-delay: calc(var(--d, 0ms) + var(--i, 0) * 32ms); }
.js [data-words].is-in .wi { opacity: 1; transform: none; filter: none; }
.w { display: inline-block; white-space: nowrap; }
.js [data-line] { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1400ms var(--e-inout); transition-delay: var(--d, 0ms); }
.js [data-line].is-in { transform: none; }

/* ---------- top · about ---------- */
.hmk { margin-top: var(--s9); grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hair); position: relative; }
.hmk-item { padding: var(--s6) var(--s5) 0 0; position: relative; }
.hmk-item + .hmk-item { padding-left: var(--s5); border-left: 1px solid var(--hair); }
.hmk-item .sh { color: var(--ink-2); }
.hmk-jp { margin-top: var(--s5); font-weight: 500; font-size: clamp(36px, 4.6vw, 72px); line-height: 1.1; letter-spacing: .04em; }
.hmk-note { margin-top: var(--s4); font-size: 13px; line-height: 1.9; color: var(--ink-2); max-width: 20em; }
.hmk-line { position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.hmk-item::before { content: ""; position: absolute; top: -3px; left: 0; width: 6px; height: 5.2px; background: var(--gold); transform: scale(0); transition: transform var(--t-mid) var(--e-out); }
.hmk-item + .hmk-item::before { left: -3px; }
.hmk-item.is-lit::before { transform: scale(1); }
@media (max-width: 719px) {
  .hmk { grid-template-columns: 1fr; }
  .hmk-item, .hmk-item + .hmk-item { padding: var(--s5) 0 var(--s5); border-left: 0; border-top: 1px solid var(--hair); }
  .hmk-item:first-child { border-top: 0; }
  .hmk-item + .hmk-item::before { left: 0; }
  .hmk-line { display: none; }
}

/* ---------- top · model (the cycle through the ground) ---------- */
.cycle { position: relative; height: 420svh; margin-top: var(--s9); }
.cycle-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.cycle-stage .horizon { top: var(--cy, 56%); transform: none; }
.cycle-svg { position: absolute; left: 50%; top: var(--cy, 56%); width: var(--cd, 440px); height: var(--cd, 440px); transform: translate(-50%, -50%); overflow: visible; }
.cycle-svg .ring { fill: none; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.cycle-svg .ring.under { stroke-dasharray: 2 5; stroke: var(--ink-2); }
.cycle-svg .trail { fill: none; stroke: var(--gold); stroke-width: var(--tw, .7); stroke-linecap: butt; }
.cycle-svg .stn { fill: var(--paper); stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; transition: fill var(--t-mid); }
.cycle-svg .stn.is-on { fill: var(--gold); stroke: var(--gold); }
.cycle-svg .dot { fill: var(--gold); }
.cycle-steps { position: absolute; inset: 0; pointer-events: none; }
.cstep { position: absolute; width: min(300px, 26vw); opacity: .28; transition: opacity 700ms var(--e-out); }
.cstep.is-on { opacity: 1; }
.cstep .sh { color: var(--gold-ink); }
.cstep h3 { margin-top: var(--s3); }
.cstep p { margin-top: var(--s2); font-size: 13px; line-height: 1.9; color: var(--ink-2); }
.cstep[data-at="w"] { right: calc(50% + var(--cr) + 40px); top: calc(var(--cy) - 16px); transform: translateY(-100%); text-align: right; }
.cstep[data-at="w"] .sh { justify-content: flex-end; }
.cstep[data-at="n"] { left: calc(50% + 40px); top: calc(var(--cy) - var(--cr) - 8px); transform: translateY(-100%); }
.cstep[data-at="e"] { left: calc(50% + var(--cr) + 40px); top: calc(var(--cy) + 16px); }
.cstep[data-at="s"] { right: calc(50% + 40px); top: calc(var(--cy) + var(--cr) + 8px); text-align: right; }
.cstep[data-at="s"] .sh { justify-content: flex-end; }
.cycle-ground { position: absolute; left: var(--m); top: calc(var(--cy) + 14px); color: var(--ink-3); }
.cycle-sky { position: absolute; left: var(--m); top: calc(var(--cy) - 30px); color: var(--ink-3); }
.cycle-hint { position: absolute; right: var(--m); bottom: var(--s5); color: var(--ink-3); }
@media (max-width: 899px) {
  .cycle { height: 460svh; }
  .cstep { width: auto; max-width: 34em; left: var(--m) !important; right: var(--m) !important; top: calc(var(--cy) + var(--cr) + clamp(32px, 6svh, 64px)) !important; bottom: auto; transform: none !important; text-align: left !important; opacity: 0; min-height: var(--cstep-h, 0px); }
  .cstep .sh { justify-content: flex-start !important; }
  .cstep.is-on { opacity: 1; }
  .cycle-ground, .cycle-sky, .cycle-hint { display: none; }
}

/* without JS or motion, the cycle is a plain diagram with every step readable */
.no-js .cstep, .rm .cstep { opacity: 1; }
@media (max-width: 899px) {
  .no-js .cycle, .rm .cycle { height: auto; }
  .no-js .cycle-stage, .rm .cycle-stage { position: relative; height: auto; overflow: visible; padding-top: calc(var(--cd, 62vw) + 64px); }
  .no-js .cycle-stage .horizon, .rm .cycle-stage .horizon, .no-js .cycle-svg, .rm .cycle-svg { top: calc(var(--cd, 62vw) / 2 + 32px); }
  .no-js .cycle-steps, .rm .cycle-steps { position: static; padding: 0 var(--m) var(--s6); display: grid; gap: var(--s6); }
  .no-js .cstep, .rm .cstep { position: static; min-height: 0 !important; }
}

/* ---------- business (top: four roots from one horizon) ---------- */
/* Each column draws its own piece of the horizon; side by side they read as one line. */
.biz { margin-top: var(--s9); position: relative; }
.biz-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.biz-col { position: relative; }
.biz-above { height: clamp(150px, 15vw, 210px); display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--s5) var(--s5); border-bottom: 1px solid var(--ink); position: relative; }
.biz-col:first-child .biz-above, .biz-col:first-child .biz-below { padding-left: 0; }
.biz-above .sh { color: var(--ink-2); margin-bottom: var(--s4); }
.biz-en { font: 200 clamp(30px, 3.3vw, 52px)/.95 var(--f-en); letter-spacing: -.01em; }
.biz-root { position: absolute; left: var(--s5); top: 100%; width: 1px; height: var(--s8); background: var(--hair-2); transform-origin: 50% 0; transition: background var(--t-mid), height 900ms var(--e-out), transform 1400ms var(--e-out); transition-delay: 0s, 0s, var(--d, 0ms); }
.biz-col:first-child .biz-root { left: 0; }
.biz-root::after { content: ""; position: absolute; left: -2.5px; bottom: -2px; width: 6px; height: 5.2px; background: var(--gold); transform: scale(0); transition: transform var(--t-mid) var(--e-out); }
.biz-below { padding: calc(var(--s8) + var(--s5)) var(--s5) 0; }
.biz-below h3 { font-size: clamp(17px, 1.4vw, 20px); }
.biz-below p { margin-top: var(--s3); font-size: 13.5px; line-height: 2; color: var(--ink-2); }
.js .biz-col .biz-root { transform: scaleY(0); }
.js .biz-col.is-in .biz-root { transform: none; }
@media (hover: hover) {
  .biz-col:hover .biz-root { background: var(--gold); height: calc(var(--s8) + 12px); }
  .biz-col:hover .biz-root::after { transform: scale(1); }
}
.biz-foot { margin-top: var(--s8); }
@media (max-width: 899px) {
  .biz-grid { grid-template-columns: 1fr 1fr; row-gap: var(--s8); }
  .biz-col:nth-child(odd) .biz-above, .biz-col:nth-child(odd) .biz-below { padding-left: 0; }
  .biz-col:nth-child(odd) .biz-root { left: 0; }
  .biz-above { height: 120px; }
}
@media (max-width: 559px) {
  .biz-grid { grid-template-columns: 1fr; row-gap: var(--s7); }
  .biz-above, .biz-below { padding-left: 0 !important; padding-right: 0; }
  .biz-above { height: auto; padding-top: 0; }
  .biz-root { left: 0 !important; height: var(--s6); }
  .biz-below { padding-top: calc(var(--s6) + var(--s4)); }
}

/* ---------- future (dot map) ---------- */
.future { position: relative; }
.future-grid { align-items: center; }
.future-copy { grid-column: 1 / span 6; }
.future-copy .jp-l { max-width: 16em; }
.future-copy .body { margin-top: var(--s7); max-width: 30em; }
.future-copy .tl-row { margin-top: var(--s7); }
.future-map { grid-column: 7 / span 6; position: relative; aspect-ratio: 360 / 464; max-height: 88svh; justify-self: center; width: 100%; }
.future-map canvas { width: 100%; height: 100%; }
.future-map figcaption { position: absolute; left: 0; top: 100%; margin-top: var(--s4); display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; font-size: 12px; letter-spacing: .08em; color: var(--ink-2); }
.future-map figcaption .sh { color: var(--gold-ink); }
@media (max-width: 899px) {
  .future-copy, .future-map { grid-column: 1 / -1; }
  .future-map { margin-top: var(--s8); max-width: 520px; }
}

/* ---------- invitation (CTA) ---------- */
.invite { text-align: left; }
.invite-q { font-weight: 500; font-size: clamp(30px, 5.2vw, 80px); line-height: 1.4; letter-spacing: .06em; font-feature-settings: "palt"; }
.invite-body { margin-top: var(--s6); max-width: 34em; color: var(--ink-2); }
.invite-btn {
  margin-top: var(--s8); display: inline-flex; align-items: baseline; gap: var(--s5);
  font: 200 clamp(48px, 7vw, 112px)/1 var(--f-en); letter-spacing: -.02em; position: relative; padding-bottom: var(--s3);
}
.invite-btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform-origin: right; transition: transform 900ms var(--e-inout); }
.invite-btn::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 900ms var(--e-inout); z-index: 1; }
.invite-btn small { font: 500 13px/1 var(--f-jp); letter-spacing: .1em; }
.invite-btn .arr { width: clamp(28px, 3vw, 44px); height: auto; aspect-ratio: 16/10; stroke-width: .8; align-self: center; }
@media (hover: hover) {
  .invite-btn:hover::before { transform: scaleX(1); }
  .invite-btn:hover .arr { transform: translateX(10px); }
}

/* ---------- about ---------- */
.mission-en .seed { margin-left: .045em; }
.values { margin-top: var(--s9); border-top: 1px solid var(--hair); }
.value { padding-block: var(--s8) var(--s9); border-bottom: 1px solid var(--hair); row-gap: var(--s6); }
.value-en { grid-column: 1 / -1; font: 200 clamp(52px, 9.4vw, 152px)/1 var(--f-en); letter-spacing: -.025em; }
.value-copy { grid-column: 7 / span 5; }
.value-copy h3 { margin-bottom: var(--s4); }
.value-copy p { color: var(--ink-2); }
.value .sh { grid-column: 1 / span 6; align-self: start; padding-top: .7em; color: var(--ink-2); }
/* Make It VERVE — the hollow word fills with ink as you read on */
.vfill { position: relative; display: inline-block; height: .7em; aspect-ratio: 66.3 / 10.28; vertical-align: 0; margin-left: .04em; }
.vfill svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vfill .vfill-solid { position: absolute; inset: 0; display: block; }
.vfill .logo--outline { fill: none; stroke: var(--ink); stroke-width: 1; }
.vfill .logo--outline path { vector-effect: non-scaling-stroke; }
.vfill .vfill-solid { clip-path: inset(calc((1 - var(--p, 0)) * 100%) 0 0 0); }
.vfill .vfill-level { position: absolute; left: -4%; right: -4%; height: 1px; background: var(--gold); bottom: calc(var(--p, 0) * 100%); opacity: calc(1 - var(--p, 0) * var(--p, 0) * var(--p, 0)); }
/* Build trust — fine lines stacking into a solid block */
.stack { display: inline-block; position: relative; width: .5em; height: .7em; vertical-align: 0; margin-left: .14em; }
.stack i { position: absolute; left: 0; right: 0; bottom: calc(var(--k) * (100% - 1px) / 13); height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform 700ms var(--e-out); }
.stack i.is-on { transform: none; }
.stack i.top.is-on { background: var(--gold); }
@media (max-width: 899px) {
  .value .sh, .value-copy { grid-column: 1 / -1; }
}

.story { row-gap: var(--s7); }
.story > .sh { grid-column: 1 / span 3; padding-top: .9em; }
.story-title { grid-column: 4 / span 9; }
.story-body { grid-column: 4 / span 6; }
.story-body p + p { margin-top: 1.6em; }
.pull { grid-column: 4 / span 8; margin-block: var(--s4); padding-left: var(--s6); border-left: 1px solid var(--gold); font-weight: 500; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.9; letter-spacing: .06em; }
@media (max-width: 899px) {
  .story > .sh, .story-title, .story-body, .pull { grid-column: 1 / -1; }
  .story > .sh { padding-top: 0; }
}

/* ---------- business page ---------- */
.flow { margin-top: var(--s9); position: relative; }
.flow-track { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.flow-line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--hair-2); }
.flow-line i { position: absolute; inset: 0; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.flow-step { position: relative; padding: var(--s6) var(--s4) 0 0; }
.flow-step::before { content: ""; position: absolute; left: 0; top: -3px; width: 7px; height: 7px; border: 1px solid var(--ink); background: var(--paper); border-radius: 50%; transition: background var(--t-mid), border-color var(--t-mid); }
.flow-step.is-on::before { background: var(--gold); border-color: var(--gold); }
.flow-step .sh { color: var(--ink-3); }
.flow-step.is-on .sh { color: var(--gold-ink); }
.flow-step p { margin-top: var(--s3); font-weight: 500; font-size: clamp(15px, 1.35vw, 19px); line-height: 1.6; letter-spacing: .06em; }
@media (max-width: 899px) {
  .flow-track { grid-template-columns: 1fr; }
  .flow-line { left: 3px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .flow-line i { transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
  .flow-step { padding: 0 0 var(--s6) var(--s6); }
  .flow-step::before { left: 0; top: .45em; }
}
.flow-after { margin-top: var(--s8); }

.ventures { position: relative; }
.ventures-nav { position: sticky; top: calc(var(--hd) + var(--s5)); align-self: start; grid-column: 1 / span 3; padding-top: var(--s2); }
.ventures-nav ul { border-left: 1px solid var(--hair); }
.ventures-nav a { display: flex; align-items: center; gap: 10px; padding: 6px 0 6px var(--s4); margin-left: -1px; border-left: 1px solid transparent; font: 500 11px/1.5 var(--f-en); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); transition: color var(--t-fast), border-color var(--t-fast); }
.ventures-nav a.is-on { color: var(--ink); border-left-color: var(--gold); }
.ventures-list { grid-column: 4 / span 9; }
.venture { padding-block: var(--s9); border-top: 1px solid var(--hair); scroll-margin-top: var(--hd); }
.venture:first-child { border-top: 0; padding-top: 0; }
.venture-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; }
.venture-en { font: 200 clamp(48px, 6.4vw, 100px)/.9 var(--f-en); letter-spacing: -.02em; }
.venture-en .seed { margin-left: .06em; }
.venture-area { font-size: 13px; letter-spacing: .12em; color: var(--ink-2); }
.venture-head + h2 { margin-top: var(--s7); max-width: 22em; }
.venture .body { margin-top: var(--s5); max-width: 36em; color: var(--ink-2); }
.venture-list { margin-top: var(--s6); max-width: 36em; }
.venture-list .sh { color: var(--ink-2); margin-bottom: var(--s3); }
.venture-list li { position: relative; padding: var(--s3) 0 var(--s3) var(--s5); border-top: 1px solid var(--hair); font-size: 14px; line-height: 1.8; }
.venture-list li:last-child { border-bottom: 1px solid var(--hair); }
.venture-list li::before { content: ""; position: absolute; left: 0; top: 1.25em; width: 6px; height: 5.2px; background: var(--gold); }
.venture-rel { margin-top: var(--s6); display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.venture-rel .tl { font-size: 13px; }
@media (max-width: 899px) {
  .ventures-nav { display: none; }
  .ventures-list { grid-column: 1 / -1; }
}

/* ---------- corporate ---------- */
.co-table { grid-column: 4 / span 8; }
.co-table div { display: grid; grid-template-columns: 9em minmax(0, 1fr); column-gap: var(--s5); padding-block: var(--s5); border-top: 1px solid var(--hair); }
.co-table div:last-child { border-bottom: 1px solid var(--hair); }
.co-table dt { font-size: 13px; letter-spacing: .1em; color: var(--ink-2); padding-top: .1em; }
.co-table dd { font-size: 15px; }
.tbd { color: var(--gold-ink); background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat; background-image: repeating-linear-gradient(90deg, var(--gold) 0 3px, transparent 3px 6px); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; }
@media (max-width: 899px) { .co-table { grid-column: 1 / -1; } .co-table div { grid-template-columns: 7em minmax(0, 1fr); } }

.form { grid-column: 4 / span 7; margin-top: var(--s8); }
.field { padding-block: var(--s5); border-top: 1px solid var(--hair); display: grid; grid-template-columns: 13em minmax(0, 1fr); column-gap: var(--s5); align-items: start; }
.field:last-of-type { border-bottom: 1px solid var(--hair); }
.field > label, .field > .lbl { font-size: 13px; letter-spacing: .08em; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 2px var(--s3); align-items: baseline; }
.req, .opt { white-space: nowrap; }
.req { font: 500 10px/1 var(--f-en); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.opt { font: 500 10px/1 var(--f-en); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.field input[type=text], .field input[type=email], .field textarea, .field select {
  width: 100%; border: 0; border-bottom: 1px solid var(--hair-2); background: transparent; padding: 10px 0; border-radius: 0; outline: none; font-size: 15px; letter-spacing: .04em;
  transition: border-color var(--t-fast);
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 9em; resize: vertical; line-height: 1.9; }
.field select { background: linear-gradient(45deg, transparent 50%, currentColor 50%) right 6px center / 5px 5px no-repeat, linear-gradient(-45deg, transparent 50%, currentColor 50%) right 1px center / 5px 5px no-repeat; padding-right: 28px; cursor: pointer; }
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--gold); }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-bottom-color: #a14a3b; }
.check { display: flex; gap: var(--s3); align-items: flex-start; font-size: 14px; cursor: pointer; padding-top: 8px; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 16px; height: 16px; border: 1px solid var(--hair-2); margin-top: .35em; display: grid; place-items: center; cursor: pointer; }
.check input:checked { border-color: var(--gold); }
.check input:checked::after { content: ""; width: 8px; height: 7px; background: var(--gold); }
.check a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.form-actions { margin-top: var(--s7); display: flex; align-items: center; gap: var(--s6); flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: var(--s5); height: 56px; padding: 0 var(--s6) 0 var(--s6);
  background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 500; letter-spacing: .12em; position: relative; overflow: hidden;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--gold-ink); transform: translateY(101%); transition: transform var(--t-mid) var(--e-out); }
.btn > * { position: relative; }
@media (hover: hover) { .btn:hover::before { transform: none; } .btn:hover .arr { transform: translateX(4px); } }
.form-status { font-size: 13px; color: var(--ink-2); }
.form-preview { display: flex; gap: var(--s3); align-items: baseline; font-size: 13px; line-height: 1.8; color: var(--gold-ink); }
.form-preview .sq { transform: translateY(-1px); }
.form-done { grid-column: 4 / span 7; margin-top: var(--s8); padding: var(--s7) 0; border-top: 1px solid var(--gold); }
.form-done p + p { margin-top: var(--s3); }
@media (max-width: 899px) {
  .form, .form-done { grid-column: 1 / -1; }
  .field { grid-template-columns: 1fr; row-gap: var(--s1); }
  .field > label, .field > .lbl { padding-top: 0; }
}

.plain { grid-column: 4 / span 7; }
.plain p + p { margin-top: 1.4em; }
@media (max-width: 899px) { .plain { grid-column: 1 / -1; } }

/* ---------- footer: the soil at the bottom of every page ---------- */
.ft { position: relative; background: var(--soil); color: var(--on-soil); overflow: hidden; }
.ft-roots { position: absolute; inset: 0; width: 100%; height: 100%; }
.ft-in { position: relative; padding: var(--s10) var(--m) var(--s5); }
.ft-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: var(--s8); }
.ft-mission { grid-column: 1 / span 6; }
.ft-mission .sh { color: var(--on-soil-2); }
.ft-en { margin-top: var(--s5); font: 200 clamp(40px, 5vw, 76px)/1 var(--f-en); letter-spacing: -.02em; }
.ft-jp { margin-top: var(--s4); font-size: 14px; letter-spacing: .1em; color: var(--on-soil-2); }
.ft-nav { grid-column: 8 / span 5; }
.ft-nav li { border-top: 1px solid var(--hair-soil); }
.ft-nav li:last-child { border-bottom: 1px solid var(--hair-soil); }
.ft-nav a { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; font: 300 20px/1.3 var(--f-en); letter-spacing: .01em; transition: padding var(--t-mid) var(--e-out); }
.ft-nav small { font: 400 12px/1 var(--f-jp); letter-spacing: .1em; color: var(--on-soil-2); }
@media (hover: hover) { .ft-nav a:hover { padding-left: var(--s3); } }
.ft-logo { margin-top: var(--s10); color: var(--on-soil); }
.ft-logo .logo--outline { fill: none; stroke: currentColor; stroke-width: 1; }
.ft-logo .logo--outline .g { vector-effect: non-scaling-stroke; }
.ft-logo .logo--outline .g-dot { fill: var(--gold); stroke: none; }
.js .ft-logo .g:not(.g-dot) { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1800ms var(--e-inout); transition-delay: calc(var(--i, 0) * 70ms); }
.js .ft-logo.is-in .g:not(.g-dot) { stroke-dashoffset: 0; }
.js .ft-logo .g-dot { transform: scale(0); transform-box: fill-box; transform-origin: 50% 100%; transition: transform 700ms var(--e-out) 1500ms; }
.js .ft-logo.is-in .g-dot { transform: none; }
.ft-bottom { margin-top: var(--s6); display: flex; align-items: center; gap: var(--s6); flex-wrap: wrap; font-size: 12px; color: var(--on-soil-2); }
.ft-bottom a { transition: color var(--t-fast); display: inline-flex; align-items: center; gap: 8px; }
@media (hover: hover) { .ft-bottom a:hover { color: var(--on-soil); } }
.ft-bottom small { font: 400 11px/1 var(--f-en); letter-spacing: .14em; margin-left: auto; }
.ft-top-link { font: 500 11px/1 var(--f-en) !important; letter-spacing: .2em; text-transform: uppercase; }
@media (max-width: 899px) {
  .ft-mission, .ft-nav { grid-column: 1 / -1; }
  .ft-bottom small { margin-left: 0; width: 100%; order: 3; }
}

/* ---------- intro (first visit) ---------- */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; pointer-events: none; }
.intro-logo { width: min(300px, 62vw); color: var(--ink); }
.intro-logo .g { transform-box: fill-box; }
.intro-seed { position: fixed; left: 0; top: 0; z-index: 101; pointer-events: none; }
.intro-seed i { display: block; width: 100%; height: 100%; background: var(--gold); }
.is-intro .hd { opacity: 0; }
.hd { transition: transform var(--t-mid) var(--e-out), color var(--t-mid) var(--e-out), opacity 900ms var(--e-out); }

/* ---------- page transitions ---------- */
::view-transition-old(root) { animation: vt-out 520ms var(--e-inout) both; }
::view-transition-new(root) { animation: vt-in 900ms var(--e-out) 120ms both; }
::view-transition-group(site-header) { animation-duration: 0s; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-2.5vh); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(3vh); } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  .cycle { height: auto; }
  .cycle-stage { position: relative; height: 100svh; }
}

/* =========================================================================
   Second career (athletes)
   ========================================================================= */
.hmk--words .hmk-jp { font-size: clamp(20px, 2vw, 28px); line-height: 1.6; letter-spacing: .06em; }

/* the relay: experience runs along the horizon, takes root in local work, branches to the next generation */
.relay { margin-top: var(--s9); }
.relay-stage { position: relative; height: clamp(380px, 34vw, 500px); }
.relay-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.relay-svg .r-hz { stroke: var(--ink); stroke-width: 1; }
.relay-svg .r-ghost { fill: none; stroke: var(--hair-2); stroke-width: 1; stroke-dasharray: 2 4; }
.relay-svg .r-gold { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.relay-svg .r-seed { fill: var(--gold); }
.relay-steps { position: absolute; inset: 0; pointer-events: none; }
.rstep { position: absolute; left: var(--x, 0); top: var(--y, 0); width: min(280px, 24vw); opacity: .3; transition: opacity 700ms var(--e-out); }
.rstep.is-on { opacity: 1; }
.rstep .sh { color: var(--gold-ink); }
.rstep .jp-s { margin-top: var(--s2); }
.rstep[data-at="a"], .rstep[data-at="b"] { transform: translateY(calc(-100% - var(--s5))); }
.rstep[data-at="c"] { transform: translate(calc(-100% - var(--s6)), -50%); text-align: right; }
.rstep[data-at="c"] .sh { justify-content: flex-end; }
.no-js .rstep, .rm .rstep { opacity: 1; }
@media (max-width: 899px) {
  .relay-stage { height: auto; }
  .relay-svg { position: relative; height: clamp(260px, 72vw, 380px); }
  .relay-steps { position: static; display: grid; gap: var(--s5); margin-top: var(--s6); }
  .rstep { position: static; width: auto; transform: none !important; padding-left: var(--s5); border-left: 1px solid var(--hair); }
  .rstep.is-on { border-left-color: var(--gold); }
}

/* one sentence, standing on the line */
.statement {
  grid-column: 1 / -1; position: relative; padding-top: var(--s7); border-top: 1px solid var(--ink);
  font-weight: 500; font-size: clamp(24px, 3.4vw, 50px); line-height: 1.7; letter-spacing: .06em; font-feature-settings: "palt";
}
.statement::before { content: ""; position: absolute; left: 0; top: -6.1px; width: 7px; height: 6.1px; background: var(--gold); }

/* top page: the way in to the athletes page */
.aband { display: block; position: relative; }
.aband-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; }
.aband-head .sh { padding-bottom: var(--s4); }
.aband-en { font: 200 clamp(52px, 9vw, 148px)/.8 var(--f-en); letter-spacing: -.025em; white-space: nowrap; }
.aband-en .seed { position: relative; }
.aband-en .seed::after { /* a root from the seed, longer when you reach for it */
  content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: var(--root, 0px); background: var(--gold);
  transition: height 900ms var(--e-out);
}
.aband.is-in .aband-en .seed::after { --root: 28px; }
.aband-line { display: block; position: relative; height: 1px; background: var(--ink); }
.aband-line::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform 900ms var(--e-inout); }
.aband-body { margin-top: var(--s7); row-gap: var(--s5); align-items: end; }
.aband-body .jp-l { grid-column: 1 / span 6; }
.aband-side { grid-column: 8 / span 5; }
.aband-side .lead { color: var(--ink-2); }
.aband-side .tl { margin-top: var(--s5); }
@media (hover: hover) {
  .aband:hover .aband-line::after { transform: scaleX(1); }
  .aband:hover .aband-en .seed::after { --root: 72px; }
  .aband:hover .tl { background-size: 100% 1px, 100% 1px; }
  .aband:hover .tl .arr { transform: translateX(4px); }
}
@media (max-width: 899px) {
  .aband-body .jp-l, .aband-side { grid-column: 1 / -1; }
  .aband-en { font-size: clamp(44px, 14vw, 110px); }
}

/* menu on phones: five rows, Japanese under the English so nothing wraps mid-word */
@media (max-width: 599px) {
  .menu-nav a { grid-template-columns: 14px minmax(0, 1fr); row-gap: 2px; padding-block: clamp(6px, 1.1vh, 10px); }
  .mn-en { font-size: clamp(30px, min(6.2vh, 10.6vw), 44px); }
  .mn-jp { grid-column: 2; text-align: left; font-size: 11px; line-height: 1.5; }
}
@media (max-width: 899px) {
  .rstep[data-at="c"] { text-align: left; }
  .rstep[data-at="c"] .sh { justify-content: flex-start; }
}
