/* ============================================================
   MERIDIAN v3 — Universal Brand House
   Palette: dark ink + ivory + brass. No cinnabar red.
   ============================================================ */

:root {
  /* palette */
  --paper: #0d0c0a;         /* base background — near black */
  --paper-2: #141210;       /* elevated bg */
  --paper-3: #1c1a17;       /* card / panel */
  --paper-line: #2a2723;    /* hairlines on dark */
  --paper-rgb: 13, 12, 10;  /* rgb of --paper for rgba() */

  --ink: #efe8d8;           /* foreground / ivory */
  --ink-2: #d4ccb8;         /* softer ivory */
  --ink-3: #928872;         /* muted */
  --ink-4: #5c5749;         /* dimmest legible */

  --brass: #c8b68a;         /* the one accent */
  --brass-2: #a08d5f;

  /* type */
  --font-display: 'Fraunces', 'Songti SC', 'STSong', 'SimSun', 'Noto Serif SC', Georgia, serif;
  --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', sans-serif;
  --font-cjk-display: 'Songti SC', 'STSong', 'SimSun', 'Noto Serif SC', 'Fraunces', serif;

  /* scale */
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: 1.75rem;
  --step-4: 2.25rem;
  --step-5: 3rem;
  --step-6: 4.5rem;
  --step-7: 6.5rem;
  --step-8: 9rem;

  /* rhythm */
  --gutter: clamp(1.5rem, 4vw, 4rem);
  --sec-y: clamp(5rem, 9vw, 9rem);
  --content-max: 1440px;

  /* micro */
  --line-1: 1px solid var(--paper-line);
  --line-ink: 1px solid rgba(239, 232, 216, 0.15);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html[lang='zh'] {
  --font-display: 'Songti SC', 'STSong', 'SimSun', 'Noto Serif SC', 'Fraunces', serif;
  --font-body: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Space Grotesk', sans-serif;
}

/* ---------- LIGHT MODE ---------- */
html[data-theme='light'] {
  --paper:      #f5f0e4;   /* warm ivory */
  --paper-2:    #ece5d3;   /* elevated */
  --paper-3:    #e2dac4;   /* card */
  --paper-line: #d1c9b0;   /* hairlines */
  --paper-rgb:  245, 240, 228;

  --ink:   #1c1a15;         /* deep espresso */
  --ink-2: #3a352b;
  --ink-3: #6b6455;         /* muted */
  --ink-4: #8f8778;

  --brass:   #8a7444;       /* deeper brass for contrast on cream */
  --brass-2: #6a5730;

  --line-ink: 1px solid rgba(28, 26, 21, 0.15);
}
html[data-theme='light'] ::selection { background: var(--brass); color: #fff; }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

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

/* Prevent long tokens/URLs from establishing min-content wider than viewport */
p, h1, h2, h3, h4, h5, h6, li, dt, dd, blockquote, cite, a, span { overflow-wrap: anywhere; word-break: normal; }

/* Grid/flex children default to min-width:auto which lets min-content push tracks. Reset. */
[class*='__grid'] > *, [class*='__list'] > * { min-width: 0; }

a { color: inherit; text-decoration: none; transition: opacity 0.3s var(--ease); }
a:hover { opacity: 0.7; }

::selection { background: var(--brass); color: var(--paper); }

/* ---------- CURTAIN ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 200;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  gap: 1.5rem;
  color: var(--ink);
  animation: curtainOut 1.4s var(--ease) 4s forwards;
}
.curtain__mark {
  color: var(--brass);
  animation: fadeUp 1s var(--ease) 0.1s both;
}
.curtain__word {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  animation: fadeUp 1s var(--ease) 0.4s both;
}
.curtain__sub {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ink-3);
  animation: fadeUp 1s var(--ease) 0.7s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes curtainOut {
  to { opacity: 0; visibility: hidden; }
}
body.noload .curtain { display: none; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(180deg, rgba(var(--paper-rgb), 0.85) 0%, rgba(var(--paper-rgb), 0.55) 70%, rgba(var(--paper-rgb), 0) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 0.75rem;
  color: var(--ink);
}
.nav__brand svg { color: var(--brass); }
.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}
.nav__cjk {
  font-family: var(--font-cjk-display);
  color: var(--brass);
  font-size: 0.95rem;
  border-left: 1px solid var(--paper-line);
  padding-left: 0.75rem;
  margin-left: 0.25rem;
}
.nav__links {
  display: flex; gap: 2.25rem; justify-content: center;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.nav__links a { transition: color 0.3s var(--ease); }
.nav__links a:hover { color: var(--brass); opacity: 1; }
.nav__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: end;
}
.lang,
.theme {
  display: inline-flex;
  border: var(--line-ink);
  border-radius: 999px;
  padding: 3px;
}
.lang button,
.theme button {
  background: none; border: none;
  font: inherit;
  padding: 0.35rem 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--ink-3);
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lang button { min-width: 3.25rem; }
.lang button [lang='zh'] { letter-spacing: 0.05em; }
.lang button.active,
.theme button.active { background: var(--ink); color: var(--paper); }
.lang button:hover:not(.active),
.theme button:hover:not(.active) { color: var(--ink); }
.theme button {
  padding: 0.35rem 0.6rem;
  min-width: 2rem;
}
.theme svg { width: 14px; height: 14px; display: block; }

@media (max-width: 900px) {
  .nav { grid-template-columns: auto auto; }
  .nav__links { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: -1;
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.85) contrast(1.05);
  animation: heroZoom 24s var(--ease) both;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 12, 10, 0.15) 0%, rgba(13, 12, 10, 0.55) 45%, rgba(13, 12, 10, 0.85) 75%, var(--paper) 100%),
    linear-gradient(180deg, rgba(13, 12, 10, 0.4) 0%, rgba(13, 12, 10, 0) 20%, rgba(13, 12, 10, 0) 60%, rgba(13, 12, 10, 0.75) 100%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  margin-top: auto;
  padding: 8rem var(--gutter) 4rem;
  max-width: var(--content-max);
  width: 100%;
  align-self: flex-end;
  margin-left: auto;
  animation: heroText 1.4s var(--ease) 0.4s both;
}
@keyframes heroText {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero__grid > * { max-width: 44rem; margin-left: auto; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 2rem;
}
.hero__mark { display: inline-flex; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(2.75rem, 6.5vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 96, 'SOFT' 30, 'WONK' 0;
  margin-bottom: 2rem;
  color: var(--ink);
}
.hero__italic {
  font-style: italic;
  font-variation-settings: 'opsz' 96, 'SOFT' 100, 'WONK' 1;
  color: var(--brass);
  font-weight: 300;
}

.hero__lede {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 2.25rem;
  max-width: 40rem;
}

.hero__ctas { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn--primary:hover { background: var(--brass); border-color: var(--brass); color: var(--paper); opacity: 1; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(239, 232, 216, 0.3);
}
.btn--ghost:hover { border-color: var(--brass); color: var(--brass); opacity: 1; }

.hero__bar {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 1.75rem var(--gutter);
  background: linear-gradient(180deg, transparent, rgba(var(--paper-rgb), 0.9) 40%, var(--paper));
  border-top: 1px solid rgba(239, 232, 216, 0.1);
  animation: heroText 1.4s var(--ease) 0.8s both;
}
.stat {
  display: flex; flex-direction: column; gap: 0.35rem;
  padding: 0 1rem;
  border-right: var(--line-ink);
}
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-variation-settings: 'opsz' 72, 'SOFT' 60, 'WONK' 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--brass);
  line-height: 1;
  letter-spacing: -0.01em;
}
.stat__lbl {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.35;
}

@media (max-width: 900px) {
  .hero__grid { padding: 6rem var(--gutter) 3rem; }
  .hero__grid > * { max-width: 100%; margin-left: 0; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(13, 12, 10, 0.3) 0%, rgba(13, 12, 10, 0.5) 40%, rgba(13, 12, 10, 0.9) 75%, var(--paper) 100%);
  }
  .hero__bar { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 0; padding: 1.5rem var(--gutter); }
  .stat { border-right: none; padding: 0; }
  .stat:nth-child(odd) { border-right: var(--line-ink); padding-right: 1rem; }
  .stat:nth-child(even) { padding-left: 1rem; }
}

/* ---------- SECTION COMMON ---------- */
section {
  padding: var(--sec-y) var(--gutter);
  max-width: var(--content-max);
  margin: 0 auto;
  position: relative;
}
.hero, .operator, .scale { max-width: none; padding-left: 0; padding-right: 0; }

.col-num {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 2rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.col-num::before {
  content: attr(data-num);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--brass);
  letter-spacing: 0;
}

.section-head {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-variation-settings: 'opsz' 96, 'SOFT' 30, 'WONK' 0;
  margin-bottom: 3rem;
  max-width: 22em;
}
.section-head .italic {
  font-style: italic;
  font-variation-settings: 'opsz' 96, 'SOFT' 100, 'WONK' 1;
  color: var(--brass);
  font-weight: 300;
}

/* ---------- THESIS ---------- */
.thesis__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem 3rem;
  align-items: start;
}
.thesis__lede {
  grid-column: 1 / span 6;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.thesis__body {
  grid-column: 8 / span 5;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.thesis__quote {
  grid-column: 1 / -1;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: var(--line-ink);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}
.thesis__quote p {
  grid-column: 2 / span 8;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  line-height: 1.35;
  font-weight: 300;
  font-variation-settings: 'opsz' 96, 'SOFT' 80, 'WONK' 1;
  color: var(--brass);
}
.thesis__quote cite {
  grid-column: 2 / span 8;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-3);
}
@media (max-width: 900px) {
  .thesis__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .thesis__quote { grid-template-columns: 1fr; }
  .thesis__lede, .thesis__body, .thesis__quote p, .thesis__quote cite { grid-column: 1 / -1; }
}

/* ---------- SERVICES ---------- */
.services__lede {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.15rem, 1.4vw, 1.35rem);
  color: var(--ink-2);
  max-width: 45rem;
  margin-bottom: 4rem;
  line-height: 1.5;
}
.services__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: var(--line-ink);
}
.svc {
  padding: 2.5rem 2.5rem 2.5rem 0;
  border-bottom: var(--line-ink);
  position: relative;
}
.svc:nth-child(odd) { padding-right: 2.5rem; border-right: var(--line-ink); }
.svc:nth-child(even) { padding-left: 2.5rem; }
.svc__n {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: 'opsz' 72, 'SOFT' 100, 'WONK' 1;
  font-size: 0.9rem;
  color: var(--brass);
  margin-bottom: 0.75rem;
  display: block;
}
.svc h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.25;
  margin-bottom: 0.85rem;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.svc p {
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.65;
}
@media (max-width: 720px) {
  .services__list { grid-template-columns: 1fr; }
  .svc, .svc:nth-child(odd) { padding: 2rem 0; border-right: none; }
  .svc:nth-child(even) { padding-left: 0; }
}

/* ---------- OPERATOR (full bleed image + text) ---------- */
.operator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 80vh;
  align-items: stretch;
  margin: var(--sec-y) 0;
}
.operator__media { position: relative; overflow: hidden; }
.operator__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.88) contrast(1.05);
}
.operator__text {
  padding: var(--sec-y) var(--gutter);
  display: flex; flex-direction: column; justify-content: center;
  max-width: 44rem;
}
.operator__text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 2rem;
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--brass);
  align-self: flex-start;
  transition: gap 0.3s var(--ease);
}
.link-arrow:hover { gap: 0.85rem; opacity: 1; }
@media (max-width: 900px) {
  .operator { grid-template-columns: 1fr; }
  .operator__media { min-height: 50vh; }
  .operator__text { padding: 4rem var(--gutter); }
}

/* ---------- PROCESS ---------- */
.proc {
  list-style: none;
  border-top: var(--line-ink);
}
.proc li {
  display: grid;
  grid-template-columns: 160px 1fr 3fr;
  gap: 2rem 3rem;
  padding: 2.25rem 0;
  border-bottom: var(--line-ink);
  align-items: baseline;
}
.proc__week {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: 'opsz' 72, 'SOFT' 80, 'WONK' 1;
  font-size: 0.95rem;
  color: var(--brass);
  letter-spacing: 0.02em;
}
.proc h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.proc p {
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.65;
}
@media (max-width: 900px) {
  .proc li { grid-template-columns: 1fr; gap: 0.75rem; padding: 2rem 0; }
}

/* ---------- SCALE (mirror of operator) ---------- */
.scale {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 80vh;
  align-items: stretch;
  margin: var(--sec-y) 0;
}
.scale__media { position: relative; overflow: hidden; order: 2; }
.scale__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.85) contrast(1.05);
}
.scale__text {
  padding: var(--sec-y) var(--gutter);
  display: flex; flex-direction: column; justify-content: center;
  max-width: 44rem;
  margin-left: auto;
  order: 1;
}
.scale__text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 2rem;
}
@media (max-width: 900px) {
  .scale { grid-template-columns: 1fr; }
  .scale__media { min-height: 50vh; order: 1; }
  .scale__text { padding: 4rem var(--gutter); order: 2; }
}

/* ---------- WORK ---------- */
.work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.work-card {
  background: var(--paper-2);
  border: var(--line-ink);
  border-radius: var(--radius);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: border-color 0.4s var(--ease);
}
.work-card:hover { border-color: var(--brass); }
.work-card--image {
  padding: 0;
  min-height: 460px;
}
.work-card--image .work-card__media {
  position: absolute; inset: 0; z-index: 0;
}
.work-card--image .work-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.75) contrast(1.05);
}
.work-card--image .work-card__body {
  position: relative; z-index: 1;
  padding: 2rem;
  background: linear-gradient(180deg, transparent, rgba(var(--paper-rgb), 0.85));
}
.work-card[data-glyph]::before {
  content: attr(data-glyph);
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: 'opsz' 96, 'SOFT' 100, 'WONK' 1;
  font-size: 3rem;
  line-height: 1;
  color: var(--paper-line);
  letter-spacing: 0.02em;
  pointer-events: none;
  transition: color 0.4s var(--ease);
}
.work-card[data-glyph]:hover::before { color: var(--brass-2); opacity: 0.5; }
.work-card__meta {
  display: flex; justify-content: space-between;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.85rem;
}
.work-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.work-card p {
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .work__grid { grid-template-columns: 1fr; }
  .work-card { min-height: 280px; }
  .work-card--image { min-height: 380px; }
}

/* ---------- PRESS ---------- */
.press__list {
  list-style: none;
  border-top: var(--line-ink);
}
.press__list li {
  padding: 2rem 0;
  border-bottom: var(--line-ink);
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  line-height: 1.4;
  color: var(--ink-2);
  font-variation-settings: 'opsz' 96, 'SOFT' 60, 'WONK' 0;
  transition: color 0.4s var(--ease);
}
.press__list li:hover { color: var(--brass); }

/* ---------- CONTACT ---------- */
.contact {
  text-align: left;
  padding-top: calc(var(--sec-y) * 1.2);
  padding-bottom: calc(var(--sec-y) * 1.2);
}
.contact__title {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 96, 'SOFT' 30, 'WONK' 0;
  margin-bottom: 3rem;
}
.contact__title .italic {
  font-style: italic;
  font-variation-settings: 'opsz' 96, 'SOFT' 100, 'WONK' 1;
  color: var(--brass);
  font-weight: 300;
}
.contact__row {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: var(--line-ink);
}
.contact__mail {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  color: var(--brass);
  border-bottom: 1px solid var(--brass);
  padding-bottom: 0.2rem;
}
.contact__row span {
  color: var(--ink-3);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}
.contact__addr {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  font-size: 0.85rem;
  color: var(--ink-3);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .contact__addr { grid-template-columns: 1fr; }
}

/* ---------- FOOTER ---------- */
.foot {
  padding: 3rem var(--gutter);
  border-top: var(--line-ink);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  color: var(--ink-3);
  font-size: 0.8rem;
}
.foot__mark {
  display: inline-flex; align-items: center; gap: 0.65rem;
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: 1rem;
}
.foot__mark svg { color: var(--brass); }
.foot__note { text-align: center; max-width: 32em; margin: 0 auto; }
.foot__copy { text-align: right; font-size: 0.75rem; letter-spacing: 0.1em; }
@media (max-width: 720px) {
  .foot { grid-template-columns: 1fr; text-align: center; }
  .foot__note, .foot__copy { text-align: center; }
}

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero__media img { animation: none; }
}
