:root {
  --void: #050403;
  --bg: #0a0806;
  --panel: #12100c;
  --panel-2: #1a1611;
  --ink: #f6edd8;
  --muted: #b8a88c;
  --gold: #c9a45c;
  --gold-2: #f0ddb0;
  --gold-dim: #8a6c34;
  --line: rgba(201, 164, 92, 0.22);
  --veil: rgba(5, 4, 3, 0.58);
  --shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
}

body {
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 300;
  letter-spacing: 0.02em;
  min-height: 100vh;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

.noise,
.gold-frame,
.loader,
.cursor,
.cursor-ring {
  pointer-events: none;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.gold-frame {
  position: fixed;
  inset: 12px;
  z-index: 70;
  border: 1px solid rgba(201, 164, 92, 0.16);
}

.gold-frame::before,
.gold-frame::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid var(--gold);
}

.gold-frame::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.gold-frame::after {
  right: -1px;
  bottom: -1px;
  border-left: 0;
  border-top: 0;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--void);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  text-align: center;
}

.loader-mark span {
  display: block;
  font-family: Cinzel, serif;
  letter-spacing: 0.42em;
  font-size: 12px;
  color: var(--gold-2);
}

.loader-line {
  width: 180px;
  height: 1px;
  margin: 18px auto 0;
  background: rgba(201, 164, 92, 0.2);
  overflow: hidden;
}

.loader-line i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  animation: loadline 1.2s ease forwards;
}

@keyframes loadline {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

.cursor,
.cursor-ring {
  display: none;
}

@media (pointer: fine) {
  body,
  a,
  button {
    cursor: none;
  }

  .cursor,
  .cursor-ring {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 190;
    transform: translate(-50%, -50%);
  }

  .cursor {
    width: 6px;
    height: 6px;
    background: var(--gold-2);
  }

  .cursor-ring {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(201, 164, 92, 0.5);
    transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease;
  }

  body.is-hovering .cursor-ring {
    width: 72px;
    height: 72px;
    border-color: var(--gold);
  }
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4vw;
  transition: background 0.35s ease, border-color 0.35s ease, padding 0.35s ease, transform 0.4s ease;
}

.nav.is-scrolled {
  background: rgba(10, 8, 6, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  padding: 14px 4vw;
}

.nav.is-hidden {
  transform: translateY(-110%);
}

.logo {
  font-family: Cinzel, serif;
  font-size: 13px;
  letter-spacing: 0.34em;
  color: var(--gold-2);
  white-space: nowrap;
}

.logo span {
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 2.4vw;
}

.nav-links a {
  position: relative;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--gold-2);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

.nav-cta {
  padding: 12px 20px;
  border: 1px solid var(--gold);
  color: var(--gold-2);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--void);
}

.menu-toggle {
  display: none;
  width: 34px;
  height: 18px;
  position: relative;
  pointer-events: auto;
}

.menu-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold-2);
  transition: transform 0.3s ease;
}

.menu-toggle span:first-child { top: 4px; }
.menu-toggle span:last-child { bottom: 4px; }

.menu-toggle.is-open span:first-child {
  top: 8px;
  transform: rotate(40deg);
}

.menu-toggle.is-open span:last-child {
  bottom: 9px;
  transform: rotate(-40deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 80px 8vw;
  background: rgba(5, 4, 3, 0.97);
  transform: translateY(-110%);
  transition: transform 0.45s ease;
  pointer-events: none;
}

.mobile-menu.is-open {
  transform: none;
  pointer-events: auto;
}

.mobile-menu a {
  font-family: Cinzel, serif;
  font-size: clamp(28px, 6vw, 48px);
  letter-spacing: 0.08em;
  color: var(--gold-2);
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: end start;
  padding: 160px 6vw 12vh;
  overflow: hidden;
}

.hero.compact {
  min-height: 78vh;
}

.hero-media,
.hero-veil {
  position: absolute;
  inset: 0;
}

.hero-media img {
  transform: scale(1.08);
  animation: kenburns 32s ease-in-out infinite alternate;
}

.hero-veil {
  background:
    linear-gradient(180deg, rgba(5, 4, 3, 0.35) 0%, rgba(5, 4, 3, 0.12) 38%, rgba(5, 4, 3, 0.88) 100%),
    radial-gradient(ellipse at 18% 82%, rgba(201, 164, 92, 0.2), transparent 48%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

h1,
h2 {
  font-family: Cinzel, serif;
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  font-size: clamp(36px, 6.4vw, 84px);
  margin-bottom: 24px;
}

h1 em,
h2 em {
  font-style: italic;
  color: var(--gold-2);
}

h2 {
  font-size: clamp(30px, 4.4vw, 62px);
}

h3 {
  font-family: Cinzel, serif;
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.lead {
  max-width: 62ch;
  color: var(--muted);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.55;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn-gold,
.btn-ghost {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  overflow: hidden;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-gold {
  background: linear-gradient(180deg, #ead8a6, #c9a45c 55%, #b58b3f);
  color: #1a140b;
}

.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35), transparent 70%);
  transform: translateX(-120%);
  animation: shine 3.6s ease infinite;
}

.btn-ghost {
  border: 1px solid var(--gold);
  color: var(--gold-2);
}

.btn-gold:hover,
.btn-ghost:hover {
  transform: translateY(-3px);
}

.btn-ghost:hover {
  background: rgba(201, 164, 92, 0.12);
}

.hero-scroll {
  position: absolute;
  right: 4vw;
  bottom: 48px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.hero-scroll i {
  width: 1px;
  height: 56px;
  background: linear-gradient(var(--gold), transparent);
  animation: pulse 1.8s ease-in-out infinite;
}

.marquee {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--void);
  padding: 16px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 48px;
  animation: marquee 42s linear infinite;
  font-family: Cinzel, serif;
  letter-spacing: 0.28em;
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  white-space: nowrap;
}

.section {
  width: 100%;
  padding: 110px 6vw;
}

.section-head {
  width: min(820px, 100%);
  margin-bottom: 56px;
}

.section-head p:last-child {
  margin-top: 18px;
  color: var(--muted);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.6;
}

.intro {
  width: 100%;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 8vw;
  align-items: center;
  padding: 110px 6vw;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 8% 20%, rgba(201, 164, 92, 0.08), transparent 36%),
    var(--bg);
}

.intro-copy p + p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.quote {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 3vw, 42px);
  font-style: italic;
  line-height: 1.3;
  color: var(--gold-2);
}

.divider {
  width: 80px;
  height: 1px;
  background: var(--gold);
  margin: 24px 0;
}

.highlights {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.highlight {
  padding: 42px 4vw;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(201, 164, 92, 0.07), transparent);
  min-height: 160px;
}

.highlight:last-child { border-right: 0; }

.highlight span {
  display: block;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.3em;
  margin-bottom: 14px;
}

.ages {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}

.card,
.place-tile,
.person-card,
.civ-panel,
.filter-card {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform 0.45s ease, border-color 0.45s ease;
}

.ages .card {
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
}

.ages .card:last-child { border-right: 0; }

.card:hover,
.place-tile:hover,
.person-card:hover,
.filter-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 164, 92, 0.55);
}

.card-media,
.place-tile figure,
.person-card figure,
.filter-card figure {
  height: 280px;
  overflow: hidden;
}

.card-media img,
.place-tile img,
.person-card img,
.civ-panel img,
.filter-card img,
.story-media img {
  transition: transform 0.9s ease;
}

.card:hover img,
.place-tile:hover img,
.person-card:hover img,
.filter-card:hover img,
.civ-panel:hover img,
.story:hover .story-media img {
  transform: scale(1.08);
}

.card-body,
.place-tile .copy,
.person-card .copy,
.filter-card .copy {
  padding: 28px 26px 32px;
}

.kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.card p,
.place-tile p,
.person-card p,
.filter-card p,
.story-copy p,
.event-copy p,
.civ-copy p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.link-gold {
  display: inline-block;
  margin-top: 20px;
  color: var(--gold-2);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.banner {
  position: relative;
  width: 100%;
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 90px 6vw;
  overflow: hidden;
}

.banner img {
  position: absolute;
  inset: 0;
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 4, 3, 0.42), rgba(5, 4, 3, 0.82));
}

.banner-copy {
  position: relative;
  z-index: 1;
  width: min(840px, 100%);
}

.banner-copy p {
  margin-top: 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(22px, 2vw, 28px);
  color: var(--gold-2);
}

.story {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--void);
}

.story.reverse {
  direction: rtl;
}

.story.reverse > * {
  direction: ltr;
}

.story-media,
.story-copy {
  min-height: 100vh;
}

.story-media {
  overflow: hidden;
}

.story-copy {
  display: grid;
  align-content: center;
  padding: 10vh 7vw;
  background:
    radial-gradient(circle at 80% 10%, rgba(201, 164, 92, 0.1), transparent 40%),
    var(--bg);
}

.gold-line {
  margin-top: 22px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(20px, 1.7vw, 26px);
  font-style: italic;
  color: var(--gold-2);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  pointer-events: auto;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.filter-btn.is-active,
.filter-btn:hover {
  color: var(--void);
  background: var(--gold);
  border-color: var(--gold);
}

.place-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.place-tile {
  border-radius: 0;
  border-right: 0;
  border-top: 0;
}

.place-tile.is-hidden {
  display: none;
}

.place-tile.wide {
  grid-column: span 2;
}

.place-tile.wide figure {
  height: 420px;
}

.event-band {
  width: 100%;
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.event-band.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.event-band.reverse .event-media {
  order: 2;
}

.event-media {
  min-height: 88vh;
  overflow: hidden;
}

.event-copy {
  display: grid;
  align-content: center;
  padding: 10vh 6vw;
  background: var(--bg);
}

.event-num {
  font-family: Cinzel, serif;
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 16px;
}

.civ-strip {
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
}

.civ-panel {
  min-height: 78vh;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.civ-panel:hover {
  transform: none;
}

.civ-panel figure {
  height: 52vh;
}

.civ-copy {
  padding: 36px 4vw 48px;
}

.civ-stack .civ-panel {
  min-height: 39vh;
}

.civ-stack .civ-panel figure {
  height: 22vh;
}

.people-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}

.person-card {
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
}

.person-card:last-child { border-right: 0; }

.person-card figure {
  height: 240px;
}

.cta {
  width: calc(100% - 12vw);
  margin: 0 6vw 110px;
  padding: 90px 6vw;
  text-align: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 164, 92, 0.18), transparent 55%),
    var(--panel);
}

.cta p {
  margin: 18px auto 0;
  max-width: 62ch;
  color: var(--muted);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(20px, 1.7vw, 26px);
}

.cta-row { justify-content: center; }

footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 6vw 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.foot-brand strong {
  display: block;
  color: var(--gold-2);
  font-family: Cinzel, serif;
  font-weight: 500;
  letter-spacing: 0.18em;
  margin-bottom: 6px;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
}

.reveal.is-in {
  animation: rise 0.95s ease forwards;
}

.reveal-delay-1 { animation-delay: 0.12s; }
.reveal-delay-2 { animation-delay: 0.24s; }
.reveal-delay-3 { animation-delay: 0.36s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes kenburns {
  to {
    transform: scale(1.18) translate3d(-2%, -1.4%, 0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 0.25; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

@keyframes shine {
  0%, 55% { transform: translateX(-120%); }
  80%, 100% { transform: translateX(120%); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1100px) {
  .highlights,
  .ages,
  .place-grid,
  .people-grid,
  .civ-strip,
  .intro,
  .story,
  .event-band {
    grid-template-columns: 1fr 1fr;
  }

  .ages .card,
  .person-card {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .place-tile.wide {
    grid-column: span 2;
  }

  .story-media,
  .story-copy,
  .event-media,
  .civ-panel {
    min-height: 56vh;
  }
}

@media (max-width: 820px) {
  .nav { padding: 18px 5vw; }
  .nav.is-scrolled { padding: 12px 5vw; }
  .nav-links,
  .nav-cta { display: none; }
  .menu-toggle { display: block; }

  .hero,
  .section,
  .intro,
  .cta,
  footer,
  .story-copy,
  .event-copy {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .cta {
    width: calc(100% - 12vw);
    margin-left: 6vw;
    margin-right: 6vw;
    padding: 48px 24px;
  }

  .highlights,
  .ages,
  .place-grid,
  .people-grid,
  .civ-strip,
  .intro,
  .story,
  .event-band,
  footer {
    grid-template-columns: 1fr;
  }

  .highlight,
  .ages .card,
  .person-card,
  .civ-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .place-tile.wide,
  .place-tile.wide figure {
    grid-column: auto;
  }

  .place-tile.wide figure,
  .card-media {
    height: 240px;
  }

  .story-media,
  .story-copy,
  .event-media,
  .civ-panel,
  .civ-panel figure {
    min-height: 0;
    height: auto;
  }

  .story-media,
  .event-media {
    height: 46vh;
  }

  .story.reverse,
  .event-band.reverse .event-media {
    direction: ltr;
    order: 0;
  }

  .hero-scroll,
  .gold-frame {
    display: none;
  }
}
