:root {
  --navy: #0f2f4f;
  --navy-deep: #091f35;
  --teal: #168f87;
  --teal-dark: #0e6259;
  --gold: #d99a24;
  --coral: #df7658;
  --violet: #7163ad;
  --ivory: #f7f5f0;
  --mist: #edf3f4;
  --ink: #253444;
  --muted: #617080;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px;
  line-height: 1.6;
}
a { color: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }
a:focus-visible { outline: 3px solid #f1bd5b; outline-offset: 4px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(15,47,79,.1);
  backdrop-filter: blur(12px);
}
.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 78px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { display: block; width: min(320px,58vw); height: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-links a { text-decoration: none; }
.nav-links .shop { padding: 10px 15px; border-radius: 999px; background: var(--navy); color: #fff; }

.breadcrumbs {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
  padding: 15px 0;
  display: flex;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  color: var(--muted);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 11px;
  white-space: nowrap;
}
.breadcrumbs a { font-weight: 700; text-decoration: none; }
.breadcrumbs span[aria-current] { overflow: hidden; text-overflow: ellipsis; }

.eyebrow {
  margin: 0 0 17px;
  color: var(--teal);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.collection-hero,
.book-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.collection-hero::after,
.book-hero::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -170px;
  top: -230px;
  border: 68px solid rgba(22,143,135,.18);
  border-radius: 50%;
}
.collection-hero-inner,
.book-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: auto;
}
.collection-hero-inner { max-width: 930px; padding: clamp(72px,10vw,132px) 0; text-align: center; }
.collection-hero .eyebrow,
.book-hero .eyebrow { color: #87d3cd; }
.collection-hero h1,
.book-hero h1,
.section-heading h2,
.content h2,
.cta h2 {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.03;
}
.collection-hero h1 { font-size: clamp(42px,7vw,78px); }
.collection-hero .lead,
.book-hero .lead {
  color: rgba(255,255,255,.8);
  font-size: clamp(22px,2.6vw,31px);
  line-height: 1.35;
}
.collection-hero .lead { max-width: 820px; margin: 28px auto 0; }
.color-key { display: flex; justify-content: center; gap: 9px; margin-top: 34px; }
.color-key i { display: block; width: 10px; height: 10px; border-radius: 50%; }
.color-key i:nth-child(1) { background: var(--coral); }
.color-key i:nth-child(2) { background: var(--gold); }
.color-key i:nth-child(3) { background: var(--violet); }
.color-key i:nth-child(4) { background: var(--teal); }

.section { width: min(1080px, calc(100% - 32px)); margin: auto; padding: clamp(64px,8vw,104px) 0; }
.section-heading { max-width: 780px; margin-bottom: 42px; }
.section-heading h2,
.content h2 { color: var(--navy); font-size: clamp(32px,5vw,54px); }
.section-heading p { margin: 20px 0 0; color: var(--muted); font-size: 22px; }

.featured-book {
  display: grid;
  grid-template-columns: minmax(230px,.72fr) 1.28fr;
  gap: clamp(34px,7vw,82px);
  align-items: center;
  padding: clamp(28px,5vw,58px);
  border: 1px solid rgba(15,47,79,.12);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15,47,79,.09);
}
.featured-book img,
.cover img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: auto;
  border: 1px solid rgba(15,47,79,.08);
  border-radius: 8px;
  box-shadow: 0 22px 48px rgba(15,47,79,.18);
}
.featured-book h2 { margin: 0; color: var(--navy); font-family: Montserrat,Arial,sans-serif; font-size: clamp(32px,4.5vw,52px); line-height: 1.05; }
.subtitle { margin: 16px 0; color: var(--teal-dark); font-size: 24px; font-style: italic; }
.meta-row { display: flex; flex-wrap: wrap; gap: 9px; margin: 25px 0; }
.meta-row span,
.tags span {
  padding: 7px 11px;
  border-radius: 999px;
  font-family: Montserrat,Arial,sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.meta-row span { background: var(--mist); color: var(--navy); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 13px 21px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: Montserrat,Arial,sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.button.secondary { border: 1px solid rgba(255,255,255,.45); background: transparent; color: #fff; }
.featured-book .button.secondary { border-color: rgba(15,47,79,.25); color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.pillars { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.pillars article,
.universe article,
.audience article {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(15,47,79,.13);
  border-radius: 20px;
  background: #fff;
}
.pillars article::before { content: ""; display: block; width: 44px; height: 4px; margin-bottom: 22px; background: var(--teal); }
.pillars article:nth-child(2)::before { background: var(--gold); }
.pillars article:nth-child(3)::before { background: var(--violet); }
.pillars h3,
.universe h3,
.audience h3 { margin: 0 0 10px; color: var(--navy); font-family: Montserrat,Arial,sans-serif; font-size: 17px; }
.pillars p,
.universe p,
.audience p { margin: 0; color: var(--muted); }

.book-hero-inner {
  display: grid;
  grid-template-columns: minmax(260px,.72fr) 1.28fr;
  gap: clamp(42px,7vw,92px);
  align-items: center;
  padding: clamp(54px,8vw,102px) 0;
}
.cover { display: flex; justify-content: center; }
.cover img { max-height: 680px; width: auto; }
.book-hero h1 { max-width: 760px; font-size: clamp(42px,6.6vw,78px); }
.book-hero .lead { max-width: 720px; margin: 24px 0 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0; }
.tags span { border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.84); }
.price { margin: 0; color: #fff; font-family: Montserrat,Arial,sans-serif; font-size: 28px; font-weight: 800; }
.price small { display: block; margin-top: 5px; color: rgba(255,255,255,.65); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

.content { width: min(1000px,calc(100% - 32px)); margin: auto; padding: clamp(62px,8vw,104px) 0; }
.presentation { font-size: clamp(21px,2.2vw,26px); }
.presentation p { margin: 0 0 22px; }
.universe { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 44px; }
.universe article:last-child { border-color: rgba(22,143,135,.45); background: #eef8f6; }
.quote { margin: 54px 0 0; padding: 32px; border-left: 4px solid var(--gold); background: #fff; font-size: clamp(24px,3vw,35px); font-style: italic; }
.audience { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 38px; }

.cta {
  width: min(1000px,calc(100% - 32px));
  margin: clamp(48px,7vw,82px) auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(30px,5vw,48px);
  border-radius: 24px;
  background: var(--navy);
  color: #fff;
}
.cta h2 { color: #fff; font-size: clamp(30px,4vw,46px); }
.cta p { margin: 10px 0 0; color: rgba(255,255,255,.75); }
.cta .button { flex: 0 0 auto; text-align: center; }

footer { padding: 34px 16px; background: var(--navy-deep); color: rgba(255,255,255,.7); text-align: center; font-family: Montserrat,Arial,sans-serif; font-size: 12px; }
footer a { color: inherit; }

@media (max-width: 780px) {
  body { font-size: 18px; }
  .nav { min-height: 68px; gap: 10px; }
  .brand img { width: min(240px,52vw); }
  .nav-links a:not(.shop) { display: none; }
  .nav-links .shop { padding: 9px 12px; font-size: 9px; }
  .breadcrumbs { padding: 11px 0; }
  .featured-book,
  .book-hero-inner { grid-template-columns: 1fr; }
  .cover img { max-height: 500px; }
  .pillars,
  .universe,
  .audience { grid-template-columns: 1fr; }
  .actions .button { width: 100%; }
  .cta { align-items: stretch; flex-direction: column; }
  .cta .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .skip-link { transition: none; }
}
