:root {
  --bg: #11100f;
  --bg-soft: #171513;
  --panel: rgba(31, 27, 23, 0.68);
  --panel-strong: rgba(36, 31, 26, 0.84);
  --line: rgba(222, 189, 137, 0.18);
  --text: #f1eadf;
  --muted: #c4b49f;
  --accent: #e0a860;
  --accent-soft: #9a7f5e;
  --moss: #70806a;
  --plum: #5b4451;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --layout: min(1160px, calc(100vw - 3rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Instrument Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(128, 103, 67, 0.22), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(84, 65, 78, 0.18), transparent 22%),
    linear-gradient(180deg, #151311 0%, #0f0d0c 55%, #0d0c0b 100%);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.08) 0 0.8px, transparent 1px),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.06) 0 0.8px, transparent 1px),
    radial-gradient(circle at 40% 70%, rgba(255,255,255,0.06) 0 0.7px, transparent 1px);
  background-size: 160px 160px, 190px 190px, 140px 140px;
  mix-blend-mode: soft-light;
}

.layout {
  width: var(--layout);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100vw - 2rem));
  margin-top: 1rem;
  padding: 0.95rem 1.2rem;
  border: 1px solid rgba(224, 168, 96, 0.14);
  border-radius: 999px;
  background: rgba(19, 17, 15, 0.68);
  backdrop-filter: blur(14px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
  box-shadow: 0 12px 48px rgba(0,0,0,0.28);
}

.wordmark {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
}

.site-header nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-header nav a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-backdrop,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.74);
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(9, 8, 8, 0.18) 0%, rgba(11, 10, 10, 0.35) 28%, rgba(12, 11, 11, 0.76) 100%),
    linear-gradient(90deg, rgba(12, 11, 10, 0.86) 0%, rgba(12, 11, 10, 0.46) 42%, rgba(12, 11, 10, 0.68) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 3rem;
  align-items: end;
  padding: 9rem 0 5rem;
}

.hero-copy {
  max-width: 40rem;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: lowercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-size: 0.8rem;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", serif;
  line-height: 0.95;
  margin: 0;
  font-weight: 600;
}

h1 {
  font-size: clamp(4.5rem, 12vw, 8rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
}

.lede {
  margin: 1rem 0 1.1rem;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: #f6d8b5;
  max-width: 28rem;
}

.body-copy {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
  max-width: 42rem;
}

.hero-notes span,
.traits li {
  border: 1px solid rgba(224, 168, 96, 0.18);
  background: rgba(25, 22, 19, 0.45);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  color: #dbcab5;
  font-size: 0.93rem;
}

.hero-portrait {
  justify-self: end;
  width: min(100%, 420px);
}

.portrait-frame {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(224, 168, 96, 0.16);
  background: rgba(16, 14, 13, 0.52);
  box-shadow: var(--shadow);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  pointer-events: none;
}

.section {
  padding: 7.5rem 0 1rem;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.split-card,
.note-card,
.fragment,
.artifact-card {
  background: linear-gradient(180deg, rgba(30, 26, 23, 0.8), rgba(22, 20, 18, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.split-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  padding: 2rem;
}

.split-card p:first-child,
.fragment p,
.note-card p,
.artifact-card p,
.section-footnote,
.split-card p {
  color: var(--muted);
}

.traits {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.now-grid,
.artifacts-grid,
.fragments {
  display: grid;
  gap: 1.2rem;
}

.now-grid {
  grid-template-columns: repeat(4, 1fr);
}

.note-card,
.artifact-card {
  padding: 1.4rem;
  min-height: 180px;
}

.accent-card {
  background:
    radial-gradient(circle at top right, rgba(224, 168, 96, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(39, 31, 25, 0.88), rgba(23, 20, 18, 0.92));
}

.section-footnote {
  margin: 1.4rem 0 0;
  max-width: 50rem;
}

.fragments {
  grid-template-columns: repeat(3, 1fr);
}

.fragment {
  padding: 1.5rem;
}

.ambient {
  background:
    radial-gradient(circle at top right, rgba(112, 128, 106, 0.11), transparent 35%),
    linear-gradient(180deg, rgba(30, 26, 23, 0.8), rgba(22, 20, 18, 0.9));
}

.artifacts-grid {
  grid-template-columns: repeat(4, 1fr);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 5rem 0 3rem;
  color: #ab9b87;
  font-size: 0.94rem;
}

.reveal {
  animation: rise 0.9s ease both;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.32s; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero-content,
  .split-card,
  .artifacts-grid,
  .now-grid,
  .fragments {
    grid-template-columns: 1fr 1fr;
  }

  .hero-portrait {
    width: 320px;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100vw - 1rem);
    padding: 0.9rem 1rem;
    border-radius: 22px;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }

  .site-header nav {
    flex-wrap: wrap;
    gap: 0.8rem 1rem;
    font-size: 0.9rem;
  }

  .hero-content,
  .split-card,
  .artifacts-grid,
  .now-grid,
  .fragments {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 9.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-portrait {
    justify-self: start;
    width: min(100%, 320px);
  }

  .section {
    padding-top: 5rem;
  }

  .site-footer {
    flex-direction: column;
    gap: 0.5rem;
  }
}
