:root {
  --ink-900: #0E2B24;
  --ink-800: #143A30;
  --ink-700: #1B4A3D;
  --sand: #C8A45C;
  --sand-soft: #E7D8B4;
  --cyan: #35E0D0;
  --coral: #FF6B4A;
  --paper: #F7F3E9;
  --fog: #D8D2C4;
  --char: #151A16;
  --slate: #4C6B62;
  --mist: #EDEFE6;
  --header-h: 76px;
  --font-display: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans: var(--font-display);
  --font-mono: "SFMono-Regular", "JetBrains Mono", "Roboto Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --r-pill: 999px;
  --shadow: 0 24px 60px -34px rgba(14, 43, 36, .5);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --fs-display: clamp(2.5rem, 6.4vw, 5.5rem);
  --fs-h1: clamp(2rem, 4.2vw, 3.5rem);
  --fs-h2: clamp(1.6rem, 3vw, 2.5rem);
  --fs-h3: clamp(1.15rem, 1.8vw, 1.5rem);
  --fs-body: clamp(1rem, 1.05vw, 1.125rem);
  --fs-sm: .875rem;
  --fs-xs: .75rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--char);
  background-color: var(--paper);
  background-image: linear-gradient(to right, rgba(21, 26, 22, .045) 1px, transparent 1px);
  background-size: 120px 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.015em;
  color: inherit;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { margin: 0; }

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

::selection {
  background: var(--sand-soft);
  color: var(--ink-900);
}

:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

#main-content { scroll-margin-top: calc(var(--header-h) + 16px); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 48px);
}

.container--narrow { max-width: 820px; }
.container--wide { max-width: 1440px; }

.section { padding-block: clamp(48px, 7vw, 96px); }
.section--ink { background: var(--ink-900); color: var(--paper); }
.section--sand { background: var(--sand-soft); color: var(--char); }
.section--mist { background: var(--mist); color: var(--char); }
.section--ink .eyebrow { color: var(--sand); }
.section--ink .prose { color: rgba(247, 243, 233, .86); }
.section--ink .prose a { color: var(--sand-soft); }

.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 28px);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--fog);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--slate);
}

.eyebrow--light { color: rgba(200, 164, 92, .92); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}

.btn--solid {
  background: var(--sand);
  color: var(--ink-900);
  box-shadow: 0 12px 28px -18px rgba(200, 164, 92, .9);
}

.btn--solid:hover { background: #D7B671; }
.btn--solid:active { transform: translateY(1px); }

.btn--ghost {
  border-color: rgba(247, 243, 233, .32);
  color: var(--paper);
}

.btn--ghost:hover {
  background: rgba(247, 243, 233, .1);
  border-color: rgba(200, 164, 92, .8);
  color: var(--paper);
}

.btn--ink {
  background: var(--ink-900);
  color: var(--paper);
}

.btn--ink:hover { background: var(--ink-700); }

.btn--outline {
  border-color: var(--ink-900);
  color: var(--ink-900);
}

.btn--outline:hover {
  background: var(--ink-900);
  color: var(--paper);
}

/* ---------- tags & dots ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.5;
  white-space: nowrap;
}

.tag--sand { background: var(--sand-soft); color: #3A2E14; }
.tag--cyan { background: var(--cyan); color: #04231F; }
.tag--coral { background: var(--coral); color: #2A0A03; }
.tag--fog { background: var(--fog); color: var(--ink-900); }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}

.dot--cyan { background: var(--cyan); box-shadow: 0 0 0 4px rgba(53, 224, 208, .18); }
.dot--coral { background: var(--coral); box-shadow: 0 0 0 4px rgba(255, 107, 74, .16); }
.dot--sand { background: var(--sand); box-shadow: 0 0 0 4px rgba(200, 164, 92, .18); }

/* ---------- breadcrumb ---------- */
.breadcrumb {
  font-size: var(--fs-sm);
  color: var(--slate);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}

.breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; }

.breadcrumb__link {
  color: var(--slate);
  transition: color .16s var(--ease);
}

.breadcrumb__link:hover { color: var(--ink-900); }

.breadcrumb__sep {
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: 12px;
}

.breadcrumb__item--current {
  color: var(--char);
  font-weight: 700;
}

/* ---------- prose ---------- */
.prose {
  max-width: 70ch;
  font-size: var(--fs-body);
  line-height: 1.78;
  color: var(--char);
}

.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.9em; font-size: var(--fs-h3); }
.prose h3 { margin-top: 1.6em; font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose a {
  color: var(--ink-800);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--sand);
  text-decoration-thickness: 2px;
}
.prose a:hover { color: var(--ink-900); }
.prose strong { font-weight: 800; color: var(--ink-900); }
.prose hr { border: 0; height: 1px; background: var(--fog); margin-block: 2em; }

/* ---------- cards / panel / stat ---------- */
.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--paper);
  border: 1px solid var(--fog);
  border-radius: var(--r-md);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(200, 164, 92, .7);
}

.card--ink {
  background: var(--ink-800);
  border-color: rgba(247, 243, 233, .14);
  color: var(--paper);
}

.card--ink .card__meta { color: rgba(247, 243, 233, .62); }
.card--ink .card__link { color: var(--sand); }

.card__index {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--sand);
}

.card__title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.card__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .06em;
  color: var(--slate);
}

.card__body {
  font-size: 15px;
  line-height: 1.72;
  color: inherit;
  opacity: .92;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink-800);
}

.card__link::after {
  content: "→";
  transition: transform .18s var(--ease);
}

.card__link:hover::after,
.card:hover .card__link::after { transform: translateX(4px); }

.panel {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px);
  background: var(--ink-900);
  color: var(--paper);
  border-radius: var(--r-lg);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: clamp(14px, 2vw, 22px) 0;
}

.stat__num {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--sand);
}

.stat__label {
  font-size: var(--fs-sm);
  color: var(--slate);
}

.section--ink .stat__label { color: rgba(247, 243, 233, .64); }

/* ---------- media ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-md);
  background: var(--ink-800);
}

.media img,
.media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(247, 243, 233, .26);
  border-radius: calc(var(--r-md) - 8px);
  pointer-events: none;
  z-index: 2;
}

.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 3 / 4; }

.media__tag {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 3;
}

.media__caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--slate);
}

/* ---------- tabs ---------- */
.tabs { display: grid; gap: 20px; }

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--fog);
}

.tabs__tab {
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--slate);
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.tabs__tab:hover {
  color: var(--ink-900);
  background: rgba(21, 26, 22, .06);
}

.tabs__tab[aria-selected="true"] {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--paper);
}

.tabs__panel { outline: none; }
.tabs__panel[hidden] { display: none; }

.section--ink .tabs__list { border-bottom-color: rgba(247, 243, 233, .18); }
.section--ink .tabs__tab { color: rgba(247, 243, 233, .7); }
.section--ink .tabs__tab:hover { color: var(--paper); background: rgba(247, 243, 233, .1); }
.section--ink .tabs__tab[aria-selected="true"] { background: var(--sand); border-color: var(--sand); color: var(--ink-900); }

/* ---------- reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: var(--ink-900);
  background-image: repeating-linear-gradient(90deg, rgba(247, 243, 233, .035) 0 1px, transparent 1px 88px);
  color: var(--paper);
  border-bottom: 1px solid rgba(247, 243, 233, .12);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -72px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--cyan);
  color: #04231F;
  font-size: 14px;
  font-weight: 800;
  transition: top .16s var(--ease);
}

.skip-link:focus { top: 12px; }

.site-header__bar {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  width: 100%;
  max-width: 1440px;
  height: var(--header-h);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 40px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--sand);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 11px 100%, 0 calc(100% - 11px));
  transition: background-color .18s var(--ease);
}

.brand:hover .brand__mark { background: var(--sand-soft); }

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
  min-width: 0;
}

.brand__name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--paper);
  transition: color .18s var(--ease);
  white-space: nowrap;
}

.brand:hover .brand__name { color: var(--sand); }

.brand__meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(200, 164, 92, .86);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 3;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(247, 243, 233, .24);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}

.nav-toggle:hover {
  background: rgba(247, 243, 233, .1);
  border-color: rgba(200, 164, 92, .7);
}

.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.site-header[data-open] .nav-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 24px);
  margin-left: auto;
}

.site-nav__list {
  counter-reset: nav-index;
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav__item {
  counter-increment: nav-index;
  position: relative;
}

.site-nav__link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 12px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  color: rgba(247, 243, 233, .76);
  white-space: nowrap;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}

.site-nav__link::before {
  content: counter(nav-index, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(200, 164, 92, .58);
  transition: color .18s var(--ease);
}

.site-nav__link:hover {
  color: var(--paper);
  background: rgba(247, 243, 233, .08);
}

.site-nav__link:hover::before { color: var(--cyan); }

.site-nav__link[aria-current="page"] {
  color: var(--sand);
  background: rgba(200, 164, 92, .15);
  box-shadow: inset 0 -2px 0 var(--cyan);
}

.site-nav__link[aria-current="page"]::before { color: var(--sand); }

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 4px;
  padding-left: clamp(10px, 1.4vw, 20px);
  border-left: 1px solid rgba(247, 243, 233, .16);
}

.nav-scrim {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 1;
  background: rgba(6, 18, 15, .62);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s var(--ease), visibility .22s var(--ease);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(247, 243, 233, .12);
  overflow: hidden;
}

.scroll-progress__fill {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--sand), var(--cyan));
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
  transition: transform .12s linear;
}

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 72px) 0;
  background-color: var(--ink-900);
  background-image: repeating-linear-gradient(90deg, rgba(247, 243, 233, .04) 0 1px, transparent 1px 120px);
  color: rgba(247, 243, 233, .8);
}

.site-footer__inner {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 48px);
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) repeat(2, minmax(110px, .62fr)) minmax(230px, 1.15fr);
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(32px, 5vw, 56px);
  border-bottom: 1px solid rgba(247, 243, 233, .16);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-brand__name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--paper);
}

.footer-brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(200, 164, 92, .62);
  color: var(--sand);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}

.footer-brand__line {
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(247, 243, 233, .66);
}

.footer-col__title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sand);
}

.footer-col__list {
  display: grid;
  gap: 10px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  color: rgba(247, 243, 233, .74);
  transition: color .16s var(--ease);
}

.footer-link::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex: none;
  background: rgba(200, 164, 92, .55);
  transition: background-color .16s var(--ease);
}

.footer-link:hover { color: var(--paper); }
.footer-link:hover::before { background: var(--cyan); }
.footer-link[aria-current="page"] { color: var(--sand); }

.footer-contact {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-contact__row {
  display: grid;
  gap: 2px;
}

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(200, 164, 92, .78);
}

.footer-contact__value {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(247, 243, 233, .87);
  word-break: break-word;
}

.footer-contact__note {
  padding-left: 12px;
  border-left: 2px solid rgba(200, 164, 92, .45);
  font-size: 13px;
  line-height: 1.72;
  color: rgba(247, 243, 233, .56);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  padding-block: 20px 26px;
  font-size: 13px;
  color: rgba(247, 243, 233, .52);
}

.footer-legal__copy { color: rgba(247, 243, 233, .6); }

.footer-legal__icp {
  font-family: var(--font-mono);
  letter-spacing: .04em;
  color: rgba(247, 243, 233, .55);
}

.footer-legal__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-legal__link {
  color: rgba(247, 243, 233, .7);
  text-decoration: underline;
  text-decoration-color: rgba(200, 164, 92, .5);
  text-underline-offset: 3px;
  transition: color .16s var(--ease), text-decoration-color .16s var(--ease);
}

.footer-legal__link:hover {
  color: var(--paper);
  text-decoration-color: var(--cyan);
}

.to-top {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(247, 243, 233, .24);
  font-size: 13px;
  font-weight: 700;
  color: rgba(247, 243, 233, .82);
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}

.to-top::after { content: "↑"; }

.to-top:hover {
  background: rgba(200, 164, 92, .18);
  border-color: rgba(200, 164, 92, .7);
  color: var(--paper);
}

.footer-mark {
  margin-top: 6px;
  padding-inline: clamp(18px, 4vw, 48px);
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(44px, 13vw, 168px);
  font-weight: 900;
  line-height: .86;
  letter-spacing: -.02em;
  color: rgba(200, 164, 92, .09);
  pointer-events: none;
  user-select: none;
}

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }

  .nav-scrim { display: block; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    z-index: 2;
    width: min(400px, 90vw);
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px clamp(18px, 4vw, 28px) 36px;
    overflow-y: auto;
    background-color: var(--ink-800);
    border-left: 1px solid rgba(247, 243, 233, .14);
    box-shadow: -34px 0 70px -40px rgba(0, 0, 0, .8);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .22s var(--ease), visibility .22s var(--ease);
  }

  .site-header[data-open] .site-nav { transform: none; visibility: visible; }
  .site-header[data-open] .nav-scrim { opacity: 1; visibility: visible; }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-nav__link {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 12px;
    border-radius: 14px;
    font-size: 17px;
  }

  .site-nav__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-left: 0;
    margin-top: 20px;
    padding-top: 20px;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(247, 243, 233, .16);
  }

  .site-nav__actions .btn {
    justify-content: center;
    padding: 13px 18px;
  }

  .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body { background-size: 80px 100%; }
}

@media (max-width: 820px) {
  :root { --header-h: 64px; }

  .site-header__bar { gap: 10px; }
  .brand__mark { width: 36px; height: 36px; font-size: 11.5px; }
  .brand__name { font-size: 15.5px; }
  .brand__meta { font-size: 9.5px; letter-spacing: .16em; }

  .footer-legal { font-size: 12.5px; }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }

  .site-footer__top { grid-template-columns: minmax(0, 1fr); gap: 28px; }

  .tabs__list { gap: 6px; }
  .tabs__tab { padding: 8px 14px; font-size: 14px; }

  .to-top { margin-left: 0; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 10px; }

  .media::after { inset: 8px; }
}

@media (max-width: 560px) {
  .nav-toggle__text { display: none; }
  .nav-toggle { width: 44px; height: 44px; justify-content: center; padding: 0; }
  .brand__meta { display: none; }
  .footer-brand__line { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .card:hover { transform: none; }
  .scroll-progress__fill { transition: none; }
}
