:root {
  --ivory: #fff8ed;
  --paper: #ffffff;
  --navy: #17325c;
  --blue: #2859e0;
  --red: #ef4f5f;
  --red-dark: #d83c4d;
  --yellow: #f5c84b;
  --mint: #79cfb2;
  --taupe: #b9ac9f;
  --taupe-light: #efe7dc;
  --charcoal: #19233a;
  --muted: #5f6571;
  --green: #2e9d82;
  --line: #dce2ec;
  --shadow: 0 18px 55px rgba(23, 50, 92, 0.13);
  --radius: 18px;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", Avenir, Inter, "Helvetica Neue", Arial, sans-serif;
  --hand: "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, textarea, select { font: inherit; }
button, .button { min-height: 46px; }
:focus-visible { outline: 3px solid rgba(179, 38, 45, 0.45); outline-offset: 3px; }
.sr-only {
  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: 1rem;
  top: -8rem;
  z-index: 999;
  background: var(--paper);
  color: var(--navy);
  padding: 0.75rem 1rem;
  border: 1px solid var(--navy);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}
.top-rule { height: 5px; background: linear-gradient(90deg, var(--blue) 0 46%, var(--mint) 46% 67%, var(--yellow) 67% 82%, var(--red) 82%); }
.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  display: inline-grid;
  gap: 0;
  min-width: 205px;
  text-decoration: none;
  color: var(--navy);
}
.brand strong {
  font-family: var(--sans);
  font-size: 1.18rem;
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.brand span {
  margin-top: 0.16rem;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.desktop-nav { margin-left: auto; }
.desktop-nav ul, .footer-nav, .social-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.desktop-nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  white-space: nowrap;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.44rem;
  height: 2px;
  background: var(--red);
  transition: right 180ms ease;
}
.desktop-nav a:hover::after, .desktop-nav a[aria-current="page"]::after { right: 0; }
.shop-link {
  margin-left: 0.2rem;
  padding: 0.65rem 1rem;
  background: var(--red);
  color: #fff !important;
  border-radius: 999px;
}
.shop-link::after { display: none; }
.language-switch {
  border-left: 1px solid var(--line);
  padding-left: 0.85rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.language-switch a { color: var(--muted); text-decoration: none; }
.language-switch a:hover { color: var(--red); }
.language-switch a[aria-current="true"] { color: var(--navy); font-weight: 850; }
.mobile-nav .language-switch,
.footer-brand .language-switch { border-left: 0; padding-left: 0; }
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
  border-radius: 12px;
  cursor: pointer;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: 180ms ease;
}
.mobile-nav {
  display: none;
  position: fixed;
  inset: 73px 0 0;
  z-index: 85;
  padding: 1.4rem;
  background: var(--ivory);
  overflow: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(1.5rem, 8vw, 2.2rem);
  line-height: 1.1;
  text-decoration: none;
}
.mobile-nav .shop-link { margin-top: 1.25rem; padding: 0.85rem 1rem; font-family: var(--sans); font-size: 0.85rem; text-align: center; }
.ticker {
  overflow: hidden;
  border-bottom: 1px solid rgba(23,50,92,.14);
  background: var(--yellow);
  color: var(--navy);
  white-space: nowrap;
}
.ticker div {
  width: max-content;
  padding: .55rem 1rem;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .11em;
}

.container { width: min(calc(100% - 3rem), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 3rem), 780px); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-compact { padding: clamp(2.8rem, 6vw, 4.5rem) 0; }
.paper { background: var(--paper); }
.navy-section { background: linear-gradient(135deg, var(--navy), #244eb0); color: var(--paper); }
.red-rule { border-top: 4px solid var(--red); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
  padding: 0.35rem 0.68rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.navy-section .eyebrow { background: var(--yellow); color: var(--navy); }
h1, h2, h3, h4 {
  margin: 0 0 0.8rem;
  color: var(--navy);
  font-family: var(--sans);
  font-weight: 820;
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.navy-section h1, .navy-section h2, .navy-section h3 { color: var(--paper); }
h1 { font-size: clamp(3rem, 8vw, 6.5rem); }
h2 { font-size: clamp(2.25rem, 5vw, 4rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1.1rem; }
.lede { max-width: 720px; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.5; }
.navy-section .lede { color: rgba(255, 253, 248, 0.78); }
.micro { color: var(--muted); font-size: 0.82rem; }
.kicker { font-family: var(--serif); font-size: 1.35rem; color: var(--navy); }
.buttons { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid var(--red);
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  background: var(--red);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 7px 0 rgba(23,50,92,.12);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
  cursor: pointer;
}
.button:hover { transform: translateY(-3px); box-shadow: 0 10px 0 rgba(23,50,92,.14); background: var(--red-dark); }
.button.secondary { border-color: var(--navy); background: transparent; color: var(--navy); }
.button.secondary:hover { background: var(--navy); color: #fff; }
.button.light { border-color: rgba(255,255,255,.8); background: transparent; color: #fff; }
.button.text {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  box-shadow: none;
  text-align: left;
}
.button.text:hover { background: transparent; transform: none; text-decoration: underline; }
.arrow { font-size: 1.05em; }

.hero {
  position: relative;
  min-height: min(790px, calc(100svh - 74px));
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 86% 22%, rgba(121,207,178,.38) 0 11%, transparent 11.2%),
    radial-gradient(circle at 96% 72%, rgba(245,200,75,.36) 0 15%, transparent 15.2%),
    linear-gradient(135deg, var(--ivory), #fff 62%);
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(1.5rem, calc((100vw - var(--max)) / 2));
  width: 3px;
  background: var(--red);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(300px, 0.78fr);
  align-items: center;
  gap: clamp(2.2rem, 6vw, 7rem);
  padding-block: clamp(4rem, 10vw, 8rem);
}
.hero-copy { padding-left: clamp(1rem, 3vw, 2.4rem); }
.hero h1 { max-width: 830px; }
.hero h1 em { color: var(--red); font-family: var(--serif); font-weight: 600; }
.hero-copy .lede { max-width: 650px; }
.margin-note {
  display: inline-block;
  margin: 2rem 0 0 0.7rem;
  padding: .55rem .8rem;
  border-radius: 10px;
  background: var(--mint);
  color: var(--navy);
  font-family: var(--hand);
  font-size: 0.95rem;
  transform: rotate(-2deg);
}
.portrait-placeholder {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 600px;
  display: grid;
  place-items: center;
  padding: 2rem;
  border: 7px solid #fff;
  border-radius: 34px;
  background:
    radial-gradient(circle at 15% 15%, rgba(255,255,255,.23) 0 7%, transparent 7.2%),
    radial-gradient(circle at 84% 84%, rgba(245,200,75,.7) 0 13%, transparent 13.2%),
    var(--blue);
  color: #fff;
  text-align: center;
  box-shadow: 17px 19px 0 var(--yellow);
  transform: rotate(1.2deg);
}
.portrait-placeholder::before {
  content: "01";
  position: absolute;
  top: -1.1rem;
  right: -1rem;
  display: grid;
  place-items: center;
  width: 68px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.8rem;
}
.portrait-placeholder strong { display: block; font-family: var(--sans); font-size: 1.65rem; font-weight: 850; }
.portrait-placeholder span { display: block; margin-top: 0.45rem; color: rgba(255,255,255,.78); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.portrait-caption {
  position: absolute;
  right: -1px;
  bottom: -1px;
  left: 1.5rem;
  padding: 0.8rem 1rem;
  border-radius: 16px 0 27px 0;
  background: var(--red);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand-graphic {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(1.7rem, 4vw, 3rem);
  border: 7px solid #fff;
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 16%, var(--yellow) 0 12%, transparent 12.3%),
    radial-gradient(circle at 18% 80%, rgba(121,207,178,.85) 0 15%, transparent 15.3%),
    var(--blue);
  color: #fff;
  box-shadow: 17px 19px 0 var(--yellow);
  transform: rotate(1.2deg);
}
.brand-graphic::after {
  content: "";
  position: absolute;
  right: -35%;
  bottom: 28%;
  width: 115%;
  height: 10px;
  border-radius: 999px;
  background: var(--red);
  transform: rotate(-35deg);
}
.brand-graphic .brand-line {
  position: relative;
  z-index: 1;
  max-width: 360px;
  font-family: var(--serif);
  line-height: .9;
}
.brand-graphic .brand-line strong,
.brand-graphic .brand-line em {
  display: block;
  font-size: clamp(3.4rem, 8vw, 6.8rem);
  letter-spacing: -.055em;
}
.brand-graphic .brand-line em {
  color: var(--yellow);
  font-weight: 700;
}
.brand-graphic .graphic-copy {
  position: relative;
  z-index: 1;
  max-width: 300px;
}
.brand-graphic .graphic-copy strong {
  display: block;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.05;
}
.brand-graphic .graphic-copy span {
  display: block;
  margin-top: .7rem;
  color: rgba(255,255,255,.8);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.intro-grid, .about-grid, .resource-feature, .book-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}
.pullquote {
  position: relative;
  padding: 2.2rem 0 2.2rem 2rem;
  border-left: 6px solid var(--red);
  border-radius: 0 22px 22px 0;
  background: rgba(245,200,75,.23);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.2;
}
.pullquote small {
  display: block;
  margin-top: 1rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.check-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.check-list li { position: relative; padding: 0.55rem 0 0.55rem 1.7rem; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "•"; position: absolute; left: 0; color: var(--red); font-weight: 800; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.section-heading > div { max-width: 760px; }
.section-heading p { color: var(--muted); margin-bottom: 0; }
.book-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.4rem; align-items: start; }
.book-card { min-width: 0; }
.book-cover {
  position: relative;
  aspect-ratio: 0.72;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.3rem;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  border-radius: 9px 17px 17px 9px;
  box-shadow: 9px 11px 0 var(--yellow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.book-card:hover .book-cover { transform: translateY(-6px) rotate(-1deg); box-shadow: 11px 16px 0 var(--mint); }
.book-cover-image {
  aspect-ratio: .72;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 9px 17px 17px 9px;
  background: #f3f0ea;
  box-shadow: 9px 11px 0 var(--yellow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.book-cover-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.book-card:hover .book-cover-image { transform: translateY(-6px) rotate(-1deg); box-shadow: 11px 16px 0 var(--mint); }
.book-cover::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: 28%;
  width: 130px;
  height: 4px;
  background: var(--red);
  transform: rotate(-42deg);
}
.book-cover.red { background: var(--red); }
.book-cover.red::after { background: #f2d8c4; }
.book-cover.taupe { background: #9b6fbb; }
.book-cover.taupe::after { background: #c9d7e0; }
.book-cover.green { background: var(--green); }
.book-cover.green::after { background: #d8c2a6; }
.book-cover.charcoal { background: var(--blue); }
.book-cover.charcoal::after { background: var(--red); }
.cover-label {
  position: relative;
  z-index: 1;
  font-size: 0.63rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.book-cover strong {
  position: relative;
  z-index: 1;
  max-width: 90%;
  color: inherit;
  font-family: var(--sans);
  font-size: clamp(1.2rem, 2vw, 1.9rem);
  font-weight: 850;
  line-height: 1.04;
}
.book-cover small { position: relative; z-index: 1; font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; }
.book-card-copy { padding-top: 1.35rem; }
.book-card-copy h3 { min-height: 2.1em; font-size: 1.38rem; }
.book-card-copy p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.8rem 0 1rem; }
.tag {
  display: inline-flex;
  padding: 0.24rem 0.45rem;
  border: 0;
  border-radius: 999px;
  background: #edf1fa;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.card-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.card-actions .button { min-height: 38px; padding: 0.52rem 0.65rem; font-size: 0.67rem; }

.benefit-grid, .category-grid, .resource-grid, .article-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  background: transparent;
  border: 0;
}
.benefit-card, .category-card, .resource-card {
  min-width: 0;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.benefit-card:hover, .category-card:hover, .resource-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.benefit-card .number, .category-card .number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 2.2rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 850;
}
.benefit-card h3, .category-card h3 { font-family: var(--sans); font-size: 0.79rem; font-weight: 850; letter-spacing: 0.1em; line-height: 1.3; text-transform: uppercase; }
.benefit-card p, .category-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.category-card { min-height: 225px; display: flex; flex-direction: column; }
.category-card:nth-child(3n+2) .number { background: var(--mint); }
.category-card:nth-child(3n) .number { background: #dce6ff; }
.category-card a { margin-top: auto; color: var(--red); font-size: 0.75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.editorial-image {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 16px 17px 0 var(--mint);
}
.editorial-image img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; }
.editorial-image::after {
  content: "Notes from the desk";
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 0.75rem 1rem;
  border-radius: 0 15px 0 0;
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 1.7rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.article-card.featured {
  position: relative;
  grid-column: span 2;
  min-height: 360px;
  justify-content: end;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 15%, var(--yellow) 0 12%, transparent 12.3%),
    var(--blue);
  color: #fff;
}
.article-card.featured h3 { color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); }
.article-card .meta { margin-bottom: 2rem; color: var(--red); font-size: 0.68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.article-card.featured .meta { color: #f09a9e; }
.article-card p { color: var(--muted); }
.article-card.featured p { max-width: 640px; color: rgba(255,255,255,.75); }
.article-card a.article-link { margin-top: auto; color: var(--red); font-size: 0.75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.article-card.featured a.article-link { color: #fff; }

.resource-feature { align-items: stretch; }
.resource-preview {
  position: relative;
  min-height: 420px;
  padding: 2rem;
  border: 6px solid #fff;
  border-radius: 26px;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
  box-shadow: 14px 16px 0 var(--yellow);
}
.resource-preview::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 68px;
  width: 1px;
  background: rgba(179,38,45,.42);
}
.resource-preview .lines {
  height: 100%;
  background: repeating-linear-gradient(to bottom, transparent 0 38px, rgba(16,38,63,.12) 39px 40px);
}
.resource-preview .preview-title { position: absolute; top: 2.4rem; left: 95px; right: 2rem; font-family: var(--serif); font-size: 2.15rem; color: var(--navy); }
.resource-preview .preview-note { position: absolute; top: 10rem; left: 102px; color: var(--red); font-family: var(--hand); transform: rotate(-2deg); }
.free-lesson-visual {
  position: relative;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 7px solid #fff;
  border-radius: 28px;
  background:
    radial-gradient(circle at 89% 13%, var(--yellow) 0 11%, transparent 11.2%),
    linear-gradient(145deg, var(--blue), var(--navy));
  color: #fff;
  box-shadow: 15px 17px 0 var(--mint);
  transform: rotate(-1deg);
}
.free-lesson-visual::after {
  content: "7 DAYS";
  position: absolute;
  right: -1.2rem;
  bottom: 1.4rem;
  padding: .55rem 1.7rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .1em;
  transform: rotate(-7deg);
}
.free-lesson-visual small {
  position: relative;
  z-index: 1;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.free-lesson-visual strong {
  position: relative;
  z-index: 1;
  max-width: 620px;
  font-size: clamp(2.2rem, 6vw, 4.9rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.free-lesson-visual strong em { color: var(--yellow); font-family: var(--serif); font-weight: 600; }

.social-strip { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); border: 0; background: transparent; gap: 1rem; }
.social-intro, .social-card { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.social-card:nth-child(2) { background: #e3ebff; }
.social-card:nth-child(3) { background: #ffe3e7; }
.social-card:nth-child(4) { background: #dcf4ec; }
.social-card { min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; }
.social-card span { color: var(--red); font-size: 0.7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.social-card strong { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); }

.final-cta { text-align: center; }
.final-cta h2 { max-width: 880px; margin-inline: auto; }
.final-cta .buttons { justify-content: center; }

.page-hero {
  padding: clamp(4.5rem, 9vw, 8.5rem) 0 clamp(3rem, 6vw, 5.5rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 89% 28%, rgba(121,207,178,.42) 0 8%, transparent 8.2%),
    radial-gradient(circle at 95% 77%, rgba(245,200,75,.36) 0 12%, transparent 12.2%),
    linear-gradient(135deg, var(--ivory), #fff);
}
.page-hero h1 { max-width: 1000px; }
.page-hero .lede { margin-top: 1rem; }
.breadcrumbs { margin-bottom: 2rem; color: var(--muted); font-size: 0.72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.breadcrumbs a { color: var(--red); }
.page-number { float: right; color: var(--yellow); font-family: var(--sans); font-weight: 900; font-size: clamp(4rem, 12vw, 9rem); line-height: .7; transform: rotate(5deg); }

.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0 0 2rem; }
.filter-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55rem .8rem;
  background: transparent;
  color: var(--navy);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
  cursor: pointer;
}
.filter-button:hover, .filter-button[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }
.article-card[hidden] { display: none; }
.coming-soon { color: var(--muted); font-size: .72rem; font-style: italic; }

.resource-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.resource-card { display: flex; min-height: 295px; flex-direction: column; }
.resource-icon {
  display: grid;
  place-items: center;
  width: 54px;
  aspect-ratio: 1;
  margin-bottom: 2rem;
  border: 0;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--red);
  font-family: var(--serif);
  font-size: 1.35rem;
}
.resource-card p { color: var(--muted); }
.resource-card .button { align-self: flex-start; margin-top: auto; }
.resource-grid-downloads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.resource-download-card { min-height: 100%; }
.resource-cover { width: 100%; height: auto; aspect-ratio: 800 / 1131; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); margin-bottom: 1.5rem; }
.resource-download-card .meta { color: var(--red); font-weight: 800; }
.resource-download-card h3 { margin-top: .35rem; }
.escape-room-intro { margin-top: 1.75rem; }
.escape-room-intro h4 { margin-bottom: .5rem; }
.escape-room-intro video { display: block; width: 100%; height: auto; aspect-ratio: 910 / 512; border-radius: 14px; border: 1px solid var(--line); background: #000; }
.resource-note { margin-top: 1.25rem; max-width: 78ch; }

.book-catalogue { display: grid; gap: 5rem; }
.catalogue-row {
  display: grid;
  grid-template-columns: minmax(220px, .62fr) minmax(0, 1.38fr);
  gap: clamp(2.2rem, 7vw, 6rem);
  align-items: center;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--line);
}
.catalogue-row:nth-child(even) .book-cover { order: 2; }
.catalogue-row .book-cover, .catalogue-row .book-cover-image { width: min(100%, 330px); justify-self: center; }
.catalogue-copy .audience { color: var(--red); font-size: .73rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.catalogue-copy .benefit { margin: 1.5rem 0; padding: 1rem 1.2rem; border-left: 5px solid var(--red); border-radius: 0 14px 14px 0; background: rgba(245,200,75,.22); color: var(--navy); font-family: var(--serif); font-size: 1.35rem; }

.book-detail-hero { align-items: center; }
.book-detail-cover { width: min(100%, 410px); justify-self: center; }
.book-detail-copy h1 { font-size: clamp(2.9rem, 7vw, 6rem); }
.book-preview-section { background: #eef4ff; }
.video-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}
.book-video-frame {
  width: min(100%, 360px);
  justify-self: center;
  padding: .55rem;
  border-radius: 28px;
  background: var(--navy);
  box-shadow: 12px 14px 0 var(--yellow);
}
.book-video-frame video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 720px;
  border-radius: 21px;
  background: #0c1929;
  object-fit: contain;
}
.book-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 2rem; border: 1px solid var(--line); }
.fact { padding: 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact:nth-child(even) { border-right: 0; }
.fact:nth-last-child(-n+2) { border-bottom: 0; }
.fact span { display: block; color: var(--muted); font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.fact strong { display: block; margin-top: .2rem; color: var(--navy); font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.sticky-buy { position: sticky; top: 105px; padding: 1.5rem; border-top: 4px solid var(--red); background: var(--paper); box-shadow: var(--shadow); }
.sticky-buy { border-radius: 0 0 var(--radius) var(--radius); }
.sticky-buy .button { width: 100%; }
.inside-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; padding-left: 1.2rem; }
.inside-list li { padding: .45rem 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.article-body { font-family: var(--sans); font-size: 1.08rem; line-height: 1.78; }
.article-body h2 { margin-top: 3.2rem; font-size: clamp(2rem, 4vw, 3rem); }
.article-body h3 { margin-top: 2.2rem; font-size: 1.7rem; }
.article-body ul, .article-body ol { padding-left: 1.3rem; }
.article-body li { margin-bottom: .55rem; }
.article-intro { color: var(--navy); font-family: var(--serif); font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.4; }
.teacher-tip {
  margin: 2.4rem 0;
  padding: 1.5rem 1.5rem 1.3rem;
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #fff4d0;
}
.teacher-tip strong { display: block; margin-bottom: .4rem; color: var(--red); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.lesson-slides {
  margin: 3rem 0;
  padding: clamp(1.2rem, 4vw, 2rem);
  border-radius: 24px;
  background: var(--ivory);
  box-shadow: 10px 12px 0 var(--mint);
}
.article-body .lesson-slides h2 { margin-top: 0; }
.slide-deck {
  width: 100%;
  height: min(66vw, 520px);
  min-height: 420px;
  overflow: hidden;
  border: 6px solid #fff;
  border-radius: 18px;
  background: #f1eadf;
  box-shadow: var(--shadow);
}
.slide-deck object,
.slide-deck img { width: 100%; height: 100%; object-fit: contain; }
.lesson-slides .buttons { margin-top: 1.2rem; }
.article-aside { position: sticky; top: 110px; }
.article-aside nav { border-top: 3px solid var(--red); padding-top: 1rem; }
.article-aside a { display: block; padding: .5rem 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .78rem; text-decoration: none; }
.article-aside a:hover { color: var(--red); }
.byline { display: flex; flex-wrap: wrap; gap: .7rem 1.3rem; margin-top: 1.4rem; color: var(--muted); font-size: .78rem; }

.contact-list { list-style: none; margin: 2rem 0; padding: 0; }
.contact-list li { padding: .8rem 0; border-bottom: 1px solid var(--line); }

.legal-copy { max-width: 760px; }
.legal-copy .placeholder-box { margin: 2rem 0; padding: 1.2rem; border: 1px dashed var(--red); background: var(--paper); color: var(--red-dark); }

.site-footer { border-top: 1px solid rgba(255,255,255,.15); background: var(--navy); color: rgba(255,255,255,.75); }
.footer-main {
  display: grid;
  grid-template-columns: 1.3fr .8fr .8fr;
  gap: 2rem;
  padding: 4rem 0;
}
.footer-brand strong { color: #fff; font-family: var(--serif); font-size: 1.7rem; }
.footer-brand p { max-width: 280px; margin-top: .8rem; font-size: .88rem; }
.footer-heading { margin-bottom: 1rem; color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-nav { align-items: start; flex-direction: column; gap: .5rem; }
.footer-nav a, .social-links a { font-size: .82rem; text-decoration: none; }
.footer-nav a:hover, .social-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { padding: 1.1rem 0; border-top: 1px solid rgba(255,255,255,.13); font-size: .7rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .3rem; }
.footer-legal a { color: inherit; text-decoration: none; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }

dialog {
  width: min(calc(100% - 2rem), 520px);
  border: 0;
  padding: 0;
  background: var(--paper);
  color: var(--charcoal);
  box-shadow: 0 30px 100px rgba(0,0,0,.3);
}

.prompt-box {
  margin: 1.4rem 0 2.5rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  background: #fff;
}
.prompt-label {
  margin: 0 0 1rem;
  color: var(--red);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.prompt-box pre {
  margin: 0;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.prompt-box code {
  font-family: inherit;
  font-size: .94rem;
  line-height: 1.72;
}
.article-book-cta {
  margin: 3rem 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-top: 5px solid var(--red);
  background: var(--navy);
  color: #fff;
}
.article-book-cta h3 { color: #fff; }
.article-book-cta .eyebrow { color: var(--yellow); }
.article-book-cta .button { margin-top: .6rem; }
dialog::backdrop { background: rgba(16,38,63,.72); backdrop-filter: blur(3px); }
.dialog-inner { padding: 2rem; border-top: 5px solid var(--red); }
.dialog-inner h2 { font-size: 2.2rem; }
.dialog-close { float: right; min-height: 38px; border: 1px solid var(--line); background: transparent; cursor: pointer; }

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .language-switch { margin-left: 0; }
  .book-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .category-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .footer-main { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 780px) {
  .container, .narrow { width: min(calc(100% - 2rem), var(--max)); }
  .nav-wrap { padding-inline: 1rem; }
  .nav-wrap > .shop-link { display: none; }
  .nav-wrap > .language-switch { display: none; }
  .hero { min-height: auto; }
  .hero::before { left: 1rem; }
  .hero-grid, .intro-grid, .about-grid, .resource-feature, .book-detail-hero, .video-preview-grid, .detail-grid, .article-layout {
    grid-template-columns: 1fr;
  }
  .hero-grid { gap: 3rem; padding-block: 3.7rem; }
  .hero-copy { padding-left: .8rem; }
  .portrait-placeholder, .brand-graphic { width: min(92%, 430px); justify-self: center; }
  .section-heading { display: block; }
  .section-heading .button { margin-top: 1.2rem; }
  .book-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .article-grid { grid-template-columns: 1fr; }
  .article-card.featured { grid-column: auto; min-height: 400px; }
  .resource-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .social-strip { grid-template-columns: 1fr 1fr; }
  .catalogue-row { grid-template-columns: 210px 1fr; gap: 2rem; }
  .catalogue-row:nth-child(even) .book-cover { order: initial; }
  .article-aside { position: static; order: -1; }
  .inside-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: .98rem; }
  .slide-deck { height: 330px; min-height: 0; }
  .brand { min-width: 0; }
  .brand strong { font-size: 1.13rem; }
  .brand span { font-size: .58rem; }
  h1 { font-size: clamp(2.8rem, 15vw, 4.3rem); }
  h2 { font-size: clamp(2.15rem, 11vw, 3rem); }
  .buttons, .card-actions { align-items: stretch; flex-direction: column; }
  .buttons .button, .card-actions .button { width: 100%; }
  .book-grid, .benefit-grid, .category-grid, .resource-grid { grid-template-columns: 1fr; }
  .book-card-copy h3 { min-height: auto; }
  .social-strip { grid-template-columns: 1fr; }
  .catalogue-row { grid-template-columns: 1fr; }
  .catalogue-row .book-cover, .catalogue-row .book-cover-image { width: min(82%, 310px); }
  .book-facts { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(even) { border-right: 0; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
  .sticky-buy { position: static; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; }
  .footer-legal { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; }
}
