@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Inter:ital,wght@0,200;0,300;0,400;0,500;1,300&display=swap');

:root {
  --cream: #f5efe6;
  --cream-warm: #ebe4d8;
  --cream-dark: #e0d8ca;
  --cream-light: #faf6f0;
  --ink: #2a2a2a;
  --ink-soft: #3a3530;
  --ink-light: #6a6055;
  --gold: #8b6914;
  --gold-soft: #b5a892;
  --gold-faint: #d4c9b8;
  --olive: #3c4a3e;
  --olive-dark: #2d3830;
  --olive-deep: #1e2620;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ============ NAV ============ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.4s, box-shadow 0.4s;
}

nav.scrolled {
  background: rgba(245,239,230,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--cream-dark);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo { width: 32px; height: 32px; opacity: 0.65; }

.nav-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.nav-brand:hover .nav-wordmark { opacity: 1; }
.nav-brand:hover .nav-logo { opacity: 0.85; }

.nav-links { display: flex; gap: 28px; list-style: none; }

.nav-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-light);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--ink); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 8px;
  border-left: 1px solid var(--cream-dark);
}

.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-soft);
  transition: color 0.3s;
}

.nav-social a:hover { color: var(--ink-soft); }

.nav-social svg { width: 16px; height: 16px; }

/* ============ HERO — BOOK CENTERED ============ */
.hero {
  padding: 120px 32px 60px;
  text-align: center;
  background: var(--cream);
  position: relative;
}

.hero-headline {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 500;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto 50px;
  line-height: 1.4;
}

.hero-sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--gold);
  font-style: italic;
  margin-bottom: 8px;
}

/* Book mockup image */
.book-display {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.book-display img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============ SUBPAGE HERO ============ */
.subpage-hero {
  padding: 120px 32px 60px;
  text-align: center;
  background: var(--cream);
  position: relative;
}

.subpage-hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 500;
  color: var(--ink-soft);
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.3;
}

.subpage-hero p {
  font-size: 20px;
  color: var(--ink-light);
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
}

/* ============ SUBPAGE CONTENT ============ */
.subpage-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 32px;
  line-height: 1.8;
}

.subpage-content h2 {
  font-size: 32px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 24px;
  margin-top: 40px;
}

.subpage-content h2:first-child {
  margin-top: 0;
}

.subpage-content h3 {
  font-size: 24px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 16px;
  margin-top: 32px;
}

.subpage-content p {
  font-size: 19px;
  color: var(--ink-light);
  margin-bottom: 18px;
  line-height: 1.8;
}

.subpage-content strong {
  color: var(--ink-soft);
  font-weight: 600;
}

.subpage-content em {
  font-style: italic;
  color: var(--ink);
}

/* ============ BACK LINK ============ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 32px;
  padding-top: 60px;
  margin: 0 auto;
  max-width: 760px;
  width: 100%;
  box-sizing: border-box;
  font-size: 16px;
  color: var(--ink-light);
  text-decoration: none;
  transition: color 0.3s;
}

.back-link:hover {
  color: var(--ink);
}

.back-link::before {
  content: '←';
  margin-right: 4px;
}

/* ============ BOOK DESCRIPTION + CTA ============ */
.book-intro {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 32px 40px;
  text-align: center;
}

.book-intro p {
  font-size: 21px;
  font-weight: 400;
  color: var(--ink-light);
  line-height: 1.75;
  margin-bottom: 16px;
}

/* Free chapter CTA */
.chapter-cta {
  max-width: 520px;
  margin: 0 auto;
  padding: 40px 32px 80px;
  text-align: center;
}

.chapter-cta h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.cta-note {
  font-size: 17px;
  color: var(--ink-light);
  font-style: italic;
  margin-bottom: 20px;
}

.chapter-cta h3 em {
  font-style: italic;
  color: var(--gold);
}

.cta-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  border: 1.5px solid var(--cream-dark);
  border-radius: 6px;
  background: var(--cream-light);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s;
}

.cta-form input::placeholder { color: var(--gold-soft); }
.cta-form input:focus { border-color: var(--gold); }

.cta-form button {
  padding: 14px 24px;
  background: var(--ink-soft);
  color: var(--cream);
  border: none;
  border-radius: 6px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}

.cta-form button:hover { background: var(--ink); }

/* ============ DIVIDER ============ */
.section-divider {
  width: 40px;
  height: 1px;
  background: var(--gold-faint);
  margin: 0 auto;
}

/* ============ ABOUT / FRODE ============ */
.about-section {
  background: var(--cream-warm);
  padding: 80px 32px;
}

.about-layout {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  font-size: 30px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.about-text p {
  font-size: 19px;
  color: var(--ink-light);
  line-height: 1.75;
  margin-bottom: 14px;
}

.about-text p strong { color: var(--ink-soft); font-weight: 600; }

.about-text .bridge-line {
  font-size: 21px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-top: 10px;
}

.about-photo {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 30%;
  aspect-ratio: 4/5;
}

/* ============ FRAMEWORK ============ */
.framework-section {
  background: var(--cream-warm);
  padding: 80px 24px;
}

.framework-intro {
  max-width: 560px;
  margin: 0 auto 50px;
  text-align: center;
}

.framework-intro h2 {
  font-size: 32px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.framework-intro p {
  font-size: 19px;
  color: var(--ink-light);
  font-style: italic;
}

.framework-teaser {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.framework-teaser h2 {
  font-size: 32px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.framework-teaser p {
  font-size: 19px;
  color: var(--ink-light);
}

.framework-teaser p:first-of-type {
  font-style: italic;
  margin-bottom: 24px;
}

.framework-teaser p:nth-of-type(2) {
  font-size: 19px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.fw-container { max-width: 560px; margin: 0 auto; }

.fw-label {
  text-align: center;
  padding: 24px 0 16px;
}

.fw-label .lt {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-light);
}

.fw-label .ls {
  font-size: 17px;
  font-weight: 400;
  font-style: italic;
  color: var(--ink-light);
  margin-top: 4px;
}

.fw-card {
  background: var(--cream);
  border-radius: 8px;
  padding: 28px 24px;
  margin-bottom: 12px;
  text-align: center;
}

.fw-card.alt { background: rgba(250,246,240,0.7); }

.fw-card h3 { font-size: 22px; font-weight: 600; color: var(--ink-soft); margin-bottom: 4px; }
.fw-card .sub { font-size: 15px; font-style: italic; color: var(--gold); margin-bottom: 8px; }
.fw-card .desc { font-size: 16px; color: var(--ink-light); }

.fw-arrow { text-align: center; padding: 3px 0; color: var(--ink-soft); font-size: 16px; opacity: 0.35; }

.fw-bar {
  background: var(--ink-soft);
  border-radius: 10px;
  padding: 24px 20px 20px;
  text-align: center;
  margin: 12px 0;
}

.fw-bar h3 { font-size: 28px; font-weight: 700; color: var(--cream); letter-spacing: 6px; margin-bottom: 8px; }
.fw-bar .bar-div { width: 80px; height: 1px; background: var(--gold); margin: 0 auto 12px; opacity: 0.4; }

.fw-dual {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.fw-dual .nm { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 400; color: var(--cream); }
.fw-dual .tp { font-size: 13px; font-style: italic; color: var(--gold); }
.fw-dual .dia { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); opacity: 0.4; }

.fw-practice {
  background: var(--cream);
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  margin-bottom: 12px;
}

.fw-practice .lbl { font-size: 15px; font-style: italic; color: var(--gold); margin-bottom: 12px; font-weight: 500; }

.fw-pracs { display: flex; justify-content: center; gap: 20px; align-items: center; flex-wrap: wrap; }
.fw-pracs .pn { font-size: 19px; font-weight: 600; color: var(--ink-soft); }
.fw-pracs .pd { width: 1px; height: 22px; background: var(--gold-faint); }

.fw-seer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 5px;
  margin-bottom: 4px;
  text-align: left;
}

.fw-seer:nth-child(odd) { background: rgba(235,228,216,0.5); }
.fw-seer:nth-child(even) { background: rgba(229,221,208,0.3); }

.fw-seer .le { font-size: 26px; font-weight: 700; color: var(--ink-soft); min-width: 22px; }
.fw-seer .sn { font-size: 17px; font-weight: 500; color: var(--ink-light); }
.fw-seer .sd { font-size: 15px; font-style: italic; color: var(--ink-light); margin-top: 1px; }

.fw-dest {
  background: var(--cream);
  border: 1.5px solid var(--gold);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  margin-top: 12px;
}

.fw-dest h3 { font-size: 22px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.fw-dest .tg { font-size: 17px; font-style: italic; color: var(--ink-light); }

/* ============ COMMUNITY + PHOTO ============ */
.community-section {
  background: var(--cream);
  padding: 80px 32px;
}

.community-layout {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 50px;
  align-items: center;
}

.community-photo {
  width: 100%;
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 25%;
}

.community-text h2 { font-size: 30px; font-weight: 500; color: var(--ink-soft); margin-bottom: 14px; }

.community-text p {
  font-size: 19px;
  color: var(--ink-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.btn-outline {
  display: inline-block;
  padding: 12px 32px;
  border: 1.5px solid var(--ink-soft);
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--ink-soft);
  color: var(--cream);
}

/* ============ BETA READER ============ */
.beta-section {
  background: var(--cream);
  padding: 60px 32px;
  text-align: center;
}

.beta-card {
  max-width: 560px;
  margin: 0 auto;
  border: 1.5px solid var(--gold);
  border-radius: 10px;
  padding: 40px 36px;
  background: var(--cream-light);
}

.beta-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.beta-card h3 {
  font-size: 24px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.beta-card p {
  font-size: 18px;
  color: var(--ink-light);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.btn-gold {
  display: inline-block;
  padding: 13px 30px;
  background: var(--olive);
  color: var(--cream);
  text-decoration: none;
  border-radius: 6px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-gold:hover { background: var(--olive-dark); }

/* ============ OFFERINGS ============ */
.offerings-section {
  background: var(--cream-warm);
  padding: 80px 32px;
}

.offerings-section h2 {
  font-size: 36px;
  font-weight: 500;
  color: var(--ink-soft);
  text-align: center;
  margin-bottom: 50px;
}

.offerings-grid {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.offering { text-align: center; padding: 16px; }

.offering h3 {
  font-size: 26px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.offering p {
  font-size: 17px;
  color: var(--ink-light);
  line-height: 1.65;
}

/* ============ WHO THIS IS FOR ============ */
.who-section {
  background: var(--cream);
  padding: 80px 32px;
}

.who-section h2 {
  font-size: 30px;
  font-weight: 500;
  color: var(--ink-soft);
  text-align: center;
  margin-bottom: 36px;
}

.who-list {
  max-width: 580px;
  margin: 0 auto;
  list-style: none;
}

.who-list li {
  font-size: 20px;
  color: var(--ink-light);
  padding: 14px 0;
  border-bottom: 1px solid var(--cream-dark);
  line-height: 1.55;
}

.who-list li::before { content: '...'; color: var(--gold); margin-right: 6px; font-weight: 600; }

.who-list li:last-child { font-weight: 600; color: var(--ink-soft); border-bottom: none; }

/* ============ FINAL CTA ============ */
.final-cta {
  background: var(--cream-warm);
  padding: 60px 32px;
  text-align: center;
}

.final-cta h2 { font-size: 28px; font-weight: 500; color: var(--ink-soft); margin-bottom: 10px; }

.final-cta p {
  font-size: 18px;
  color: var(--ink-light);
  font-style: italic;
  max-width: 440px;
  margin: 0 auto 24px;
}

.final-cta .cta-form input {
  border-color: var(--gold-faint);
  background: var(--cream-light);
}

/* ============ FOOTER ============ */
footer {
  background: var(--cream);
  padding: 30px 32px;
  text-align: center;
  border-top: 1px solid var(--cream-dark);
}

footer p {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: var(--ink-light);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--ink-light);
  transition: color 0.3s;
}

.footer-social a:hover { color: var(--ink); }

.footer-social svg { width: 24px; height: 24px; }

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  nav { padding: 12px 20px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 14px; }

  .hero { padding: 100px 20px 40px; }

  .subpage-hero { padding: 100px 20px 40px; }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-photo {
    max-width: 260px;
    margin: 0 auto;
    order: -1;
  }

  .community-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .community-photo { max-width: 180px; margin: 0 auto; }

  .offerings-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 480px) {
  .nav-links { gap: 12px; }
}
