/* Human editorial / reusable reference
   One sans-serif family for text, controls and chart labels; regular/semibold weights.
   Monospace is reserved for inline code; data uses the same sans-serif with tabular numerals.
   Uses local system fonts: no font files, third-party scripts or network dependency. */
:root {
  color-scheme: light;
  --bg: #fdfcfc;
  --panel: #f5f3f1;
  --panel-raised: #ffffff;
  --panel-deep: #f1eeea;
  --text: #141414;
  --soft: #57534e;
  --muted: #777169;
  --accent: #2b7fff;
  --accent-strong: #1e63e8;
  --line: #e7e3dd;
  --subtle-line: #efece7;
  --amber: #a15c0f;
  --amber-bg: #fbf5eb;
  --lavender: #6e67c7;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", ui-sans-serif, system-ui, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --weight-regular: 400;
  --weight-semibold: 600;
  --tracking-heading: -.025em;
  --tracking-label: .01em;
  --radius: 24px;
  --section-space: clamp(3.5rem, 5vw, 5rem);
  --column-gap: clamp(2rem, 4vw, 4rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; background: var(--bg); }
body { margin: 0; color: var(--text); font-family: var(--sans); font-weight: var(--weight-regular); font-size: 1.125rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
b, strong { font-weight: var(--weight-semibold); }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
p, h1, h2, h3, h4, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { line-height: 1.15; text-wrap: balance; }
h1, h2, h3 { letter-spacing: var(--tracking-heading); }
button, .button, a { touch-action: manipulation; }
button:disabled { opacity: .5; cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { color: #fff; background: var(--accent); }
[hidden] { display: none !important; }
.container { width: min(100% - 64px, 1320px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 20px; z-index: 100; padding: 10px 16px; border-radius: 6px; background: var(--accent); color: var(--bg); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.accent { color: var(--accent); }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.875rem; font-weight: var(--weight-semibold); letter-spacing: var(--tracking-label); line-height: 1.6; }
.eyebrow-line { display: none; }
code { color: #4b4741; font-family: var(--mono); font-size: .88em; padding: .12em .3em; border-radius: 6px; background: #f1eeea; overflow-wrap: anywhere; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(253,252,252,.97); border-bottom: 1px solid var(--subtle-line); }
.header-inner { min-height: 86px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.brand-mark { width: 41px; height: 41px; display: block; flex: 0 0 auto; overflow: hidden; border-radius: 12px; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.brand-copy { display: flex; flex-direction: column; font-size: 1.125rem; font-weight: var(--weight-semibold); line-height: 1.5; letter-spacing: var(--tracking-heading); }
.brand-copy small { color: var(--muted); font-size: 0.875rem; font-weight: var(--weight-regular); letter-spacing: var(--tracking-label); }
.header-inner nav { display: flex; align-items: center; gap: 27px; }
.header-inner nav a { color: var(--soft); text-decoration: none; font-size: 1rem; white-space: nowrap; transition: color .15s; }
.header-inner nav a:hover, .header-inner nav a[aria-current="location"] { color: var(--text); }
.availability { display: inline-flex; align-items: center; gap: 8px; color: var(--soft); font-size: 1rem; white-space: nowrap; }
.availability > span, .availability-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; background: var(--accent); flex: 0 0 auto; }
.hero { padding-block: clamp(28px, 3vw, 44px) clamp(36px, 4vw, 56px); display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: var(--column-gap); }
.hero .eyebrow { margin-bottom: 22px; }
h1 { font-size: clamp(2.6875rem, 4.25vw, 4.0625rem); font-weight: var(--weight-semibold); line-height: 1.08; letter-spacing: var(--tracking-heading); margin-bottom: 25px; }
h1 > span { color: inherit; }
.hero-lead { max-width: 52ch; font-size: 1.25rem; line-height: 1.65; color: var(--soft); }
.hero-location { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; color: var(--soft); font-size: 1rem; }
.hero-location > span { color: #a59f97; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 47px; padding: 11px 22px; border: 1px solid transparent; border-radius: 999px; font-size: 1rem; font-weight: var(--weight-semibold); text-decoration: none; line-height: 1.5; transition: background .15s, color .15s, border-color .15s; }
.button svg { width: 17px; height: 17px; flex-shrink: 0; }
.button-primary { background: #141414; color: #fff; }
.button-primary:hover { background: #2e2e2e; }
.button-secondary { background: #fff; border-color: #e0dbd4; color: var(--text); }
.button-secondary:hover { background: var(--panel); border-color: #d5cfc6; }
.hero-footnote { margin-top: 20px; max-width: 410px; color: var(--muted); font-size: 0.875rem; line-height: 1.7; }
.hero-visual { display: block; overflow: hidden; background: var(--panel-raised); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; box-shadow: 0 24px 70px -48px rgba(20,20,20,.4); }
.visual-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 18px 21px; }
.visual-top .eyebrow { margin: 0; font-size: 0.875rem; letter-spacing: var(--tracking-label); }
.mini-index { color: var(--muted); font-size: 0.875rem; letter-spacing: var(--tracking-label); font-variant-numeric: tabular-nums; }
.hero-image { aspect-ratio: 16 / 9; overflow: hidden; border-block: 1px solid var(--line); background: var(--panel-deep); }
.hero-image img { width: 100%; height: 100%; object-fit: contain; }
.hero-visual-caption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; }
.caption-kicker { color: var(--accent); font-size: 0.875rem; font-weight: var(--weight-semibold); }
.hero-visual-caption h2 { margin: 7px 0 5px; font-size: 1.5rem; letter-spacing: var(--tracking-heading); font-weight: var(--weight-semibold); }
.hero-visual-caption p { font-size: 0.875rem; color: var(--muted); }
.round-arrow { width: 39px; height: 39px; border: 1px solid var(--line); display: grid; place-items: center; border-radius: 50%; flex: 0 0 auto; color: var(--accent); }
.round-arrow svg { width: 18px; height: 18px; }
.hero-visual:hover .round-arrow { color: var(--bg); background: var(--accent); }
.hardware-strip { padding: 24px 0; border-block: 1px solid var(--line); display: grid; grid-template-columns: .85fr 1fr 1fr 1.2fr; gap: 20px; }
.hardware-intro { display: flex; flex-direction: column; gap: 6px; }
.hardware-intro .eyebrow { font-size: 0.875rem; }
.hardware-intro > span:last-child { font-size: 1rem; color: var(--muted); }
.hardware-item { border-left: 1px solid var(--line); padding-left: 28px; display: flex; flex-direction: column; gap: 6px; }
.hardware-item > span:last-child { color: var(--muted); font-size: 0.875rem; }
.hardware-value { font-size: 1.125rem; font-weight: var(--weight-semibold); letter-spacing: -.01em; }
.work-section { padding-top: var(--section-space); }
.section-heading, .research-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 30px; }
.section-heading h2, .research-heading h2 { font-size: 2.625rem; font-weight: var(--weight-semibold); margin-top: 12px; }
.section-heading > p, .research-heading > p { color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 38ch; }
.project-index { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.project-index a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 1rem; color: var(--soft); background: transparent; }
.project-index a span { color: var(--accent); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.project-index a { transition: background .15s, color .15s; }
.project-index a:hover { background: var(--panel); color: var(--text); }
.case { padding-bottom: var(--section-space); margin-bottom: var(--section-space); border-bottom: 1px solid var(--line); scroll-margin-top: 115px; }
.case-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: var(--column-gap); align-items: start; }
.case-copy, .case-evidence { min-width: 0; }
.case-kicker { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 20px; }
.case-kicker > span:first-child { color: var(--muted); font-size: 0.875rem; text-transform: uppercase; font-weight: var(--weight-semibold); letter-spacing: var(--tracking-label); }
.status { display: inline-flex; align-items: baseline; gap: 12px; color: var(--soft); font-size: .875rem; line-height: 1.6; }
.status::before { content: "/"; color: var(--muted); }
.status-wip { color: var(--amber); }
.case h3 { font-size: 1.9375rem; font-weight: var(--weight-semibold); line-height: 1.2; letter-spacing: var(--tracking-heading); margin-bottom: 20px; }
.case h3 > span { color: var(--muted); font-weight: var(--weight-regular); }
.case-intro { color: var(--soft); font-size: 1.125rem; line-height: 1.7; max-width: 52ch; }
.case-findings { margin-top: 28px; }
.case-findings > div { margin-bottom: 22px; }
.case-findings dt { font-size: 0.875rem; font-weight: var(--weight-semibold); color: var(--text); margin-bottom: 5px; }
.case-findings dd { color: var(--muted); font-size: 1rem; line-height: 1.7; }
.evidence-note { color: var(--muted); font-size: 0.875rem; line-height: 1.7; margin: 12px 2px 0; }
.comparison, .benchmark-panel, .capture-panel, .telemetry-panel { overflow: hidden; border: 1px solid var(--line); background: var(--panel-raised); border-radius: var(--radius); }
.media-heading { min-height: 49px; padding: 13px 18px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 18px; border-bottom: 1px solid var(--line); font-size: 0.875rem; font-weight: var(--weight-semibold); }
.media-kind { font-size: 0.875rem; color: var(--muted); font-weight: var(--weight-regular); }
.asset-notice, .trace-source { display: flex; gap: 8px; align-items: center; margin: 0; padding: 9px 16px; font-size: 0.875rem; line-height: 1.6; color: var(--amber); background: var(--amber-bg); border-bottom: 1px solid #ecdfc8; }
.notice-dot { display: block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
/* Both images ALWAYS occupy the complete viewport. Only the clip changes. */
.comparison-viewport { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #0b1014; cursor: ew-resize; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.comparison-image { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.comparison-image img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; pointer-events: none; }
.capture-version { position:absolute; bottom:12px; z-index:3; padding:5px 10px; border-radius:6px; background:rgb(0 0 0 / 70%); color:#fff; font-size:.875rem; line-height:1.4; font-weight:600; pointer-events:none; }
.capture-version.version-a { left:12px; }
.capture-version.version-b { right:12px; }
.capture-version[hidden] { display:none; }
/* Identical source crop: x=900, y=400, width=2400, height=1350. */
[data-comparison="sims"] .comparison-image { overflow:hidden; }
[data-comparison="sims"] .comparison-image img { position:absolute; width:160%; height:160%; max-width:none; left:-37.5%; top:-29.62963%; }
.image-b { z-index: 1; }
.image-a { z-index: 2; clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0); }
.comparison-divider { position: absolute; z-index: 3; left: var(--split, 50%); top: 0; bottom: 0; width: 2px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.comparison-divider > span { position: absolute; width: 36px; height: 44px; top: 50%; left: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(255,255,255,.22); background: rgba(20,20,20,.88); color: #fff; box-shadow: 0 3px 12px #0007; }
.comparison-divider svg { width: 21px; height: 21px; }
.comparison.is-dragging .comparison-divider > span { background: var(--accent); color: #fff; }
.comparison-labels { display: flex; justify-content: space-between; align-items: start; gap: 20px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--soft); }
.comparison-labels > span { display: flex; gap: 8px; align-items: center; }
.comparison-labels > span:last-child { text-align: right; }
.comparison-labels b { color: var(--accent); font-size: 0.875rem; font-weight: var(--weight-semibold); border: 1px solid var(--line); width: 19px; height: 20px; display: inline-grid; place-items: center; border-radius: 5px; background: #fff; flex: 0 0 auto; }
.comparison-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 16px 12px; }
.segmented { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: #f1eeea; border: 1px solid var(--line); }
.segmented button { border: 1px solid transparent; color: var(--muted); background: transparent; font-size: 0.875rem; border-radius: 999px; padding: 6px 12px; min-height: 40px; white-space: nowrap; }
.segmented button[aria-pressed="true"] { color: var(--text); background: #fff; border-color: #e0dbd4; box-shadow: 0 1px 2px rgba(20,20,20,.06); }
.segmented button:hover { color: var(--text); }
.comparison-hint { padding: 0 16px 13px; color: var(--muted); font-size: 0.875rem; }
.mismatch-note { color: var(--amber); font-size: 0.875rem; padding: 8px 16px 16px; }
.no-js .comparison-controls, .no-js .comparison-hint { display: none; }
.no-js .comparison-viewport { cursor: default; }
/* Benchmark data is HTML, not baked into an image. */
.benchmark-highlights { display: grid; grid-template-columns: 1fr 1fr; padding: 25px 26px 22px; gap: 28px; }
.benchmark-highlights > div { display: flex; flex-direction: column; gap: 5px; }
.metric-number { font-size: 2.5625rem; line-height: 1.2; letter-spacing: var(--tracking-heading); font-weight: var(--weight-semibold); color: var(--accent); font-variant-numeric: tabular-nums; }
.metric-number > span { font-size: 1.4375rem; letter-spacing: var(--tracking-heading); }
.metric-label { color: var(--muted); font-size: 0.875rem; }
.power-chart { padding: 0 26px 23px; }
.chart-eyebrow { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--soft); margin-bottom: 15px; }
.chart-eyebrow > span { color: var(--muted); }
.power-row { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) 5rem; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 0.875rem; }
.power-row:last-child { margin-bottom: 0; }
.power-row > span { color: var(--soft); }
.power-row strong { font-size: 1rem; font-weight: var(--weight-semibold); text-align: right; font-variant-numeric: tabular-nums; }
.power-row small { font-size: 0.875rem; color: var(--muted); }
.bar-track { height: 9px; border-radius: 999px; background: #e7e3dd; overflow: hidden; }
.bar { display: block; height: 100%; width: var(--bar); border-radius: 2px; }
.stock { background: #a8a29a; }
.balanced { background: var(--accent); }
.efficient { background: var(--lavender); }
.table-scroll { width: 100%; overflow-x: auto; }
.benchmark-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.benchmark-table th, .benchmark-table td { padding: 12px 18px; border-top: 1px solid var(--line); white-space: nowrap; }
.benchmark-table th:first-child { padding-left: 26px; }
.benchmark-table td:last-child { padding-right: 26px; }
.benchmark-table thead th { background: #f5f3f1; font-weight: var(--weight-regular); font-size: 0.875rem; color: var(--muted); }
.benchmark-table td { color: var(--soft); text-align: right; }
.benchmark-table thead th:not(:first-child) { text-align: right; }
.benchmark-table tbody th { font-weight: var(--weight-semibold); }
.benchmark-table .highlight-row th, .benchmark-table .highlight-row td { color: var(--accent); background: rgba(43,127,255,.08); }
.profile-dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); margin-right: 6px; vertical-align: middle; }
/* Expandable detail keeps evidence visible before the implementation prose. */
.case-notes { margin-top: 23px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.case-notes summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 19px; list-style: none; color: var(--soft); font-size: 1rem; font-weight: var(--weight-semibold); cursor: pointer; }
.case-notes summary::-webkit-details-marker { display: none; }
.case-notes summary svg { width: 17px; height: 17px; color: var(--accent); transition: transform .15s; flex: 0 0 auto; }
.case-notes summary:hover { color: var(--text); background: var(--panel); }
.case-notes[open] summary { border-bottom: 1px solid var(--line); background: var(--panel); }
.case-notes[open] summary svg { transform: rotate(45deg); }
.notes-body { background: #f5f3f1; padding: 26px; }
.notes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 35px; }
.notes-grid h4 { font-size: 1rem; font-weight: var(--weight-semibold); letter-spacing: 0; margin-bottom: 8px; color: var(--accent); }
.notes-grid p, .technical-notes p { color: var(--soft); font-size: 1rem; line-height: 1.75; }
.technical-notes { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.technical-notes p + p { margin-top: 16px; }
.technical-notes strong { color: var(--text); font-weight: var(--weight-semibold); }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-size: 1rem; text-decoration: none; font-weight: var(--weight-semibold); }
.text-link svg { width: 15px; height: 15px; flex: 0 0 auto; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.capture-image { display: block; position: relative; border-bottom: 1px solid var(--line); background: var(--panel-deep); }
.capture-image img { width: 100%; aspect-ratio: 16/9; object-fit: contain; }
.image-open { display: inline-flex; align-items: center; gap: 7px; position: absolute; bottom: 12px; right: 12px; padding: 6px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(20,20,20,.85); color: #fff; font-size: 0.875rem; }
.image-open svg { width: 12px; height: 12px; }
.capture-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; padding:16px 16px 0; }
.capture-gallery a { display:block; min-width:0; overflow:hidden; border-radius:10px; background:var(--panel-deep); }
.capture-gallery img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:contain; }
.capture-secondary { padding: 17px; display: flex; gap: 22px; align-items: center; }
.capture-secondary > a { width: 170px; flex-shrink: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.capture-secondary .eyebrow { font-size: 0.875rem; letter-spacing: var(--tracking-label); }
.capture-secondary p { font-size: 1.125rem; font-weight: var(--weight-semibold); margin-top: 5px; margin-bottom: 5px; }
.small-muted { color: var(--muted); font-size: 0.875rem; line-height: 1.6; display: block; }
.research-heading { margin-bottom: 45px; }
.research-heading h2 { font-size: 2.25rem; }
.research-heading > p { max-width: 390px; }
.telemetry-panel { padding-bottom: 13px; }
.trace-source.loaded { background: rgba(43,127,255,.08); color: var(--accent); border-color: rgba(43,127,255,.35); }
.trace-source > span:last-child { overflow-wrap: anywhere; }
.trace-toolbar { padding: 14px 15px 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 13px; }
.trace-legend { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.875rem; }
.legend-line { display: inline-block; width: 12px; height: 2px; background: var(--accent); }
.legend-dash { display: inline-block; width: 13px; height: 1px; border-top: 1px dashed #a8a29a; margin-left: 7px; }
.trace-actions { display: flex; align-items: center; gap: 6px; }
.small-button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; font-size: 0.875rem; line-height: 1.4; color: var(--soft); border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 5px 13px; cursor: pointer; }
.small-button:hover { background: var(--panel); color: var(--text); }
.upload-label { position: relative; overflow: hidden; }
.file-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 1rem; }
.upload-label:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.canvas-wrap { position: relative; width: 100%; height: 255px; padding: 0 10px; }
#frametimeCanvas { display: block; width: 100%; height: 100%; cursor: crosshair; touch-action: pan-y; }
.trace-readout { display: grid; grid-template-columns: .65fr .65fr 1.5fr; gap: 15px; padding: 13px 18px 8px; border-top: 1px solid var(--line); }
.trace-readout > div { min-width: 0; }
.readout-label { display: block; color: var(--muted); font-size: 0.875rem; margin-bottom: 4px; }
.trace-readout strong { font-weight: var(--weight-semibold); font-size: 1rem; font-variant-numeric: tabular-nums; }
.trace-readout small { font-size: 0.875rem; color: var(--muted); }
#traceObservation { display: block; color: var(--soft); font-size: 0.875rem; }
.csv-options { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px; margin: 10px 18px; color: var(--soft); font-size: 0.875rem; }
.csv-options label { display: flex; flex-direction: column; gap: 4px; max-width: 100%; }
.csv-options select { max-width: 100%; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; font-size: 0.875rem; }
.csv-help { margin: 8px 18px 0; color: var(--muted); font-size: 0.875rem; line-height: 1.7; }
.csv-message { margin: 5px 18px; font-size: 0.875rem; color: var(--amber); overflow-wrap: anywhere; }
.csv-message:empty { display: none; }
.no-js .trace-actions, .no-js .trace-readout { display: none; }
.method-section { border-top: 1px solid var(--line); padding-block: var(--section-space); display: grid; grid-template-columns: 1fr 1.18fr; gap: var(--column-gap); }
.method-intro h2 { font-size: 2.4375rem; font-weight: var(--weight-semibold); margin: 14px 0 23px; }
.method-intro > p:not(.eyebrow) { color: var(--soft); font-size: 1rem; line-height: 1.75; max-width: 46ch; }
.method-steps > div { display: flex; align-items: baseline; gap: 24px; border-top: 1px solid var(--line); padding: 20px 0; }
.method-steps > div > span { font-size: 0.875rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.method-steps h3 { margin-bottom: 8px; font-size: 1.125rem; letter-spacing: -.015em; font-weight: var(--weight-semibold); }
.method-steps p { color: var(--muted); font-size: 1rem; line-height: 1.7; }
.contact-section { padding-bottom: 65px; }
.contact-message p + p { margin-top: 1rem; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 50px; display: flex; justify-content: space-between; gap: 55px; }
.contact-card h2 { margin: 18px 0; font-size: 2.5rem; font-weight: var(--weight-semibold); }
.contact-message { font-size: 1rem; line-height: 1.7; color: var(--soft); }
.contact-email { display: inline-flex; align-items: center; gap: 20px; font-size: 1.25rem; color: var(--accent); text-decoration: none; margin-top: 26px; letter-spacing: var(--tracking-heading); }
.contact-email:hover { text-decoration: underline; text-underline-offset: 6px; }
.contact-email svg { width: 20px; height: 20px; }
.contact-side { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 24px; min-width: 280px; }
.contact-location { display: flex; flex-direction: column; gap: 5px; font-size: 1.125rem; font-weight: var(--weight-semibold); }
.contact-location > span { color: var(--muted); font-size: 0.875rem; font-weight: var(--weight-regular); }
.contact-side .button { justify-content: flex-start; justify-self: start; align-self: flex-start; width: fit-content; }
.contact-side .button .file-type { margin-left: 16px; }
.file-type { margin-left: auto; color: var(--muted); font-size: 0.875rem; letter-spacing: var(--tracking-label); }
.social-links { display: flex; flex-wrap: wrap; gap: 18px; }
.social-links a { display: inline-flex; align-items: center; gap: 4px; color: var(--soft); font-size: 0.875rem; text-decoration: none; }
.social-links a:hover { color: var(--accent); }
.social-links svg { width: 11px; height: 11px; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; border-top: 1px solid var(--line); padding-block: 26px 35px; color: var(--muted); font-size: 0.875rem; }
.footer-separator { margin-inline: 10px; color: #cfcac2; }
.footer a { text-decoration: none; display: inline-flex; gap: 10px; }
.footer a:hover { color: var(--accent); }
@media (min-width: 1700px) {
 html { font-size: 112.5%; }
 .container { width: min(100% - 128px, 1440px); }
 .hero { gap: var(--column-gap); }
 .case-layout { gap: var(--column-gap); }
}
@media (max-width: 1100px) {
 .availability { display: none; }
 .hero { gap: 35px; }
 h1 { font-size: 3.1875rem; }
 .hero-lead { font-size: 1.125rem; }
 .case-layout { grid-template-columns: minmax(0,.85fr) minmax(0,1.4fr); gap: 32px; }
 .case h3 { font-size: 1.6875rem; }
 .case-intro { font-size: 1.125rem; }
 .case-kicker { align-content: start; }
 .metric-number { font-size: 2.25rem; }
 .benchmark-table th, .benchmark-table td { padding: 11px 12px; }
 .benchmark-table th:first-child { padding-left: 16px; }
 .benchmark-table td:last-child { padding-right: 16px; }
 .comparison-controls { gap: 10px; flex-wrap: wrap; }
 .method-section { gap: 55px; }
 .contact-card { padding: 38px; }
 .hardware-item { padding-left: 18px; }
 .hardware-strip { grid-template-columns: .85fr 1fr 1fr 1.2fr; gap: 15px; }
}
@media (max-width: 1000px) {
 .container { width: calc(100% - 44px); }
 .header-inner { min-height: 77px; gap: 15px; }
 .header-inner nav { gap: 18px; }
 .brand-copy { font-size: 1.125rem; }
 .brand-copy small { font-size: 0.875rem; }
 .header-inner nav a { font-size: 0.875rem; }
 .hero { grid-template-columns: 1fr; gap: 35px; padding-block: 32px 40px; }
 .hero-copy { max-width: 600px; }
 h1 { font-size: 3.625rem; }
 .hero-lead { font-size: 1.125rem; max-width: 590px; }
 .hero-visual { display: grid; grid-template-columns: 1.4fr 1fr; }
 .visual-top { grid-column: 1/-1; }
 .hero-image { border-bottom: 0; border-right: 1px solid var(--line); }
 .hero-visual-caption { padding: 22px; border-top: 1px solid var(--line); }
 .hero-visual-caption h2 { font-size: 1.375rem; }
 .hero-visual-caption .round-arrow { display: none; }
 .hardware-strip { grid-template-columns: 1fr 1fr; gap: 22px; }
 .hardware-item { border-left: 0; padding: 0; }
 .hardware-item:nth-child(even) { border-left: 1px solid var(--line); padding-left: 26px; }
 .work-section { padding-top: 55px; }
 .section-heading h2 { font-size: 2.3125rem; }
 .section-heading > p { font-size: 1rem; }
 .project-index { margin-bottom: 40px; }
 .project-index a { padding: 7px 10px; font-size: 0.875rem; }
 .case-layout { grid-template-columns: 1fr; gap: 27px; }
 .case-kicker { min-height: 0; margin-bottom: 17px; }
 .case h3 { font-size: 2.0625rem; }
 .case h3 br { display: none; }
 .case h3 > span::before { content: " / "; color: #b3ada5; }
 .case-intro { font-size: 1.125rem; max-width: 620px; }
 .case-findings { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; }
 .case-findings > div { margin: 0; }
 .case-copy > .text-link { margin-top: 18px; }
 .case { padding-bottom: 45px; margin-bottom: 45px; }
 .comparison-controls { flex-wrap: nowrap; }
 .method-section { gap: 35px; padding-block: 65px; }
 .method-intro h2 { font-size: 2rem; }
 .contact-card { gap: 25px; padding: 32px; }
 .contact-card h2 { font-size: 2rem; }
 .contact-side { min-width: 240px; }
 .contact-email { font-size: 1.125rem; }
 .social-links { gap: 12px; }
 .contact-card .eyebrow { font-size: 0.875rem; }
}
@media (max-width: 580px) {
 html { scroll-padding-top: 120px; }
 .container { width: calc(100% - 36px); }
 .header-inner { padding-block: 13px 12px; display: grid; grid-template-columns: 1fr; gap: 13px; }
 .brand { gap: 10px; }
 .brand-mark { width: 34px; height: 34px; font-size: 1.25rem; border-radius: 8px; }
 .brand-copy { flex-direction: column; align-items: flex-start; gap: 0; font-size: 1.125rem; }
 .brand-copy small { font-size: 0.875rem; }
 .header-inner nav { justify-content: space-between; gap: 12px; }
 .header-inner nav a { font-size: 0.875rem; }
 .hero { padding-block: 28px 36px; gap: 27px; }
 .hero .eyebrow { font-size: 0.875rem; margin-bottom: 19px; }
 h1 { font-size: clamp(2.375rem, 9.8vw, 3.4375rem); margin-bottom: 21px; }
 .hero-lead { font-size: 1.125rem; line-height: 1.85; }
 .hero-location { margin-top: 18px; gap: 9px; font-size: 0.875rem; }
 .button-row { gap: 9px; margin-top: 22px; }
 .button { min-height: 45px; padding: 10px 15px; gap: 9px; font-size: 1rem; }
 .hero-footnote { font-size: 0.875rem; max-width: 340px; }
 .hero-visual { display: block; }
 .visual-top { padding: 13px 16px; }
 .visual-top .eyebrow { font-size: 0.875rem; margin: 0; }
 .mini-index { font-size: 0.875rem; }
 .hero-image { border-right: 0; }
 .hero-visual-caption { padding: 18px; }
 .hero-visual-caption h2 { font-size: 1.4375rem; }
 .hero-visual-caption .round-arrow { display: grid; }
 .hardware-strip { gap: 20px 15px; padding-block: 22px; }
 .hardware-item:nth-child(even) { padding-left: 16px; }
 .hardware-value { font-size: 1rem; }
 .hardware-item > span:last-child { font-size: 0.875rem; line-height: 1.75; }
 .hardware-intro > span:last-child { font-size: 0.875rem; }
 .hardware-intro .eyebrow { font-size: 0.875rem; }
 .work-section { padding-top: 45px; }
 .section-heading, .research-heading { display: block; }
 .section-heading .eyebrow, .research-heading .eyebrow { font-size: 0.875rem; }
 .section-heading h2, .research-heading h2 { font-size: 2.125rem; margin-top: 9px; }
 .section-heading > p, .research-heading > p { margin-top: 15px; font-size: 1rem; }
 .section-heading > p br { display: none; }
 .project-index { gap: 6px; margin-bottom: 37px; }
 .project-index a { padding: 7px 10px; font-size: 0.875rem; gap: 7px; }
 .project-index a span { font-size: 0.875rem; }
 .case { scroll-margin-top: 125px; }
 .case-kicker > span:first-child { font-size: 0.875rem; }
 .status { font-size: 0.875rem; }
 .case h3 { font-size: 1.8125rem; line-height: 1.25; }
 .case h3 > span { display: block; margin-top: 3px; }
 .case h3 > span::before { content: none; }
 .case-findings { grid-template-columns: 1fr; gap: 15px; }
 .case-findings dt { font-size: 0.875rem; }
 .case-findings dd { font-size: 1rem; }
 .media-heading { font-size: 0.875rem; padding: 12px 13px; min-height: 45px; }
 .media-kind { font-size: 0.875rem; }
 .asset-notice, .trace-source { font-size: 0.875rem; padding: 8px 12px; }
 .comparison-labels { padding: 11px 12px; font-size: 0.875rem; gap: 10px; }
 .comparison-labels b { width: 16px; height: 18px; font-size: 0.875rem; }
 .comparison-labels > span { gap: 6px; }
 .comparison-controls { padding: 0 12px 10px; flex-wrap: wrap; }
 .segmented button { padding: 6px 8px; min-height: 40px; font-size: 0.875rem; }
 .comparison-hint { padding: 0 12px 11px; font-size: 0.875rem; }
 .comparison-divider > span { width: 30px; height: 38px; }
 .evidence-note { font-size: 0.875rem; }
 .case-notes summary { font-size: 0.875rem; padding: 13px 15px; }
 .notes-body { padding: 19px; }
 .notes-grid { grid-template-columns: 1fr; gap: 20px; }
 .technical-notes { margin-top: 20px; padding-top: 20px; }
 .benchmark-highlights { padding: 21px 16px; gap: 18px; }
 .metric-number { font-size: 2.1875rem; }
 .metric-number > span { font-size: 1.1875rem; }
 .metric-label { font-size: 0.875rem; }
 .power-chart { padding: 0 16px 20px; }
 .power-row { grid-template-columns: 5rem minmax(0, 1fr) 4.75rem; gap: 8px; font-size: 0.875rem; }
 .power-row strong { font-size: 0.875rem; }
 .chart-eyebrow { font-size: 0.875rem; }
 .benchmark-table { font-size: 0.875rem; }
 .benchmark-table th, .benchmark-table td { padding: 11px 10px; }
 .benchmark-table th:first-child { padding-left: 12px; }
 .benchmark-table td:last-child { padding-right: 12px; }
 .benchmark-table thead th { font-size: 0.875rem; }
 .profile-dot { display: none; }
 .capture-secondary { gap: 15px; padding: 13px; }
 .capture-secondary > a { width: 125px; }
 .capture-secondary .eyebrow { font-size: 0.875rem; }
 .capture-secondary p { font-size: 1rem; }
 .capture-secondary .small-muted { font-size: 0.875rem; }
 .image-open { font-size: 0.875rem; bottom: 9px; right: 9px; }
 .canvas-wrap { height: 220px; padding-inline: 3px; }
 .trace-toolbar { padding: 12px; }
 .trace-legend { font-size: 0.875rem; }
 .trace-readout { padding: 12px 13px 6px; gap: 12px; grid-template-columns: 1fr 1fr; }
 .readout-observation { grid-column: 1/-1; }
 .readout-observation .readout-label { display: inline; margin-right: 10px; }
 #traceObservation { display: inline; }
 .csv-help { margin-inline: 13px; font-size: 0.875rem; }
 .method-section { grid-template-columns: 1fr; gap: 30px; padding-block: 55px; }
 .method-intro h2 { font-size: 2.125rem; }
 .method-intro > p:not(.eyebrow) { font-size: 1rem; max-width: none; }
 .method-steps > div { padding-block: 17px; gap: 18px; }
 .contact-section { padding-bottom: 38px; }
 .contact-card { flex-direction: column; padding: 28px 22px; gap: 32px; border-radius: 10px; }
 .contact-card h2 { font-size: 2rem; }
 .contact-card .eyebrow { font-size: 0.875rem; letter-spacing: var(--tracking-label); }
 .contact-message { font-size: 1rem; }
 .contact-email { font-size: 1.25rem; gap: 13px; }
 .contact-side { min-width: 0; gap: 18px; padding-top: 25px; border-top: 1px solid var(--line); }
 .contact-location { font-size: 1.125rem; }
 .contact-location > span { font-size: 0.875rem; }
 .social-links { gap: 22px; }
 .footer { font-size: 0.875rem; gap: 12px; padding-top: 23px; }
 .footer-separator { margin-inline: 5px; }
 .desktop-br { display: none; }
}
@media (max-width: 350px) {
 .container { width: calc(100% - 28px); }
 .brand-copy { gap: 8px; }
 .brand-copy small { font-size: 0.875rem; }
 h1 { font-size: 2.3125rem; }
 .contact-email { font-size: 1.125rem; }
 .contact-card { padding-inline: 18px; }
 .capture-secondary > a { width: 95px; }
}
/* Readable controls and balanced spacing at every size. */
.header-inner nav a { display: inline-flex; align-items: center; min-height: 44px; }
.case-findings dt, .notes-grid h4 { font-size: 1rem; }
.case-copy > .text-link { margin-top: 6px; }
.case h3 { font-size: clamp(2rem, 2.5vw, 2.375rem); }
.case-findings dd { max-width: 56ch; }
.method-steps h3 { font-size: 1.25rem; }
.method-steps p { font-size: 1rem; line-height: 1.7; }
.section-heading > p, .research-heading > p { line-height: 1.7; }
.case-notes { margin-top: 24px; }
.case-notes summary { min-height: 56px; gap: 16px; }
.comparison-labels b { width: 1.5rem; height: 1.5rem; }
.power-row { margin-bottom: 16px; }
.chart-eyebrow { gap: 16px; flex-wrap: wrap; }
.bar-track { height: 10px; }
.trace-legend, .trace-actions { flex-wrap: wrap; }
.trace-legend { row-gap: 10px; }
.contact-card > div { min-width: 0; }
.contact-email { overflow-wrap: anywhere; }
.contact-email svg { flex-shrink: 0; }
.table-scroll:focus-visible { outline-offset: -3px; }
@media (max-width: 1000px) {
 .hero-visual { grid-template-columns: 1.15fr 1fr; }
 .hero-visual-caption { gap: 12px; }
 .case-intro { font-size: 1.125rem; }
 .case-findings { gap: 28px; }
 .contact-card { flex-direction: column; gap: 32px; }
 .contact-side { min-width: 0; padding-top: 28px; border-top: 1px solid var(--line); }
 .header-inner nav { gap: 16px; }
}
@media (max-width: 680px) {
 .header-inner { flex-wrap: wrap; padding-block: 14px; gap: 10px; }
 .header-inner nav { width: 100%; justify-content: space-between; gap: 8px; }
 html { scroll-padding-top: 150px; }
 .case { scroll-margin-top: 24px; }
 .section-heading, .research-heading { display: block; }
 .section-heading > p, .research-heading > p { margin-top: 16px; }
 .hero-visual { display: block; }
 .hero-image { border-right: 0; }
}
@media (max-width: 580px) {
 .hero-lead { font-size: 1.125rem; line-height: 1.7; }
 .header-inner { gap: 8px; }
 .header-inner nav a { font-size: .875rem; }
 .case-findings { gap: 20px; }
 .capture-secondary { align-items: flex-start; flex-direction: column; gap: 16px; padding: 18px; }
 .capture-secondary > a { width: min(100%, 220px); }
 .comparison-labels { flex-wrap: wrap; }
 .comparison-labels > span:last-child { text-align: left; }
 .benchmark-table { min-width: 360px; }
 .benchmark-highlights { gap: 16px; }
 .metric-number { font-size: 2.125rem; }
 .trace-readout strong { font-size: 1rem; }
 .hero-footnote { max-width: none; }
}
/* Project narrative: one reading rhythm, details attached to the copy. */
.section-heading, .research-heading { display: block; }
.section-heading > p, .research-heading > p { margin-top: 14px; max-width: 62ch; text-wrap: pretty; }
.section-heading > p br, .research-heading > p br { display: none; }
.case-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 3vw, 3rem); }
.case-kicker { margin-bottom: 12px; }
.case h3 { font-size: clamp(2rem, 2.35vw, 2.375rem); line-height: 1.18; text-wrap: pretty; margin-bottom: 16px; }
.case h3 > span { display: block; margin-top: 8px; font-size: 1.375rem; line-height: 1.4; letter-spacing: var(--tracking-heading); color: var(--soft); }
.case h3 > span::before { content: none; }
.case-intro, .case-findings dd { font-size: 1rem; line-height: 1.7; max-width: 57ch; color: var(--soft); text-wrap: pretty; }
.case-findings { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
.case-findings > div { margin: 0; }
.case-findings dt { font-size: 1rem; margin-bottom: 6px; }
.case-copy > .text-link { margin-top: 18px; }
.case-copy > .case-notes { margin-top: 18px; }
.case-copy .case-notes summary { padding: 14px 16px; font-size: .875rem; }
.case-copy .notes-body { padding: 20px; }
.case-copy .notes-grid { grid-template-columns: 1fr; gap: 22px; }
.case-copy .notes-grid p, .case-copy .technical-notes p { line-height: 1.7; text-wrap: pretty; }
.comparison-controls { justify-content: flex-start; padding-bottom: 14px; }
.comparison-hint { padding-bottom: 16px; }
.comparison-viewport:focus-visible { outline-offset: -4px; }
.trace-readout { padding-bottom: 16px; }
.csv-help { margin-top: 12px; }
@media (max-width: 1000px) {
 .case-layout { grid-template-columns: 1fr; gap: 28px; }
 .case-copy .notes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .case-intro, .case-findings dd { max-width: 65ch; }
}
@media (max-width: 580px) {
 .case h3 > span { font-size: 1.25rem; }
 .case-copy .notes-grid { grid-template-columns: 1fr; }
}
/* Keep the contact invitation readable and give personal details their own column. */
.contact-message { max-width: 58ch; text-wrap: pretty; }
.method-intro h2 { text-wrap: balance; }
.method-intro > p + p { margin-top: 1rem; }
@media (min-width: 1001px) {
 .contact-card { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; align-items: start; row-gap: 18px; }
 .contact-card > div { display: contents; }
 .contact-card .eyebrow { grid-column: 1; grid-row: 1; }
 .contact-card h2 { grid-column: 1; grid-row: 2; margin: 0; }
 .contact-message { grid-column: 1; grid-row: 3; }
 .contact-card .contact-email { grid-column: 1; grid-row: 4; margin-top: 8px; justify-self: start; }
 .contact-location { grid-column: 2; grid-row: 2; }
 .contact-side .button { grid-column: 2; grid-row: 3; }
 .contact-side .social-links { grid-column: 2; grid-row: 4; margin-top: 8px; }

}
/* Continuous project stories share a consistent measure and paragraph rhythm. */
.case-story { display: grid; gap: 1rem; max-width: 57ch; }
.case-story p { margin: 0; color: var(--soft); font-size: 1rem; line-height: 1.7; text-wrap: pretty; }
/* Compact section rhythm; image aspect ratios and reading sizes stay intact. */
.work-section { padding-top: clamp(32px, 3vw, 48px); }
.work-section > .section-heading { margin-bottom: 20px; }
.work-section > .section-heading h2 { margin-top: 0; }
.section-heading > p, .research-heading > p { margin-top: 10px; }
.project-index { margin-bottom: 28px; }
.case { padding-bottom: 36px; margin-bottom: 36px; }
.case:last-child { padding-bottom: 40px; margin-bottom: 0; border-bottom: 0; }
.research-heading { margin-bottom: 24px; }
.research-heading > p { max-width: 65ch; }
.case-copy .case-notes summary { min-height: 48px; padding-block: 11px; }
.comparison-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 12px 16px 8px; border-top: 1px solid var(--line); }
.comparison-footer .comparison-labels { padding: 0; border: 0; justify-content: flex-start; flex-wrap: wrap; gap: 12px 24px; }
.comparison-footer .comparison-controls { padding: 0; }
.comparison-hint { padding: 0 16px 12px; }
.evidence-note { margin-top: 10px; }
@media (max-width: 580px) {
 .work-section { padding-top: 32px; }
 .project-index { margin-bottom: 24px; }
 .case { padding-bottom: 28px; margin-bottom: 28px; }
 .comparison-footer { padding-inline: 12px; gap: 10px; }
 .comparison-hint { padding-inline: 12px; }
}
/* Shared hierarchy for section labels and project categories. */
.hero-copy > .eyebrow,
.method-intro > .eyebrow,
.research-heading .eyebrow,
.case-kicker > span:first-child {
 font-size: .9375rem;
 font-weight: var(--weight-semibold);
 line-height: 1.6;
 letter-spacing: var(--tracking-label);
 text-transform: uppercase;
 color: var(--soft);
}
/* Section title and project navigation form one compact desktop row. */
.work-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 20px 24px; padding-block: 8px 24px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.work-header h2 { margin: 0; font-size: clamp(2.125rem, 3vw, 2.625rem); font-weight: var(--weight-semibold); flex-shrink: 0; }
.work-header .project-index { margin: 0; }
@media (max-width: 1100px) {
 .work-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 580px) {
 .work-header { gap: 16px; padding-block: 4px 20px; margin-bottom: 24px; }
}

/* Featured projects share a grid cell, keeping the card steady between slides. */
.hero-visual { display: block; }
.hero-slides { display: grid; }
.hero-project[href="#sims2-remix"] .hero-image { position: relative; }
.hero-project[href="#sims2-remix"] .hero-image img { position: absolute; width: 160%; height: 160%; max-width: none; left: -37.5%; top: -29.62963%; }
.hero-project { grid-area: 1 / 1; min-width: 0; color: inherit; text-decoration: none; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .35s ease, visibility .35s; }
.hero-project.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.hero-project:focus-visible { outline-offset: -3px; }
.hero-carousel-controls { display: flex; align-items: center; gap: 5px; height: 24px; }
.hero-carousel-controls[hidden] { display: none; }
.hero-carousel-count { color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; margin-right: 6px; }
.hero-carousel-controls button { display: grid; place-items: center; width: 28px; height: 24px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--soft); cursor: pointer; }
.hero-carousel-controls button:hover { background: var(--panel); color: var(--text); }
.hero-carousel-controls svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.hero-visual .visual-top .eyebrow { margin: 0; }
@media (min-width: 681px) and (max-width: 1000px) {
 .hero-project { display: grid; grid-template-columns: 1.15fr 1fr; }
}
@media print {
 .hero-project:not(.is-active), .hero-carousel-controls { display: none; }
}

@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
 :root { color-scheme: light; --bg: #fff; --text: #111; --soft: #333; --muted: #555; --accent: #2b7fff; --panel: #f5f5f5; --line: #ccc; }
 html, body { background: #fff; }
 .site-header { position: static; background: #fff; }
 .hero { padding-top: 20px; }
 .container { width: 100%; }
 .hero-visual, .case-evidence, .contact-card { break-inside: avoid; }
 .comparison-controls, .trace-actions, .project-index { display: none; }
 .case { break-inside: auto; }
 .case-layout { grid-template-columns: 1fr; }
 .contact-card { background: #f5f5f5; }
}

.capture-strip { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:14px; padding:12px 16px; align-items:center; }
.capture-thumbnails { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.capture-thumbnails a { display:block; overflow:hidden; border-radius:10px; }
.capture-thumbnails img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:contain; }
.capture-strip-copy p { margin:4px 0; font-size:1rem; font-weight:600; }
.capture-strip-copy .small-muted { display:block; font-size:.875rem; line-height:1.5; }
@media (max-width:580px) { .capture-strip { grid-template-columns:1fr; gap:10px; padding:12px; } }
.benchmark-route { margin-top:32px; padding-top:32px; border-top:1px solid var(--line); }
.benchmark-route h4 { margin:0 0 18px; font-size:1.5rem; line-height:1.3; font-weight:600; letter-spacing:var(--tracking-heading); }
.route-video-panel { overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:var(--panel-raised); }
.route-video-panel video { display:block; width:100%; aspect-ratio:16/9; background:#141414; }

/* Application variant: retain the template's type, surfaces and responsive grid. */
.profile-content { padding:26px; }
.profile-content > h2 { font-size:1.7rem; line-height:1.25; margin:0 0 22px; font-weight:600; letter-spacing:var(--tracking-heading); }
.profile-content .method-steps > div { padding:16px 0; gap:18px; }
.profile-content .method-steps > div:last-child { padding-bottom:0; }
.profile-content .method-steps h3 { margin-bottom:5px; }
.profile-content .method-steps p { font-size:.9375rem; line-height:1.6; }
.profile-content .role-date { color:var(--soft); margin-bottom:8px; }
.experience-section { border-top:1px solid var(--line); }
.experience-section .text-link { margin-top:22px; }
.projects-intro { padding-block:48px 32px; align-items:center; }
.projects-intro h2 { font-size:2.4375rem; line-height:1.15; font-weight:600; margin:14px 0 22px; letter-spacing:var(--tracking-heading); }
.projects-intro .hero-visual { margin:0; }
@media (max-width:680px) {
 .profile-content { padding:20px; }
 .projects-intro { padding-block:32px 20px; }
 .projects-intro h2 { font-size:2rem; }
}
