/* F8 Design Studio — the Atelier system for the web.
   Layout: an editorial 12-column grid on warm white; mounted photographs on white mats with stone
   hairlines; hairline arcs as the only ornament; Dusk (charcoal) bands for the moments that matter.
   Type: Fraunces light for display, Fraunces italic for the one bronze word and captions,
   Manrope for reading and labels. */

/* ---------- fonts (self-hosted, SIL OFL: Fraunces by Undercase Type, Manrope by Mikhail Sharanda) ---------- */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-roman.woff") format("woff"); font-weight: 300 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic.woff") format("woff"); font-weight: 300 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --ground: #F5F3EE;      /* warm white */
  --ink: #272725;         /* charcoal */
  --ink-2: #4A4944;
  --accent: #7E5F35;      /* bronze */
  --muted: #596353;       /* sage */
  --line: #DCD7CE;        /* stone */
  --mat: #FFFFFF;
  --mat-line: #DCD7CE;
  --veil: rgba(245, 243, 238, 0.94);
  --band: #272725;        /* dusk */
  --band-ink: #F5F3EE;
  --band-accent: #B8955E; /* bronze light */
  --band-muted: #BDB8AE;
  --band-line: rgba(220, 215, 206, 0.22);
  --overlay: #1D1D1B;
  --overlay-ink: #F5F3EE;
  --logo-display: block;
  --word-display: none;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --max: 1380px;
  --pad-x: clamp(16px, 5vw, 72px);
  --section: clamp(80px, 11vw, 168px);
  --gap: clamp(16px, 2.2vw, 32px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);

  --fs-hero: clamp(3.5rem, 11.2vw, 11.75rem);
  --fs-h1: clamp(2.9rem, 7vw, 6.6rem);
  --fs-h2: clamp(2.1rem, 4.4vw, 4rem);
  --fs-h3: clamp(1.35rem, 1.9vw, 1.7rem);
  --fs-lead: clamp(1.15rem, 1.7vw, 1.5rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.94rem;
  --fs-label: 0.72rem;
  --fs-num: clamp(2.8rem, 5vw, 4.6rem);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #1C1C1A; --ink: #F2EFE8; --ink-2: #D2CEC5; --accent: #B8955E; --muted: #A9A69C;
    --line: #3A3935; --mat: #262624; --mat-line: #3A3935; --veil: rgba(28, 28, 26, 0.92);
    --band: #121211; --band-ink: #F2EFE8; --band-accent: #C4A26C; --band-muted: #A9A69C; --band-line: rgba(220, 215, 206, 0.16);
    --overlay: #0F0F0E; --overlay-ink: #F2EFE8; --logo-display: none; --word-display: inline-flex;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #1C1C1A; --ink: #F2EFE8; --ink-2: #D2CEC5; --accent: #B8955E; --muted: #A9A69C;
  --line: #3A3935; --mat: #262624; --mat-line: #3A3935; --veil: rgba(28, 28, 26, 0.92);
  --band: #121211; --band-ink: #F2EFE8; --band-accent: #C4A26C; --band-muted: #A9A69C; --band-line: rgba(220, 215, 206, 0.16);
  --overlay: #0F0F0E; --overlay-ink: #F2EFE8; --logo-display: none; --word-display: inline-flex;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ground); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--ground); }
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--ground); padding: 10px 14px; font-size: var(--fs-small); text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- layout ---------- */
.wrap {
  width: 100%; max-width: calc(var(--max) + 2 * var(--pad-x)); margin-inline: auto;
  padding-left: max(var(--pad-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--pad-x), env(safe-area-inset-right, 0px));
}
.section { padding-block: var(--section); position: relative; }
.section.tight { padding-block: clamp(56px, 7vw, 104px); }
.section + .section.rule-top::before, .rule-top::before { content: ""; position: absolute; top: 0; left: max(var(--pad-x), env(safe-area-inset-left, 0px)); right: max(var(--pad-x), env(safe-area-inset-right, 0px)); max-width: var(--max); margin-inline: auto; border-top: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(28px, 4vw, 56px); }
.grid > * { min-width: 0; }
.c-1-5 { grid-column: 1 / span 5; } .c-1-6 { grid-column: 1 / span 6; } .c-1-7 { grid-column: 1 / span 7; } .c-1-8 { grid-column: 1 / span 8; }
.c-6-7 { grid-column: 6 / span 7; } .c-7-6 { grid-column: 7 / span 6; } .c-8-5 { grid-column: 8 / span 5; } .c-5-8 { grid-column: 5 / span 8; } .c-2-10 { grid-column: 2 / span 10; } .c-all { grid-column: 1 / -1; } .c-4-9 { grid-column: 4 / span 9; } .c-1-4 { grid-column: 1 / span 4; } .c-5-4 { grid-column: 5 / span 4; } .c-9-4 { grid-column: 9 / span 4; }
@media (max-width: 900px) {
  .grid > [class*="c-"] { grid-column: 1 / -1; }
}
.stack { display: grid; gap: 18px; }
.stack-lg { display: grid; gap: clamp(22px, 3vw, 36px); }
.row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }

/* ---------- type ---------- */
h1, h2, h3, h4, .display { font-family: var(--font-display); font-weight: 300; margin: 0; line-height: 1.02; letter-spacing: -0.018em; text-wrap: balance; font-optical-sizing: auto; }
h1 em, h2 em, h3 em, .display em, .em { font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -0.01em; }
.hero-title { font-size: var(--fs-hero); line-height: 0.92; letter-spacing: -0.03em; }
.h1 { font-size: var(--fs-h1); line-height: 0.98; letter-spacing: -0.025em; }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); font-weight: 400; line-height: 1.18; letter-spacing: -0.005em; }
.lead { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: var(--fs-lead); line-height: 1.45; color: var(--muted); max-width: 40ch; text-wrap: pretty; }
.lead.wide { max-width: 52ch; }
.body { max-width: 62ch; }
.body p + p { margin-top: 1.05em; }
.small { font-size: var(--fs-small); line-height: 1.6; }
.label { font-family: var(--font-body); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); line-height: 1.4; }
.label.muted { color: var(--muted); }
.caption { font-family: var(--font-display); font-style: italic; font-size: 0.98rem; line-height: 1.5; color: var(--muted); }
.numeral { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: var(--fs-num); line-height: 1; color: var(--accent); letter-spacing: -0.02em; font-variant-numeric: lining-nums; }
.unit { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.roman { font-family: var(--font-display); font-style: italic; color: var(--accent); font-size: 1.35rem; line-height: 1; }
.tnum { font-variant-numeric: tabular-nums; }

/* links */
.link { display: inline-flex; align-items: center; gap: 0.7em; text-decoration: none; font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); padding-block: 6px; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.6s var(--ease), color 0.3s; }
.link::after { content: "\2192"; font-family: var(--font-body); letter-spacing: 0; font-size: 1.1em; transition: transform 0.5s var(--ease); }
.link:hover { background-size: 100% 1px; color: var(--accent); }
.link:hover::after { transform: translateX(5px); }
.link.back::after { content: none; }
.link.back::before { content: "\2190"; letter-spacing: 0; font-size: 1.1em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.8em; min-height: 52px; padding: 0 26px; border: 1px solid var(--ink); text-decoration: none; font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s; }
.btn::after { content: "\2192"; letter-spacing: 0; font-size: 1.1em; transition: transform 0.5s var(--ease); }
.btn:hover { background: var(--ink); color: var(--ground); }
.btn:hover::after { transform: translateX(4px); }
.prose a, .inline-link { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- ornament ---------- */
.arcs { position: absolute; pointer-events: none; overflow: visible; }
.arcs circle { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.band .arcs circle { stroke: var(--band-line); }
.arcs-tr { top: -30px; right: 0; width: min(64vw, 760px); height: auto; }
.arcs-bl { bottom: 0; left: 0; width: min(46vw, 520px); height: auto; }
.hairline { border: 0; border-top: 1px solid var(--line); margin: 0; }
.sketch path, .sketch line, .sketch rect, .sketch circle, .sketch polyline, .sketch ellipse { fill: none; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.sketch .b { stroke: var(--accent); }
.sketch .s { stroke: var(--line); }
.sketch .m { stroke: var(--muted); }
.sketch .d { stroke-dasharray: 4 5; }
.sketch text { fill: var(--muted); font-family: var(--font-body); font-size: 11px; letter-spacing: 0.08em; }
.sketch text.t-b { fill: var(--accent); }
.sketch text.t-i { font-family: var(--font-display); font-style: italic; font-size: 13px; letter-spacing: 0; }
.sketch .fill-dot { fill: var(--accent); stroke: none; }
.sketch .fill-ground { fill: var(--ground); }
.band .sketch path, .band .sketch line, .band .sketch rect, .band .sketch circle, .band .sketch polyline { stroke: var(--band-muted); }
.band .sketch .b { stroke: var(--band-accent); }
.band .sketch .s { stroke: var(--band-line); }
.band .sketch text { fill: var(--band-muted); }

/* mounted photographs */
.mat { background: var(--mat); border: 1px solid var(--mat-line); padding: clamp(8px, 1vw, 14px); position: relative; }
.mat.sm { padding: clamp(6px, 0.8vw, 10px); }
.frame { overflow: hidden; position: relative; aspect-ratio: var(--ar, 4 / 3); background: var(--line); }
.frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 1.6s var(--ease), opacity 0.6s; }
a:hover .frame img, .zoom:hover .frame img { transform: scale(1.04); }
.fig { display: grid; gap: 12px; }
.fig .caption { max-width: 60ch; }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; transition: background-color 0.4s, border-color 0.4s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled, .site-header.is-solid { background: var(--veil); border-bottom-color: var(--line); -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; transition: min-height 0.4s var(--ease); }
.site-header.is-scrolled .wrap { min-height: 68px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); flex: none; }
.brand img { display: var(--logo-display); height: 46px; width: auto; transition: height 0.4s var(--ease); }
.site-header.is-scrolled .brand img { height: 38px; }
.brand .word { display: var(--word-display); align-items: baseline; gap: 0.45em; white-space: nowrap; }
.brand .word b { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.9rem; color: var(--accent); line-height: 1; }
.brand .word span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav a { text-decoration: none; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); padding-block: 8px; position: relative; transition: color 0.3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .nav-cta { border: 1px solid var(--ink); padding: 11px 18px; color: var(--ink); }
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--ink); color: var(--ground); }
.theme-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); padding: 8px 0; }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle svg circle { fill: none; stroke: currentColor; stroke-width: 1.2; }
.theme-toggle svg path { fill: currentColor; }
.theme-toggle:hover { color: var(--ink); }
.menu-btn { display: none; align-items: center; gap: 12px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; padding: 12px 0 12px 8px; }
.menu-btn .bars { width: 26px; height: 9px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.2px; background: currentColor; transition: transform 0.45s var(--ease), top 0.45s var(--ease); }
.menu-btn .bars::before { top: 0; } .menu-btn .bars::after { top: 8px; }
.menu-open .menu-btn .bars::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-btn .bars::after { top: 4px; transform: rotate(-45deg); }
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header .wrap { min-height: 72px; }
  .brand img { height: 38px; }
}
/* full-screen menu */
.menu { position: fixed; inset: 0; z-index: 45; background: var(--ground); padding-top: calc(96px + env(safe-area-inset-top, 0px)); padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s; }
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease); }
.menu-open { overflow: hidden; }
.menu ol { display: grid; gap: 2px; counter-reset: m; }
.menu ol a { display: flex; align-items: baseline; gap: 18px; text-decoration: none; font-family: var(--font-display); font-weight: 300; font-size: clamp(2.4rem, 10vw, 4.4rem); line-height: 1.12; letter-spacing: -0.02em; padding-block: 6px; border-bottom: 1px solid var(--line); }
.menu ol a span { font-style: italic; font-size: 0.32em; color: var(--accent); min-width: 2.2em; letter-spacing: 0; }
.menu ol a[aria-current="page"] { color: var(--accent); }
.menu .menu-foot { margin-top: 36px; display: grid; gap: 10px; color: var(--muted); font-size: var(--fs-small); }
.menu .menu-foot a { text-decoration: none; color: var(--ink); }

/* ---------- hero (home) ---------- */
.hero { position: relative; padding-block: clamp(28px, 5vw, 72px) clamp(72px, 9vw, 140px); overflow: clip; }
.hero .label-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(18px, 3vw, 36px); }
.hero-title .l2 { display: block; padding-left: calc(50% + var(--gap) / 2); }
.hero-title .l1 { display: block; }
.hero-body { margin-top: clamp(28px, 5vw, 64px); align-items: start; }
.hero-copy { display: grid; gap: 28px; align-content: start; padding-top: clamp(0px, 2vw, 24px); }
.hero-copy .actions { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; }
.hero-art { position: relative; padding-bottom: clamp(40px, 7vw, 110px); }
.hero-art .m1 { width: 100%; }
.hero-art .m2 { position: absolute; left: clamp(-120px, -9vw, -24px); bottom: 0; width: 44%; }
.hero-art .m3 { position: absolute; right: 0; top: clamp(-80px, -6vw, -30px); width: 30%; }
.hero-meta { display: grid; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .hero-title .l2 { padding-left: 18%; }
  .hero-art { margin-top: 12px; padding-bottom: 64px; }
  .hero-art .m2 { left: auto; right: 0; width: 52%; }
  .hero-art .m3 { display: none; }
}
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-label); letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.scroll-cue i { display: block; width: 1px; height: 44px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -44px; width: 1px; height: 44px; background: var(--accent); animation: cue 2.6s var(--ease) infinite; }
@keyframes cue { 0% { top: -44px; } 60%, 100% { top: 44px; } }

/* ---------- page head (inner pages) ---------- */
.page-head { position: relative; padding-block: clamp(36px, 6vw, 96px) clamp(48px, 7vw, 104px); overflow: clip; }
.page-head .h1 { margin-top: clamp(14px, 2vw, 22px); }
.page-head .lead { margin-top: clamp(20px, 2.6vw, 32px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { color: var(--line); }

/* ---------- statement ---------- */
.statement { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.8rem, 3.6vw, 3.25rem); line-height: 1.16; letter-spacing: -0.015em; text-wrap: balance; }
.statement em { font-style: italic; font-weight: 400; color: var(--accent); }

/* ---------- numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); border-top: 1px solid var(--line); padding-top: clamp(24px, 3vw, 36px); }
.numbers > div { display: grid; gap: 12px; align-content: start; min-width: 0; }
.numbers.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .numbers, .numbers.three { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; } }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 56px); }
.pillars > * { display: grid; gap: 14px; align-content: start; min-width: 0; }
.pillars.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pillars.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .pillars, .pillars.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pillars, .pillars.four, .pillars.two { grid-template-columns: 1fr; } }
.pillar-top { border-top: 1px solid var(--line); padding-top: 22px; }

/* ---------- discipline cards ---------- */
.disciplines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.disciplines > a { display: grid; gap: 20px; text-decoration: none; color: inherit; min-width: 0; }
.disciplines > a:nth-child(2) { margin-top: clamp(0px, 6vw, 96px); }
.disciplines > a:nth-child(3) { margin-top: clamp(0px, 3vw, 48px); }
.disciplines .h3 { display: flex; gap: 12px; align-items: baseline; }
@media (max-width: 900px) { .disciplines { grid-template-columns: 1fr; } .disciplines > a:nth-child(n) { margin-top: 0; } }

/* ---------- selected work (editorial grid) ---------- */
.selected { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(36px, 5vw, 72px) var(--gap); }
.selected > a { text-decoration: none; color: inherit; display: grid; gap: 16px; align-content: start; min-width: 0; }
.selected .s1 { grid-column: 1 / span 7; }
.selected .s2 { grid-column: 9 / span 4; margin-top: clamp(0px, 10vw, 180px); }
.selected .s3 { grid-column: 2 / span 4; }
.selected .s4 { grid-column: 7 / span 6; margin-top: clamp(0px, 4vw, 64px); }
.selected .s5 { grid-column: 1 / span 6; }
.selected .s6 { grid-column: 8 / span 5; margin-top: clamp(0px, 8vw, 140px); }
@media (max-width: 900px) { .selected > a.s1, .selected > a.s2, .selected > a.s3, .selected > a.s4, .selected > a.s5, .selected > a.s6 { grid-column: 1 / -1; margin-top: 0; } }
.work-meta { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.work-meta .h3 { transition: color 0.3s; }
a:hover .work-meta .h3 { color: var(--accent); }
.work-sub { font-size: var(--fs-small); color: var(--muted); }

/* ---------- Dusk band ---------- */
.band { background: var(--band); color: var(--band-ink); position: relative; overflow: clip; }
.band .label { color: var(--band-accent); }
.band .lead, .band .caption, .band .unit { color: var(--band-muted); }
.band h1 em, .band h2 em, .band h3 em, .band .em, .band .statement em { color: var(--band-accent); }
.band .numeral, .band .roman { color: var(--band-accent); }
.band .hairline, .band .numbers, .band .pillar-top { border-color: var(--band-line); }
.band .link { color: var(--band-ink); }
.band .link:hover { color: var(--band-accent); }
.band .body, .band .small { color: var(--band-muted); }
.band .h3 { color: var(--band-ink); }
.band .btn { color: var(--band-ink); border-color: var(--band-ink); }
.band .btn:hover { background: var(--band-ink); color: var(--band); }

/* ---------- quotes ---------- */
.quote { display: grid; gap: 22px; justify-items: start; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.9rem, 4.2vw, 3.8rem); line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; max-width: 22ch; }
.quote.center { justify-items: center; text-align: center; }
.quote.center blockquote { max-width: 24ch; }
.quote cite { font-style: normal; font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.band .quote cite { color: var(--band-accent); }
.quote.small blockquote { font-size: clamp(1.4rem, 2.4vw, 2.1rem); max-width: 26ch; }
.quote .mark { font-family: var(--font-display); font-size: 5rem; line-height: 0.5; color: var(--accent); height: 0.45em; }

/* ---------- lists ---------- */
.rows > li { display: grid; grid-template-columns: minmax(0, 0.35fr) minmax(0, 1fr); gap: 8px var(--gap); padding-block: 18px; border-top: 1px solid var(--line); }
.rows > li:last-child { border-bottom: 1px solid var(--line); }
.rows .k { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.rows.simple > li { grid-template-columns: 1fr; padding-block: 14px; }
@media (max-width: 620px) { .rows > li { grid-template-columns: 1fr; } }
.qlist > li { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 6px 18px; padding-block: clamp(20px, 2.4vw, 30px); border-top: 1px solid var(--line); }
.qlist > li:last-child { border-bottom: 1px solid var(--line); }
.qlist .roman { padding-top: 6px; }
.qlist h3 { font-size: clamp(1.45rem, 2.4vw, 2.1rem); font-weight: 300; line-height: 1.15; }
.qlist p { grid-column: 2; color: var(--ink-2); max-width: 60ch; }
.dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); margin: 0; }
.dl > div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 4px 16px; padding-block: 14px; border-top: 1px solid var(--line); }
.dl dt { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.dl dd { margin: 0; font-size: var(--fs-small); }
.dl.one { grid-template-columns: 1fr; }
@media (max-width: 760px) { .dl { grid-template-columns: 1fr; } }
.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); }
.codes li { padding-block: 16px; border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--ink-2); }
.codes li b { color: var(--ink); font-weight: 700; }
@media (max-width: 760px) { .codes { grid-template-columns: 1fr; } }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 3vw, 44px) var(--gap); }
.metrics > div { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.metrics .numeral { font-size: clamp(2rem, 3.4vw, 3rem); }
@media (max-width: 760px) { .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .metrics { grid-template-columns: 1fr; } }

/* ---------- stages ---------- */
.stages { display: grid; gap: 0; counter-reset: st; }
.stages > li { display: grid; grid-template-columns: minmax(0, 0.2fr) minmax(0, 0.55fr) minmax(0, 1fr); gap: 10px var(--gap); padding-block: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); align-items: start; }
.stages > li:last-child { border-bottom: 1px solid var(--line); }
.stages .numeral { font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
.stages h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 300; line-height: 1.12; }
.stages .receive { display: grid; gap: 8px; }
.stages .receive .label { color: var(--muted); }
@media (max-width: 760px) { .stages > li { grid-template-columns: 1fr; } }

/* ---------- timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; border-top: 1px solid var(--line); }
.timeline > li { position: relative; display: grid; gap: 12px; padding-top: 34px; align-content: start; min-width: 0; }
.timeline > li::before { content: ""; position: absolute; left: 0; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--ground); border: 1px solid var(--accent); }
.timeline > li.is-now::before { background: var(--accent); }
.timeline .numeral { font-size: clamp(2rem, 3vw, 2.8rem); }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 5px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 1px solid var(--line); }
  .timeline > li { padding: 4px 0 30px 34px; }
  .timeline > li::before { top: 10px; }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(18px, 2.4vw, 30px); }
.marquee .track { display: flex; width: max-content; gap: 0; animation: marquee 80s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee .track span { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.8rem, 4vw, 3.4rem); white-space: nowrap; padding-right: 0.9em; letter-spacing: -0.01em; }
.marquee .track span::after { content: "\00B7"; color: var(--accent); padding-left: 0.9em; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- day ring ---------- */
.ring-wrap { position: relative; width: 100%; max-width: 560px; margin-inline: auto; }
.ring { width: 100%; height: auto; overflow: visible; }
.ring .tick { stroke: var(--ink); stroke-width: 1; }
.ring .tick.major { stroke: var(--accent); stroke-width: 1.4; }
.ring .rim { fill: none; stroke: var(--ink); stroke-width: 1; }
.ring .inner { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 5; }
.ring .hand { stroke: var(--accent); stroke-width: 1.2; transform-origin: 300px 300px; animation: hand 48s linear infinite; }
.ring .hub { fill: var(--accent); }
.ring .moment { cursor: pointer; }
.ring .moment .pt { fill: var(--ground); stroke: var(--accent); stroke-width: 1.2; transition: fill 0.3s; }
.ring .moment .hit { fill: transparent; stroke: none; pointer-events: all; }
.ring .moment text { fill: var(--ink-2); font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.ring .moment.is-on .pt, .ring .moment:hover .pt { fill: var(--accent); }
.ring .moment:focus-visible { outline: none; }
.ring .moment:focus-visible .pt { stroke-width: 3; }
.ring .centre-t { fill: var(--accent); font-family: var(--font-display); font-style: italic; font-size: 26px; }
@keyframes hand { to { transform: rotate(360deg); } }
.moment-caption { min-height: 6.5em; display: grid; gap: 8px; align-content: start; }

/* ---------- work filters + grid ---------- */
.filters { display: grid; gap: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 22px; }
.filters .group { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.filters .group .label { margin-right: 8px; min-width: 7.5em; color: var(--muted); }
.chip { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-2); padding: 8px 0; position: relative; }
.chip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.chip:hover { color: var(--ink); }
.chip[aria-pressed="true"] { color: var(--ink); }
.chip[aria-pressed="true"]::after { transform: scaleX(1); }
.chip sup { font-size: 0.7em; color: var(--muted); margin-left: 3px; font-weight: 600; }
.filters .bar { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.view-toggle { display: inline-flex; gap: 18px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4.5vw, 64px) var(--gap); margin-top: clamp(36px, 4vw, 56px); }
.cards > a { display: grid; gap: 14px; text-decoration: none; color: inherit; align-content: start; min-width: 0; }
.cards .h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); }
.cards .status { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.index-wrap { overflow-x: auto; margin-top: clamp(28px, 3vw, 44px); }
.index { width: 100%; border-collapse: collapse; font-size: var(--fs-small); min-width: 720px; font-variant-numeric: tabular-nums; }
.index th { text-align: left; font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); padding: 12px 14px 12px 0; border-bottom: 1px solid var(--ink); }
.index td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.index td.num, .index th.num { text-align: right; white-space: nowrap; }
.index td:first-child { font-family: var(--font-display); font-style: italic; color: var(--accent); width: 3.4em; }
.index a { text-decoration: none; font-weight: 700; }
.index tr:hover a { color: var(--accent); }
.empty-note { margin-top: 40px; color: var(--muted); font-family: var(--font-display); font-style: italic; font-size: 1.2rem; }
.is-filtering .cards > a { transition: opacity 0.4s; }

/* ---------- project page ---------- */
.project-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px) var(--gap); align-items: end; }
.project-head .ph-title { grid-column: 1 / span 8; display: grid; gap: 18px; }
.project-head .ph-num { grid-column: 9 / span 4; display: grid; gap: 10px; justify-items: start; }
@media (max-width: 900px) { .project-head .ph-title, .project-head .ph-num { grid-column: 1 / -1; } }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px) var(--gap); }
.gallery > figure { min-width: 0; }
.gallery .g-full { grid-column: 1 / -1; }
.gallery .g-wide { grid-column: span 7; }
.gallery .g-narrow { grid-column: span 5; }
.gallery .g-half { grid-column: span 6; }
.gallery .g-tall { grid-column: span 4; }
.gallery .g-tall-pair { grid-column: span 8; }
@media (max-width: 760px) { .gallery > figure.g-full, .gallery > figure.g-wide, .gallery > figure.g-narrow, .gallery > figure.g-half, .gallery > figure.g-tall, .gallery > figure.g-tall-pair { grid-column: 1 / -1; } }
.gallery button.open { display: block; width: 100%; text-align: left; cursor: zoom-in; }
.pn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); border-top: 1px solid var(--line); }
.pn a { display: grid; gap: 8px; padding-block: 28px; text-decoration: none; min-width: 0; }
.pn a + a { text-align: right; justify-items: end; border-left: 1px solid var(--line); padding-left: var(--gap); }
.pn a:hover .h3 { color: var(--accent); }
.pn .h3 { transition: color 0.3s; }
.note { border-left: 1px solid var(--accent); padding-left: 18px; color: var(--ink-2); font-size: var(--fs-small); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 80; background: var(--overlay); color: var(--overlay-ink); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s; padding: calc(12px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease); }
.lightbox .lb-top, .lightbox .lb-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 4px; }
.lightbox .lb-stage { display: grid; place-items: center; min-height: 0; position: relative; }
.lightbox .lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border: 10px solid #FFFFFF; box-sizing: border-box; }
.lightbox button { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--overlay-ink); padding: 12px 6px; }
.lightbox button:hover { color: var(--band-accent); }
.lightbox .lb-cap { font-family: var(--font-display); font-style: italic; color: var(--band-muted); font-size: 1rem; }
.lightbox .lb-count { font-family: var(--font-display); font-style: italic; color: var(--band-accent); }

/* ---------- contact ---------- */
.form { display: grid; gap: 22px; }
.form .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px var(--gap); }
@media (max-width: 620px) { .form .two { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink-2); padding: 12px 0; border-radius: 0; width: 100%; min-width: 0; transition: border-color 0.3s; -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 28px; }
.field select option { background: var(--ground); color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.8; }
.field .err { font-size: 0.85rem; color: var(--accent); min-height: 1.2em; }
.form-status { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--muted); min-height: 1.6em; }
.copy { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); padding: 6px 0; margin-left: 14px; }
.copy:hover { color: var(--ink); }
.contact-big { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.3; text-decoration: none; word-break: break-word; }
.contact-big:hover { color: var(--accent); }
.docs > li { border-top: 1px solid var(--line); }
.docs > li:last-child { border-bottom: 1px solid var(--line); }
.docs a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 18px; padding-block: 18px; text-decoration: none; align-items: baseline; }
.docs a .h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); transition: color 0.3s; }
.docs a:hover .h3 { color: var(--accent); }
.docs a .small { color: var(--muted); }
.docs a .dl-tag { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: baseline; padding-block: 20px; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-weight: 300; color: var(--accent); font-size: 1.4rem; transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--ink-2); max-width: 62ch; }

/* ---------- maps (constellation) ---------- */
.places-map { width: 100%; height: auto; overflow: visible; }
.places-map .grat { stroke: var(--line); stroke-width: 1; fill: none; stroke-dasharray: 1 6; }
.places-map .dot { fill: var(--accent); }
.places-map .halo { fill: none; stroke: var(--accent); stroke-width: 1; opacity: 0.6; }
.places-map .halo2 { fill: none; stroke: var(--line); stroke-width: 1; }
.places-map text { fill: var(--ink-2); font-family: var(--font-body); font-size: 12px; letter-spacing: 0.06em; }
.places-map text.big { font-family: var(--font-display); font-style: italic; font-size: 18px; fill: var(--ink); letter-spacing: 0; }
.places-map text.state { fill: var(--muted); font-size: 10px; letter-spacing: 0.22em; font-weight: 700; }
.places-map .lead-line { stroke: var(--muted); stroke-width: 0.8; }

/* ---------- footer ---------- */
.site-footer { background: var(--band); color: var(--band-ink); position: relative; overflow: clip; padding-top: clamp(80px, 10vw, 150px); padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
.site-footer .arcs circle { stroke: var(--band-line); }
.site-footer .f-cta { display: grid; gap: 28px; justify-items: start; }
.site-footer .f-cta .h1 em { color: var(--band-accent); }
.site-footer .btn { color: var(--band-ink); border-color: var(--band-ink); }
.site-footer .btn:hover { background: var(--band-ink); color: var(--band); }
.site-footer .f-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--gap); margin-top: clamp(64px, 8vw, 120px); padding-top: 32px; border-top: 1px solid var(--band-line); }
.site-footer .f-grid > div { display: grid; gap: 12px; align-content: start; min-width: 0; }
.site-footer .label { color: var(--band-accent); }
.site-footer a { text-decoration: none; color: var(--band-ink); }
.site-footer a:hover { color: var(--band-accent); }
.site-footer .f-grid p, .site-footer .f-grid li { color: var(--band-muted); font-size: var(--fs-small); }
.site-footer .f-grid li a { color: var(--band-ink); }
.site-footer .f-grid ul { display: grid; gap: 8px; }
.site-footer .f-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 88px); padding-top: 22px; border-top: 1px solid var(--band-line); font-size: 0.8rem; color: var(--band-muted); align-items: baseline; }
.site-footer .f-bottom .sig { font-family: var(--font-display); font-style: italic; color: var(--band-accent); font-size: 1.5rem; }
@media (max-width: 900px) { .site-footer .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .site-footer .f-grid { grid-template-columns: 1fr; } }

/* ---------- motion ---------- */
.js [data-reveal].is-armed { opacity: 0; transform: translateY(26px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .hero-title .l1, .js .hero-title .l2, .js .page-head .h1 { animation: rise 1.3s var(--ease) both; }
.js .hero-title .l2 { animation-delay: 0.12s; }
.js .hero .hero-body, .js .page-head .lead { animation: fade 1.4s var(--ease) 0.35s both; }
@keyframes rise { from { opacity: 0; transform: translateY(0.25em); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.draw circle, .draw path { stroke-dasharray: 2400; stroke-dashoffset: 0; }
.js .draw circle, .js .draw path.drawn { animation: draw 3.2s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 2400; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js [data-reveal].is-armed { opacity: 1; transform: none; }
  .marquee .track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding-inline: max(var(--pad-x), env(safe-area-inset-left, 0px)); }
  .marquee .track span { font-size: clamp(1.3rem, 2.4vw, 2rem); }
  .marquee .track span.dup { display: none; }
  .ring .hand { animation: none; }
}
@media print {
  .site-header, .menu, .lightbox, .filters, .theme-toggle { display: none !important; }
  .band, .site-footer { background: #FFFFFF; color: #272725; }
}

/* ---------- additions ---------- */
.site-footer .lead { color: var(--band-muted); }
.sectors > a { text-decoration: none; color: inherit; }
.sectors > a .h3 { transition: color 0.3s; }
.sectors > a:hover .h3 { color: var(--accent); }
.crumbs a { color: var(--accent); }
.index.crit { min-width: 640px; }
.index.crit td:first-child { font-family: var(--font-body); font-style: normal; color: var(--ink); width: 22%; }
.index.crit td:last-child { color: var(--muted); width: 18%; }
.stages.hc > li { grid-template-columns: minmax(0, 0.2fr) minmax(0, 0.55fr) minmax(0, 1fr); }
.hero-art figure { margin: 0; }
.band .timeline::before { border-color: var(--band-line); }
.band .timeline > li::before { background: var(--band); border-color: var(--band-accent); }
.band .timeline > li.is-now::before { background: var(--band-accent); }
.qlist.tight > li { padding-block: 14px; align-items: baseline; }
.qlist.tight > li > span:last-child { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.35; }
.numbers.compact { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: clamp(28px, 4vw, 64px); }
.numbers.compact .numeral { font-size: clamp(2.1rem, 3vw, 3rem); white-space: nowrap; }
@media (max-width: 760px) { .numbers.compact { grid-template-columns: repeat(3, auto); column-gap: 28px; } }
@media (max-width: 460px) { .numbers.compact { grid-template-columns: repeat(2, auto); row-gap: 24px; } }
.gallery > figure { grid-column: span var(--span, 12); }
.gallery > figure.g-full { grid-column: 1 / -1; }
@media (max-width: 600px) { .gallery > figure { grid-column: 1 / -1; } }
