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

:root {
  --bg: #2e2840;
  --bg-surface: #3a3350;
  --bg-card: #413a5a;
  --gold: #c2aee8;
  --gold-dim: #8a74c0;
  --gold-glow: rgba(194, 174, 232, 0.08);
  --text: #f5f1ff;
  --text-muted: #c4b8e0;
  --text-dim: #8a7faa;
  --border: rgba(194, 174, 232, 0.2);
  --border-dim: rgba(255, 255, 255, 0.08);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--gold);
}

p {
  margin-bottom: 1.25rem;
  color: var(--text);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-dim);
  transition: border-color 0.2s;
}

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

/* ── Layout ── */
.container {
  max-width: 1050px;
  ;
  margin: 0 auto;
  padding: 0 3rem;
}

section {
  padding: 6rem 0;
  border-top: 1px solid var(--border-dim);
  scroll-margin-top: 70px;
}

section:first-of-type {
  border-top: none;
}

.section-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::after {
  content: '';
  display: block;
  height: 1px;
  width: 3rem;
  background: var(--gold-dim);
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(46, 40, 64, 0.97) 0%, rgba(46, 40, 64, 0) 100%);
  backdrop-filter: blur(8px);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--text);
  border: none;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold);
}

/* ── Hero ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 6rem;
  border-top: none;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 40%, rgba(194, 174, 232, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

#hero .container {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-subtitle {
  font-family: var(--sans);
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 200;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.hero-meta {
  display: flex;
  gap: 2.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero-meta span {
  color: var(--text-muted);
}

/* ── Intro ── */
.intro-text {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text);
}

.intro-text strong {
  font-weight: 600;
  color: var(--gold);
}

/* ── Media Grid ── */
.media-grid {
  display: grid;
  gap: 1.5rem;
}

.media-grid.two-col {
  grid-template-columns: 1fr 1fr;
}

.media-image {
  width: 100%;
  display: block;
  border-radius: 4px;
  border: 1px solid var(--border-dim);
  margin-top: 0;
}

.media-item {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.media-item:hover {
  border-color: var(--border);
}

.media-placeholder {
  aspect-ratio: 16/9;
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border-dim);
  cursor: pointer;
  transition: background 0.2s;
}

.media-placeholder:hover {
  background: #4a4266;
}

.media-placeholder .placeholder-icon {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dim);
  font-size: 1.1rem;
}

.media-placeholder p {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0;
}

.media-caption {
  padding: 1rem 1.25rem;
}

.media-caption .caption-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.35rem;
}

.media-caption .caption-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.media-item.wide {
  grid-column: 1 / -1;
}

.media-item.wide .media-placeholder {
  aspect-ratio: 21/9;
}

/* ── Works Cited ── */
.works-cited-list p {
  padding-left: 2rem;
  text-indent: -2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* ── Process Timeline ── */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
}

.timeline-phase {
  position: relative;
  margin-bottom: 3.5rem;
}

.timeline-phase:last-child {
  margin-bottom: 0;
}

.timeline-phase::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(-3px);
}

.phase-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.phase-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.phase-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

/* ── Decision Points ── */
.decision-point {
  border-left: 2px solid var(--gold-dim);
  padding: 2.5rem 0 2.5rem 2.5rem;
  margin-bottom: 4rem;
  position: relative;
}

.decision-point:last-child {
  margin-bottom: 0;
}

.decision-point::before {
  content: attr(data-num);
  position: absolute;
  left: -1.2rem;
  top: 2.25rem;
  width: 2.4rem;
  height: 2.4rem;
  background: var(--bg);
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--gold);
}

.decision-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.decision-context {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 1.25rem;
}

.decision-body {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.decision-outcome {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--gold-glow);
  border: 1px solid var(--border);
  border-radius: 3px;
}

.decision-outcome .outcome-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.decision-outcome p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Reflection ── */
.reflection-quote {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text);
  border-left: 2px solid var(--gold);
  padding-left: 2rem;
  margin: 3rem 0;
}

/* ── Footer ── */
footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border-dim);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

footer span {
  color: var(--text-muted);
}

/* ── Utilities ── */
.spacer {
  height: 2rem;
}

.text-muted {
  color: var(--text-muted);
}

/* ── Fade-in on scroll ── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in.delay-1 {
  transition-delay: 0.1s;
}

.fade-in.delay-2 {
  transition-delay: 0.2s;
}

.fade-in.delay-3 {
  transition-delay: 0.3s;
}

/* ── Hero texture ── */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(194, 174, 232, 0.25) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.4;
  pointer-events: none;
}

/* ── Decision divider ── */
.decision-divider {
  border: none;
  border-top: 1px solid var(--border-dim);
  margin: 1.75rem 0;
}

/* -- slideshow stuff --*/
.slideshow {
  position: relative;
  padding-top: 2.5rem;
}

.slides {
  position: relative;
  width: 100%;
}

.prev, .next {
  position: absolute;
  top: 0;
  padding: 0.4rem 1rem;
  background: transparent;
  border: 1px solid white;
  color: white;
  font-size: 0.85rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.prev:hover, .next:hover {
  background: white;
  color: black;
}

.prev {
  left: 0;
}

.right {
  right: 0;
}

.next {
  right: 0;
}

.slide {
  display: none;
  width: 100%;
}

.slide.active {
  display: block;
}


/* ── Responsive ── */

/* Tablet: 641px – 900px */
@media (max-width: 900px) {
  h1 {
    font-size: clamp(3rem, 7vw, 5rem);
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .decision-point {
    padding: 2rem 0 2rem 2rem;
  }

  .reflection-quote {
    font-size: 1.5rem;
  }
}

/* Small tablet / large phone: 481px – 640px */
@media (max-width: 640px) {
  nav {
    padding: 1rem 1.25rem;
  }

  .nav-links {
    display: none;
  }

  .container {
    padding: 0 1.25rem;
  }

  section {
    padding: 6rem 0;
    border-top: 1px solid var(--border-dim);
  }

  h1 {
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  h2 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .hero-subtitle {
    font-size: 1.1rem;
    max-width: 100%;
  }

  .hero-meta {
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  .media-grid.two-col {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 1.5rem;
  }

  .timeline-phase::before {
    left: -1.5rem;
  }

  .decision-point {
    padding: 1.75rem 0 1.75rem 1.75rem;
    margin-bottom: 3rem;
  }

  .decision-point::before {
    left: -1rem;
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
  }

  .reflection-quote {
    font-size: 1.3rem;
    padding-left: 1.25rem;
  }
}

/* Mobile: up to 480px */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  section {
    padding: 3rem 0;
  }

  .section-label {
    margin-bottom: 1.75rem;
  }

  h1 {
    font-size: clamp(2.2rem, 12vw, 3rem);
    letter-spacing: -0.01em;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-meta {
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.75rem;
  }

  .intro-text {
    font-size: 1.15rem;
  }

  .media-caption {
    padding: 0.75rem 1rem;
  }

  .timeline {
    padding-left: 1.25rem;
  }

  .timeline-phase::before {
    left: -1.25rem;
    width: 6px;
    height: 6px;
  }

  .timeline-phase {
    margin-bottom: 2.5rem;
  }

  .phase-title {
    font-size: 1.2rem;
  }

  .decision-point {
    padding: 1.5rem 0 1.5rem 1.5rem;
    margin-bottom: 2.5rem;
  }

  .decision-point::before {
    display: none;
  }

  .decision-title {
    font-size: 1.35rem;
  }

  .decision-outcome {
    padding: 1rem 1.25rem;
  }

  .reflection-quote {
    font-size: 1.15rem;
    margin: 2rem 0;
  }

  footer {
    padding: 2rem 0;
  }
}
