/* Reset */
*,
*::before,
*::after { box-sizing: border-box; }

:root{
  --bg-dark: #050608;
  --bg-darker: #020203;
  --bg-light: #f5f5f5;
  --text-dark: #131313;
  --accent-soft: rgba(197, 164, 109, 0.18);
  --accent: #c5a46d;

  --text-light: #f8f8f8;
  --text-muted: #b1b1b1;

  --nav-height: 64px;
  --max: 1040px;
  --radius: 18px;
  --shadow: 0 18px 60px rgba(0,0,0,.55);

  --muted: rgba(255,255,255,.72);
  --muted2: rgba(255,255,255,.62);
}

html, body{
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
}

/* Top navigation */
.top-nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 40;
  display: flex;
  align-items: center;
  transition: background-color 250ms ease, backdrop-filter 250ms ease, box-shadow 250ms ease;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.70), transparent);
}
.top-nav.scrolled{
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.60);
}
.nav-inner{
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand{
  letter-spacing: 0.3em;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-links a{
  color: var(--text-light);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.8;
  transition: opacity 200ms ease;
}
.nav-links a:hover{ opacity: 1; }

/* Hero */
.hero{
  position: relative;
  height: 100vh;
  min-height: 540px;
  overflow: hidden;
}
.hero-video{
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}
.hero-overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(0,0,0,0.001), transparent),
    linear-gradient(to left,
      rgba(0,0,0,0.0) 0%,
      rgba(0,0,0,0.2) 33%,
      rgba(0,0,0,0.4) 66%,
      rgba(0,0,0,0.6) 100%
    );
  z-index: 1;
}
.hero-content{
  position: relative;
  height: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 3rem) 1.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}
.hero-tagline{
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.9;
}
.hero-title{
  font-size: clamp(2.4rem, 3.2vw + 1.5rem, 3.8rem);
  margin: 0 0 1rem;
  max-width: 24ch;
}
.hero-subtitle{
  max-width: 40ch;
  margin-bottom: 2.4rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.hero-subtitle.meta{ margin-top: 0.2rem; }

/* Scroll indicator */
.scroll-down{
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.86;
  z-index: 2;
}
.scroll-icon{
  font-size: 1.4rem;
  animation: float 1.4s ease-in-out infinite;
}
@keyframes float{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(6px); }
}

/* Layout */
main{ padding: 44px 0 80px; }
.container{ width: min(var(--max), calc(100% - 44px)); margin: 0 auto; }

.lede{ padding: 18px 0 6px; display: grid; gap: 16px; }
.lede-card{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.lede-card-inner{ padding: 22px 22px 18px; }
.lede p{
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 18px;
  line-height: 1.75;
}
.lede strong{ color: rgba(255,255,255,.92); }

.chapter{ padding: 46px 0; }
.chapter-header{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 14px;
}
.chapter h2{
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: -0.2px;
}
.chapter .chapter-note{
  color: var(--muted2);
  font-size: 13px;
  max-width: 44ch;
  text-align: right;
}

/* Media blocks */
.fullbleed{
  width: 100%;
  margin: 18px 0 16px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
}
.fullbleed img,
.fullbleed .fullbleed-media{
  width: 100%;
  height: clamp(300px, 60vh, 640px);
  object-fit: cover;
  display: block;
}
figcaption{
  padding: 12px 16px 14px;
  color: var(--text-muted);
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.25);
}

/* Split content */
.split{
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}
.panel{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel img{ width: 100%; height: 420px; object-fit: cover; display: block; }
.panel .pad{ padding: 18px 18px 16px; }
.panel h3{ margin: 0 0 8px; font-size: 18px; }
.panel p{ margin: 0; color: rgba(255,255,255,.78); }

.bodytext p{
  margin: 0 0 14px;
  color: rgba(255,255,255,.82);
  font-size: 17px;
  line-height: 1.8;
}

/* Quotes */
.quote{
  margin: 24px 0 0;
  padding: 18px 18px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(197,164,109,.30);
  background: linear-gradient(180deg, rgba(197,164,109,.12), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
}
.quote blockquote{
  margin: 0;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.5;
  letter-spacing: -0.2px;
  color: rgba(255,255,255,.92);
}
.quote .who{
  margin-top: 10px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
}

/* Mini gallery */
.grid3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.grid3 img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

/* Finale */
.finale-card{ margin-top: 18px; }
.finale-title{
  margin: 0;
  font-size: 20px;
  line-height: 1.65;
}
.finale-subtitle{
  margin: 12px 0 0;
  color: rgba(255,255,255,.78);
}

/* Finale action links */
.finale-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  padding-top: 10px;
}
.finale-action{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(197, 164, 109, 0.12);
  border: 1px solid rgba(197, 164, 109, 0.25);
  color: var(--text-light);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, opacity 160ms ease;
  opacity: 0.95;
}
.finale-action:hover{
  background: rgba(197, 164, 109, 0.18);
  border-color: rgba(197, 164, 109, 0.45);
  transform: translateY(-1px);
  opacity: 1;
}
.finale-action:active{ transform: translateY(0); }
.finale-action:focus-visible{
  outline: 2px solid rgba(197, 164, 109, 0.55);
  outline-offset: 3px;
}

/* Footer */
.footer{
  background: #050608;
  color: var(--text-muted);
  padding: 1.3rem 1.5rem;
}
.footer-inner{
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}
.footer-links a{
  margin-left: 1.2rem;
  color: var(--text-muted);
  text-decoration: none;
}
.footer-links a:hover{ color: var(--accent); }

/* Responsive */
@media (max-width: 900px){
  .split{ grid-template-columns: 1fr; }
  .panel img{ height: 340px; }
  .chapter-header{ align-items: flex-start; }
  .chapter .chapter-note{ text-align: left; }
  .grid3{ grid-template-columns: 1fr; }
  .grid3 img{ height: 280px; }
}

@media (max-width: 768px){
  .nav-links{ display: none; }
  .hero-content{
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 3.5rem;
  }
  .hero-title{ font-size: 2.3rem; }
}

.chapter + .chapter::before {
  content: "";
  display: block;
  height: 1px;
  max-width: 1120px;
  margin: 0 auto 4rem;
  background: linear-gradient(
    to right,
    transparent,
    rgba(197,164,109,0.25),
    transparent
  );
}
