/* ───── DESIGN TOKENS — warm palette (personal site) ───── */
:root {
  --black: #2a2d31;
  --black-alt: #31353a;
  --cream: #e8e2d9;
  --muted: #8a8880;
  --dim: #55585c;
  --gold: #c9a84c;
  --gold-line: rgba(201, 168, 76, 0.35);
  --hairline: rgba(255, 255, 255, 0.06);
  --hairline-soft: rgba(255, 255, 255, 0.04);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.8;
  overflow-x: hidden;
}

/* ───── NAV ───── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 60px;
  background: rgba(42, 45, 49, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline-soft);
}

.nav-logo {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 36px; list-style: none; }

.nav-links a {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

/* ───── BUTTONS / LINKS ───── */
.btn {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 28px;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  font-weight: 400;
}
.btn-primary:hover { background: var(--cream); }

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border-bottom: 1px solid var(--cream);
  padding: 16px 4px;
  margin-left: 24px;
}
.btn-secondary:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* ───── HERO ───── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 60px 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 50%, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin-bottom: 40px;
}

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

.hero-sub {
  font-size: 19px;
  color: rgba(232, 226, 217, 0.75);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-ctas { display: flex; align-items: center; }

.hero-caption {
  position: absolute;
  bottom: 48px;
  right: 60px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ───── CHAPTERS ───── */
section.chapter {
  padding: 120px 60px;
  border-top: 1px solid var(--hairline);
  position: relative;
}

section.chapter.alt { background: var(--black-alt); }

.chapter-header {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 72px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.chapter-number {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.15em;
  flex-shrink: 0;
}

.chapter h2 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.chapter h2 em { font-style: italic; color: var(--gold); }

/* ───── STORY GRID (prose + portrait) ───── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 72px;
  max-width: 1240px;
  margin: 0 auto;
  align-items: start;
}

.portrait {
  position: sticky;
  top: 120px;
}

.portrait img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%) contrast(1.05) brightness(0.95);
  border: 1px solid var(--hairline);
}

.portrait-caption {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 16px;
  text-align: right;
}

/* ───── PROSE ───── */
.prose {
  max-width: 720px;
  margin: 0;
}

.prose p {
  font-size: 19px;
  line-height: 1.85;
  margin-bottom: 28px;
  color: rgba(232, 226, 217, 0.88);
}

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

.prose strong { font-weight: 600; color: var(--cream); }

.prose em { font-style: italic; }

.prose a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-line);
}
.prose a:hover { border-bottom-color: var(--gold); }

/* ───── MANIFESTO ───── */
.manifesto {
  max-width: 720px;
  margin: 0 auto;
  padding-left: 40px;
  border-left: 2px solid var(--gold);
}

.manifesto p {
  font-size: clamp(24px, 3vw, 34px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--cream);
}

.manifesto-caption {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 40px;
  padding-left: 42px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ───── FIND ME (links section) ───── */
.find-grid {
  max-width: 720px;
  margin: 0 auto;
}

.find-row {
  display: grid;
  grid-template-columns: 180px 1fr 24px;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}

.find-row:last-child { border-bottom: none; }

.find-row:hover { padding-left: 12px; }

.find-row:hover .find-label,
.find-row:hover .find-arrow { color: var(--gold); }

.find-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  transition: color 0.2s;
}

.find-value {
  font-size: 19px;
  color: var(--cream);
  line-height: 1.4;
}

.find-value-meta {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.05em;
}

.find-arrow {
  font-family: 'DM Mono', monospace;
  font-size: 18px;
  color: var(--dim);
  text-align: right;
  transition: color 0.2s;
}

/* ───── FOOTER ───── */
footer {
  background: var(--black-alt);
  padding: 60px 60px 48px;
  border-top: 1px solid var(--hairline);
  text-align: center;
}

.footer-line {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--dim);
  text-transform: uppercase;
}

.footer-line + .footer-line {
  margin-top: 12px;
}

/* ───── RESPONSIVE ───── */
@media (max-width: 900px) {
  nav { padding: 18px 24px; }
  .nav-links { display: none; }

  .hero { padding: 120px 24px 80px; }
  .hero h1 { font-size: 42px; }
  .hero-sub { font-size: 17px; }
  .hero-caption { position: static; margin-top: 48px; }
  .btn-secondary { margin-left: 12px; }

  section.chapter { padding: 80px 24px; }
  .chapter-header { flex-direction: column; gap: 8px; margin-bottom: 48px; }

  .prose p { font-size: 17px; }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .portrait {
    position: static;
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }
  .portrait-caption { text-align: center; }

  .manifesto { padding-left: 24px; }
  .manifesto p { font-size: 22px; }
  .manifesto-caption { padding-left: 26px; }

  .find-row { grid-template-columns: 1fr 24px; gap: 8px; padding: 20px 0; }
  .find-label { grid-column: 1 / -1; margin-bottom: 4px; }
  .find-value { font-size: 17px; }

  footer { padding: 48px 24px 36px; }
}
