/* ============================================================
   Navigating the Road to Redemption
   Palette from the mark. White field. Ivory is the road.
   Navy = hills and word. Orange = sun and THE ROAD TO.
   ============================================================ */

:root {
  --navy: #092643;
  --navy-mid: #103a5c;
  --navy-deep: #06182c;
  --navy-footer: #041220;
  --blue: #174c75;
  --orange: #d26326;
  --orange-deep: #b5541f;
  --sun: #ee9538;
  --cream: #fdf7ed;
  --cream-deep: #f3ead8;
  --paper: #fdf7ed;
  --silver: #eef1f4;
  --white: #ffffff;
  --ink: #092643;
  --muted: #5c6b78;
  --line: rgba(9, 38, 67, 0.12);
  --shadow: 0 22px 50px rgba(9, 38, 67, 0.2);
  --radius: 999px;
  --radius-box: 10px;
  --max: 1120px;
  --hero-plate: #858180; /* sampled average of nrr-hero.jpg */
  --font-heading: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-box); }
.hero-photo,
.mini-hero-photo,
.closer img,
.logo img,
.footer-credit__logo,
.retailers img {
  border-radius: 0;
}

a {
  color: var(--orange-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--navy); }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0 0 0.55em;
  color: var(--navy);
  text-transform: none;
  font-optical-sizing: auto;
}

.accent {
  color: var(--orange);
  font-style: italic;
  font-weight: 600;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Header (white — the mark’s field) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: rgba(9, 38, 67, 0.16);
  box-shadow: 0 8px 24px rgba(9, 38, 67, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 5.5rem;
  padding-block: 0.65rem;
  transition: min-height 0.25s ease, padding-block 0.25s ease;
}
.site-header.is-scrolled .header-inner {
  min-height: 4.5rem;
  padding-block: 0.4rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--ink);
}
.logo:hover { color: var(--ink); }
.logo img {
  display: block;
  height: 68px;
  width: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  margin-right: -0.45rem;
  background: transparent;
  border: 0;
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 1.4rem;
  height: 0.85rem;
}
.nav-toggle-bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.28s ease, top 0.28s ease, opacity 0.2s ease;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: calc(50% - 1px); }
.nav-toggle-bars span:nth-child(3) { top: calc(100% - 2px); }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  top: calc(50% - 1px);
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
  top: calc(50% - 1px);
  transform: rotate(-45deg);
}

.site-nav ul {
  display: flex;
  gap: 0.15rem 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--orange-deep);
}

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 0.45rem 0.95rem !important;
  border-radius: var(--radius);
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  transition: background 0.15s, transform 0.15s ease;
}
.nav-cta:hover {
  background: var(--orange-deep) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  padding: 0.7rem 1.2rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s ease;
}
.btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.btn-orange:hover,
.btn-navy:hover {
  transform: translateY(-1px);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-orange:hover { background: var(--orange-deep); border-color: var(--orange-deep); color: var(--white); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-mid); color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color 0.15s, text-decoration-color 0.2s ease, background 0.15s;
}
.btn-ghost:hover {
  color: var(--orange-deep);
  background: transparent;
  text-decoration-color: currentColor;
}
.btn-ghost-light { color: rgba(255,255,255,0.88); }
.btn-ghost-light:hover { color: var(--white); text-decoration-color: currentColor; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.85rem;
}

/* ---------- Hero: one landscape, book centered with air ---------- */
.hero {
  position: relative;
  height: clamp(560px, 78vh, 880px);
  overflow: hidden;
  background: var(--hero-plate);
}

.hero-photo {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 70% 50%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(253, 247, 237, 0.86) 0%,
    rgba(253, 247, 237, 0.62) 28%,
    rgba(253, 247, 237, 0.22) 48%,
    transparent 66%
  );
}

.hero-copy-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: min(32rem, 40vw);
  padding: 1.25rem 1.5rem 1.25rem 0;
  filter: drop-shadow(0 0 28px rgba(253, 247, 237, 0.55));
}

.hero h1 {
  font-size: clamp(2.15rem, 4.4vw, 3.55rem);
  line-height: 1.08;
  margin-bottom: 0.85rem;
  max-width: 12ch;
}
.hero h1 .accent { display: block; }

.lede {
  font-size: 1.05rem;
  color: var(--navy-mid);
  max-width: 38ch;
  margin: 0 0 1.75rem;
  line-height: 1.65;
}

/* Book + pull */
.book-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.topic-pills {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 34rem;
}
.topic-pills li {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-box);
  background: var(--silver);
  border: 1px solid rgba(9, 38, 67, 0.08);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
  box-shadow: 0 1px 0 rgba(9, 38, 67, 0.04);
}
.topic-pills li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--orange);
  margin-right: 0.55rem;
  flex-shrink: 0;
}
.pull {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 1rem;
}
.pull-note {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 28ch;
}

/* Dark inside band */
.band-dark {
  background: var(--navy-deep);
  color: var(--white);
  padding: clamp(3.25rem, 7vw, 5rem) 0;
}
.band-dark h2 { color: var(--white); font-size: clamp(2rem, 4vw, 2.85rem); max-width: 16ch; }
.band-dark p { color: rgba(255,255,255,0.72); max-width: 46ch; }
.band-dark .eyebrow { color: var(--orange); }
.band-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}
.find-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.find-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.82);
}
.find-list li:first-child { border-top: 1px solid rgba(255,255,255,0.12); }

/* Cinematic closer */
.closer {
  position: relative;
  min-height: min(72vh, 560px);
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: #0c1218 url("../assets/closer-road.jpg") center / cover no-repeat;
}
.closer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: 50% 60%;
  transition: transform 10s ease-out;
}
.closer.is-active img {
  transform: scale(1.06);
}
.closer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,12,18,0.55) 0%, rgba(8,12,18,0.15) 55%, transparent 80%);
}
.closer .container { position: relative; z-index: 1; }
.closer h2 {
  color: var(--white);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 12ch;
}
.closer p { color: rgba(255,255,255,0.88); max-width: 36ch; margin-bottom: 1.5rem; }
.closer .eyebrow { color: rgba(255,255,255,0.8); }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 6vw, 4.75rem) 0; }
.section-tight { padding-top: 2rem; }
.section-flush { padding-top: 0; }
.section-paper { background: var(--silver); }
.section-white { background: var(--white); }
.measure { max-width: 40rem; }

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
}
.section-lead {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 48ch;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.photo-frame {
  display: flex;
  justify-content: center;
}
.photo-frame img {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-box);
  object-fit: cover;
  aspect-ratio: 1 / 1;
  object-position: top;
}

/* Topic rows — not cards */
.topic-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.topic-list li {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1.25rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.topic-list .label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  padding-top: 0.2rem;
}
.topic-list p { margin: 0; color: var(--ink); }

/* Workbook — one night-sky band, like the cover */
.workbook-band {
  background:
    radial-gradient(ellipse 50% 80% at 8% 50%, rgba(224, 122, 50, 0.22), transparent 58%),
    linear-gradient(165deg, var(--navy-deep), var(--navy) 55%, var(--navy-mid));
  color: var(--white);
  padding: clamp(2.75rem, 6vw, 4rem) 0;
}
.workbook-inner {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2rem;
  align-items: center;
}
.workbook-band h2 { color: var(--white); margin-bottom: 0.45rem; }
.workbook-band p { color: rgba(255, 255, 255, 0.8); max-width: 46ch; }
.workbook-band .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.workbook-band .btn-ghost:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

/* ---------- Footer — slightly darker than signup band ---------- */
.site-footer {
  background: var(--navy-footer);
  color: rgba(255, 255, 255, 0.72);
  padding: 2rem 0 1.75rem;
  font-size: 0.92rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { margin: 0; max-width: 36ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.85rem 1.2rem; }
.footer-nav a { color: rgba(255, 255, 255, 0.88); text-decoration: none; }
.footer-nav a:hover { color: var(--sun); }

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem 0.5rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
}
.footer-credit__by {
  font-size: 0.78rem;
  font-weight: 500;
}
.footer-credit__logo-link {
  display: inline-flex;
  line-height: 0;
  opacity: 0.45;
  filter: brightness(0) invert(1);
  transition: opacity 0.15s;
}
.footer-credit__logo-link:hover { opacity: 0.75; }
.footer-credit__logo {
  display: block;
  width: 4.75rem;
  height: auto;
}

.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;
}

.mini-hero {
  position: relative;
  min-height: 12.5rem;
  height: clamp(12.5rem, 28vw, 18rem);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--navy-deep);
}
.mini-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 42%;
}
.mini-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 24, 44, 0.2) 0%, rgba(6, 24, 44, 0.78) 100%);
}
.mini-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1.75rem 0 1.6rem;
}
.mini-hero h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.7rem);
  margin: 0;
  max-width: 22ch;
}
.mini-hero .crumbs {
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.55rem;
}
.mini-hero .crumbs a { color: rgba(255,255,255,0.88); }
.mini-hero .crumbs a:hover { color: var(--sun); }
.mini-hero .crumbs [aria-current="page"] { color: var(--white); }
.crumbs-sep { margin: 0 0.45rem; opacity: 0.55; }

.back-to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 80;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.4rem);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.15s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.back-to-top:hover { background: var(--orange); }

/* ---------- Interior pages ---------- */
.page-intro {
  padding: clamp(1.75rem, 4vw, 2.5rem) 0 0;
}
.page-intro h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  margin-bottom: 0.55rem;
  max-width: 16ch;
}
.page-intro p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 42ch;
  margin: 0;
}

.book-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3.5rem, 6vw, 5rem);
}
.book-sticky { position: sticky; top: 5.75rem; }
.book-sticky .cover img {
  width: 100%;
  filter: drop-shadow(var(--shadow));
  margin-bottom: 1.15rem;
}
.book-sticky .btn { width: 100%; }
.book-sticky .btn + .btn { margin-top: 0.55rem; }

.retailers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
  align-items: center;
}
.retailers a {
  display: inline-flex;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.4rem 0.6rem;
  text-decoration: none;
}
.retailers img { height: 20px; width: auto; }

.tagline,
.book-body .tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.book-body h1 {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  max-width: 14ch;
}
.prose { max-width: 62ch; }
.prose p { margin-bottom: 1.1em; }

.toc { margin-top: 2.75rem; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0.95rem 0.15rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}
.acc-trigger:hover { color: var(--orange-deep); }
.acc-trigger::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--orange);
  flex-shrink: 0;
}
.acc-trigger[aria-expanded="true"]::after { content: "–"; }
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
}
.acc-panel.is-open {
  grid-template-rows: 1fr;
}
.acc-panel-inner {
  overflow: hidden;
  min-height: 0;
}
.acc-panel-inner > * {
  padding: 0 0.15rem 1rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.acc-panel[hidden] { display: none; }

/* Resource rows */
.resource-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}
.resource-list li {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1.25rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.resource-list li:first-child { border-top: 1px solid var(--line); }
.resource-list h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0.15rem 0 0;
}
.resource-list p { margin: 0; }

/* About */
.story { max-width: 66ch; }
.story h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 0.55rem; }
.story p { margin-bottom: 1.15em; font-size: 1.05rem; }
.story .pull {
  border-left: 0;
  padding-left: 0;
}

.note {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  max-width: 54ch;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.form-stack { display: grid; gap: 1rem; }
label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--navy);
}
input, textarea, select {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
}
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
  border-color: transparent;
}
textarea { min-height: 140px; resize: vertical; }

.contact-aside {
  background: transparent;
  padding: 0.2rem 0 0;
  border-left: 0;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.contact-aside a { font-weight: 600; }

/* Blog — list + WP-style sidebar */
.blog-layout,
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17.5rem;
  gap: clamp(2rem, 4vw, 3.25rem);
  align-items: start;
}
.article-feature {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 0 0 1.4rem;
}
.blog-list { list-style: none; margin: 0; padding: 0; }
.blog-list li { border-bottom: 1px solid var(--line); }
.blog-list li:first-child { border-top: 1px solid var(--line); }
.blog-list a {
  display: grid;
  grid-template-columns: 10.5rem minmax(0, 1fr);
  gap: 1.15rem;
  align-items: start;
  padding: 1.15rem 0;
  text-decoration: none;
  color: inherit;
}
.blog-list img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.blog-list time {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.blog-list a:hover h3 { color: var(--orange-deep); }
.blog-list h3 {
  font-size: 1.25rem;
  margin: 0 0 0.25rem;
}
.blog-list p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.blog-sidebar { position: sticky; top: 6rem; }
.widget {
  padding-bottom: 1.35rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--line);
}
.widget:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.widget-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.7rem;
}
.widget-search { display: grid; gap: 0.45rem; }
.widget-posts { list-style: none; margin: 0; padding: 0; }
.widget-posts a {
  display: block;
  padding: 0.4rem 0;
  text-decoration: none;
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.35;
}
.widget-posts a:hover,
.widget-posts a[aria-current="page"] { color: var(--orange-deep); }
.widget-cta p { margin: 0 0 0.85rem; color: var(--muted); font-size: 0.95rem; }

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 26, 44, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}
.modal-backdrop[hidden] {
  display: none;
}
.modal {
  background: var(--white);
  color: var(--ink);
  width: min(100%, 420px);
  border-radius: 4px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  position: relative;
  transform: scale(0.98);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.modal-backdrop.is-open .modal {
  transform: scale(1);
  opacity: 1;
}
.modal h2 { font-size: 1.55rem; margin-bottom: 0.4rem; }
.modal .close-x {
  position: absolute;
  top: 0.7rem;
  right: 0.85rem;
  background: transparent;
  border: 0;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
}
.modal-success { text-align: center; padding-top: 0.35rem; }

/* Signup — live site band, every page */
.signup-band {
  background: var(--navy-deep);
  color: var(--white);
  padding: clamp(2.75rem, 6vw, 4rem) 0;
}
.signup-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
}
.signup-band h2 {
  color: var(--white);
  font-size: 1.55rem;
  margin-bottom: 0.35rem;
}
.signup-band p { color: rgba(255,255,255,0.72); margin: 0; }
.signup-band .soon { color: rgba(255,255,255,0.72); }
.signup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.signup-form input {
  flex: 1 1 12rem;
}

.crumbs {
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.crumbs a { color: var(--navy); text-decoration: none; }
.crumbs a:hover { color: var(--orange-deep); }

.article { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 6vw, 4.5rem); }
.article-header h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  max-width: 18ch;
}
.article-header time {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.prose h2, .prose h3 {
  margin-top: 1.6em;
  font-size: 1.25rem;
}
.prose ol, .prose ul { margin: 0 0 1.1em 1.2em; }
.prose li { margin-bottom: 0.35em; }
.prose a { word-break: break-word; }

.resource-toc {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.resource-toc li { border-bottom: 1px solid var(--line); }
.resource-toc a {
  display: block;
  padding: 1rem 0;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 1.15rem;
}
.resource-toc a:hover { color: var(--orange-deep); }

.sitemap-section { margin-top: 2rem; }
.sitemap-section:first-child { margin-top: 0; }

.prose > [data-reveal] + [data-reveal],
.book-body > [data-reveal] + [data-reveal] {
  margin-top: 2rem;
}
.sitemap-section h2 {
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
}

.not-found .section-lead { max-width: 42ch; }

.soon { color: var(--muted); font-size: 0.95rem; }

.footer-publisher { margin: 0.35rem 0 0; }
.footer-publisher a { color: rgba(255, 255, 255, 0.88); }
.footer-publisher a:hover { color: var(--sun); }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* ---------- Motion: dawn / road — once, then stop ---------- */
.hero-in {
  opacity: 0;
  transform: translateY(12px);
}
.hero.is-ready .hero-in,
.mini-hero.is-ready .hero-in {
  animation: heroIn 0.4s ease forwards;
  animation-delay: calc(var(--i, 0) * 80ms);
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav-toggle-bars span,
  .site-nav,
  .back-to-top,
  .btn,
  .btn-ghost,
  .site-header,
  .header-inner,
  .modal-backdrop,
  .modal,
  .acc-panel,
  .closer img {
    transition: none !important;
  }
  .hero-in,
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .closer.is-active img { transform: none !important; }
  .btn-orange:hover,
  .btn-navy:hover { transform: none; }
}

@media (max-width: 900px) {
  .hero { height: auto; }
  .hero-photo {
    height: min(64vh, 34rem);
    object-position: 80% 46%;
    transform: scale(1.22);
    transform-origin: 50% 50%;
  }
  .hero::after { display: none; }
  .hero-copy-wrap {
    position: relative;
    inset: auto;
    background: var(--white);
  }
  .hero-copy {
    max-width: none;
    padding: 1.75rem 0 2.25rem;
    filter: none;
  }
  .split,
  .workbook-inner,
  .book-split,
  .band-grid,
  .book-layout,
  .blog-layout,
  .article-layout,
  .contact-grid,
  .topic-list li,
  .resource-list li,
  .signup-inner {
    grid-template-columns: 1fr;
  }
  .topic-list li,
  .resource-list li { gap: 0.35rem; }
  .book-sticky,
  .blog-sidebar { position: static; }
  .blog-list a { grid-template-columns: 1fr; }
  .photo-frame img { max-width: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: 5.5rem 0 auto 0;
    z-index: 90;
    background: var(--white);
    border-bottom: 1px solid transparent;
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.55rem);
    pointer-events: none;
    box-shadow: 0 16px 28px rgba(9, 38, 67, 0.08);
    transition:
      max-height 0.36s ease,
      opacity 0.28s ease,
      transform 0.32s ease,
      padding 0.32s ease,
      visibility 0.32s,
      border-color 0.32s ease;
  }
  .site-nav.is-open {
    max-height: 28rem;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    padding: 0.75rem 1.25rem 1.1rem;
    border-bottom-color: var(--line);
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }
  .site-nav a { display: block; padding: 0.6rem 0.15rem; }
}

@media (max-width: 560px) {
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .logo img { height: 48px; }
  .hero-photo {
    height: min(72vh, 32rem);
    object-position: 80% 48%;
    transform: scale(1.42);
    transform-origin: 50% 50%;
  }
}
