:root {
  --surface-primary: #FFFFFF;
  --surface-inverse: #1A1A1A;
  --fg-primary: #1A1A1A;
  --fg-secondary: #6B6B6B;
  --fg-inverse: #FFFFFF;
  --border-subtle: #E0E0E0;
  --accent: #C41E3A;
  --surface-muted: #F5F1EB;
  --hero-overlay: #00000088;
  --services-fg: #CCCCCC;
  --services-divider: #666666;
  --pad-x: clamp(24px, 8.3vw, 120px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface-primary: #0A0A0A;
    --surface-inverse: #F0F0F0;
    --fg-primary: #F0F0F0;
    --fg-secondary: #999999;
    --fg-inverse: #0A0A0A;
    --border-subtle: #2A2A2A;
    --surface-muted: #151515;
    --hero-overlay: #00000066;
    --services-fg: #999999;
    --services-divider: #444444;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--surface-primary);
  color: var(--fg-primary);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.serif { font-family: 'Playfair Display', serif; }

/* Social icon row (used on the hero overlay) */
.social {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
}

.social a {
  display: flex;
  color: #FFFFFF;
  opacity: 0.9;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.social a:hover { opacity: 1; transform: translateY(-1px); }

.social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
}

.social svg.social-taper {
  width: 28px;
  height: 28px;
  fill: none;
}

.social-text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #FFFFFF;
}

/* Hero */
.hero {
  position: relative;
  height: min(900px, 100svh);
  background-image: linear-gradient(var(--hero-overlay), var(--hero-overlay)), url('assets/hero.jpg');
  background-size: cover;
  background-position: center;
  display: grid;
  grid-template-rows: 80px 1fr;
}

.nav {
  grid-row: 1;
  grid-column: 1;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 4.4vw, 64px);
}

.nav .brand {
  font-family: 'Playfair Display', serif;
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 600;
  letter-spacing: 4px;
  color: #FFFFFF;
}

.nav .nav-link {
  font-size: 14px;
  letter-spacing: 1px;
  color: #FFFFFFCC;
}
.nav .nav-link:hover { color: #FFFFFF; }

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  text-align: center;
  padding: 96px 24px clamp(28px, 5vh, 48px);
  grid-row: 1 / -1;
  grid-column: 1;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 4.7vw, 68px);
  font-weight: 400;
  line-height: 1.15;
  color: #FFFFFF;
  max-width: 800px;
}

.hero .tagline {
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 1.5px;
  line-height: 1.6;
  color: #FFFFFFBB;
  max-width: 550px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hero-content .social {
  margin-top: 4px;
}

/* Services */
.services {
  background: var(--surface-inverse);
  padding: 60px var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.services h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--fg-inverse);
}

.services-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 48px;
  list-style: none;
}

.services-list li {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--services-fg);
}

.services-list li + li::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 14px;
  background: var(--services-divider);
  margin-right: 48px;
  vertical-align: -2px;
}

/* On narrow screens the inline dividers wrap onto new lines and jumble.
   Stack the list vertically and drop the dividers. */
@media (max-width: 600px) {
  .services-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .services-list li + li::before { display: none; }
}

/* Testimonial */
.testimonial {
  padding: 60px clamp(24px, 13.9vw, 200px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.testimonial blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  line-height: 1.6;
}

.testimonial figcaption .name {
  font-size: 13px;
  font-weight: 600;
}

.testimonial figcaption .detail {
  font-size: 12px;
  color: var(--fg-secondary);
  margin-top: 4px;
}

/* Testimonials (3-card) */
.testimonials {
  padding: 80px var(--pad-x);
  border-bottom: 1px solid var(--border-subtle);
  display: flex; flex-direction: column; align-items: center; gap: 40px;
}
.testimonials h2 { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 400; }
.testi-cards { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--surface-primary);
  border: 1px solid var(--border-subtle); border-radius: 4px;
  padding: 32px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
}
.testi-card .play { width: 40px; height: 40px; color: var(--accent); }
.testi-card .name { font-size: 16px; font-weight: 600; }
.testi-card .date { font-size: 13px; color: var(--fg-secondary); }
.testi-card .watch { font-size: 13px; font-weight: 500; color: var(--accent); }
@media (max-width: 800px) { .testi-cards { grid-template-columns: 1fr; } }

/* Reviews (6-card) */
.reviews {
  background: var(--surface-muted);
  padding: 80px var(--pad-x);
  display: flex; flex-direction: column; align-items: center; gap: 40px;
}
.reviews h2 { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 400; }
.reviews-grid { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--surface-primary);
  border: 1px solid var(--border-subtle); border-radius: 4px;
  padding: 32px; display: flex; flex-direction: column; gap: 16px; justify-content: space-between;
}
.review-card .stars { color: var(--accent); font-size: 15px; letter-spacing: 3px; line-height: 1; }
.review-card blockquote { font-size: 15px; line-height: 1.6; }
.review-card .name { font-size: 14px; font-weight: 600; }
.review-card .detail { font-size: 12px; color: var(--fg-secondary); margin-top: 2px; }
.review-card .platform { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--fg-secondary); margin-top: 8px; }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }

/* Books */
.books {
  padding: 80px var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
}

.books h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 400;
}

.books-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  list-style: none;
}

@media (max-width: 800px) {
  .books-grid { grid-template-columns: 1fr; }
}

.books-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
}

.books-grid a .arrow {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--fg-secondary);
  transition: transform 0.15s ease;
}

.books-grid a:hover .arrow { transform: translateX(3px); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s ease, filter 0.15s ease;
}

.btn-accent { background: var(--accent); color: #FFFFFF; }
.btn-accent:hover { filter: brightness(1.08); }
.btn-white { background: #FFFFFF; color: var(--accent); }
.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.16); }

/* Substack */
.substack {
  background: var(--accent);
  padding: 48px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.substack h2 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 400;
  color: #FFFFFF;
}

.substack p {
  font-size: 14px;
  color: #FFFFFFCC;
  margin-top: 4px;
}

/* CTA strip */
.cta-strip {
  background: var(--surface-inverse);
  padding: 40px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-strip p {
  font-size: 15px;
  color: var(--fg-inverse);
}

/* Footer */
footer {
  padding: 40px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

footer .brand {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: var(--fg-secondary);
}
.footer-links a:hover { color: var(--fg-primary); }

/* Disclaimer banner */
.disclaimer-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: var(--accent);
  color: #FFFFFF;
  padding: 20px clamp(20px, 5vw, 64px) 24px;
  max-height: min(45vh, 360px);
  overflow-y: auto;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
}

.disclaimer-accepted .disclaimer-banner,
.disclaimer-banner[hidden] {
  display: none;
}

.disclaimer-banner p {
  font-size: 12px;
  line-height: 1.55;
  font-weight: 400;
  margin: 0 0 16px;
  max-width: 1100px;
}

.disclaimer-accept {
  display: inline-block;
  appearance: none;
  border: none;
  cursor: pointer;
  background: #FFFFFF;
  color: #1A1A1A;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  padding: 12px 22px;
  border-radius: 999px;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.disclaimer-accept:hover {
  filter: brightness(0.96);
}

.disclaimer-accept:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .disclaimer-banner {
    max-height: min(55vh, 420px);
    padding: 16px 18px 20px;
  }

  .disclaimer-banner p {
    font-size: 11px;
  }

  .disclaimer-accept {
    width: 100%;
    text-align: center;
  }
}
