/* ==========================================================================
   Devru.site — Quiet Dark Editorial
   ========================================================================== */

:root {
  /* Color system */
  --ink: #0B0D0C;
  --charcoal: #131614;
  --graphite: #1B1E1B;
  --moss: #232722;
  --ivory: #F1EEE6;
  --dust: #A8AAA0;
  --muted: #72776F;
  --copper: #B68A5A;
  --olive: #788A73;
  --sand: #D8C5A5;

  /* Gradients */
  --grad-ink: linear-gradient(135deg, #0B0D0C 0%, #1B1E1B 100%);
  --grad-olive: linear-gradient(135deg, #131614 0%, #30382F 100%);
  --grad-copper: linear-gradient(135deg, #0B0D0C 0%, #33291F 65%, #B68A5A 100%);
  --grad-mist: linear-gradient(135deg, #1B1E1B 0%, #343A34 50%, #788A73 100%);

  /* Typography */
  --font-display: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Neue Montreal", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Layout */
  --header-h: 4.25rem;
  --page-x: clamp(1.25rem, 4vw, 4.5rem);
  --page-max: 88rem;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.55s;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  line-height: 1.7;
  color: var(--ivory);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.mono {
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.label {
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 0.6rem + 0.2vw, 0.75rem);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus */
:focus-visible {
  outline: 1px solid var(--copper);
  outline-offset: 3px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition:
    color var(--dur) var(--ease),
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.btn-primary {
  color: var(--ink);
  background: var(--ivory);
  border-color: var(--ivory);
}

.btn-primary:hover {
  background: var(--sand);
  border-color: var(--sand);
  transform: translateY(-1px);
}

.btn-secondary {
  color: var(--ivory);
  background: transparent;
  border-color: rgba(241, 238, 230, 0.28);
}

.btn-secondary:hover {
  border-color: var(--copper);
  color: var(--sand);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   1. Editorial Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 12, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(241, 238, 230, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-x);
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  justify-self: start;
}

.logo-mark {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ivory);
}

.logo-ext {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.header-issue {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--dust);
  text-align: center;
}

.header-index {
  justify-self: end;
  position: relative;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ivory);
  padding-bottom: 0.2rem;
}

.header-index::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--copper);
  transition: width var(--dur) var(--ease);
}

.header-index:hover::after,
.header-index:focus-visible::after {
  width: 100%;
}

/* --------------------------------------------------------------------------
   2. Main Cover
   -------------------------------------------------------------------------- */

.cover {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  background: var(--grad-ink);
  padding:
    clamp(2.5rem, 6vh, 4.5rem)
    var(--page-x)
    clamp(4rem, 8vh, 5.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.cover-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  max-width: var(--page-max);
  margin: 0 auto;
  width: 100%;
  flex: 1;
}

.cover-copy {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 4vh, 3rem);
  padding-bottom: clamp(0.5rem, 2vh, 1.5rem);
  animation: reveal-up 1.1s var(--ease) both;
}

.cover-headline {
  font-size: clamp(3.2rem, 2.2rem + 5.5vw, 7.5rem);
  font-weight: 200;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--ivory);
}

.cover-headline span {
  display: block;
}

.cover-actions {
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.cover-lede {
  color: var(--dust);
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.1rem);
  line-height: 1.75;
  font-weight: 300;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Cover artwork */
.cover-art {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: min(72vh, 38rem);
  width: 100%;
  justify-self: end;
  animation: reveal-fade 1.4s var(--ease) 0.15s both;
}

.art-plane {
  position: absolute;
  inset: 8% 18% 12% 10%;
  background: var(--graphite);
  border: 1px solid rgba(241, 238, 230, 0.06);
  animation: drift-y 14s ease-in-out infinite alternate;
}

.art-oval {
  position: absolute;
  top: 14%;
  right: 8%;
  width: 38%;
  aspect-ratio: 1 / 1.55;
  border: 1px solid var(--copper);
  border-radius: 50%;
  opacity: 0.85;
  animation: drift-x 18s ease-in-out infinite alternate;
}

.art-circle {
  position: absolute;
  bottom: 18%;
  left: 6%;
  width: 28%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(120, 138, 115, 0.55), rgba(120, 138, 115, 0.08) 70%, transparent 72%);
  border: 1px solid rgba(120, 138, 115, 0.35);
  animation: pulse-soft 10s ease-in-out infinite;
}

.art-grid {
  position: absolute;
  inset: 22% 26% 28% 22%;
  background-image:
    linear-gradient(rgba(241, 238, 230, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 238, 230, 0.08) 1px, transparent 1px);
  background-size: 18% 18%;
  opacity: 0.7;
}

.art-square {
  position: absolute;
  top: 42%;
  right: 22%;
  width: 9%;
  aspect-ratio: 1;
  background: var(--sand);
  opacity: 0.9;
  animation: scale-soft 12s ease-in-out infinite alternate;
}

.art-number {
  position: absolute;
  right: 4%;
  bottom: 4%;
  font-family: var(--font-display);
  font-size: clamp(5rem, 3rem + 8vw, 11rem);
  font-weight: 200;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: rgba(241, 238, 230, 0.08);
  pointer-events: none;
  user-select: none;
}

.art-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  white-space: nowrap;
}

.art-label-1 { top: 4%; left: 8%; }
.art-label-2 { top: 8%; right: 0; }
.art-label-3 { bottom: 28%; left: 0; }
.art-label-4 { bottom: 8%; left: 32%; }

.scroll-cue {
  position: absolute;
  right: var(--page-x);
  bottom: clamp(1.25rem, 3vh, 2rem);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.scroll-cue:hover {
  color: var(--sand);
  transform: translateY(2px);
}

/* --------------------------------------------------------------------------
   3. Statement
   -------------------------------------------------------------------------- */

.statement {
  position: relative;
  background: var(--charcoal);
  padding: clamp(5rem, 12vh, 9rem) var(--page-x);
  overflow: hidden;
}

.statement-watermark {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 4rem + 18vw, 22rem);
  font-weight: 200;
  letter-spacing: -0.06em;
  color: rgba(241, 238, 230, 0.03);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.statement-inner {
  position: relative;
  max-width: 42rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.statement-headline {
  font-size: clamp(2.4rem, 1.6rem + 3.2vw, 4.75rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.statement-body {
  color: var(--dust);
  max-width: 34rem;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem);
  line-height: 1.8;
}

.statement-rule {
  width: 100%;
  max-width: 22rem;
  height: 1px;
  margin-top: 1.25rem;
  background: linear-gradient(90deg, var(--copper), transparent);
  transform-origin: left;
  animation: line-grow 1.6s var(--ease) both;
}

/* --------------------------------------------------------------------------
   4. Index
   -------------------------------------------------------------------------- */

.index {
  background: var(--ink);
  border-top: 1px solid rgba(241, 238, 230, 0.06);
}

.index-list > li {
  border-bottom: 1px solid rgba(241, 238, 230, 0.08);
}

.index-row {
  display: grid;
  grid-template-columns:
    clamp(3.5rem, 6vw, 5.5rem)
    minmax(7rem, 14rem)
    minmax(0, 1fr)
    auto
    2rem;
  gap: clamp(0.75rem, 2vw, 2rem);
  align-items: center;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(1.35rem, 2.5vh, 1.85rem) var(--page-x);
  position: relative;
  transition: background var(--dur) var(--ease);
}

.index-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--copper);
  transition: width 0.4s var(--ease);
}

.index-row:hover,
.index-row:focus-visible {
  background: var(--graphite);
}

.index-row:hover::before,
.index-row:focus-visible::before {
  width: 2px;
}

.index-num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  font-weight: 200;
  letter-spacing: -0.04em;
  color: var(--dust);
  transition: color var(--dur) var(--ease);
}

.index-row:hover .index-num,
.index-row:focus-visible .index-num {
  color: var(--copper);
}

.index-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.index-desc {
  color: var(--muted);
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1.05rem);
  transition: color var(--dur) var(--ease);
}

.index-row:hover .index-desc,
.index-row:focus-visible .index-desc {
  color: var(--ivory);
}

.index-cat {
  font-size: 0.62rem;
  color: var(--muted);
  justify-self: end;
}

.index-arrow {
  justify-self: end;
  color: var(--muted);
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}

.index-row:hover .index-arrow,
.index-row:focus-visible .index-arrow {
  transform: translateX(6px);
  color: var(--copper);
}

/* --------------------------------------------------------------------------
   5. Featured Editions
   -------------------------------------------------------------------------- */

.editions {
  background: var(--charcoal);
  padding: clamp(5rem, 11vh, 8.5rem) var(--page-x);
}

.section-intro {
  max-width: var(--page-max);
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.section-heading {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.editions-layout {
  max-width: var(--page-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.edition {
  background: var(--ink);
  border: 1px solid rgba(241, 238, 230, 0.06);
  border-radius: 4px;
  overflow: hidden;
  transition:
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.edition:hover {
  border-color: rgba(182, 138, 90, 0.35);
  transform: translateY(-3px);
}

.edition-wide {
  grid-column: 1 / -1;
}

.edition-tall {
  min-height: 100%;
}

.edition-split {
  min-height: 100%;
}

.edition-link {
  display: block;
  height: 100%;
}

.edition-wide .edition-link {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: clamp(16rem, 28vh, 22rem);
}

.edition-tall .edition-link {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.edition-split .edition-link {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  min-height: 100%;
}

.edition-visual {
  position: relative;
  min-height: 12rem;
  overflow: hidden;
}

.edition-visual-a {
  background: var(--grad-olive);
}

.edition-visual-b {
  background: var(--grad-mist);
  min-height: 16rem;
  flex: 1;
}

.edition-visual-c {
  background: var(--grad-copper);
}

.edition-geo {
  position: absolute;
  display: block;
}

.geo-bar {
  left: 12%;
  top: 30%;
  width: 58%;
  height: 1px;
  background: rgba(241, 238, 230, 0.45);
}

.geo-dot {
  right: 18%;
  bottom: 28%;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--copper);
}

.geo-frame {
  inset: 18% 22%;
  border: 1px solid rgba(241, 238, 230, 0.35);
}

.geo-line-v {
  left: 50%;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: rgba(216, 197, 165, 0.5);
  transform: translateX(-50%);
}

.geo-block {
  left: 16%;
  top: 22%;
  width: 34%;
  height: 48%;
  background: rgba(11, 13, 12, 0.45);
  border: 1px solid rgba(241, 238, 230, 0.12);
}

.geo-arc {
  right: 14%;
  bottom: 18%;
  width: 28%;
  aspect-ratio: 1;
  border: 1px solid var(--sand);
  border-radius: 50%;
  opacity: 0.7;
}

.edition-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--ink);
}

.edition-cat {
  font-size: 0.65rem;
  color: var(--copper);
}

.edition-title {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.edition-desc {
  color: var(--dust);
  font-size: 0.98rem;
  max-width: 28rem;
  line-height: 1.7;
}

.edition-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(241, 238, 230, 0.08);
  font-size: 0.68rem;
  color: var(--muted);
}

.edition-arrow {
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}

.edition:hover .edition-arrow {
  transform: translateX(6px);
  color: var(--copper);
}

/* --------------------------------------------------------------------------
   6. Visual Essay
   -------------------------------------------------------------------------- */

.essay {
  background: var(--ink);
  padding: clamp(5rem, 12vh, 9rem) var(--page-x);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  max-width: calc(var(--page-max) + 2 * var(--page-x));
  margin: 0 auto;
}

.essay-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 28rem;
}

.essay-headline {
  font-size: clamp(2.6rem, 1.8rem + 3.5vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.04em;
}

.essay-headline span {
  display: block;
}

.essay-body {
  color: var(--dust);
  line-height: 1.8;
  max-width: 24rem;
}

.essay-installation {
  position: relative;
  aspect-ratio: 5 / 4;
  background: var(--charcoal);
  border: 1px solid rgba(241, 238, 230, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.install-plane {
  position: absolute;
  inset: 12% 38% 28% 10%;
  background: var(--graphite);
  animation: drift-y 16s ease-in-out infinite alternate;
}

.install-olive {
  position: absolute;
  right: 10%;
  top: 16%;
  width: 36%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(120, 138, 115, 0.5), transparent 68%);
  border: 1px solid rgba(120, 138, 115, 0.4);
  animation: pulse-soft 12s ease-in-out infinite;
}

.install-copper {
  position: absolute;
  left: 28%;
  bottom: 14%;
  width: 42%;
  height: 1px;
  background: var(--copper);
  transform-origin: left;
  animation: line-pulse 8s ease-in-out infinite;
}

.install-sand {
  position: absolute;
  right: 22%;
  bottom: 24%;
  width: 8%;
  aspect-ratio: 1;
  background: var(--sand);
  opacity: 0.85;
}

.install-line {
  position: absolute;
  background: rgba(241, 238, 230, 0.12);
}

.install-line-h {
  left: 8%;
  right: 8%;
  top: 48%;
  height: 1px;
}

.install-line-v {
  top: 10%;
  bottom: 10%;
  left: 62%;
  width: 1px;
}

.install-line-d {
  width: 34%;
  height: 1px;
  left: 14%;
  top: 30%;
  background: rgba(182, 138, 90, 0.35);
  transform: rotate(-28deg);
  transform-origin: left center;
}

.install-label {
  position: absolute;
  left: 1.25rem;
  bottom: 1.1rem;
  font-size: 0.6rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   7. Archive
   -------------------------------------------------------------------------- */

.archive {
  background: var(--charcoal);
  padding: clamp(5rem, 11vh, 8rem) var(--page-x);
  border-top: 1px solid rgba(241, 238, 230, 0.05);
}

.archive-heading {
  max-width: var(--page-max);
  margin: 0 auto 2.5rem;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.archive-list {
  max-width: var(--page-max);
  margin: 0 auto;
  border-top: 1px solid rgba(241, 238, 230, 0.08);
}

.archive-list > li {
  border-bottom: 1px solid rgba(241, 238, 230, 0.08);
}

.archive-row {
  display: grid;
  grid-template-columns: 1rem 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.15rem 0.75rem;
  transition:
    background var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    padding-left var(--dur) var(--ease);
}

.archive-row:hover,
.archive-row:focus-visible {
  background: var(--moss);
  transform: translateX(4px);
  padding-left: 1.1rem;
}

.archive-marker {
  width: 0;
  height: 1px;
  background: var(--copper);
  transition: width 0.4s var(--ease);
}

.archive-row:hover .archive-marker,
.archive-row:focus-visible .archive-marker {
  width: 100%;
}

.archive-meta {
  font-size: clamp(0.78rem, 0.7rem + 0.35vw, 0.95rem);
  letter-spacing: 0.14em;
  color: var(--dust);
  transition: color var(--dur) var(--ease);
}

.archive-row:hover .archive-meta,
.archive-row:focus-visible .archive-meta {
  color: var(--ivory);
}

.archive-arrow {
  opacity: 0;
  color: var(--copper);
  transform: translateX(-6px);
  transition:
    opacity var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.archive-row:hover .archive-arrow,
.archive-row:focus-visible .archive-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   8. Perspective
   -------------------------------------------------------------------------- */

.perspective {
  position: relative;
  background: var(--ink);
  padding: clamp(6rem, 16vh, 11rem) var(--page-x);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  max-width: calc(var(--page-max) + 2 * var(--page-x));
  margin: 0 auto;
}

.perspective-rule {
  width: 1px;
  align-self: stretch;
  min-height: 12rem;
  background: linear-gradient(180deg, var(--olive), transparent);
}

.perspective-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: 40rem;
  padding-top: 0.25rem;
}

.perspective-headline {
  font-size: clamp(3rem, 2rem + 4.5vw, 6.5rem);
  font-weight: 200;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.perspective-headline span {
  display: block;
}

.perspective-body {
  color: var(--dust);
  max-width: 26rem;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   9. Final Cover
   -------------------------------------------------------------------------- */

.final-cover {
  position: relative;
  background: var(--ink);
  min-height: clamp(28rem, 70vh, 40rem);
  padding: clamp(5rem, 12vh, 9rem) var(--page-x);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(241, 238, 230, 0.05);
}

.final-glow {
  position: absolute;
  right: -10%;
  top: 10%;
  width: min(55vw, 34rem);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(120, 138, 115, 0.18) 0%, transparent 68%);
  pointer-events: none;
}

.final-circle {
  position: absolute;
  right: -18%;
  top: 50%;
  transform: translateY(-50%);
  width: min(70vw, 42rem);
  aspect-ratio: 1;
  border: 1px solid rgba(182, 138, 90, 0.45);
  border-radius: 50%;
  pointer-events: none;
  animation: circle-breathe 16s ease-in-out infinite alternate;
}

.final-inner {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.final-headline {
  font-size: clamp(3rem, 2rem + 4.8vw, 6.75rem);
  font-weight: 200;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.final-headline span {
  display: block;
}

.final-body {
  color: var(--dust);
  max-width: 26rem;
  line-height: 1.8;
}

.final-inner .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   10. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--charcoal);
  padding: clamp(3.5rem, 8vh, 5.5rem) var(--page-x) 2rem;
  border-top: 1px solid rgba(241, 238, 230, 0.06);
}

.footer-top {
  max-width: var(--page-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding-bottom: 3rem;
}

.footer-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  margin-bottom: 1rem;
}

.footer-logo .logo-mark {
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  letter-spacing: 0.16em;
}

.footer-tagline {
  color: var(--dust);
  font-style: italic;
  font-weight: 300;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.footer-col-title {
  font-size: 0.65rem;
  color: var(--copper);
  margin-bottom: 1.1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  color: var(--dust);
  font-size: 0.95rem;
  transition: color var(--dur) var(--ease);
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--ivory);
}

.footer-rule {
  max-width: var(--page-max);
  margin: 0 auto 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--copper), rgba(182, 138, 90, 0.15) 55%, transparent);
}

.footer-bottom {
  max-width: var(--page-max);
  margin: 0 auto;
  font-size: 0.65rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes drift-y {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

@keyframes drift-x {
  from { transform: translateX(0); }
  to { transform: translateX(8px); }
}

@keyframes pulse-soft {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

@keyframes scale-soft {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}

@keyframes line-grow {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes line-pulse {
  0%, 100% { opacity: 0.45; transform: scaleX(0.85); }
  50% { opacity: 1; transform: scaleX(1); }
}

@keyframes circle-breathe {
  from { transform: translateY(-50%) scale(1); opacity: 0.7; }
  to { transform: translateY(-50%) scale(1.04); opacity: 1; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .editions-layout {
    grid-template-columns: 1fr;
  }

  .edition-tall .edition-link {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    min-height: clamp(16rem, 28vh, 20rem);
  }

  .edition-tall .edition-visual-b {
    min-height: auto;
  }

  .edition-split .edition-link {
    grid-template-columns: 1fr 1.1fr;
  }
}

@media (max-width: 900px) {
  .cover-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 3rem;
  }

  .cover-art {
    max-height: none;
    max-width: 26rem;
    aspect-ratio: 5 / 4;
    justify-self: start;
  }

  .scroll-cue {
    position: static;
    align-self: flex-end;
    margin-top: 2rem;
  }

  .essay {
    grid-template-columns: 1fr;
  }

  .essay-installation {
    max-width: 36rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
  }

  .header-issue {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .index-row {
    grid-template-columns: 2.5rem 1fr auto;
    grid-template-areas:
      "num title arrow"
      "num desc desc"
      "num cat cat";
    row-gap: 0.35rem;
    column-gap: 1rem;
    padding-block: 1.25rem;
  }

  .index-num { grid-area: num; align-self: start; }
  .index-title { grid-area: title; }
  .index-desc { grid-area: desc; }
  .index-cat { grid-area: cat; justify-self: start; }
  .index-arrow { grid-area: arrow; }

  .edition-wide .edition-link,
  .edition-tall .edition-link,
  .edition-split .edition-link {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .editions-layout {
    grid-template-columns: 1fr;
  }

  .cta-group {
    flex-direction: column;
  }

  .cta-group .btn {
    width: 100%;
  }

  .final-inner .btn {
    width: 100%;
    align-self: stretch;
  }

  .perspective {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .perspective-rule {
    width: 100%;
    height: 1px;
    min-height: 0;
    background: linear-gradient(90deg, var(--olive), transparent);
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .art-label-2,
  .art-label-3 {
    display: none;
  }

  .archive-row {
    grid-template-columns: 0.75rem 1fr auto;
    gap: 0.75rem;
    padding: 1rem 0.35rem;
  }

  .archive-meta {
    letter-spacing: 0.08em;
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  .cover-headline {
    font-size: clamp(2.6rem, 10vw, 3.4rem);
  }

  .perspective-headline,
  .final-headline {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  .statement-watermark {
    font-size: 7rem;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
