:root {
  --ink: #1d211f;
  --muted: #646a66;
  --paper: #f7f3ea;
  --card: #fffdf8;
  --line: rgba(29, 33, 31, 0.13);
  --accent: #ad4f32;
  --accent-soft: #efd8ca;
  --deep: #153d35;
  --wash: #edf2ec;
  --gold: #d9a74d;
  --shadow: 0 24px 65px rgba(32, 29, 24, 0.14);
  --radius: 25px;
  --shell: 1160px;
}

.theme-andy {
  --accent: #d46835;
  --accent-soft: #f4d6bd;
  --deep: #173f4f;
  --wash: #e8f1f2;
}

.theme-freida {
  --accent: #bd3e49;
  --accent-soft: #f2c9cc;
  --deep: #321b26;
  --wash: #f2e7e9;
}

.theme-rebecca {
  --accent: #8267bd;
  --accent-soft: #dcd2f3;
  --deep: #24243b;
  --wash: #eeebf5;
}

.theme-taylor {
  --accent: #b36c42;
  --accent-soft: #efd7c7;
  --deep: #3e2b25;
  --wash: #f2e9e1;
}

.theme-katherine {
  --accent: #c16c3c;
  --accent-soft: #f0d6bd;
  --deep: #294a38;
  --wash: #e7efe7;
}

.theme-grace {
  --accent: #4e8092;
  --accent-soft: #cbdde2;
  --deep: #173947;
  --wash: #e5eef0;
}

.theme-nick {
  --accent: #c04a37;
  --accent-soft: #efc9bf;
  --deep: #261d1d;
  --wash: #f1e7e3;
}

.theme-ann {
  --accent: #a4683c;
  --accent-soft: #efd2b2;
  --deep: #273648;
  --wash: #e7edf1;
}

.theme-charlotte {
  --accent: #2876a7;
  --accent-soft: #c5dfed;
  --deep: #182b3d;
  --wash: #e8f0f5;
}

.theme-saara {
  --accent: #b84d31;
  --accent-soft: #efc7b8;
  --deep: #36201d;
  --wash: #f2e6df;
}

.theme-olaolu {
  --accent: #b37a32;
  --accent-soft: #ead9b7;
  --deep: #193b43;
  --wash: #e7efed;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, color-mix(in srgb, var(--accent-soft) 65%, transparent), transparent 27rem),
    linear-gradient(180deg, #fbf8f1 0%, var(--paper) 48%, #f1eadd 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.035em;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--deep);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 241, 0.91);
  border-bottom: 1px solid rgba(29, 33, 31, 0.08);
  backdrop-filter: blur(16px);
}

.nav-shell {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--deep);
  border-radius: 14px 14px 14px 4px;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--deep) 26%, transparent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.74rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.site-nav a {
  padding: 9px 12px;
  color: #414844;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover {
  background: color-mix(in srgb, var(--accent) 9%, transparent);
}

.site-nav .nav-cta {
  margin-left: 5px;
  padding-inline: 18px;
  color: #fff;
  background: var(--deep);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 78px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 510px;
  height: 510px;
  top: 25px;
  right: -210px;
  z-index: -1;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px color-mix(in srgb, var(--accent) 5%, transparent),
    0 0 0 120px color-mix(in srgb, var(--accent) 3%, transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.7fr);
  gap: clamp(48px, 8vw, 104px);
  align-items: center;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 790px;
  margin-bottom: 22px;
  font-size: clamp(3.45rem, 7.5vw, 7rem);
  line-height: 0.9;
}

.hero-lede {
  max-width: 710px;
  margin-bottom: 29px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
}

.hero-actions,
.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--deep);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--deep) 24%, transparent);
}

.button-primary:hover {
  background: color-mix(in srgb, var(--deep) 88%, #fff);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.74);
  border-color: var(--line);
}

.hero-note {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.hero-art {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(145deg, transparent 45%, rgba(255, 255, 255, 0.11) 46%, transparent 48%),
    radial-gradient(circle at 28% 24%, color-mix(in srgb, var(--accent) 86%, #fff), transparent 34%),
    linear-gradient(145deg, var(--deep), color-mix(in srgb, var(--deep) 72%, #000));
  border: 1px solid color-mix(in srgb, var(--deep) 72%, #fff);
  border-radius: 34px 34px 34px 9px;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.hero-art::before {
  width: 280px;
  height: 280px;
  top: -80px;
  right: -80px;
}

.hero-art::after {
  width: 120px;
  height: 120px;
  bottom: 36px;
  left: -42px;
}

.hero-monogram {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 13px;
  padding: 36px;
  text-align: center;
}

.hero-monogram strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.5rem, 9vw, 7.4rem);
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.hero-monogram span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.trust-strip {
  color: #fff;
  background: var(--deep);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-grid div {
  padding: 25px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-grid div:last-child {
  border-right: 0;
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  margin-bottom: 2px;
  color: color-mix(in srgb, var(--accent-soft) 72%, #fff);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.trust-grid span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.section {
  padding-top: 94px;
  padding-bottom: 94px;
  scroll-margin-top: 72px;
}

.section-tint {
  background: color-mix(in srgb, var(--wash) 72%, transparent);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.55fr);
  gap: 52px;
  align-items: end;
  margin-bottom: 38px;
}

.section-heading h2,
.about-copy h2,
.final-copy h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 4.8vw, 4.45rem);
  line-height: 0.98;
}

.section-heading > p,
.about-copy p,
.final-copy p {
  margin-bottom: 4px;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 24px;
  align-items: stretch;
}

.about-copy,
.start-panel {
  padding: clamp(30px, 5vw, 54px);
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 15px 42px rgba(35, 31, 24, 0.08);
}

.about-copy h2 {
  margin-bottom: 22px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.start-panel {
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent) 65%, transparent), transparent 18rem),
    var(--deep);
}

.start-panel .eyebrow {
  color: color-mix(in srgb, var(--accent-soft) 80%, #fff);
}

.start-panel h3 {
  margin-bottom: 18px;
  font-size: 2rem;
  line-height: 1;
}

.start-panel ol {
  display: grid;
  gap: 15px;
  margin: 0;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.78);
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.book-grid-single {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
}

.book-grid-single .book-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
}

.book-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(35, 31, 24, 0.09);
}

.book-cover {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  background: color-mix(in srgb, var(--accent-soft) 72%, #fff);
}

.book-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px;
}

.book-label {
  margin-bottom: 10px;
  color: color-mix(in srgb, var(--accent) 76%, #000);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.book-body h3 {
  margin-bottom: 10px;
  font-size: 1.7rem;
  line-height: 1.05;
}

.book-body p {
  color: var(--muted);
}

.book-actions {
  margin-top: auto;
}

.book-actions .button {
  min-height: 44px;
  font-size: 0.9rem;
}

.affiliate-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.route-card {
  padding: 28px;
  background: rgba(255, 253, 248, 0.76);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 19px 19px;
}

.route-card span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.route-card h3 {
  margin-bottom: 8px;
  font-size: 1.55rem;
}

.route-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.final-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 42px;
  align-items: center;
  padding: clamp(30px, 6vw, 64px);
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent) 72%, transparent), transparent 25rem),
    var(--deep);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.final-copy h2 {
  margin-bottom: 18px;
}

.final-copy p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.73);
}

.final-panel .button-primary {
  color: var(--ink);
  background: #fffaf0;
  box-shadow: none;
}

.source-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.source-note a {
  font-weight: 750;
  text-underline-offset: 3px;
}

.site-footer {
  padding: 58px 0 34px;
  color: rgba(255, 255, 255, 0.76);
  background: #102722;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: start;
}

.footer-brand {
  color: #fff;
}

.footer-grid > div > p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.55);
}

.footer-grid nav {
  display: grid;
  gap: 8px;
}

.footer-grid nav a {
  text-decoration: none;
}

.footer-grid nav a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.copyright {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.64);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}

@media (max-width: 940px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 330px;
    transform: none;
  }

  .book-grid,
  .route-grid {
    grid-template-columns: 1fr;
  }

  .book-card {
    display: grid;
    grid-template-columns: minmax(210px, 0.55fr) 1fr;
  }

  .book-grid-single .book-card {
    grid-template-columns: minmax(210px, 0.55fr) 1fr;
  }

  .book-cover {
    height: 100%;
    aspect-ratio: auto;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(100% - 28px, var(--shell));
  }

  .site-header .brand > span:last-child,
  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding: 62px 0 56px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 17vw, 5rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    padding: 8px 0;
  }

  .trust-grid div {
    padding: 14px 4px;
    border-right: 0;
  }

  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .section-heading,
  .final-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .book-card {
    display: flex;
  }

  .book-grid-single .book-card {
    display: flex;
  }

  .book-cover {
    height: auto;
    aspect-ratio: 2 / 3;
  }

  .final-panel .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
