:root {
  --bg: #f7f4ef;
  --bg-soft: #ffffff;
  --cream: #f5efe5;
  --cream-deep: #e7dccb;
  --text-dark: #1a1510;
  --text-light: #f6f0e8;
  --muted-light: #cfc3b1;
  --muted-dark: #53483d;
  --gold: #d8b178;
  --gold-strong: #efcb90;
  --line-dark: rgba(255, 229, 189, 0.13);
  --line-light: rgba(40, 28, 16, 0.1);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  zoom: 0.9;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(216, 177, 120, 0.08), transparent 24%),
    linear-gradient(180deg, #f8f5f0 0%, #f2ede5 100%);
  color: var(--text-dark);
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  padding: 24px 0 52px;
}

.section-shell,
.site-footer {
  width: min(1520px, calc(100vw - 56px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 18px 2%;
  backdrop-filter: blur(18px);
  background: rgba(10, 8, 6, 0.88);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
  transition: background 300ms ease, box-shadow 300ms ease;
}

.site-header.scrolled {
  background: rgba(10, 8, 6, 0.88);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.brand {
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 1rem;
  font-weight: 500;
  color: #f7f1e8;
}

.site-footer a:hover {
  color: var(--gold-strong);
}

.header-cta,
.button,
.chapter-pills a {
  border: 1px solid rgba(241, 202, 141, 0.35);
  border-radius: 999px;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.header-cta,
.button {
  padding: 12px 20px;
}

.header-cta {
  color: #f3e6d1;
  border-color: rgba(241, 202, 141, 0.45);
  background: rgba(255, 255, 255, 0.04);
}

.header-cta:hover,
.button:hover,
.chapter-pills a:hover {
  transform: translateY(-1px);
  border-color: rgba(241, 202, 141, 0.68);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 168px;
}

.button-primary {
  background: linear-gradient(135deg, #f0ce96 0%, #c19552 100%);
  color: #13100c;
  font-weight: 700;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.03);
}

.section-shell {
  padding: 56px 0;
}

.chapter-overview,
.split-section,
.discovery-section {
  position: relative;
  margin-top: 22px;
  padding: 48px 56px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  margin-top: 22px;
  padding: 96px 56px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.light-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0) 18%),
    linear-gradient(135deg, #ffffff 0%, #f1e9dc 100%);
  color: var(--text-dark);
  border: 1px solid rgba(44, 31, 18, 0.08);
}

.dark-panel {
  background:
    linear-gradient(180deg, rgba(255, 214, 153, 0.1), rgba(255, 255, 255, 0) 18%),
    linear-gradient(135deg, #17120f 0%, #080808 100%);
  color: var(--text-light);
  border: 1px solid var(--line-dark);
}

.hero::before,
.chapter-overview::before,
.split-section::before,
.discovery-section::before {
  content: "";
  position: absolute;
  inset: -70px 9% auto 9%;
  height: 140px;
  filter: blur(38px);
  opacity: 0.8;
  pointer-events: none;
}

.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.hero::before {
  background: linear-gradient(180deg, rgba(242, 206, 146, 0.32), transparent);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}

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

h1 {
  max-width: 18ch;
  font-size: clamp(5rem, 8vw, 8.8rem);
  line-height: 0.92;
}

h2 {
  font-size: clamp(3.2rem, 5.2vw, 5.8rem);
  margin-bottom: 18px;
}

.hero-lead,
.section-intro p,
.topic-copy p,
.discovery-copy p,
.topic-points li {
  color: var(--muted-dark);
}

.hero-lead {
  max-width: 34rem;
  margin-top: 24px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-image-placeholder {
  border-radius: 24px;
  overflow: hidden;
  min-height: 840px;
}

.hero-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-video-frame,
.video-frame {
  position: relative;
  min-height: 420px;
  border-radius: 32px;
  border: 1px solid rgba(31, 22, 14, 0.08);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.55)),
    radial-gradient(circle at 50% 20%, rgba(255, 214, 153, 0.28), transparent 28%),
    linear-gradient(135deg, #d9d0c3 0%, #83715d 40%, #2c241d 100%);
}

.feature-video-frame::after,
.video-frame::after {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
}

.video-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 1;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 244, 224, 0.1);
  border: 1px solid rgba(255, 226, 177, 0.18);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.video-content {
  position: absolute;
  inset: auto 28px 28px 28px;
  z-index: 1;
  padding: 28px;
  border-radius: 24px;
  background: rgba(8, 8, 8, 0.34);
  backdrop-filter: blur(10px);
}

.video-label {
  margin: 0 0 10px;
  color: var(--gold-strong);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
}

.video-content strong {
  display: block;
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  font-family: "Cormorant Garamond", serif;
  line-height: 1;
}

.video-content span {
  display: block;
  margin-top: 8px;
  color: var(--muted-light);
}

.chapter-overview {
  padding-top: 42px;
  text-align: center;
}

.chapter-overview h2 {
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.4rem, 4vw, 4.6rem);
}

.chapter-overview::before {
  background: linear-gradient(180deg, rgba(242, 206, 146, 0.4), transparent);
}

.chapter-overview .section-kicker,
.chapter-overview .section-intro p {
  color: var(--muted-dark);
}

.section-intro {
  max-width: 66rem;
  margin: 0 auto;
}

.chapter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  justify-content: center;
}

.chapter-pills a {
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.36);
  color: var(--text-dark);
  border-color: rgba(37, 26, 15, 0.1);
}

.topic-stack {
  padding-bottom: 8px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: center;
}

.split-section.reverse {
  grid-template-columns: 1.08fr 0.92fr;
}

.split-section.reverse .topic-copy {
  order: 2;
}

.split-section.reverse .topic-video {
  order: 1;
}

.tone-light {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0) 16%),
    linear-gradient(135deg, #ffffff 0%, #f3ebdf 100%);
  color: var(--text-dark);
  border: 1px solid var(--line-light);
}

.tone-light::before {
  background: linear-gradient(180deg, rgba(239, 198, 131, 0.4), transparent);
}

.tone-light .section-kicker,
.tone-light .topic-copy p,
.tone-light .topic-points li {
  color: var(--muted-dark);
}

.tone-light .video-frame {
  border-color: rgba(31, 22, 14, 0.09);
}

.editorial-section {
  padding-top: 42px;
}

.editorial-section h2 {
  text-transform: uppercase;
  letter-spacing: -0.04em;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.6rem, 5.6vw, 6.2rem);
  line-height: 0.95;
  margin-bottom: 26px;
}

.editorial-section .topic-copy {
  max-width: 42rem;
}

.editorial-section .video-frame {
  min-height: 460px;
}

.topic-points {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.topic-points li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 24px;
}

.topic-points li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.discovery-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.discovery-section::before {
  background: linear-gradient(180deg, rgba(250, 203, 133, 0.32), transparent);
}

.discovery-form {
  border: 1px solid var(--line-dark);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow);
  padding: 28px;
}

.discovery-form label {
  display: block;
  margin-bottom: 18px;
  color: var(--muted-light);
  font-size: 0.95rem;
}

.discovery-form input,
.discovery-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 239, 215, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-light);
  font: inherit;
}

.discovery-form input:focus,
.discovery-form textarea:focus {
  outline: 1px solid rgba(241, 202, 141, 0.5);
  border-color: rgba(241, 202, 141, 0.5);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 42px;
  border-top: 1px solid rgba(44, 31, 18, 0.08);
  color: #65584c;
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 920px) {
  .site-header,
  .hero,
  .split-section,
  .split-section.reverse,
  .discovery-section {
    grid-template-columns: 1fr;
  }

  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
    width: 100vw;
    padding: 16px 16px;
  }

  .site-header,
  .section-shell,
  .site-footer {
    width: min(100vw - 28px, 1520px);
  }

  .split-section.reverse .topic-copy,
  .split-section.reverse .topic-video {
    order: initial;
  }
}

@media (max-width: 640px) {
  .section-shell {
    padding: 42px 0;
  }

  .hero,
  .chapter-overview,
  .split-section,
  .discovery-section {
    padding: 32px 24px;
    border-radius: 20px;
  }

  .feature-video-frame,
  .video-frame {
    min-height: 320px;
  }

  .site-footer {
    flex-direction: column;
  }
}
