/* Cudium, four years. Studio Freight ledger skin.
   Tokens first, then shared parts, then sections, then pages. */

:root {
  --paper: #f7f7f3;
  --paper-2: #eeeee8;
  --white: #ffffff;
  --ink: #0f142d;
  --ink-2: #4a5068;
  --ink-3: #7a8098;
  --blue: #3772fa;
  --blue-d: #2c5ccb;
  --green: #1fc198;
  --red: #d2463c;
  --gold: #c39a3e;
  --gold-d: #8f6c1f;
  --gold-l: #e6c578;
  --rule: rgba(15, 20, 45, 0.1410);
  --rule-2: rgba(15, 20, 45, 0.0808);
  --navy-2: #161c3a;
  --foot: #090b15;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --bar: 64px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --text: "Geist", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.1898, 1, 0.2192, 1);
  --ease-io: cubic-bezier(0.7698, 0, 0.1740, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--text); font-size: 17px; line-height: 1.5494;
  overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold-l); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.mono { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0.0798em; text-transform: uppercase; line-height: 1.4493; }
.dim { opacity: .5; }
.label { display: inline-flex; gap: 12px; align-items: center; color: var(--ink-2); }
.idx { color: var(--gold-d); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--paper); text-decoration: none; }
.skip:focus { top: 12px; }

.ico { display: inline-block; flex: none; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.ico--sm { width: 16px; height: 16px; }

/* ---------- buttons: ledger tabs, square cut, hairline, gold underline ---------- */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  height: var(--h); padding: 0 22px; cursor: pointer;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  text-decoration: none; color: var(--paper); background: var(--ink);
  border: 1px solid var(--ink); border-radius: 0; overflow: hidden; isolation: isolate;
  box-shadow: inset 0 -2px 0 var(--gold);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn:hover, .btn:focus-visible { border-color: var(--blue); color: var(--white); }
.btn i { font-style: normal; transition: transform .6s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--sm { --h: 38px; padding: 0 14px; gap: 12px; font-size: 11px; }
.btn--block { width: 100%; }
.btn[disabled] { cursor: not-allowed; opacity: 0.3808; }
.btn[disabled]::before { transform: scaleY(0); }
.btn[disabled]:hover { border-color: var(--ink); color: var(--paper); }
.btn[disabled]:hover i { transform: none; }

/* ---------- seal ---------- */
.seal { color: var(--gold-d); overflow: visible; }
.seal__ring { fill: none; stroke: currentColor; stroke-width: 1; }
.seal__txt { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.0793em; fill: currentColor; }
.seal__n { font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: -0.0395em; fill: currentColor; }
.seal--spin { width: 38px; height: 38px; }
.seal--spin .seal__txt, .seal--dl .seal__txt { transform-box: view-box; transform-origin: 60px 60px; animation: seal-spin 26s linear infinite; }
@keyframes seal-spin { to { transform: rotate(360deg); } }

/* ---------- bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--bar);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 0 var(--gut);
  background: rgba(247, 247, 243, 0.8402);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .4s;
}
.bar.is-scrolled { border-bottom-color: var(--rule); }
.bar__left { display: flex; align-items: center; gap: 18px; }
.bar__logo img { width: 112px; height: auto; }
.bar__seal { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-d); text-decoration: none; }
.bar__nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); font-size: 15px; font-weight: 500; }
.bar__nav > a, .drop__btn { position: relative; text-decoration: none; padding: 6px 0; }
.bar__nav > a::after, .drop__btn::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.bar__nav > a:hover::after, .drop__btn:hover::after, .bar__nav > a[aria-current]::after, .drop__btn[data-current]::after { transform: scaleX(1); transform-origin: left; }
.bar__right { justify-self: end; display: flex; align-items: center; gap: 10px; }

.drop { position: relative; }
.drop__btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; font-weight: 500; }
.drop__btn i { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .4s var(--ease); }
.drop__btn[aria-expanded="true"] i { transform: translateY(1px) rotate(225deg); }
.drop__panel {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 270px; padding: 8px 0 10px;
  background: var(--white); border: 1px solid var(--rule); border-top: 2px solid var(--gold);
  transform: translate(-50%, -6px); opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), transform 0.4504s var(--ease), visibility 0s 0.4495s;
}
.drop.is-open .drop__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .3s var(--ease), transform 0.4499s var(--ease), visibility 0s; }
.drop__head { padding: 8px 18px 10px; color: var(--ink-3); border-bottom: 1px dashed var(--rule); margin-bottom: 4px; }
.drop__panel a { display: flex; align-items: center; gap: 14px; padding: 10px 18px; text-decoration: none; font-size: 15px; transition: background 0.2493s, color 0.2505s; }
.drop__panel a .mono { color: var(--gold-d); }
.drop__panel a:hover, .drop__panel a:focus-visible { background: var(--paper); color: var(--blue-d); outline: none; }
.drop__panel a[aria-current] { color: var(--blue-d); }

.bar__menu { display: none; align-items: center; gap: 10px; height: 38px; padding: 0 12px; background: transparent; border: 1px solid var(--ink); cursor: pointer; }
.bar__menu i { position: relative; width: 16px; height: 8px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transition: transform .4s var(--ease); }
.bar__menu[aria-expanded="true"] i { transform: scaleY(0.2); }

.sheet {
  position: fixed; inset: var(--bar) 0 0 0; z-index: 55; overflow-y: auto; overscroll-behavior: contain;
  background: var(--ink); color: var(--paper); padding: 24px var(--gut) 40px;
  display: grid; align-content: space-between; gap: 32px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io);
}
.sheet[hidden] { display: none; }
.sheet.is-open { clip-path: inset(0 0 0 0); }
.sheet__nav { display: grid; }
.sheet__nav > a, .sheet__group > p {
  display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1203);
  font-family: var(--display); font-size: 30px; letter-spacing: -0.0204em; line-height: 1.1; text-decoration: none;
}
.sheet__nav .mono { color: var(--gold-l); font-size: 11px; }
.sheet__sub { display: grid; padding: 4px 0 12px 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.1197); }
.sheet__sub a { padding: 8px 0; font-size: 17px; text-decoration: none; color: rgba(247, 247, 243, .8); }
.sheet__sub a[aria-current], .sheet__nav > a[aria-current] { color: var(--gold-l); }
.sheet__group > p { border-bottom: 0; padding-bottom: 6px; }
.sheet__foot { display: grid; gap: 18px; justify-items: center; text-align: center; color: rgba(247, 247, 243, .6); }
.sheet__foot .btn { width: 100%; background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ---------- sections ---------- */
main { display: block; }
section { position: relative; padding: clamp(88px, 12vw, 168px) var(--gut); text-align: center; }
.head { max-width: 980px; margin: 0 auto clamp(44px, 6vw, 80px); display: grid; gap: 20px; justify-items: center; }
.head::after { content: ""; width: 56px; height: 5px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.head--tight { margin-bottom: clamp(24px, 3.2vw, 44px); gap: 16px; }
.head--sub { margin-top: clamp(72px, 9vw, 120px); }
.h2 { font-family: var(--display); font-size: clamp(34px, 5.2vw, 72px); line-height: 1.0197; letter-spacing: -0.0356em; font-weight: 500; }
.h2 em, .phero__title em { font-style: normal; color: var(--blue); }
.h3 { font-family: var(--display); font-size: clamp(24px, 2.6vw, 36px); line-height: 1.0808; letter-spacing: -0.0193em; font-weight: 500; }
main > section + section::before {
  content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); height: 1px; background: var(--rule);
}

/* ---------- home hero ---------- */
.hero {
  min-height: 100svh; display: grid; align-content: center; justify-items: center;
  padding-top: calc(var(--bar) + 28px); padding-bottom: 116px; overflow: hidden;
  background: repeating-linear-gradient(to bottom, transparent 0 39px, rgba(55, 114, 250, 0.0703) 39px 40px), var(--paper);
}
.hero__map { position: absolute; left: 50%; top: 52%; width: min(1500px, 150vw); max-width: none; transform: translate(-50%, -50%); opacity: .5; mix-blend-mode: multiply; pointer-events: none; }
.hero__map img { width: 100%; max-width: none; }
.hero__inner { position: relative; display: grid; gap: 18px; justify-items: center; max-width: 1180px; }
.hero__title { display: grid; justify-items: center; font-weight: 500; }
.hero__name { font-family: var(--display); font-size: clamp(40px, 6vw, 88px); line-height: 0.9498; letter-spacing: -0.0403em; }
.hero__num { position: relative; display: block; }
.hero__numin { position: relative; z-index: 1; display: block; overflow: hidden; padding: 0.0199em 0.0402em 0.0602em; }
.hero__numin > span {
  display: block; font-family: var(--display); font-size: min(56vw, 40svh); line-height: .9; letter-spacing: -0.0598em; font-weight: 500;
  background: linear-gradient(100deg, var(--gold-d) 0%, var(--gold) 35%, #f4dea2 50%, var(--gold) 65%, var(--gold-d) 100%);
  background-size: 250% 100%; background-position: 0% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.seal--hero { position: absolute; z-index: 2; right: -38%; top: 2%; width: clamp(76px, 10vw, 140px); transform: rotate(-12deg); }
.hero__yrs { font-family: var(--display); font-size: clamp(22px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.0209em; font-weight: 400; }
.hero__line { font-family: var(--display); font-size: clamp(17px, 1.6vw, 22px); font-weight: 500; letter-spacing: -0.0106em; max-width: 640px; }
.hero__sub { max-width: 560px; font-size: clamp(16px, 1.3vw, 18px); color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.clocks { position: absolute; left: var(--gut); right: var(--gut); bottom: 32px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.clock { display: flex; justify-content: space-between; gap: 8px; padding: 12px 14px 0; border-left: 1px solid var(--rule); }
.clock:first-child { border-left: 0; padding-left: 0; }
.clock__city { color: var(--ink-2); }
.clock__t { font-variant-numeric: tabular-nums; }
.hero__rule { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; }
.hero__rule i { position: absolute; left: 0; width: 100%; height: 1px; background: var(--gold); transform-origin: center; }
.hero__rule i:first-child { top: 0; } .hero__rule i:last-child { bottom: 0; }
.js-anim .hero__rule i { transform: scaleX(0); }
.js-anim .hero__numin > span { transform: translateY(105%); }

/* ---------- [N] years in numbers ---------- */
.years { padding: 0; background: var(--ink); color: #eef0f7; }
.years__pin { position: relative; min-height: 100svh; display: grid; align-content: center; gap: clamp(20px, 3vw, 40px); padding: calc(var(--bar) + 32px) var(--gut) 48px; }
.years .head { margin-bottom: 0; }
.years .label { color: rgba(238, 240, 247, .6); }
.years .idx { color: var(--gold-l); }
.years__sub { max-width: 640px; color: rgba(238, 240, 247, 0.7208); font-size: clamp(16px, 1.4vw, 20px); }
.years__body { position: relative; max-width: var(--max); width: 100%; margin: 0 auto; }
.years__stage { display: grid; grid-template-columns: repeat(4, 1fr); }
.fig { display: grid; gap: 12px; justify-items: center; align-content: center; padding: 24px 12px; border-top: 1px solid rgba(230, 197, 120, .4); }
.fig__i { color: var(--gold-l); }
.fig__n { display: block; overflow: hidden; padding-bottom: 0.0408em; font-family: var(--display); font-size: clamp(48px, 6.4vw, 104px); line-height: 0.9200; letter-spacing: -0.0509em; font-weight: 500; color: var(--gold-l); font-variant-numeric: tabular-nums; }
.fig__n .count { display: inline-block; }
.fig__l { font-size: clamp(15px, 1.5vw, 21px); }
.years__ticks { display: none; justify-content: center; gap: 8px; }
.years__ticks i { width: 40px; height: 2px; background: rgba(255, 255, 255, 0.1796); transition: background .4s; }
.years__ticks i.is-on { background: var(--gold-l); }
.vslot--years { margin: 32px auto 0; height: min(42svh, 420px); }
.js-anim .years__ticks { display: flex; }
.js-anim .years__stage { grid-template-columns: 1fr; grid-template-areas: "s"; }
.js-anim .fig { grid-area: s; border-top: 0; }
.js-anim .fig__n { font-size: clamp(92px, 15vw, 220px); }
.js-anim .fig .count { transform: translateY(105%); transition: transform 1.1s var(--ease); }
.js-anim .fig.is-past .count { transform: translateY(-105%); }
.js-anim .fig.is-on .count { transform: none; }
.js-anim .fig .fig__i, .js-anim .fig .fig__l { opacity: 0; transition: opacity 0.4501s; }
.js-anim .fig.is-on .fig__i, .js-anim .fig.is-on .fig__l { opacity: 1; transition-delay: 0.2502s; }
.js-anim .vslot--years { position: absolute; right: 0; top: 50%; margin: 0; transform: translateY(-50%); height: min(48svh, 460px); }

/* ---------- horizontal runs ---------- */
.run { padding: 0; }
.run__pin { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; padding: calc(var(--bar) + 28px) 0 40px; overflow: hidden; }
.run .head { padding: 0 var(--gut); }
.run__track { display: flex; gap: clamp(14px, 2vw, 28px); padding: 0 var(--gut); width: max-content; will-change: transform; }
.run__progress { padding: 28px var(--gut) 0; display: flex; justify-content: center; }
.run__bar { width: min(320px, 60vw); height: 1px; background: var(--rule); position: relative; }
.run__bar i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
html:not(.js-anim) .run__pin { min-height: 0; padding: clamp(88px, 12vw, 168px) 0; }
html:not(.js-anim) .run__track { width: auto; flex-wrap: wrap; justify-content: center; }
html:not(.js-anim) .run__progress { display: none; }

/* feature panels: media beside copy, so the card never drops below the fold */
.panel {
  flex: none; width: min(86vw, 980px); display: grid; grid-template-columns: 1.1506fr 1fr; text-align: left;
  background: var(--white); border: 1px solid var(--rule);
}
.panel__media { aspect-ratio: 4 / 3; max-height: calc(100svh - 360px); overflow: hidden; background: var(--paper-2); border-right: 1px solid var(--rule); }
.panel__media video { width: 100%; height: 100%; object-fit: cover; }
.panel__body { display: grid; align-content: space-between; gap: 22px; padding: clamp(18px, 2.4vw, 32px); }
.panel__meta { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-2); padding-bottom: 14px; border-bottom: 1px dashed var(--rule); }
.panel__title { font-family: var(--display); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.0503; letter-spacing: -0.0245em; font-weight: 500; }
.panel__copy { color: var(--ink-2); font-size: 16px; }

/* milestones */
.ms__note { color: var(--gold-d); }
.ms__track { position: relative; }
.ms__track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--gold); opacity: .6; }
.ms {
  position: relative; z-index: 1; flex: none; width: min(72vw, 360px); min-height: min(300px, 40svh);
  display: grid; align-content: space-between; gap: 18px; padding: 22px; text-align: left;
  background: var(--paper); border: 1px dashed var(--gold);
}
.ms__meta { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-2); }
.ms__tag { color: var(--gold-d); border: 1px solid var(--gold); padding: 2px 6px; }
.ms__year { font-family: var(--display); font-size: clamp(56px, 6.6vw, 100px); line-height: .9; letter-spacing: -0.0501em; font-weight: 500; color: transparent; -webkit-text-stroke: 1.5px var(--gold-d); }
.ms__what { font-family: var(--display); font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.0194em; color: var(--ink-2); }
html:not(.js-anim) .ms__track::before { display: none; }

/* ---------- process: pinned ledger with media ---------- */
.steps { padding: 0; }
.steps__pin { min-height: 100svh; display: grid; align-content: center; padding: calc(var(--bar) + 24px) var(--gut) 40px; }
.steps__grid { max-width: 1120px; width: 100%; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.steps__media { position: relative; height: min(54svh, 540px); aspect-ratio: 1784 / 1920; background: var(--white); border: 1px solid var(--rule); overflow: hidden; }
.steps__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease-io); }
.steps__vid.is-on { clip-path: inset(0 0 0 0); }
.steps__count { position: absolute; left: 12px; bottom: 10px; z-index: 2; padding: 3px 6px; background: var(--paper); border: 1px solid var(--rule); }
.ledger { width: 100%; border-top: 1px solid var(--ink); text-align: left; }
.ledger__row { display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--rule); transition: opacity .5s var(--ease); cursor: default; }
.ledger__row h3 { font-family: var(--display); font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: -0.0209em; line-height: 1.1209; }
.ledger__desc { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .7s var(--ease); }
.ledger__desc > p { overflow: hidden; color: var(--ink-2); max-width: 520px; padding-top: 6px; }
.ledger__no { color: var(--blue); padding-top: 6px; }
.ledger__stamp { padding: 6px 10px; border: 1px solid var(--green); color: var(--green); transform: rotate(-6deg); transition: opacity .4s var(--ease), transform .5s var(--ease); margin-top: 2px; }
.js-anim .ledger__row { opacity: 0.3207; }
.js-anim .ledger__desc { grid-template-rows: 0fr; }
.js-anim .ledger__row .ledger__stamp { opacity: 0; transform: rotate(-6deg) scale(1.4); }
.js-anim .ledger__row.is-on { opacity: 1; }
.js-anim .ledger__row.is-active .ledger__desc { grid-template-rows: 1fr; }
.js-anim .ledger__row.is-on .ledger__stamp { opacity: 1; transform: rotate(-6deg) scale(1); }

/* ---------- services ---------- */
.svc { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; text-align: left; }
.svc + .svc { margin-top: clamp(72px, 10vw, 140px); }
.svc--rev .svc__media { order: 2; }
.svc__media { aspect-ratio: 541 / 301; overflow: hidden; background: #e8eefc; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__body { display: grid; gap: 20px; }
.svc__body > p:last-child { color: var(--ink-2); max-width: 520px; }
.js-anim .mask { clip-path: inset(100% 0 0 0); }
.js-anim .mask img { transform: scale(1.1502); }

/* ---------- thank you ---------- */
.thanks { overflow-x: clip; }
.thanks__mark { position: relative; display: inline-block; }
.thanks__title { font-family: var(--display); font-size: clamp(72px, 15vw, 220px); line-height: .9; letter-spacing: -0.0544em; font-weight: 500; }
.seal--ty { position: absolute; right: -4%; top: -28%; width: clamp(70px, 9vw, 130px); transform: rotate(10deg); }
.thanks__sub { font-size: clamp(18px, 1.8vw, 24px); color: var(--ink-2); max-width: 560px; font-family: var(--display); letter-spacing: -0.0095em; }
.thanks__lbl { display: flex; justify-content: center; margin: 0 auto 24px; }
.thanks__reel { max-width: 1080px; margin: 0 auto clamp(64px, 8vw, 110px); display: grid; grid-template-columns: 256fr 81fr; gap: clamp(10px, 1.4vw, 20px); }
.seal--stamp { will-change: transform; }
.js-anim .seal--stamp { opacity: 0; }

.logos { width: 100%; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.logos li { display: grid; place-items: center; padding: 30px 16px; border-left: 1px solid var(--rule); min-height: 110px; }
.logos li:first-child { border-left: 0; }
.logos img { max-height: 44px; max-width: 150px; width: auto; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.1); opacity: 0.7199; transition: filter .5s, opacity .5s; }
.logos li:hover img { filter: none; opacity: 1; }

.receipts { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.receipt {
  background: var(--white); padding: 22px 22px 40px; display: grid; gap: 24px; align-content: start; border: 1px solid var(--rule);
  -webkit-mask: radial-gradient(6px at 50% 100%, transparent 98%, #000) 0 0 / 14px 100%;
          mask: radial-gradient(6px at 50% 100%, transparent 98%, #000) 0 0 / 14px 100%;
}
.receipt__ref { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-2); padding-bottom: 14px; border-bottom: 1px dashed var(--rule); }
.receipt blockquote { font-family: var(--display); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.3; letter-spacing: -0.0104em; }
.receipt figcaption { color: var(--gold-d); }

/* ---------- partner video (YouTube facade) ---------- */
.yt { position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; background: var(--ink); border: 1px solid var(--rule); overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8192; transition: opacity .5s, transform 1.2s var(--ease); }
.yt:hover img { opacity: 1; transform: scale(1.0209); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(84px, 9vw, 116px); aspect-ratio: 1; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; align-content: center; gap: 6px;
  background: rgba(15, 20, 45, 0.7791); color: var(--gold-l); border: 1px solid var(--gold-l);
  transition: background .4s, transform .6s var(--ease);
}
.yt__play:hover { background: var(--ink); transform: translate(-50%, -50%) scale(1.0597); }
.yt__play i { width: 0; height: 0; border-left: 16px solid currentColor; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.yt__meta { position: absolute; left: 14px; right: 14px; top: 12px; display: flex; justify-content: space-between; color: var(--paper); }
.yt.is-playing .yt__play, .yt.is-playing .yt__meta { display: none; }

/* ---------- download slip ---------- */
.dl { padding-left: var(--gut); padding-right: var(--gut); }
.dl__slip {
  position: relative; max-width: 1180px; margin: 0 auto; overflow: hidden;
  display: grid; gap: 22px; justify-items: center; padding: clamp(56px, 8vw, 112px) clamp(20px, 5vw, 64px);
  background: var(--ink); color: var(--paper);
}
.dl__slip::before, .dl__slip::after { content: ""; position: absolute; left: 0; right: 0; height: 5px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.dl__slip::before { top: 14px; } .dl__slip::after { bottom: 14px; }
.dl .label { color: rgba(247, 247, 243, .6); }
.dl .idx { color: var(--gold-l); }
.seal--dl { position: absolute; right: -90px; top: -90px; width: 360px; height: 360px; color: var(--gold-l); opacity: 0.1601; pointer-events: none; }
.dl__title { font-family: var(--display); font-size: clamp(40px, 6vw, 88px); line-height: 0.9794; letter-spacing: -0.0456em; font-weight: 500; max-width: 820px; }
.dl__desc { color: rgba(247, 247, 243, 0.7194); max-width: 420px; }
.dl__help { display: grid; gap: 6px; justify-items: center; margin-top: 18px; padding-top: 26px; border-top: 1px dashed rgba(247, 247, 243, .2); width: min(420px, 100%); }
.dl__help p { display: inline-flex; gap: 8px; align-items: center; color: rgba(247, 247, 243, .6); }
.dl__wa { font-family: var(--display); font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.0206em; text-decoration: none; }
.dl__wa:hover { color: var(--gold-l); }
.dl__num { color: var(--gold-l); text-decoration: none; font-size: 13px; }

.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-width: 196px; padding: 12px 18px; text-align: left; text-decoration: none;
  background: var(--paper); color: var(--ink); border: 1px solid var(--paper);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.store span { display: grid; gap: 2px; }
.store small { font-size: 9.5px; color: var(--ink-2); transition: color .4s; }
.store b { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -0.0209em; line-height: 1; }
.store .ico { width: 24px; height: 24px; }
.store:hover { background: transparent; color: var(--paper); border-color: var(--gold-l); }
.store:hover small { color: var(--gold-l); }

/* ---------- faq ---------- */
.acc { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--ink); text-align: left; }
.acc__item { border-bottom: 1px solid var(--rule); }
.acc__item h3 { font: inherit; }
.acc__q {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: grid; grid-template-columns: 54px 1fr 20px; gap: 14px; align-items: center;
  padding: 24px 0; font-family: var(--display); font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -0.0148em; line-height: 1.2;
}
.acc__q:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.acc__q:hover .acc__text { color: var(--blue-d); }
.acc__n { color: var(--gold-d); }
.acc__text { transition: color .3s; }
.acc__sign { position: relative; width: 16px; height: 16px; }
.acc__sign::before, .acc__sign::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.acc__sign::after { transform: rotate(90deg); }
.acc__q[aria-expanded="true"] .acc__sign::after { transform: rotate(0); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.acc__a > div { overflow: hidden; }
.acc__a p { padding: 0 34px 26px 68px; color: var(--ink-2); max-width: 760px; }
.acc__a a { color: var(--blue-d); }
.acc__item.is-open .acc__a { grid-template-rows: 1fr; }

/* ---------- footer ---------- */
.foot { background: var(--foot); color: #e6e8f0; padding: clamp(64px, 8vw, 96px) var(--gut) 28px; text-align: center; overflow: hidden; }
.foot__big { font-family: var(--display); font-size: clamp(64px, 17vw, 260px); line-height: 0.8492; letter-spacing: -0.0595em; font-weight: 500; color: transparent; -webkit-text-stroke: 1px rgba(230, 197, 120, .5); white-space: nowrap; }
.foot__grid {
  max-width: var(--max); margin: clamp(48px, 6vw, 72px) auto 0; padding: 40px 0; display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1409); border-bottom: 1px solid rgba(255, 255, 255, 0.1403);
}
.foot__brand { display: grid; gap: 22px; justify-items: center; }
.foot__brand img { width: 134px; height: auto; }
.foot__brand p { color: rgba(230, 232, 240, 0.6509); max-width: 360px; font-size: 15px; }
.foot__col { display: grid; gap: 12px; align-content: start; justify-items: center; font-size: 15px; }
.foot__h { color: var(--gold-l); margin-bottom: 4px; }
.foot__col a { text-decoration: none; color: rgba(230, 232, 240, 0.7798); transition: color .3s; max-width: 240px; }
.foot__col a:hover { color: var(--white); }
.social { display: inline-flex; align-items: center; gap: 10px; }
.social .ico { width: 18px; height: 18px; }
.stores--foot .store { min-width: 168px; padding: 10px 14px; }
.stores--foot .store b { font-size: 17px; }
.foot__legal { max-width: 760px; margin: 32px auto 0; display: grid; gap: 10px; font-size: 14px; color: rgba(230, 232, 240, 0.6601); }
.foot__end { max-width: var(--max); margin: 40px auto 0; display: flex; justify-content: space-between; gap: 12px; color: rgba(230, 232, 240, 0.4210); }

/* ---------- page hero (industry, about, contact) ---------- */
.phero { min-height: 92svh; display: grid; align-content: center; padding-top: calc(var(--bar) + 48px); padding-bottom: 120px; overflow: hidden;
  background: repeating-linear-gradient(to bottom, transparent 0 39px, rgba(55, 114, 250, 0.0604) 39px 40px), var(--paper); }
.phero__inner { position: relative; max-width: 1120px; margin: 0 auto; display: grid; gap: 24px; justify-items: center; }
.seal--page { width: clamp(84px, 9vw, 120px); transform: rotate(-10deg); margin-bottom: 4px; }
.phero__title { font-family: var(--display); font-size: clamp(38px, 6vw, 90px); line-height: 1; letter-spacing: -0.0459em; font-weight: 500; max-width: 1080px; }
.phero__title--long { font-size: clamp(34px, 5.2vw, 78px); }
.phero__sub { max-width: 620px; color: var(--ink-2); font-size: clamp(16px, 1.4vw, 19px); }
.ticker { position: absolute; left: 0; right: 0; bottom: 0; overflow: hidden; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); background: var(--paper); }
.ticker__run { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker__run span { padding: 14px 22px; white-space: nowrap; color: var(--ink-2); }
.ticker__run span:first-child, .ticker__run span:nth-child(13) { color: var(--gold-d); }
.ticker__run i { align-self: center; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

.plate { padding-top: 0; padding-bottom: 0; }
main > .plate::before { display: none; }
.plate__frame { max-width: 1440px; margin: 0 auto; }
.plate__frame img { width: 100%; height: min(78svh, 760px); object-fit: cover; }
.plate__cap { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; color: var(--ink-2); border-bottom: 1px solid var(--rule); }

/* ---------- industry features ---------- */
.feats__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--rule); text-align: left; }
.feat { grid-column: span 2; position: relative; display: grid; gap: 14px; align-content: start; padding: clamp(22px, 2.6vw, 36px); min-height: 250px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--paper); transition: background .5s; }
.feat:nth-child(n+4) { grid-column: span 3; }
.feat::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.feat:hover { background: var(--white); }
.feat:hover::before { transform: scaleX(1); }
.feat__n { color: var(--gold-d); }
.ico--feat { width: 30px; height: 30px; color: var(--blue); margin: 18px 0 10px; }
.feat h3 { font-family: var(--display); font-size: clamp(22px, 2vw, 28px); line-height: 1.1; letter-spacing: -0.0195em; font-weight: 500; max-width: 360px; }
.feat p { color: var(--ink-2); max-width: 380px; }
.js-anim .feat { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform 1s var(--ease), background .5s; }
.js-anim .feats__grid.is-in .feat { opacity: 1; transform: none; }

/* ---------- about ---------- */
.vm { display: grid; gap: clamp(88px, 11vw, 160px); }
.vm__row { max-width: var(--max); width: 100%; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.vm__row--rev .vm__media { order: 2; }
.vm__media { overflow: hidden; background: var(--paper-2); }
.vm__media img { width: 100%; height: min(64svh, 600px); object-fit: cover; }
.vm__body { display: grid; gap: 22px; justify-items: center; }
.vm__body p { color: var(--ink-2); max-width: 520px; font-size: clamp(16px, 1.3vw, 18px); }
.vm__body .vm__lead { color: var(--ink); font-family: var(--display); font-size: clamp(20px, 1.9vw, 26px); line-height: 1.3; letter-spacing: -0.0095em; }
.story__body { max-width: 760px; margin: 0 auto; display: grid; gap: 26px; color: var(--ink-2); font-size: clamp(16px, 1.3vw, 19px); }
.story__lead, .story__pull { font-family: var(--display); color: var(--ink); font-size: clamp(24px, 2.6vw, 38px); line-height: 1.1804; letter-spacing: -0.0246em; }
.story__pull { color: var(--gold-d); }
.vslot--story { margin: 18px 0; }
.metrics .totals { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.total { padding: 26px 18px 0; border-left: 1px solid var(--rule); display: grid; gap: 22px; }
.total:first-child { border-left: 0; }
.total dt { color: var(--ink-2); }
.total dd {
  font-family: var(--display); font-size: clamp(44px, 6vw, 92px); line-height: 1; letter-spacing: -0.0405em; font-weight: 500; font-variant-numeric: tabular-nums; padding-bottom: 14px;
  background: linear-gradient(var(--ink), var(--ink)) bottom / 100% 1px no-repeat, linear-gradient(var(--ink), var(--ink)) bottom 4px left / 100% 1px no-repeat;
}
.careers { display: grid; gap: 22px; justify-items: center; }
.careers__sub { max-width: 520px; color: var(--ink-2); }

/* ---------- contact ---------- */
.contact { padding-top: calc(var(--bar) + 56px); background: repeating-linear-gradient(to bottom, transparent 0 39px, rgba(55, 114, 250, 0.0596) 39px 40px), var(--paper); }
.contact__head { margin-bottom: clamp(48px, 6vw, 80px); }
.contact__lines { display: flex; flex-wrap: wrap; justify-content: center; border: 1px solid var(--rule); }
.contact__lines li { padding: 12px 18px; border-left: 1px solid var(--rule); }
.contact__lines li:first-child { border-left: 0; }
.contact__lines a { text-decoration: none; color: var(--blue-d); }
.contact__lines a:hover { color: var(--ink); }
.contact__social { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px; color: var(--ink-2); font-size: 15px; }
.contact__social .social { text-decoration: none; color: var(--ink); }
.contact__social .social:hover { color: var(--blue-d); }

.slip { position: relative; max-width: 820px; margin: 0 auto; text-align: left; background: var(--white); border: 1px solid var(--rule); }
.slip::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 8px; background: radial-gradient(6px at 50% 0, var(--white) 98%, transparent) 0 0 / 14px 8px repeat-x; }
.slip__top { display: flex; justify-content: space-between; gap: 12px; padding: 14px clamp(18px, 3vw, 36px); border-bottom: 1px dashed var(--rule); color: var(--ink-2); }
.form { display: grid; gap: 26px; padding: clamp(22px, 3.6vw, 44px) clamp(18px, 3vw, 36px) clamp(30px, 4vw, 48px); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > label, .field > [id$="-label"] { font-family: var(--mono); font-size: 11px; letter-spacing: 0.0793em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field textarea, .combo__btn {
  width: 100%; min-width: 0; font: inherit; font-size: 17px; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 10px 0 11px; outline: none;
  transition: border-color .3s, box-shadow .3s; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; border: 1px solid var(--rule); border-bottom-color: var(--ink); padding: 12px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: 1; }
.field input:focus, .field textarea:focus, .combo__btn:focus-visible, .combo.is-open .combo__btn { border-bottom-color: var(--blue); box-shadow: 0 1px 0 var(--blue); outline: none; }
.field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px var(--white) inset; -webkit-text-fill-color: var(--ink); }
.field__err { display: none; color: var(--red); font-size: 10.5px; }
.field.is-bad .field__err { display: block; }
.field.is-bad input, .field.is-bad textarea, .field.is-bad .combo__btn { border-bottom-color: var(--red); }
.field.is-good input, .field.is-good .combo__btn { border-bottom-color: var(--green); }

.phone { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: end; }
.combo { position: relative; }
.combo__btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; text-align: left; }
.combo__btn .is-empty { color: var(--ink-3); }
.combo__btn i { flex: none; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .4s var(--ease); }
.combo.is-open .combo__btn i { transform: translateY(1px) rotate(225deg); }
.combo--code .combo__btn { min-width: 96px; font-variant-numeric: tabular-nums; }
.combo__flag { font-size: 18px; line-height: 1; }
.combo__panel {
  position: absolute; z-index: 20; left: 0; top: calc(100% + 8px); width: 100%; min-width: 300px;
  background: var(--white); border: 1px solid var(--rule); border-top: 2px solid var(--gold); box-shadow: 0 24px 48px -24px rgba(15, 20, 45, 0.2792);
}
.combo__search { display: block; width: calc(100% - 24px); margin: 12px; font: inherit; font-size: 15px; padding: 9px 10px; border: 1px solid var(--rule); border-radius: 0; background: var(--paper); color: var(--ink); outline: none; }
.combo__search:focus { border-color: var(--blue); }
.combo__list { max-height: 264px; overflow-y: auto; overscroll-behavior: contain; padding: 4px 0 8px; outline: none; }
.combo__list li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 16px; cursor: pointer; font-size: 15px; transition: background .2s; }
.combo--ref .combo__list li { grid-template-columns: 1fr auto; }
.combo__list li.is-active { background: var(--paper); }
.combo__list li[aria-selected="true"] { color: var(--blue-d); }
.combo__list li[aria-selected="true"]::after { content: ""; width: 10px; height: 5px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg) translateY(-2px); }
.combo__list li .mono { color: var(--ink-3); }
.combo__list li[hidden] { display: none; }
.combo__empty { padding: 4px 16px 14px; color: var(--ink-3); }

.check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; cursor: pointer; font-size: 15px; color: var(--ink-2); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { position: relative; width: 20px; height: 20px; border: 1px solid var(--ink); background: var(--white); transition: background .3s, border-color .3s; margin-top: 1px; }
.check__box::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border-right: 2px solid var(--gold-l); border-bottom: 2px solid var(--gold-l); transform: rotate(45deg) scale(0); transition: transform .4s var(--ease); }
.check input:checked + .check__box { background: var(--ink); }
.check input:checked + .check__box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--blue); outline-offset: 2px; }
.check a { color: var(--ink); font-weight: 600; }

.slip__done { display: grid; gap: 16px; justify-items: center; text-align: center; padding: clamp(48px, 7vw, 88px) clamp(18px, 3vw, 36px); outline: none; }
.slip__done[hidden] { display: none; }
.seal--done { width: 120px; color: var(--green); transform: rotate(-8deg); }
.slip__done .mono { color: var(--green); }
.slip__note { color: var(--ink-2); max-width: 460px; }

/* ---------- legal ---------- */
.lhero { padding-top: calc(var(--bar) + 72px); padding-bottom: clamp(56px, 7vw, 88px); display: grid; gap: 18px; justify-items: center; border-bottom: 1px solid var(--rule); }
.seal--calm { width: 76px; }
.lhero__title { font-family: var(--display); font-size: clamp(44px, 7vw, 104px); line-height: 0.9503; letter-spacing: -0.0497em; font-weight: 500; }
.lhero__ver { color: var(--gold-d); }
.legal { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; text-align: left; padding-top: clamp(48px, 6vw, 80px); }
main > .legal::before { display: none; }
.toc { position: sticky; top: calc(var(--bar) + 24px); border-top: 1px solid var(--ink); }
.toc__btn { display: none; }
.toc__list { display: grid; max-height: calc(100svh - var(--bar) - 64px); overflow-y: auto; overscroll-behavior: contain; }
.toc__list a { position: relative; padding: 11px 0 11px 18px; font-size: 14.5px; line-height: 1.3496; text-decoration: none; color: var(--ink-2); border-bottom: 1px solid var(--rule-2); transition: color .3s; }
.toc__list a::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; background: var(--gold); transform: scaleY(0); transition: transform .4s var(--ease); }
.toc__list a:hover { color: var(--ink); }
.toc__list a.is-on { color: var(--ink); }
.toc__list a.is-on::before { transform: scaleY(1); }
.legal__body { max-width: 72ch; display: grid; gap: clamp(40px, 5vw, 56px); color: #2a3050; font-size: 17px; line-height: 1.7207; }
.legal__sec { display: grid; gap: 14px; scroll-margin-top: calc(var(--bar) + 24px); }
.legal__sec h2 { font-family: var(--display); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1503; letter-spacing: -0.0203em; font-weight: 500; color: var(--ink); padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.legal__sec strong { color: var(--ink); font-weight: 600; }
.legal__sub { font-weight: 600; color: var(--ink); margin-top: 6px; }
.legal__caps { font-weight: 500; }
.legal__sec ul, .legal__sec ol { display: grid; gap: 8px; }
.legal__sec li { position: relative; padding-left: 22px; }
.legal__sec li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border: 1px solid var(--gold-d); transform: rotate(45deg); }
.legal__sec li.legal__group { padding-left: 0; }
.legal__sec li.legal__group::before { display: none; }
.legal__sec li.legal__group ul { margin-top: 8px; }
.legal__marks--tick li::before { content: ""; border: 0; width: 10px; height: 5px; left: 1px; top: 0.6201em; border-left: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green); transform: rotate(-45deg); }
.legal__marks--arrow li::before { border: 0; border-top: 1.5px solid var(--gold-d); border-right: 1.5px solid var(--gold-d); width: 7px; height: 7px; }

/* ---------- download page and 404 ---------- */
.dlpage { min-height: 100svh; display: grid; align-content: center; padding: calc(var(--bar) + 40px) var(--gut) 64px; background: var(--ink); }
.dl--page { padding: 0; }
.dl--page .dl__slip { background: transparent; border: 1px solid rgba(230, 197, 120, 0.3508); }
.pg-download main > section + section::before { display: none; }
.nf { min-height: 100svh; display: grid; align-content: center; justify-items: center; gap: 18px; padding-top: calc(var(--bar) + 48px); }
.nf__code { font-family: var(--display); font-size: clamp(140px, 30vw, 360px); line-height: 0.8490; letter-spacing: -0.0700em; font-weight: 500; color: transparent; -webkit-text-stroke: 1.5px var(--gold-d); }
.nf__text { max-width: 460px; color: var(--ink-2); }
.nf__help { color: var(--ink-2); font-size: 15px; }
.nf__help a { color: var(--blue-d); }

/* ---------- video slots ---------- */
.vslot {
  position: relative; display: block; overflow: hidden; margin: 0;
  background: repeating-linear-gradient(135deg, rgba(195, 154, 62, .1) 0 1px, transparent 1px 12px), var(--paper-2);
  border: 1px dashed var(--gold);
}
.vslot--16x9 { aspect-ratio: 16 / 9; }
.vslot--9x16 { aspect-ratio: 9 / 16; }
.vslot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease); }
.vslot.has-video video { opacity: 1; }
.vslot.has-video .vslot__label { opacity: 0; }
.vslot__label { position: absolute; top: 10px; left: 12px; right: 12px; display: flex; justify-content: space-between; color: var(--gold-d); font-size: 10px; text-align: left; }
.vslot--9x16 .vslot__label { flex-direction: column; align-items: flex-start; gap: 4px; }
.vslot--dark { background: repeating-linear-gradient(135deg, rgba(230, 197, 120, .1) 0 1px, transparent 1px 12px), var(--navy-2); border-color: rgba(230, 197, 120, .6); }
.vslot--dark .vslot__label { color: var(--gold-l); }
.vslot--hero { position: absolute; top: 4%; bottom: 4%; left: 50%; transform: translateX(-50%); aspect-ratio: 16 / 9; z-index: 0; }

/* ---------- split text: word masks ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; will-change: transform; }
.js-anim .split:not(.is-in) .w > span { transform: translateY(110%); }
.js-anim .reveal-fade { opacity: 0; }
.js-anim .receipt { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.js-anim .receipts.is-in .receipt { opacity: 1; transform: none; }
.js-anim .receipts.is-in .receipt:nth-child(2) { transition-delay: .1s; }
.js-anim .receipts.is-in .receipt:nth-child(3) { transition-delay: .2s; }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .bar__nav { display: none; }
  .bar { grid-template-columns: 1fr auto; }
  .bar__menu { display: inline-flex; }
  .js-anim .vslot--years { position: relative; right: auto; top: auto; transform: none; height: 22svh; margin: 18px auto 0; }
  .foot__grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .legal { grid-template-columns: minmax(0, 1fr); }
  .toc { top: var(--bar); z-index: 10; background: var(--paper); border-top: 0; border-bottom: 1px solid var(--rule); margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); }
  .toc__btn { display: grid; grid-template-columns: auto 1fr 12px; gap: 14px; align-items: center; width: 100%; padding: 14px 0; background: none; border: 0; cursor: pointer; text-align: left; }
  .toc__btn .mono { color: var(--gold-d); }
  .toc__cur { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .toc__btn i { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .4s var(--ease); }
  .toc.is-open .toc__btn i { transform: translateY(1px) rotate(225deg); }
  .toc__list { display: grid; grid-template-rows: 0fr; max-height: none; overflow: hidden; transition: grid-template-rows .6s var(--ease); }
  .toc__list > * { min-height: 0; }
  .toc__inner { overflow: hidden; }
  .toc.is-open .toc__list { grid-template-rows: 1fr; }
}

/* ---------- phone ---------- */
@media (max-width: 820px) {
  body { font-size: 16px; }
  .bar__seal .mono { display: none; }
  .bar__right .btn { display: none; }
  .clocks { grid-template-columns: repeat(2, 1fr); row-gap: 10px; bottom: 24px; }
  .clock:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero { padding-bottom: 150px; }
  .hero__map { opacity: .3; }
  .seal--hero { right: -22%; top: -4%; }
  .years__stage { grid-template-columns: repeat(2, 1fr); }
  .panel { grid-template-columns: 1fr; width: min(84vw, 520px); }
  .panel__media { border-right: 0; border-bottom: 1px solid var(--rule); max-height: 30svh; aspect-ratio: auto; height: 30svh; }
  .panel__body { gap: 14px; padding: 18px; }
  .panel__copy { font-size: 15px; }
  .steps__grid { grid-template-columns: 1fr; gap: 20px; justify-items: center; }
  .steps__media { height: 24svh; }
  .ledger__row { grid-template-columns: 40px 1fr auto; gap: 12px; padding: 14px 0; }
  .ledger__stamp { font-size: 9px; padding: 4px 6px; }
  .svc, .vm__row { grid-template-columns: 1fr; }
  .svc--rev .svc__media, .vm__row--rev .vm__media { order: 0; }
  .vm__media img { height: 46svh; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .logos li { border-left: 0; border-top: 1px solid var(--rule); min-height: 90px; }
  .logos li:nth-child(even) { border-left: 1px solid var(--rule); }
  .logos li:nth-child(-n+2) { border-top: 0; }
  .logos li:last-child { grid-column: 1 / -1; border-left: 0; }
  .receipts { grid-template-columns: 1fr; }
  .feats__grid { grid-template-columns: 1fr; }
  .feat, .feat:nth-child(n+4) { grid-column: auto; min-height: 0; }
  .metrics .totals { grid-template-columns: repeat(2, 1fr); }
  .total:nth-child(3) { border-left: 0; }
  .total { padding-bottom: 30px; }
  .acc__q { grid-template-columns: 40px 1fr 16px; }
  .acc__a p { padding: 0 0 22px 54px; }
  .form__grid { grid-template-columns: 1fr; }
  .contact__lines { flex-direction: column; width: 100%; max-width: 360px; }
  .contact__lines li { border-left: 0; border-top: 1px solid var(--rule); }
  .contact__lines li:first-child { border-top: 0; }
  .combo__panel { min-width: 0; width: calc(100vw - 2 * var(--gut) - 2px); }
  .combo--code .combo__panel { width: calc(100vw - 2 * var(--gut) - 2px); }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .foot__col:last-child { grid-column: 1 / -1; grid-template-columns: repeat(2, auto); justify-content: center; column-gap: 28px; }
  .foot__col:last-child .foot__h { grid-column: 1 / -1; }
  .foot__end { flex-direction: column; align-items: center; gap: 6px; }
  .plate__frame img { height: 52svh; }
  .plate__cap { flex-direction: column; gap: 4px; align-items: center; }
  .phero { min-height: 88svh; }
  .seal--dl { width: 240px; height: 240px; right: -70px; top: -70px; }
  .legal__body { font-size: 16px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.0105ms !important; animation: none !important; }
  .ticker__run { transform: none; }
}
.toc__inner { display: grid; min-height: 0; }

/* ================= gold scroll: thin gold thumb, progress rule across the top ================= */
html { scrollbar-width: thin; scrollbar-color: var(--gold) transparent; scrollbar-gutter: stable; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-d); }
.progress { position: fixed; inset: 0 0 auto 0; z-index: 70; height: 2px; pointer-events: none; }
.progress i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold-d), var(--gold) 70%, var(--gold-l)); transform: scaleX(0); transform-origin: left; will-change: transform; }
.progress i::after { content: ""; position: absolute; right: 0; top: -2px; width: 48px; height: 6px; background: radial-gradient(closest-side, var(--gold-l), transparent); opacity: var(--lo, 0); }

/* ================= sound control: a ledger tab, fixed and small ================= */
.snd {
  position: fixed; right: 16px; bottom: 16px; z-index: 58; height: 34px; padding: 0 12px 0 10px;
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  background: var(--paper); color: var(--ink); border: 1px solid var(--ink); border-radius: 0;
  box-shadow: inset 0 -2px 0 var(--gold); font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  transition: background .3s, color .3s, border-color .3s;
}
.snd:hover { background: var(--ink); color: var(--paper); }
.snd__bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.snd__bars i { width: 3px; height: 100%; background: var(--gold); transform-origin: bottom; transform: scaleY(var(--v, 0.3493)); }
.snd[aria-pressed="false"] .snd__bars i { background: var(--ink-3); transform: scaleY(0.1806); }
.snd[aria-pressed="false"] .snd__bars { position: relative; }
.snd[aria-pressed="false"] .snd__bars::after { content: ""; position: absolute; left: -2px; right: -2px; top: 50%; height: 1px; background: currentColor; transform: rotate(-35deg); }
.snd.is-waiting .snd__t { color: var(--gold-d); }
.snd.is-waiting:hover .snd__t { color: var(--gold-l); }
.pre-gate:not(.pre-done) .snd { opacity: 0; pointer-events: none; }
@media (max-width: 820px) { .snd { right: 12px; bottom: 12px; width: 34px; height: 34px; padding: 0; justify-content: center; } .snd__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }

/* music-led accents: set per element from app.js, zero when quiet */
.head::after { transform: scaleX(calc(1 + var(--hi, 0) * 0.5492)); border-color: color-mix(in srgb, var(--gold-l) calc(var(--hi, 0) * 100%), var(--gold)); }
.ticker__run i { scale: calc(1 + var(--mid, 0) * .8); }

/* ================= preloader ================= */
.pre {
  position: fixed; inset: 0; z-index: 90; display: none; place-items: center; padding: 16px;
  background: var(--ink); color: var(--paper); overflow-y: auto; overscroll-behavior: contain;
  border-bottom: 2px solid var(--gold);
  transition: transform 1s var(--ease-io);
}
html.pre-gate .pre, html.pre-quick .pre { display: grid; }
html.pre-done .pre { display: none !important; }
html.pre-gate:not(.pre-done):not(.pre-lift) { overflow: hidden; }
html.pre-lift .pre { transform: translateY(calc(-100% - 4px)); }
.pre-quick .pre__sheet, .pre-gate .pre__quick { display: none; }

.pre__quick { display: grid; justify-items: center; gap: 14px; color: var(--gold-l); }
.pre__qn { font-family: var(--display); font-weight: 300; font-size: 96px; line-height: .9; letter-spacing: -0.0497em; overflow: hidden; display: block; }
.pre__qn > span { display: block; animation: pre-rise .7s var(--ease) both; }
.pre__quick .mono { color: rgba(247, 247, 243, .7); }
.pre__quick i { width: 120px; height: 1px; background: var(--gold); animation: pre-draw .7s var(--ease-io) .1s both; }

.pre__sheet {
  position: relative; width: min(520px, 100%); background: var(--paper); color: var(--ink);
  padding: clamp(20px, 4vw, 36px); display: grid; gap: 18px; text-align: center;
  box-shadow: 0 0 0 1px rgba(230, 197, 120, 0.3495), 0 30px 80px rgba(0, 0, 0, 0.3493);
  animation: pre-open 1s var(--ease-io) .1s both;
}
.pre__top { display: flex; justify-content: space-between; color: var(--ink-2); }
.pre__rule { position: relative; height: 5px; }
.pre__rule i { position: absolute; left: 0; right: 0; height: 1px; background: var(--gold); transform-origin: center; animation: pre-draw 1s var(--ease-io) .7s both; }
.pre__rule i:first-child { top: 0; } .pre__rule i:last-child { bottom: 0; animation-delay: 0.8203s; }
.pre__entry { display: grid; justify-items: center; gap: 8px; padding: 6px 0 2px; }
.pre__fig { position: relative; display: grid; place-items: center; }
.pre__4 { grid-area: 1 / 1; font-family: var(--display); font-weight: 300; font-size: clamp(120px, 30vw, 176px); line-height: 0.8194; letter-spacing: -0.0605em; padding: 0 0.0406em; }
.pre__4--line { color: transparent; -webkit-text-stroke: 1px var(--gold); }
.pre__4--ink { color: var(--gold); animation: pre-ink 1.3s var(--ease-io) 1.1491s both; }
.pre__seal { position: absolute; width: 64px; right: -58px; top: -6px; transform: rotate(-12deg); animation: pre-stamp 0.5492s cubic-bezier(0.3396, 1.7, .5, 1) 2.2s both; }
.pre__line { color: var(--ink-2); }
.pre__rows { display: grid; text-align: left; border-top: 1px solid var(--rule); }
.pre__rows li { display: flex; justify-content: space-between; padding: 9px 2px; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.pre__rows b, .pre__total b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.pre__rows li.is-done b { color: var(--gold-d); }
.pre__total { display: flex; justify-content: space-between; align-items: baseline; padding: 0 2px; }
.pre__total b { font-family: var(--display); font-size: 34px; letter-spacing: -0.0302em; line-height: 1; }
.pre__rule--total i { animation-delay: 1s; } .pre__rule--total i:last-child { animation-delay: 1.1s; }
.pre__go { display: grid; justify-items: center; gap: 12px; padding-top: 6px; visibility: hidden; opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .8s var(--ease), visibility 0s .6s; animation: pre-show 0s 5s forwards; }
.pre.is-ready .pre__go { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; animation: none; }
.pre__enter { width: 100%; max-width: 320px; }
.pre__quiet { background: none; border: 0; padding: 4px 2px; cursor: pointer; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.pre__quiet:hover { color: var(--ink); }
.pre__hint { color: var(--ink-3); font-size: 10px; }
@media (max-width: 820px) { .pre__seal { width: 48px; right: -50px; top: -14px; } .pre__total b { font-size: 28px; } }
@media (max-height: 640px) { .pre__4 { font-size: 104px; } .pre__sheet { gap: 12px; } }

@keyframes pre-open { from { clip-path: inset(50% 0 50% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pre-draw { from { transform: scaleX(0); } }
@keyframes pre-ink { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pre-stamp { from { opacity: 0; transform: rotate(-52deg) scale(2.4); } }
@keyframes pre-rise { from { transform: translateY(105%); } }
@keyframes pre-show { to { visibility: visible; opacity: 1; transform: none; } }

/* two-way fades on inner pages */
.js-anim .reveal-fade.tw { transition: opacity .9s var(--ease); }
.js-anim .reveal-fade.tw.is-in { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .pre { transition: none; }
  .pre__go { transition: none; }
}

/* Lenis 1.1.13 base rules, inlined so no third stylesheet blocks the first paint */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }
