/* Infinite Ascent — built from Figma frame 500 (Brand Guidelines, Additional Assets).
   Source of this file is scripts/styles.src.css; "Nu" means N canvas pixels of the
   1920-wide mock and compiles to calc(N * var(--u)). Run `npm run css` after editing. */
@font-face { font-family: "Victor Narrow"; src: url("assets/fonts/VictorNarrow-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: Inter; src: url("assets/fonts/Inter-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "ABC Whyte Mono"; src: url("assets/fonts/ABCWhyteMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --u: min(100vw / 1920, 1.25px);
  --black: #0d0c16;
  --p3: #313363;
  --p4: #ebf1fc;
  --slate: #3a395a;
  --violet-tx: #7672cb;
  --peach: #f0b18a;
  --display: "Victor Narrow", "Noto Serif Display", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "ABC Whyte Mono", "DM Mono", "IBM Plex Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { background: var(--p4); scroll-behavior: smooth; }
body { margin: 0; background: var(--p4); color: var(--black); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ol, li, figure { margin: 0; padding: 0; }
li { list-style: none; }
img { display: block; max-width: none; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 40; padding: 14px 20px; background: var(--p4); color: var(--black); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.display { font-family: var(--display); font-weight: 500; line-height: 1; }
.mono { font-family: var(--mono); font-weight: 400; text-transform: uppercase; letter-spacing: 0; line-height: normal; }

.page { position: relative; width: calc(1920 * var(--u)); margin: 0 auto; overflow: clip; }
.grain { position: absolute; inset: 0; z-index: 30; pointer-events: none; mix-blend-mode: overlay; background: url("assets/brand/noise.webp") 0 0 / calc(400 * var(--u)) calc(400 * var(--u)) repeat; }

/* ---------- navigation ---------- */
.nav { position: absolute; top: 0; left: 0; width: calc(1920 * var(--u)); height: calc(150 * var(--u)); z-index: 6; color: var(--black); }
.nav-wordmark { position: absolute; left: calc(69 * var(--u)); top: calc(55 * var(--u)); width: calc(168 * var(--u)); height: calc(43.17 * var(--u)); }
.nav-mark { position: absolute; left: calc(934 * var(--u)); top: calc(47 * var(--u)); width: calc(53 * var(--u)); height: calc(45 * var(--u)); }
.nav-wordmark img, .nav-mark img { width: 100%; height: 100%; }
.nav-contact { position: absolute; right: calc(75 * var(--u)); top: calc(65 * var(--u)); font-size: calc(13 * var(--u)); line-height: calc(15 * var(--u)); }
.nav-contact:hover { opacity: .65; }

/* ---------- hero ---------- */
.hero { position: relative; height: calc(1064 * var(--u)); color: #fff; }
.hero-art { position: absolute; left: 0; top: 0; width: calc(1920 * var(--u)); height: calc(1144 * var(--u)); pointer-events: none; }
.hero-haze {
  position: absolute; left: 0; top: calc(-517 * var(--u)); width: calc(1920 * var(--u)); height: calc(1643 * var(--u));
  background: url("assets/brand/web/hero-haze.webp") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent calc(587 * var(--u)), #000 calc(727 * var(--u)), #000 calc(1386 * var(--u)), transparent calc(1526 * var(--u)));
  mask-image: linear-gradient(180deg, transparent calc(587 * var(--u)), #000 calc(727 * var(--u)), #000 calc(1386 * var(--u)), transparent calc(1526 * var(--u)));
}
.mtn { position: absolute; mix-blend-mode: screen; object-fit: cover; }
.mtn-1 { left: calc(383 * var(--u)); top: calc(606 * var(--u)); width: calc(741 * var(--u)); height: calc(417 * var(--u)); }
.mtn-2 { left: 0; top: calc(718 * var(--u)); width: calc(481 * var(--u)); height: calc(271 * var(--u)); }
.mtn-3 { left: calc(575 * var(--u)); top: calc(266 * var(--u)); width: calc(1345 * var(--u)); height: calc(757 * var(--u)); }
.mtn-4 { left: calc(-25 * var(--u)); top: calc(727 * var(--u)); width: calc(741 * var(--u)); height: calc(417 * var(--u)); }
.mtn-5 { left: calc(481 * var(--u)); top: calc(577 * var(--u)); width: calc(1007 * var(--u)); height: calc(567 * var(--u)); }
.mtn-6 { left: calc(874 * var(--u)); top: calc(436 * var(--u)); width: calc(1258 * var(--u)); height: calc(708 * var(--u)); }
.murmuration { position: absolute; left: 0; top: 0; width: calc(1920 * var(--u)); height: calc(1144 * var(--u)); mix-blend-mode: screen; opacity: 0; transition: opacity 1.2s ease-out; }
.hero.motion-ready .murmuration { opacity: 1; }
.hero .cloud { position: absolute; width: calc(540.99 * var(--u)); height: calc(294.04 * var(--u)); mix-blend-mode: plus-lighter; }
.cloud-l { left: calc(-197 * var(--u)); top: calc(246 * var(--u)); }
.cloud-r { left: calc(1681 * var(--u)); top: calc(573 * var(--u)); }
.guide { position: absolute; pointer-events: none; }
.guide-h { left: 0; width: calc(1920 * var(--u)); height: calc(1 * var(--u)); background: repeating-linear-gradient(90deg, #fff 0 calc(3 * var(--u)), transparent calc(3 * var(--u)) calc(13 * var(--u))); }
.guide-v { top: 0; width: calc(1 * var(--u)); height: calc(976 * var(--u)); background: repeating-linear-gradient(180deg, #fff 0 calc(3 * var(--u)), transparent calc(3 * var(--u)) calc(13 * var(--u))); }
.gh-1 { top: calc(301 * var(--u)); } .gh-2 { top: calc(605 * var(--u)); } .gh-3 { top: calc(717 * var(--u)); }
.gv-1 { left: calc(346 * var(--u)); } .gv-2 { left: calc(1574 * var(--u)); }
.hero-copy { position: absolute; left: calc(419 * var(--u)); top: calc(293 * var(--u)); width: calc(1081 * var(--u)); text-align: center; }
.hero h1 { height: calc(304 * var(--u)); display: flex; align-items: center; justify-content: center; font-size: calc(130 * var(--u)); letter-spacing: calc(-5.2 * var(--u)); }
.hero-sub { width: calc(679 * var(--u)); height: calc(112 * var(--u)); margin: calc(9 * var(--u)) auto 0; display: flex; align-items: center; justify-content: center; font-size: calc(22 * var(--u)); line-height: 1.4; }

/* ---------- the system ---------- */
.system { position: relative; height: calc(1217 * var(--u)); color: var(--black); }
.field-system { position: absolute; left: calc(-1316 * var(--u)); top: calc(320 * var(--u)); width: calc(2722 * var(--u)); height: calc(1531 * var(--u)); object-fit: cover; mix-blend-mode: screen; opacity: .9; pointer-events: none; }
.system-head { position: absolute; left: calc(645.5 * var(--u)); top: 0; width: calc(629 * var(--u)); display: flex; flex-direction: column; align-items: center; gap: calc(18 * var(--u)); text-align: center; }
.eyebrow { height: calc(15 * var(--u)); font-size: calc(15 * var(--u)); line-height: calc(15 * var(--u)); color: var(--p3); }
.system-head h2 { width: calc(612 * var(--u)); height: calc(180 * var(--u)); font-size: calc(94 * var(--u)); letter-spacing: calc(-3.76 * var(--u)); }
.lede { margin-top: calc(20 * var(--u)); width: calc(629 * var(--u)); font-size: calc(18 * var(--u)); line-height: 1.4; }
.cards { position: absolute; left: 0; top: 0; width: calc(1920 * var(--u)); height: calc(1217 * var(--u)); }
.card { position: absolute; width: calc(388.32 * var(--u)); height: calc(555 * var(--u)); background: #fff; overflow: hidden; color: var(--black); }
.card-1 { left: calc(150 * var(--u)); top: calc(320 * var(--u)); }
.card-2 { left: calc(560.32 * var(--u)); top: calc(378 * var(--u)); }
.card-3 { left: calc(970.64 * var(--u)); top: calc(437 * var(--u)); }
.card-4 { left: calc(1380.96 * var(--u)); top: calc(496 * var(--u)); }
.card-num { position: absolute; left: calc(44.15 * var(--u)); top: calc(47.75 * var(--u)); width: calc(258.58 * var(--u)); text-align: right; font-size: calc(14.416 * var(--u)); line-height: 1; }
.card-rule { position: absolute; left: calc(314.44 * var(--u)); top: calc(59.46 * var(--u)); width: calc(73.88 * var(--u)); height: calc(0.9 * var(--u)); background: var(--black); }
.card h3 { position: absolute; left: 0; right: 0; top: calc(400 * var(--u)); text-align: center; font-size: calc(50 * var(--u)); letter-spacing: calc(-1 * var(--u)); }
.card p { position: absolute; left: 50%; top: calc(462 * var(--u)); transform: translateX(-50%); text-align: center; font-size: calc(18 * var(--u)); line-height: 1.4; }
.card-1 p { width: calc(217 * var(--u)); } .card-2 p { width: calc(245 * var(--u)); } .card-3 p { width: calc(283 * var(--u)); } .card-4 p { width: calc(298 * var(--u)); }
.card-flat { position: absolute; left: 0; top: 0; width: calc(388.32 * var(--u)); height: calc(555 * var(--u)); }
/* Figma's "Mask group" per card is one rectangle in card space. Clip with overflow (not clip-path,
   which isolates blending in Chrome and would turn the overlay tints into flat lavender). */
.card-art { position: absolute; left: 0; right: 0; top: 0; overflow: hidden; background: #fff; }
.art-space { position: absolute; left: 0; top: 0; width: calc(388.32 * var(--u)); height: calc(555 * var(--u)); }
.card-art { transition: opacity .9s ease-out; }
.card-field { position: absolute; left: 0; top: 0; width: calc(388.32 * var(--u)); height: calc(555 * var(--u)); opacity: 0; transition: opacity .9s ease-out; pointer-events: none; }
.card.live .card-art { opacity: 0; }
.card.live .card-field { opacity: 1; }
.card-1 .card-art { top: calc(38 * var(--u)); height: calc(455.95 * var(--u)); }
.card-1 .art-space { top: calc(-38 * var(--u)); }
.card-2 .card-art { height: calc(461.35 * var(--u)); }
.card-3 .card-art { height: calc(478.35 * var(--u)); }
.card-4 .card-art { height: calc(536.79 * var(--u)); }
.layer { position: absolute; display: flex; align-items: center; justify-content: center; }
.layer > div { flex: none; position: relative; overflow: hidden; }
.layer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tint { mix-blend-mode: overlay; transform: translate(-50%, -50%); }
.tint > div { background: var(--violet-tx); }
/* card 1: two fields */
.card-1 .la { left: calc(-181.7 * var(--u)); top: calc(-413.31 * var(--u)); width: calc(702.58 * var(--u)); height: calc(1243.36 * var(--u)); }
.card-1 .la > div { width: calc(1240.745 * var(--u)); height: calc(697.919 * var(--u)); transform: rotate(90.22deg); opacity: .6; }
.card-1 .lb { left: calc(-504.56 * var(--u)); top: calc(-598 * var(--u)); width: calc(1415.117 * var(--u)); height: calc(1640.956 * var(--u)); }
.card-1 .lb > div { width: calc(1430.377 * var(--u)); height: calc(804.587 * var(--u)); transform: rotate(120.22deg); opacity: .6; }
.card-1 .tint { left: calc(50% - calc(1.07 * var(--u))); top: calc(50% - calc(11.53 * var(--u))); width: calc(455.758 * var(--u)); height: calc(455.758 * var(--u)); }
.card-1 .tint > div { width: calc(454.054 * var(--u)); height: calc(454.054 * var(--u)); transform: rotate(90.22deg); opacity: .6; }
/* card 2 */
.card-2 .la { left: calc(-442.28 * var(--u)); top: calc(-297 * var(--u)); width: calc(1157.756 * var(--u)); height: calc(979.751 * var(--u)); }
.card-2 .la > div { width: calc(1009.202 * var(--u)); height: calc(567.676 * var(--u)); transform: rotate(-28.44deg); opacity: .6; }
.card-2 .tint { left: calc(50% - calc(56.82 * var(--u))); top: calc(50% - calc(83.79 * var(--u))); width: calc(500.625 * var(--u)); height: calc(500.625 * var(--u)); }
.card-2 .tint > div { width: calc(369.32 * var(--u)); height: calc(369.32 * var(--u)); transform: rotate(-28.44deg); opacity: .6; }
/* card 3: flat render plus tint */
.card-3 .tint { left: calc(50% + calc(16.92 * var(--u))); top: calc(50% - calc(23.31 * var(--u))); width: calc(638.351 * var(--u)); height: calc(489.897 * var(--u)); }
.card-3 .tint > div { width: calc(638.351 * var(--u)); height: calc(489.897 * var(--u)); opacity: .7; }
/* card 4 */
.card-4 .la { left: calc(-510.85 * var(--u)); top: calc(-210.94 * var(--u)); width: calc(1428.189 * var(--u)); height: calc(864.456 * var(--u)); }
.card-4 .la > div { width: calc(1380.809 * var(--u)); height: calc(776.705 * var(--u)); transform: rotate(-3.71deg); opacity: .8; }
.card-4 .tint { left: calc(50% + calc(11.6 * var(--u))); top: calc(50% - calc(54.78 * var(--u))); width: calc(656.618 * var(--u)); height: calc(628.15 * var(--u)); }
.card-4 .tint > div { width: calc(448.207 * var(--u)); height: calc(510.956 * var(--u)); transform: rotate(-63.71deg); opacity: .8; }

/* ---------- why finance ---------- */
.finance { position: relative; height: calc(802 * var(--u)); color: var(--slate); }
.finance-copy { position: absolute; left: calc(151 * var(--u)); top: calc(123 * var(--u)); width: calc(518 * var(--u)); display: flex; flex-direction: column; align-items: flex-start; gap: calc(28 * var(--u)); }
.finance-copy h2 { height: calc(202 * var(--u)); font-size: calc(94 * var(--u)); letter-spacing: calc(-3.76 * var(--u)); }
.finance-copy .body { font-size: calc(18 * var(--u)); line-height: normal; }
.finance-copy .body p + p { margin-top: calc(21.8 * var(--u)); }
.finance-art { position: absolute; left: calc(971 * var(--u)); top: 0; width: calc(798 * var(--u)); height: calc(699 * var(--u)); overflow: hidden; background: var(--p3); isolation: isolate; }
.finance-art > * { position: absolute; }
.fa-haze1 { left: calc(-1437.9 * var(--u)); top: calc(-277.85 * var(--u)); width: calc(2602 * var(--u)); height: calc(1532 * var(--u)); }
.fa-streak { top: calc(-196 * var(--u)); width: calc(783 * var(--u)); height: calc(1080 * var(--u)); transform: scaleY(-1); mix-blend-mode: screen; object-fit: cover; }
.s1 { left: calc(-1054 * var(--u)); } .s2 { left: calc(-271 * var(--u)); } .s3 { left: calc(512 * var(--u)); }
.fa-haze2, .fa-haze3 { display: flex; align-items: center; justify-content: center; }
.fa-haze2 > div, .fa-haze3 > div { flex: none; position: relative; transform: rotate(13.52deg); }
.fa-haze2 img, .fa-haze3 img { position: absolute; left: calc(-204 * var(--u)); top: calc(-204 * var(--u)); }
.fa-haze2 { left: calc(-23.73 * var(--u)); top: calc(-178.37 * var(--u)); width: calc(1116.053 * var(--u)); height: calc(1238.304 * var(--u)); }
.fa-haze2 > div { width: calc(893.314 * var(--u)); height: calc(1058.837 * var(--u)); }
.fa-haze2 img { width: calc(1301.31 * var(--u)); height: calc(1466.84 * var(--u)); }
.fa-haze3 { left: calc(-1207 * var(--u)); top: calc(-835 * var(--u)); width: calc(1577.312 * var(--u)); height: calc(1202.728 * var(--u)); }
.fa-haze3 > div { width: calc(1406.143 * var(--u)); height: calc(898.969 * var(--u)); }
.fa-haze3 img { width: calc(1814.14 * var(--u)); height: calc(1306.97 * var(--u)); }
.fa-rain { left: calc(-15 * var(--u)); top: calc(209 * var(--u)); width: calc(813 * var(--u)); height: calc(543.44 * var(--u)); mix-blend-mode: screen; object-fit: cover; }
.fa-cloud { mix-blend-mode: plus-lighter; }
.fc-a { left: calc(373 * var(--u)); top: calc(343 * var(--u)); width: calc(589 * var(--u)); height: calc(320 * var(--u)); }
.fc-b { left: calc(30 * var(--u)); top: calc(224 * var(--u)); width: calc(351 * var(--u)); height: calc(190.78 * var(--u)); transform: scaleX(-1); }
.fc-c { left: calc(279 * var(--u)); top: calc(54 * var(--u)); width: calc(207 * var(--u)); height: calc(113 * var(--u)); }
.fa-rock { left: calc(-199.8 * var(--u)); top: calc(430 * var(--u)); width: calc(1097.6 * var(--u)); height: calc(392.04 * var(--u)); overflow: hidden; transform: scaleX(-1); }
.fa-rock img { position: absolute; left: 0; top: -89.06%; width: 100%; height: 189.06%; }
.fa-gen { left: calc(666 * var(--u)); top: calc(-107 * var(--u)); width: calc(549 * var(--u)); height: calc(975 * var(--u)); mix-blend-mode: color-dodge; object-fit: cover; }
.callout { display: flex; align-items: center; justify-content: center; width: calc(230.17 * var(--u)); height: calc(79.37 * var(--u)); border: calc(1.134 * var(--u)) solid #fff; background: rgba(232,232,232,.02); color: #fff; font-size: calc(14.74 * var(--u)); }
.co-1 { left: calc(98 * var(--u)); top: calc(114 * var(--u)); }
.co-2 { left: calc(270.35 * var(--u)); top: calc(220.58 * var(--u)); }
.co-3 { left: calc(470 * var(--u)); top: calc(327.17 * var(--u)); height: calc(74.84 * var(--u)); justify-content: flex-start; padding-left: calc(53.3 * var(--u)); }

/* ---------- closing ---------- */
.closing {
  position: relative; height: calc(1080 * var(--u)); overflow: hidden; isolation: isolate; color: #fff;
  background: linear-gradient(180deg, #ebf1fc 0%, #d6d8ff 26.442%, #aeb0df 49.519%, #313363 80.769%);
}
.closing > * { position: absolute; }
.cl-noise { inset: 0; background: url("assets/brand/web/noise-500.webp") 0 0 / calc(500 * var(--u)) calc(500 * var(--u)) repeat; mix-blend-mode: soft-light; opacity: .5; }
.cl-gen { top: calc(89 * var(--u)); width: calc(549 * var(--u)); height: calc(975 * var(--u)); mix-blend-mode: color-dodge; object-fit: cover; }
.g1 { left: calc(-303 * var(--u)); } .g2 { left: calc(1691 * var(--u)); }
.cl-cloud { mix-blend-mode: lighten; }
.cl-cloud-lg { left: calc(1456 * var(--u)); top: calc(285 * var(--u)); width: calc(817 * var(--u)); height: calc(444 * var(--u)); }
.cl-cloud-sm { left: calc(291 * var(--u)); top: calc(194 * var(--u)); width: calc(373 * var(--u)); height: calc(203 * var(--u)); opacity: .7; }
.cg-1 { top: calc(349 * var(--u)); } .cg-2 { top: calc(606 * var(--u)); } .cg-3 { top: calc(718 * var(--u)); }
.cgv-1 { left: calc(346 * var(--u)); } .cgv-2 { left: calc(1574 * var(--u)); }
.closing .guide-v { height: calc(1080 * var(--u)); -webkit-mask-image: linear-gradient(#000 55%, rgba(0,0,0,.2) 100%); mask-image: linear-gradient(#000 55%, rgba(0,0,0,.2) 100%); }
.cl-mark { left: calc(866.5 * var(--u)); top: calc(113 * var(--u)); width: calc(187 * var(--u)); height: calc(161 * var(--u)); }
.closing h2 { left: calc(517.5 * var(--u)); top: calc(374 * var(--u)); width: calc(885 * var(--u)); height: calc(191 * var(--u)); display: flex; align-items: center; justify-content: center; text-align: center; font-size: calc(94 * var(--u)); letter-spacing: calc(-3.76 * var(--u)); }
.cl-sub { left: calc(701.5 * var(--u)); top: calc(606 * var(--u)); width: calc(517 * var(--u)); height: calc(112 * var(--u)); display: flex; align-items: center; text-align: center; font-size: calc(18 * var(--u)); line-height: normal; }
.cl-wordmark { left: calc(-107 * var(--u)); top: calc(806 * var(--u)); width: calc(2133 * var(--u)); height: calc(548.05 * var(--u)); mix-blend-mode: hard-light; }

/* ---------- contact popup (screen units, not canvas units: it must read at any size) ---------- */
.contact { border: 0; padding: 0; max-width: none; max-height: none; background: transparent; color: #fff; }
.contact::backdrop { background: rgba(13, 12, 22, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.contact-panel {
  position: relative; overflow: hidden; isolation: isolate;
  width: min(600px, calc(100vw - 32px)); padding: 44px 48px 48px;
  background: radial-gradient(70% 55% at 50% -10%, rgba(118, 114, 203, .55), transparent 70%), #20213f;
  border: 1px solid rgba(235, 241, 252, .18);
}
.contact-guide { position: absolute; pointer-events: none; }
.contact-guide-h { left: 0; right: 0; top: 96px; height: 1px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.5) 0 3px, transparent 3px 13px); }
.contact-guide-v { top: 0; bottom: 0; left: 47px; width: 1px; background: repeating-linear-gradient(180deg, rgba(255,255,255,.35) 0 3px, transparent 3px 13px); }
.contact-cloud { position: absolute; right: -90px; top: -30px; width: 340px; height: auto; mix-blend-mode: plus-lighter; opacity: .9; pointer-events: none; }
.contact-grain { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay; opacity: .8; background: url("assets/brand/noise.webp") 0 0 / 300px 300px repeat; }
.contact-close { position: absolute; right: 20px; top: 20px; z-index: 2; padding: 9px 12px; border: 1px solid #fff; background: #20213f; color: #fff; font-size: 11px; cursor: pointer; }
.contact-close:hover { background: #fff; color: #0d0c16; }
.contact .eyebrow { position: relative; height: auto; margin: 0 0 30px; font-size: 12px; line-height: 1; color: #c0c3ff; }
.contact h2 { position: relative; margin: 0 0 18px; font-size: clamp(44px, 7vw, 64px); letter-spacing: -.04em; }
.contact-body { position: relative; max-width: 42ch; margin: 0 0 32px; font-size: 17px; line-height: 1.45; color: rgba(235, 241, 252, .9); }
.contact-row { position: relative; display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.contact-address { display: inline-flex; align-items: center; padding: 14px 18px; border: 1px solid rgba(255,255,255,.7); font-family: var(--mono); font-size: 16px; line-height: 1; letter-spacing: 0; }
.contact-address:hover { background: rgba(255,255,255,.1); }
.contact-copy { padding: 14px 18px; border: 0; background: #ebf1fc; color: #0d0c16; font-size: 12px; cursor: pointer; }
.contact-copy:hover { background: #fff; }
.contact-copy[data-done] { background: #f0b18a; }
.contact[open] .contact-panel { animation: contact-rise .45s cubic-bezier(.2,.8,.2,1) both; }
.contact[open]::backdrop { animation: contact-fade .35s ease-out both; }
@keyframes contact-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes contact-fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 640px) {
  .contact-panel { padding: 36px 24px 32px; }
  .contact-guide-v { left: 23px; }
  .contact-cloud { right: -110px; top: -40px; width: 260px; }
  .contact-address { font-size: 14px; padding: 12px 14px; }
}

/* ---------- motion ---------- */
.rise { opacity: 0; transform: translateY(calc(14 * var(--u))); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.rise.in { opacity: 1; transform: none; }
.card.rise { transition-delay: calc(var(--i, 0) * 90ms); }
.card-2 { --i: 1; } .card-3 { --i: 2; } .card-4 { --i: 3; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; transition: none; }
  .contact[open] .contact-panel, .contact[open]::backdrop { animation: none; }
}

/* ---------- small screens: reflow, art keeps its own scale ---------- */
@media (max-width: 900px) {
  :root { --u: calc(100vw / 1920); }
  .page { width: 100%; }
  .grain { background-size: 200px 200px; }
  .nav { position: relative; width: 100%; height: auto; display: flex; align-items: center; justify-content: space-between; padding: 22px 20px; }
  .nav-wordmark, .nav-mark, .nav-contact { position: static; }
  .nav-wordmark { width: 124px; height: 32px; }
  .nav-mark { display: none; }
  .nav-contact { font-size: 12px; line-height: 1; padding: 10px 0; }
  .hero { --u: calc(100vw / 900); height: calc(1120 * var(--u)); min-height: 0; padding: 0; }
  .hero-art { height: calc(1144 * var(--u)); }
  .hero-copy { position: relative; left: auto; top: auto; width: 100%; padding: 130px 24px 0; }
  .hero h1 { height: auto; font-size: clamp(40px, 11vw, 64px); letter-spacing: -.04em; }
  .hero h1 br { display: none; }
  .hero-sub { width: 100%; height: auto; margin-top: 22px; font-size: 16px; }
  .system { height: auto; padding: 40px 0 40px; }
  .field-system { display: none; }
  .system-head { position: relative; left: auto; width: auto; margin: 0 24px; gap: 14px; }
  .eyebrow { height: auto; font-size: 12px; line-height: 1; }
  .system-head h2 { width: auto; height: auto; font-size: clamp(38px, 10vw, 56px); letter-spacing: -.04em; }
  .lede { margin-top: 10px; width: auto; font-size: 16px; }
  .cards { position: relative; width: auto; height: auto; display: flex; flex-direction: column; align-items: center; gap: 24px; margin-top: 40px; }
  .card { --u: calc(min(100vw - 48px, 388px) / 388.32); position: relative; left: auto; top: auto; }
  .finance { height: auto; padding: 40px 24px 60px; }
  .finance-copy { position: relative; left: auto; top: auto; width: auto; gap: 18px; }
  .finance-copy h2 { height: auto; font-size: clamp(38px, 10vw, 56px); letter-spacing: -.04em; }
  .finance-copy .body { font-size: 16px; }
  .finance-copy .body p + p { margin-top: 1em; }
  .finance-art { --u: calc((100vw - 48px) / 798); position: relative; left: auto; top: auto; margin: 36px auto 0; }
  .closing { --u: calc(100vw / 700); height: auto; padding: calc(80 * var(--u)) 0 0; }
  .closing > * { position: absolute; }
  .cl-mark { position: relative; left: auto; top: auto; margin: 0 auto; width: calc(120 * var(--u)); height: calc(103 * var(--u)); }
  .closing h2 { position: relative; left: auto; top: auto; width: auto; height: auto; margin: calc(40 * var(--u)) 24px 0; font-size: clamp(34px, 8.8vw, 54px); letter-spacing: -.04em; }
  .closing h2 br, .system-head h2 br, .finance-copy h2 br { display: none; }
  .cl-sub { position: relative; left: auto; top: auto; width: auto; height: auto; margin: 24px 24px 0; justify-content: center; font-size: 15px; }
  .cl-wordmark { position: relative; left: -5.5%; top: auto; width: 111%; height: auto; margin-top: 40px; }
  .cl-gen, .cl-cloud, .cl-noise, .closing .guide { position: absolute; }
  .closing .guide-v { height: 100%; }
}
