/* Sorin Angeleanu — portfolio
   Type: Archivo (variable width + weight), self-hosted, SIL Open Font License. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2-variations"), url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2-variations"), url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #ecedef;   /* gallery wall, cool */
  --ink: #000;
  --mute: #585d65;
  --line: #c6c9ce;
  --plate: #dcdee2;   /* image placeholder */
  --signal: #1f2bff;  /* electric blue: links, focus, one accent */
  --on-signal: #fff;

  --gutter: clamp(16px, 3.2vw, 48px);
  --max: 1440px;
  --measure: 66ch;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  --step-3: clamp(2.25rem, 1.4rem + 3.6vw, 4.75rem);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #000;
    --ink: #eceef1;
    --mute: #9aa0a9;
    --line: #2b2e34;
    --plate: #17191c;
    --signal: #8a93ff;
    --on-signal: #000;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #000; --ink: #eceef1; --mute: #9aa0a9; --line: #2b2e34; --plate: #17191c; --signal: #8a93ff; --on-signal: #000;
  color-scheme: dark;
}

*, *::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;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--step-0);
  line-height: 1.55;
  font-weight: 400;
  font-stretch: 100%;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--signal); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.05; }
p { margin: 0 0 1em; }

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 50;
  background: var(--signal); color: var(--on-signal); padding: 0.5em 0.9em; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- header / footer */
.site-header {
  max-width: var(--max); margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
}
.site-name { font-weight: 700; font-stretch: 112%; text-decoration: none; letter-spacing: -0.005em; }
.is-home .site-name { visibility: hidden; }
.site-header nav { display: flex; gap: clamp(1rem, 2.4vw, 2rem); }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }

main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.site-footer {
  max-width: var(--max); margin: clamp(80px, 12vw, 160px) auto 0;
  padding: 40px var(--gutter) 48px;
  border-top: 1px solid var(--line);
}
.footer-lead { color: var(--mute); margin-bottom: 0.4em; }
.footer-mail { font-size: var(--step-3); font-weight: 700; font-stretch: 112%; line-height: 1; letter-spacing: -0.02em; margin-bottom: 0.9em; overflow-wrap: anywhere; }
.footer-mail a { text-decoration: none; }
.footer-mail a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; color: var(--mute); font-size: var(--step--1); }
.footer-links a { color: var(--ink); }

/* ---------- home: hero */
.hero { padding: clamp(8px, 3vw, 40px) 0 clamp(40px, 6vw, 80px); }
.wordmark {
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(3rem, 12.4vw, 12.5rem);
  line-height: 0.84;
  letter-spacing: -0.035em;
  margin-left: -0.04em;
}
.wordmark span { display: block; }
.wordmark span + span { padding-left: 0.55em; }
.hero-foot {
  margin-top: clamp(28px, 4vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem var(--gutter);
  align-items: end;
}
.tagline { font-size: var(--step-2); line-height: 1.2; max-width: 22ch; margin: 0; font-stretch: 105%; }
.hero-aside { color: var(--mute); margin: 0; justify-self: end; max-width: 34ch; }

/* ---------- home: feature */
.feature { display: block; text-decoration: none; color: inherit; }
.feature-media { display: block; background: #000; aspect-ratio: 16 / 9; overflow: hidden; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-text { display: grid; grid-template-columns: 1fr 2fr; gap: 0.4rem var(--gutter); padding-top: 14px; align-items: baseline; }
.feature-kicker { color: var(--mute); grid-row: span 2; }
.feature-title { font-size: var(--step-2); font-weight: 700; font-stretch: 112%; line-height: 1.1; }
.feature-sum { color: var(--mute); max-width: 48ch; }
.feature:hover .feature-title { color: var(--signal); }

/* ---------- home: index */
.work { margin-top: clamp(64px, 9vw, 128px); scroll-margin-top: 16px; }
.jump ul { list-style: none; padding: 0; margin: 0 0 clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.jump a { text-decoration: none; font-stretch: 112%; font-weight: 600; }
.jump a:hover { text-decoration: underline; }

.group { padding-top: 22px; border-top: 1px solid var(--ink); margin-bottom: clamp(56px, 8vw, 104px); scroll-margin-top: 16px; }
.group h2 { font-size: var(--step-2); font-stretch: 112%; margin-bottom: 28px; letter-spacing: -0.01em; }
.count { font-weight: 400; color: var(--mute); font-size: 0.6em; vertical-align: 0.5em; margin-left: 0.15em; font-stretch: 100%; }

.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px var(--gutter); }
.card a { display: block; text-decoration: none; color: inherit; }
.card-media { display: block; aspect-ratio: 4 / 3; background: var(--plate); overflow: hidden; position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card--film .card-media { background: #000; }
.card--film .card-media::after {
  content: ""; position: absolute; left: 14px; bottom: 14px; width: 0; height: 0;
  border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff;
  filter: drop-shadow(0 0 6px rgba(0,0,0,.5));
}
.card-title { display: block; margin-top: 12px; font-weight: 700; font-size: var(--step-1); line-height: 1.2; font-stretch: 106%; }
.card-meta { display: block; color: var(--mute); font-size: var(--step--1); margin-top: 2px; }
.card a:hover .card-title { color: var(--signal); }
.card a:focus-visible { outline-offset: 6px; }

/* ---------- project page */
.project-head { padding: clamp(16px, 4vw, 56px) 0 clamp(24px, 3.5vw, 44px); max-width: 1100px; }
.crumb { margin: 0 0 14px; color: var(--mute); }
.crumb a { color: var(--mute); }
.crumb a:hover { color: var(--signal); }
.project h1 { font-size: var(--step-3); font-stretch: 115%; font-weight: 800; letter-spacing: -0.03em; line-height: 0.95; overflow-wrap: break-word; hyphens: auto; }
.standfirst { font-size: var(--step-1); line-height: 1.4; max-width: 40ch; margin: 18px 0 0; color: var(--mute); }

.lead { margin: 0; background: var(--plate); }
.lead img { width: 100%; max-height: 86vh; object-fit: contain; margin: 0 auto; }

.video { margin: 0; }
.video-play { all: unset; display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; cursor: pointer; }
.video-play img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.video-play:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.video-icon { position: absolute; inset: 0; margin: auto; width: 88px; height: 88px; border-radius: 50%; background: var(--signal); }
.video-icon::after { content: ""; position: absolute; left: 35px; top: 27px; border-style: solid; border-width: 17px 0 17px 28px; border-color: transparent transparent transparent #fff; }
.video-play:hover .video-icon { transform: scale(1.06); }
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.video figcaption { margin-top: 10px; font-size: var(--step--1); color: var(--mute); }

.project-body {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px clamp(32px, 6vw, 96px);
  margin-top: clamp(40px, 5vw, 72px);
}
.prose { max-width: var(--measure); }
.prose p { line-height: 1.62; }
.prose > p:first-child { font-size: var(--step-1); line-height: 1.5; }
.prose h2 { font-size: var(--step-1); font-stretch: 108%; margin: 2em 0 0.6em; }
.prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; padding-left: 0.2em; }
.prose li::marker { color: var(--signal); font-weight: 700; }

.facts { margin: 0; align-self: start; position: sticky; top: 24px; }
.facts div { padding: 12px 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { color: var(--mute); font-size: var(--step--1); }
.facts dd { margin: 2px 0 0; }

.gallery { margin-top: clamp(56px, 8vw, 112px); }
.gallery-title { font-size: var(--step-1); font-stretch: 108%; margin-bottom: 20px; }
.gallery-title span { color: var(--mute); font-weight: 400; }
.gallery-grid { list-style: none; padding: 0; margin: 0; columns: 3; column-gap: 14px; }
.gallery-grid li { break-inside: avoid; margin-bottom: 14px; }
.gallery-grid a { display: block; background: var(--plate); cursor: zoom-in; }
.gallery-grid img { width: 100%; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); margin-top: clamp(64px, 9vw, 120px); border-top: 1px solid var(--ink); padding-top: 18px; }
.pager a { text-decoration: none; font-weight: 700; font-size: var(--step-1); font-stretch: 106%; line-height: 1.2; }
.pager span { display: block; font-weight: 400; color: var(--mute); font-size: var(--step--1); font-stretch: 100%; margin-bottom: 4px; }
.pager-next { text-align: right; }

/* ---------- about */
.about h1 { font-size: var(--step-3); font-stretch: 115%; font-weight: 800; letter-spacing: -0.03em; padding: clamp(16px, 4vw, 56px) 0 clamp(28px, 4vw, 56px); }
.about-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.portrait { margin: 0; max-width: 360px; }
.about-statement p { font-size: var(--step-1); line-height: 1.5; }
.cv { margin-top: clamp(56px, 8vw, 104px); }
.cv h2 { font-size: var(--step-1); font-stretch: 108%; margin: 0 0 12px; padding-top: 18px; border-top: 1px solid var(--ink); }
.cv-list { margin: 0 0 56px; }
.cv-list div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 0 clamp(32px, 6vw, 96px); padding: 10px 0; border-bottom: 1px solid var(--line); }
.cv-list dt { color: var(--mute); }
.cv-list dd { margin: 0; max-width: var(--measure); }

.notfound { padding: 12vh 0; }
.notfound h1 { font-size: var(--step-3); font-stretch: 115%; margin-bottom: 0.4em; }

/* ---------- lightbox */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; background: rgba(0,0,0,.96); color: #fff; }
.lightbox::backdrop { background: rgba(0,0,0,.96); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gutter); font-size: var(--step--1); }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 64px 24px; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-btn { all: unset; cursor: pointer; color: #fff; padding: 10px 12px; font: inherit; }
.lb-btn:hover { color: #9aa2ff; }
.lb-btn:focus-visible { outline: 2px solid #9aa2ff; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); font-size: 2rem; line-height: 1; padding: 16px; }
.lb-prev { left: 4px; } .lb-next { right: 4px; }

/* ---------- responsive */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { columns: 2; }
  .project-body { grid-template-columns: 1fr; }
  .facts { position: static; order: -1; max-width: var(--measure); }
}
@media (max-width: 640px) {
  .hero-foot { grid-template-columns: 1fr; }
  .hero-aside { justify-self: start; }
  .wordmark span + span { padding-left: 0; }
  .feature-text { grid-template-columns: 1fr; }
  .feature-kicker { grid-row: auto; }
  .cards { grid-template-columns: 1fr; gap: 36px; }
  .gallery-grid { columns: 1; }
  .about-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 220px; }
  .cv-list div { grid-template-columns: 1fr; }
  .lb-stage { padding: 0 0 16px; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; }
  .pager a { font-size: var(--step-0); }
}

/* ---------- prose extras */
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose ul li::marker { color: var(--signal); }
.prose h3 { font-size: var(--step-0); font-weight: 700; margin: 0 0 0.3em; }

/* ---------- thesis: home band */
.thesis-band {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0.4rem var(--gutter);
  margin-top: clamp(56px, 8vw, 104px); text-decoration: none; color: inherit; align-items: end;
}
.thesis-band-flip { display: block; background: #fff; max-width: 280px; aspect-ratio: 512 / 768; overflow: hidden; }
.thesis-band-flip img { width: 100%; height: 100%; object-fit: cover; }
.thesis-band-text { display: flex; flex-direction: column; gap: 0.4rem; max-width: 52ch; padding-bottom: 6px; }
.thesis-band-title { font-size: var(--step-3); font-weight: 800; font-stretch: 115%; letter-spacing: -0.03em; line-height: 0.95; }
.thesis-band-link { margin-top: 0.6rem; text-decoration: underline; text-underline-offset: 0.18em; }
.thesis-band:hover .thesis-band-title, .thesis-band:hover .thesis-band-link { color: var(--signal); }
.card--sketch .card-media { background: #fff; }
.card--sketch .card-media img { object-position: 50% 20%; }

/* ---------- thesis page */
.thesis-version { margin: 14px 0 0; font-weight: 600; font-stretch: 108%; }
.thesis-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.flipbook { margin: 0; position: sticky; top: 20px; }
.flipbook-stage {
  position: relative; background: #fff; aspect-ratio: 512 / 768; height: min(768px, calc(100vh - 230px)); width: auto; max-width: 100%; margin-right: auto;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  box-shadow: 1px 1px 0 #d9dbdf, 2px 2px 0 #fff, 3px 3px 0 #d9dbdf, 4px 4px 0 #fff, 5px 5px 0 #d9dbdf;
}
.flipbook-stage.is-dragging { cursor: grabbing; }
.flipbook-stage img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.flipbook-corner {
  position: absolute; right: 0; bottom: 0; width: 46px; height: 46px;
  background: linear-gradient(135deg, transparent 50%, var(--plate) 50%, #c4c7cc);
  transition: width .2s ease, height .2s ease;
}
.flipbook-stage:hover .flipbook-corner { width: 64px; height: 64px; }
.flipbook figcaption { margin-top: 16px; font-size: var(--step--1); color: var(--mute); max-width: 52ch; }
.flipbook-controls { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; color: var(--ink); }
.flip-play { font: inherit; font-weight: 600; color: var(--on-signal); background: var(--signal); border: 0; padding: 8px 14px; cursor: pointer; white-space: nowrap; }
.flip-play[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.flip-range { flex: 1; accent-color: var(--signal); min-width: 0; }
.flip-count { font-variant-numeric: tabular-nums; min-width: 4.5em; text-align: right; }
.prose .changed { list-style: none; padding: 0; margin: 0 0 1em; }
.changed li { padding: 14px 0; border-top: 1px solid var(--line); }
.changed li:last-child { border-bottom: 1px solid var(--line); }
.changed p { margin: 0; }
.pull { margin: 2.2em 0; padding: 0; }
.pull p { font-size: var(--step-2); font-weight: 700; font-stretch: 108%; line-height: 1.15; letter-spacing: -0.01em; }
.button { display: inline-block; background: var(--ink); color: var(--paper); padding: 12px 18px; text-decoration: none; font-weight: 600; }
.button:hover { background: var(--signal); color: var(--on-signal); }
.thesis-after { margin-top: clamp(64px, 9vw, 120px); }
.contents h2 { font-size: var(--step-1); font-stretch: 108%; margin-bottom: 12px; }
.toc { list-style: none; padding: 0; margin: 0; max-width: var(--measure); }
.toc li { display: flex; justify-content: space-between; gap: 1rem; padding: 8px 0; border-bottom: 1px solid var(--line); }
.toc .pg { color: var(--mute); font-variant-numeric: tabular-nums; }

/* ---------- progress log */
.log { margin-top: clamp(56px, 8vw, 112px); }
.log-list { list-style: none; padding: 0; margin: 0; }
.log-entry { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 8px clamp(24px, 4vw, 64px); padding: 18px 0; border-top: 1px solid var(--line); }
.log-entry time { color: var(--mute); font-variant-numeric: tabular-nums; }
.log-body { max-width: var(--measure); }
.log-body h3 { font-size: var(--step-1); margin-bottom: 0.4em; }
.log-images { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.log-images a { display: block; background: var(--plate); aspect-ratio: 1; overflow: hidden; cursor: zoom-in; }
.log-images img { width: 100%; height: 100%; object-fit: cover; }
.log-clip { margin: 14px 0 0; }
.log-clip video { display: block; width: 100%; height: auto; background: #000; }
.log-clip figcaption { color: var(--mute); font-size: 0.9em; margin-top: 6px; }

@media (max-width: 1000px) {
  .thesis-grid { grid-template-columns: 1fr; }
  .flipbook { position: static; max-width: 420px; }
  .flipbook-stage { height: auto; width: 100%; }
}
@media (max-width: 640px) {
  .thesis-band { grid-template-columns: 1fr; }
  .thesis-band-flip { max-width: 200px; }
  .log-entry { grid-template-columns: 1fr; }
}

/* ---------- jewellery */
.jewel-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px var(--gutter); margin-top: clamp(56px, 8vw, 104px); text-decoration: none; color: inherit; align-items: end; }
.jewel-band-text { display: flex; flex-direction: column; gap: 0.4rem; max-width: 40ch; }
.jewel-band:hover .thesis-band-title, .jewel-band:hover .thesis-band-link { color: var(--signal); }
.jewel-strip { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.jewel-strip li { aspect-ratio: 3 / 4; background: var(--plate); overflow: hidden; }
.jewel-strip img { width: 100%; height: 100%; object-fit: cover; }
.jewellery h1 { font-size: var(--step-3); font-stretch: 115%; font-weight: 800; letter-spacing: -0.03em; line-height: 0.95; }
.jewel-hero { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 10px; align-items: stretch; height: clamp(320px, 52vw, 720px); }
.jewel-hero li { background: var(--plate); overflow: hidden; min-height: 0; }
.jewel-hero a { display: block; height: 100%; cursor: zoom-in; }
.jewel-hero img { width: 100%; height: 100%; object-fit: cover; }
.pieces { margin-top: clamp(56px, 8vw, 112px); }
.piece { padding-top: 18px; border-top: 1px solid var(--ink); margin-bottom: clamp(48px, 6vw, 80px); }
.piece-head { max-width: var(--measure); margin-bottom: 20px; }
.piece-head time { color: var(--mute); font-variant-numeric: tabular-nums; }
.piece-head h3 { font-size: var(--step-2); font-stretch: 112%; margin: 6px 0 10px; letter-spacing: -0.01em; }
.piece-materials { color: var(--mute); font-size: var(--step--1); }
@media (max-width: 1000px) {
  .jewel-band { grid-template-columns: 1fr; }
  .jewel-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jewel-strip li:nth-child(n+4) { display: none; }
}
@media (max-width: 640px) {
  .jewel-hero { grid-template-columns: 1fr 1fr; height: auto; }
  .jewel-hero li:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
  .jewel-hero li { aspect-ratio: 1; }
  .site-header nav { gap: 0.9rem; }
}

.jewel-band .thesis-band-title { font-size: clamp(2rem, 1.1rem + 2.8vw, 3.75rem); overflow-wrap: break-word; }
@media (max-width: 640px) {
  .site-header { flex-wrap: wrap; row-gap: 4px; }
  .site-name { flex-basis: 100%; }
  .is-home .site-name { display: none; }
  .site-header nav { gap: 1.1rem; }
}
.lead--clip { background: #000; }
.lead--clip video { display: block; width: 100%; height: auto; max-height: 86vh; }
.lead figcaption { background: var(--paper); padding-top: 10px; font-size: var(--step--1); color: var(--mute); }
.prose a { color: inherit; }
/* keep "Technopunk" whole: size the title to its column */
.jewel-band-text { container-type: inline-size; }
.jewel-band .thesis-band-title { overflow-wrap: normal; word-break: keep-all; hyphens: none; font-size: clamp(1.9rem, 0.9rem + 2.4vw, 3.4rem); font-size: min(3.75rem, 14.5cqi); }
