/* ==========================================================================
   Lead Anyway — main stylesheet
   Palette taken from the book cover: teal, dark forest green, torn paper
   cream. Body content stays light and airy; teal/forest are reserved for
   the hero, dividers and accents.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Libre+Franklin:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,500;0,8..60,600;1,8..60,400&display=swap');

:root {
  /* Cover palette */
  --teal: #2b8c86;
  --teal-dark: #1d6b66;
  --teal-darker: #164f4c;
  --forest: #16302b;
  --forest-deep: #0e211d;
  --paper: #e6dac6;
  --paper-dark: #d3c3a6;

  /* Editorial neutrals */
  --cream: #fbfaf7;
  --cream-deep: #f1eee6;
  --mist: #e2e6e5;
  --white: #ffffff;
  --ink: #1b201e;
  --ink-soft: #4a534f;
  --ink-faint: #77807b;
  --line: #e1dacb;

  /* Utility */
  --gold: #dd8c54;
  --gold-hover: #e49d6b;
  --amber-bg: #fdf3e2;
  --amber-border: #e0a340;
  --amber-text: #7a4c0f;

  /* Type */
  --font-display: 'Permanent Marker', cursive;
  --font-head: 'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Source Serif 4', Georgia, 'Times New Roman', serif;

  /* Layout */
  --max-width: 1180px;
  --radius: 14px;
  --shadow-soft: 0 10px 30px -14px rgba(22, 48, 43, 0.35);
  --shadow-card: 0 4px 18px -6px rgba(22, 48, 43, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Very subtle grain across the whole page, to take the edge off flat
   digital colour fields. Pure CSS/SVG, no image asset. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--forest);
}

p {
  margin: 0 0 1em;
}

ul, ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 640px) {
  .container { padding: 0 2rem; }
}

section {
  padding: 4rem 0;
}

@media (min-width: 900px) {
  section { padding: 6rem 0; }
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 0.75rem;
}

.section-head {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--forest);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  border-radius: 0 0 8px 0;
  font-family: var(--font-head);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  line-height: 1.2;
}

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

.btn-primary {
  background: var(--gold);
  color: var(--forest-deep);
  box-shadow: 0 8px 20px -8px rgba(221, 140, 84, 0.5);
}

.btn-primary:hover {
  background: var(--gold-hover);
}

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--forest);
}

.btn-outline:hover {
  background: var(--forest);
  color: var(--white);
}

.btn-on-dark {
  border-color: var(--white);
  color: var(--white);
}

.btn-on-dark:hover {
  background: var(--white);
  color: var(--forest);
}

.btn-white {
  background: var(--white);
  border-color: var(--white);
  color: var(--forest-deep);
}

.btn-white:hover {
  background: var(--paper);
  border-color: var(--paper);
}

.btn-block {
  width: 100%;
}

.btn[aria-disabled="true"],
.btn.is-comingsoon {
  opacity: 0.92;
  cursor: pointer;
}

.btn-small {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.badge-soon {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--amber-bg);
  color: var(--amber-text);
  border: 1px solid var(--amber-border);
  padding: 0.15em 0.6em;
  border-radius: 999px;
  margin-left: 0.5em;
  vertical-align: middle;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--forest);
  letter-spacing: 0.02em;
}

.brand img {
  height: 34px;
  width: auto;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid var(--forest);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle svg { width: 20px; height: 20px; }

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.75rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-bottom-color: var(--gold);
}

.mobile-panel {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-head);
  font-weight: 600;
}

.mobile-panel.is-open {
  display: flex;
}

.mobile-panel a {
  text-decoration: none;
  color: var(--ink);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.mobile-panel .btn {
  margin-top: 0.75rem;
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .mobile-panel { display: none !important; }
  .nav-links { display: flex; align-items: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 140% at 15% -10%, var(--teal) 0%, var(--teal-dark) 45%, var(--teal-darker) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 1.75rem 0;
}

@media (min-width: 900px) {
  .hero { padding: 3rem 0; }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.06) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,0.12) 0, transparent 45%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.hero-cover {
  order: -1;
  text-align: center;
}

@media (min-width: 900px) {
  .hero-grid { gap: 3rem; }
  .hero-cover { order: 2; }
}

/* .cover-video__frame (css/hero-cover-video.css) carries the equivalent
   170px / 220px / 100% responsive sizing that used to live on
   .hero-cover img, now scoped to the cover video component. */

.hero-eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--paper);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--white);
  font-size: clamp(3rem, 10vw, 5.5rem);
  line-height: 0.95;
  margin-bottom: 0.6rem;
  text-shadow: 0 6px 24px rgba(0,0,0,0.25);
}

.hero-premise {
  font-size: 1.2rem;
  max-width: 46ch;
  color: var(--cream);
  margin-bottom: 1.75rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 2rem;
  font-family: var(--font-head);
  font-weight: 600;
}

.hero-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 0.5em 1em;
  border-radius: 999px;
  font-size: 0.9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-publisher {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--paper);
  font-family: var(--font-head);
  letter-spacing: 0.03em;
}

/* Torn-paper silhouette at the hero's bottom edge. The element is sized to
   its own fixed height (not the hero's full variable height), so the SVG
   mask's jagged detail scales with that height alone and stays restrained
   at every breakpoint. It paints the book section's exact cream in the
   torn shape on top of the hero's existing background — visually
   identical to cutting a hole through to the section behind, since both
   are the same flat --cream, without needing the hero box itself to
   change size or overlap its sibling. */
.hero-tear {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: clamp(24px, 2.5vw, 44px);
  display: block;
  background: var(--cream);
  -webkit-mask-image: url("../images/hero-tear.svg");
  mask-image: url("../images/hero-tear.svg");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  pointer-events: none;
}

/* Faint contact shadow cast by the torn edge onto the section below it.
   Reuses the tear's own irregularity signature (rebaselined/damped) as
   its mask, so the shadow's upper edge is softly uneven like the tear
   rather than a straight gradient band, then fades to nothing within
   its own height. */
#the-book {
  position: relative;
}

#the-book::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: clamp(14px, 1.6vw, 26px);
  background: linear-gradient(to bottom, rgba(232, 229, 223, 0.16), rgba(232, 229, 223, 0));
  -webkit-mask-image: url("../images/hero-tear-shadow.svg");
  mask-image: url("../images/hero-tear-shadow.svg");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: top;
  mask-position: top;
  pointer-events: none;
}

/* ---------- Endorsements (editorial pull-quotes) ---------- */
.endorsements {
  background: var(--cream-deep);
}

.endorsement-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 760px) {
  .endorsement-grid { grid-template-columns: 1.3fr 1fr; gap: 3rem; }
}

.endorsement-pullquote {
  position: relative;
  padding-top: 1.5rem;
}

.endorsement-pullquote::before {
  content: "\201C";
  position: absolute;
  top: -1.5rem;
  left: -0.1rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-style: normal;
  font-size: 6rem;
  line-height: 1;
  color: rgba(22, 48, 43, 0.12);
}

.endorsement-pullquote .endorsement-quote {
  font-style: italic;
  color: var(--forest);
  margin-bottom: 1.25rem;
  quotes: none;
}

.endorsement-pullquote--primary .endorsement-quote {
  font-size: 1.55rem;
  line-height: 1.35;
}

.endorsement-pullquote--secondary {
  padding-top: 4.5rem;
}

@media (min-width: 760px) {
  .endorsement-pullquote--secondary { padding-top: 5.5rem; }
}

.endorsement-pullquote--secondary .endorsement-quote {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.endorsement-attribution {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--forest);
}

.endorsement-attribution span {
  display: block;
  font-weight: 500;
  color: var(--ink-faint);
  font-size: 0.85rem;
  margin-top: 0.15rem;
}

/* ---------- Premise ---------- */
.premise-wrap {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .premise-wrap { grid-template-columns: 1fr 1fr; align-items: start; }
}

.premise-points {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.premise-point {
  display: flex;
  gap: 0.9rem;
}

.premise-point .dot {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
}

/* ---------- Fit check (for you / not for you) ---------- */
.fit-grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.fit-column h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.fit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.fit-list li {
  display: flex;
  gap: 0.6em;
  color: var(--ink-soft);
}

.fit-list li::before {
  flex: none;
  font-weight: 800;
}

.fit-list--yes li::before {
  content: "\2713";
  color: var(--teal-dark);
}

/* ---------- TODO / placeholder block ---------- */
.todo-block {
  background: var(--amber-bg);
  border: 1.5px dashed var(--amber-border);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  font-family: var(--font-head);
  font-size: 0.92rem;
  color: var(--amber-text);
}

.todo-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--amber-text);
  margin-bottom: 0.5em;
}

.todo-label::before {
  content: "\270E";
}

.todo-block p {
  margin: 0 0 0.5em;
  font-family: var(--font-body);
  color: var(--ink);
}

.todo-block p:last-child {
  margin-bottom: 0;
}

.todo-block .todo-note {
  font-family: var(--font-head);
  font-size: 0.82rem;
  color: var(--amber-text);
  margin-top: 0.5em;
}

.todo-block--compact {
  max-width: 46ch;
  padding: 0.9rem 1.1rem;
}

.form-success.form-success--on-dark {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

/* ---------- Rules ---------- */
.rules-band {
  background: var(--forest);
  color: var(--cream);
  position: relative;
}

.rules-band .section-head h2 { color: var(--white); }
.rules-band .lede { color: var(--paper); }
.rules-band .eyebrow { color: var(--paper); }

.rules-part {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 2rem 0 0.75rem;
}

.rules-part:first-of-type {
  margin-top: 0.5rem;
}

.rules-list {
  display: grid;
  gap: 1rem;
  align-items: start;
}

@media (min-width: 700px) {
  .rules-list { grid-template-columns: repeat(2, 1fr); }
}

.rule-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
}

.rule-card .rule-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  flex: none;
  width: 2ch;
}

.rule-card h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.rule-card p {
  color: var(--paper);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Breathing line (closing coda inside .rules-band) ---------- */
.rules-band__quote.breathing-line {
  text-align: center;
  margin-top: 5.5rem;
}

@media (min-width: 900px) {
  .rules-band__quote.breathing-line { margin-top: 7.5rem; }
}

.breathing-line {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.25;
  color: var(--white);
  max-width: 20ch;
  margin: 0 auto;
}

/* ---------- Anyway community ---------- */
.community-section {
  background: var(--cream);
  text-align: center;
}

.community-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
}

@media (min-width: 800px) {
  .community-banner { min-height: 460px; align-items: center; }
}

.community-banner__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.community-banner__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(14, 33, 29, 0.92) 0%, rgba(14, 33, 29, 0.75) 45%, rgba(14, 33, 29, 0.1) 100%);
}

@media (min-width: 800px) {
  .community-banner__scrim {
    background: linear-gradient(90deg, rgba(14, 33, 29, 0.92) 0%, rgba(14, 33, 29, 0.7) 42%, rgba(14, 33, 29, 0.05) 75%);
  }
}

.community-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  text-align: left;
  max-width: 480px;
  padding: 2.5rem 2rem;
}

@media (min-width: 800px) {
  .community-banner__content { padding: 3.5rem 3.5rem; max-width: 560px; }
}

.community-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--paper);
  margin-bottom: 0;
}

.community-banner__eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  flex: none;
}

.community-banner h2 {
  color: var(--white);
  margin: 0;
}

.community-banner__desc {
  color: var(--cream);
  margin: 0;
  max-width: 40ch;
}

.community-banner__note {
  color: var(--paper);
  opacity: 0.8;
  font-size: 0.85rem;
  margin: 0;
}

/* ---------- Excerpt gate ---------- */
.excerpt-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: grid;
}

@media (min-width: 860px) {
  .excerpt-card { grid-template-columns: 1fr 1fr; }
}

.excerpt-copy {
  padding: 2.25rem;
}

.excerpt-teaser {
  font-size: 1.05rem;
}

.excerpt-full {
  position: relative;
  padding: 2.25rem;
  background: var(--mist);
  border-left: 1px solid var(--line);
  min-height: 320px;
}

@media (max-width: 859px) {
  .excerpt-full { border-left: none; border-top: 1px solid var(--line); }
}

.excerpt-locked .excerpt-full-text {
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
}

.excerpt-lockscreen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  gap: 0.75rem;
  background: rgba(250, 246, 238, 0.72);
}

.excerpt-unlocked .excerpt-lockscreen {
  display: none;
}

.excerpt-unlocked .excerpt-full-text {
  filter: none;
  user-select: auto;
  pointer-events: auto;
}

.excerpt-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
  max-width: 320px;
}

.excerpt-lock-icon {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--teal-dark);
}

/* Full excerpt text, revealed below the card once the email gate unlocks. */
.excerpt-unlocked-content {
  max-width: 68ch;
  margin: 2rem auto 0;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.excerpt-unlocked-content h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.excerpt-unlocked-content .excerpt-epigraph {
  font-style: italic;
  color: var(--ink-soft);
  border-left: 3px solid var(--teal);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

.excerpt-unlocked-content p + p {
  margin-top: 1.1rem;
}

/* ---------- Forms / newsletter ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}

.field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
}

.field input {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.field input:focus-visible {
  border-color: var(--teal);
}

.form-note {
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin-top: 0.4rem;
}

.form-success {
  display: none;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--teal-darker);
  background: #e7f4f1;
  border: 1px solid var(--teal);
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

.form-success.is-visible { display: flex; }

.newsletter-section {
  background: var(--teal);
  color: var(--white);
}

.newsletter-wrap {
  text-align: center;
}

.newsletter-message {
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.newsletter-section h2 {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  line-height: 1.05;
}

.newsletter-section .eyebrow { color: var(--paper); }

.newsletter-section .lede {
  color: var(--cream);
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form-wrap {
  max-width: 380px;
  margin: 0 auto;
  text-align: left;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 1.25rem;
  border-radius: var(--radius);
}

.newsletter-form .field label { color: var(--white); }
.newsletter-form .form-note { color: var(--paper); }

/* ---------- Author bio ---------- */
.bio-wrap {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .bio-wrap { grid-template-columns: 280px 1fr; }
}

.bio-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.credential-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.credential-pill {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  background: var(--cream-deep);
  border: 1px solid var(--line);
  color: var(--forest);
  padding: 0.4em 0.9em;
  border-radius: 999px;
}

/* ---------- Buy links ---------- */
.buy-panel {
  max-width: 640px;
}

.buy-grid {
  display: flex;
  flex-direction: column;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.buy-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.15rem 0.25rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.buy-link:hover {
  opacity: 0.7;
}

.buy-link__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--forest);
}

.buy-link__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--teal-dark);
}

.buy-link__cta .arrow {
  transition: transform 0.15s ease;
}

.buy-link:hover .buy-link__cta .arrow {
  transform: translateX(3px);
}

.buy-link.is-comingsoon {
  cursor: pointer;
}

.buy-live-note,
.buy-soon-note {
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-top: 1.25rem;
}

/* ---------- Speaking ---------- */
.speaking-section {
  background: var(--forest-deep);
  color: var(--cream);
}

.speaking-section h1, .speaking-section h2 { color: var(--white); }
.speaking-section .eyebrow { color: var(--paper); }
.speaking-section .lede { color: var(--paper); }

.speaking-wrap {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .speaking-wrap { grid-template-columns: 1fr 1fr; }
}

.speaking-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.speaking-topics {
  padding-top: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.topic-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 700px) {
  .topic-list { grid-template-columns: repeat(2, 1fr); }
}

.topic-list li {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
}

.topic-list li h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  margin: 0 0 0.35rem;
}

.topic-list li p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--paper);
  line-height: 1.5;
}

.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.25rem 0 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stat-item strong {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
}

.stat-item span {
  font-size: 0.78rem;
  color: var(--paper);
}

/* ---------- Cards / generic ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.75rem;
}

.two-col {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .two-col { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.3rem 1.25rem;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  padding: 1.1rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--teal-dark);
  flex: none;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item .faq-answer {
  padding-bottom: 1.25rem;
  color: var(--ink-soft);
}

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--teal-dark), var(--forest));
  color: var(--white);
  padding: 3.5rem 0 3.5rem;
}

.page-hero h1 {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
}

.page-hero .lede { color: var(--cream); max-width: 60ch; }
.page-hero .eyebrow { color: var(--paper); }

/* ---------- Download list (press kit) ---------- */
.asset-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 2rem;
}

.asset-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.asset-thumb {
  background: var(--cream-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  min-height: 200px;
}

.asset-thumb img {
  max-height: 220px;
}

.asset-meta {
  padding: 1.1rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.asset-meta h3 {
  font-size: 1rem;
  margin: 0;
}

.asset-meta p {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin: 0;
}

/* ---------- Photo gallery (press kit) ---------- */
.photo-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
}

@media (max-width: 480px) {
  .photo-gallery { gap: 0.5rem; }
}

.photo-gallery-item {
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  aspect-ratio: 4 / 5;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.photo-gallery-item:hover,
.photo-gallery-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.photo-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Category-tile label overlay: identifies what each of the three tiles
   is (cover art / headshots / speaking) and hints there's more than one
   version behind it. */
.photo-gallery-item__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.9rem 1rem 0.75rem;
  background: linear-gradient(to top, rgba(14, 33, 29, 0.85), rgba(14, 33, 29, 0));
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: left;
}

.photo-gallery-item__label span {
  display: block;
  font-weight: 500;
  font-size: 0.75rem;
  opacity: 0.85;
  margin-top: 0.15rem;
}

/* ---------- Photo lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 33, 29, 0.92);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: min(90vw, 900px);
  max-height: 90vh;
  padding: 1rem;
}

.lightbox-image {
  max-width: 100%;
  max-height: 70vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.lightbox-close {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--paper);
  font-size: 0.85rem;
  text-align: center;
}

@media (max-width: 640px) {
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

.feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  gap: 0.6em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
}

.feature-list li::before {
  content: "\2713";
  color: var(--teal-dark);
  font-weight: 800;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-deep);
  color: var(--paper);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
}

.footer-bio {
  font-size: 0.92rem;
  color: var(--paper);
  max-width: 40ch;
}

.footer-heading {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.9rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
  font-size: 0.92rem;
}

.footer-links a {
  color: var(--paper);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-legal {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  font-size: 0.82rem;
}

.footer-legal a {
  color: rgba(230, 218, 198, 0.7);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 0.8rem;
  color: rgba(230, 218, 198, 0.7);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
