/* ============================================================
   SORIQ.SPACE — Midnight Editorial
   Pure CSS3 · Magazine cover transformed into digital space
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  --midnight: #0D1014;
  --charcoal: #171C22;
  --ivory: #F2EEE6;
  --gold: #D6A85F;
  --dusty: #7C9CB4;
  --mist: #C9D6D0;
  --rose: #A65F58;
  --ink: #17191C;
  --light: #F5F1E9;
  --border: rgba(245, 241, 233, 0.16);
  --border-dark: rgba(23, 25, 28, 0.18);

  --font-display: "Playfair Display", Georgia, serif;
  --font-secondary: "Italiana", "Playfair Display", serif;
  --font-ui: "Manrope", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --ease-cinematic: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 9rem;
  --nav-h: 4.25rem;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--light);
  background: var(--midnight);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-weight: 400;
  line-height: 1.1;
}

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

::selection {
  background: var(--gold);
  color: var(--midnight);
}

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Shared Labels ---------- */
.label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 241, 233, 0.55);
}

.label--gold {
  color: var(--gold);
}

.label--dark {
  color: rgba(23, 25, 28, 0.5);
}

/* ---------- Section Headers ---------- */
.section-header {
  margin-bottom: var(--space-lg);
}

.section-header--dark {
  color: var(--light);
}

.section-header--light {
  color: var(--ink);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-top: var(--space-xs);
  color: var(--light);
}

.section-title--dark {
  color: var(--ink);
}

.section-sub {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(245, 241, 233, 0.55);
  margin-top: var(--space-sm);
  max-width: 28rem;
}

/* ============================================================
   COVER — Full-screen magazine composition
   ============================================================ */
.cover {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--midnight);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  overflow: hidden;
  isolation: isolate;
}

.cover__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

/* Meta labels */
.cover__meta {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  animation: fadeIn 1.4s var(--ease-cinematic) 0.2s both;
}

.cover__brand,
.cover__issue {
  color: rgba(245, 241, 233, 0.65);
}

/* Abstract architectural artwork */
.cover__artwork {
  position: absolute;
  inset: 8% 5% 18% 42%;
  z-index: 1;
  animation: artRise 2.4s var(--ease-cinematic) 0.5s both;
}

.art {
  position: absolute;
}

.art--silhouette {
  right: 8%;
  bottom: 0;
  width: 55%;
  height: 88%;
  background:
    linear-gradient(165deg, transparent 0%, var(--charcoal) 18%, #1a222c 55%, #12161c 100%);
  clip-path: polygon(
    18% 100%,
    18% 42%,
    32% 42%,
    32% 18%,
    48% 18%,
    48% 8%,
    62% 8%,
    62% 28%,
    78% 28%,
    78% 52%,
    92% 52%,
    92% 100%
  );
  opacity: 0.95;
}

.art--circle {
  width: min(42vw, 28rem);
  height: min(42vw, 28rem);
  border-radius: 50%;
  border: 1px solid rgba(124, 156, 180, 0.35);
  right: 12%;
  top: 12%;
  background: radial-gradient(
    circle at 38% 42%,
    rgba(124, 156, 180, 0.12) 0%,
    transparent 62%
  );
  animation: circleBreathe 8s ease-in-out infinite alternate;
}

.art--beam {
  width: 1px;
  height: 70%;
  left: 28%;
  top: 10%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(201, 214, 208, 0.45) 30%,
    rgba(214, 168, 95, 0.35) 70%,
    transparent
  );
}

.art--dust {
  width: 38%;
  height: 45%;
  right: 0;
  bottom: 20%;
  background: linear-gradient(
    135deg,
    transparent 20%,
    rgba(124, 156, 180, 0.14) 50%,
    transparent 80%
  );
  clip-path: polygon(20% 0, 100% 15%, 85% 100%, 0 80%);
}

.art--rose {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--rose);
  opacity: 0.7;
  left: 22%;
  top: 38%;
  box-shadow: 0 0 24px rgba(166, 95, 88, 0.25);
}

/* Center title block */
.cover__center {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  align-self: center;
  max-width: 100%;
  pointer-events: none;
}

.cover__title {
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 22vw, 16rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.85;
  color: var(--light);
  animation: titleReveal 2s var(--ease-cinematic) 0.6s both;
}

.cover__statement {
  font-family: var(--font-secondary);
  font-size: clamp(0.95rem, 2.2vw, 1.65rem);
  font-style: normal;
  letter-spacing: 0.12em;
  color: rgba(245, 241, 233, 0.72);
  margin-top: clamp(1rem, 2.5vw, 2rem);
  max-width: 36rem;
  animation: fadeUp 1.6s var(--ease-cinematic) 1.6s both;
}

/* Cover footer */
.cover__footer {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-md);
  animation: fadeIn 1.4s var(--ease-cinematic) 1.8s both;
}

.cover__tagline {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 241, 233, 0.45);
  max-width: 14rem;
  line-height: 1.6;
}

.cover__enter {
  position: relative;
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  flex-shrink: 0;
  color: var(--light);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  transition: color 0.4s var(--ease-soft);
}

.cover__enter-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  animation: ringExpand 2.2s var(--ease-cinematic) 1.2s both;
  transition: transform 0.5s var(--ease-cinematic), border-color 0.4s;
}

.cover__enter:hover {
  color: var(--gold);
}

.cover__enter:hover .cover__enter-ring {
  transform: scale(1.08);
}

.cover__enter-text {
  position: relative;
  z-index: 1;
}

/* Cover keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleReveal {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translateY(8%);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
  }
}

@keyframes artRise {
  from {
    opacity: 0;
    transform: translateY(12%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ringExpand {
  from {
    opacity: 0;
    transform: scale(0.72);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes circleBreathe {
  from { transform: scale(1); opacity: 0.85; }
  to { transform: scale(1.04); opacity: 1; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  height: var(--nav-h);
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: rgba(13, 16, 20, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--light);
  flex-shrink: 0;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
}

.nav__menu a {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 241, 233, 0.65);
  padding: 0.35rem 0;
  transition: color 0.3s;
}

.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-cinematic);
}

.nav__menu a:hover,
.nav__menu a:focus-visible {
  color: var(--light);
}

.nav__menu a:hover::after,
.nav__menu a:focus-visible::after {
  width: 100%;
}

.nav__cta {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--midnight);
  background: var(--ivory);
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--ivory);
  transition: background 0.35s, color 0.35s, border-color 0.35s;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav__cta:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto {
  background: var(--ivory);
  color: var(--ink);
  padding: var(--space-2xl) clamp(1.25rem, 5vw, 5rem);
}

.manifesto__rule {
  height: 1px;
  background: var(--ink);
  opacity: 0.2;
}

.manifesto__rule--top {
  margin-bottom: var(--space-xl);
}

.manifesto__rule--bottom {
  margin-top: var(--space-xl);
}

.manifesto__grid {
  display: grid;
  grid-template-columns: minmax(6rem, 10rem) 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  max-width: 72rem;
  margin: 0 auto;
}

.manifesto__meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: 0.35rem;
}

.manifesto__meta .label {
  color: rgba(23, 25, 28, 0.45);
}

.manifesto__headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.92;
  color: var(--ink);
  margin-bottom: var(--space-md);
}

.manifesto__lead {
  font-family: var(--font-secondary);
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  letter-spacing: 0.02em;
  line-height: 1.4;
  max-width: 28rem;
  margin-bottom: var(--space-lg);
  color: var(--ink);
}

.manifesto__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  max-width: 42rem;
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(23, 25, 28, 0.72);
}

.manifesto__caption {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(23, 25, 28, 0.4);
  margin-top: var(--space-lg);
}

/* ============================================================
   JOURNAL
   ============================================================ */
.journal {
  background: var(--midnight);
  padding: var(--space-2xl) clamp(1.25rem, 5vw, 5rem);
}

.journal__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 2.75rem) clamp(1rem, 2vw, 2rem);
  max-width: 80rem;
  margin: 0 auto;
}

.story {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.story__visual {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--charcoal);
  transition: transform 0.8s var(--ease-cinematic);
}

.story__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  transition: transform 1s var(--ease-cinematic);
}

.story:hover .story__visual::after {
  transform: scale(1.06);
}

.story__visual--a {
  background:
    linear-gradient(160deg, rgba(124, 156, 180, 0.25), transparent 50%),
    linear-gradient(20deg, var(--charcoal), #1e2630);
}

.story__visual--b {
  background:
    linear-gradient(120deg, rgba(214, 168, 95, 0.18), transparent 45%),
    linear-gradient(200deg, #141920, #1c242e);
}

.story__visual--c {
  background:
    linear-gradient(45deg, rgba(166, 95, 88, 0.22), transparent 50%),
    linear-gradient(180deg, #161b22, #1a222c);
}

.story__visual--d {
  background:
    linear-gradient(210deg, rgba(201, 214, 208, 0.2), transparent 55%),
    linear-gradient(90deg, #12171d, #1b232c);
}

.story__visual--e {
  background:
    linear-gradient(100deg, rgba(124, 156, 180, 0.15), rgba(214, 168, 95, 0.12)),
    linear-gradient(0deg, #10151a, #1a2028);
}

.story__visual--f {
  background:
    radial-gradient(circle at 70% 30%, rgba(214, 168, 95, 0.2), transparent 50%),
    linear-gradient(135deg, #14191f, #1c2530);
}

/* Varied proportions */
.story--tall {
  grid-column: span 4;
}

.story--tall .story__visual {
  aspect-ratio: 3 / 4;
}

.story--wide {
  grid-column: span 8;
}

.story--wide .story__visual {
  aspect-ratio: 16 / 9;
}

.story--square {
  grid-column: span 4;
}

.story--square .story__visual {
  aspect-ratio: 1 / 1;
}

.story--portrait {
  grid-column: span 3;
}

.story--portrait .story__visual {
  aspect-ratio: 3 / 5;
}

.story--landscape {
  grid-column: span 5;
}

.story--landscape .story__visual {
  aspect-ratio: 5 / 3;
}

.story--compact {
  grid-column: span 4;
}

.story--compact .story__visual {
  aspect-ratio: 4 / 3;
}

.story__info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0.25rem;
}

.story__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  color: var(--light);
  letter-spacing: -0.01em;
}

.story__date {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 241, 233, 0.4);
}

.story__desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(245, 241, 233, 0.55);
  max-width: 28rem;
  margin-top: 0.25rem;
}

.story:hover .story__title {
  color: var(--gold);
  transition: color 0.35s;
}

/* ============================================================
   FEATURED SPACE
   ============================================================ */
.featured {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 85vh;
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.featured__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.5rem);
  gap: var(--space-md);
}

.featured__title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--light);
}

.featured__statement {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245, 241, 233, 0.6);
  max-width: 26rem;
}

.featured__link {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: var(--space-sm);
  align-self: flex-start;
  transition: letter-spacing 0.4s var(--ease-cinematic);
}

.featured__link:hover {
  letter-spacing: 0.22em;
}

.featured__divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

.featured__right {
  position: relative;
  overflow: hidden;
  min-height: 28rem;
}

.featured__art {
  position: absolute;
  inset: 0;
  animation: slowDrift 18s ease-in-out infinite alternate;
}

.art--featured {
  right: 5%;
  bottom: -5%;
  width: 70%;
  height: 95%;
  opacity: 1;
}

.art--featured-circle {
  width: min(50vw, 22rem);
  height: min(50vw, 22rem);
  right: 15%;
  top: 8%;
}

.art--featured-beam {
  left: 35%;
  height: 85%;
}

@keyframes slowDrift {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-2.5%) scale(1.02); }
}

/* ============================================================
   PERSPECTIVE
   ============================================================ */
.perspective {
  background: var(--ivory);
  color: var(--ink);
  padding: var(--space-2xl) clamp(1.25rem, 5vw, 5rem);
}

.perspective__list {
  max-width: 80rem;
  margin: 0 auto;
  border-top: 1px solid var(--border-dark);
}

.perspective__item {
  border-bottom: 1px solid var(--border-dark);
}

.perspective__link {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: clamp(1.75rem, 4vw, 3rem) 0;
  position: relative;
  transition: background 0.5s var(--ease-soft), padding-left 0.5s var(--ease-cinematic);
}

.perspective__word {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.9;
  color: var(--ink);
  transition: transform 0.5s var(--ease-cinematic), color 0.4s;
  display: inline-block;
}

.perspective__line {
  display: block;
  width: 0;
  height: 1px;
  background: var(--gold);
  margin-top: 0.75rem;
  transition: width 0.6s var(--ease-cinematic);
}

.perspective__desc {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(23, 25, 28, 0.55);
  max-width: 28rem;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.45s var(--ease-soft) 0.05s, transform 0.45s var(--ease-cinematic);
  max-height: 0;
  overflow: hidden;
}

.perspective__link:hover,
.perspective__link:focus-visible {
  background: rgba(214, 168, 95, 0.06);
  padding-left: 1rem;
}

.perspective__link:hover .perspective__word,
.perspective__link:focus-visible .perspective__word {
  transform: translateX(0.5rem);
  color: var(--ink);
}

.perspective__link:hover .perspective__line,
.perspective__link:focus-visible .perspective__line {
  width: min(12rem, 40%);
}

.perspective__link:hover .perspective__desc,
.perspective__link:focus-visible .perspective__desc {
  opacity: 1;
  transform: translateY(0);
  max-height: 6rem;
}

/* ============================================================
   NUMBERS
   ============================================================ */
.numbers {
  background: var(--midnight);
  padding: var(--space-2xl) clamp(1.25rem, 5vw, 5rem);
  border-top: 1px solid var(--border);
}

.numbers__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  max-width: 80rem;
  margin: 0 auto;
}

.numbers__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--gold);
}

.numbers__value {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--light);
}

.numbers__plus {
  color: var(--gold);
  font-weight: 400;
}

.numbers__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 241, 233, 0.45);
}

/* ============================================================
   QUOTES / STORIES
   ============================================================ */
.quotes {
  background: var(--ivory);
  color: var(--ink);
  padding: var(--space-2xl) clamp(1.25rem, 5vw, 5rem);
}

.quotes__layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  max-width: 80rem;
  margin: 0 auto;
}

.quote {
  border: none;
}

.quote--a {
  grid-column: 1 / 7;
  padding-top: 0;
}

.quote--b {
  grid-column: 7 / 13;
  padding-top: clamp(3rem, 8vw, 7rem);
}

.quote--c {
  grid-column: 3 / 11;
  padding-top: clamp(1rem, 3vw, 2rem);
  border-top: 1px solid var(--border-dark);
  padding-top: var(--space-lg);
}

.quote__text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: var(--space-md);
}

.quote__meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.quote__portrait {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(23, 25, 28, 0.15);
}

.quote__portrait--1 {
  background: linear-gradient(135deg, var(--dusty), var(--charcoal));
}

.quote__portrait--2 {
  background: linear-gradient(160deg, var(--mist), var(--ink));
}

.quote__portrait--3 {
  background: linear-gradient(200deg, var(--rose), var(--charcoal));
}

.quote__name {
  font-family: var(--font-ui);
  font-style: normal;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  display: block;
}

.quote__role {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(23, 25, 28, 0.45);
}

/* ============================================================
   EDITIONS
   ============================================================ */
.editions {
  background: var(--midnight);
  padding: var(--space-2xl) clamp(1.25rem, 5vw, 5rem);
}

.editions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  max-width: 80rem;
  margin: 0 auto;
}

.edition {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--border);
  background: transparent;
  transition: border-color 0.4s;
}

.edition:hover {
  border-color: rgba(214, 168, 95, 0.35);
}

.edition--featured {
  background: var(--ivory);
  border-color: var(--gold);
  color: var(--ink);
  position: relative;
}

.edition__badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.edition__name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-top: var(--space-xs);
}

.edition--featured .edition__name {
  color: var(--ink);
}

.edition__for {
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  color: rgba(245, 241, 233, 0.55);
  margin-bottom: var(--space-sm);
}

.edition--featured .edition__for {
  color: rgba(23, 25, 28, 0.55);
}

.edition__benefits {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: var(--space-sm) 0 var(--space-md);
  flex: 1;
}

.edition__benefits li {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(245, 241, 233, 0.6);
  padding-left: 1rem;
  position: relative;
}

.edition__benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 1px;
  background: var(--gold);
}

.edition--featured .edition__benefits li {
  color: rgba(23, 25, 28, 0.7);
}

.edition__cta {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  align-self: flex-start;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--border);
  color: var(--light);
  transition: border-color 0.35s, color 0.35s, background 0.35s;
}

.edition__cta:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.edition__cta--dark {
  background: var(--midnight);
  border-color: var(--midnight);
  color: var(--light);
}

.edition__cta--dark:hover {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

/* ============================================================
   REPRISE — Final cover echo
   ============================================================ */
.reprise {
  position: relative;
  min-height: 90vh;
  background: var(--midnight);
  display: flex;
  align-items: center;
  padding: var(--space-2xl) clamp(1.25rem, 5vw, 5rem);
  overflow: hidden;
  isolation: isolate;
}

.reprise__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

.reprise__artwork {
  position: absolute;
  inset: 5% 0 5% 45%;
  z-index: 1;
  opacity: 0.9;
}

.art--reprise {
  right: 10%;
  bottom: 0;
  width: 60%;
  height: 90%;
  transform: scaleX(-1);
}

.art--reprise-circle {
  width: min(38vw, 24rem);
  height: min(38vw, 24rem);
  left: 5%;
  top: 20%;
  right: auto;
  border-color: rgba(214, 168, 95, 0.25);
}

.art--reprise-beam {
  left: 55%;
  height: 75%;
}

.art--reprise-dust {
  left: 0;
  right: auto;
  transform: scaleX(-1);
}

.art--reprise-rose {
  left: auto;
  right: 30%;
  top: 55%;
}

.reprise__content {
  position: relative;
  z-index: 5;
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.reprise__headline {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--light);
}

.reprise__support {
  font-family: var(--font-secondary);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  letter-spacing: 0.04em;
  color: rgba(245, 241, 233, 0.6);
  max-width: 24rem;
}

.reprise__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--midnight);
  background: var(--gold);
  padding: 1rem 1.75rem;
  border: 1px solid var(--gold);
  transition: background 0.4s, color 0.4s;
}

.reprise__cta:hover {
  background: transparent;
  color: var(--gold);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--charcoal);
  padding: var(--space-xl) clamp(1.25rem, 5vw, 5rem) var(--space-lg);
  border-top: 1px solid var(--border);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: var(--space-lg);
  max-width: 80rem;
  margin: 0 auto;
  align-items: start;
}

.site-footer__logo {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.9;
  color: var(--light);
}

.site-footer__tagline {
  font-family: var(--font-secondary);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: rgba(245, 241, 233, 0.5);
  margin-top: var(--space-sm);
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.site-footer__col h3 {
  margin-bottom: var(--space-sm);
  color: var(--gold);
}

.site-footer__col a {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(245, 241, 233, 0.55);
  display: inline-block;
  padding: 0.3rem 0;
  transition: color 0.3s;
}

.site-footer__col a:hover {
  color: var(--light);
}

.site-footer__divider {
  max-width: 80rem;
  margin: var(--space-lg) auto var(--space-md);
  height: 1px;
  background: var(--gold);
  opacity: 0.45;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 80rem;
  margin: 0 auto;
  gap: var(--space-sm);
}

/* ============================================================
   RESPONSIVE — Laptop
   ============================================================ */
@media (max-width: 1100px) {
  .story--tall { grid-column: span 6; }
  .story--wide { grid-column: span 6; }
  .story--square { grid-column: span 6; }
  .story--portrait { grid-column: span 4; }
  .story--landscape { grid-column: span 8; }
  .story--compact { grid-column: span 6; }

  .quote--a { grid-column: 1 / 7; }
  .quote--b { grid-column: 7 / 13; padding-top: 2rem; }
  .quote--c { grid-column: 2 / 12; }
}

/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 900px) {
  .nav__menu {
    display: none;
  }

  .cover__artwork {
    inset: 12% 0 22% 25%;
  }

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

  .manifesto__meta {
    flex-direction: row;
    gap: var(--space-md);
  }

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

  .featured {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .featured__divider {
    width: 100%;
    height: 1px;
  }

  .featured__right {
    min-height: 22rem;
  }

  .numbers__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg) var(--space-md);
  }

  .editions__grid {
    grid-template-columns: 1fr;
    max-width: 28rem;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .reprise__artwork {
    inset: auto 0 0 20%;
    height: 55%;
    opacity: 0.55;
  }
}

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 640px) {
  :root {
    --space-lg: 3rem;
    --space-xl: 4rem;
    --space-2xl: 5.5rem;
  }

  .cover {
    padding: 1.25rem;
  }

  .cover__title {
    font-size: clamp(4.5rem, 28vw, 7rem);
  }

  .cover__statement {
    letter-spacing: 0.06em;
  }

  .cover__artwork {
    inset: 18% -5% 28% 15%;
    opacity: 0.85;
  }

  .cover__enter {
    width: 4.75rem;
    height: 4.75rem;
  }

  .cover__footer {
    align-items: center;
  }

  .nav {
    padding: 0 1.25rem;
  }

  .nav__cta {
    padding: 0.55rem 0.85rem;
    font-size: 0.625rem;
  }

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

  .story--tall,
  .story--wide,
  .story--square,
  .story--portrait,
  .story--landscape,
  .story--compact {
    grid-column: span 1;
  }

  .story--tall .story__visual { aspect-ratio: 4 / 5; }
  .story--wide .story__visual { aspect-ratio: 16 / 10; }
  .story--portrait .story__visual { aspect-ratio: 3 / 4; }
  .story--landscape .story__visual { aspect-ratio: 16 / 10; }

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

  .quote--a,
  .quote--b,
  .quote--c {
    grid-column: 1;
    padding-top: 0;
  }

  .quote--c {
    border-top: 1px solid var(--border-dark);
    padding-top: var(--space-md);
  }

  .quote--b {
    padding-top: 0;
  }

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

  .site-footer__cols {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .perspective__link:hover {
    padding-left: 0.5rem;
  }

  .reprise {
    min-height: 75vh;
    align-items: flex-start;
    padding-top: var(--space-xl);
  }

  .reprise__artwork {
    inset: auto -10% -5% 0;
    height: 45%;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .cover__meta,
  .cover__title,
  .cover__statement,
  .cover__footer,
  .cover__artwork,
  .cover__enter-ring {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .nav,
  .cover__enter,
  .cover__grain,
  .reprise__grain {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}
