/* ==========================================================================
   Rex Alan Davis — site styles
   Brand palette: Deep Navy #011526 · Ocean Blue #0B5B8C · Sky Blue #127CA6
                  Soft Blue #79BED9 · Warm Sand #F2E4D8 · Accent Clay #EDA05F
   ========================================================================== */

:root {
  --navy: #011526;
  --navy-2: #06223a;
  --ocean: #0B5B8C;
  --sky: #127CA6;
  --soft: #79BED9;
  --sand: #F2E4D8;
  --sand-2: #FAF4EE;
  --clay: #EDA05F;
  --clay-dark: #C9782F;
  --ink: #14202b;
  --muted: #5a6672;
  --line: rgba(1, 21, 38, .12);
  --white: #fff;

  --font-display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 18px 50px -20px rgba(1, 21, 38, .35);
  --shadow-sm: 0 6px 20px -10px rgba(1, 21, 38, .3);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--ocean); text-underline-offset: 3px; }
a:hover { color: var(--sky); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--clay); color: var(--navy); }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.12; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.15em; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.65; color: var(--muted); }
.serif-italic { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--clay); color: var(--navy); padding: 10px 16px; z-index: 1000; font-weight: 700; }
.skip-link:focus { left: 12px; top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 780px; }
.section { padding: clamp(64px, 10vw, 128px) 0; position: relative; }
.section-tight { padding: clamp(48px, 7vw, 88px) 0; }
.bg-sand { background: var(--sand-2); }
.bg-sand-deep { background: var(--sand); }
.bg-navy { background: var(--navy); color: rgba(255,255,255,.82); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.bg-navy .lead { color: rgba(255,255,255,.75); }
.bg-navy a:not(.btn) { color: var(--soft); }
.bg-ocean { background: var(--ocean); color: rgba(255,255,255,.88); }
.bg-ocean h2, .bg-ocean h3 { color: #fff; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-60 { max-width: 60ch; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

/* Eyebrow label: echoes the condensed type of the logo */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .14em;
  color: var(--sky); margin-bottom: 14px; text-transform: uppercase; line-height: 1;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--clay); }
.center .eyebrow::after { content: ""; width: 34px; height: 2px; background: var(--clay); }
.bg-navy .eyebrow, .on-dark .eyebrow { color: var(--soft); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--clay); --c: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 2px solid var(--b);
  background: var(--b); color: var(--c); font-weight: 700; font-size: .95rem;
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
  font-family: var(--font-sans); line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(237,160,95,.9); color: var(--c); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-navy { --b: var(--navy); --c: #fff; }
.btn-navy:hover { box-shadow: 0 12px 26px -12px rgba(1,21,38,.7); background: var(--ocean); border-color: var(--ocean); }
.btn-ghost { background: transparent; --c: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; box-shadow: none; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); box-shadow: none; }
.btn-sm { padding: 10px 18px; font-size: .8rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.center .btn-row { justify-content: center; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; color: var(--ocean); }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s, box-shadow .35s, height .35s;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1360px; }
.site-header.is-solid, .site-header.is-light { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.brand { display: block; flex: none; }
.brand img { height: 30px; width: auto; }
.brand .logo-white { display: block; }
.brand .logo-color { display: none; }
.site-header.is-solid .logo-white, .site-header.is-light .logo-white { display: none; }
.site-header.is-solid .logo-color, .site-header.is-light .logo-color { display: block; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; align-items: center; }
.nav a.nav-link, .nav button.nav-link {
  display: block; padding: 10px 12px; color: #fff; text-decoration: none; font-weight: 600;
  font-size: .9rem; letter-spacing: .02em; border-radius: 8px; background: none; border: 0; cursor: pointer;
  font-family: var(--font-sans); position: relative;
}
.nav a.nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a.nav-link:hover::after, .nav a.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.site-header.is-solid .nav-link, .site-header.is-light .nav-link { color: var(--navy); }
.has-sub { position: relative; }
.has-sub > button::after { content: " ▾"; font-size: .7em; }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff; border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px; list-style: none; margin: 6px 0 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .92rem; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--sand-2); color: var(--ocean); }
.nav .btn { margin-left: 10px; padding: 11px 20px; font-size: .78rem; }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); cursor: pointer; position: relative; }
.site-header.is-solid .menu-toggle, .site-header.is-light .menu-toggle { background: var(--sand); }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { position: absolute; left: 13px; width: 20px; height: 2px; background: #fff; content: ""; transition: .3s; }
.menu-toggle span { top: 22px; }
.menu-toggle span::before { top: -6px; left: 0; } .menu-toggle span::after { top: 6px; left: 0; }
.site-header.is-solid .menu-toggle span, .site-header.is-solid .menu-toggle span::before, .site-header.is-solid .menu-toggle span::after,
.site-header.is-light .menu-toggle span, .site-header.is-light .menu-toggle span::before, .site-header.is-light .menu-toggle span::after { background: var(--navy); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--navy); color: #fff;
  display: flex; flex-direction: column; padding: 22px var(--gutter) 40px; overflow-y: auto;
  transform: translateX(100%); transition: transform .45s var(--ease); visibility: hidden;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.mobile-menu .top img { height: 26px; }
.mobile-menu .close { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; font-size: 26px; cursor: pointer; line-height: 1; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a { display: block; padding: 10px 0; font-family: var(--font-display); font-size: 2.1rem; letter-spacing: .04em; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu li a:hover, .mobile-menu li a[aria-current="page"] { color: var(--clay); }
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; }
.mobile-menu .socials { margin-top: auto; padding-top: 30px; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
}

/* ---------- Heroes ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  color: #fff; overflow: hidden; background: var(--navy);
  padding: calc(var(--header-h) + 40px) 0 80px;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(1,21,38,.92) 0%, rgba(1,21,38,.55) 38%, rgba(1,21,38,.1) 75%); }
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 13ch; }
.hero .lead { color: rgba(255,255,255,.85); max-width: 46ch; }
.hero-kicker { font-family: var(--font-display); font-size: clamp(1.1rem, 1.8vw, 1.4rem); letter-spacing: .18em; color: var(--clay); margin-bottom: 18px; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--soft); }

.page-hero {
  position: relative; color: #fff; background: var(--navy); overflow: hidden;
  padding: calc(var(--header-h) + clamp(70px, 12vw, 150px)) 0 clamp(64px, 9vw, 120px);
}
.page-hero .hero-media::after { background: linear-gradient(180deg, rgba(1,21,38,.55), rgba(1,21,38,.88)); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero .lead { color: rgba(255,255,255,.85); max-width: 52ch; }
.page-hero.center h1, .page-hero.center .lead { margin-left: auto; margin-right: auto; }
.page-hero .eyebrow { color: var(--soft); }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; color: #fff; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; opacity: .8; }
.scroll-cue i { width: 2px; height: 42px; background: linear-gradient(var(--clay), transparent); animation: drop 2.2s infinite var(--ease); transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.wide-left { grid-template-columns: 1.15fr .85fr; }
.split.wide-right { grid-template-columns: .85fr 1.15fr; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) {
  .split, .split.wide-left, .split.wide-right { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack { position: relative; padding: 0 0 40px 40px; }
.photo-stack .photo-b { position: absolute; left: 0; bottom: 0; width: 46%; border: 6px solid #fff; }
.photo-frame { position: relative; }
.photo-frame::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 2px solid var(--clay); border-radius: var(--radius-lg); z-index: -1; }
@media (max-width: 620px) { .photo-frame::before { inset: 14px -10px -14px 10px; } .photo-stack { padding: 0 0 30px 20px; } }

.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid var(--line); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .scroll-cue i { animation: none !important; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--clay); color: var(--navy); padding: 14px 0; white-space: nowrap; }
.marquee.navy { background: var(--navy); color: var(--sand); }
.marquee-track { display: inline-flex; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: .08em; padding: 0 22px; display: inline-flex; align-items: center; gap: 44px; }
.marquee span::after { content: "✦"; font-size: .55em; opacity: .7; }
.marquee a { color: inherit; text-decoration: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Home: conviction ---------- */
.big-quote { font-family: var(--font-serif); font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.22; color: var(--navy); font-weight: 500; }
.big-quote em { color: var(--ocean); }

/* ---------- Book feature ---------- */
.book-feature { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 40%, #0d4b74 0%, var(--navy) 60%); color: rgba(255,255,255,.85); }
.book-feature::before { content: ""; position: absolute; inset: 0; background: url("../img/book-library.jpg") center/cover; opacity: .06; mix-blend-mode: luminosity; }
.book-feature .wrap { position: relative; }
.book-feature h2, .on-dark h2, .on-dark h3 { color: #fff; }
.book-cover { width: 100%; max-width: 380px; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); transition: transform .6s var(--ease), filter .6s var(--ease); }
.book-cover:hover { transform: scale(1.03); filter: drop-shadow(0 40px 56px rgba(0,0,0,.6)); }
@media (prefers-reduced-motion: reduce) { .book-cover, .book-cover:hover { transition: none; transform: none; } }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 20px; height: 20px; border-radius: 50%; background: var(--clay) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011526' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.retail { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; font-size: .9rem; color: rgba(255,255,255,.6); }

/* ---------- Objects (common moments) ---------- */
.objects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .objects { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .objects { grid-template-columns: 1fr; } }
.object {
  position: relative; border-radius: var(--radius); padding: 26px 24px 24px; background: #fff; border: 1px solid var(--line);
  min-height: 250px; display: flex; flex-direction: column; text-align: left; cursor: pointer; font: inherit; color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s, background .35s, color .35s; overflow: hidden;
}
.object:hover, .object[aria-expanded="true"] { transform: translateY(-4px); box-shadow: var(--shadow); }
.object .num { font-family: var(--font-display); font-size: 1rem; letter-spacing: .14em; color: var(--sky); }
.object .icon { width: 44px; height: 44px; color: var(--clay); margin: 14px 0 12px; }
.object h3 { font-size: 1.35rem; margin-bottom: .3em; }
.object .tag { font-size: .85rem; color: var(--muted); margin: 0; }
.object .lesson { display: none; font-family: var(--font-serif); font-style: italic; font-size: 1.08rem; line-height: 1.5; margin: 0; color: #fff; }
.object .flip-hint { margin-top: auto; padding-top: 14px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ocean); }
.object[aria-expanded="true"] { background: var(--navy); border-color: var(--navy); }
.object[aria-expanded="true"] h3 { color: var(--clay); }
.object[aria-expanded="true"] .tag, .object[aria-expanded="true"] .icon { display: none; }
.object[aria-expanded="true"] .lesson { display: block; }
.object[aria-expanded="true"] .flip-hint { color: var(--soft); }
.object[aria-expanded="true"] .num { color: var(--soft); }

/* ---------- Journey: Crawl Walk Run Finish ---------- */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: step; }
.journey::before { content: ""; position: absolute; top: 40px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--soft), var(--clay)); }
.journey .step { text-align: center; padding: 0 16px; position: relative; }
.journey .dot { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: var(--navy); color: var(--clay); font-family: var(--font-display); font-size: 1.9rem; position: relative; box-shadow: 0 0 0 8px var(--sand-2); }
.journey h3 { font-family: var(--font-display); letter-spacing: .08em; font-weight: 400; font-size: 2rem; margin-bottom: .2em; }
.journey p { font-size: .95rem; color: var(--muted); }
@media (max-width: 800px) {
  .journey { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .journey::before { display: none; }
}

/* ---------- Endorsements ---------- */
.quotes { position: relative; }
.quote-slide { display: none; }
.quote-slide.active { display: block; animation: fadeUp .6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.quote-slide blockquote { margin: 0; font-family: var(--font-serif); font-size: clamp(1.25rem, 2.3vw, 1.75rem); line-height: 1.5; font-weight: 400; }
.quote-slide blockquote::before { content: "“"; display: block; font-size: 5rem; line-height: .6; color: var(--clay); margin-bottom: 10px; font-family: var(--font-serif); }
.quote-slide cite { display: block; margin-top: 22px; font-style: normal; }
.quote-slide cite strong { display: block; font-size: 1.05rem; }
.quote-slide cite span { font-size: .9rem; opacity: .75; }
.quote-nav { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.quote-nav button.arrow { width: 48px; height: 48px; border-radius: 50%; border: 2px solid currentColor; background: transparent; color: inherit; cursor: pointer; font-size: 1.1rem; transition: .25s; }
.quote-nav button.arrow:hover { background: var(--clay); border-color: var(--clay); color: var(--navy); }
.dots { display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: currentColor; opacity: .3; cursor: pointer; transition: .25s; }
.dots button.active { opacity: 1; width: 28px; border-radius: 6px; background: var(--clay); }

/* ---------- Reviews grid ---------- */
.reviews { columns: 3 320px; column-gap: 24px; }
.review { break-inside: avoid; margin: 0 0 24px; padding: 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.review .stars { color: var(--clay); letter-spacing: 3px; font-size: 1rem; margin-bottom: 10px; }
.review h3 { font-size: 1.15rem; }
.review p { font-size: .97rem; color: #33404c; }
.review footer { font-size: .85rem; color: var(--muted); font-weight: 600; }
.review footer span { font-weight: 400; display: block; }
.review.is-collapsed .more { display: none; }
.review .toggle { background: none; border: 0; padding: 0; color: var(--ocean); font-weight: 700; cursor: pointer; font-size: .9rem; margin-bottom: 14px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat .n { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 5.2rem); line-height: 1; color: var(--clay); }
.stat .l { font-size: .92rem; letter-spacing: .03em; color: rgba(255,255,255,.8); max-width: 20ch; margin: 8px auto 0; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 36px; } }

/* ---------- Media / video ---------- */
.video-thumb { position: relative; display: block; aspect-ratio: 16/9; background: var(--navy); border-radius: var(--radius); overflow: hidden; cursor: pointer; border: 0; padding: 0; width: 100%; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; opacity: .88; }
.video-thumb:hover img { transform: scale(1.04); opacity: 1; }
.video-thumb .play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--clay); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(237,160,95,.25); transition: transform .3s var(--ease); }
.video-thumb:hover .play { transform: scale(1.08); }
.video-thumb .play svg { width: 28px; height: 28px; margin-left: 4px; fill: var(--navy); }
.video-thumb .dur { position: absolute; right: 12px; bottom: 12px; background: rgba(1,21,38,.85); color: #fff; font-size: .75rem; padding: 3px 8px; border-radius: 6px; font-weight: 700; }
.video-card h3 { font-size: 1.2rem; margin: 18px 0 8px; }
.video-card p { font-size: .95rem; color: var(--muted); }
.video-feature { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: center; }
.video-feature .video-thumb .play { width: 96px; height: 96px; margin: -48px 0 0 -48px; }
@media (max-width: 900px) { .video-feature { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font-weight: 600; font-size: .88rem; cursor: pointer; font-family: inherit; transition: .2s; }
.chip:hover { border-color: var(--ocean); }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.tag-pill { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ocean); background: rgba(18,124,166,.1); padding: 4px 10px; border-radius: 999px; margin-right: 6px; }
.themes { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.themes li { font-size: .8rem; background: var(--sand-2); border-radius: 6px; padding: 4px 10px; color: var(--navy); }

.modal { position: fixed; inset: 0; z-index: 300; background: rgba(1,21,38,.92); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; animation: fadeIn .25s; }
@keyframes fadeIn { from { opacity: 0; } }
.modal-inner { width: min(1100px, 100%); position: relative; }
.modal-close { position: absolute; top: -54px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-size: 24px; cursor: pointer; line-height: 1; }
.modal .frame { aspect-ratio: 16/9; background: #000; border-radius: 12px; overflow: hidden; }
.modal .frame iframe { width: 100%; height: 100%; border: 0; }
.modal-panel { background: #fff; border-radius: var(--radius-lg); width: min(760px, 100%); max-height: 90vh; overflow: auto; padding: clamp(24px, 4vw, 44px); position: relative; }
.modal-panel .modal-close { top: 14px; right: 14px; background: var(--sand); }

/* ---------- Stories archive ---------- */
.archive-tools { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.search { position: relative; flex: 1 1 280px; max-width: 380px; }
.search input { width: 100%; padding: 14px 18px 14px 46px; border-radius: 999px; border: 1.5px solid var(--line); font: inherit; font-size: .95rem; background: #fff; }
.search input:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 4px rgba(18,124,166,.12); }
.search svg { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 960px) { .story-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .story-grid { grid-template-columns: 1fr; } }
.story-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.story-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: inherit; }
.story-card .img { aspect-ratio: 4/3; overflow: hidden; background: var(--sand); position: relative; }
.story-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.story-card:hover .img img { transform: scale(1.05); }
.story-card .img.placeholder { display: grid; place-items: center; background: linear-gradient(135deg, var(--ocean), var(--navy)); }
.story-card .img.placeholder span { font-family: var(--font-serif); font-style: italic; color: rgba(255,255,255,.9); font-size: 1.6rem; padding: 24px; text-align: center; line-height: 1.3; }
.story-card .body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.story-card .meta { font-size: .8rem; color: var(--muted); margin-bottom: 10px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.story-card h3 { font-size: 1.4rem; margin-bottom: .4em; }
.story-card p { font-size: .97rem; color: #3b4753; flex: 1; }
.story-card.featured { grid-column: 1 / -1; flex-direction: row; }
.story-card.featured .img { flex: 1.2; aspect-ratio: auto; min-height: 380px; }
.story-card.featured .body { flex: 1; padding: clamp(28px, 4vw, 52px); justify-content: center; }
.story-card.featured h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
@media (max-width: 760px) { .story-card.featured { flex-direction: column; } .story-card.featured .img { min-height: 240px; } }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); display: none; }
.coming-soon { border: 2px dashed rgba(11,91,140,.3); background: transparent; display: flex; align-items: center; justify-content: center; text-align: center; padding: 32px; min-height: 260px; border-radius: var(--radius); }
.coming-soon h3 { font-size: 1.3rem; }

/* ---------- Article ---------- */
.article-hero { padding: calc(var(--header-h) + 64px) 0 40px; background: var(--sand-2); }
.article-hero .meta { color: var(--muted); font-size: .92rem; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.article-hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); max-width: 18ch; }
.breadcrumb { font-size: .85rem; margin-bottom: 22px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ocean); }
.article-cover { margin-top: -10px; }
.article-cover img { border-radius: var(--radius-lg); width: 100%; max-height: 640px; object-fit: cover; box-shadow: var(--shadow); }
.prose { font-size: 1.15rem; line-height: 1.85; color: #25313c; }
.prose > p:first-of-type::first-letter { font-family: var(--font-serif); float: left; font-size: 4.6em; line-height: .82; padding: 8px 12px 0 0; color: var(--ocean); font-weight: 600; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 1.8em; }
.prose figure { margin: 2.2em 0; }
.prose figure img { border-radius: var(--radius); width: 100%; }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; text-align: center; }
.prose blockquote, .pull { margin: 2em 0; padding: 6px 0 6px 28px; border-left: 4px solid var(--clay); font-family: var(--font-serif); font-size: 1.45rem; line-height: 1.45; color: var(--navy); font-style: italic; }
.prose .short { font-family: var(--font-serif); font-size: 1.35rem; color: var(--navy); }
.so-what { background: var(--navy); color: rgba(255,255,255,.88); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); margin: 2.4em 0; }
.so-what h2 { color: var(--clay); margin-top: 0; font-family: var(--font-display); letter-spacing: .06em; font-weight: 400; font-size: 2.2rem; }
.so-what p:last-child { margin-bottom: 0; }
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 3em 0; font-weight: 700; font-size: .9rem; }
.share a, .share button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--sand-2); color: var(--navy); border: 0; cursor: pointer; transition: .2s; }
.share a:hover, .share button:hover { background: var(--navy); color: #fff; }
.share svg { width: 18px; height: 18px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pager a { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); transition: .25s; }
.pager a:hover { border-color: var(--ocean); background: var(--sand-2); }
.pager small { display: block; color: var(--muted); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 4px; }
.pager strong { font-family: var(--font-serif); font-size: 1.15rem; }
.pager .next { text-align: right; grid-column: 2; }
@media (max-width: 620px) { .pager { grid-template-columns: 1fr; } .pager .next { grid-column: auto; } }

/* ---------- Events ---------- */
.event { display: grid; grid-template-columns: 110px 1fr auto; gap: 28px; align-items: center; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 18px; transition: .3s var(--ease); }
.event:hover { box-shadow: var(--shadow-sm); border-color: rgba(11,91,140,.3); }
.event .date { text-align: center; background: var(--navy); color: #fff; border-radius: 12px; padding: 14px 8px; }
.event .date .m { font-family: var(--font-display); letter-spacing: .14em; color: var(--clay); font-size: 1.1rem; display: block; }
.event .date .d { font-family: var(--font-display); font-size: 2.8rem; line-height: 1; display: block; }
.event .date .w { font-size: .75rem; opacity: .7; text-transform: uppercase; letter-spacing: .1em; }
.event h3 { font-size: 1.35rem; margin-bottom: 6px; }
.event .where, .event .when { font-size: .92rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; margin-bottom: 2px; }
.event .where svg, .event .when svg { width: 16px; height: 16px; margin-top: 4px; flex: none; color: var(--sky); }
.event .desc { font-size: .95rem; margin: 10px 0 0; color: #3b4753; }
.event .actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.event.past { opacity: .72; }
.event.past .date { background: var(--muted); }
@media (max-width: 760px) {
  .event { grid-template-columns: 84px 1fr; gap: 18px; padding: 20px; }
  .event .actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .event .date .d { font-size: 2.2rem; }
}
.month-label { font-family: var(--font-display); letter-spacing: .12em; font-size: 1.5rem; color: var(--ocean); margin: 36px 0 14px; }
.month-label:first-child { margin-top: 0; }
.mini-events .event { grid-template-columns: 84px 1fr; padding: 18px; }
.mini-events .event .actions { display: none; }
.mini-events .event .date .d { font-size: 2.1rem; }
.mini-events .event h3 { font-size: 1.15rem; }
.mini-events .desc { display: none; }

/* ---------- Ministries ---------- */
.ministry { display: grid; grid-template-columns: 300px 1fr; gap: 0; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); margin-bottom: 26px; }
.ministry .logo { background: var(--sand-2); display: grid; place-items: center; min-height: 220px; padding: 18px; }
.ministry .logo img { width: 100%; height: 100%; max-height: 260px; object-fit: contain; }
.ministry .body { padding: clamp(26px, 4vw, 44px); }
.ministry h3 { font-size: 1.7rem; }
@media (min-width: 761px) { .ministry.flip { grid-template-columns: 1fr 300px; } .ministry.flip .logo { order: 2; } }
@media (max-width: 760px) { .ministry { grid-template-columns: 1fr; } .ministry .logo { min-height: 180px; } }

/* ---------- Next steps: guide ---------- */
.guide { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.guide-head { background: var(--navy); color: #fff; padding: clamp(28px, 4vw, 44px); }
.guide-head h2 { color: #fff; margin-bottom: .25em; }
.guide-head p { margin: 0; color: rgba(255,255,255,.75); }
.progress { display: flex; gap: 6px; margin-top: 22px; }
.progress i { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.18); transition: background .4s; }
.progress i.on { background: var(--clay); }
.guide-body { padding: clamp(26px, 4vw, 48px); min-height: 360px; }
.guide-step { display: none; animation: fadeUp .5s var(--ease); }
.guide-step.active { display: block; }
.guide-step h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
@media (max-width: 640px) { .choices { grid-template-columns: 1fr; } }
.choice { text-align: left; padding: 22px; border-radius: var(--radius); border: 2px solid var(--line); background: var(--sand-2); cursor: pointer; font: inherit; color: var(--navy); transition: .25s var(--ease); display: flex; gap: 16px; align-items: flex-start; }
.choice:hover { border-color: var(--ocean); background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.choice .ico { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--navy); color: var(--clay); display: grid; place-items: center; }
.choice .ico svg { width: 22px; height: 22px; }
.choice strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.choice span { font-size: .9rem; color: var(--muted); line-height: 1.5; display: block; }
.truths { counter-reset: t; list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 14px; }
.truths li { counter-increment: t; position: relative; padding: 20px 22px 20px 78px; background: var(--sand-2); border-radius: var(--radius); }
.truths li::before { content: counter(t); position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: var(--clay); color: var(--navy); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.5rem; }
.truths strong { display: block; font-family: var(--font-serif); font-size: 1.2rem; color: var(--navy); }
.truths span { font-size: .93rem; color: var(--muted); }
.prayer { background: linear-gradient(135deg, var(--navy), #0b3352); color: rgba(255,255,255,.92); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); font-family: var(--font-serif); font-size: 1.12rem; line-height: 1.75; font-style: italic; position: relative; margin: 20px 0 26px; }
.prayer p:last-child { margin: 0; }
.prayer .label { font-family: var(--font-display); font-style: normal; letter-spacing: .16em; color: var(--clay); font-size: 1rem; display: block; margin-bottom: 12px; }
.guide-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.back-btn { background: none; border: 0; color: var(--muted); font-weight: 700; cursor: pointer; font: inherit; font-size: .92rem; padding: 8px 0; }
.back-btn:hover { color: var(--navy); }
.checkboxes { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; }
.checkboxes label { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); border: 1.5px solid var(--line); cursor: pointer; transition: .2s; }
.checkboxes label:hover { border-color: var(--ocean); }
.checkboxes input { width: 22px; height: 22px; accent-color: var(--ocean); flex: none; margin-top: 3px; }
.checkboxes strong { display: block; color: var(--navy); }
.checkboxes span { font-size: .93rem; color: var(--muted); display: block; }
.checkboxes input:checked + div strong { text-decoration: line-through; text-decoration-color: var(--clay); text-decoration-thickness: 2px; }
.callout { padding: 22px 24px; border-radius: var(--radius); background: rgba(18,124,166,.08); border-left: 4px solid var(--sky); }
.callout p:last-child { margin: 0; }

/* ---------- Podcast ---------- */
.listen-row { display: flex; flex-wrap: wrap; gap: 12px; }
.platform { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; text-decoration: none; font-weight: 600; border: 1px solid rgba(255,255,255,.18); transition: .2s; }
.platform:hover { background: #fff; color: var(--navy); }
.platform svg { width: 20px; height: 20px; }
.embed-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.embed-frame iframe { width: 100%; border: 0; }

/* ---------- Forms ---------- */
.form-shell { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(14px, 2vw, 22px); border: 1px solid var(--line); }
.form-shell iframe { width: 100%; min-height: 850px; border: 0; }
.req-form { display: grid; gap: 16px; margin-top: 22px; }
.req-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.req-form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--navy); }
.req-form .req { color: var(--clay-dark); }
.req-form input, .req-form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink); background: #fff; }
.req-form textarea { resize: vertical; }
.req-form input:focus, .req-form textarea:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 4px rgba(18,124,166,.12); }
.req-form .is-invalid { border-color: #c0392b; background: #fff7f6; }
.req-form .check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.req-form .check input { width: 20px; height: 20px; accent-color: var(--ocean); flex: none; }
.req-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req-form .btn { justify-self: start; }
.req-form .btn:disabled { opacity: .6; cursor: wait; transform: none; }
.req-form .fine { font-size: .82rem; color: var(--muted); margin: 0; }
.req-form .ts-box:not(:empty) { min-height: 65px; }
.form-msg { margin: 0; font-weight: 600; min-height: 1em; }
.form-msg.is-error { color: #c0392b; }
.form-done { padding: 28px; border-radius: var(--radius); background: var(--sand-2); text-align: center; }
@media (max-width: 600px) { .req-form .row-2 { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--sand-2); text-decoration: none; color: inherit; transition: .25s; }
a.contact-card:hover { background: var(--sand); color: inherit; }
.contact-card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--clay); display: grid; place-items: center; flex: none; }
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card strong { display: block; color: var(--navy); }
.contact-card span { font-size: .93rem; color: var(--muted); }

/* ---------- Speaking ---------- */
.topic { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); height: 100%; transition: .35s var(--ease); position: relative; overflow: hidden; }
.topic::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.topic:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.topic:hover::before { transform: scaleX(1); }
.topic .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--sand); color: var(--ocean); display: grid; place-items: center; margin-bottom: 18px; }
.topic .ico svg { width: 26px; height: 26px; }
.topic h3 { font-size: 1.35rem; }
.topic p { font-size: .97rem; color: #3b4753; margin: 0; }
.worlds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; }
.worlds div { padding: 34px 28px; background: rgba(255,255,255,.06); border-right: 1px solid rgba(255,255,255,.1); }
.worlds div:last-child { border-right: 0; }
.worlds .n { font-family: var(--font-display); font-size: 3.6rem; color: var(--clay); line-height: 1; }
.worlds h3 { margin: 10px 0 6px; font-size: 1.3rem; }
.worlds p { font-size: .93rem; margin: 0; color: rgba(255,255,255,.72); }
@media (max-width: 760px) { .worlds { grid-template-columns: 1fr; } .worlds div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy); color: #fff; padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(237,160,95,.35), transparent); }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,.78); position: relative; }
.cta-band .btn-row { position: relative; justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 80px 0 30px; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--clay) 0 33%, var(--sky) 33% 66%, var(--soft) 66%); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.4fr; gap: 40px; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer img.flogo { height: 28px; width: auto; margin-bottom: 20px; }
.site-footer h4 { color: #fff; font-family: var(--font-display); font-weight: 400; letter-spacing: .14em; font-size: 1.15rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: var(--clay); }
.site-footer .tagline { font-family: var(--font-serif); font-style: italic; color: rgba(255,255,255,.85); font-size: 1.1rem; line-height: 1.5; }
.footer-book { display: flex; gap: 16px; align-items: center; }
.footer-book img { width: 74px; flex: none; filter: drop-shadow(0 10px 14px rgba(0,0,0,.5)); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: .25s; }
.socials a:hover { background: var(--clay); color: var(--navy); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.socials.dark a { background: var(--sand); color: var(--navy); }
.socials.dark a:hover { background: var(--navy); color: #fff; }

/* ---------- Misc ---------- */
.signature { font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--ocean); }
.divider-quote { text-align: center; max-width: 900px; margin: 0 auto; }
.divider-quote p { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.35; color: var(--navy); font-style: italic; }
.divider-quote cite { font-style: normal; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: var(--sky); }
.bg-navy .divider-quote p { color: #fff; }
.mini-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.pill-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: .82rem; font-weight: 600; margin-bottom: 22px; border: 1px solid rgba(255,255,255,.18); }
.pill-badge b { background: var(--clay); color: var(--navy); border-radius: 999px; padding: 2px 10px; font-size: .72rem; letter-spacing: .08em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 140%); background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: .9rem; font-weight: 600; z-index: 400; transition: transform .35s var(--ease); }
.toast.show { transform: translate(-50%, 0); }

/* ---------- Small-screen refinements ---------- */
@media (max-width: 620px) {
  .hero-kicker { letter-spacing: .1em; font-size: 1rem; }
  .book-cover { max-width: 240px !important; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero-media img { object-position: 62% center; }
  .event .date { align-self: start; }
}

/* Footer book button: keep on one line, navy text like every other clay button */
.site-footer a.btn { color: var(--navy); }
.site-footer a.btn:hover { color: var(--navy); }
.footer-book .btn { white-space: nowrap; font-size: .72rem; padding: 10px 16px; letter-spacing: .05em; }
.footer-book img { width: 64px; }

/* Home hero on phones and portrait tablets: photo on top (face clear), text below on navy */
@media (max-width: 760px), (max-width: 1100px) and (orientation: portrait) {
  .hero-home { display: block; min-height: 0; padding: 0 0 64px; }
  .hero-home .hero-media { position: relative; height: 58svh; min-height: 360px; max-height: 640px; }
  .hero-home .hero-media img { object-position: 50% 15%; }
  .hero-home .hero-media::after {
    background: linear-gradient(180deg, rgba(1,21,38,.55) 0%, rgba(1,21,38,0) 22%, rgba(1,21,38,0) 55%, rgba(1,21,38,.85) 85%, var(--navy) 100%);
  }
  .hero-home .wrap { margin-top: -72px; }
  .hero-home .scroll-cue { display: none; }
}

/* Book page hero: book photo on the left, text on the right */
.hero-book { min-height: 92vh; }
.hero-book .wrap { display: flex; justify-content: flex-end; }
.hero-book-text { max-width: 560px; }
@media (min-width: 761px) and (max-width: 1199px) {
  .hero-book .hero-media img { object-position: 92% center; }
  .hero-book-text { max-width: 460px; }
}
.hero-book .hero-media img { object-position: 75% center; }
.hero-book .hero-media::after { background: linear-gradient(270deg, rgba(1,21,38,.94) 0%, rgba(1,21,38,.75) 40%, rgba(1,21,38,.15) 80%); }

/* Book hero on phones and portrait tablets: book on top, text below on navy */
@media (max-width: 760px), (max-width: 1100px) and (orientation: portrait) {
  .hero-book { display: block; min-height: 0; padding: 0 0 64px; }
  .hero-book .hero-media { position: relative; height: 52svh; min-height: 340px; max-height: 600px; }
  .hero-book .hero-media img { object-position: 18% center; }
  .hero-book .hero-media::after {
    background: linear-gradient(180deg, rgba(1,21,38,.55) 0%, rgba(1,21,38,0) 22%, rgba(1,21,38,0) 62%, rgba(1,21,38,.85) 88%, var(--navy) 100%);
  }
  .hero-book .wrap { margin-top: -48px; justify-content: flex-start; }
}

/* Hero text legibility over the photo: soft navy halo, invisible on solid navy */
.hero h1, .hero .lead, .hero-kicker { text-shadow: 0 1px 2px rgba(1,21,38,.55), 0 2px 18px rgba(1,21,38,.55); }
.hero .lead { color: rgba(255,255,255,.92); }
