/* base.css */
/* Sixthbit base: tokens, reset, type, layout, shell (header, footer), motion primitives. */

@font-face { font-family: 'Geist'; src: url('/fonts/Geist-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/fonts/GeistMono-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #f4f5f3;
  --bg-2: #eceeeb;
  --surface: #fbfbfa;
  --ink: #12161b;
  --ink-2: #4b525b;
  --ink-3: #7d848c;
  --line: rgb(18 22 27 / .09);
  --line-2: rgb(18 22 27 / .16);
  --accent: #3459d6;
  --accent-ink: #ffffff;
  --accent-soft: rgb(52 89 214 / .1);
  --danger: #b4321f;
  --dot: rgb(18 22 27 / .13);
  --shadow: 0 1px 1px rgb(23 34 45 / .04), 0 8px 20px -6px rgb(23 34 45 / .12), 0 30px 60px -20px rgb(23 34 45 / .18);
  --shadow-sm: 0 1px 1px rgb(23 34 45 / .04), 0 4px 12px -4px rgb(23 34 45 / .1);
  --grain: url('/textures/grain-light.png');
  --grain-opacity: .32;

  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --t-xs: .8125rem; --t-sm: .9375rem; --t-base: 1.0625rem; --t-lg: 1.25rem;
  --t-xl: clamp(1.5rem, 2.2vw, 1.875rem);
  --t-2xl: clamp(2rem, 3.6vw, 3rem);
  --t-3xl: clamp(2.5rem, 5.4vw, 4.5rem);
  --t-4xl: clamp(3rem, 7.4vw, 6.25rem);

  --r-lg: 28px; --r-md: 18px; --r-sm: 12px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(5rem, 11vw, 9rem);
  --max: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --hdr-h: 56px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0e1013; --bg-2: #15181c; --surface: #1a1d22;
    --ink: #ecedeb; --ink-2: #a7adb4; --ink-3: #737a82;
    --line: rgb(236 237 235 / .08); --line-2: rgb(236 237 235 / .15);
    --accent: #7f9bff; --accent-ink: #0b1230; --accent-soft: rgb(127 155 255 / .12); --danger: #ff8f7d;
    --dot: rgb(236 237 235 / .1);
    --shadow: 0 1px 1px rgb(0 0 0 / .3), 0 10px 24px -8px rgb(0 0 0 / .5), 0 30px 60px -20px rgb(0 0 0 / .6);
    --shadow-sm: 0 1px 1px rgb(0 0 0 / .3), 0 4px 12px -4px rgb(0 0 0 / .4);
    --grain: url('/textures/grain-dark.png'); --grain-opacity: .22;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e1013; --bg-2: #15181c; --surface: #1a1d22;
  --ink: #ecedeb; --ink-2: #a7adb4; --ink-3: #737a82;
  --line: rgb(236 237 235 / .08); --line-2: rgb(236 237 235 / .15);
  --accent: #7f9bff; --accent-ink: #0b1230; --accent-soft: rgb(127 155 255 / .12); --danger: #ff8f7d;
  --dot: rgb(236 237 235 / .1);
  --shadow: 0 1px 1px rgb(0 0 0 / .3), 0 10px 24px -8px rgb(0 0 0 / .5), 0 30px 60px -20px rgb(0 0 0 / .6);
  --shadow-sm: 0 1px 1px rgb(0 0 0 / .3), 0 4px 12px -4px rgb(0 0 0 / .4);
  --grain: url('/textures/grain-dark.png'); --grain-opacity: .22;
}

@view-transition { navigation: auto; }
/* Page to page: the header holds still, the page underneath does a quick fade and a small lift. */
.hdr-bar { view-transition-name: site-header; }
::view-transition-group(site-header) { animation-duration: .35s; }
::view-transition-old(root) { animation: vt-out .18s ease-in both; }
::view-transition-new(root) { animation: vt-in .38s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; interpolate-size: allow-keywords; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--t-base); line-height: 1.6; font-feature-settings: 'ss01', 'cv11'; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
/* Page-wide paper grain, fixed so it never repaints on scroll. */
body::after { content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; background-image: var(--grain); background-size: 128px; opacity: var(--grain-opacity); mix-blend-mode: multiply; }
:root[data-theme="dark"] body::after { mix-blend-mode: screen; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body::after { mix-blend-mode: screen; } }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; color: var(--ink); }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

/* Type scale */
.t-display { font-size: var(--t-4xl); line-height: .98; letter-spacing: -.045em; }
.t-h1 { font-size: var(--t-3xl); line-height: 1.02; letter-spacing: -.04em; }
.t-h2 { font-size: var(--t-2xl); line-height: 1.06; }
.t-h3 { font-size: var(--t-xl); line-height: 1.15; letter-spacing: -.025em; }
.dim { color: var(--ink-3); }
.lede { font-size: var(--t-lg); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.body { color: var(--ink-2); max-width: 60ch; }
.label { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; }
.meta { font-family: var(--mono); font-size: .8125rem; color: var(--ink-3); letter-spacing: -.01em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Layout */
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section) 0; }
.page-top { padding-top: clamp(7.5rem, 13vw, 10rem); }

/* Textures */
.dots { background-color: var(--bg-2); background-image: radial-gradient(circle at center, var(--dot) 1px, transparent 1.3px); background-size: 14px 14px; background-position: center; }
.grain { position: relative; isolation: isolate; }
.grain::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; background-image: var(--grain); background-size: 128px; opacity: calc(var(--grain-opacity) * 1.4); mix-blend-mode: multiply; }
:root[data-theme="dark"] .grain::after { mix-blend-mode: screen; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .grain::after { mix-blend-mode: screen; } }

/* Skip link */
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: var(--bg); padding: .6rem 1rem; border-radius: 999px; transition: top .2s; }
.skip:focus { top: 1rem; }

/* Header: a floating rounded bar */
.hdr { position: fixed; inset: 12px 0 auto; z-index: 100; pointer-events: none; }
.hdr-bar { pointer-events: auto; width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; height: var(--hdr-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 8px 0 16px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 72%, transparent); border: 1px solid var(--line); box-shadow: var(--shadow-sm); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); transition: transform .5s var(--ease), background .3s; }
.hdr.is-hidden .hdr-bar { transform: translateY(calc(-100% - 20px)); }
.hdr-brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; letter-spacing: -.02em; font-size: 1.0625rem; justify-self: start; }
.hdr-nav { display: flex; gap: .25rem; }
.nav-link { position: relative; padding: .45rem .8rem; border-radius: 999px; font-size: var(--t-sm); color: var(--ink-2); transition: color .2s, background .2s; }
.nav-link:hover { color: var(--ink); background: var(--line); }
.nav-link[aria-current="page"] { color: var(--ink); background: var(--line); }
.nav-item { position: relative; }
.nav-link-dd { display: inline-flex; align-items: center; gap: .3rem; padding-right: .6rem; }
.nav-caret { transition: transform .35s var(--ease); }
.nav-item.is-open .nav-caret, .hdr-nav:not(.js-dd) .nav-item:hover .nav-caret { transform: rotate(180deg); }
.nav-item.is-open > .nav-link, .hdr-nav:not(.js-dd) .nav-item:hover > .nav-link { color: var(--ink); background: var(--line); }

/* Menus. Without JS: CSS hover and focus. With JS: one morphing backdrop (.dd-bg) and sliding contents. */
.dd { --shift: 0px; position: absolute; left: 50%; top: 100%; padding-top: 14px; translate: calc(-50% + var(--shift)) 0; visibility: hidden; opacity: 0; transition: opacity .2s var(--ease), transform .35s var(--ease), visibility 0s .35s; }
.hdr-nav:not(.js-dd) .nav-item:hover .dd, .hdr-nav:not(.js-dd) .nav-item:focus-within .dd, .nav-item.is-open .dd { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease) .05s, transform .45s var(--ease) .05s, visibility 0s; }
.js-dd .dd { transform: translateX(calc(var(--from, 0) * 40px)); }
.js-dd .nav-item.is-leaving .dd { transform: translateX(calc(var(--to, 0) * -40px)); }
.dd-panel { width: 340px; padding: .5rem; border-radius: 24px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.dd-wide { width: 640px; display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: .5rem; }
.js-dd .dd-panel { background: transparent; border-color: transparent; box-shadow: none; }
.dd-bg { position: absolute; left: 0; top: 0; z-index: -1; border-radius: 24px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform-origin: top left; transition: opacity .25s var(--ease), translate .5s var(--ease), width .5s var(--ease), height .5s var(--ease); }
.dd-bg.is-on { opacity: 1; }
.dd-bg.no-anim { transition: opacity .25s var(--ease); }
.dd-main { display: grid; align-content: space-between; min-width: 0; }
.dd-list { display: grid; gap: 2px; }
.dd-link { display: flex; align-items: center; gap: .8rem; padding: .55rem .7rem; border-radius: 16px; transition: background .2s; }
.dd-link:hover, .dd-link:focus-visible, .dd-wide .dd-link.is-on { background: var(--bg-2); }
.dd-ico { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); transition: background .25s, color .25s; }
.dd-link:hover .dd-ico, .dd-wide .dd-link.is-on .dd-ico { background: var(--accent); color: var(--accent-ink); }
.dd-txt { display: grid; gap: .1rem; min-width: 0; }
.dd-txt > span { font-size: var(--t-sm); font-weight: 500; color: var(--ink); letter-spacing: -.01em; line-height: 1.25; }
.dd-txt small { font-size: var(--t-xs); color: var(--ink-3); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd-all { display: flex; align-items: center; justify-content: space-between; margin-top: .35rem; padding: .75rem .7rem .55rem; border-top: 1px solid var(--line); font-size: var(--t-sm); font-weight: 500; color: var(--ink-2); transition: color .2s; }
.dd-all:hover { color: var(--accent); }
.dd-all .icon { transition: transform .4s var(--ease); }
.dd-all:hover .icon { transform: translateX(3px); }
.dd-prev { display: grid; padding: .35rem; border-radius: 18px; background: var(--bg-2); }
.dd-prev-item { grid-area: 1 / 1; display: grid; align-content: start; gap: .45rem; opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .45s var(--ease); pointer-events: none; }
.dd-prev-item.is-on { opacity: 1; transform: none; }
.dd-prev-media { position: relative; aspect-ratio: 16 / 11; border-radius: 14px; overflow: hidden; display: grid; place-items: center; border: 1px solid var(--line); background-color: var(--surface); margin-bottom: .35rem; }
.dd-prev-media .il { position: absolute; inset: 0; aspect-ratio: auto; border: 0; border-radius: 0; font-size: clamp(.4rem, 2.9cqi, .62rem); }
.dd-prev-media .il .icon { width: 1.3em; height: 1.3em; }
.dd-shot { width: 84%; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.dd-shot img { width: 100%; height: auto; }
.dd-app { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: var(--tint); color: #fff; box-shadow: var(--shadow); }
.dd-type { font-size: var(--t-xl); font-weight: 500; letter-spacing: -.03em; color: var(--accent); }
.dd-prev-t { padding-inline: .35rem; font-size: var(--t-sm); font-weight: 500; color: var(--ink); line-height: 1.3; }
.dd-prev-b { padding: 0 .35rem .35rem; font-size: var(--t-xs); color: var(--ink-2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hdr-end { display: flex; justify-content: end; align-items: center; gap: .5rem; }
.hdr-menu { display: none; width: 44px; height: 40px; border-radius: 999px; place-items: center; }
.hdr-menu-lines { display: grid; gap: 5px; width: 18px; }
.hdr-menu-lines i { display: block; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease); }
.hdr-menu[aria-expanded="true"] .hdr-menu-lines i:first-child { transform: translateY(3.25px) rotate(45deg); }
.hdr-menu[aria-expanded="true"] .hdr-menu-lines i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.sheet { pointer-events: auto; position: fixed; inset: 0; z-index: -1; background: var(--bg); padding: calc(var(--hdr-h) + 48px) var(--gutter) 2rem; display: flex; flex-direction: column; justify-content: space-between; }
.sheet[hidden] { display: none; }
.sheet { overflow-y: auto; overscroll-behavior: contain; gap: 2rem; }
.sheet nav { display: grid; }
.sheet nav a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: clamp(1.9rem, 8.5vw, 2.6rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.15; }
.sheet nav a .icon { color: var(--ink-3); transition: transform .4s var(--ease), color .2s; }
.sheet nav a:active .icon { transform: rotate(45deg); color: var(--accent); }
.sheet nav a[aria-current="page"] .icon { color: var(--accent); }
.sheet-end { display: grid; justify-items: start; gap: 1.1rem; }
.motion .sheet.is-open nav a { animation: rise .7s var(--ease) both; animation-delay: calc(var(--i) * 45ms + 60ms); }
.sheet-mail { color: var(--ink-2); }
@media (max-width: 900px) {
  .hdr-nav { display: none; }
  .hdr-bar { grid-template-columns: 1fr auto; }
  .hdr-menu { display: grid; }
}
@media (max-width: 520px) { .hdr-end .hdr-cta { display: none; } }

/* Footer */
.ftr { margin-top: var(--section); padding: clamp(4rem, 8vw, 6rem) 0 1.5rem; border-top: 1px solid var(--line); }
.ftr-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: start; }
.ftr-sign { display: grid; gap: 1.5rem; justify-items: start; }
.ftr-mark { width: clamp(150px, 18vw, 220px); height: auto; color: var(--ink); }
.ftr-line { font-size: var(--t-xl); letter-spacing: -.025em; line-height: 1.2; max-width: 20ch; color: var(--ink); }
.ftr-mail { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--t-lg); color: var(--ink-2); border-bottom: 1px solid var(--line-2); padding-bottom: .2rem; transition: color .2s, border-color .2s; }
.ftr-mail:hover { color: var(--accent); border-color: currentColor; }
.ftr-mail .icon { transition: transform .4s var(--ease); }
.ftr-mail:hover .icon { transform: translate(2px, -2px); }
.ftr-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.ftr-col h2 { font-family: var(--mono); font-size: .75rem; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem; }
.ftr-col ul { display: grid; gap: .55rem; }
.ftr-col a { color: var(--ink-2); font-size: var(--t-sm); transition: color .2s; }
.ftr-col a:hover { color: var(--ink); }
.ftr-base { margin-top: clamp(3rem, 7vw, 5rem); padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: var(--t-xs); color: var(--ink-3); }
.ftr-base-end { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; align-items: center; }
.ftr-base a:hover { color: var(--ink); }
.theme-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); font-size: var(--t-xs); }
.theme-btn:hover { color: var(--ink); border-color: var(--line-2); }
.theme-btn .i-moon { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-moon { display: block; }
@media (max-width: 860px) { .ftr-top { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ftr-cols { grid-template-columns: 1fr 1fr; } .ftr-cols .ftr-col:first-child { grid-column: 1 / -1; } }

/* Brand mark: exact colours from the master file, so it reads the same in both themes */
.mark { overflow: visible; }
.mk-t { transform-box: fill-box; transform-origin: 50% 50%; transition: transform .6s var(--ease); }
.mk-hex, .mk-field { transform-box: view-box; transform-origin: 250px 250px; }
.hdr-brand .mark { transition: transform .5s var(--ease); }
.hdr-brand:hover .mark { transform: scale(1.12) rotate(-6deg); }
.ftr-sign:hover .mk-blue { transform: translate(calc(var(--dx) * 16px), calc(var(--dy) * 16px)); }
.motion .mark-anim .mk-hex, .motion .mark-anim .mk-field { opacity: 0; transform: scale(.86) rotate(-30deg); transition: opacity .55s var(--ease), transform 1s var(--ease); }
.motion .mark-anim .mk-t { opacity: 0; transform: scale(.3); transition: opacity .4s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--k) * 80ms + 300ms); }
.motion .is-in .mark-anim .mk-hex, .motion .is-in .mark-anim .mk-field { opacity: 1; transform: none; }
.motion .is-in .mark-anim .mk-t { opacity: 1; transform: none; }
.motion .is-in .mark-anim .mk-blue { transition-duration: .4s, .95s; transition-timing-function: var(--ease), cubic-bezier(.34, 1.56, .64, 1); }

/* Motion primitives. Hidden states apply only when JS has confirmed motion is welcome. */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.motion [data-reveal] { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
/* Arriving from another page: what is already on screen rides in with the page fade, no second animation. */
.motion .no-reveal, .motion .no-reveal [data-reveal] { transition: none !important; }
.motion [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.motion [data-split] .w { display: inline-block; overflow: clip; overflow-clip-margin: .12em; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.motion [data-split] .w > span { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease); transition-delay: calc(var(--wi) * 45ms + 80ms); }
.motion [data-split].is-in .w > span { transform: none; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sd-scale { animation: sd-scale linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    .sd-scale > img { animation: sd-img linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .sd-fade { animation: sd-fade linear both; animation-timeline: view(); animation-range: entry 10% cover 35%; }
    @keyframes sd-scale { from { transform: scale(.93); } to { transform: none; } }
    @keyframes sd-img { from { transform: scale(1.12) translateY(-3%); } to { transform: scale(1.02) translateY(3%); } }
    @keyframes sd-fade { from { opacity: 0; } to { opacity: 1; } }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* components.css */
/* Shared components: buttons, links, chips, crumbs, stage, FAQ, closing card. */

.btn { --h: 48px; display: inline-flex; align-items: center; gap: .7rem; height: var(--h); padding: 0 6px 0 1.35rem; border-radius: 999px; font-size: var(--t-sm); font-weight: 500; letter-spacing: -.01em; white-space: nowrap; transition: transform .3s var(--ease), background .25s, color .25s, box-shadow .3s; will-change: transform; }
.btn-icon { display: grid; place-items: center; width: calc(var(--h) - 12px); height: calc(var(--h) - 12px); border-radius: 50%; overflow: hidden; transition: background .25s; }
.btn-icon .icon { transition: transform .45s var(--ease); }
/* Hover turns the arrow 45 degrees: diagonal arrows settle flat, flat arrows tip up. */
.btn:hover .btn-icon-diag .icon, .btn:focus-visible .btn-icon-diag .icon { transform: rotate(45deg); }
.btn:hover .btn-icon-flat .icon, .btn:focus-visible .btn-icon-flat .icon { transform: rotate(-45deg); }
.btn:active { transform: scale(.97); }
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid .btn-icon { background: color-mix(in srgb, var(--bg) 14%, transparent); }
.btn-solid:hover { box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--ink) 60%, transparent); }
.btn-solid:hover .btn-icon { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); }
.btn-ghost .btn-icon { background: var(--line); }
.btn-ghost:hover { background: var(--line); }
.btn-light { background: #fbfbfa; color: #12161b; }
.btn-light .btn-icon { background: #12161b; color: #fbfbfa; }
.btn-light:hover .btn-icon { background: #3459d6; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent .btn-icon { background: color-mix(in srgb, var(--accent-ink) 16%, transparent); }
.btn-sm { --h: 40px; padding-left: 1rem; font-size: .875rem; gap: .5rem; }

.arrow-link { display: inline-flex; align-items: center; white-space: nowrap; gap: .45rem; font-weight: 500; color: var(--ink); font-size: var(--t-sm); padding-bottom: 2px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease), color .2s; }
.arrow-link:hover { background-size: 100% 1px; color: var(--accent); }
.arrow-link .icon { transition: transform .45s var(--ease); }
.arrow-link:hover .icon { transform: translateX(3px); }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips li { padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--line); font-size: var(--t-xs); color: var(--ink-2); background: color-mix(in srgb, var(--surface) 60%, transparent); }

.crumbs { padding-top: calc(var(--hdr-h) + 40px); display: flex; gap: .5rem; align-items: center; font-size: var(--t-xs); color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
.crumbs-sep { opacity: .5; }

/* Stage: dot grid, soft tone wash, stacked rounded screenshots */
.stage { --stage-tone: var(--accent); position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; border: 1px solid var(--line); }
.stage::before { content: ''; position: absolute; inset: 0; z-index: 0; background: radial-gradient(70% 60% at 60% 45%, color-mix(in srgb, var(--stage-tone) 22%, transparent), transparent 70%); pointer-events: none; }
.stage-shot { position: absolute; z-index: 1; margin: 0; border-radius: var(--r-md); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .9s var(--ease); --tx: 0px; --ty: 0px; transform: translate3d(var(--tx), var(--ty), 0); }
.stage-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.stage-stack .stage-shot { aspect-ratio: 16 / 10; }
.stage-stack .stage-shot-1 { left: 7%; top: 10%; width: 60%; }
.stage-stack .stage-shot-2 { right: 6%; top: 30%; width: 56%; z-index: 2; }
.stage-stack .stage-shot-3 { left: 18%; bottom: 7%; width: 48%; z-index: 3; }
.stage-single .stage-shot-1 { inset: 10% 8% auto; aspect-ratio: 16 / 10; }
.stage-single { aspect-ratio: 16 / 11; }
.stage-duo .stage-shot { aspect-ratio: 16 / 10; width: 64%; }
.stage-duo .stage-shot-1 { left: 6%; top: 12%; }
.stage-duo .stage-shot-2 { right: 6%; bottom: 12%; z-index: 2; }
.motion .stage[data-tilt] .stage-shot { transition: transform 1.1s var(--ease); }

/* FAQ: rounded panels that open smoothly where supported */
.faq { padding-top: var(--section); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-title { font-size: var(--t-2xl); position: sticky; top: 110px; }
.faq-list { display: grid; gap: .5rem; }
.faq-item { border-radius: var(--r-md); background: var(--bg-2); border: 1px solid var(--line); transition: background .3s; }
.faq-item[open] { background: var(--surface); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; font-weight: 500; letter-spacing: -.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--line); transition: transform .45s var(--ease), background .3s, color .3s; }
.faq-item[open] .faq-plus { transform: rotate(45deg); background: var(--ink); color: var(--bg); }
.faq-a { padding: 0 1.25rem 1.25rem; color: var(--ink-2); max-width: 60ch; }
.faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq-title { position: static; } }

/* Closing card: cobalt torn paper, grain, one action */
.cta { padding-top: var(--section); }
.cta-card { border-radius: var(--r-lg); overflow: hidden; min-height: clamp(380px, 44vw, 540px); display: grid; align-items: end; background: #1f3a9e; color: #fff; }
.cta-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-card::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgb(10 22 70 / .72) 0%, rgb(10 22 70 / .35) 45%, transparent 75%); }
.cta-copy { position: relative; z-index: 2; padding: clamp(1.75rem, 5vw, 4rem); display: grid; gap: 1.1rem; justify-items: start; max-width: 640px; }
.cta-copy h2 { color: #fff; font-size: var(--t-3xl); line-height: 1; letter-spacing: -.045em; }
.cta-copy p { color: rgb(255 255 255 / .84); font-size: var(--t-lg); line-height: 1.45; max-width: 34ch; }
.cta-copy > div { margin-top: .5rem; }

/* Service illustrations (il-): token-built mockups. Pieces carry --k for a staggered entrance. */
.il { --il-tone: var(--accent); position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; container-type: inline-size; font-size: clamp(.78rem, 3cqi, 1.05rem); }
.il::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 70% at 55% 45%, color-mix(in srgb, var(--il-tone) 20%, transparent), transparent 72%); pointer-events: none; }
.il > * { position: relative; z-index: 1; }
.il small { display: block; color: var(--ink-3); font-size: .78em; letter-spacing: 0; }
.il strong { font-weight: 500; color: var(--ink); }
.il-ico { display: grid; place-items: center; flex: none; width: 2.3em; height: 2.3em; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.il-ico-lg { width: 3em; height: 3em; background: var(--accent); color: var(--accent-ink); }
.il-ok { display: grid; place-items: center; flex: none; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.il-k { transition: opacity .6s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--k, 0) * 80ms + 120ms); }
.motion [data-inactive] .il-k, .motion .il-wait .il-k { opacity: 0; transform: translateY(12px) scale(.98); transition-delay: 0s; }
.motion [data-reveal]:not(.is-in) .il-k { opacity: 0; transform: translateY(12px); }

/* Websites: a browser with a page assembling itself */
.il-websites { display: grid; place-items: center; }
.il-win { position: absolute !important; left: 9%; top: 11%; width: 74%; aspect-ratio: 16 / 10.5; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); overflow: hidden; }
.il-bar { display: flex; align-items: center; gap: .35em; height: 2.1em; padding: 0 .8em; border-bottom: 1px solid var(--line); }
.il-bar i { width: .55em; height: .55em; border-radius: 50%; background: var(--line-2); }
.il-url { margin-inline: auto; padding: .15em 1.2em; border-radius: 999px; background: var(--bg-2); color: var(--ink-3); font-family: var(--mono); font-size: .75em; }
.il-site { padding: 1em 1.3em; display: grid; gap: 1.1em; }
.il-nav { display: flex; align-items: center; gap: .9em; }
.il-nav span { width: 2.6em; height: .4em; border-radius: 4px; background: var(--line-2); }
.il-logo { width: 1.3em; height: 1.3em; border-radius: 6px; background: var(--ink); margin-right: auto; }
.il-pill { width: 4.5em; height: 1.4em; border-radius: 999px; background: var(--ink); }
.il-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.2em; align-items: center; }
.il-copy { display: grid; gap: .5em; justify-items: start; }
.il-h { width: 92%; height: 1em; border-radius: 6px; background: var(--ink); }
.il-h2 { width: 70%; background: var(--ink-3); }
.il-t { width: 100%; height: .4em; border-radius: 4px; background: var(--line-2); margin-top: .2em; }
.il-t2 { width: 80%; }
.il-cta { margin-top: .5em; padding: .45em 1em; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-style: normal; font-size: .75em; font-weight: 500; }
.il-photo { aspect-ratio: 4 / 3; border-radius: 10px; background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 55%, var(--surface)), color-mix(in srgb, var(--accent) 15%, var(--surface))); }
.il-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7em; }
.il-cards span { height: 2.4em; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); }
.il-score { position: absolute !important; right: 6%; bottom: 10%; display: flex; align-items: center; gap: .7em; padding: .7em 1.1em .7em .7em; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.il-ring { display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 50%; background: conic-gradient(var(--accent) 98%, var(--line) 0); }
.il-ring b { display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; background: var(--surface); font-size: .8em; font-weight: 600; color: var(--ink); }

/* Digital setup: the boring essentials, all ticked */
.il-digital-setup { display: grid; place-items: center; }
.il-stack { display: grid; gap: .65em; width: min(78%, 30em); }
.il-row { display: flex; align-items: center; gap: .9em; padding: .75em .9em; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.il-row-txt { flex: 1; min-width: 0; }
.il-row-txt strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.il-row:nth-child(2) { margin-left: 6%; margin-right: -6%; }
.il-row:nth-child(4) { margin-left: 3%; margin-right: -3%; }

/* Integrations: tools wired into the site, signals travelling the wires */
.il-wires { position: absolute !important; inset: 0; width: 100%; height: 100%; z-index: 0 !important; }
.il-wire { fill: none; stroke: color-mix(in srgb, var(--accent) 55%, transparent); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: .04 .06; }
.il-hub { position: absolute !important; left: 50%; top: 48%; translate: -50% -50%; display: grid; justify-items: center; gap: .5em; padding: 1em 1.4em; border-radius: 20px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.il-node { position: absolute !important; translate: -50% -50%; display: flex; align-items: center; gap: .5em; padding: .35em .9em .35em .35em; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); white-space: nowrap; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .motion .il-wire { animation: il-flow 2.4s linear infinite; animation-delay: calc(var(--k) * -.5s); }
  @keyframes il-flow { to { stroke-dashoffset: -1; } }
}

/* Ongoing support: a request handled, uptime steady */
.il-ongoing-support { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4%; align-items: center; padding: 0 7%; }
.il-thread { display: grid; gap: .6em; }
.il-msg { max-width: 92%; padding: .7em .95em; border-radius: 16px 16px 16px 4px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); line-height: 1.35; box-shadow: var(--shadow-sm); }
.il-msg-us { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.il-msg-us small { color: color-mix(in srgb, var(--accent-ink) 70%, transparent); }
.il-done { display: inline-flex; align-items: center; gap: .5em; color: var(--ink-2); font-size: .85em; }
.il-uptime { padding: 1em; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.il-uptime-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5em; margin-bottom: .9em; }
.il-bars { display: flex; align-items: end; gap: 2px; height: 3.5em; }
.il-bars i { flex: 1; height: var(--h); border-radius: 2px; background: color-mix(in srgb, var(--accent) 70%, transparent); }
.il-bars i:nth-child(5n) { background: var(--accent); }

/* Brand and launch: palette, type and the launch list on one board */
.il-brand-and-launch { display: grid; place-items: center; }
.il-board { display: grid; grid-template-columns: 1fr 1fr; gap: .8em; width: min(82%, 34em); }
.il-board > * { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: .9em; }
.il-swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4em; align-items: center; }
.il-swatches i { aspect-ratio: 1; border-radius: 50%; background: var(--c); border: 1px solid var(--line); }
.il-type span { display: block; font-size: 2.6em; font-weight: 500; letter-spacing: -.05em; line-height: 1; color: var(--ink); }
.il-launch { grid-column: 1 / -1; }
.il-launch-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .6em; }
.il-launch ul { display: grid; grid-template-columns: 1fr 1fr; gap: .45em .9em; }
.il-launch li { display: flex; align-items: center; gap: .45em; color: var(--ink-3); }
.il-launch li .icon { flex: none; }
.il-launch li.is-done { color: var(--ink); }
.il-launch li.is-done .icon { color: var(--accent); }

/* home.css */
/* Home (hm-) */
.hm-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; min-height: min(100dvh, 920px); padding-bottom: 3rem; }
.hm-hero-copy { display: grid; gap: 1.6rem; justify-items: start; }
.hm-hero h1 { max-width: 11ch; }
.hm-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.hm-hero-stage .stage { aspect-ratio: 1 / 1; }

.hm-logos { --gap: clamp(3rem, 7vw, 5.5rem); overflow: hidden; padding: 1.75rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.hm-logo-track { display: flex; width: max-content; }
.hm-logo-row { display: flex; align-items: center; gap: var(--gap); padding-right: var(--gap); }
.hm-logo { display: block; height: calc(var(--lh) * 1.3); aspect-ratio: var(--ar); background: var(--ink-3); -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; transition: background .3s; }
.hm-logo-row li:hover .hm-logo { background: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .motion .hm-logo-track { animation: hm-marquee 46s linear infinite; }
  .hm-logos:hover .hm-logo-track { animation-play-state: paused; }
  @keyframes hm-marquee { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) { .hm-logo-row[aria-hidden] { display: none; } .hm-logo-track { width: auto; justify-content: center; } .hm-logo-row { flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); } }
@media (max-width: 760px) { .hm-logo { height: calc(var(--lh) * .95); } }

.hm-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.hm-head h2 { max-width: 13ch; }
.hm-prod-cap { font-size: var(--t-lg) !important; color: var(--ink-2); }
.hm-work-grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: clamp(1rem, 2vw, 1.5rem); }
.hm-work-lg { grid-row: span 2; }
.hm-work-card { display: grid; gap: 1rem; align-content: start; }
.hm-work-media { --stage-tone: var(--accent); position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; display: grid; place-items: center; }
.hm-work-lg .hm-work-media { aspect-ratio: auto; min-height: 100%; height: clamp(420px, 52vw, 640px); }
.hm-work-media::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 55%, color-mix(in srgb, var(--stage-tone) 30%, transparent), transparent 72%); }
.hm-work-media figure { position: relative; z-index: 1; width: 82%; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .9s var(--ease); }
.hm-work-media img { width: 100%; height: auto; }

.hm-work-lg .hm-work-media figure { width: 88%; }
/* The tall card: the shot starts near the top and rides along with the scroll, so there is no dead space. */
.hm-work-lg .hm-work-media { place-items: start center; overflow: clip; padding-block: clamp(2.5rem, 5vw, 4.75rem); }
.hm-work-lg .hm-work-media figure { position: sticky; top: calc(var(--hdr-h) + 56px); }
.hm-work-card:hover figure { transform: translateY(-8px) scale(1.015); }
.hm-work-lg { grid-template-rows: 1fr auto; }
.hm-work-meta { display: flex; justify-content: space-between; align-items: start; gap: 1rem; padding-inline: .25rem; }
.hm-work-meta h3 { font-size: var(--t-lg); letter-spacing: -.02em; }
.hm-work-meta p { color: var(--ink-2); font-size: var(--t-sm); }
.hm-work-meta .meta { white-space: nowrap; padding-top: .2rem; }
.hm-more { margin-top: 2rem; }
@media (max-width: 860px) {
  .hm-hero { grid-template-columns: 1fr; min-height: 0; }
  .hm-work-grid { grid-template-columns: 1fr; }
  .hm-work-lg { grid-row: auto; }
  .hm-work-lg .hm-work-media { height: auto; aspect-ratio: 4 / 3; place-items: center; padding-block: 0; }
  .hm-work-lg .hm-work-media figure { position: relative; top: 0; }
  .hm-work-meta { flex-direction: column; gap: .25rem; }
}

.hm-svc > h2 { max-width: 16ch; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.hm-svc-body { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.hm-svc-list { display: grid; gap: .25rem; position: sticky; top: 100px; }
.hm-svc-list button { display: flex; align-items: flex-start; gap: .9rem; text-align: left; padding: .85rem 1rem; border-radius: var(--r-md); color: var(--ink-3); transition: color .3s, background .3s; }
.hm-svc-name { display: grid; gap: .2rem; }
.hm-svc-name > span { font-size: var(--t-xl); letter-spacing: -.03em; font-weight: 500; line-height: 1.15; }
.hm-svc-name small { font-size: var(--t-sm); color: var(--ink-3); line-height: 1.4; }
.hm-svc-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--line); flex: none; transition: background .3s, color .3s; }
.hm-svc-list button[aria-selected="true"] { color: var(--ink); background: var(--bg-2); }
.hm-svc-list button[aria-selected="true"] small { color: var(--ink-2); }
.hm-svc-list button[aria-selected="true"] .hm-svc-ico { background: var(--accent); color: var(--accent-ink); }
.hm-svc-list button:hover { color: var(--ink); }
.hm-svc-panels { display: grid; }
.hm-svc-panel { display: grid; gap: 1.75rem; }
.js-tabs .hm-svc-panel { grid-area: 1 / 1; transition: opacity .5s var(--ease), visibility .5s; }
.js-tabs .hm-svc-panel[data-inactive] { opacity: 0; visibility: hidden; }
.hm-svc-panels:not(.js-tabs *) .hm-svc-panel + .hm-svc-panel { margin-top: 3rem; }
.hm-svc-copy { display: grid; gap: 1.25rem; justify-items: start; max-width: 60ch; }
.hm-svc-parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1.5rem; width: 100%; }
.hm-svc-parts li { display: flex; align-items: center; gap: .6rem; color: var(--ink); font-size: var(--t-sm); }
.hm-svc-parts .icon { flex: none; color: var(--accent); }
@media (max-width: 860px) {
  .hm-svc-body { grid-template-columns: 1fr; }
  .hm-svc-list { position: static; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .4rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .hm-svc-list button { flex: none; align-items: center; padding: .4rem .9rem .4rem .4rem; border-radius: 999px; background: var(--bg-2); scroll-snap-align: start; }
  .hm-svc-name > span { font-size: var(--t-base); }
  .hm-svc-name small { display: none; }
  .hm-svc-ico { width: 32px; height: 32px; }
}
@media (max-width: 520px) { .hm-svc-parts { grid-template-columns: 1fr; } }

.hm-prod-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(1.25rem, 3vw, 2rem); padding-left: clamp(1.5rem, 4vw, 3.5rem); border-radius: calc(var(--r-lg) + 8px); background: var(--bg-2); border: 1px solid var(--line); }
.hm-prod-copy { display: grid; gap: 1.1rem; justify-items: start; }
.hm-prod-stat { display: grid; gap: .4rem; margin: .5rem 0 .75rem; }
.hm-prod-num { font-size: var(--t-4xl); font-weight: 500; letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; color: var(--ink); }
.hm-prod-cap { color: var(--ink-2); max-width: 34ch; font-size: var(--t-sm); }
.hm-prod-stage .stage { background-color: var(--bg); }
@media (max-width: 860px) { .hm-prod-card { grid-template-columns: 1fr; padding: 1.5rem; } }

.hm-quote { text-align: center; }
.hm-quote blockquote { letter-spacing: -.045em; }
.hm-quote figcaption { margin-top: 1.5rem; display: inline-flex; gap: .6rem; color: var(--ink-3); font-size: var(--t-sm); }
.hm-quote figcaption strong { color: var(--ink); font-weight: 500; }

.hm-jr-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.5rem; }
.hm-jr-list { border-top: 1px solid var(--line); }
.hm-jr-list a { display: grid; grid-template-columns: 8rem 1fr auto auto; gap: 1.5rem; align-items: center; padding: 1.4rem .25rem; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease), color .3s; }
.hm-jr-title { font-size: var(--t-xl); letter-spacing: -.03em; font-weight: 500; }
.hm-jr-arrow { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--line); transition: background .3s, color .3s, transform .5s var(--ease); }
.hm-jr-list a:hover { padding-inline: 1rem; }
.hm-jr-list a:hover .hm-jr-arrow { background: var(--ink); color: var(--bg); transform: rotate(-45deg); }
@media (max-width: 680px) { .hm-jr-list a { grid-template-columns: 1fr auto; gap: .4rem 1rem; } .hm-jr-list a > .meta:first-child { grid-column: 1 / -1; } .hm-jr-list a > .meta:nth-child(3) { display: none; } .hm-jr-arrow { width: 34px; height: 34px; } }

/* journal.css */
/* Journal: index and post template. Everything is prefixed jr-. */

.jr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; overflow: hidden; padding-left: 1px; font-family: var(--mono); font-size: var(--t-xs); color: var(--ink-3); letter-spacing: -.01em; }
.jr-meta > span + span { position: relative; }
.jr-meta > span + span::before { content: ''; position: absolute; left: -.6rem; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.jr-type { display: inline-flex; align-items: center; gap: .4rem; color: var(--accent); }

/* ---------- Index ---------- */
.jr-hero { display: grid; gap: 1.25rem; }
.jr-hero .lede { max-width: 38ch; }

.jr-filter { margin-top: clamp(2rem, 5vw, 3.5rem); }
.jr-filter[hidden] { display: none; }
.jr-seg-group { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); max-width: 100%; }
.jr-seg { padding: .45rem 1rem; border-radius: 999px; font-size: var(--t-sm); color: var(--ink-2); transition: background .3s var(--ease), color .2s, box-shadow .3s; }
.jr-seg:hover { color: var(--ink); }
.jr-seg[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

.jr-feat-wrap { margin-top: clamp(2rem, 5vw, 3.5rem); }
.jr-feat { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(.75rem, 1.6vw, 1.1rem); padding-right: clamp(1.25rem, 3.5vw, 3rem); border-radius: calc(var(--r-lg) + 6px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .5s var(--ease); }
.jr-feat:hover { box-shadow: var(--shadow); }
.jr-feat-media { --stage-tone: var(--accent); position: relative; aspect-ratio: 16 / 12; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); display: grid; place-items: center; }
.jr-feat-media::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 60% at 55% 45%, color-mix(in srgb, var(--stage-tone) 22%, transparent), transparent 70%); }
.jr-feat-media figure { position: relative; z-index: 1; margin: 0; width: 82%; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform 1s var(--ease); --tx: 0px; --ty: 0px; transform: translate3d(var(--tx), var(--ty), 0); }
.jr-feat:hover .jr-feat-media figure { transform: translate3d(var(--tx), calc(var(--ty) - 6px), 0) scale(1.015); }
.jr-feat-media img { width: 100%; height: auto; }
.jr-feat-type { color: var(--ink); align-content: center; justify-items: start; padding: clamp(1.5rem, 4vw, 3rem); gap: 1rem; }
.jr-feat-type span { position: relative; z-index: 1; font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 500; letter-spacing: -.05em; line-height: .9; }
.jr-feat-type .icon { position: relative; z-index: 1; color: var(--accent); }
.jr-feat-copy { display: grid; gap: 1rem; justify-items: start; padding-block: 1rem; }
.jr-more { display: inline-flex; align-items: center; gap: .6rem; font-weight: 500; font-size: var(--t-sm); margin-top: .5rem; }
.jr-more-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--bg); transition: background .3s, color .3s, transform .5s var(--ease); }
.jr-feat:hover .jr-more-ico { background: var(--accent); color: var(--accent-ink); transform: translateX(4px); }

.jr-list { margin-top: clamp(1.25rem, 3vw, 2rem); }
.jr-list ul { display: grid; gap: .75rem; }
.jr-row { display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto; gap: clamp(1rem, 3vw, 2rem); align-items: center; padding: .75rem 1.25rem .75rem .75rem; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); transition: background .4s var(--ease), transform .5s var(--ease), border-color .3s; }
.jr-row:hover { background: var(--surface); border-color: var(--line-2); transform: translateX(6px); }
.jr-tile { display: grid; align-content: space-between; gap: 1.5rem; min-height: 7rem; padding: 1rem; border-radius: var(--r-md); background: var(--accent-soft); color: var(--accent); font-family: var(--mono); font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .06em; }
.jr-row-copy { display: grid; gap: .45rem; padding-block: .5rem; }
.jr-row-title { font-size: var(--t-xl); font-weight: 500; letter-spacing: -.03em; line-height: 1.12; color: var(--ink); text-wrap: balance; }
.jr-row-sum { color: var(--ink-2); font-size: var(--t-sm); max-width: 56ch; }
.jr-row-arrow { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--line); transition: background .3s, color .3s, transform .5s var(--ease); }
.jr-row:hover .jr-row-arrow { background: var(--ink); color: var(--bg); transform: rotate(45deg); }
.jr-empty { margin-top: 2rem; }
[data-jr-item][hidden], .jr-list li[hidden] { display: none; }

@media (max-width: 860px) {
  .jr-feat { grid-template-columns: 1fr; padding-right: clamp(.75rem, 1.6vw, 1.1rem); }
  .jr-feat-copy { padding: .25rem .75rem 1rem; }
}
@media (max-width: 760px) {
  .jr-row { grid-template-columns: minmax(0, 1fr) auto; padding: .75rem; }
  .jr-tile { grid-column: 1 / -1; min-height: 0; display: flex; align-items: center; gap: .6rem; padding: .6rem .85rem; }
  .jr-row-copy { padding-inline: .5rem; }
}

/* ---------- Post ---------- */
.jr-progress { display: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .jr-progress { display: block; position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
    .jr-progress i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); animation: jr-grow linear both; animation-timeline: scroll(root block); }
    @keyframes jr-grow { to { transform: scaleX(1); } }
  }
}

.pg-journal .crumbs { padding-bottom: 1.25rem; }
.jr-head { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); }
.jr-head-panel { position: relative; overflow: hidden; display: grid; gap: 1.1rem; justify-items: start; padding: clamp(1.5rem, 5vw, 4rem); border-radius: var(--r-lg); border: 1px solid var(--line); }
.jr-head-panel > :not(.jr-ghost) { position: relative; z-index: 1; }
.jr-ghost { position: absolute; right: -.04em; bottom: -.22em; z-index: 0; font-size: clamp(5rem, 22vw, 17rem); font-weight: 600; letter-spacing: -.06em; line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--line-2); pointer-events: none; user-select: none; }
.jr-head h1 { max-width: 18ch; }
.jr-head .lede { max-width: 50ch; }
.jr-actions { margin-top: .25rem; }
.jr-copy { display: inline-flex; align-items: center; gap: .5rem; height: 40px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--surface) 70%, transparent); font-size: var(--t-sm); transition: background .3s, border-color .3s, color .3s; }
.jr-copy:hover { background: var(--surface); }
.jr-copy .jr-ico-done { display: none; }
.jr-copy.is-done { border-color: var(--accent); color: var(--accent); }
.jr-copy.is-done .jr-ico-link { display: none; }
.jr-copy.is-done .jr-ico-done { display: block; }

.jr-cover { --stage-tone: var(--accent); position: relative; display: grid; place-items: center; padding: clamp(1.25rem, 5vw, 3.5rem); border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; }
.jr-cover::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 45%, color-mix(in srgb, var(--stage-tone) 20%, transparent), transparent 70%); }
.jr-cover figure { position: relative; z-index: 1; margin: 0; width: min(100%, 880px); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.jr-cover img { width: 100%; height: auto; }

.jr-layout { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-top: clamp(2.5rem, 6vw, 5rem); }
.jr-side { position: sticky; top: 92px; display: grid; gap: 1.25rem; align-content: start; max-height: calc(100vh - 110px); overflow-y: auto; scrollbar-width: none; }

/* Table of contents: a rail with a marker on the current section */
.jr-toc summary { list-style: none; cursor: default; display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding-bottom: .75rem; }
.jr-toc summary::-webkit-details-marker { display: none; }
.jr-toc-chev { display: none; }
.jr-toc ol { position: relative; display: grid; gap: .1rem; padding-left: 1rem; border-left: 1px solid var(--line-2); }
.jr-toc a { position: relative; display: block; padding: .35rem 0; font-size: var(--t-sm); line-height: 1.35; color: var(--ink-3); transition: color .25s, padding .4s var(--ease); }
.jr-toc a::before { content: ''; position: absolute; left: calc(-1rem - 1px); top: 50%; width: 2px; height: 0; background: var(--accent); border-radius: 2px; transform: translateY(-50%); transition: height .4s var(--ease); }
.jr-toc a:hover { color: var(--ink); }
.jr-toc a[aria-current="true"] { color: var(--ink); padding-left: .35rem; }
.jr-toc a[aria-current="true"]::before { height: 1.4em; }
.jr-toc-l3 { padding-left: .85rem; }

/* Checklist meter */
.jr-meter { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: var(--r-md); background: var(--bg-2); border: 1px solid var(--line); }
.jr-ring { --pct: 0; position: relative; flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent) calc(var(--pct) * 1%), var(--line-2) 0); }
.jr-ring::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: var(--bg-2); transition: background .4s; }
.jr-ring span { position: relative; font-family: var(--mono); font-size: var(--t-xs); font-variant-numeric: tabular-nums; }
.jr-meter-copy { display: grid; gap: .1rem; font-size: var(--t-sm); color: var(--ink-2); }
.jr-meter-copy strong { font-weight: 500; font-size: var(--t-lg); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.jr-clear { justify-self: start; margin-top: .2rem; font-size: var(--t-xs); color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.jr-clear:hover { color: var(--accent); }
.jr-meter.is-complete .jr-ring::before { background: var(--accent); }
.jr-meter.is-complete .jr-ring span { color: var(--accent-ink); }

/* Article typography */
.jr-article { min-width: 0; }
.jr-prose { max-width: 66ch; font-size: 1.125rem; line-height: 1.7; color: var(--ink-2); }
.jr-prose > * + * { margin-top: 1.25rem; }
.jr-prose h2 { margin-top: clamp(2.75rem, 6vw, 4rem); font-size: var(--t-2xl); line-height: 1.06; scroll-margin-top: 96px; }
.jr-prose h3 { margin-top: 2.25rem; font-size: var(--t-xl); line-height: 1.15; letter-spacing: -.025em; scroll-margin-top: 96px; }
.jr-prose h2 + *, .jr-prose h3 + * { margin-top: 1rem; }
.jr-prose > p:first-child { font-size: var(--t-lg); line-height: 1.55; color: var(--ink); }
.jr-prose strong { color: var(--ink); font-weight: 600; }
.jr-prose a { color: var(--ink); background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1px no-repeat; padding-bottom: 1px; transition: color .2s, background-size .4s var(--ease); }
.jr-prose a:hover { color: var(--accent); background-size: 100% 2px; }
.jr-prose code { font-family: var(--mono); font-size: .88em; padding: .15em .4em; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); overflow-wrap: anywhere; }
.jr-prose .jr-list { display: grid; gap: .6rem; padding-left: 1.4rem; }
.jr-prose ul.jr-list { list-style: none; }
.jr-prose ul.jr-list li { position: relative; }
.jr-prose ul.jr-list li::before { content: ''; position: absolute; left: -1.1rem; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.jr-prose ol.jr-list { list-style: decimal; }
.jr-prose ol.jr-list li::marker { font-family: var(--mono); font-size: .85em; color: var(--accent); }
.jr-rule { border: 0; height: 1px; background: var(--line-2); margin-block: 2.5rem; }
.jr-quote { padding: .25rem 0 .25rem 1.5rem; border-left: 2px solid var(--accent); font-size: var(--t-lg); color: var(--ink); letter-spacing: -.01em; }

/* Callouts */
.jr-callout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; padding: 1.1rem 1.25rem 1.1rem 1.1rem; border-radius: var(--r-md); background: var(--bg-2); border: 1px solid var(--line); font-size: var(--t-base); line-height: 1.6; }
.jr-callout-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.jr-callout-body > * + * { margin-top: .6rem; }
.jr-callout-label { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.jr-callout-body p:not(.jr-callout-label) { color: var(--ink); }
.jr-callout-tip { background: var(--accent-soft); border-color: transparent; }
.jr-callout-tip .jr-callout-ico { background: var(--accent); color: var(--accent-ink); }
.jr-callout-warning { background: var(--surface); border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.jr-callout-warning .jr-callout-ico { background: var(--ink); color: var(--bg); }

/* Figures can break wider than the text column */
.jr-figure { max-width: 100%; }
.jr-figure-frame { border-radius: var(--r-lg); border: 1px solid var(--line); padding: clamp(.75rem, 3vw, 2rem); }
.jr-figure img { width: 100%; height: auto; border-radius: var(--r-sm); border: 1px solid var(--line); box-shadow: var(--shadow); }
.jr-figure figcaption { margin-top: .75rem; font-family: var(--mono); font-size: var(--t-xs); color: var(--ink-3); }
@media (min-width: 1100px) { .jr-prose > .jr-wide { width: min(calc(100% + 12rem), 54rem); max-width: none; } }

/* Code */
.jr-code { position: relative; margin-inline: 0; padding: 1.25rem; border-radius: var(--r-md); background: var(--ink); color: var(--bg); font-family: var(--mono); font-size: .875rem; line-height: 1.65; overflow-x: auto; max-width: 100%; }
.jr-code[data-lang]::before { content: attr(data-lang); display: block; margin-bottom: .75rem; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; opacity: .55; }
.jr-prose .jr-code code { padding: 0; border: 0; background: none; color: inherit; font-size: inherit; white-space: pre; overflow-wrap: normal; }

/* Task list */
.jr-tasks { display: grid; gap: .5rem; }
.jr-task { position: relative; }
.jr-check { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jr-task label { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem; align-items: start; padding: .8rem 1rem .8rem .85rem; border-radius: var(--r-md); background: var(--bg-2); border: 1px solid var(--line); cursor: pointer; color: var(--ink); line-height: 1.45; transition: background .3s, border-color .3s, color .3s; }
.jr-task label::before { content: ''; width: 22px; height: 22px; margin-top: .05rem; border-radius: 7px; border: 1.5px solid var(--line-2); background: var(--bg); transition: background .25s, border-color .25s, transform .4s var(--ease); }
.jr-task label::after { content: ''; position: absolute; left: calc(.85rem + 8px); top: calc(.8rem + 3px); width: 6px; height: 11px; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .35s var(--ease); }
.jr-task label:hover { background: var(--surface); border-color: var(--line-2); }
.jr-check:checked + label::before { background: var(--accent); border-color: var(--accent); transform: scale(1.06); }
.jr-check:checked + label::after { transform: rotate(45deg) scale(1); }
.jr-check:checked + label { color: var(--ink-3); background: transparent; }
.jr-check:checked + label .jr-task-text { text-decoration: line-through; text-decoration-color: var(--line-2); }
.jr-check:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 3px; }

/* End of post */
.jr-end { max-width: 66ch; margin-top: clamp(3.5rem, 8vw, 6rem); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: .75rem; }
.jr-service { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1.1rem; border-radius: var(--r-lg); background: var(--accent-soft); transition: transform .5s var(--ease); }
.jr-service:hover { transform: translateY(-3px); }
.jr-service-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-md); background: var(--accent); color: var(--accent-ink); }
.jr-service-copy { display: grid; gap: .15rem; font-size: var(--t-sm); color: var(--ink-2); }
.jr-service-copy strong { font-size: var(--t-lg); font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.jr-service-arrow, .jr-next-arrow { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 10%, transparent); transition: background .3s, color .3s, transform .5s var(--ease); }
.jr-service:hover .jr-service-arrow, .jr-next:hover .jr-next-arrow { background: var(--ink); color: var(--bg); transform: translateX(3px); }
.jr-next { display: grid; gap: .5rem; align-content: space-between; padding: 1.1rem 1.25rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .4s; }
.jr-next:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.jr-next strong { font-size: var(--t-lg); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; text-wrap: balance; }
.jr-next-foot { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: var(--t-xs); }

/* Post: one column */
@media (max-width: 900px) {
  .jr-layout { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .jr-side { position: static; max-height: none; overflow: visible; }
  .jr-toc { border-radius: var(--r-md); background: var(--bg-2); border: 1px solid var(--line); padding: .25rem 1rem; }
  .jr-toc summary { cursor: pointer; padding-block: .8rem; }
  .jr-toc[open] summary { padding-bottom: .5rem; }
  .jr-toc-chev { display: grid; transition: transform .4s var(--ease); }
  .jr-toc[open] .jr-toc-chev { transform: rotate(180deg); }
  .jr-toc ol { margin-bottom: .75rem; }
}
@media (max-width: 760px) {
  .jr-end { grid-template-columns: 1fr; }
  .jr-prose { font-size: var(--t-base); }
  .jr-callout { grid-template-columns: 1fr; gap: .6rem; }
}

/* pages.css */
/* About (co-), Contact (ct-), Legal and 404 (lg-). Single column under 760px. */

/* About: hero */
.co-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.co-hero-copy { display: grid; gap: 1.4rem; justify-items: start; }
.co-hero h1 { font-size: var(--t-3xl); max-width: 12ch; }
.co-hero-stage { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-lg); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.co-hero-stage::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
.co-mark { position: relative; width: 52%; height: auto; filter: drop-shadow(0 24px 40px rgb(23 34 45 / .22)); }
@media (max-width: 860px) { .co-hero { grid-template-columns: 1fr; } }
.co-hero .lede { max-width: 46ch; }


/* About: founder */
.co-founder-copy { display: grid; gap: 1.1rem; justify-items: start; max-width: 42rem; margin-inline: auto; }
.co-founder-lead { font-size: var(--t-xl); letter-spacing: -.02em; line-height: 1.3; color: var(--ink); max-width: 30ch; }
.co-founder-copy h2 { max-width: 20ch; }

/* About: milestones */
.co-timeline-sec > * { max-width: 42rem; margin-inline: auto; }
.co-timeline-sec > h2 { margin-bottom: clamp(2rem, 4vw, 3rem); }
.co-timeline { display: grid; border-left: 1px solid var(--line-2); }
.co-timeline li { position: relative; display: grid; gap: .35rem; padding: 0 0 2.25rem 2rem; }
.co-timeline li:last-child { padding-bottom: 0; }
.co-timeline li::before { content: ''; position: absolute; left: -5px; top: .5rem; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--bg); }
.co-timeline p { font-size: var(--t-lg); line-height: 1.45; letter-spacing: -.015em; color: var(--ink); }
.co-timeline a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
.co-timeline a:hover { color: var(--accent); text-decoration-color: currentColor; }

/* About: commitments, 2 x 2 */
.co-how > h2 { margin-bottom: clamp(2rem, 4vw, 3rem); }
.co-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.25rem); }
.co-panel { display: grid; gap: 1.5rem; align-content: start; padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.co-panel-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.co-panel p { font-size: var(--t-lg); line-height: 1.4; letter-spacing: -.015em; color: var(--ink); max-width: 28ch; }

/* Contact: split layout */
.ct-wrap { display: grid; justify-items: center; gap: clamp(2.5rem, 5vw, 3.5rem); padding-bottom: var(--section); }
.ct-intro, .ct-panel { width: 100%; max-width: 42rem; }
.ct-intro { display: grid; gap: 1.25rem; justify-items: start; }
.ct-intro h1 { font-size: var(--t-3xl); max-width: 14ch; }
.ct-intro .lede { max-width: 40ch; }
.ct-mail { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--t-lg); color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: .2rem; overflow-wrap: anywhere; transition: color .2s, border-color .2s; }
.ct-mail:hover { color: var(--accent); border-color: currentColor; }
.ct-mail .icon { flex: none; transition: transform .4s var(--ease); }
.ct-mail:hover .icon { transform: translate(2px, -2px); }

/* Contact: form panel */
.ct-panel { padding: clamp(1.4rem, 3.5vw, 2.5rem); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ct-panel [hidden] { display: none !important; }
.ct-form { display: grid; gap: 1.6rem; }
.ct-field { display: grid; gap: .45rem; min-width: 0; border: 0; padding: 0; margin: 0; }
.ct-label { font-size: var(--t-sm); font-weight: 500; letter-spacing: -.01em; color: var(--ink); padding: 0; }
.ct-opt { font-weight: 400; color: var(--ink-2); }
.ct-help { font-size: var(--t-xs); line-height: 1.5; color: var(--ink-2); }
.ct-err { font-size: var(--t-xs); font-weight: 500; line-height: 1.4; color: var(--danger); }
.ct-input { width: 100%; min-height: 48px; padding: .75rem 1rem; border-radius: var(--r-sm); border: 1px solid var(--ink-3); background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.4; transition: border-color .2s, box-shadow .2s; }
.ct-input:focus { border-color: var(--accent); }
.ct-input::placeholder { color: var(--ink-3); }
.ct-input[aria-invalid="true"] { border-color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); }
.ct-textarea { min-height: 9rem; resize: vertical; }

/* Pill toggles built from checkboxes. The input stays focusable and is shown through the label. */
.ct-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.ct-pill { position: relative; display: inline-flex; }
.ct-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.ct-pill span { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--ink-3); color: var(--ink); font-size: var(--t-sm); cursor: pointer; user-select: none; transition: background .2s, color .2s, border-color .2s; }
.ct-pill:hover span { border-color: var(--ink); }
.ct-pill input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ct-pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.ct-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.25rem; }
.ct-submit { cursor: pointer; }
.ct-submit:disabled { opacity: .6; cursor: progress; }
.ct-submit .btn-icon { transition: background .25s; }

.ct-done { display: grid; gap: 1rem; justify-items: start; padding: .5rem 0; }
.ct-done:focus { outline: none; }
.ct-done .body { font-size: var(--t-lg); line-height: 1.5; color: var(--ink-2); max-width: 40ch; }

/* Legal */
.lg-page > h1 { font-size: var(--t-3xl); }
.lg-page .lede { margin-top: 1.2rem; }
.lg-body { display: grid; gap: 0; margin-top: clamp(2.5rem, 6vw, 3.5rem); }
.lg-sec { display: grid; gap: .6rem; padding: 1.75rem 0; border-top: 1px solid var(--line); }
.lg-sec:first-child { border-top: 0; padding-top: 0; }
.lg-sec h2 { font-size: var(--t-lg); letter-spacing: -.02em; }
.lg-sec p { color: var(--ink-2); max-width: 60ch; }
.lg-sec a, .lg-sec p > a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: color .2s; }
.lg-sec a:hover { color: var(--accent); }
.lg-sec code { font-family: var(--mono); font-size: .875em; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); padding: .05em .35em; border-radius: 6px; }

/* 404 */
.lg-404 { display: grid; justify-items: center; text-align: center; gap: 1.4rem; padding-bottom: var(--section); }
.lg-404-mark { width: min(300px, 80%); aspect-ratio: 4 / 3; display: grid; place-items: center; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.lg-404-mark .mark { width: min(120px, 40%); height: auto; color: var(--ink); }
.lg-404 h1 { max-width: 16ch; }
.lg-404 .body { max-width: 44ch; }
.lg-404-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }

/* Narrow screens: one column, no sticky intro */
@media (max-width: 759px) {
  .co-hero h1 { font-size: var(--t-3xl); }
  .co-grid { grid-template-columns: 1fr; gap: .6rem; }
  .co-panel { grid-template-columns: auto 1fr; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; }
  .co-panel-ico { width: 42px; height: 42px; }
  .co-panel p { font-size: var(--t-base); }
  .ct-intro h1 { font-size: var(--t-2xl); }
  .ct-panel { padding: 1.25rem; }
}

/* Policy pages */
.lg-tabs { display: inline-flex; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; gap: .25rem; padding: .3rem; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.lg-tabs::-webkit-scrollbar { display: none; }
.lg-tabs a { flex: none; white-space: nowrap; padding: .45rem .95rem; border-radius: 999px; font-size: var(--t-sm); color: var(--ink-2); transition: background .25s, color .2s; }
.lg-tabs a:hover { color: var(--ink); }
.lg-tabs a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.lg-short { display: none; }
@media (max-width: 480px) { .lg-tabs a { padding-inline: 1.1rem; } .lg-long { display: none; } .lg-short { display: inline; } }
.lg-updated { margin-top: .9rem; }
.lg-sec ul { display: grid; gap: .45rem; padding-left: 1.1rem; list-style: disc; color: var(--ink-2); max-width: 60ch; }
.lg-sec li::marker { color: var(--accent); }
.lg-sec p + ul, .lg-sec ul + p { margin-top: .35rem; }

/* products.css */
/* Products (pr-) */

/* ---------- App icon ---------- */
.pr-icon { --s: 64px; position: relative; display: grid; place-items: center; flex: none; width: var(--s); height: var(--s); border-radius: 22%; color: #fff;
  background: linear-gradient(155deg, color-mix(in srgb, var(--pr-tint) 66%, #fff) 0%, var(--pr-tint) 46%, color-mix(in srgb, var(--pr-tint) 76%, #000) 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .55), inset 0 0 0 1px rgb(255 255 255 / .12), inset 0 -8px 14px -6px rgb(0 0 0 / .24), 0 12px 24px -10px color-mix(in srgb, var(--pr-tint) 65%, transparent), 0 2px 4px rgb(0 0 0 / .1); }
.pr-icon::before { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; background: radial-gradient(120% 70% at 28% 0%, rgb(255 255 255 / .4), transparent 62%); pointer-events: none; }
.pr-icon::after { opacity: calc(var(--grain-opacity) * 1.1); }
.pr-icon .icon { position: relative; z-index: 2; width: 54%; height: 54%; fill: currentColor; stroke: currentColor; stroke-width: 5; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgb(0 0 0 / .22)); }
.pr-icon-md { --s: 112px; }
.pr-icon-lg { --s: 88px; }
.pr-icon-xl { --s: 88px; }

.pr-badge { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 999px; background: var(--line); color: var(--ink-2); font-size: var(--t-xs); font-weight: 500; white-space: nowrap; }
.pr-badge.is-live { background: var(--accent-soft); color: var(--accent); }
.pr-plat { display: flex; flex-wrap: wrap; gap: .4rem; }
.pr-plat li { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--line); font-size: var(--t-xs); color: var(--ink-2); }

.pr-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--pr-tint) 38%, transparent); }
.pr-ring-2 { inset: -26px; opacity: .65; }
.pr-ring-3 { inset: -54px; opacity: .35; }
@media (prefers-reduced-motion: no-preference) {
  .pr-ring { animation: pr-breathe 5s var(--ease-in-out) infinite; }
  .pr-ring-2 { animation-delay: -1.2s; }
  .pr-ring-3 { animation-delay: -2.4s; }
  @keyframes pr-breathe { 50% { transform: scale(1.05); } }
}

/* ---------- Catalogue ---------- */
.pr-hero { display: grid; gap: 1.4rem; justify-items: start; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.pr-hero h1 { max-width: 12ch; }

.pr-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: clamp(1rem, 2vw, 1.5rem); }
.pr-tile { --pr-tint: var(--accent); position: relative; display: grid; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); isolation: isolate;
  background: radial-gradient(90% 80% at 85% 100%, color-mix(in srgb, var(--pr-tint) 16%, transparent), transparent 70%), var(--surface);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .3s; }
.pr-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.pr-tile:focus-visible { outline-offset: 4px; border-radius: var(--r-lg); }
.pr-tile-wide { grid-column: 1 / 3; grid-row: 1; min-height: clamp(380px, 38vw, 460px); }
.pr-tile-tall { grid-column: 3; grid-row: 1 / 3; min-height: 520px; }
.pr-tile-copy { position: relative; z-index: 2; display: grid; gap: 1rem; align-content: start; justify-items: start; padding: clamp(1.5rem, 3vw, 2.25rem); }
.pr-tile-wide .pr-tile-copy { max-width: 46%; }
.pr-tile-id { display: grid; gap: .1rem; margin-top: .5rem; }
.pr-tile-name { font-size: var(--t-2xl); letter-spacing: -.04em; line-height: 1; }
.pr-tile-cat { font-family: var(--mono); font-size: var(--t-xs); color: var(--ink-3); }
.pr-tile-line { color: var(--ink-2); max-width: 30ch; }
.pr-tile-meta { display: grid; gap: .6rem; justify-items: start; margin-top: .25rem; }

.pr-tile-peek { position: absolute; z-index: 1; right: -5%; bottom: -14%; width: 56%; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); transition: transform .9s var(--ease); rotate: -2deg; }
.pr-tile-peek img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.pr-tile-wide:hover .pr-tile-peek { transform: translate(-10px, -14px); }

.pr-tile-soon { position: absolute; z-index: 0; left: 50%; bottom: -90px; width: 200px; height: 200px; translate: -50% 0; }
.pr-tile-soon .pr-ring { border-color: color-mix(in srgb, var(--pr-tint) 50%, transparent); }
.pr-tile-soon .pr-ring-2 { inset: -36px; }
.pr-tile-soon .pr-ring-3 { inset: -72px; }

.pr-tile-open { position: absolute; z-index: 3; top: 1.25rem; right: 1.25rem; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--line); transition: background .3s, color .3s, transform .6s var(--ease); }
.pr-tile:hover .pr-tile-open { background: var(--ink); color: var(--bg); transform: rotate(90deg); }

.pr-tile-build { grid-column: 1 / 3; grid-row: 2; grid-auto-flow: column; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(1rem, 3vw, 2rem); padding: clamp(1.25rem, 3vw, 2rem); background: transparent; border: 1px dashed var(--line-2); min-height: 150px; }
.pr-tile-build:hover { background: var(--bg-2); box-shadow: none; }
.pr-build-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.pr-build-copy { display: grid; gap: .35rem; }
.pr-build-copy h2 { font-size: var(--t-xl); letter-spacing: -.03em; max-width: 20ch; }
.pr-build-copy p { color: var(--ink-2); font-size: var(--t-sm); max-width: 44ch; }
.pr-build-go { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; font-size: var(--t-sm); white-space: nowrap; }
.pr-build-go .icon { transition: transform .45s var(--ease); }
.pr-tile-build:hover .pr-build-go .icon { transform: translateX(3px); }

@media (max-width: 1000px) and (min-width: 761px) {
  .pr-tile-wide .pr-tile-copy { max-width: 50%; }
  .pr-tile-tall { min-height: 480px; }
  .pr-tile-build { grid-template-columns: auto 1fr; }
  .pr-build-go { grid-column: 2; }
}
@media (max-width: 760px) {
  .pr-bento { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .pr-tile-wide, .pr-tile-tall, .pr-tile-build { grid-column: 1; grid-row: auto; }
  .pr-tile-wide { min-height: 0; }
  .pr-tile-wide .pr-tile-copy { max-width: none; padding-right: 4rem; }
  .pr-tile-peek { position: relative; right: auto; bottom: auto; width: 88%; margin: 0 -6% -12% auto; }
  .pr-tile-tall { min-height: 440px; }
  .pr-tile-build { grid-template-columns: 1fr; grid-auto-flow: row; }
  .pr-build-go { grid-column: auto; }
}

/* ---------- Detail sheet (dialog) ---------- */
html:has(.pg-products) { scrollbar-gutter: stable; }
html:has(.pr-sheet[open]) { overflow: hidden; }
.pr-sheet { scrollbar-gutter: stable; padding: 0; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--bg); color: var(--ink); width: min(920px, 100% - 2 * var(--gutter)); max-width: none; max-height: min(92dvh, 940px); overflow: auto; overscroll-behavior: contain; box-shadow: var(--shadow); }
.pr-sheet::backdrop { background: rgb(0 0 0 / .4); background: color-mix(in srgb, var(--ink) 42%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pr-sheet-in { display: flex; flex-direction: column; gap: 1.5rem; padding: clamp(1.25rem, 3vw, 2rem); }
.pr-close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-2); transition: background .25s, color .25s, transform .4s var(--ease); }
.pr-close:hover { background: var(--ink); color: var(--bg); transform: rotate(90deg); }

.pr-sheet-head { display: flex; align-items: center; gap: 1.25rem; }
.pr-sheet-title { display: grid; gap: .35rem; flex: 1 1 auto; min-width: 0; }
.pr-sheet-title p { color: var(--ink-2); }
.pr-sheet-act { flex: none; display: flex; align-items: center; gap: .75rem; }

.pr-info { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--r-md); background: var(--bg-2); border: 1px solid var(--line); }
.pr-info > div { padding: .9rem 1.1rem; display: grid; gap: .2rem; align-content: start; }
.pr-info > div + div { border-left: 1px solid var(--line); }
.pr-info dt { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.pr-info dd { margin: 0; font-weight: 500; letter-spacing: -.01em; }

.pr-rail-wrap { --pr-tint: var(--accent); position: relative; border-radius: var(--r-md); border: 1px solid var(--line); padding-block: 1.25rem; overflow: hidden; }
.pr-rail-wrap::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, color-mix(in srgb, var(--pr-tint) 20%, transparent), transparent 72%); pointer-events: none; }
.pr-rail { position: relative; z-index: 1; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1.25rem; padding-inline: 1.25rem; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: var(--r-md); }
.pr-rail::-webkit-scrollbar { display: none; }
.pr-slide { flex: 0 0 min(80%, 560px); scroll-snap-align: center; border-radius: var(--r-md); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pr-slide img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.pr-slide figcaption { padding: .6rem 1rem; font-size: var(--t-xs); color: var(--ink-2); border-top: 1px solid var(--line); }
.pr-rail-ctl { position: absolute; inset: 0; z-index: 4; display: flex; justify-content: space-between; align-items: center; padding-inline: .6rem; pointer-events: none; }
.pr-rail-ctl[hidden] { display: none; }
.pr-rail-btn { pointer-events: auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); transition: opacity .3s, transform .3s var(--ease), background .25s, color .25s; }
.pr-rail-btn:hover { background: var(--ink); color: var(--bg); }
.pr-rail-btn:active { transform: scale(.94); }
.pr-rail-btn:disabled { opacity: 0; pointer-events: none; }

.pr-soon { --pr-tint: var(--accent); position: relative; display: grid; justify-items: center; align-content: center; gap: .5rem; min-height: 300px; padding: 2.5rem 1.5rem; text-align: center; border-radius: var(--r-md); border: 1px solid var(--line); overflow: hidden; }
.pr-soon::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 40%, color-mix(in srgb, var(--pr-tint) 20%, transparent), transparent 72%); pointer-events: none; }
.pr-soon-art { position: relative; z-index: 1; display: grid; place-items: center; width: 150px; height: 150px; margin-bottom: 1.5rem; }
.pr-soon-art .pr-ring { inset: 0; }
.pr-soon-art .pr-ring-2 { inset: -24px; }
.pr-soon-art .pr-ring-3 { inset: -48px; }
.pr-soon-art .pr-icon { --s: 96px; }
.pr-soon-title { position: relative; z-index: 1; font-size: var(--t-xl); font-weight: 500; letter-spacing: -.03em; }
.pr-soon-text { position: relative; z-index: 1; color: var(--ink-2); font-size: var(--t-sm); max-width: 38ch; }

.pr-sheet-body { display: grid; gap: 1.1rem; justify-items: start; }
.pr-sheet-sum { font-size: var(--t-lg); line-height: 1.45; color: var(--ink); max-width: 44ch; }
.pr-sheet-stat { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem 1rem; color: var(--ink-2); font-size: var(--t-sm); }
.pr-sheet-num { font-size: var(--t-3xl); font-weight: 500; letter-spacing: -.05em; line-height: .95; color: var(--ink); font-variant-numeric: tabular-nums; }
.pr-sheet-origin { color: var(--ink-2); max-width: 54ch; padding-left: 1rem; border-left: 2px solid color-mix(in srgb, var(--pr-tint) 70%, transparent); }

@media (max-width: 760px) {
  .pr-sheet { width: 100%; margin: auto 0 0; max-height: 92dvh; border-radius: var(--r-lg) var(--r-lg) 0 0; border-bottom: 0; }
  .pr-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-info > div:nth-child(3) { border-left: 0; }
  .pr-info > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .pr-slide { flex-basis: 84%; }
}

/* Open and close: one animation on the dialog only. No staggered children, so nothing moves after it settles. */
@keyframes pr-sheet-in { from { opacity: 0; transform: translateY(28px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes pr-sheet-out { to { opacity: 0; transform: translateY(20px) scale(.97); } }
@keyframes pr-fade { from { opacity: 0; } }
@keyframes pr-fade-out { to { opacity: 0; } }
.motion .pr-sheet[open] { animation: pr-sheet-in .45s var(--ease) backwards; }
.motion .pr-sheet[open]::backdrop { animation: pr-fade .4s ease both; }
.motion .pr-sheet.is-closing { animation: pr-sheet-out .28s var(--ease) forwards; }
.motion .pr-sheet.is-closing::backdrop { animation: pr-fade-out .28s ease both; }

/* ---------- Product pages ---------- */
.pr-phero { display: grid; justify-items: center; gap: 1.5rem; text-align: center; padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.pr-phero-id { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1rem; text-align: left; }
.pr-phero-name { font-size: var(--t-lg); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.pr-phero-cat { font-family: var(--mono); font-size: var(--t-xs); color: var(--ink-3); }
.pr-phero h1 { max-width: 13ch; }
.pr-phero .lede { max-width: 40ch; }
.pr-phero-act { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: .5rem; }

.pr-show { --pr-tint: var(--accent); position: relative; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; aspect-ratio: 2 / 1; }
.pr-show::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 55%, color-mix(in srgb, var(--pr-tint) 24%, transparent), transparent 72%); pointer-events: none; }
.pr-show-shot { position: absolute; z-index: 1; margin: 0; width: 38%; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); --tx: 0px; --ty: 0px; translate: var(--tx) var(--ty); transition: translate 1.1s var(--ease); }
.pr-show-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.pr-show-a { left: 3%; top: 22%; rotate: -3deg; }
.pr-show-b { left: 21%; top: 9%; width: 58%; z-index: 2; }
.pr-show-c { right: 3%; top: 34%; rotate: 3deg; z-index: 3; }
@media (max-width: 760px) {
  .pr-show { aspect-ratio: auto; display: grid; gap: .75rem; padding: 1rem; }
  .pr-show-shot { position: relative; inset: auto; width: 100%; rotate: none; translate: none; }
  .pr-show-b { order: -1; }
}

.pr-stat { display: grid; justify-items: center; gap: .75rem; text-align: center; }
.pr-stat-num { font-size: var(--t-4xl); font-weight: 500; letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.pr-stat-cap { color: var(--ink-2); max-width: 32ch; }

.pr-walk-title { max-width: 12ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.pr-walk-body { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.pr-steps { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.pr-step { display: grid; gap: .75rem; align-content: center; transition: opacity .6s var(--ease); }
.pr-step p { color: var(--ink-2); max-width: 40ch; }
.pr-step-shot { margin-top: 1rem; padding: clamp(.75rem, 3vw, 1.25rem); border-radius: var(--r-lg); border: 1px solid var(--line); }
.pr-step-shot img { border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: var(--shadow); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.pr-pin { display: none; }
.pr-note { margin-top: clamp(2rem, 4vw, 3rem); color: var(--ink-3); font-size: var(--t-sm); }

@media (min-width: 861px) {
  .pr-walk-js .pr-steps { gap: 0; }
  .pr-walk-js .pr-step { min-height: 64vh; opacity: .3; }
  .pr-walk-js .pr-step.is-active { opacity: 1; }
  .pr-walk-js .pr-step-shot { display: none; }
  .pr-walk-js .pr-pin { display: block; position: sticky; top: 104px; }
  .pr-pin-stage { position: relative; display: grid; place-items: center; aspect-ratio: 5 / 4; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; }
  .pr-pin-stage::before { content: ''; position: absolute; inset: 0; background: radial-gradient(65% 60% at 50% 50%, color-mix(in srgb, var(--pr-tint) 24%, transparent), transparent 72%); pointer-events: none; }
  .pr-pin-shot { grid-area: 1 / 1; z-index: 1; width: 86%; margin: 0; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .6s var(--ease), transform .9s var(--ease); }
  .pr-pin-shot.is-active { opacity: 1; transform: none; }
  .pr-pin-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
}
@media (max-width: 860px) {
  .pr-walk-body { grid-template-columns: 1fr; }
}

.pr-origin figure { display: grid; gap: 1.25rem; justify-items: start; }
.pr-origin-mark { color: color-mix(in srgb, var(--pr-tint) 80%, var(--ink)); }
.pr-origin blockquote { font-size: var(--t-2xl); line-height: 1.12; letter-spacing: -.035em; max-width: 24ch; }

.pr-end-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1rem 2rem; }

/* services.css */
/* Services (sv-) */

/* Shared bits */
.sv-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); flex: none; transition: background .3s, color .3s, transform .6s var(--ease); }
.sv-go { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--line); flex: none; transition: background .3s, color .3s, transform .5s var(--ease); }
a:hover > .sv-go, a:hover .sv-foot > .sv-go { background: var(--ink); color: var(--bg); transform: rotate(45deg); }
.sv-round { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); transition: background .25s, color .25s, transform .3s var(--ease), opacity .25s; }
.sv-round:hover { background: var(--ink); color: var(--bg); }
.sv-round:active { transform: scale(.94); }
.sv-round:disabled { opacity: .35; pointer-events: none; }

/* Hero (index and service) */
.sv-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-bottom: 1rem; }
.sv-hero.page-top { min-height: min(92dvh, 860px); }
.sv-hero:not(.page-top) { padding-top: clamp(1.5rem, 4vw, 3rem); }
.sv-hero-copy { display: grid; gap: 1.5rem; justify-items: start; }
.sv-hero h1 { max-width: 11ch; }
.sv-hero.page-top h1 { max-width: 12ch; font-size: var(--t-3xl); }
.sv-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .3rem; }
.sv-chip-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); box-shadow: 0 14px 30px -14px var(--accent); }
.sv-hero-stage .stage { aspect-ratio: 1 / 1; }
.sv-hero:not(.page-top) .sv-hero-stage .stage { aspect-ratio: 5 / 4; }
.sv-hero:not(.page-top) .stage-single .stage-shot-1 { inset: 14% 8% auto; }

/* Picker */
.sv-pick-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sv-pick-head h1 { max-width: 12ch; font-size: var(--t-3xl); }
.sv-pick-box { border-radius: calc(var(--r-lg) + 6px); border: 1px solid var(--line); padding: clamp(1rem, 3vw, 2rem); display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); overflow: hidden; }
.sv-seg { position: relative; display: flex; gap: 0; padding: 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; justify-self: start; max-width: 100%; }
.sv-seg::-webkit-scrollbar { display: none; }
.sv-seg button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.15rem; border-radius: 999px; font-size: var(--t-sm); font-weight: 500; white-space: nowrap; color: var(--ink-2); transition: color .3s; }
.sv-seg button:hover { color: var(--ink); }
.sv-seg button[aria-selected="true"] { color: var(--accent-ink); }
.sv-seg-ind { display: none; position: absolute; z-index: 0; left: 0; top: 0; bottom: 0; background: var(--accent); width: var(--w, 0px); clip-path: inset(4px var(--r, 100%) 4px var(--l, 0px) round 999px); transition: clip-path .6s var(--ease); pointer-events: none; }
.js-pick .sv-seg-ind { display: block; }
.sv-pick:not(.js-pick) .sv-seg { display: none; }
.sv-pick-panels { display: grid; }
.sv-pick-panel { display: grid; gap: 1.1rem; align-content: start; max-width: 62ch; }
.sv-pick-panel .t-h1 { font-size: var(--t-2xl); max-width: 18ch; }
.sv-pick-name { color: var(--ink-3); font-size: var(--t-sm); }
.js-pick .sv-pick-name { display: none; }
.sv-pick:not(.js-pick) .sv-pick-panel + .sv-pick-panel { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.js-pick .sv-pick-panel { grid-area: 1 / 1; transition: opacity .45s var(--ease), visibility .45s; }
.js-pick .sv-pick-panel[data-inactive] { opacity: 0; visibility: hidden; }
.sv-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem; }
.sv-link { display: inline-flex; align-items: center; gap: .7rem; padding: .35rem 1rem .35rem .35rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; letter-spacing: -.01em; transition: border-color .3s, transform .4s var(--ease), box-shadow .3s; }
.sv-link .sv-ico { width: 38px; height: 38px; }
.sv-link .icon:last-child { color: var(--ink-3); transition: transform .4s var(--ease), color .3s; }
.sv-link:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.sv-link:hover .sv-ico { background: var(--accent); color: var(--accent-ink); }
.sv-link:hover .icon:last-child { transform: translateX(3px); color: var(--accent); }

/* Bento */
.sv-bento > h2 { max-width: 12ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sv-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: clamp(.75rem, 1.6vw, 1.25rem); }
.sv-cell { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); overflow: hidden; min-width: 0; transition: transform .6s var(--ease), box-shadow .4s, border-color .3s; }
.sv-cell:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.sv-cell:hover .sv-ico { transform: scale(1.06); }
.sv-foot { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.1rem 1.15rem 1.25rem; position: relative; z-index: 4; }
.sv-foot > div { flex: 1; min-width: 0; }
.sv-foot h3 { font-size: var(--t-lg); letter-spacing: -.025em; }
.sv-foot p { color: var(--ink-2); font-size: var(--t-sm); line-height: 1.35; }

.sv-c1 { grid-column: 1 / span 7; grid-row: span 2; }
.sv-c1-media { flex: 1; min-height: 320px; margin: .6rem .6rem 0; border-radius: calc(var(--r-lg) - 8px); display: grid; place-items: center; position: relative; overflow: hidden; border: 1px solid var(--line); }
.sv-c1-media::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 55%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 72%); }
.sv-c1-media figure { position: relative; z-index: 1; width: 80%; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .9s var(--ease); }
.sv-c1-media img { width: 100%; height: auto; }
.sv-c1:hover figure { transform: translateY(-8px) scale(1.02); }

.sv-c2 { grid-column: 8 / span 5; justify-content: space-between; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.sv-c2-parts { display: flex; flex-wrap: wrap; gap: .7rem; padding: 1.5rem 1.25rem 0; }
.sv-c2-parts .sv-ico { width: 62px; height: 62px; background: var(--surface); box-shadow: var(--shadow-sm); transform: translateY(calc(var(--k) * 7px)) rotate(calc((var(--k) - 2) * 4deg)); }
.sv-c2-parts .sv-ico { transition: transform .6s var(--ease); }
.sv-c2:hover .sv-c2-parts .sv-ico { transform: none; }

.sv-c3 { grid-column: 8 / span 5; }
.sv-c3-media { position: relative; flex: 1; min-height: 120px; overflow: hidden; margin: 0 .6rem .6rem; border-radius: calc(var(--r-lg) - 8px); border: 1px solid var(--line); }
.sv-c3-media figure { position: absolute; left: 14%; top: 18%; width: 90%; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transform: rotate(-3deg); transition: transform .9s var(--ease); }
.sv-c3-media img { width: 100%; height: auto; }
.sv-c3:hover figure { transform: rotate(-1deg) translateY(-6px); }

.sv-c4 { grid-column: 1 / span 5; background: var(--ink); color: var(--bg); border-color: transparent; justify-content: space-between; }
.sv-c4 blockquote { padding: 1.6rem 1.5rem 0; display: grid; gap: 1rem; }
.sv-c4 blockquote .icon { color: var(--accent); }
.sv-c4 blockquote p { font-size: var(--t-xl); letter-spacing: -.03em; line-height: 1.15; font-weight: 500; max-width: 16ch; }
.sv-c4 blockquote footer { font-size: var(--t-sm); opacity: .6; }
.sv-c4 .sv-foot p { color: inherit; opacity: .65; }
.sv-c4 .sv-foot h3 { color: inherit; }
.sv-c4 .sv-ico { background: color-mix(in srgb, var(--bg) 16%, transparent); color: var(--bg); }
.sv-c4 .sv-go { background: color-mix(in srgb, var(--bg) 16%, transparent); }
.sv-c4:hover .sv-go { background: var(--bg); color: var(--ink); }

.sv-c5 { grid-column: 6 / span 7; flex-direction: row; }
.sv-c5-media { flex: 0 0 46%; position: relative; overflow: hidden; }
.sv-c5-media { margin: .6rem 0 .6rem .6rem; }
.sv-c5-media .il { position: absolute; inset: 0; aspect-ratio: auto; border-radius: calc(var(--r-lg) - 8px); font-size: clamp(.62rem, 4.2cqi, .85rem); }
.sv-c5-media .il-board { width: 88%; }
.sv-hero-illo { aspect-ratio: 5 / 4; }
.sv-c5-copy { flex: 1; display: grid; align-content: end; min-width: 0; }
.sv-c5-copy .sv-foot { flex-wrap: wrap; align-items: flex-start; }

/* Process (sticky scroller) */
.sv-proc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.sv-proc-side { position: sticky; top: 110px; display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.sv-proc-side h2 { max-width: 11ch; }
.sv-orb { position: relative; width: min(100%, 340px); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.sv-orb::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
.sv-orb-ico { position: absolute; z-index: 1; display: grid; place-items: center; color: var(--accent); opacity: 0; transform: scale(.7) rotate(-12deg); transition: opacity .5s var(--ease), transform .8s var(--ease); }
.sv-orb-ico.is-on { opacity: 1; transform: none; }
.sv-proc-list { display: grid; }
.sv-proc-list li { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 1.25rem; min-height: 34vh; padding-bottom: 2rem; align-content: start; }
.sv-proc-list li:last-child { min-height: 0; padding-bottom: 0; }
.sv-proc-list li::before { content: ''; position: absolute; left: 25px; top: 56px; bottom: 4px; width: 2px; background: var(--line-2); border-radius: 2px; }
.sv-proc-list li:last-child::before { display: none; }
.sv-proc-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--ink-3); transition: background .4s, color .4s, border-color .4s, transform .6s var(--ease); }
.sv-proc-list h3 { margin-bottom: .6rem; padding-top: .5rem; }
.sv-proc-list p { color: var(--ink-2); font-size: var(--t-lg); line-height: 1.45; max-width: 32ch; }
.js-proc .sv-proc-list li > div { opacity: .32; transform: translateX(-6px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.js-proc .sv-proc-list li.is-on > div { opacity: 1; transform: none; }
.js-proc .sv-proc-list li.is-on .sv-proc-ico { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: scale(1.08); }
.js-proc .sv-proc-list li.is-done .sv-proc-ico { color: var(--accent); border-color: var(--accent); }
.js-proc .sv-proc-list li.is-done::before { background: var(--accent); }
.js-proc .sv-proc-list li.is-done > div { opacity: .6; transform: none; }
.sv-proc:not(.js-proc) .sv-orb { display: none; }

/* Service: sign stack */
.sv-signs { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.sv-signs-side { display: grid; gap: 2rem; justify-items: start; }
.sv-ctl { display: none; gap: .6rem; }
.js-stack .sv-ctl { display: flex; }
.sv-stack { display: grid; gap: .75rem; }
.sv-sign { display: grid; gap: 1.1rem; align-content: space-between; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.sv-sign .icon { color: var(--accent); }
.sv-sign p { font-size: var(--t-xl); line-height: 1.18; letter-spacing: -.03em; font-weight: 500; color: var(--ink); max-width: 22ch; }
.sv-tone-1 { background: color-mix(in srgb, var(--accent) 11%, var(--surface)); }
.sv-tone-2 { background: var(--bg-2); }
.js-stack .sv-stack { display: grid; padding-bottom: 2.4rem; touch-action: pan-y; }
.js-stack .sv-sign { grid-area: 1 / 1; min-height: clamp(260px, 30vw, 340px); cursor: grab; user-select: none; --dx: 0px; --rot: 0deg; z-index: calc(10 - var(--pos)); transform-origin: 50% 100%; transform: translate3d(var(--dx), calc(var(--pos) * 16px), 0) scale(calc(1 - var(--pos) * .05)) rotate(var(--rot)); opacity: max(0, calc(1.25 - var(--pos) * .5)); transition: transform .8s var(--ease), opacity .5s var(--ease); }
.js-stack .sv-sign:not(:first-child) { cursor: default; }
.js-stack .sv-sign.is-top { cursor: grab; }
.js-stack .sv-sign:not(.is-top) { pointer-events: none; }
.js-stack .sv-sign:not(.is-top) p { color: var(--ink-2); }
.js-stack .sv-stack.is-drag .sv-sign.is-top { transition: none; cursor: grabbing; }
.sv-stack:focus-visible { outline-offset: 6px; border-radius: var(--r-lg); }

/* Service: explorer */
.sv-inc > h2 { max-width: 16ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sv-ex { display: grid; gap: .5rem; }
.sv-ex-btn { display: flex; align-items: center; gap: 1rem; width: 100%; text-align: left; padding: .6rem .8rem .6rem .6rem; border-radius: 999px; border: 1px solid transparent; background: var(--bg-2); font-size: var(--t-lg); font-weight: 500; letter-spacing: -.02em; color: var(--ink); transition: background .3s, border-color .3s, color .3s; }
.sv-ex-btn:disabled { cursor: default; opacity: 1; }
.sv-ex-name { flex: 1; }
.sv-ex-plus { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--line); transition: transform .45s var(--ease), background .3s, color .3s; }
.sv-ex-btn:hover { border-color: var(--line-2); }
.sv-ex-btn[aria-expanded="true"] { background: var(--surface); border-color: var(--line-2); }
.sv-ex-btn[aria-expanded="true"] .sv-ico { background: var(--accent); color: var(--accent-ink); }
.sv-ex-btn[aria-expanded="true"] .sv-ex-plus { transform: rotate(45deg); background: var(--ink); color: var(--bg); }
.sv-ex-card { position: relative; overflow: hidden; display: grid; gap: .9rem; align-content: end; justify-items: start; min-height: 260px; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--r-lg); border: 1px solid var(--line); margin-top: .5rem; }
.sv-ex-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 70% at 85% 15%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
.sv-ex-card > * { position: relative; z-index: 1; }
.sv-ex-card .sv-ex-ghost { position: absolute; z-index: 0; right: -30px; top: -30px; color: var(--accent); opacity: .12; transform: rotate(8deg); transition: transform 1.2s var(--ease); }
.sv-ex-big { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); margin-bottom: auto; box-shadow: 0 16px 34px -14px var(--accent); }
.sv-ex-big .icon { width: 40px; height: 40px; }
.sv-ex-card h3 { max-width: 14ch; }
.sv-ex-card p { font-size: var(--t-lg); color: var(--ink-2); line-height: 1.45; max-width: 30ch; }
.js-ex .sv-ex-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease), opacity .4s var(--ease), visibility .6s; opacity: 0; visibility: hidden; }
.js-ex .sv-ex-btn[aria-expanded="true"] + .sv-ex-panel { grid-template-rows: 1fr; opacity: 1; visibility: visible; }
.js-ex .sv-ex-clip { overflow: hidden; min-height: 0; }
.sv-ex:not(.js-ex) .sv-ex-btn { pointer-events: none; }
.sv-ex:not(.js-ex) .sv-ex-btn .sv-ex-plus { display: none; }
@media (min-width: 761px) {
  .js-ex { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: .5rem clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
  .js-ex .sv-ex-item { display: contents; }
  .js-ex .sv-ex-btn { grid-column: 1; }
  .js-ex .sv-ex-plus { display: none; }
  .js-ex .sv-ex-panel { grid-template-rows: 1fr; position: relative; align-self: stretch; transform: translateY(10px); transition: opacity .5s var(--ease), transform .7s var(--ease), visibility .5s; }
  .js-ex .sv-ex-btn[aria-expanded="true"] + .sv-ex-panel { visibility: visible; transform: none; }
  .js-ex .sv-ex-clip { overflow: visible; }
  .js-ex .sv-ex-panel { grid-area: 1 / 2 / span var(--n) / 3; }
  .js-ex .sv-ex-panel .sv-ex-card { margin-top: 0; min-height: 100%; height: 100%; }
  .js-ex .sv-ex-clip { height: 100%; }
  .js-ex .sv-ex-card { min-height: clamp(320px, 38vw, 420px); }
}
.sv-ex-btn[aria-expanded="true"] ~ .sv-ex-panel .sv-ex-ghost { transform: rotate(0) scale(1.05); }

/* Service: step track */
.sv-steps > h2 { max-width: 16ch; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.sv-track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.5rem); }
.sv-track::before, .sv-track::after { content: ''; position: absolute; left: 8px; right: 0; top: 7px; height: 2px; border-radius: 2px; background: var(--line-2); }
.sv-track::after { background: var(--accent); transform-origin: left; }
.sv-track li { position: relative; padding-top: 2.25rem; }
.sv-node { position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--bg); z-index: 1; }
.sv-step { display: grid; gap: .5rem; padding: 1.25rem 1.25rem 1.4rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .6s var(--ease), box-shadow .4s; }
.sv-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sv-step h3 { font-size: var(--t-xl); letter-spacing: -.03em; }
.sv-step p { color: var(--ink-2); font-size: var(--t-sm); line-height: 1.5; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sv-track::after { animation: sv-line linear both; animation-timeline: view(); animation-range: entry 25% cover 62%; }
    .sv-node { animation: sv-node linear both; animation-timeline: view(); animation-range: entry 35% entry calc(60% + var(--k) * 8%); }
    @keyframes sv-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
    @keyframes sv-node { from { background: var(--line-2); transform: scale(.7); } to { background: var(--accent); transform: none; } }
  }
}

/* Service: proof */
.sv-proof > h2 { max-width: 12ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sv-proof-card { position: relative; display: block; border-radius: calc(var(--r-lg) + 8px); }
.sv-proof-stage { --stage-tone: var(--accent); position: relative; border-radius: calc(var(--r-lg) + 8px); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; padding: clamp(1.5rem, 4vw, 3.5rem) clamp(1rem, 4vw, 3.5rem) clamp(7rem, 11vw, 9rem); }
.sv-proof-stage::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 40%, color-mix(in srgb, var(--stage-tone) 38%, transparent), transparent 75%); }
.sv-proof-stage figure { position: relative; z-index: 1; width: min(100%, 780px); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform 1s var(--ease); }
.sv-proof-stage img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.sv-proof-card:hover figure { transform: translateY(-8px) scale(1.015); }
.sv-proof-info { position: absolute; z-index: 5; left: clamp(.75rem, 3vw, 2rem); bottom: clamp(.75rem, 3vw, 2rem); max-width: 420px; display: grid; gap: .6rem; justify-items: start; padding: clamp(1.25rem, 2.5vw, 1.75rem); border-radius: var(--r-lg); background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border: 1px solid var(--line); box-shadow: var(--shadow); }
.sv-proof-info h3 { font-size: var(--t-xl); line-height: 1.1; }
.sv-proof-info p { color: var(--ink-2); font-size: var(--t-sm); }
.sv-proof-card:hover .arrow-link { background-size: 100% 1px; color: var(--accent); }

/* Service: other services rail */
.sv-more > h2 { margin-bottom: 1.5rem; }
.sv-rail { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem .25rem 1rem; margin: 0 -.25rem; scrollbar-width: thin; }
.sv-rail li { flex: 1 0 min(250px, 78vw); scroll-snap-align: start; }
.sv-rail a { position: relative; display: grid; gap: .3rem; height: 100%; padding: 1.1rem 1.1rem 1.2rem; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); transition: transform .5s var(--ease), background .3s, box-shadow .3s; }
.sv-rail a:hover { transform: translateY(-4px); background: var(--surface); box-shadow: var(--shadow-sm); }
.sv-rail .sv-ico { margin-bottom: .9rem; }
.sv-rail a:hover .sv-ico { background: var(--accent); color: var(--accent-ink); }
.sv-rail-t { font-size: var(--t-lg); font-weight: 500; letter-spacing: -.025em; }
.sv-rail-s { color: var(--ink-2); font-size: var(--t-sm); line-height: 1.4; padding-right: 2.5rem; }
.sv-rail .sv-go { position: absolute; right: 1rem; top: 1rem; }

/* Responsive */
@media (max-width: 960px) {
  .sv-c1 { grid-column: 1 / -1; grid-row: auto; }
  .sv-c2, .sv-c3 { grid-column: span 6; }
  .sv-c4 { grid-column: 1 / -1; }
  .sv-c5 { grid-column: 1 / -1; }
  .sv-c1-media { min-height: 280px; }
}
@media (max-width: 860px) {
  .sv-proc { grid-template-columns: 1fr; }
  .sv-proc-side { position: static; }
  .sv-orb { display: none; }
  .sv-proc-list li { min-height: 0; }
  .sv-track { grid-template-columns: 1fr; padding: 0 0 0 2.25rem; gap: 1rem; }
  .sv-track::before, .sv-track::after { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; transform-origin: top; }
  .sv-track li { padding-top: 0; }
  .sv-node { left: -2.25rem; top: 1.35rem; }
  @supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) { .sv-track::after { animation-name: sv-line-y; } @keyframes sv-line-y { from { transform: scaleY(0); } to { transform: scaleY(1); } } } }
}
@media (max-width: 760px) {
  .sv-hero { grid-template-columns: 1fr; min-height: 0 !important; }
  .sv-hero.page-top h1 { max-width: 12ch; }
  .sv-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .sv-c1, .sv-c2, .sv-c3, .sv-c4, .sv-c5 { grid-column: 1; }
  .sv-c3-media { min-height: 200px; }
  .sv-c5 { flex-direction: column; }
  .sv-c5-media { flex: none; height: 240px; }
  .sv-c2-parts { flex-wrap: nowrap; gap: .5rem; padding: 1.25rem 1rem .75rem; }
  .sv-c2-parts .sv-ico { width: auto; height: auto; flex: 0 1 52px; min-width: 0; aspect-ratio: 1; transform: translateY(calc(var(--k) * 5px)) rotate(calc((var(--k) - 2) * 4deg)); }
  .sv-signs { grid-template-columns: 1fr; gap: 1.5rem; }
  .sv-signs-side { grid-auto-flow: row; }
  .sv-proof-stage { padding-bottom: 1.5rem; }
  .sv-proof-info { position: relative; left: auto; bottom: auto; max-width: none; margin: -2rem .75rem .75rem; }
}
@media (max-width: 520px) {
  .sv-seg button { padding: .65rem .95rem; }
  .sv-link { width: 100%; }
}

/* Index opening: headline, one action, four starting points */
.sv-intro { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: 1rem; }
.sv-intro-head { display: grid; gap: 1.4rem; justify-items: start; max-width: 760px; }
.sv-intro-head h1 { max-width: 12ch; font-size: var(--t-3xl); }
.sv-sits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 1.6vw, 1.25rem); }
.sv-sit { display: grid; align-content: start; gap: .55rem; padding: 1.4rem 1.35rem 1.5rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .6s var(--ease), box-shadow .4s; }
.sv-sit:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.sv-sit-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); margin-bottom: .6rem; }
.sv-sit-label { font-size: var(--t-xs); color: var(--ink-3); }
.sv-sit-title { font-size: var(--t-lg); letter-spacing: -.025em; line-height: 1.2; font-weight: 500; }
.sv-sit-links { margin-top: .4rem; font-size: var(--t-sm); color: var(--ink-3); line-height: 1.5; }
.sv-sit-links a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.sv-sit-links a:hover { color: var(--accent); text-decoration-color: currentColor; }
#sv-bento-title { scroll-margin-top: 110px; }
@media (max-width: 1000px) { .sv-sits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sv-sits { grid-template-columns: 1fr; } }

/* work.css */
/* Work (wk-): index grid with filter, and the case study story */

/* Index hero + filter */
.wk-hero { display: grid; gap: 1.5rem; justify-items: start; padding-bottom: clamp(2rem, 4vw, 3rem); }
.wk-hero h1 { max-width: 10ch; }
.wk-filter { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; padding: .3rem; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.wk-filter[hidden] { display: none; }
.wk-filter button { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1rem; border-radius: 999px; font-size: var(--t-sm); font-weight: 500; color: var(--ink-2); transition: background .35s var(--ease), color .25s, transform .3s var(--ease); }
.wk-filter button:hover { color: var(--ink); }
.wk-filter button:active { transform: scale(.97); }
.wk-filter button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* Index grid: varied spans, set per card */
.wk-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 2vw, 1.5rem); grid-auto-flow: dense; }
.wk-card { grid-column: span var(--span, 6); display: grid; gap: 1rem; align-content: start; min-width: 0; }
.wk-card[hidden] { display: none; }
.wk-media { --stage-tone: var(--accent); position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); min-height: clamp(260px, 33vw, 440px); padding: clamp(1rem, 3vw, 2rem) 0; display: grid; place-items: center; }
.wk-media::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 55%, color-mix(in srgb, var(--stage-tone) 30%, transparent), transparent 72%); }
.wk-media figure { position: relative; z-index: 1; width: 84%; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .9s var(--ease); }
.wk-card[style*="--span:7"] .wk-media figure, .wk-card[style*="--span:8"] .wk-media figure { width: 72%; }
.wk-card[style*="--span:12"] .wk-media figure { width: min(56%, 720px); }
.wk-media img { width: 100%; display: block; height: 100%; object-fit: cover; }
.wk-card:hover figure, .wk-card:focus-visible figure { transform: translateY(-10px) scale(1.02); }
.wk-card-meta { display: flex; justify-content: space-between; align-items: start; gap: 1rem; padding-inline: .25rem; }
.wk-card-meta h2 { font-size: var(--t-xl); letter-spacing: -.03em; }
.wk-card-meta p { color: var(--ink-2); font-size: var(--t-sm); margin-top: .2rem; max-width: 34ch; }
.wk-card-meta .meta { text-align: right; line-height: 1.5; padding-top: .35rem; }
.motion .wk-card[data-reveal].is-out { opacity: 0; transform: translateY(14px) scale(.97); filter: blur(4px); transition-delay: 0s; transition-duration: .3s; }
@media (max-width: 760px) {
  .wk-card { grid-column: 1 / -1; }
  .wk-media { min-height: 0; padding: 1.25rem 0; }
  .wk-card[style] .wk-media figure { width: 84%; }
  .wk-card-meta { flex-direction: column; gap: .4rem; }
  .wk-card-meta .meta { text-align: left; padding-top: 0; }
  .wk-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; justify-self: stretch; }
  .wk-filter::-webkit-scrollbar { display: none; }
  .wk-filter button { flex: none; white-space: nowrap; }
}

/* Case study hero */
.wk-case-hero { display: grid; gap: 1.4rem; justify-items: start; padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.wk-case-title { font-size: clamp(2.6rem, 6.6vw, 5.5rem); line-height: .98; letter-spacing: -.045em; max-width: 15ch; }
.wk-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; margin-top: .75rem; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); max-width: 100%; }
.wk-facts > div { display: grid; gap: .2rem; padding: .9rem 1.4rem; align-content: start; }
.wk-facts > div + div { border-left: 1px solid var(--line); }
.wk-facts dt { font-size: var(--t-xs); color: var(--ink-3); }
.wk-facts dd { margin: 0; font-size: var(--t-sm); color: var(--ink); }
.wk-facts-links { display: flex; flex-wrap: wrap; gap: .1rem .9rem; }
.wk-facts-links a { color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease), color .2s; }
.wk-facts-links a:hover { color: var(--accent); background-size: 100% 1px; }
@media (max-width: 760px) {
  .wk-facts { grid-template-columns: 1fr 1fr; width: 100%; }
  .wk-facts > div + div { border-left: 0; }
  .wk-facts > div:nth-child(even) { border-left: 1px solid var(--line); }
  .wk-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Cover stage */
.wk-cover-wrap { padding-top: clamp(2rem, 4vw, 3.5rem); }
.wk-cover { --stage-tone: var(--accent); position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); min-height: clamp(300px, 54vw, 720px); display: grid; place-items: center; padding: clamp(1.25rem, 5vw, 4rem); }
.wk-cover::before { content: ''; position: absolute; inset: 0; background: radial-gradient(65% 65% at 50% 55%, color-mix(in srgb, var(--stage-tone) 36%, transparent), transparent 72%); }
.wk-cover figure { position: relative; z-index: 1; width: min(100%, 980px); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.wk-cover img { width: 100%; display: block; height: 100%; object-fit: cover; }

/* Brief: one big statement */
.wk-brief { display: grid; gap: 1.5rem; justify-items: start; }
.wk-pull { max-width: 30ch; font-size: var(--t-2xl); font-weight: 500; letter-spacing: -.04em; line-height: 1.1; color: var(--ink); text-wrap: balance; }

/* Story: sticky chapter list beside scrolling chapters */
.wk-story { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.wk-rail { align-self: stretch; }
.wk-prog { position: sticky; top: 120px; }
.wk-prog ol { display: grid; }
.wk-prog li { position: relative; }
.wk-prog a { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; font-size: var(--t-xl); letter-spacing: -.03em; font-weight: 500; line-height: 1.15; color: var(--ink-3); transition: color .4s var(--ease), transform .5s var(--ease); }
.wk-prog a:hover { color: var(--ink-2); }
.wk-dot { position: relative; z-index: 1; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--line-2); transition: background .4s, border-color .4s, transform .5s var(--ease); }
.wk-prog li::before, .wk-prog li::after { content: ''; position: absolute; left: 6.25px; top: 50%; height: 100%; width: 1.5px; }
.wk-prog li:last-child::before, .wk-prog li:last-child::after { display: none; }
.wk-prog li::before { background: var(--line-2); }
.wk-prog li::after { background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .7s var(--ease); }
.wk-prog li.is-done::after { transform: scaleY(1); }
.wk-prog li.is-done .wk-dot { background: var(--accent); border-color: var(--accent); }
.wk-prog a > span:last-child { transition: transform .5s var(--ease); }
.wk-prog li.is-active a { color: var(--ink); }
.wk-prog li.is-active a > span:last-child { transform: translateX(4px); }
.wk-prog li.is-active .wk-dot { background: var(--accent); border-color: var(--accent); transform: scale(1.35); box-shadow: 0 0 0 5px var(--accent-soft); }

.wk-chaps { display: grid; gap: clamp(5rem, 11vw, 9rem); }
.wk-chap { display: grid; gap: 1.75rem; scroll-margin-top: 100px; }
.wk-chap-copy { display: grid; gap: .9rem; max-width: 34rem; }
.wk-chap-stage { --stage-tone: var(--accent); position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); padding: clamp(1.25rem, 3vw, 2.5rem); display: grid; place-items: center; }
.wk-chap-stage::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 55%, color-mix(in srgb, var(--stage-tone) 30%, transparent), transparent 72%); }
.wk-chap-stage figure { position: relative; z-index: 1; width: 100%; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.wk-chap-stage img { width: 100%; display: block; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.wk-chap-stage:hover img { transform: scale(1.03); }
/* Chapters without a screenshot become a typographic stage */
.wk-chap-type { min-height: clamp(260px, 30vw, 380px); align-items: end; justify-items: start; place-items: end start; }
.wk-chap-type::before { inset: auto -12% -40% auto; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--stage-tone) 55%, transparent), transparent 68%); }
.wk-chap-type::after { z-index: 0; }
.wk-chap-tag { position: absolute; z-index: 1; top: clamp(1.25rem, 3vw, 2rem); left: clamp(1.25rem, 3vw, 2rem); padding: .3rem .8rem; border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--line); font-size: var(--t-xs); color: var(--ink-2); }
.wk-chap-big { position: relative; z-index: 1; max-width: 22ch; font-size: var(--t-xl); font-weight: 500; letter-spacing: -.03em; line-height: 1.2; color: var(--ink); }
@media (max-width: 900px) {
  .wk-story { display: block; }
  .wk-rail { display: contents; }
  .wk-prog { top: 76px; z-index: 5; margin-bottom: 2rem; padding: .35rem; border-radius: 999px; background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--line); box-shadow: var(--shadow-sm, 0 6px 20px rgb(0 0 0 / .06)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow-x: auto; scrollbar-width: none; }
  .wk-prog ol { grid-auto-flow: column; grid-auto-columns: max-content; gap: .25rem; }
  .wk-prog a { padding: .45rem .9rem; font-size: var(--t-sm); letter-spacing: -.01em; border-radius: 999px; }
  .wk-prog li.is-active a { background: var(--ink); color: var(--bg); }
  .wk-prog li.is-active a > span:last-child { transform: none; }
  .wk-dot, .wk-prog li::before, .wk-prog li::after { display: none; }
}

/* Journey: nodes on a path that draws itself */
.wk-journey-panel { --stage-tone: var(--accent); position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); padding: clamp(2rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem); display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }
.wk-journey-panel::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 100%, color-mix(in srgb, var(--stage-tone) 28%, transparent), transparent 72%); pointer-events: none; }
.wk-journey-panel > * { position: relative; z-index: 1; }
.wk-journey-panel h2 { max-width: 14ch; }
.wk-path { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.wk-path::before, .wk-path::after { content: ''; position: absolute; top: 34px; left: calc(100% / 6); right: calc(100% / 6); height: 2px; border-radius: 2px; }
.wk-path::before { background: var(--line-2); }
.wk-path::after { background: var(--accent); transform-origin: left; }
.wk-path li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 1.1rem; text-align: center; }
.wk-node { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-2); color: var(--accent); box-shadow: var(--shadow-sm); transition: transform .6s var(--ease), background .3s, color .3s; }
.wk-path li:hover .wk-node { transform: translateY(-4px); background: var(--accent); color: var(--accent-ink); }
.wk-path h3 { font-size: var(--t-lg); letter-spacing: -.025em; max-width: 14ch; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .wk-path::after { animation: wk-draw linear both; animation-timeline: view(); animation-range: entry 35% cover 55%; }
    @keyframes wk-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }
}
@media (max-width: 760px) {
  .wk-path { grid-template-columns: 1fr; gap: 2rem; }
  .wk-path::before, .wk-path::after { top: 34px; bottom: 34px; left: 33px; right: auto; width: 2px; height: auto; }
  .wk-path::after { transform-origin: top; }
  .wk-path li { grid-template-columns: 68px 1fr; justify-items: start; align-items: center; text-align: left; gap: 1.25rem; }
  @supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
      .wk-path::after { animation-name: wk-draw-y; }
      @keyframes wk-draw-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
    }
  }
}

/* Outcome, quote, note */
.wk-outcome { display: grid; gap: clamp(3rem, 7vw, 5rem); }
.wk-outcome-card { --stage-tone: var(--accent); position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); padding: clamp(2rem, 7vw, 5.5rem); display: grid; gap: 1.5rem; justify-items: start; }
.wk-outcome-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 90% at 90% 0%, color-mix(in srgb, var(--stage-tone) 34%, transparent), transparent 70%); }
.wk-outcome-card > * { position: relative; z-index: 1; }
.wk-outcome-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.wk-outcome-text { max-width: 22ch; font-size: clamp(2rem, 4.6vw, 3.75rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.04; color: var(--ink); text-wrap: balance; }
.wk-quote { width: min(760px, 100%); margin-inline: auto; display: grid; gap: 1.5rem; }
.wk-quote blockquote { letter-spacing: -.045em; }
.wk-quote figcaption { display: inline-flex; gap: .6rem; flex-wrap: wrap; color: var(--ink-3); font-size: var(--t-sm); }
.wk-quote figcaption strong { color: var(--ink); font-weight: 500; }
.wk-note { margin-top: -1.5rem; font-size: var(--t-xs); color: var(--ink-3); }

/* Next project */
.wk-kicker { font-size: var(--t-sm); color: var(--ink-3); }
.wk-next-card { --stage-tone: var(--accent); position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(1.5rem, 4vw, 3rem); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); padding: clamp(1.75rem, 5vw, 4rem); min-height: clamp(320px, 38vw, 480px); }
.wk-next-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 80% at 85% 60%, color-mix(in srgb, var(--stage-tone) 36%, transparent), transparent 72%); }
.wk-next-card > * { position: relative; z-index: 1; }
.wk-next-copy { display: grid; gap: .9rem; justify-items: start; }
.wk-next-copy h2 { max-width: 12ch; }
.wk-next-go { display: grid; place-items: center; width: 52px; height: 52px; margin-top: 1rem; border-radius: 50%; background: var(--ink); color: var(--bg); transition: background .3s, color .3s, transform .6s var(--ease); }
.wk-next-card:hover .wk-next-go { background: var(--accent); color: var(--accent-ink); transform: translateX(6px); }
.wk-next-fig { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .9s var(--ease); transform: rotate(1.5deg); }
.wk-next-fig img { width: 100%; display: block; height: 100%; object-fit: cover; }
.wk-next-card:hover .wk-next-fig { transform: translateY(-8px) rotate(0deg) scale(1.02); }
@media (max-width: 760px) {
  .wk-next-card { grid-template-columns: 1fr; }
  .wk-next-fig { transform: none; }
}
