/* Sumeet Joon's page, drawn as a set of plates. The design language is Plotline's (plotline.ronic.ai), as Amit Singh's and Rajul
   Garg's sites wear it: a sheet of paper, ruled and framed, tick rulers and registration crosses, pen-and-ink engravings, heavy
   capitals, mono labels, numbered cells, square corners, no shadows. His own: the GS Trophy colours (racing blue for the mark,
   racing red for the pins), a hero that rides (ink → photograph → three views, from Plotline's camera stage), his jump at Nyoma
   played by the scroll, and two themes. Capitals are CSS only: every value keeps its own case. */

@font-face { font-family: "Inter Tight"; font-weight: 400 700; font-display: block; src: url(fonts/InterTight.woff2) format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 400 500; font-display: swap; src: url(fonts/GeistMono.woff2) format("woff2"); }
@property --r { syntax: "<length>"; inherits: true; initial-value: 0px; }

:root, [data-theme="light"] {
  color-scheme: light;
  --canvas: #f2f1ec; --paper: #ebe9e2; --chip: #e2e0d8; --ink: #1b1e24; --ink-2: #41454e;
  --hairline: #b4b3ad; --line-2: #85868b;
  --blue: #1d5bd6; --accent: #1a4fb8; --hl: #d3e0f8; --on-mark: #0f1730; --flare: #d72631; --gold: #a87b22;
  --bar-bg: #1b1e24; --bar-ink: #f2f1ec; --band-bg: #15181d; --band-ink: #f2f1ec;
  --tex: url(textures/paper-light.webp);
  --plate-filter: none; --ink-blend: multiply; --ink-filter: none;
}
[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #121417; --paper: #1a1d21; --chip: #25282d; --ink: #ebe9e2; --ink-2: #b9b8b1;
  --hairline: #363a41; --line-2: #666a73;
  --blue: #6f9dff; --accent: #8fb3ff; --hl: #24427e; --on-mark: #eef3ff; --flare: #ff5a5f; --gold: #d9ab4c;
  --bar-bg: #ebe9e2; --bar-ink: #121417; --band-bg: #0b0d10; --band-ink: #ebe9e2;
  --tex: url(textures/paper-dark.webp);
  /* the plates are ink on nothing: in the dark the ink turns to chalk */
  --plate-filter: invert(1); --ink-blend: screen; --ink-filter: invert(1);
}
:root {
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gut: clamp(16px, 2vw, 28px); --edge: 6px; --nav: 52px; --ease: cubic-bezier(.16, 1, .3, 1);
}

html.fonts-wait body { visibility: hidden; }
* { box-sizing: border-box; }
html { background: var(--canvas); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav) + 12px); }
@media (prefers-reduced-motion: no-preference) { html:not(.is-pre) { scroll-behavior: smooth; } }
body { margin: 0; background: var(--canvas) var(--tex) 0 0 / 384px 384px; color: var(--ink); font: 400 16px/1.5 var(--sans); letter-spacing: -.005em; font-synthesis: none; -webkit-font-smoothing: antialiased; transition: background-color 240ms, color 240ms; overflow-x: clip; }
body::after { content: ""; position: fixed; inset: var(--edge); z-index: 60; border: 1px solid var(--hairline); pointer-events: none; }
img, video { display: block; max-width: 100%; height: auto; }
p, blockquote, figure, ol, ul, dl, dd, h1, h2, h3 { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.page { padding: 0 var(--edge) var(--edge); counter-reset: sec; }
.ico { width: 14px; height: 14px; flex: none; }
.label { display: flex; align-items: center; gap: 8px; font: 400 11.5px/1.35 var(--mono); letter-spacing: .02em; text-transform: uppercase; }
.dot { display: inline-block; flex: none; width: 9px; height: 9px; background: var(--flare); }
[data-wm-kind="em"] em { color: var(--on-mark); background: var(--hl); font-style: normal; padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.out { display: inline-block; font: 400 11.5px/1.35 var(--mono); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 1px; }
.out::after { content: "\00a0↗"; }
.go { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; background: var(--bar-bg); color: var(--bar-ink); border: 1px solid var(--bar-bg); font: 400 11.5px/1 var(--mono); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; transition: background-color 160ms, color 160ms, border-color 160ms; }
a.go::after { content: "↗"; padding-left: 10px; border-left: 1px solid currentColor; line-height: 1.5; }

.plate { display: block; }
.plate img { width: 100%; filter: var(--plate-filter); }
.js .plate img { clip-path: inset(0 100% 0 0); transition: clip-path 1600ms var(--ease); }
.js .plate.is-in img { clip-path: inset(0 0 0 0); }

.ruler { position: relative; display: block; height: 19px; margin: 0 var(--gut); background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 5px) 0 50% / 100% 7px no-repeat; }
.ruler::before, .ruler::after { content: "+"; position: absolute; top: 0; width: 19px; background: var(--canvas); font: 400 15px/19px var(--mono); text-align: center; }
.ruler::before { left: -19px; } .ruler::after { right: -19px; }

/* ---------- the bar ---------- */
.nav { position: sticky; top: var(--edge); z-index: 50; display: flex; align-items: stretch; height: var(--nav); margin: var(--edge) var(--edge) 0; background: var(--canvas) var(--tex) 0 0 / 384px 384px; border-bottom: 1px solid var(--hairline); }
.nav-brand { display: flex; align-items: center; gap: 10px; margin-right: auto; padding: 0 var(--gut); font: 700 18px/1 var(--sans); letter-spacing: -.02em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.nav-mark { width: 14px; height: 14px; background: linear-gradient(90deg, var(--blue) 0 50%, var(--flare) 50%); }
.nav-links { display: none; }
.nav-btn { display: grid; place-items: center; width: 44px; border-left: 1px solid var(--hairline); transition: background-color 160ms; }
.nav-btn .ico { width: 16px; height: 16px; }
[data-theme="light"] .is-dark, [data-theme="dark"] .is-light { display: none; }
.nav-cta { display: flex; align-items: center; padding: 0 16px; background: var(--blue); color: #fff; font: 500 11.5px/1 var(--mono); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
[data-theme="dark"] .nav-cta { color: #0b1020; }
.nav-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--flare); transform: scaleX(0); transform-origin: left; }
html.is-pre .nav, html.is-pre .tabbar { visibility: hidden; }

.tabbar { position: fixed; left: 50%; bottom: calc(10px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(calc(100% - 24px), 460px); z-index: 65; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; padding: 6px; min-height: 68px; background: color-mix(in srgb, var(--paper) 82%, transparent); -webkit-backdrop-filter: blur(28px) saturate(160%); backdrop-filter: blur(28px) saturate(160%); border: 1px solid var(--line-2); border-radius: 28px; box-shadow: 0 8px 32px rgb(0 0 0 / .2), inset 0 1px 0 rgb(255 255 255 / .1); }
.tab { min-width: 0; min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 5px 0; border-radius: 22px; color: var(--ink); font: 500 11.5px/1.2 -apple-system, BlinkMacSystemFont, var(--sans); letter-spacing: -.01em; text-decoration: none; transition: background-color 200ms, color 200ms, transform 200ms; -webkit-tap-highlight-color: transparent; }
.tab svg { width: 23px; height: 23px; flex-shrink: 0; }
.tab.is-on { color: var(--accent); background: color-mix(in srgb, var(--blue) 16%, transparent); }
.tab:active { transform: scale(.94); }
@media (prefers-reduced-transparency: reduce) { .tabbar { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---------- the hero: a sticky sheet the camera rides on ---------- */
.hh-track { position: relative; scroll-margin-top: 0; }
.hh { position: relative; display: flex; flex-direction: column; }
.hh-sheet { position: relative; display: flex; flex-direction: column; }
.hh-stage { position: relative; display: flex; flex-direction: column; padding-top: 6px; }
.hh-art { position: relative; display: flex; align-items: center; justify-content: center; padding: 8px 2vw; overflow: hidden; }
.hh-plate { position: relative; width: 100%; aspect-ratio: 2000 / 848; z-index: 2; }
.hh-plate > img { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: var(--ink-blend); filter: var(--ink-filter); }
.hpin { position: absolute; width: 14px; height: 14px; margin: -7px; background: var(--flare); box-shadow: 0 0 0 1px var(--ink); z-index: 4; }
@media (prefers-reduced-motion: no-preference) { .hpin { animation: pin 3.2s ease-in-out infinite; } }
@keyframes pin { 0%, 100% { box-shadow: 0 0 0 1px var(--ink), 0 0 0 1px rgb(215 38 49 / .6); } 50% { box-shadow: 0 0 0 1px var(--ink), 0 0 0 12px rgb(215 38 49 / 0); } }
.hh-canvas { display: none; }
.hh-hint { display: none; }
.hh-tag { position: absolute; left: var(--cx, 0); top: var(--cy, 0); translate: 16px 16px; padding: 3px 7px; background: var(--flare); color: #fff; font: 400 10.5px/1.2 var(--mono); letter-spacing: .02em; text-transform: uppercase; opacity: 0; pointer-events: none; z-index: 5; transition: opacity .2s; }
.hh-sheet.is-lens .hh-tag { opacity: 1; }
.hh-odo { display: none; }

.hh-band { display: grid; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: var(--canvas) var(--tex) 0 0 / 384px 384px; }
.hh-h1 { padding: 16px var(--gut) 14px; font: 700 clamp(36px, 10.4vw, 52px)/.94 var(--sans); letter-spacing: -.034em; text-transform: uppercase; }
.hh-h1 span { display: block; }
.hh-h1 span + span { color: var(--blue); }
.hh-side { display: grid; border-top: 1px solid var(--hairline); }
.hh-lead { padding: 14px var(--gut); font: 400 16px/1.38 var(--sans); text-wrap: pretty; }
.hh-more { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 var(--gut); border-top: 1px solid var(--hairline); font: 400 11.5px/1.2 var(--mono); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; transition: background-color 160ms, color 160ms; }
.hh-more svg { width: 16px; height: 16px; }
.idcard { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 0 12px; align-items: center; padding: 12px var(--gut); border-top: 1px solid var(--hairline); }
.idcard img { width: 58px; height: 58px; object-fit: cover; border: 1px solid var(--ink); }
.id-name b { display: block; font: 700 17px/1.05 var(--sans); letter-spacing: -.01em; text-transform: uppercase; }
.id-name span { display: block; margin-top: 3px; font: 400 13.5px/1.25 var(--sans); color: var(--ink-2); }
.id-rows { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; margin-top: 10px; border-top: 1px dotted var(--line-2); }
.id-rows div { padding: 7px 0 0; min-width: 0; }
.id-rows dt { font: 400 10px/1.3 var(--mono); letter-spacing: .03em; text-transform: uppercase; color: var(--ink-2); }
.id-rows dd { font: 500 13px/1.25 var(--sans); overflow-wrap: anywhere; }
.ticker { grid-column: 1 / -1; overflow: hidden; border-top: 1px solid var(--hairline); padding: 8px 0; }
.ticker > div { display: flex; width: max-content; }
@media (prefers-reduced-motion: no-preference) { .ticker > div { animation: tick 46s linear infinite; } }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker span { display: inline-flex; align-items: center; gap: 9px; padding-right: 9px; white-space: nowrap; font: 400 11.5px/1 var(--mono); letter-spacing: .02em; text-transform: uppercase; }
.ticker i { width: 8px; height: 8px; margin-left: 16px; background: var(--blue); transform: rotate(45deg); }

.hb { display: grid; gap: 10px; padding: 18px var(--gut); border-top: 1px solid var(--hairline); }
.hb-word { font: 700 clamp(30px, 8vw, 72px)/.94 var(--sans); letter-spacing: -.03em; text-transform: uppercase; }
.hb-box { width: min(100%, 380px); background: var(--paper) var(--tex) 0 0 / 384px 384px; border: 1px solid var(--ink); }
.box-h { display: flex; justify-content: space-between; gap: 12px; padding: 7px 10px; border-bottom: 1px solid var(--hairline); font: 400 11px/1.3 var(--mono); letter-spacing: .02em; text-transform: uppercase; }
.hb-p { padding: 11px 10px 13px; font: 400 15.5px/1.36 var(--sans); }

/* the ignition sheet, first visit on a wide screen: the plate draws while the career loads in */
.pre { display: none; }
html.is-pre .pre { display: block; position: fixed; inset: 0; z-index: 94; container-type: size; }
.pre-paper { position: absolute; inset: 0; background: var(--canvas) var(--tex) 0 0 / 384px 384px; }
html.is-pre .hh-canvas { z-index: 95; }
.pre-scan { position: absolute; left: var(--edge); right: var(--edge); top: 0; height: 1px; background: var(--flare); z-index: 96; }
.pre-scan span { position: absolute; left: 26px; bottom: 6px; font: 400 12px/1 var(--mono); color: var(--flare); }
.pre-copy { position: absolute; inset: auto 0 0 0; z-index: 97; display: grid; grid-template-columns: 1.15fr 1fr .9fr; align-items: end; gap: 40px; padding: 0 44px 32px; }
.pre-big { font: 700 clamp(30px, 2.9vw, 50px)/.96 var(--sans); letter-spacing: -.028em; text-transform: uppercase; white-space: pre-line; }
.pre-card { display: grid; grid-template-columns: 110px 1fr; gap: 3px 10px; font: 400 11.5px/1.3 var(--mono); letter-spacing: .02em; text-transform: uppercase; color: var(--ink-2); }
.pre-h { padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px dashed var(--line-2); color: var(--flare); }
.pre-log { font: 400 11.5px/1.35 var(--mono); letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.pre-log .is-off { color: var(--line-2); }

/* motion on: the hero is a long track with a sticky sheet; the canvas takes over the plate */
html.motion-ok .hh-track { height: calc(100svh + 3600px); margin-top: calc(-1 * (var(--nav) + var(--edge) + 1px)); }
html.motion-ok .hh-track .hh { position: sticky; top: 0; height: 100svh; overflow: hidden; display: block; }
html.motion-ok .hh-track .hh-sheet { position: absolute; inset: 0; padding-top: calc(var(--edge) * 2 + var(--nav)); padding-bottom: var(--bandh, 190px); }
html.motion-ok .hh-stage { flex: 1; min-height: 0; position: static; }
html.motion-ok .hh-art { flex: 1; min-height: 0; overflow: visible; position: static; }
html.motion-ok .hh-plate { width: min(100%, calc((100svh - var(--bandh, 190px) - var(--nav) - 80px) * 2.358)); }
html.motion-ok .hh-canvas { display: block; position: absolute; left: var(--edge); right: var(--edge); bottom: var(--edge); top: calc(var(--edge) * 2 + var(--nav)); width: calc(100% - 2 * var(--edge)); height: calc(100% - 3 * var(--edge) - var(--nav)); pointer-events: none; z-index: 1; }
.hh-sheet.is-gl .hh-plate > img { visibility: hidden; }
html.motion-ok .hh-track .hh-band { position: absolute; left: var(--edge); right: var(--edge); bottom: var(--edge); z-index: 6; transform: translateY(calc(var(--band, 0) * 112%)); }
html.motion-ok .hh-hint { display: block; position: absolute; left: 50%; bottom: calc(var(--bandh, 190px) + 16px); translate: -50% 0; z-index: 3; padding: 2px 8px; background: var(--canvas); font: 400 11px/1.3 var(--mono); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; pointer-events: none; }
html.is-pre .hh-hint { opacity: 0; }
.hh-sheet .ruler, .hpin { transition: opacity .4s; }
.hh.is-open .hh-sheet .ruler, .hh.is-open .hpin { opacity: 0; }
html.motion-ok .hh-odo { display: flex; position: absolute; right: calc(var(--edge) + 18px); bottom: calc(var(--edge) + 18px); z-index: 4; align-items: baseline; gap: 6px; padding: 6px 10px; background: var(--bar-bg); color: var(--bar-ink); font: 400 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; opacity: 0; transition: opacity .3s; }
.hh-odo b { font: 500 18px/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--blue); }
[data-theme="light"] .hh-odo b { color: #8fb3ff; }
.hh.is-open .hh-odo { opacity: 1; }
html.motion-ok .hb { position: absolute; z-index: 3; width: min(40vw, 620px); padding: 0; border: 0; gap: 16px; transform: translateY(var(--y, 0)); pointer-events: none; opacity: 0; visibility: hidden; }
html.motion-ok .hb-word { color: #fbfaf6; text-shadow: 0 2px 30px rgb(10 14 30 / .45); }
html.motion-ok .hb-box { pointer-events: auto; }
.is-tr { top: calc(var(--edge) * 2 + var(--nav) + 30px); right: clamp(22px, 3.2vw, 56px); text-align: right; justify-items: end; }
.is-tr .hb-box { text-align: left; }
.is-tl { left: clamp(22px, 3.2vw, 56px); top: calc(var(--edge) * 2 + var(--nav) + 30px); }

/* ---------- the numbers ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.stats > div { display: flex; flex-direction: column; gap: 6px; padding: 14px var(--gut) 16px; border-bottom: 1px solid var(--hairline); }
.stats > div:nth-child(odd) { border-right: 1px solid var(--hairline); }
.stats > div:nth-last-child(-n+2) { border-bottom: 0; }
.stats dd { position: relative; font: 700 clamp(40px, 11vw, 76px)/.92 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stats div:last-child dd { color: var(--blue); }
.count.is-counting { color: transparent !important; }
.count.is-counting::before { content: attr(data-show); position: absolute; left: 0; top: 0; color: var(--ink); }
.stats dt { font: 400 11.5px/1.3 var(--mono); letter-spacing: .02em; text-transform: uppercase; }

/* ---------- a section ---------- */
.section { position: relative; padding: 38px var(--gut) 44px; border-bottom: 1px solid var(--hairline); counter-increment: sec; scroll-margin-top: var(--nav); }
.section::before { content: "[" counter(sec, decimal-leading-zero) "]"; position: absolute; top: 12px; right: var(--gut); font: 400 11.5px/1.35 var(--mono); }
.sec-head { max-width: 1100px; }
.sec-head .label + .sec-title { margin-top: 12px; }
.sec-title { font: 700 clamp(34px, 8.6vw, 60px)/1 var(--sans); letter-spacing: -.028em; text-transform: uppercase; text-wrap: balance; padding-right: 30px; }
.label + .sec-title { margin-top: 12px; }
.sec-sub { margin-top: 14px; max-width: 640px; font: 400 clamp(17px, 1.5vw, 20px)/1.34 var(--sans); letter-spacing: -.008em; text-wrap: pretty; }

/* ---------- the route: the career as a climbing road ---------- */
.rt-chart { position: relative; margin: 32px 0 6px; aspect-ratio: 1000 / 330; }
@media (min-width: 900px) { .rt-chart { aspect-ratio: 1000 / 250; max-height: 440px; } }
.rt-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rt-chart svg * { vector-effect: non-scaling-stroke; }
.rt-ground { fill: color-mix(in srgb, var(--ink) 5%, transparent); }
.rt-grid { stroke: var(--hairline); stroke-dasharray: 2 5; }
.rt-tick { stroke: var(--line-2); }
.rt-road { fill: none; stroke: color-mix(in srgb, var(--ink) 14%, transparent); stroke-width: 10; stroke-linecap: round; }
.rt-line { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; }
.js .rt-line { clip-path: inset(0 100% 0 0); transition: clip-path 2600ms var(--ease); }
.js .rt-chart.is-in .rt-line { clip-path: inset(0 -2% 0 0); }
.rt-pins li { position: absolute; width: 0; height: 0; }
.rt-pins i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; background: var(--canvas); border: 2px solid var(--blue); }
.rt-pins li:last-child i { background: var(--flare); border-color: var(--flare); }
.rt-pins b { display: none; position: absolute; left: 0; bottom: 12px; translate: -50% 0; padding: 2px 6px; background: var(--bar-bg); color: var(--bar-ink); font: 400 10.5px/1.3 var(--mono); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.rt-pins li.is-low b { bottom: auto; top: 12px; }
.js .rt-pins li { opacity: 0; transition: opacity .4s calc(var(--i) * 220ms + 300ms); }
.js .rt-chart.is-in .rt-pins li { opacity: 1; }
.rt-years { position: absolute; left: 0; right: 0; bottom: -20px; height: 14px; font: 400 10.5px/1 var(--mono); color: var(--ink-2); }
.rt-years span { position: absolute; translate: -50% 0; }
.stops { display: grid; margin-top: 42px; border-top: 1px solid var(--ink); }
.stop { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 14px; padding: 14px 0 16px; border-bottom: 1px solid var(--hairline); }
.stop > :not(.stop-y) { grid-column: 2; }
.stop-y { grid-row: 1 / span 4; display: flex; gap: 6px; font: 400 11.5px/1.35 var(--mono); letter-spacing: .02em; color: var(--ink-2); }
.stop-y i { font-style: normal; color: var(--line-2); }
.stop-co { font: 700 22px/1.05 var(--sans); letter-spacing: -.02em; text-transform: uppercase; }
.stop-role { margin-top: 4px; font: 500 15px/1.3 var(--sans); }
.stop-note { margin-top: 6px; font: 400 15px/1.4 var(--sans); color: var(--ink-2); text-wrap: pretty; }
.stop-place { margin-top: 8px; font: 400 10.5px/1.3 var(--mono); letter-spacing: .03em; text-transform: uppercase; color: var(--line-2); }
.stop.is-now .stop-co { color: var(--blue); }
.stop.is-now::before { content: ""; position: absolute; left: 0; top: -1px; width: 92px; height: 3px; background: var(--flare); }
.js .stops .stop { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .7s var(--ease); }
.js .stops.is-in .stop { opacity: 1; transform: none; }
.js .stops.is-in .stop:nth-child(n+2) { transition-delay: 60ms; } .js .stops.is-in .stop:nth-child(n+3) { transition-delay: 120ms; } .js .stops.is-in .stop:nth-child(n+4) { transition-delay: 180ms; } .js .stops.is-in .stop:nth-child(n+5) { transition-delay: 240ms; } .js .stops.is-in .stop:nth-child(n+6) { transition-delay: 300ms; }

/* ---------- what he works on: four threads, numbered cells ---------- */
.prac { display: grid; margin-top: 30px; border-top: 1px solid var(--ink); }
.prac li { position: relative; padding: 16px 0 22px; border-bottom: 1px solid var(--hairline); }
.prac-n { font: 700 44px/1 var(--sans); letter-spacing: -.04em; color: var(--blue); }
.prac h3 { margin-top: 14px; font: 700 22px/1.08 var(--sans); letter-spacing: -.02em; text-transform: uppercase; }
.prac-t { margin-top: 10px; font: 400 15.5px/1.45 var(--sans); color: var(--ink-2); text-wrap: pretty; }
.prac-proof { margin-top: 14px; padding-top: 8px; border-top: 1px dotted var(--line-2); font: 400 10.5px/1.35 var(--mono); letter-spacing: .03em; text-transform: uppercase; }
.js .prac li { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .7s var(--ease); }
.js .prac.is-in li { opacity: 1; transform: none; }
.js .prac.is-in li:nth-child(2) { transition-delay: 90ms; } .js .prac.is-in li:nth-child(3) { transition-delay: 180ms; } .js .prac.is-in li:nth-child(4) { transition-delay: 270ms; }
@media (min-width: 640px) { .prac { grid-template-columns: repeat(2, minmax(0, 1fr)); } .prac li:nth-child(odd) { padding-right: var(--gut); border-right: 1px solid var(--hairline); } .prac li:nth-child(even) { padding-left: var(--gut); } }
@media (min-width: 1100px) { .prac { grid-template-columns: repeat(4, minmax(0, 1fr)); } .prac li, .prac li:nth-child(odd), .prac li:nth-child(even) { padding: 16px var(--gut) 24px; border-bottom: 0; border-right: 0; } .prac li:first-child { padding-left: 0; } .prac li + li { border-left: 1px solid var(--hairline); } }
@media (prefers-reduced-motion: reduce) { .js .prac li { opacity: 1; transform: none; } }

/* ---------- Nyoma: his own film, played by the scroll ---------- */
.ny-track { position: relative; border-bottom: 1px solid var(--hairline); }
.ny { position: relative; display: grid; gap: 22px; padding: 38px var(--gut) 40px; scroll-margin-top: var(--nav); counter-increment: sec; }
.ny::before { content: "[" counter(sec, decimal-leading-zero) "]"; position: absolute; top: 12px; right: var(--gut); font: 400 11.5px/1.35 var(--mono); }
.ny-frame { min-width: 0; }
.ny-frame .ruler { margin: 0 0 8px; }
.ny-frame .ruler::before, .ny-frame .ruler::after { display: none; }
.ny-film { position: relative; aspect-ratio: 848 / 480; background: #0d0f12; overflow: hidden; border: 1px solid var(--ink); }
.ny-film canvas, .ny-film video, .ny-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ny-film video { display: none; }
html:not(.motion-ok) .ny-film video { display: block; }
html:not(.motion-ok) .ny-film canvas { display: none; }
.ny-poster { transition: opacity .4s; }
.ny-track.is-live .ny-poster { opacity: 0; }
.ny-air { position: absolute; left: 14px; top: 14px; display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: var(--flare); color: #fff; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: 0; transform: translateY(-6px); transition: opacity .18s, transform .3s var(--ease); }
.ny-air i { width: 7px; height: 7px; background: #fff; border-radius: 50%; }
.ny-air.is-on { opacity: 1; transform: none; }
.ny-corner { position: absolute; width: 18px; height: 18px; border: 0 solid rgb(255 255 255 / .85); }
.ny-corner.tl { left: 8px; top: 8px; border-width: 1px 0 0 1px; } .ny-corner.tr { right: 8px; top: 8px; border-width: 1px 1px 0 0; }
.ny-corner.bl { left: 8px; bottom: 8px; border-width: 0 0 1px 1px; } .ny-corner.br { right: 8px; bottom: 8px; border-width: 0 1px 1px 0; }
.ny-frame figcaption { display: grid; grid-template-columns: auto minmax(40px, 1fr) auto; align-items: center; gap: 12px; margin-top: 10px; font: 400 11px/1.35 var(--mono); letter-spacing: .02em; text-transform: uppercase; }
.ny-scrub { height: 2px; background: var(--hairline); position: relative; }
.ny-scrub::after { content: ""; position: absolute; inset: 0; background: var(--flare); transform: scaleX(var(--p, 0)); transform-origin: left; }
html.motion-ok .ny-track { height: calc(100svh + 1500px); }
html.motion-ok .ny { position: sticky; top: 0; height: 100svh; align-content: center; padding-top: calc(var(--nav) + var(--edge) * 2 + 14px); padding-bottom: 24px; }

/* ---------- the machine ---------- */
.mc-track { position: relative; border-bottom: 1px solid var(--hairline); }
.mc { position: relative; display: grid; gap: 18px; padding: 38px var(--gut) 40px; counter-increment: sec; }
.mc::before { content: "[" counter(sec, decimal-leading-zero) "]"; position: absolute; top: 12px; right: var(--gut); z-index: 2; font: 400 11.5px/1.35 var(--mono); }
.mc-art { position: relative; min-width: 0; }
.mc-art .ruler { margin: 0 4px; }
.mc-art .ruler::before, .mc-art .ruler::after { display: none; }
.mc-plate { position: relative; aspect-ratio: 2000 / 848; z-index: 2; }
.mc-plate img { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: var(--ink-blend); filter: var(--ink-filter); }
.mc .hh-canvas { display: none; }
html.motion-ok .mc .hh-canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.mc.is-gl .mc-plate img { visibility: hidden; }
.mc-copy { position: relative; z-index: 2; min-width: 0; }
.mc-badge { position: absolute; left: 10px; top: 28px; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: var(--bar-bg); color: var(--bar-ink); font: 400 11px/1.2 var(--mono); letter-spacing: .03em; text-transform: uppercase; }
.mc-badge i { font-style: normal; color: var(--flare); }
.mc.is-gl .mc-badge i { display: none; }
.mc.is-gl[data-model="1250"] .mc-badge [data-m="1300"], .mc.is-gl[data-model="1300"] .mc-badge [data-m="1250"], .mc.is-gl:not([data-model]) .mc-badge [data-m="1300"] { display: none; }
.mc.is-gl[data-model="1300"] .mc-badge { background: var(--blue); color: #fff; }
.spec { margin-top: 22px; border: 1px solid var(--ink); background: var(--paper) var(--tex) 0 0 / 384px 384px; }
.spec-h { display: flex; justify-content: space-between; padding: 7px 10px; border-bottom: 1px solid var(--ink); font: 400 11px/1.3 var(--mono); letter-spacing: .02em; text-transform: uppercase; }
.spec-h span:last-child { color: var(--flare); }
.spec li { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 12px; padding: 8px 10px; border-bottom: 1px dotted var(--line-2); transition: opacity .45s, transform .6s var(--ease); }
.spec li span { font: 400 10.5px/1.5 var(--mono); letter-spacing: .03em; text-transform: uppercase; color: var(--ink-2); }
.spec li b { font: 500 14.5px/1.35 var(--sans); }
.mc.is-gl .spec li:not(.is-in) { opacity: 0; transform: translateX(14px); }
.spec-note { padding: 8px 10px; font: 400 10.5px/1.35 var(--mono); color: var(--ink-2); }
html.motion-ok .mc-track { height: calc(100svh + 1100px); }
html.motion-ok .mc { position: sticky; top: 0; min-height: 100svh; align-content: center; padding-top: calc(var(--nav) + var(--edge) * 2 + 10px); padding-bottom: 22px; }

/* ---------- the code ---------- */
.code-grid { display: grid; gap: 26px; }
.skills-h { margin-top: 26px; }
.skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.skills li { padding: 5px 9px; border: 1px solid var(--line-2); font: 400 12px/1.2 var(--mono); }
.term { align-self: start; background: var(--band-bg); color: #e8e6df; border: 1px solid var(--ink); font: 400 13px/1.55 var(--mono); min-width: 0; }
.term-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid #2c3038; font-size: 11px; color: #8b8f99; }
.term-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3f48; }
.term-bar i:first-child { background: var(--flare); } .term-bar i:nth-child(2) { background: #e3b341; } .term-bar i:nth-child(3) { background: #3fa45f; }
.term-bar span { margin-left: auto; }
.term-cmd { padding: 12px 14px 4px; overflow-wrap: anywhere; }
.term-ps { color: #8fb3ff; }
.term-log { padding: 6px 14px 4px; }
.term-log li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px; padding: 2px 0; }
.term-y { color: #e3b341; }
.js .term-log li { clip-path: inset(0 100% 0 0); }
.js .term.is-in .term-log li { animation: type .55s steps(28, end) forwards; animation-delay: calc(var(--i) * 300ms + 200ms); }
@keyframes type { to { clip-path: inset(0 0 0 0); } }
.term-end { padding-bottom: 14px; }
.term-caret { display: inline-block; width: 8px; height: 15px; vertical-align: -2px; background: #e8e6df; }
@media (prefers-reduced-motion: no-preference) { .term-caret { animation: blink 1s steps(1) infinite; } }
@keyframes blink { 50% { opacity: 0; } }
.desk-plate { margin: 30px auto 0; max-width: 1180px; }

/* ---------- off the clock ---------- */
.cricket-plate { margin: 28px auto 0; max-width: 1180px; }
.off-grid { display: grid; margin-top: 18px; border-top: 1px solid var(--ink); }
.off-grid li { padding: 14px 0 18px; border-bottom: 1px solid var(--hairline); }
.off-pic { margin: -2px 0 12px; aspect-ratio: 3 / 2; overflow: hidden; border: 1px solid var(--ink); }
.off-pic img { width: 100%; height: 100%; object-fit: cover; }
.off-top { display: flex; justify-content: space-between; font: 400 11.5px/1.35 var(--mono); letter-spacing: .02em; text-transform: uppercase; color: var(--ink-2); }
.off-grid h3 { margin-top: 10px; font: 700 24px/1.05 var(--sans); letter-spacing: -.02em; text-transform: uppercase; }
.off-grid li p:last-child { margin-top: 8px; max-width: 460px; font: 400 15.5px/1.42 var(--sans); }
.js .off-grid li { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .7s var(--ease); }
.js .off-grid.is-in li { opacity: 1; transform: none; }
.js .off-grid.is-in li:nth-child(2) { transition-delay: 120ms; } .js .off-grid.is-in li:nth-child(3) { transition-delay: 240ms; }

/* ---------- reach him: the dhaba, the kettle on ---------- */
.contact-plate { padding: 30px var(--gut) 0; max-width: 1180px; margin: 0 auto; }
.contact { padding: 26px var(--gut) 30px; background: var(--band-bg); color: var(--band-ink); scroll-margin-top: var(--nav); }
.contact-head { display: flex; flex-direction: column; margin-top: 12px; font: 700 clamp(34px, 8.6vw, 64px)/1 var(--sans); letter-spacing: -.034em; text-transform: uppercase; }
.contact-head span + span { color: #8fb3ff; }
.quick { display: grid; grid-template-columns: 1fr 1fr; margin-top: 22px; border-top: 1px solid color-mix(in srgb, var(--band-ink) 30%, transparent); }
.quick li { border-bottom: 1px solid color-mix(in srgb, var(--band-ink) 30%, transparent); min-width: 0; }
.quick li:nth-child(odd) { border-right: 1px solid color-mix(in srgb, var(--band-ink) 30%, transparent); }
.quick a, .quick button { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 52px; padding: 8px 10px; font: 400 12px/1.25 var(--mono); letter-spacing: .02em; text-transform: uppercase; text-align: left; text-decoration: none; overflow-wrap: anywhere; transition: background-color 160ms, color 160ms; }

.foot { display: grid; gap: 24px; padding: 28px var(--gut) calc(100px + env(safe-area-inset-bottom)); }
.foot-name { font: 700 26px/1 var(--sans); letter-spacing: -.024em; text-transform: uppercase; }
.foot-brand p + p { margin-top: 10px; max-width: 460px; font: 400 15px/1.42 var(--sans); }
.foot-brand .foot-credit { font: 400 11px/1.45 var(--mono); color: var(--ink-2); }
.foot-col { display: grid; gap: 8px; align-content: start; }
.foot-col ul { display: grid; gap: 4px; }
.foot-col a { font: 400 15px/1.5 var(--sans); text-decoration: none; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; padding-top: 12px; border-top: 1px solid var(--hairline); font: 400 11.5px/1.35 var(--mono); }
.foot-base a { text-decoration: none; border-bottom: 1px solid var(--line-2); }

@media (hover: hover) and (pointer: fine) {
  .nav-btn:hover, .hh-more:hover { background: var(--chip); }
  .hh-more:hover { background: var(--blue); color: #fff; }
  .quick a:hover, .quick button:hover { background: color-mix(in srgb, var(--band-ink) 10%, transparent); }
  .foot-col a:hover { color: var(--accent); }
  .stop:hover .stop-co { color: var(--blue); }
  .go:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
}

/* ---------- a phone: the hero rides the same track, its notes pinned above the tab bar ---------- */
@media (max-width: 899px) {
  html.motion-ok .hh-track { height: calc(100svh + 3000px); }
  html.motion-ok .hh-plate { width: 165%; flex: none; }
  html.motion-ok .hh-art { justify-content: center; padding: 8px 0; }
  html.motion-ok .hh-track .hh-sheet { overflow: hidden; }
  html.motion-ok .hh-hint { display: none; }
  html.motion-ok .hb { width: auto; left: 14px !important; right: 14px !important; gap: 10px; }
  .hb-word { font-size: clamp(34px, 11vw, 52px); text-align: left; }
  html.motion-ok .is-tr { justify-items: start; text-align: left; }
  /* the note's box sits above the tab bar: the beat spans the sheet top to bottom (a fixed box inside a transformed beat would not be fixed) */
  html.motion-ok .hb { top: calc(var(--nav) + var(--edge) * 2 + 18px) !important; bottom: calc(96px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; }
  html.motion-ok .hb-box { width: auto; }
  html.motion-ok .hh-track .hh-band { bottom: 0; padding-bottom: 84px; }
  .ticker { display: none; }
  /* the band stays short so the plate keeps the screen: the title, three lines of the lead, the way down */
  html.motion-ok .hh-h1 { font-size: clamp(30px, 8.6vw, 40px); padding: 12px var(--gut) 10px; }
  html.motion-ok .hh-lead { padding: 10px var(--gut); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  html.motion-ok .hh-more { min-height: 42px; }
  /* the band keeps his face on a phone: the card compact (photo, name, line), the lead to two lines */
  html.motion-ok .hh-band .idcard { padding: 10px var(--gut); }
  html.motion-ok .hh-lead { -webkit-line-clamp: 2; }
  .idcard { grid-template-columns: 46px minmax(0, 1fr); }
  .idcard img { width: 46px; height: 46px; }
  .id-rows { display: none; }
  html.motion-ok .hh-odo { bottom: calc(96px + env(safe-area-inset-bottom)); right: 18px; }
  html.motion-ok .hh.is-open .hh-odo { opacity: 0; }
  html.motion-ok .ny-track { height: calc(100svh + 1100px); }
  html.motion-ok .ny { align-content: start; padding-bottom: 96px; }
  .ny .sec-title { font-size: clamp(32px, 9vw, 44px); }
  .ny-frame figcaption { grid-template-columns: 1fr; gap: 6px; }
  .ny-frame figcaption span:last-child { display: none; }
  html.motion-ok .mc-track { height: calc(100svh + 900px); }
  html.motion-ok .mc { align-content: start; gap: 8px; padding-bottom: 96px; }
  .mc .sec-title { font-size: clamp(30px, 8.6vw, 42px); }
  .mc .sec-sub { font-size: 15px; margin-top: 8px; }
  .spec { margin-top: 12px; }
  .spec li { grid-template-columns: 96px minmax(0, 1fr); padding: 5px 10px; }
  .spec li b { font-size: 13.5px; }
  .spec-note { display: none; }
  html.motion-ok .mc .spec li:nth-child(n+5) { display: none; }
}
/* a phone: the engravings whose subject sits to one side are cropped to it, so each plate reads centred */
@media (max-width: 639px) {
  .desk-plate, .cricket-plate, .contact-plate { margin-left: 0; margin-right: 0; }
  .desk-plate img, .cricket-plate img, .contact-plate img { aspect-ratio: 4 / 3; object-fit: cover; }
  .desk-plate img { object-position: 76% 50%; }
  .cricket-plate img { object-position: 22% 60%; }
  .contact-plate img { object-position: 52% 60%; }
  .contact-plate { padding-left: var(--gut); padding-right: var(--gut); }
}
@media (max-width: 374px) { .tab { font-size: 10.5px; } .hh-h1 { font-size: 32px; } }

@media (min-width: 640px) {
  :root { --edge: 8px; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats > div { border-bottom: 0; }
  .stats > div:nth-child(odd) { border-right: 0; }
  .stats > div + div { border-left: 1px solid var(--hairline); }
  .quick { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .quick li:nth-child(odd) { border-right: 0; }
  .quick li + li { border-left: 1px solid color-mix(in srgb, var(--band-ink) 30%, transparent); }
  .foot { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
  .foot-base { grid-column: 1 / -1; }
  .off-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .off-grid li { padding: 14px var(--gut) 20px; border-bottom: 0; }
  .off-grid li:first-child { padding-left: 0; }
  .off-grid li + li { border-left: 1px solid var(--hairline); }
}

/* ---------- desktop: the bar opens out, the band lays out in three, the sections go side by side ---------- */
@media (min-width: 900px) {
  .tabbar { display: none; }
  .nav-links { display: flex; }
  .nav-links a { display: flex; align-items: center; min-width: 110px; padding: 0 14px; border-left: 1px solid var(--hairline); font: 400 11.5px/1 var(--mono); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; transition: background-color 160ms; }
  .nav-links a:hover { background: var(--chip); }
  .nav-links a.is-on { box-shadow: inset 0 -3px 0 var(--blue); }
  .nav-brand { font-size: 20px; }

  .hh-band { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) minmax(250px, 300px); }
  .hh-h1 { font-size: clamp(38px, 3.6vw, 64px); padding: 16px var(--gut) 18px; align-self: center; }
  .hh-side { border-top: 0; border-left: 1px solid var(--hairline); grid-template-rows: 1fr auto; }
  .hh-lead { font-size: clamp(15px, 1.12vw, 17px); }
  .idcard { border-top: 0; border-left: 1px solid var(--hairline); align-content: center; }
  .rt-pins b { display: block; }
  .stops { grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 0; }
  .stop { display: block; padding: 14px 14px 20px; border-top: 1px solid var(--ink); border-bottom: 0; }
  .stop:not(:nth-child(5n + 1)) { border-left: 1px solid var(--hairline); }
  .stop:nth-child(5n + 1) { padding-left: 0; }
  .stop:nth-child(n + 6) { margin-top: 18px; }
  .stop-y { margin-bottom: 10px; }
  .stop.is-now::before { width: 60%; }
  .ny { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); align-items: center; column-gap: clamp(24px, 3vw, 56px); }
  .ny-frame { max-width: 1060px; }
  .mc { grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr); align-items: center; column-gap: clamp(24px, 3vw, 56px); }
  .code-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; column-gap: clamp(24px, 3vw, 56px); }
  .section { padding: 56px var(--gut) 64px; }
  .sec-title { font-size: clamp(46px, 4.3vw, 76px); }
  .contact { padding: 40px var(--gut) 44px; }
  .contact-head { font-size: clamp(52px, 5vw, 88px); }
  .foot { padding-bottom: 24px; }
}
@media (min-width: 900px) and (max-height: 760px) { .mc .sec-sub { font-size: 16px; } .spec li { padding: 6px 10px; } }
@media (min-width: 1880px) { .page { max-width: 1880px; margin: 0 auto; } }

/* the 404 page shares the sheet */
.story { max-width: 780px; margin: 0 auto; padding: 40px 20px; }
.back { margin-bottom: 24px; }
.back-go { background: none; color: var(--ink); border: 0; padding: 0; min-height: 0; }
.back-go::after { content: none !important; }
.back-go::before { content: "←\00a0"; }
.story-title { font: 700 clamp(44px, 11vw, 88px)/.94 var(--sans); letter-spacing: -.034em; text-transform: uppercase; }
.story-dek { margin-top: 12px; font: 400 20px/1.3 var(--sans); }
.story-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .js .plate img, .js .rt-line { clip-path: none; transition: none; }
  .js .term-log li { clip-path: none; animation: none; }
  .js .stops .stop, .js .off-grid li { opacity: 1; transform: none; transition: none; }
}

/* ---------- the visiting card: a spec sheet you can scan, share or save ---------- */
dialog.vcard { width: min(94vw, 460px); max-height: 94svh; padding: 0 0 12px; overflow-y: auto; background: var(--canvas) var(--tex) 0 0 / 384px 384px; color: var(--ink); border: 1px solid var(--ink); }
dialog.vcard::backdrop { background: rgba(10, 10, 10, .6); backdrop-filter: blur(6px); }
.vcard-x { position: absolute; top: 8px; right: 8px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; background: var(--canvas); border: 1px solid var(--hairline); }
.vcard-plate { padding: 10px 0 0; }
.vcard-plate .ruler { margin: 0 24px; }
.vcard-art { height: 150px; margin: 0 14px; background: 50% 100% / auto 100% no-repeat; filter: var(--plate-filter); }
.vcard-head { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--hairline); }
.vcard-head img { width: 76px; height: 76px; object-fit: cover; border: 1px solid var(--ink); }
.vcard-head h2 { margin: 0; font: 700 32px/1 var(--sans); letter-spacing: -.028em; text-transform: uppercase; }
.vcard-role { margin-top: 5px; font: 400 15px/1.25 var(--sans); }
.vcard-place { margin-top: 3px; font: 400 11px/1.3 var(--mono); letter-spacing: .02em; text-transform: uppercase; }
.vcard-qr { display: grid; justify-items: center; gap: 8px; padding: 16px 18px 14px; border-bottom: 1px solid var(--hairline); }
.vcard-code { width: 190px; height: 190px; padding: 12px; background: #fff; border: 1px solid #1b1e24; }
.vcard-code svg { display: block; width: 100%; height: 100%; }
.vcard-qr p { font: 400 11px/1.3 var(--mono); letter-spacing: .02em; text-transform: uppercase; }
.vcard-rows a { display: flex; align-items: center; min-height: 40px; padding: 4px 18px; border-bottom: 1px dotted var(--line-2); font: 400 14px/1.25 var(--sans); text-decoration: none; overflow-wrap: anywhere; transition: background-color 160ms; }
.vcard-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 12px 18px 4px; }
.vcard-btns .go { justify-content: center; min-height: 44px; padding: 0 8px; }
.vcard-btns .go .ico { width: 15px; height: 15px; }
.vcard-btns .is-wide { grid-column: 1 / -1; }
.vcard-btns .go:disabled { opacity: .55; cursor: progress; }
.vcard-note { padding: 6px 18px 0; text-align: center; font: 400 11px/1.3 var(--mono); }
@media (hover: hover) and (pointer: fine) { .vcard-rows a:hover { background: var(--chip); } }
