:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-hero: clamp(3rem, 0.5rem + 7vw, 7.5rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  /* Darkroom palette: warm charcoal + golden-hour amber */
  --color-bg: oklch(0.155 0.006 70);
  --color-surface: oklch(0.195 0.007 70);
  --color-surface-2: oklch(0.235 0.008 70);
  --color-border: oklch(0.92 0.01 80 / 0.12);
  --color-text: oklch(0.93 0.01 80);
  --color-text-muted: oklch(0.74 0.012 80);
  --color-text-faint: oklch(0.58 0.01 80);
  --color-primary: oklch(0.8 0.125 72);
  --color-primary-hover: oklch(0.86 0.11 75);
  --color-on-primary: oklch(0.18 0.02 60);

  --font-display: 'Instrument Serif', 'Times New Roman', serif;
  --font-body: 'Switzer', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-interactive: 180ms var(--ease);
  --content: 1240px;
  color-scheme: dark;
}

/* base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: none; text-size-adjust: none; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; scroll-padding-top: var(--space-16); }
body { min-height: 100dvh; line-height: 1.6; font-family: var(--font-body); font-size: var(--text-base); color: var(--color-text); background: var(--color-bg); overflow-x: hidden; }
img, picture, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'] { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
h1, h2, h3 { text-wrap: balance; line-height: 1.1; font-weight: 400; }
p, li { text-wrap: pretty; }
a { color: inherit; }
::selection { background: oklch(0.8 0.125 72 / 0.3); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }
a, button { transition: color var(--transition-interactive), background var(--transition-interactive), border-color var(--transition-interactive), opacity var(--transition-interactive); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } .pulses { display: none; } }

.skip { position: absolute; left: var(--space-4); top: -100px; z-index: 100; background: var(--color-primary); color: var(--color-on-primary); padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); }
.skip:focus { top: var(--space-4); }

.container { width: min(100% - 2 * clamp(var(--space-5), 5vw, var(--space-16)), var(--content)); margin-inline: auto; }
.mono { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.02em; }
.eyebrow { font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-primary); margin-bottom: var(--space-4); }
.section { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); }
.section-title { font-family: var(--font-display); font-size: var(--text-2xl); letter-spacing: -0.01em; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 46px; padding: var(--space-3) var(--space-6); border-radius: 999px; font-size: var(--text-sm); font-weight: 500; text-decoration: none; border: 1px solid transparent; }
.btn--primary { background: var(--color-primary); color: var(--color-on-primary); }
.btn--primary:hover { background: var(--color-primary-hover); }
.btn--ghost { border-color: oklch(0.93 0.01 80 / 0.35); color: var(--color-text); }
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 300ms var(--ease), backdrop-filter 300ms var(--ease), transform 300ms var(--ease); }
.header.is-scrolled { background: oklch(0.155 0.006 70 / 0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--color-border); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { width: min(100% - 2 * clamp(var(--space-5), 5vw, var(--space-16)), var(--content)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.wordmark { font-family: var(--font-display); font-size: 1.5rem; text-decoration: none; letter-spacing: 0.01em; }
.nav-list { display: flex; gap: var(--space-8); }
.nav-list a { font-size: var(--text-sm); text-decoration: none; color: var(--color-text-muted); padding-block: var(--space-2); }
.nav-list a:hover, .nav-list a.is-current { color: var(--color-text); }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-list--static { position: static; flex-direction: row; background: none; border: 0; padding: 0; transform: none; opacity: 1; pointer-events: auto; }
  .nav-list--static a { border: 0; font-size: var(--text-sm); }
  .nav-list { position: fixed; inset: 68px 0 auto; flex-direction: column; gap: 0; background: var(--color-bg); border-bottom: 1px solid var(--color-border); padding: var(--space-2) var(--space-6) var(--space-6); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
  .nav-list.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-list a { display: block; padding-block: var(--space-4); font-size: var(--text-base); border-bottom: 1px solid var(--color-border); }
}

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero picture, .hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -2; }
.hero__img { animation: heroZoom 18s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, oklch(0.155 0.006 70) 0%, oklch(0.155 0.006 70 / 0.75) 30%, oklch(0.155 0.006 70 / 0.15) 65%, oklch(0.155 0.006 70 / 0.45) 100%); }
.hero__content { padding-bottom: clamp(var(--space-16), 10vh, var(--space-32)); padding-top: var(--space-32); }
.hero__title { font-family: var(--font-display); font-size: clamp(2.75rem, 0.5rem + 6vw, 6.5rem); line-height: 0.95; letter-spacing: -0.02em; max-width: 18ch; }
.hero__title em { color: var(--color-primary); font-style: italic; }
.hero__lead { margin-top: var(--space-6); max-width: 54ch; color: var(--color-text-muted); font-size: var(--text-base); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.hero__credit { position: absolute; right: clamp(var(--space-5), 5vw, var(--space-16)); bottom: var(--space-6); color: var(--color-text-faint); writing-mode: vertical-rl; transform: rotate(180deg); }
@media (max-width: 700px) { .hero__credit { display: none; } }

/* photography */
.photo__head { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(var(--space-8), 6vw, var(--space-20)); align-items: end; margin-bottom: var(--space-12); }
.photo__intro p { color: var(--color-text-muted); }
.stats { display: flex; gap: clamp(var(--space-6), 4vw, var(--space-12)); margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--color-border); }
.stats dt { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-text-faint); text-transform: uppercase; letter-spacing: 0.08em; order: 2; }
.stats div { display: flex; flex-direction: column-reverse; gap: var(--space-1); }
.stats dd { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1; }
@media (max-width: 860px) { .photo__head { grid-template-columns: 1fr; } }

.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-8); }
.chip { min-height: 44px; padding: var(--space-2) var(--space-5); border-radius: 999px; border: 1px solid var(--color-border); font-size: var(--text-sm); color: var(--color-text-muted); }
.chip:hover { color: var(--color-text); border-color: oklch(0.93 0.01 80 / 0.35); }
.chip.is-active { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }

.gallery { columns: 3 300px; column-gap: var(--space-4); }
.gallery li { break-inside: avoid; margin-bottom: var(--space-4); animation: fadeIn 500ms var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tile { position: relative; display: block; width: 100%; overflow: hidden; border-radius: var(--radius-sm); background: var(--color-surface); }
.tile img { width: 100%; height: auto; transition: transform 700ms var(--ease), filter 400ms var(--ease); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, oklch(0.1 0 0 / 0.75), transparent 45%); opacity: 0; transition: opacity 300ms var(--ease); }
.tile__cap { position: absolute; left: var(--space-4); right: var(--space-4); bottom: var(--space-3); z-index: 1; text-align: left; font-size: var(--text-sm); font-weight: 500; opacity: 0; transform: translateY(6px); transition: opacity 300ms var(--ease), transform 300ms var(--ease); }
.tile__cap small { display: block; font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 400; color: var(--color-text-muted); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.035); }
.tile:hover::after, .tile:focus-visible::after, .tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; transform: none; }
@media (hover: none) { .tile::after, .tile__cap { opacity: 1; transform: none; } }

.photo__more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-10); padding-top: var(--space-8); border-top: 1px solid var(--color-border); }
.photo__more p { color: var(--color-text-muted); }

/* divider */
.divider { position: relative; height: clamp(360px, 70vh, 680px); overflow: hidden; display: flex; align-items: center; }
.divider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.divider::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, oklch(0.12 0.01 260 / 0.85), oklch(0.12 0.01 260 / 0.2) 70%), linear-gradient(to bottom, var(--color-bg), transparent 18%, transparent 82%, var(--color-bg)); }
.divider figcaption { position: relative; z-index: 2; }
.divider__quote { font-family: var(--font-display); font-style: italic; font-size: var(--text-xl); line-height: 1.25; max-width: 24ch; }

/* network */
.net { background: var(--color-bg); }
.net__head { max-width: 760px; margin-bottom: var(--space-12); }
.net__lead { margin-top: var(--space-6); color: var(--color-text-muted); }
.net__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-6), 4vw, var(--space-12)); align-items: start; }
.net__grid > * { min-width: 0; }
@media (max-width: 960px) { .net__grid { grid-template-columns: 1fr; } }

.topo { position: sticky; top: 96px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-4); color: var(--color-text); }
@media (max-width: 960px) { .topo { position: relative; top: 0; } }
#topo { width: 100%; }
#topo text { fill: var(--color-text); font-family: var(--font-body); font-size: 15px; font-weight: 500; }
#topo text.sub { fill: var(--color-text-faint); font-size: 10.5px; font-weight: 400; font-family: var(--font-mono); }
#topo text.sm { font-size: 12.5px; }
#topo .vlans text { fill: var(--color-text-faint); }
.node rect { fill: var(--color-surface-2); stroke: oklch(0.93 0.01 80 / 0.22); stroke-width: 1; transition: fill 300ms var(--ease), stroke 300ms var(--ease); }
.node, .link { transition: opacity 300ms var(--ease); }
.link { stroke: oklch(0.93 0.01 80 / 0.25); transition: stroke 300ms var(--ease), opacity 300ms var(--ease); }
.pulse { fill: var(--color-primary); transition: opacity 300ms var(--ease); }
#topo[data-active] .pulse { opacity: 0; }
#topo[data-active] .pulse.is-on { opacity: 1; }
.gallery__more { display: flex; justify-content: center; margin-top: var(--space-6); }
.gallery__more [hidden] { display: none; }
#topo[data-active] .node, #topo[data-active] .link { opacity: 0.32; }
#topo[data-active] .node.is-on, #topo[data-active] .link.is-on { opacity: 1; }
#topo .node.is-on rect { stroke: var(--color-primary); fill: oklch(0.8 0.125 72 / 0.12); }
#topo .link.is-on { stroke: var(--color-primary); }

.tabs { display: flex; flex-wrap: wrap; gap: var(--space-1); padding: var(--space-1); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 999px; margin-bottom: var(--space-8); width: fit-content; max-width: 100%; }
.tabs button { min-height: 44px; padding: var(--space-2) var(--space-5); border-radius: 999px; font-size: var(--text-sm); color: var(--color-text-muted); }
.tabs button:hover { color: var(--color-text); }
.tabs button[aria-selected='true'] { background: var(--color-primary); color: var(--color-on-primary); font-weight: 500; }
.panel h3 { font-family: var(--font-display); font-size: var(--text-xl); margin-bottom: var(--space-3); }
.panel > p { color: var(--color-text-muted); }
.panel:not([hidden]) { animation: fadeIn 400ms var(--ease) both; }
.ticks { margin-block: var(--space-6); display: grid; gap: var(--space-2); }
.ticks li { position: relative; padding-left: var(--space-6); font-size: var(--text-sm); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 10px; height: 1px; background: var(--color-primary); }
.code { font-family: var(--font-mono); font-size: 0.8125rem; line-height: 1.65; background: oklch(0.12 0.006 70); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-5); overflow-x: auto; color: oklch(0.86 0.04 140); tab-size: 4; }
.code .c { color: var(--color-text-faint); }

/* about */
.about { background: var(--color-surface); }
.about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(var(--space-8), 6vw, var(--space-20)); align-items: center; }
.about__img { max-width: 520px; }
.about__img img { width: 100%; border-radius: var(--radius-sm); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%; }
.about__img figcaption { margin-top: var(--space-3); color: var(--color-text-faint); }
.about__text p:not(.eyebrow) { color: var(--color-text-muted); margin-top: var(--space-5); }
.about__text .section-title { margin-bottom: var(--space-2); }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } }

/* contact */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-8), 6vw, var(--space-20)); align-items: end; }
.contact__inner > div p:not(.eyebrow) { color: var(--color-text-muted); margin-top: var(--space-5); max-width: 46ch; }
.contact__list li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); padding-block: var(--space-4); border-bottom: 1px solid var(--color-border); }
.contact__list li:first-child { border-top: 1px solid var(--color-border); }
.contact__list .mono { color: var(--color-text-faint); text-transform: uppercase; letter-spacing: 0.08em; }
.contact__list a { text-decoration: none; font-size: var(--text-base); overflow-wrap: anywhere; text-align: right; }
.contact__list a:hover { color: var(--color-primary); }
@media (max-width: 860px) { .contact__inner { grid-template-columns: 1fr; } }

.footer { border-top: 1px solid var(--color-border); padding-block: var(--space-8); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); font-size: var(--text-xs); color: var(--color-text-faint); }

/* lightbox */
.lightbox { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; border: 0; background: oklch(0.08 0.004 70 / 0.96); color: var(--color-text); display: none; align-items: center; justify-content: center; padding: var(--space-6); }
.lightbox[open] { display: flex; animation: fadeIn 250ms var(--ease) both; }
.lightbox::backdrop { background: transparent; }
.lb-figure { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); max-width: 100%; }
.lb-figure img { max-width: min(92vw, 1600px); max-height: calc(100dvh - 160px); width: auto; height: auto; object-fit: contain; border-radius: var(--radius-sm); }
.lb-figure figcaption { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); align-items: baseline; justify-content: center; text-align: center; font-size: var(--text-sm); }
.lb-figure figcaption span { color: var(--color-text-muted); }
.lb-figure #lb-count { color: var(--color-text-faint); }
.lb-btn { position: absolute; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: oklch(0.93 0.01 80 / 0.08); }
.lb-btn:hover { background: oklch(0.93 0.01 80 / 0.18); }
.lb-close { top: var(--space-4); right: var(--space-4); }
.lb-prev { left: var(--space-4); top: 50%; transform: translateY(-50%); }
.lb-next { right: var(--space-4); top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) { .lb-prev, .lb-next { top: auto; bottom: var(--space-4); transform: none; } .lb-figure img { max-height: calc(100dvh - 200px); } }
@media (max-width: 560px) {
  .tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: var(--radius-lg); }
  .tabs button { border-radius: calc(var(--radius-lg) - var(--space-1)); }
}

/* structural engineering */
.struct__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(var(--space-8), 6vw, var(--space-20)); align-items: start; }
.struct__img { position: sticky; top: 96px; }
.struct__img img { width: 100%; border-radius: var(--radius-sm); aspect-ratio: 2 / 3; object-fit: cover; }
.struct__img figcaption, .struct__strip figcaption { margin-top: var(--space-3); color: var(--color-text-faint); }
.struct__lead { margin-top: var(--space-6); color: var(--color-text-muted); }
.facts { margin-top: var(--space-8); border-top: 1px solid var(--color-border); }
.facts div { display: grid; grid-template-columns: 9rem 1fr; gap: var(--space-4); padding-block: var(--space-3); border-bottom: 1px solid var(--color-border); }
.facts dt { font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-faint); padding-top: 0.2em; }
.facts dd { font-size: var(--text-sm); }
.facts a { text-decoration: underline; text-decoration-color: oklch(0.8 0.125 72 / 0.5); text-underline-offset: 3px; }
.facts a:hover { color: var(--color-primary); }
.struct__sub { font-family: var(--font-body); font-weight: 600; font-size: var(--text-lg); margin-top: var(--space-10); }
.struct__company { color: var(--color-text-faint); font-size: var(--text-sm); }
@media (max-width: 860px) {
  .struct__grid { grid-template-columns: 1fr; }
  .struct__img { position: relative; top: 0; max-width: 420px; }
  .facts div { grid-template-columns: 1fr; gap: var(--space-1); }
}

.beam { margin-top: clamp(var(--space-12), 7vw, var(--space-24)); display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(var(--space-6), 4vw, var(--space-12)); align-items: center; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: clamp(var(--space-6), 4vw, var(--space-10)); }
.beam > * { min-width: 0; }
.beam__intro .struct__sub { margin-top: 0; }
.beam__intro p:not(.eyebrow) { color: var(--color-text-muted); font-size: var(--text-sm); margin-top: var(--space-3); }
.beam__intro var { font-family: var(--font-display); font-style: italic; font-size: 1.15em; color: var(--color-text); }
.beam__label { display: block; margin-top: var(--space-6); font-size: var(--text-sm); }
.beam__label output { font-family: var(--font-mono); color: var(--color-primary); }
#beam-a { width: 100%; margin-top: var(--space-3); accent-color: var(--color-primary); height: 32px; cursor: grab; }
.beam__res { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: var(--space-6); margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--color-border); }
.beam__res dt { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-text-faint); }
.beam__res dd { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.1; white-space: nowrap; }
.beam__res dd output { font-variant-numeric: tabular-nums; }
.beam__svg { width: 100%; color: var(--color-primary); }
.beam__svg text { font-family: var(--font-mono); font-size: 13px; fill: var(--color-text-muted); }
.beam__load text { fill: var(--color-primary); }
.beam__bar { fill: var(--color-text); }
.beam__sup { fill: none; stroke: var(--color-text-muted); stroke-width: 1.5; }
.beam__ground, .beam__axis { stroke: var(--color-text-faint); stroke-width: 1; }
.beam__dim { stroke: var(--color-text-faint); stroke-width: 1; }
.beam__lbl { fill: var(--color-text) !important; }
.beam__mom { fill: oklch(0.8 0.125 72 / 0.16); stroke: var(--color-primary); stroke-width: 1.5; stroke-linejoin: round; }
.beam__momt { fill: var(--color-primary) !important; }
@media (max-width: 960px) { .beam { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .beam__res { grid-template-columns: 1fr 1fr; } }

.struct__strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--space-4); margin-top: clamp(var(--space-10), 5vw, var(--space-16)); }
.struct__strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
@media (max-width: 760px) { .struct__strip { grid-template-columns: 1fr 1fr; } .struct__strip figure:first-child { grid-column: 1 / -1; } }

.footer__links { display: flex; gap: var(--space-6); }
.footer__links a { text-decoration: none; color: var(--color-text-muted); }
.footer__links a:hover { color: var(--color-primary); }
.footer__inner { align-items: center; }

/* legal pages */
.legal { padding-top: calc(68px + clamp(var(--space-12), 7vw, var(--space-20))); padding-bottom: clamp(var(--space-16), 8vw, var(--space-24)); }
.legal__inner { max-width: 760px; }
.legal h1 { font-family: var(--font-display); font-size: var(--text-2xl); margin-bottom: var(--space-8); }
.legal h2 { font-family: var(--font-body); font-weight: 600; font-size: var(--text-lg); margin-top: var(--space-10); margin-bottom: var(--space-3); }
.legal p, .legal li { color: var(--color-text-muted); }
.legal p + p { margin-top: var(--space-3); }
.legal ul { margin: var(--space-3) 0 0 var(--space-5); display: grid; gap: var(--space-1); }
.legal a { color: var(--color-text); text-decoration: underline; text-decoration-color: oklch(0.8 0.125 72 / 0.5); text-underline-offset: 3px; }
.legal a:hover { color: var(--color-primary); }
.legal address { font-style: normal; color: var(--color-text); }
.legal .stand { margin-top: var(--space-12); font-size: var(--text-xs); color: var(--color-text-faint); }
.header.is-solid { background: oklch(0.155 0.006 70 / 0.92); border-bottom: 1px solid var(--color-border); }
