/* ============================================================
   MARMOR — Skulptur im Wandel · Kunst LK
   Editorial Luxury: warm stone, bronze accent, display serif
   ============================================================ */

:root {
  --bg: #ece7dc;
  --bg-deep: #e3ddd0;
  --card: #f5f1e8;
  --ink: #1c1712;
  --ink-soft: #5d564a;
  --ink-faint: #8a8172;
  --line: rgba(28, 23, 18, 0.14);
  --line-soft: rgba(28, 23, 18, 0.08);
  --accent: #96562f;
  --accent-deep: #7a4223;
  --dark: #17130f;
  --dark-2: #211b15;
  --dark-ink: #ece7dc;
  --radius-xl: 28px;
  --radius-inner: 20px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --serif: "Fraunces", "Georgia", serif;
  --sans: "Space Grotesk", "Helvetica Neue", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 340;
  line-height: 1.65;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--card); }

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

a { color: inherit; }

/* Film grain overlay — fixed, pointer-events none */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05;
  animation: grain 9s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-5%, -2%); }
  80% { transform: translate(4%, 4%); }
}

/* ---------- Type helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  background: rgba(245, 241, 232, 0.6);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

.display {
  font-family: var(--serif);
  font-weight: 340;
  letter-spacing: -0.02em;
  line-height: 0.98;
}
.display em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-deep);
}

.lede {
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.75;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.4rem;
  border-radius: 999px;
  background: rgba(245, 241, 232, 0.72);
  border: 1px solid var(--line-soft);
  box-shadow: 0 10px 40px -18px rgba(28, 23, 18, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  max-width: calc(100vw - 24px);
}
.nav .brand {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  padding: 0.4rem 0.9rem;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
}
.nav a.chip {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.nav a.chip:hover { background: rgba(28, 23, 18, 0.07); color: var(--ink); }
.nav a.chip.active { background: var(--ink); color: var(--card); }
@media (max-width: 720px) {
  .nav a.chip { display: none; }
  .nav a.chip.keep { display: inline-block; }
}

/* ---------- Hero ---------- */

.hero {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
  max-width: 1560px;
  margin: 0 auto;
  padding: clamp(90px, 12vh, 140px) clamp(20px, 4vw, 64px) 40px;
  gap: clamp(24px, 4vw, 64px);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  padding-bottom: 4vh;
}
.hero h1 {
  font-size: clamp(3.2rem, 8.5vw, 7.6rem);
  color: var(--ink);
}
.hero .lede { max-width: 46ch; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}
.hero-meta div { min-width: 110px; }
.hero-meta .k {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.hero-meta .v {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin-top: 0.15rem;
}

.hero-3d {
  position: relative;
  min-height: 420px;
  align-self: center;
}
.hero-3d .frame { height: 100%; }
.hero-3d .viewer-stage { min-height: 420px; height: 100%; }
.hero-caption {
  position: absolute;
  left: 26px; bottom: 22px;
  z-index: 3;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 110px; }
  .hero-3d { min-height: 380px; }
  .hero h1 { font-size: clamp(3rem, 13vw, 4.6rem); }
}

/* ---------- Double bezel ---------- */

.frame {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  padding: 10px;
  box-shadow: 0 24px 60px -34px rgba(28, 23, 18, 0.4),
    0 2px 6px -2px rgba(28, 23, 18, 0.08);
}
.frame-inner {
  position: relative;
  border-radius: var(--radius-inner);
  overflow: hidden;
  background: var(--bg-deep);
  border: 1px solid rgba(255, 255, 255, 0.55);
  height: 100%;
}

/* ---------- Marquee ---------- */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 1.1rem 0;
  background: var(--bg-deep);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 36s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: var(--ink-soft);
  white-space: nowrap;
}
.marquee-track span { display: flex; align-items: center; gap: 3rem; }
.marquee-track i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  font-style: normal;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Layout sections ---------- */

.wrap {
  max-width: 1560px;
  margin: 0 auto;
  padding: clamp(80px, 12vw, 170px) clamp(20px, 4vw, 64px);
  scroll-margin-top: 80px;
}
.wrap.tight { padding-top: clamp(50px, 7vw, 90px); }

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.4rem, 4vw, 4rem);
  align-items: start;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}
.section-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  margin-top: 0.6rem;
  white-space: nowrap;
}
.section-head h2 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  margin: 0.9rem 0 1.2rem;
}
.section-head .lede { max-width: 62ch; }
@media (max-width: 640px) {
  .section-head { grid-template-columns: 1fr; gap: 0.8rem; }
  .section-num { margin-top: 0; justify-self: start; }
}

/* Epoch timeline chips */
.epochs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.epoch {
  border: 1px solid var(--line);
  border-radius: var(--radius-inner);
  background: var(--card);
  padding: 1.6rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  text-decoration: none;
}
.epoch:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px -22px rgba(28, 23, 18, 0.35);
}
.epoch .era {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.epoch h3 {
  font-family: var(--serif);
  font-weight: 380;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
}
.epoch p { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 760px) { .epochs { grid-template-columns: 1fr; } }

/* ---------- Feature blocks (text + media) ---------- */

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 1.8rem;
}
.fact {
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}
.fact .k {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.fact p { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.3rem; line-height: 1.55; }
@media (max-width: 560px) { .fact-grid { grid-template-columns: 1fr; } }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.split.rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.rev > .sticky-copy { order: 2; }
@media (max-width: 900px) {
  .split, .split.rev { grid-template-columns: 1fr; }
  .split.rev > .sticky-copy { order: 0; }
}
.sticky-copy { position: sticky; top: 110px; }
@media (max-width: 900px) { .sticky-copy { position: static; } }

.sticky-copy h3 {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 1rem 0 1.1rem;
}
.sticky-copy .tag {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.sticky-copy p { color: var(--ink-soft); margin-bottom: 1rem; max-width: 52ch; }
.sticky-copy p strong { color: var(--ink); font-weight: 500; }

.work-list { display: flex; flex-direction: column; gap: clamp(2.4rem, 4vw, 3.6rem); }

/* ---------- 3D viewer card ---------- */

.viewer { position: relative; }
.viewer-stage {
  position: relative;
  aspect-ratio: 4 / 4.6;
  min-height: 340px;
  background:
    radial-gradient(120% 90% at 50% 0%, #f2ede2 0%, #ddd6c7 55%, #cfc7b5 100%);
  border-radius: var(--radius-inner);
  overflow: hidden;
}
.viewer-stage.wide { aspect-ratio: 16 / 11.5; }
.viewer-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.viewer-stage iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

.viewer-poster {
  position: absolute; inset: 0;
  z-index: 2;
  transition: opacity 0.8s var(--ease);
}
.viewer-poster img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
}
.viewer-poster::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(23, 19, 15, 0) 40%,
    rgba(23, 19, 15, 0.55) 100%);
}
.viewer.loaded .viewer-poster { opacity: 0; pointer-events: none; }

.viewer-cta {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(245, 241, 232, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 0.5rem 0.55rem 0.5rem 1.2rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 14px 34px -14px rgba(23, 19, 15, 0.5);
  backdrop-filter: blur(10px);
  transition: transform 0.5s var(--ease), background 0.5s var(--ease);
}
.viewer-cta:hover { transform: translateX(-50%) scale(1.03); }
.viewer-cta:active { transform: translateX(-50%) scale(0.97); }
.viewer-cta .ico {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s var(--ease);
}
.viewer-cta:hover .ico { transform: rotate(120deg); }
.viewer-cta small {
  display: block;
  font-size: 0.62rem;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
}
.viewer.loaded .viewer-cta { display: none; }

.viewer-progress {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  width: min(70%, 300px);
  display: none;
  flex-direction: column;
  gap: 0.55rem;
  background: rgba(245, 241, 232, 0.92);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 0.9rem 1.1rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px -14px rgba(23, 19, 15, 0.5);
}
.viewer.loading .viewer-progress { display: flex; }
.viewer.loading .viewer-cta { display: none; }
.viewer-progress .bar {
  height: 3px;
  background: rgba(28, 23, 18, 0.14);
  border-radius: 99px;
  overflow: hidden;
}
.viewer-progress .bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 99px;
  transition: width 0.3s ease;
}
.viewer-progress .lbl {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
}

.viewer-hint {
  position: absolute;
  right: 18px; bottom: 16px;
  z-index: 3;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(245, 241, 232, 0.8);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  opacity: 0;
  transition: opacity 0.8s var(--ease);
  pointer-events: none;
}
.viewer.loaded .viewer-hint { opacity: 1; }

.viewer-error {
  position: absolute; inset: 0;
  z-index: 4;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.viewer.error .viewer-error { display: flex; }

.viewer-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.05rem 0.6rem 0.2rem;
}
.viewer-meta .t {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.viewer-meta .s {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: right;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .viewer-meta { flex-direction: column; gap: 0.2rem; }
  .viewer-meta .s { text-align: left; }
}

/* ---------- Figure / gallery ---------- */

.art-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 2.4rem);
}
.art-grid .frame-inner { aspect-ratio: auto; }
.art-grid figure:nth-child(2n) { transform: translateY(2.4rem); }
.art-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.02);
  transition: transform 1.2s var(--ease);
}
.art-grid .frame-inner:hover img { transform: scale(1.03); }
.art-grid .frame-inner { max-height: 560px; }
.art-grid figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0.6rem 0.15rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.art-grid figcaption b {
  font-family: var(--serif);
  font-weight: 450;
  font-size: 0.95rem;
  color: var(--ink);
  display: block;
}
.art-grid figcaption span { text-align: right; white-space: nowrap; }
@media (max-width: 700px) {
  .art-grid { grid-template-columns: 1fr; }
  .art-grid figure:nth-child(2n) { transform: none; }
}

/* ---------- Dark compare section ---------- */

.dark-zone {
  background: var(--dark);
  color: var(--dark-ink);
  border-radius: clamp(28px, 5vw, 56px);
  margin: 0 clamp(10px, 2vw, 28px);
  overflow: hidden;
  position: relative;
}
.dark-zone .eyebrow {
  background: rgba(236, 231, 220, 0.06);
  border-color: rgba(236, 231, 220, 0.16);
  color: rgba(236, 231, 220, 0.72);
}
.dark-zone .section-num { border-color: rgba(236, 231, 220, 0.2); }
.dark-zone .lede { color: rgba(236, 231, 220, 0.66); }
.dark-zone .display { color: var(--dark-ink); }
.dark-zone .display em { color: #d29a6f; }
.dark-zone .sticky-copy p { color: rgba(236, 231, 220, 0.66); }
.dark-zone .sticky-copy p strong { color: var(--dark-ink); }
.dark-zone .fact { border-top-color: rgba(236, 231, 220, 0.16); }
.dark-zone .fact p { color: rgba(236, 231, 220, 0.6); }
.dark-zone .fact .k { color: #d29a6f; }
.dark-zone .frame {
  background: var(--dark-2);
  border-color: rgba(236, 231, 220, 0.1);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9);
}
.dark-zone .frame-inner {
  background: #2a241c;
  border-color: rgba(236, 231, 220, 0.08);
}
.dark-zone .viewer-stage {
  background: radial-gradient(120% 90% at 50% 0%, #3a3227 0%, #241e16 60%, #1b1610 100%);
}
.dark-zone .viewer-meta .t { color: var(--dark-ink); }
.dark-zone .viewer-meta .s { color: rgba(236, 231, 220, 0.5); }
.dark-zone .viewer-cta {
  background: rgba(23, 19, 15, 0.85);
  color: var(--dark-ink);
  border-color: rgba(236, 231, 220, 0.2);
}
.dark-zone .viewer-cta .ico { background: var(--dark-ink); color: var(--ink); }
.dark-zone .viewer-cta small { color: rgba(236, 231, 220, 0.55); }
.dark-zone .viewer-progress {
  background: rgba(23, 19, 15, 0.9);
  border-color: rgba(236, 231, 220, 0.15);
}
.dark-zone .viewer-progress .lbl { color: rgba(236, 231, 220, 0.6); }
.dark-zone .viewer-progress .bar { background: rgba(236, 231, 220, 0.15); }
.dark-zone .viewer-hint {
  background: rgba(23, 19, 15, 0.8);
  color: rgba(236, 231, 220, 0.6);
  border-color: rgba(236, 231, 220, 0.12);
}

/* Vergleichs-Tabelle */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2.4rem;
  font-size: 0.9rem;
}
.compare-table th,
.compare-table td {
  text-align: left;
  padding: 1rem 1.2rem;
  border-top: 1px solid rgba(236, 231, 220, 0.14);
  vertical-align: top;
}
.compare-table th {
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(236, 231, 220, 0.5);
  font-weight: 500;
  border-top: none;
}
.compare-table td:first-child {
  color: rgba(236, 231, 220, 0.5);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-top: 1.15rem;
}
.compare-table td { color: rgba(236, 231, 220, 0.82); line-height: 1.55; }
.compare-table td b { color: var(--dark-ink); font-weight: 500; }
.compare-table tr { transition: background 0.4s var(--ease); }
.compare-table tbody tr:hover { background: rgba(236, 231, 220, 0.04); }
.table-scroll { overflow-x: auto; }
@media (max-width: 720px) {
  .compare-table { min-width: 640px; }
}

.vs-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: rgba(236, 231, 220, 0.4);
  text-align: center;
  padding: 0.5rem 0 1.5rem;
}

/* ---------- Light comparison table (epochs) ---------- */

.epoch-table { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.epoch-table th, .epoch-table td {
  text-align: left;
  padding: 1.05rem 1.1rem;
  border-top: 1px solid var(--line);
  vertical-align: top;
  font-size: 0.88rem;
}
.epoch-table th {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 450;
  font-size: 1.05rem;
  border-top: none;
  color: var(--accent-deep);
}
.epoch-table td:first-child {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
  padding-top: 1.25rem;
}
.epoch-table td { color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 720px) { .epoch-table { min-width: 620px; } }

/* ---------- Quote ---------- */

.pull-quote {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(60px, 9vw, 120px) clamp(20px, 4vw, 64px);
}
.pull-quote blockquote {
  font-family: var(--serif);
  font-weight: 330;
  font-style: italic;
  font-size: clamp(1.6rem, 3.6vw, 2.9rem);
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.pull-quote cite {
  display: block;
  margin-top: 1.6rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: clamp(50px, 7vw, 90px) clamp(20px, 4vw, 64px) 40px;
}
.footer-grid {
  max-width: 1560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
}
.footer-grid h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.footer-grid p, .footer-grid li {
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
.footer-grid ul { list-style: none; }
.footer-grid li { padding: 0.3rem 0; border-top: 1px solid var(--line-soft); }
.footer-grid li a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.footer-grid li a:hover { border-bottom-color: var(--accent); color: var(--accent-deep); }
.footer-bottom {
  max-width: 1560px;
  margin: 3rem auto 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(42px);
  filter: blur(6px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; filter: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}
