/* 10XG / Mike Lattimer — "Obsidian Line". One stylesheet for every page. */

@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-wdth-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-wdth-italic.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --obsidian: #0A0A0E;
  --obsidian-2: #121219;
  --obsidian-3: #1B1C26;
  --blue: #0066FF;
  --blue-deep: #0050D5;
  --cyan: #00D1FF;
  --ice: #E9EEF5;
  --paper: #F6F8FB;
  --ink: #0A0A0E;
  --ink-soft: #3C4250;
  --muted-dark: #A7B0C0;
  --rule: #D4DBE6;
  --line: linear-gradient(90deg, var(--blue), var(--cyan));
  --wrap: 72rem;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 4px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); font-stretch: 100%; }
img, svg, video { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; font-weight: 800; letter-spacing: -0.015em; }
p, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--cyan); color: var(--ink); padding: 0.6rem 1rem; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }

.eyebrow { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); }
.on-dark .eyebrow { color: var(--cyan); }
.lede { font-size: clamp(1.1rem, 0.6vw + 1rem, 1.3rem); line-height: 1.5; color: var(--ink-soft); }
.on-dark .lede { color: var(--muted-dark); }

/* The line: the brand's blue-to-cyan stroke, used as a rule and a marker. */
.line { display: block; height: 3px; width: 4.5rem; background: var(--line); border: 0; margin: 0 0 1.4rem; transform: skewX(-24deg); transform-origin: left; }

.button {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 3rem; padding: 0.75rem 1.4rem;
  font-weight: 700; font-size: 1rem; text-decoration: none; letter-spacing: 0.01em;
  background: var(--blue); color: #fff; border: 2px solid var(--blue); border-radius: var(--radius);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.button:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.button svg { width: 1.05rem; height: 1.05rem; transition: transform 0.2s; }
.button:hover svg { transform: translateX(3px); }
.button--ghost { background: transparent; color: inherit; border-color: currentColor; }
.button--ghost:hover { background: rgb(255 255 255 / 0.08); border-color: var(--cyan); color: inherit; }
.light .button--ghost:hover { background: rgb(0 102 255 / 0.06); border-color: var(--blue); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ── Header ─────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(10 10 14 / 0.94); backdrop-filter: blur(10px); color: #fff; border-bottom: 1px solid rgb(255 255 255 / 0.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.site-header--home .wrap { min-height: 3.75rem; }
.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.brand img { width: 6.6rem; height: auto; }
.brand span { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-dark); border-left: 1px solid rgb(255 255 255 / 0.2); padding-left: 0.85rem; line-height: 1.5; }
.nav { display: flex; align-items: center; gap: 0.35rem 1.6rem; }
.nav ul { display: flex; gap: 1.6rem; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.97rem; color: #DCE3EE; padding-block: 0.4rem; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; border-color: var(--cyan); }
.nav a[aria-current="page"] { color: #fff; border-color: var(--blue); }
.nav .button { min-height: 2.5rem; padding: 0.45rem 1rem; font-size: 0.95rem; border-bottom-width: 2px; color: #fff; }
@media (max-width: 760px) {
  .brand span { display: none; }
  .brand img { width: 5.2rem; }
  .nav, .nav ul { gap: 1rem; }
  .nav a { font-size: 0.92rem; }
  .nav .button { padding: 0.4rem 0.75rem; font-size: 0.9rem; }
}
@media (max-width: 380px) { .nav, .nav ul { gap: 0.7rem; } .brand img { width: 4.6rem; } }

/* ── The video hero (Hero Studio's shapes: 3:5, 3:2 from 700px, 16:7 from 1100px) ── */
.hero[data-hero-studio] {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 3 / 5; color: #fff; background: var(--obsidian);
}
.hero[data-hero-studio]::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-tint, rgb(0 0 0 / 0.3)); }
.hero.hero--cinematic { --hero-scrim: rgb(10 10 14 / 0.86); --hero-scrim-reach: 0.75; }
.hero.hero--cinematic::before { background: linear-gradient(to top, var(--hero-scrim) 0%, var(--hero-scrim) 14%, transparent calc(var(--hero-scrim-reach) * 100%)); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; background: var(--obsidian); }
.hero__media video { opacity: 0; transition: opacity 0.6s ease; }
.hero__media video.is-showing { opacity: 1; }
.hero__text { padding-block: 1.5rem 2rem; }
.hero__text > * { max-width: 40rem; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw + 1rem, 5.2rem); font-weight: 850; font-style: italic; font-stretch: 112%; line-height: 0.98; letter-spacing: -0.02em; }
.hero h1 em { font-style: italic; background: var(--line); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.08em; }
.hero .lede { margin-top: 1.1rem; color: #D5DCE8; max-width: 36rem; }
.hero .eyebrow { color: var(--cyan); margin-bottom: 1rem; }
.hero .actions { margin-top: 1.6rem; }
.hero__strip { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; margin-top: 1.4rem; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; color: #B9C3D3; }
.hero__strip li + li::before { content: "/"; margin-right: 1.2rem; color: var(--blue); }
.hero__pause { position: absolute; right: 1rem; bottom: 1.75rem; width: 3rem; height: 3rem; padding: 0; display: grid; place-items: center; border-radius: 50%; cursor: pointer; border: 2px solid rgb(255 255 255 / 0.85); background: rgb(0 0 0 / 0.5); color: #fff; }
.hero__pause[hidden] { display: none; }
.hero__pause svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.hero__pause [data-icon="play"], .hero__pause[data-state="paused"] [data-icon="pause"] { display: none; }
.hero__pause[data-state="paused"] [data-icon="play"] { display: block; }
@media (min-width: 700px) {
  .hero[data-hero-studio] { aspect-ratio: 3 / 2; justify-content: center; }
  .hero.hero--cinematic { justify-content: flex-end; }
  .hero__pause { right: 1.5rem; bottom: 1.5rem; }
}
@media (min-width: 1100px) {
  .hero[data-hero-studio] { aspect-ratio: 16 / 7; }
  .hero h1 { font-size: clamp(3.4rem, 3.2vw + 1.6rem, 5rem); }
  .hero__text { padding-block-end: 3rem; }
}

/* ── Sections ───────────────────────────────────────── */
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--ice { background: var(--ice); }
.section--dark, .on-dark { background: var(--obsidian); color: #fff; }
.section--dark2 { background: var(--obsidian-2); color: #fff; }
.section-head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head h2, .page-head h1 { font-size: clamp(2rem, 2.6vw + 1.1rem, 3.3rem); font-stretch: 108%; }
.section-head h2 em, .page-head h1 em { font-style: italic; color: var(--blue); }
.on-dark .section-head h2 em, .on-dark.page-head h1 em { color: var(--cyan); }

/* Is / is not */
.stance { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.stance > div { background: #fff; padding: clamp(1.5rem, 3vw, 2.25rem); }
.stance h3 { font-family: var(--mono); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.8rem; color: var(--blue); }
.stance .not h3 { color: var(--ink-soft); }
.stance p { font-size: clamp(1.25rem, 1vw + 1rem, 1.6rem); font-weight: 700; line-height: 1.3; font-stretch: 104%; }
.stance .not p { color: var(--ink-soft); font-weight: 600; text-decoration: line-through; text-decoration-color: rgb(0 102 255 / 0.55); text-decoration-thickness: 2px; }
@media (min-width: 760px) { .stance { grid-template-columns: 1.6fr 1fr; } }

/* Figures */
.figures { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 2rem; border-top: 1px solid rgb(255 255 255 / 0.14); }
@media (min-width: 600px) { .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.figure { padding: 1.6rem 1.5rem 1.6rem 0; border-bottom: 1px solid rgb(255 255 255 / 0.14); }
.figure strong { display: block; font-size: clamp(2rem, 1.8vw + 1.2rem, 3rem); font-weight: 850; font-style: italic; font-stretch: 106%; white-space: nowrap; line-height: 1; letter-spacing: -0.02em; background: linear-gradient(90deg, #fff 30%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.1em; }
.figure span { display: block; margin-top: 0.7rem; color: var(--muted-dark); font-size: 0.97rem; max-width: 18rem; }
.figures-note { margin-top: 1.4rem; font-size: 0.9rem; color: var(--muted-dark); }
.figures-note a { color: #fff; }

/* Engagement styles: Guiding / Driving */
.modes { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (min-width: 860px) { .modes { grid-template-columns: 1fr 1fr; } }
.mode { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.4rem); position: relative; overflow: hidden; }
.mode::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--line); }
.mode--drive { background: var(--obsidian); color: #fff; border-color: var(--obsidian); }
.mode__tag { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.mode--drive .mode__tag { color: var(--cyan); }
.mode h3 { font-size: clamp(1.9rem, 1.5vw + 1.3rem, 2.5rem); font-style: italic; font-stretch: 112%; margin-top: 0.4rem; }
.mode__who { margin-top: 0.35rem; color: var(--ink-soft); font-weight: 600; }
.mode--drive .mode__who { color: var(--muted-dark); }
.mode ul { margin-top: 1.5rem; display: grid; gap: 1.25rem; }
.mode li { border-top: 1px solid var(--rule); padding-top: 1.1rem; }
.mode--drive li { border-color: rgb(255 255 255 / 0.15); }
.mode li h4 { font-size: 1.15rem; font-weight: 750; }
.mode li p { margin-top: 0.35rem; color: var(--ink-soft); font-size: 0.99rem; }
.mode--drive li p { color: #C4CCDA; }

/* Practice areas */
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1px; background: rgb(255 255 255 / 0.12); border: 1px solid rgb(255 255 255 / 0.12); }
.area { background: var(--obsidian); padding: clamp(1.4rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: 0.75rem; }
.area__num { font-family: var(--mono); font-size: 0.8rem; color: var(--cyan); letter-spacing: 0.12em; }
.area h3 { font-size: 1.45rem; font-stretch: 108%; }
.area p { color: #C4CCDA; font-size: 0.98rem; }
.area ul { margin-top: 0.3rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.area li { font-size: 0.82rem; border: 1px solid rgb(255 255 255 / 0.18); border-radius: 2px; padding: 0.2rem 0.55rem; color: #DCE3EE; }

/* Two-column lists: lifecycle, tools, functions */
.lists { display: grid; gap: 2rem; }
@media (min-width: 860px) { .lists { grid-template-columns: repeat(3, 1fr); } }
.lists h3 { font-size: 1.2rem; font-stretch: 106%; margin-bottom: 0.9rem; }
.lists li { padding: 0.6rem 0; border-top: 1px solid var(--rule); display: flex; gap: 0.75rem; align-items: baseline; }
.lists li::before { content: ""; flex: none; width: 0.9rem; height: 2px; background: var(--line); transform: translateY(-0.3rem) skewX(-24deg); }

/* Steps */
.steps { display: grid; gap: 0; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { counter-increment: step; padding: 1.4rem 1.5rem 1.4rem 0; border-top: 3px solid var(--obsidian); position: relative; }
.step::before { content: "0" counter(step); font-family: var(--mono); font-size: 0.8rem; color: var(--blue); letter-spacing: 0.1em; }
.step h3 { font-size: 1.2rem; margin-top: 0.5rem; }
.step p { margin-top: 0.45rem; color: var(--ink-soft); font-size: 0.98rem; }
.step__time { display: block; margin-top: 0.7rem; font-family: var(--mono); font-size: 0.78rem; color: var(--ink-soft); }

/* Person band on the home page */
.person { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (min-width: 900px) { .person { grid-template-columns: 0.85fr 1.15fr; } }
.monogram { aspect-ratio: 4 / 5; background: var(--obsidian) url("/photos/hero-lines.svg") 70% 50% / cover no-repeat; color: #fff; border-radius: var(--radius); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.75rem; }
.monogram img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.monogram > * { position: relative; }
.monogram b { font-size: clamp(4.5rem, 9vw, 7rem); font-style: italic; font-weight: 900; font-stretch: 120%; line-height: 0.9; letter-spacing: -0.04em; }
.monogram span { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); margin-top: 0.75rem; }
.person h2 { font-size: clamp(2rem, 2.4vw + 1.1rem, 3.1rem); font-stretch: 108%; }
.person p + p { margin-top: 1rem; }
.person .lede { margin-top: 1rem; }
.creds { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block: 1.5rem; }
.creds li { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.05em; background: #fff; border: 1px solid var(--rule); padding: 0.3rem 0.6rem; border-radius: 2px; }

/* Contact */
.contact { display: grid; gap: clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 900px) { .contact { grid-template-columns: 0.9fr 1.1fr; } }
.contact h2 { font-size: clamp(2.2rem, 3vw + 1rem, 3.6rem); font-style: italic; font-stretch: 112%; }
.contact .lede { margin-top: 1rem; }
.direct { margin-top: 2rem; display: grid; gap: 1rem; }
.direct li { display: grid; gap: 0.1rem; }
.direct small { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark); }
.direct a { font-size: clamp(1.25rem, 1vw + 1rem, 1.55rem); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--blue); justify-self: start; }
.direct a:hover { border-color: var(--cyan); }
.form-card { background: var(--obsidian-2); border: 1px solid rgb(255 255 255 / 0.1); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.25rem); }

.site-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.site-form .row { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .site-form .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.site-form label { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.35rem; font-size: 0.9rem; font-weight: 600; color: #DCE3EE; }
.site-form input, .site-form select, .site-form textarea { font: inherit; font-weight: 400; font-size: 1rem; color: #fff; background: var(--obsidian); border: 1px solid #3A3D4D; border-radius: var(--radius); padding: 0.7rem 0.8rem; min-height: 3rem; width: 100%; }
.site-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%); background-position: calc(100% - 1.1rem) 55%, calc(100% - 0.75rem) 55%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; padding-right: 2.2rem; }
.site-form input:focus, .site-form select:focus, .site-form textarea:focus { border-color: var(--cyan); outline: 2px solid rgb(0 209 255 / 0.35); outline-offset: 0; }
.site-form textarea { min-height: 8rem; resize: vertical; }
.site-form button { justify-self: start; font: inherit; cursor: pointer; }
.site-form-trap { display: none !important; }
.site-form-status { color: var(--cyan); font-weight: 600; }
.site-form-status:empty { display: none; }
.site-form-consent { font-size: 0.84rem; color: var(--muted-dark); }

/* ── Page heads (inner pages) ───────────────────────── */
.page-head { background: var(--obsidian); color: #fff; padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; isolation: isolate; }
.page-head::after { content: ""; position: absolute; z-index: -1; right: -10%; bottom: -30%; width: 70%; height: 140%; background: url("/photos/hero-lines.svg") right bottom / cover no-repeat; opacity: 0.55; }
.page-head .lede { margin-top: 1.1rem; max-width: 42rem; color: #C9D1DE; }
.page-head .eyebrow { color: var(--cyan); margin-bottom: 1rem; }
.page-head h1 { max-width: 52rem; }
.page-head .actions { margin-top: 1.75rem; }

/* ── Profile (CV) ───────────────────────────────────── */
.cv-top { display: grid; gap: 2rem; }
@media (min-width: 900px) { .cv-top { grid-template-columns: 1fr auto; align-items: end; } }
.cv-name { font-size: clamp(2.6rem, 5vw + 1rem, 5rem); font-style: italic; font-weight: 850; font-stretch: 115%; letter-spacing: -0.025em; line-height: 0.95; }
.cv-role { margin-top: 0.9rem; font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.cv-contact { display: grid; gap: 0.35rem; font-size: 0.98rem; }
.cv-contact a { color: #fff; text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / 0.35); }
.cv-contact a:hover { border-color: var(--cyan); }

.cv-grid { display: grid; gap: clamp(2rem, 4vw, 4rem); }
@media (min-width: 960px) { .cv-grid { grid-template-columns: 15rem 1fr; } }
.cv-side { display: grid; gap: 2rem; align-content: start; }
@media (min-width: 960px) { .cv-side { position: sticky; top: 6rem; } }
.cv-side h2 { font-family: var(--mono); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.7rem; }
.cv-side li { padding: 0.35rem 0; border-top: 1px solid var(--rule); font-size: 0.95rem; }
.cv-main { display: grid; gap: clamp(2.5rem, 5vw, 4rem); min-width: 0; }
.cv-main > section > h2 { font-size: clamp(1.6rem, 1.2vw + 1.2rem, 2.2rem); font-stretch: 108%; margin-bottom: 1.4rem; display: flex; align-items: center; gap: 0.9rem; }
.cv-main > section > h2::before { content: ""; width: 2.2rem; height: 3px; background: var(--line); transform: skewX(-24deg); flex: none; }

.wins { display: grid; gap: 1.6rem; }
.win-group h3 { font-size: 1.12rem; margin-bottom: 0.6rem; }
.win-group ul { display: grid; gap: 0.6rem; }
.win-group li { padding-left: 1.3rem; position: relative; color: var(--ink-soft); }
.win-group li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.7rem; height: 2px; background: var(--blue); transform: skewX(-24deg); }
.win-group li strong { color: var(--ink); }

.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 0.45rem; top: 0.6rem; bottom: 0.6rem; width: 2px; background: linear-gradient(var(--blue), var(--cyan) 40%, var(--rule)); }
.job { position: relative; padding: 0 0 2.2rem 2.2rem; }
.job::before { content: ""; position: absolute; left: 0; top: 0.4rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--paper); border: 3px solid var(--blue); }
.job:first-child::before { background: var(--blue); box-shadow: 0 0 0 4px rgb(0 102 255 / 0.18); }
.job__when { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; color: var(--blue); }
.job h3 { font-size: clamp(1.3rem, 0.8vw + 1.1rem, 1.6rem); font-stretch: 106%; margin-top: 0.2rem; }
.job__roles { margin-top: 0.3rem; font-weight: 600; color: var(--ink); }
.job p { margin-top: 0.6rem; color: var(--ink-soft); max-width: 46rem; }

.creds-table { display: grid; gap: 0; }
.creds-table li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 0.7rem 0; border-top: 1px solid var(--rule); }
.creds-table li span:first-child { font-family: var(--mono); font-size: 0.82rem; color: var(--blue); padding-top: 0.15rem; }

/* ── Footer ─────────────────────────────────────────── */
.site-footer { background: var(--obsidian); color: #C4CCDA; padding-block: 3rem 2rem; border-top: 1px solid rgb(255 255 255 / 0.08); font-size: 0.95rem; }
.site-footer .wrap { display: grid; gap: 1.75rem; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1.5rem; }
.foot-brand img { width: 7rem; height: auto; }
.foot-brand p { margin-top: 0.8rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted-dark); }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--cyan); }
.foot-base { display: grid; gap: 0.5rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / 0.1); font-size: 0.85rem; color: #8E97A8; }
.proposal-note { font-size: 0.82rem; color: #8E97A8; }
.proposal-note a { color: #C4CCDA; }

/* 404 */
.lost { min-height: 70vh; display: grid; align-content: center; }
.lost h1 { font-size: clamp(4rem, 12vw, 9rem); font-style: italic; font-weight: 900; font-stretch: 120%; line-height: 0.9; background: var(--line); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.1em; }
.lost p { margin-top: 1rem; font-size: 1.25rem; color: #C9D1DE; max-width: 32rem; }
.lost .actions { margin-top: 2rem; }

/* Print: the Profile page prints as a clean CV. */
@media print {
  @page { margin: 14mm 14mm; }
  body { background: #fff; font-size: 10pt; color: #000; }
  .site-header, .site-footer, .no-print, .page-head::after, .skip { display: none !important; }
  .page-head { background: none; color: #000; padding: 0 0 6mm; border-bottom: 2px solid #0066FF; }
  .page-head .lede, .cv-contact, .cv-contact a { color: #222; border: 0; }
  .cv-role { color: #0066FF; }
  .cv-name { color: #000; font-size: 26pt; }
  .section { padding-block: 6mm 0; }
  .cv-grid { grid-template-columns: 1fr; }
  .cv-side { position: static; grid-template-columns: repeat(3, 1fr); }
  .job { break-inside: avoid; padding-bottom: 4mm; }
  .win-group { break-inside: avoid; }
  a { text-decoration: none; }
}

@media (max-width: 699px) {
  .hero__strip { flex-direction: column; }
  .hero__strip li + li::before { content: none; }
}

.areas--four { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .areas--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .areas--four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.hero h1 em { white-space: nowrap; }
.hero[data-hero-studio] ~ .section { padding-block: clamp(3rem, 5vw, 4.5rem); }
.hero[data-hero-studio] ~ .section .section-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.hero[data-hero-studio] ~ .section .person { gap: clamp(1.5rem, 3vw, 3rem); }
.hero[data-hero-studio] ~ .section .contact { gap: clamp(1.5rem, 3.5vw, 3rem); }
.hero[data-hero-studio] ~ .section .direct { margin-top: 1.5rem; }
