/* ---------- Tokens ---------- */
:root {
  --cream: #FAF8F5;
  --cream-dark: #f0ebe0;
  --sage: #7A9E7E;
  --sage-dark: #5f7d62;
  --earth: #C4A882;
  --earth-dark: #9a8261;
  --ink: #2C2C2C;
  --ink-soft: #5a564f;
  --line: #e3ddd0;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(40, 30, 20, 0.1);

  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;

  --max: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sage-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--earth-dark); }
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.3rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-weight: 500;
  margin-bottom: 1.2rem;
}
.eyebrow.light { color: rgba(255, 255, 255, 0.85); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--sage-dark);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(40, 30, 20, 0.2);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--cream);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-color: var(--white);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.01em;
  transition: color 0.3s;
}
.site-header.scrolled .logo { color: var(--ink); }
.logo:hover { color: var(--earth); }

.nav-links {
  display: flex;
  gap: 2.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 400;
  transition: color 0.3s;
}
.site-header.scrolled .nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--earth); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 5px auto;
  transition: all 0.3s;
}
.site-header.scrolled .nav-toggle span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
  color: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 28, 25, 0.55) 0%,
    rgba(30, 28, 25, 0.45) 50%,
    rgba(30, 28, 25, 0.75) 100%
  );
}
.hero-content {
  position: relative;
  max-width: 780px;
  z-index: 2;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.4rem;
}
.hero-content .lead {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.2rem;
  max-width: 40rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  z-index: 2;
}
.scroll-indicator span {
  display: block;
  width: 3px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  margin: 8px auto;
  animation: scroll-dot 1.8s infinite;
}
@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ---------- Credibility ---------- */
.credibility {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 1.8rem 0;
}
.cred-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.cred-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.cred-icon {
  color: var(--sage);
  font-size: 1.1rem;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}
.section-alt {
  background: var(--white);
}
.section-intro {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
}

/* ---------- Keynotes ---------- */
.keynotes-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.keynotes-image {
  position: sticky;
  top: 6rem;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}
.keynotes-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.8rem 1.6rem;
  transition: all 0.3s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--sage);
}
.card-num {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--sage-dark);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}
.card h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

.audience {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  padding: 1.6rem 1.8rem;
  background: var(--cream-dark);
  border-radius: 6px;
}
.audience p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- CGM ---------- */
.cgm-section {
  background: var(--cream-dark);
}
.cgm-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.cgm-image {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 1/1;
}
.cgm-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cgm-content p {
  font-size: 1.1rem;
  color: var(--ink-soft);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-image {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tags {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tags li {
  padding: 0.45rem 1rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- Media strip ---------- */
.media-strip {
  background: var(--white);
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.media-text h3 {
  font-size: 1.6rem;
  margin: 0;
}
.media-figure {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  aspect-ratio: 16/10;
}
.media-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-figure figcaption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: 0.4rem 0.9rem;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  backdrop-filter: blur(6px);
}

/* ---------- Book ---------- */
.book {
  background: var(--ink);
  color: var(--cream);
}
.book h2 { color: var(--cream); }
.book .book-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--earth);
  margin-bottom: 1.2rem;
}
.book p { color: rgba(250, 248, 245, 0.85); }
.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.book-visuals {
  position: relative;
  padding: 1rem;
  aspect-ratio: 1/1;
}
.book-photo {
  position: absolute;
  inset: 0 25% 20% 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}
.book-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.book-cover {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  aspect-ratio: 2/3;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  transform: rotate(-3deg);
  transition: transform 0.4s;
  background: var(--earth);
}
.book-cover:hover { transform: rotate(0) scale(1.02); }
.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Contact ---------- */
.section-contact {
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-info {
  margin-top: 2rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.9;
}
.contact-form {
  background: var(--cream);
  padding: 2.3rem;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.field { margin-bottom: 1.2rem; }
.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color 0.2s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(122, 158, 126, 0.15);
}
.hidden-field { display: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin: 0 0 0.2rem;
}
.footer-meta {
  color: rgba(250, 248, 245, 0.55);
  font-size: 0.9rem;
  margin: 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links a {
  color: var(--cream);
  font-size: 0.9rem;
  opacity: 0.8;
}
.footer-links a:hover {
  opacity: 1;
  color: var(--earth);
}
.footer-copy {
  text-align: right;
  color: rgba(250, 248, 245, 0.5);
  font-size: 0.85rem;
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .keynotes-grid,
  .cgm-grid,
  .about-grid,
  .book-grid,
  .contact-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }
  .keynotes-image { position: static; max-width: 500px; margin: 0 auto; }
  .about-image,
  .cgm-image { max-width: 500px; margin: 0 auto; }
  .cgm-grid .cgm-image { order: -1; }
  .book-visuals { max-width: 460px; margin: 0 auto; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { color: var(--ink); }

  .audience { text-align: center; justify-content: center; }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-copy { text-align: center; }
}
