:root {
  --navy-950: #0d263d;
  --navy-900: #12314d;
  --navy-800: #173b5f;
  --blue-700: #245f91;
  --blue-600: #2d74ad;
  --blue-100: #dbeaf5;
  --blue-50: #eef6fb;
  --slate-700: #44576a;
  --slate-600: #5d6f7f;
  --slate-300: #bdc9d2;
  --slate-200: #d9e1e7;
  --slate-100: #eaf0f4;
  --grey-50: #f6f8fa;
  --white: #ffffff;
  --gold: #e6ad3c;
  --text: #1d2c39;
  --shadow: 0 22px 55px rgba(13, 38, 61, 0.13);
  --container: 1180px;
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Libre Franklin", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section { padding: 110px 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy-950);
  border-radius: 0 0 8px 8px;
}

.skip-link:focus { top: 0; }

h1, h2, h3 {
  margin: 0;
  color: var(--navy-950);
  font-family: "Source Serif 4", Georgia, serif;
  line-height: 1.12;
}

h1 { font-size: clamp(2.55rem, 4.4vw, 4.2rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(2.1rem, 4vw, 3.65rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.45rem, 2.3vw, 2rem); }
p { margin: 0 0 1.25em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  margin-bottom: 16px;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-light { color: #9fd0f2; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(189, 201, 210, 0.65);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

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

.brand-name {
  color: var(--navy-950);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.brand-role {
  color: var(--blue-700);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav a {
  color: var(--slate-700);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--blue-700); }
.primary-nav .nav-contact {
  padding: 9px 17px;
  color: var(--white);
  background: var(--navy-800);
  border-radius: 999px;
}
.primary-nav .nav-contact:hover, .primary-nav .nav-contact:focus-visible { color: var(--white); background: var(--blue-700); }

.menu-button {
  display: none;
  width: 46px;
  height: 42px;
  padding: 9px;
  background: transparent;
  border: 0;
  border-radius: 8px;
}
.menu-button span:not(.visually-hidden) { display: block; height: 2px; margin: 5px 0; background: var(--navy-900); }

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, var(--blue-50), #f9fbfc 62%, var(--slate-100));
}

.hero-shape {
  position: absolute;
  width: 640px;
  height: 640px;
  right: -220px;
  top: -170px;
  background: rgba(45, 116, 173, 0.08);
  border: 95px solid rgba(36, 95, 145, 0.07);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 480px;
  padding-top: 30px;
  padding-bottom: 30px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: center;
  gap: 55px;
}

.hero-copy { max-width: 720px; }
.hero-intro { max-width: 680px; margin: 22px 0 26px; color: var(--slate-700); font-size: 1.08rem; }
.hero-actions, .book-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 12px 24px;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 6px;
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--blue-700); }
.button-primary:hover, .button-primary:focus-visible { background: var(--navy-800); }
.button-secondary { color: var(--navy-800); background: transparent; border-color: var(--slate-300); }
.button-secondary:hover, .button-secondary:focus-visible { border-color: var(--blue-700); }
.button-light { color: var(--navy-950); background: var(--white); }
.button-light:hover, .button-light:focus-visible { background: var(--blue-100); }

.portrait-wrap { position: relative; width: 100%; max-width: 315px; margin-left: auto; }
.portrait-frame { position: relative; width: 100%; aspect-ratio: 1 / 1; }
.portrait-frame > img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 120px 120px 14px 14px;
  box-shadow: var(--shadow);
}
.portrait-accent {
  position: absolute;
  z-index: 1;
  width: 92%;
  height: 90%;
  right: -28px;
  bottom: -20px;
  border: 3px solid var(--gold);
  border-radius: 120px 120px 14px 14px;
}
.portrait-caption {
  position: relative;
  z-index: 3;
  width: calc(100% - 30px);
  margin: -36px auto 0;
  padding: 18px 22px;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(13, 38, 61, 0.2);
}
.portrait-caption strong, .portrait-caption span { display: block; }
.portrait-caption span { margin-top: 2px; color: var(--blue-100); font-size: 0.82rem; }

.about.section { padding-top: 75px; padding-bottom: 75px; }
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 110px; }
.about-copy { max-width: 670px; color: var(--slate-700); }
.about-copy .lead { color: var(--navy-900); font-family: "Source Serif 4", Georgia, serif; font-size: 1.45rem; line-height: 1.5; }

.books { background: var(--grey-50); }
.section-heading { margin-bottom: 75px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading h2 { max-width: 720px; }
.text-link { color: var(--blue-700); font-size: 0.92rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link span { margin-left: 4px; }

.book-feature {
  margin-bottom: 75px;
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  align-items: center;
  gap: 70px;
}
.book-feature-reverse { grid-template-columns: 1.35fr 0.65fr; }
.book-feature-reverse .book-cover { order: 2; }
.book-feature-reverse .book-content { order: 1; }
.book-cover { max-width: 350px; justify-self: center; filter: drop-shadow(0 22px 22px rgba(13, 38, 61, 0.2)); }
.book-cover img { width: 100%; }
.book-cover-first { width: auto; max-width: none; height: 400px; }
.book-cover-first img { width: auto; height: 100%; max-width: 100%; object-fit: contain; }
.cover-crop {
  position: relative;
  width: 350px;
  aspect-ratio: 0.66;
  overflow: hidden;
  background: var(--blue-600);
}
.cover-crop img {
  position: absolute;
  width: 216%;
  max-width: none;
  height: 100%;
  left: -113%;
  top: 0;
}
.book-content { max-width: 650px; }
.book-status, .card-kicker { margin-bottom: 12px; color: var(--blue-700); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.book-content h3 { margin-bottom: 16px; font-size: clamp(2rem, 3.4vw, 3.25rem); }
.book-content p { color: var(--slate-700); }
.book-content .subtitle, .coming-card .subtitle { margin-top: -4px; color: var(--navy-800); font-family: "Source Serif 4", Georgia, serif; font-size: 1.2rem; font-weight: 600; }
.book-actions { margin-top: 30px; }

.coming-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.coming-card {
  position: relative;
  min-height: 460px;
  padding: 48px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
}
.coming-card h3 { margin-bottom: 14px; font-size: 2.35rem; }
.coming-card p { position: relative; z-index: 2; max-width: 520px; color: var(--slate-700); }
.coming-label {
  position: absolute;
  right: 24px;
  top: 24px;
  padding: 7px 13px;
  color: var(--navy-800);
  background: var(--blue-100);
  border-radius: 999px;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.coming-icon {
  width: 112px;
  height: 112px;
  margin-bottom: 46px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
  border-radius: 50%;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  box-shadow: 16px 14px 0 var(--blue-100);
}
.workbook-card { background: var(--blue-50); }
.workbook-lines { width: 130px; margin: 20px 0 65px; padding: 22px 18px; background: var(--white); border: 2px solid var(--blue-700); box-shadow: 13px 13px 0 var(--slate-300); }
.workbook-lines span { display: block; height: 2px; margin: 13px 0; background: var(--slate-300); }

.speaking { color: var(--white); background: var(--navy-950); }
.speaking-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 100px; }
.speaking h2, .speaking h3 { color: var(--white); }
.speaking-copy > p:not(.eyebrow) { margin: 25px 0 34px; color: var(--blue-100); }
.topic-list article { padding: 25px 0; display: grid; grid-template-columns: 52px 1fr; gap: 20px; border-bottom: 1px solid rgba(219, 234, 245, 0.2); }
.topic-list article:first-child { border-top: 1px solid rgba(219, 234, 245, 0.2); }
.topic-list article > span { color: var(--gold); font-size: 0.8rem; font-weight: 800; }
.topic-list h3 { margin-bottom: 4px; font-family: "Libre Franklin", Arial, sans-serif; font-size: 1.15rem; }
.topic-list p { color: var(--blue-100); font-size: 0.9rem; }

.newsletter { background: var(--blue-50); }
.newsletter-box { padding: 60px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.newsletter-box h2 { font-size: clamp(2rem, 3vw, 3rem); }
.newsletter-box > div > p:last-child { margin-top: 18px; color: var(--slate-700); }
.substack-signup { min-width: 0; }
.substack-frame {
  display: block;
  width: 100%;
  max-width: 520px;
  height: 150px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 8px;
}
.substack-signup .form-note { margin-bottom: 12px; }
.signup-form label { display: block; margin-bottom: 8px; color: var(--navy-900); font-size: 0.85rem; font-weight: 700; }
.signup-row { display: grid; grid-template-columns: 1fr auto; }
.signup-row input { min-width: 0; min-height: 54px; padding: 12px 16px; color: var(--text); background: var(--grey-50); border: 1px solid var(--slate-300); border-radius: 6px 0 0 6px; outline: none; }
.signup-row input:focus { border-color: var(--blue-700); box-shadow: 0 0 0 3px rgba(45, 116, 173, 0.15); }
.signup-row .button { border-radius: 0 6px 6px 0; }
.form-note, .form-status { margin-top: 10px; color: var(--slate-600); font-size: 0.76rem; line-height: 1.5; }
.form-status { color: var(--blue-700); font-weight: 700; }

.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 100px; }
.contact-grid > div:first-child > p:not(.eyebrow) { max-width: 650px; margin: 22px 0; color: var(--slate-700); }
.email-link { color: var(--blue-700); font-family: "Source Serif 4", Georgia, serif; font-size: clamp(1.1rem, 2.2vw, 1.6rem); font-weight: 700; text-underline-offset: 5px; }
.social-card { padding: 30px 36px; background: var(--grey-50); border-left: 5px solid var(--blue-700); }
.social-card h3 { margin-bottom: 14px; font-family: "Libre Franklin", Arial, sans-serif; font-size: 1rem; }
.social-card a { padding: 12px 0; display: flex; justify-content: space-between; color: var(--slate-700); border-bottom: 1px solid var(--slate-200); font-size: 0.92rem; font-weight: 700; text-decoration: none; }
.social-card a:hover { color: var(--blue-700); }

.site-footer { padding: 28px 0; color: var(--blue-100); background: var(--navy-950); font-size: 0.8rem; }
.footer-content { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-content p { margin: 0; }
.footer-content a { color: var(--white); text-decoration: none; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

@media (max-width: 900px) {
  .section { padding: 85px 0; }
  .menu-button { display: block; }
  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 80px;
    padding: 22px 20px 28px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
    box-shadow: 0 15px 25px rgba(13, 38, 61, 0.1);
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 9px 12px; }
  .primary-nav .nav-contact { text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 55px; text-align: center; }
  .hero-copy, .hero-intro { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .portrait-wrap { width: min(76%, 315px); margin: 0 auto; }
  .about-grid, .speaking-grid, .newsletter-box, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
  .about-copy { max-width: none; }
  .book-feature, .book-feature-reverse { grid-template-columns: 0.7fr 1.3fr; gap: 50px; }
  .book-feature-reverse .book-cover { order: 0; }
  .book-feature-reverse .book-content { order: 0; }
  .coming-grid { grid-template-columns: 1fr; }
  .newsletter-box { padding: 45px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 70px 0; }
  .nav-wrap { min-height: 70px; }
  .primary-nav { top: 70px; }
  .brand { display: block; line-height: 1.15; }
  .brand-name, .brand-role { display: block; }
  .brand-role { margin-top: 4px; }
  .hero-grid { min-height: 0; padding-top: 45px; padding-bottom: 55px; }
  .hero-actions, .book-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button, .book-actions .button { width: 100%; }
  .section-heading { margin-bottom: 55px; align-items: start; flex-direction: column; }
  .book-feature, .book-feature-reverse { margin-bottom: 75px; grid-template-columns: 1fr; gap: 40px; }
  .book-cover, .cover-crop { width: min(78vw, 330px); }
  .book-cover-first { width: auto; height: min(400px, 112vw); }
  .book-content { text-align: center; }
  .coming-card { min-height: 0; padding: 38px 28px; }
  .coming-label { position: static; display: inline-block; margin-bottom: 34px; }
  .coming-icon { margin-top: 0; }
  .speaking-grid { gap: 55px; }
  .newsletter-box { width: min(calc(100% - 28px), var(--container)); padding: 36px 24px; }
  .signup-row { grid-template-columns: 1fr; gap: 10px; }
  .signup-row input, .signup-row .button { border-radius: 6px; }
  .footer-content { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
