



.tri-room-document {
  color-scheme: dark;
  --paper: #121c1f;
  --section: #172326;
  --surface: #202e32;
  --hr-window-surface: var(--surface);
  --surface-soft: #19272b;
  --hover: #2a3d40;
  --ink: #f3f6f6;
  --muted: #b7c8cb;
  --green: #abd877;
  --line: #384d50;
  --bar: #111d21;
  --glass: #1a272cd9;
  --room-glow: #34474d;
  --action: #bee88d;
  --action-hover: #d2f3ac;
  --action-ink: #172412;
  --flag: #49391c;
  --flag-ink: #ffe1a2;
  --team-ink: #d3e3f7;
  font-family: "Open Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

.tri-room-document[data-theme="light"] {
  color-scheme: light;
  --paper: #f8faf9;
  --section: #eef3f2;
  --surface: #fff;
  --surface-soft: #f5f8f7;
  --hover: #e5eeea;
  --ink: #203136;
  --muted: #4d6268;
  --green: #46751b;
  --line: #cbd9d7;
  --bar: #e4eceb;
  --glass: #f2f7f5e6;
  --room-glow: #dce8e4;
  --action: #548321;
  --action-hover: #406b15;
  --action-ink: #fff;
  --flag: #f4e7c8;
  --flag-ink: #644409;
  --team-ink: #354e73;
}

*, *::before, *::after { box-sizing: border-box; }
room-html { scroll-behavior: smooth; }
room-body { margin: 0; font-size: 1rem; line-height: 1.65; }
main:focus { outline: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
a { color: inherit; }
button, summary { font: inherit; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 1.5rem; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

.shell { width: min(100% - 6rem, 82rem); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: .75rem; left: .75rem; padding: .6rem 1rem; color: var(--ink); background: var(--surface); clip-path: inset(50%); }
.skip:focus { clip-path: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 4.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 750; font-size: 1.6rem; line-height: 1; letter-spacing: -.05em; white-space: nowrap; }
.brand b { color: var(--green); font-size: 1rem; letter-spacing: -.03em; }
.header-inner nav { display: flex; gap: clamp(1rem, 4vw, 3rem); align-items: center; }
.header-inner nav a, .footer-inner > a:last-child { font-size: .94rem; font-weight: 650; text-decoration: none; text-underline-offset: .23em; }
.header-inner nav a:hover, .footer-inner > a:last-child:hover { text-decoration: underline; }
.button { width: fit-content; display: inline-flex; justify-content: center; align-items: center; min-height: 2.8rem; padding: .62rem 1.18rem; border: 1px solid transparent; border-radius: 999px; font-size: .9rem; font-weight: 750; line-height: 1.25; text-align: center; text-decoration: none; transition: background-color .18s, border-color .18s; }
.button-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.button-outline:hover { background: var(--hover); border-color: var(--green); }
.button-primary { min-height: 3.1rem; padding-inline: 1.4rem; background: var(--action); color: var(--action-ink); }
.button-primary:hover { background: var(--action-hover); }
.button-dark { color: var(--action-ink); background: var(--action); }
.button-dark:hover { background: var(--action-hover); }
.button:disabled { opacity: .45; cursor: default; }
.button:disabled:hover { border-color: var(--line); background: transparent; }
.theme-switch { gap: .45rem; }

.hero { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); align-items: center; min-height: clamp(35rem, 50vw, 46rem); padding-block: 1.5rem 2rem; }
.hero-copy { position: relative; z-index: 2; padding-block: 2rem; }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: var(--muted); font-size: .875rem; font-weight: 600; line-height: 1.5; }
.eyebrow-mark { display: inline-block; width: 1.4rem; height: 2px; flex: 0 0 auto; background: var(--green); }
h1, h2, h3, h4 { font-weight: 750; }
h1, h2 { letter-spacing: -.052em; text-transform: uppercase; }
h1 { font-size: clamp(2.85rem, 4.43vw, 5rem); line-height: 1.04; margin-top: .85rem; }
h1 em, h2 em { color: var(--green); font-style: normal; font-weight: 450; }
h1 em { display: block; }
.hero-quote { max-width: 31rem; margin-top: 1.3rem; font-size: clamp(1.12rem, 1.95vw, 1.55rem); line-height: 1.43; }
.hero-description { margin: .85rem 0 1.45rem; max-width: 28rem; color: var(--muted); font-size: 1.04rem; }
.hero-visual {
  position: relative;
  isolation: isolate;
  min-width: 0;
  height: clamp(29rem, 44vw, 41rem);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 5% 0 4% -10%;
  background: radial-gradient(ellipse, var(--room-glow), transparent 72%);
}
.hero-room {
  position: absolute;
  left: -5%;
  bottom: 3%;
  width: 105%;
  max-width: none;
  height: 91%;
  object-fit: contain;
  filter: drop-shadow(0 1.15rem 1.15rem #080f1266);
}
.hero-portrait {
  position: absolute;
  z-index: 1;
  width: auto;
  max-width: none;
  height: 94%;
  left: 70%;
  bottom: 0;
  transform: translateX(-50%);
  filter: drop-shadow(.35rem .75rem .75rem #080f1266);
  pointer-events: none;
}
.hero-caption {
  position: absolute;
  z-index: 2;
  bottom: 8%;
  right: 0;
  display: flex;
  gap: .72rem;
  align-items: center;
  padding: .7rem .95rem .7rem .7rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--glass);
  box-shadow: 0 .6rem 1.4rem #101a222c;
  backdrop-filter: blur(14px);
  line-height: 1.3;
}
.hero-caption strong { display: block; font-size: 1.3rem; line-height: 1.1; }
.hero-caption small { display: block; margin-top: .2rem; color: var(--muted); font-size: .82rem; }
.portrait-icon, .role-icon { display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; color: var(--green); background: var(--hover); border-radius: .7rem; }

.application, .role-section, .story, .team { padding-block: clamp(3.5rem, 7vw, 6.5rem); border-top: 1px solid var(--line); }
.application { background: radial-gradient(ellipse at 82% 28%, var(--room-glow), transparent 62%), var(--paper); }
.application-flow { display: grid; gap: clamp(1.6rem, 4vw, 3.6rem); }
.application-scene { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); align-items: center; gap: clamp(1rem, 5vw, 4.5rem); }
.application-copy { padding-block: .75rem; }
.application-moment { display: flex; align-items: center; gap: .65rem; color: var(--green); font-size: .88rem; font-weight: 750; }
.application-moment time { font-variant-numeric: tabular-nums; border-right: 1px solid var(--line); padding-right: .65rem; }
.application-copy h3 { margin-block: .58rem .8rem; font-size: clamp(1.75rem, 3.25vw, 3.25rem); letter-spacing: -.05em; line-height: 1.08; }
.application-copy > p:not(.application-moment) { color: var(--muted); max-width: 39ch; }
.application-flow.is-sticky { grid-template-columns: minmax(0, .74fr) minmax(0, 1fr); column-gap: clamp(2.3rem, 6vw, 6rem); row-gap: 0; align-items: start; }
.application-flow.is-sticky .application-scene { grid-column: 1; min-height: clamp(25rem, calc(var(--tri-room-viewport-height, 100vh) * 0.67), 34rem); display: flex; align-items: center; position: relative; }
.application-flow.is-sticky .application-scene > .application-screen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.application-stage { position: sticky; top: clamp(1rem, calc(var(--tri-room-viewport-height, 100vh) * 0.04), 2.5rem); grid-column: 2; grid-row: 1 / span 3; height: clamp(33rem, calc(var(--tri-room-viewport-height, 100vh) * 0.65), 42rem); isolation: isolate; }
.application-stage .application-window { position: absolute; inset: clamp(1.4rem, calc(var(--tri-room-viewport-height, 100vh) * 0.04), 2.7rem) 0 auto; }
.paper-flight { width: min(62%, 23.25rem); position: absolute; z-index: 3; top: 0; left: 0; transform-origin: top left; pointer-events: none; }
.application-stage .cv-thumbnail { visibility: hidden; }
.application-screen { min-width: 0; border: 1px solid var(--line); border-radius: 1.15rem; overflow: hidden; background: var(--surface); box-shadow: 0 1.2rem 2.5rem #0b171b35; }
.application-window, .arrival-screen { border: 0; border-radius: 0; overflow: visible; background: transparent; box-shadow: none; }
.application-window .invisible-window.invisible-window--rail {
  --window-rail-width: clamp(2rem, 4vw, 3.5rem);
  --window-frame-content-background: var(--hr-window-surface);
  --color-surface-default: var(--hr-window-surface);
  --color-text-default: var(--ink);
  --color-text-muted: var(--muted);
  width: 100%;
  margin: 0;
}
.application-window .invisible-window.invisible-window--rail > .invisible-window__body { background: var(--hr-window-surface); color: var(--ink); text-align: left; }
.application-window .invisible-window.invisible-window--rail > .invisible-window__glass-edge {
  background: linear-gradient(145deg, var(--room-glow), var(--surface-soft) 84%);
  outline: 1px solid var(--line);
}
.application-window .invisible-window__titlebar .invisible-window__control { color: var(--muted); }
.application-window .invisible-window__rail { align-items: center; gap: .6rem; color: var(--green); }
.application-window .invisible-window__identity img { width: clamp(1.45rem, 2.8vw, 2.55rem); aspect-ratio: 1; height: auto; object-fit: cover; object-position: center top; background: var(--surface-soft); border-radius: 50%; }
.application-bar { display: flex; justify-content: space-between; align-items: center; column-gap: .55rem; padding: .7rem clamp(.75rem, 2vw, 1.25rem); background: var(--bar); color: var(--ink); border-bottom: 1px solid var(--line); font-size: .9rem; font-weight: 750; line-height: 1.25; overflow-wrap: anywhere; }
.application-bar > span:first-child { display: inline-flex; align-items: center; gap: .5rem; }
.application-bar img { flex: none; }
.application-status { padding: .28rem .55rem; border: 1px solid var(--line); border-radius: .45rem; color: var(--green); font-size: .8rem; white-space: nowrap; }
.application-body { padding: clamp(.85rem, 2.3vw, 1.6rem); }
.application-paper {
  margin-inline: auto;
  width: min(100%, 23.25rem);
  aspect-ratio: 210 / 297;
  padding: clamp(1.05rem, 2.8vw, 2rem);
  border: 1px solid #cfd6cd;
  background: linear-gradient(128deg, #fffefa, #f4f2ea);
  color: #293d39;
  box-shadow: .45rem .65rem 1.6rem #0a151759, 0 .07rem .15rem #0a1517a8;
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: .81rem;
  line-height: 1.43;
}
.paper-heading { padding-bottom: .85rem; border-bottom: 2px solid #50716a; }
.paper-heading p:first-child { text-transform: uppercase; font-weight: 750; color: #55716b; letter-spacing: .16em; font-size: .68rem; }
.paper-heading h4 { margin-block: .16rem .23rem; font-size: clamp(1.5rem, 2.6vw, 2.15rem); letter-spacing: -.046em; line-height: 1.06; }
.paper-section { margin-top: .95rem; }
.paper-section h5 { margin: 0 0 .42rem; padding-bottom: .16rem; border-bottom: 1px solid #c7d2cc; text-transform: uppercase; font-size: .67rem; letter-spacing: .095em; }
.paper-section strong { display: block; color: #54716b; font-size: .74rem; }
.paper-section p > span { font-weight: 700; }
.paper-section ul { padding-left: 1rem; margin: .32rem 0 0; }
.record-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(.65rem, 2vw, 1.25rem); align-items: start; }
.cv-slot { display: grid; gap: .4rem; justify-items: center; padding: .65rem; background: var(--surface-soft); border: 1px dashed var(--line); border-radius: .55rem; text-align: center; max-width: 100%; }
.cv-slot figcaption { display: grid; color: var(--ink); font-size: .77rem; line-height: 1.3; overflow-wrap: anywhere; }
.cv-slot figcaption span { color: var(--green); font-size: .73rem; }
.cv-thumbnail { display: block; width: clamp(6rem, 12vw, 9rem); aspect-ratio: 210 / 297; background: linear-gradient(128deg, #fffefa, #f4f2ea); padding: .55rem .4rem; border: 1px solid #cfd6cd; color: #263c36; box-shadow: .2rem .24rem .5rem #0a15174d; text-align: left; }
.cv-thumbnail strong, .cv-thumbnail span { display: block; font-size: .54rem; }
.cv-thumbnail span { padding-bottom: .24rem; border-bottom: 1px solid #50716a; }
.cv-thumbnail i { display: block; border-top: 1px solid #a0b1a9; height: .58rem; margin-top: .42rem; }
.cv-thumbnail i:last-child { width: 70%; }
.cv-thumbnail.has-paper { position: relative; overflow: hidden; border: 0; padding: 0; }
.cv-thumbnail.has-paper .application-paper {
  position: absolute;
  inset: 0 auto auto 0;
  width: 23.25rem;
  transform: scale(var(--paper-scale, .26));
  transform-origin: top left;
}
.record-screen[data-cv-arrived] .cv-thumbnail { animation: cv-filed 480ms ease-out both; }
@keyframes cv-filed { from { transform: translate(-1.2rem, -2.5rem) scale(1.18) rotate(-6deg); opacity: .5; } to { transform: none; opacity: 1; } }
.candidate-profile { display: flex; align-items: center; gap: clamp(.6rem, 1.6vw, 1.05rem); min-width: 0; }
.candidate-profile img { flex: none; width: clamp(3.5rem, 6vw, 5.85rem); height: auto; border-radius: .65rem; background: var(--room-glow); }
.candidate-profile h4 { font-size: clamp(1.32rem, 2.5vw, 2.05rem); line-height: 1.1; letter-spacing: -.036em; }
.candidate-profile p { color: var(--muted); font-size: .88rem; }
.candidate-profile .candidate-context { color: var(--green); margin-bottom: .23rem; font-weight: 700; line-height: 1.3; }
.candidate-record { margin: 1rem 0; font-size: .91rem; }
.candidate-record > div { display: flex; justify-content: space-between; gap: .65rem; padding-block: .55rem; border-block-start: 1px solid var(--line); }
.candidate-record dt { color: var(--muted); }
.candidate-record dd { margin: 0; text-align: right; font-weight: 700; }
.candidate-summary { display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.candidate-summary .candidate-profile img { width: clamp(3.3rem, 6vw, 5.5rem); }
.criteria-count { display: flex; flex: 0 1 7rem; flex-direction: column; align-items: center; gap: .3rem; text-align: center; color: var(--muted); font-size: .82rem; font-weight: 700; line-height: 1.25; }
.criteria-chart { width: 3.55rem; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--green) 75%, var(--line) 0); }
.criteria-chart strong { display: grid; place-items: center; width: 79%; height: 79%; border-radius: 50%; background: var(--hr-window-surface); color: var(--ink); font-size: 1.05rem; }
.skill-check { list-style: none; margin: .9rem 0 0; padding: 0; }
.skill-check li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .5rem; align-items: start; padding-block: .55rem; border-top: 1px solid var(--line); line-height: 1.32; }
.skill-check strong { display: block; font-size: .92rem; overflow-wrap: anywhere; }
.skill-check small { display: block; margin-top: .16rem; color: var(--muted); font-size: .82rem; }
.skill-indicator { width: 1.36rem; height: 1.36rem; display: grid; place-items: center; border-radius: 50%; background: var(--hover); color: var(--green); font-size: .87rem; font-weight: 800; }
.skill-status { padding: .15rem .45rem; border-radius: .3rem; background: var(--hover); color: var(--green); font-size: .8rem; font-weight: 750; }
.skill-open .skill-indicator, .skill-open .skill-status { background: var(--flag); color: var(--flag-ink); }
.analysis-note { border-left: 2px solid var(--green); padding-left: .68rem; margin-top: .55rem; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.analysis-note strong { display: block; color: var(--ink); }
.chapter-link { display: inline-block; margin-top: .85rem; color: var(--green); font-size: .9rem; font-weight: 700; text-underline-offset: .2em; }
.role-section { background: var(--section); }
.role-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .86fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.role-layout .section-intro { margin: 0; }
.role-list { margin: 0; padding: 0; list-style: none; }
.role-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 1rem; padding-block: 1.15rem; border-bottom: 1px solid var(--line); }
.role-list li:first-child { padding-top: 0; }
.role-list h3 { margin: 0 0 .24rem; font-size: 1.05rem; line-height: 1.3; }
.role-list p { color: var(--muted); }
.section-intro { margin-bottom: 2.4rem; }
.section-intro h2, .closing h2 { max-width: 60rem; margin: .65rem 0 0; font-size: clamp(2.15rem, 4.2vw, 4.4rem); line-height: 1.06; }
.section-intro h2 em { display: block; }
.section-intro p:last-child:not(.eyebrow) { max-width: 37rem; color: var(--muted); margin-top: 1rem; }
.story-layout { display: grid; grid-template-columns: minmax(12rem, .29fr) minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.chapter-nav { display: grid; gap: .32rem; padding: .45rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface-soft); }
.chapter-nav a { display: flex; gap: .68rem; align-items: center; min-height: 3.32rem; padding: .68rem .65rem; border: 1px solid transparent; border-radius: .65rem; text-decoration: none; line-height: 1.35; font-size: .89rem; font-weight: 700; }
.chapter-nav time { color: var(--green); font-size: .81rem; font-variant-numeric: tabular-nums; flex: none; }
.chapter-nav a:hover { background: var(--hover); }
.chapter-nav a[aria-selected="true"] { background: var(--action); color: var(--action-ink); }
.chapter-nav [aria-selected="true"] time { color: inherit; }
.chapter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.25rem, 3.2vw, 3.3rem); padding: clamp(1.35rem, 3vw, 3rem); border-radius: 1.2rem; border: 1px solid var(--line); background: var(--surface); align-items: center; }
.chapter + .chapter { margin-top: 1rem; }
.chapters.is-interactive .chapter { margin-top: 0; }
.chapter h3 { margin-block: .8rem .72rem; font-size: clamp(1.56rem, 2.6vw, 2.35rem); letter-spacing: -.055em; line-height: 1.12; }
.chapter-copy > p:not(.chapter-label) { color: var(--muted); }
.chapter-label { display: flex; align-items: center; gap: .55rem; font-size: .86rem; font-weight: 750; line-height: 1.35; color: var(--green); }
.hannes-quote { padding: .12rem 0 .12rem .8rem; margin-top: 1rem; border-left: 2px solid var(--green); color: var(--green); font-size: .92rem; font-weight: 650; }
.work-sample { min-width: 0; border: 1px solid var(--line); border-radius: .9rem; background: var(--surface-soft); overflow: hidden; box-shadow: 0 .65rem 1.2rem #0c141724; }
.sample-bar { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .72rem .9rem; color: var(--ink); background: var(--bar); font-size: .84rem; font-weight: 700; }
.sample-bar > span:first-child { display: flex; align-items: center; gap: .45rem; }
.sample-tag { color: var(--muted); font-size: .81rem; }
.sample-body { padding: .92rem .9rem 1rem; }
.sample-context { color: var(--muted); font-size: .82rem; }
.sample-body h4 { margin-top: .1rem; font-size: 1.16rem; line-height: 1.3; letter-spacing: -.02em; }
.data-rows { margin-block: .75rem; font-size: .875rem; }
.data-rows > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .7rem; min-height: 2.35rem; padding-block: .37rem; border-top: 1px solid var(--line); }
.data-rows > div:last-child { border-bottom: 1px solid var(--line); }
.data-rows dt { color: var(--muted); }
.data-rows dd { margin: 0; text-align: right; font-weight: 700; max-width: 12rem; }
.data-rows .flag { border-radius: 999px; background: var(--flag); color: var(--flag-ink); padding: .1rem .52rem; }
.sample-action { border: 1px solid var(--line); background: var(--hover); border-radius: .52rem; color: var(--green); }
.sample-action summary { padding: .45rem .6rem; font-size: .86rem; font-weight: 750; }
.sample-action summary:hover { color: var(--ink); }
.sample-action p { padding: 0 .65rem .6rem; color: var(--ink); font-size: .86rem; }
.story-controls { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-top: .8rem; }

.team {
  overflow: clip;
  text-align: center;
  background: radial-gradient(ellipse at 50% 43%, var(--room-glow), transparent 66%),
    linear-gradient(var(--section), var(--paper));
}
.team .section-intro { margin-bottom: clamp(1.25rem, 3.4vw, 3rem); }
.team .section-intro .eyebrow { justify-content: center; }
.team .section-intro h2, .team .section-intro p { margin-inline: auto; }
.team-ensemble {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  max-width: 73rem;
  margin: 0 auto;
}
.team-ensemble::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 9% 6%;
  opacity: .22;
  background: url("/templates/tricoma_2026/assets/rooms/media/room-tricoma-7725356f2ed9.webp") center / contain no-repeat;
  pointer-events: none;
}
.teammate { position: relative; min-width: 0; width: 22%; margin-inline: -.75%; --signature-angle: -5deg; }
.teammate:nth-child(2), .teammate:nth-child(4) { width: 25%; --signature-angle: 3deg; }
.teammate.teammate-lead { z-index: 1; width: 29%; }
.team-portrait {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  mask-image: linear-gradient(#000 84%, transparent);
}
.team-name {
  position: relative;
  display: table;
  margin: -.4em auto 0;
  white-space: nowrap;
  color: var(--team-ink);
  font: 400 clamp(1.1rem, 4.4vw, 4.25rem)/1.1 Peter, "Segoe Print", cursive;
  transform: rotate(var(--signature-angle));
}
.closing { background: var(--paper); border-block: 1px solid var(--line); }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-block: clamp(2.75rem, 6vw, 5.5rem); }
.closing h2 { max-width: 49rem; margin: 0; font-size: clamp(2rem, 4vw, 4rem); }
.closing p { margin-top: .8rem; color: var(--muted); }
.closing .button { flex: none; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 5rem; }

.icon { display: inline-block; width: 1.1rem; height: 1.1rem; flex: none; background: currentColor; mask: var(--glyph) center / contain no-repeat; }
.icon-clock { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.icon-inbox { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='15' rx='2'/%3E%3Cpath d='M8 6V4h8v2M3 12h18m-11 0v2h4v-2'/%3E%3C/svg%3E"); }
.icon-tasks { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='m7 8 1 1 2-2m2 2h5m-10 5 1 1 2-2m2 2h5'/%3E%3C/svg%3E"); }
.icon-book { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6C9 4 6 4 3 5v14c3-1 6-1 9 1 3-2 6-2 9-1V5c-3-1-6-1-9 1Zm0 0v14'/%3E%3C/svg%3E"); }
.icon-calendar { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M7.5 3v4m9-4v4M3 10h18m-14 5h3m4 0h3'/%3E%3C/svg%3E"); }
.icon-people { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 20v-2a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v2Zm13-15a3 3 0 0 1 0 6m2 3a4 4 0 0 1 3 4v2h-3'/%3E%3C/svg%3E"); }

@media (max-width: 68rem) {
  .shell { width: calc(100% - 4rem); }
  .hero { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); }
  .hero-portrait { height: 88%; }
  .story-layout { grid-template-columns: minmax(11rem, .27fr) minmax(0, 1fr); gap: .9rem; }
  .chapter { gap: 1.25rem; }
}

@media (max-width: 54rem) {
  .shell { width: calc(100% - 3rem); }
  .hero { min-height: 30rem; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); }
  h1 { font-size: clamp(2.15rem, 4.55vw, 3.6rem); }
  .hero-visual { height: clamp(23rem, 51vw, 27rem); }
  .hero-room { width: 117%; left: -17%; }
  .hero-portrait { height: 83%; left: 65%; }
  .hero-caption { right: 0; bottom: 4%; }
  .role-layout { gap: 2rem; }
  .story-layout { grid-template-columns: minmax(0, 1fr); }
  .chapter-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 39rem) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { gap: .9rem; flex-wrap: wrap; padding-block: .72rem; min-height: auto; }
  .header-inner nav { width: 100%; order: 1; gap: clamp(.5rem, 3vw, 1.4rem); justify-content: space-between; padding: .08rem 0; }
  .header-inner nav a { font-size: .87rem; }
  .header-inner > .button { min-height: 2.4rem; padding-inline: .8rem; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 1.7rem 1.3rem; gap: 0; }
  .hero-copy { padding-block: .5rem .4rem; }
  h1 { margin-top: .72rem; font-size: clamp(2.05rem, 8.9vw, 3.55rem); }
  .hero-quote { margin-top: .9rem; }
  .hero-description { margin-block: .63rem 1.15rem; }
  .hero-visual { height: clamp(18rem, 90vw, 28rem); }
  .hero-caption { bottom: .35rem; right: .15rem; padding: .45rem .65rem .45rem .45rem; }
  .hero-caption small { font-size: .76rem; }
  .portrait-icon { width: 2rem; height: 2rem; }
  .portrait-icon img { width: 1.5rem; }
  .hero-room { bottom: 2%; left: 0; width: 100%; height: 90%; }
  .hero-portrait { height: 85%; left: 68%; }
  .role-layout { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .section-intro { margin-bottom: 1.55rem; }
  .chapter-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapter-nav a { padding: .5rem .6rem; display: grid; gap: .08rem; font-size: .84rem; }
  .chapter { grid-template-columns: minmax(0, 1fr); padding: 1.05rem; }
  .application-scene { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  #application-title { font-size: clamp(1.75rem, 8vw, 2.4rem); }
  .application-scene + .application-scene { border-top: 1px solid var(--line); padding-top: .8rem; }
  .record-grid { grid-template-columns: minmax(0, 1fr); }
  .cv-slot { justify-self: start; grid-auto-flow: column; align-items: center; text-align: left; }
  .team-ensemble { margin-inline: -.5rem; }
  .closing-inner { flex-direction: column; align-items: start; }
  .footer-inner .brand { font-size: 1.25rem; }
  .footer-inner > a:last-child { font-size: .86rem; }
}

@media (max-width: 25rem) {
  .candidate-summary { flex-wrap: wrap; }
  .criteria-count { flex: 0 1 auto; flex-direction: row; }
  .criteria-chart { width: 2.65rem; }
  .criteria-chart strong { font-size: .86rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
