:root {
  --deep: #4a1526;
  --burgundy: #7a2e42;
  --rose: #b8697e;
  --ivory: #f5ece3;
  --parchment: #e8ddd0;
  --ink: #2d0f18;
  --muted: #6b4450;
  --silver: #c9c0b8;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --compliance-interview: "Interview:**";
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Source Serif 4", serif;
  overflow-x: hidden;
}

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

.magazine { position: relative; }

.spread {
  position: relative;
  min-height: 100vh;
  padding: clamp(2rem, 5vw, 6rem);
  overflow: hidden;
  scroll-snap-align: start;
}

.micro-label {
  margin: 0 0 1rem;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--burgundy);
}

h1, h2, h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.glass-card {
  background: linear-gradient(135deg, rgba(245, 236, 227, 0.42), rgba(122, 46, 66, 0.08));
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  border: 1px solid rgba(122, 46, 66, 0.15);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(74, 21, 38, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.glass-card:hover {
  transform: translateY(-4px) rotate(var(--card-rotate, 0deg));
  box-shadow: 0 16px 48px rgba(74, 21, 38, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.spread-cover {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(280px, 5fr);
  align-items: center;
  gap: 1.6rem;
  background: var(--ivory);
}

.cover-copy { max-width: 62vw; z-index: 2; }

.hero-title {
  margin: 0;
  max-width: 11ch;
  color: var(--ink);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 800;
}

.hero-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: char-rise 0.75s var(--ease) forwards;
}

.hero-tagline {
  max-width: 42rem;
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-style: italic;
  line-height: 1.5;
}

.ring-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ring {
  position: absolute;
  top: 40%;
  left: 70%;
  width: min(46vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid rgba(122, 46, 66, 0.2);
  transform: translate(-50%, -50%);
  animation: radiate 15s ease-in-out infinite;
}

.ring::before, .ring::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  border: inherit;
  inset: 12%;
}

.ring::after { inset: 27%; opacity: 0.55; }
.ring-two { width: min(33vw, 430px); animation-delay: -6s; border-color: rgba(184, 105, 126, 0.18); }

.cover-cards {
  position: relative;
  z-index: 3;
  min-height: 520px;
}

.icon-card {
  position: absolute;
  display: grid;
  place-items: center;
  opacity: 0;
  animation: card-float-in 1s var(--ease) forwards, float-soft 8s ease-in-out infinite;
}

.card-hex { --card-rotate: 2deg; width: 180px; height: 240px; top: 8%; right: 20%; transform: translateX(60px) rotate(2deg); animation-delay: 1.8s, 3s; }
.card-circle { --card-rotate: -1.5deg; width: 140px; height: 200px; top: 43%; right: 47%; transform: translateX(60px) rotate(-1.5deg); animation-delay: 2s, 3.2s; }
.card-triangle { --card-rotate: 3deg; width: 220px; height: 160px; top: 55%; right: 2%; transform: translateX(60px) rotate(3deg); animation-delay: 2.2s, 3.4s; }

.shape-icon { display: block; width: 86px; height: 86px; border: 2px solid rgba(122, 46, 66, 0.48); }
.hex-icon { clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%); background: rgba(184, 105, 126, 0.04); }
.circle-icon { border-radius: 50%; background: rgba(184, 105, 126, 0.08); animation: pulse-circle 8s ease-in-out infinite; }
.triangle-icon { border: 0; background: rgba(122, 46, 66, 0.13); clip-path: polygon(50% 8%, 8% 88%, 92% 88%); }
.triangle-icon::after { content: ""; display: block; width: 100%; height: 100%; clip-path: inherit; border: 2px solid var(--burgundy); }

.spread-feature {
  display: grid;
  grid-template-columns: 55% 40%;
  gap: 5%;
  align-items: center;
  background: linear-gradient(180deg, var(--ivory), var(--parchment));
}

.feature-text h2 {
  margin: 0 0 2rem;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 600;
}

.column-body {
  column-count: 2;
  column-gap: 2.4rem;
  color: var(--ink);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.65;
  letter-spacing: 0.005em;
}

.column-body p { margin: 0 0 1.3rem; }
.dropcap::first-letter {
  float: left;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 4.5rem;
  line-height: 0.8;
  font-weight: 800;
  color: var(--deep);
  margin: 0.08rem 0.6rem 0 0;
}

.constellation-card {
  --card-rotate: 2.5deg;
  height: 80vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  transform: rotate(2.5deg);
}

.constellation { width: 100%; max-height: 100%; }

.spread-centerfold {
  background: var(--ivory);
}

.shape-field { position: absolute; inset: 0; }
.bg-shape {
  position: absolute;
  display: block;
  opacity: 0.1;
  animation: drift 60s ease-in-out infinite alternate;
}
.bg-shape.circle { border-radius: 50%; background: rgba(184, 105, 126, 0.35); }
.bg-shape.hex { clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%); border: 1.5px solid rgba(122, 46, 66, 0.2); }
.bg-shape.tri { clip-path: polygon(50% 8%, 8% 88%, 92% 88%); background: rgba(122, 46, 66, 0.18); }
.s1{width:160px;height:160px;top:6%;left:7%;animation-duration:44s}.s2{width:120px;height:120px;top:12%;left:34%;animation-duration:72s}.s3{width:190px;height:190px;top:4%;right:10%;animation-duration:58s}.s4{width:88px;height:88px;top:30%;left:18%;animation-duration:67s}.s5{width:210px;height:210px;top:35%;left:44%;animation-duration:80s}.s6{width:110px;height:110px;top:28%;right:8%;animation-duration:53s}.s7{width:260px;height:260px;bottom:4%;left:2%;animation-duration:76s}.s8{width:96px;height:96px;bottom:18%;left:27%;animation-duration:47s}.s9{width:130px;height:130px;bottom:12%;right:26%;animation-duration:62s}.s10{width:180px;height:180px;bottom:2%;right:4%;animation-duration:78s}.s11{width:70px;height:70px;top:55%;left:10%;animation-duration:51s}.s12{width:115px;height:115px;top:18%;left:62%;animation-duration:43s}.s13{width:72px;height:72px;top:68%;left:49%;animation-duration:69s}.s14{width:160px;height:160px;top:70%;right:40%;animation-duration:82s}.s15{width:65px;height:65px;top:44%;right:30%;animation-duration:57s}.s16{width:130px;height:130px;top:80%;left:72%;animation-duration:49s}.s17{width:190px;height:190px;top:48%;right:-3%;animation-duration:87s}.s18{width:75px;height:75px;top:8%;left:52%;animation-duration:60s}.s19{width:95px;height:95px;bottom:26%;left:60%;animation-duration:73s}.s20{width:140px;height:140px;bottom:38%;left:36%;animation-duration:66s}

.concept-card {
  position: absolute;
  width: min(300px, 80vw);
  min-height: 180px;
  padding: 1.55rem;
  z-index: 2;
}
.concept-one { top: 12%; left: 8%; }
.concept-two { top: 36%; left: 32%; }
.concept-three { top: 60%; left: 55%; }
.concept-card h3 { margin: 0 0 0.7rem; font-size: 1.4rem; font-weight: 600; }
.concept-card p:last-child { margin: 0; color: var(--muted); line-height: 1.55; font-size: 0.95rem; }

.spread-interview {
  display: grid;
  place-items: center;
  background: var(--parchment);
}

.rotating-triangle {
  position: absolute;
  width: 500px;
  height: 500px;
  right: 5%;
  top: 18%;
  background: rgba(122, 46, 66, 0.04);
  clip-path: polygon(50% 10%, 15% 85%, 85% 85%);
  animation: gentle-spin 90s linear infinite;
}

.interview-wrap { width: min(680px, 100%); z-index: 1; }
.qa-pair {
  padding-bottom: 2.4rem;
  margin-bottom: 2.4rem;
  border-bottom: 1px solid rgba(74, 21, 38, 0.15);
}
.question { margin: 0 0 0.9rem; font-size: 1.3rem; font-style: italic; color: var(--deep); line-height: 1.45; }
.answer { margin: 0; font-size: 1.05rem; color: var(--muted); line-height: 1.65; }

.spread-colophon {
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--deep);
  color: var(--ivory);
}
.colophon-inner h2 {
  margin: 0 0 2rem;
  color: var(--ivory);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.pill-row { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.glass-pill {
  padding: 0.6rem 1.8rem;
  border-radius: 999px;
  background: rgba(245, 236, 227, 0.1);
  border: 1px solid rgba(245, 236, 227, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ivory);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.glass-pill:hover { background: rgba(245, 236, 227, 0.18); transform: translateY(-3px); }
.colophon-inner p { margin: 1.5rem 0 0; color: rgba(245, 236, 227, 0.6); font-size: 0.9rem; font-style: italic; }

.spread-nav {
  position: fixed;
  right: clamp(1.2rem, 3vw, 2.4rem);
  bottom: clamp(1.2rem, 3vw, 2.4rem);
  display: flex;
  gap: 0.7rem;
  z-index: 20;
}
.nav-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--deep);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.nav-dot:hover { transform: scale(1.35); }
.nav-dot.active { width: 10px; height: 10px; }
.nav-dot.active::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid currentColor;
  border-radius: 50%;
  animation: dot-pulse 2.2s ease-in-out infinite;
}
.spread-colophon ~ .spread-nav, body.on-dark .nav-dot { background: var(--ivory); }

.reveal { opacity: 0; transform: translateY(50px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.slide-left { transform: translateX(-30px); }
.reveal.slide-right { transform: translateX(30px) rotate(2.5deg); }
.reveal.scale-in { transform: scale(0.95); transition-duration: 1.2s; }
.reveal.visible { opacity: 1; transform: translate(0, 0) scale(1); }
.reveal.slide-right.visible { transform: translateX(0) rotate(2.5deg); }
.qa-pair.reveal:nth-of-type(2) { transition-delay: 0.15s; }
.qa-pair.reveal:nth-of-type(3) { transition-delay: 0.3s; }
.stack-card:nth-of-type(2) { transition-delay: 0.3s; }
.stack-card:nth-of-type(3) { transition-delay: 0.6s; }

@keyframes char-rise { to { opacity: 1; transform: translateY(0); } }
@keyframes radiate { 0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.3; } 50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.15; } 100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.3; } }
@keyframes card-float-in { to { opacity: 1; transform: translateX(0) rotate(var(--card-rotate)); } }
@keyframes float-soft { 0%,100% { margin-top: 0; } 50% { margin-top: -12px; } }
@keyframes pulse-circle { 0%,100% { transform: scale(0.98); } 50% { transform: scale(1.02); } }
@keyframes drift { 0% { transform: translate(0, 0) rotate(0deg); } 100% { transform: translate(24px, -18px) rotate(16deg); } }
@keyframes gentle-spin { to { transform: rotate(360deg); } }
@keyframes dot-pulse { 0%,100% { transform: scale(0.75); opacity: 0.55; } 50% { transform: scale(1.3); opacity: 0.12; } }

@media (max-width: 900px) {
  .spread-cover, .spread-feature { grid-template-columns: 1fr; }
  .cover-copy { max-width: 100%; }
  .cover-cards { min-height: 360px; }
  .column-body { column-count: 1; }
  .constellation-card { height: 55vh; }
  .concept-two { left: 22%; }
  .concept-three { left: 38%; }
}

@media (max-width: 768px) {
  .spread { padding: clamp(1.2rem, 6vw, 2.4rem); min-height: 100vh; }
  .cover-cards { min-height: 320px; }
  .card-hex { right: 30%; top: 0; }
  .card-circle { right: 58%; top: 42%; }
  .card-triangle { right: 0; top: 50%; }
  .concept-card { position: relative; top: auto; left: auto; margin: 1rem 0; }
  .concept-one { transform: translateX(8px); margin-top: 20vh; }
  .concept-two { transform: translateX(-8px); }
  .concept-three { transform: translateX(8px); }
  .spread-centerfold { display: flex; flex-direction: column; justify-content: center; }
  .rotating-triangle { width: 360px; height: 360px; right: -20%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero-title .char, .icon-card, .reveal { opacity: 1; transform: none; }
}
