:root {
  --s-stoic: #3B6B38;
  --o-observe: #E35A45;
  --b-behavior: #2C4FB8;
  --e-execute: #E2C13A;
  --r-restore: #7A3AA8;
  --foc-teal: #2A9A9A;
  --ink: #1B2437;
  --ink-soft: #3A4458;
  --paper: #F7F4EF;
  --paper-card: #FFFFFF;
  --line: #E4DDD3;
  --btn-primary: #5B3D9A;
  --btn-primary-hover: #472F7A;
  --btn-dark: #2F2A6B;
  --btn-dark-hover: #241F54;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1120px;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, li { overflow-wrap: break-word; }
a { color: var(--btn-primary); text-underline-offset: 3px; }
a:hover { color: var(--btn-primary-hover); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--btn-primary);
  margin: 0 0 0.7rem;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
p { margin: 0 0 1em; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

.sw-s { color: var(--s-stoic); }
.sw-o { color: var(--o-observe); }
.sw-b { color: var(--b-behavior); }
.sw-e { color: var(--e-execute); }
.sw-r { color: var(--r-restore); }
.sober-word { font-weight: 700; letter-spacing: 0.02em; }
.sober-dot { color: var(--ink); font-weight: 700; }

.btn {
  --btn-face: var(--btn-primary);
  --btn-lip: #3d2868;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  color: #fff;
  background-color: var(--btn-face);
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.32) 0%,
    rgba(255, 255, 255, 0.08) 42%,
    rgba(0, 0, 0, 0.16) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -2px 4px rgba(0, 0, 0, 0.16),
    0 3px 0 var(--btn-lip),
    0 7px 14px rgba(27, 36, 55, 0.18);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}
.btn:hover {
  color: #fff;
  filter: brightness(1.06);
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -2px 4px rgba(0, 0, 0, 0.16),
    0 2px 0 var(--btn-lip),
    0 4px 10px rgba(27, 36, 55, 0.16);
}
.btn:active {
  transform: translateY(3px);
  filter: brightness(0.98);
  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, 0.22),
    0 0 0 var(--btn-lip),
    0 2px 4px rgba(27, 36, 55, 0.12);
}
.btn-primary { --btn-face: var(--btn-primary); --btn-lip: #3d2868; color: #fff; }
.btn-primary:hover { color: #fff; }
.btn-outline {
  --btn-face: #fff;
  --btn-lip: #cfc4e6;
  color: var(--btn-primary);
  border: 2px solid var(--btn-primary);
  background-image: linear-gradient(180deg, #fff 0%, #f3eef9 100%);
  text-shadow: none;
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -2px 3px rgba(91, 61, 154, 0.08),
    0 3px 0 var(--btn-lip),
    0 6px 12px rgba(27, 36, 55, 0.1);
}
.btn-outline:hover {
  color: #fff;
  --btn-face: var(--btn-primary);
  --btn-lip: #3d2868;
  background-color: var(--btn-primary);
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.32) 0%,
    rgba(255, 255, 255, 0.08) 42%,
    rgba(0, 0, 0, 0.16) 100%
  );
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
.btn-sm { padding: 0.55rem 1.2rem; font-size: 14px; }
.btn-light {
  --btn-face: #fff;
  --btn-lip: #d9d3c8;
  color: var(--btn-primary);
  text-shadow: none;
  background-image: linear-gradient(180deg, #fff 0%, #f2eee6 100%);
}
.btn-light:hover { color: var(--btn-primary-hover); }
.btn-green { --btn-face: #5A7A2D; --btn-lip: #3e561e; color: #fff; }
.btn-green:hover { color: #fff; }

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 239, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 16px;
}
.nav .brand { line-height: 0; text-decoration: none; }
.nav img { height: 36px; width: auto; max-width: 150px; }
.nav-podcast-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}
.nav-links a:hover { color: var(--btn-primary); }
.nav-toggle {
  display: none;
  margin-left: auto;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: var(--paper-card);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 0.5rem 1.25rem 1.1rem;
}
.nav-mobile ul { list-style: none; margin: 0; padding: 0; }
.nav-mobile a {
  display: block;
  padding: 0.7rem 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
body.nav-open .nav-mobile { display: block; }

.hero { padding: 40px 0 28px; text-align: center; }
.hero .wrap { max-width: 720px; }
.hero h1 { margin-bottom: 0.35em; }
.hero p.lead { font-size: 1.15rem; max-width: 56ch; margin: 0 auto 0; }

.subscribe-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 480px;
  margin: 16px auto 0;
  justify-content: center;
  position: relative;
}
.subscribe-form input[type="email"] {
  flex: 1 1 180px;
  min-width: 0;
  padding: 0.95rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 1rem;
  font-family: inherit;
  background: var(--paper-card);
  color: var(--ink);
}
.subscribe-form .btn {
  padding: 0.95rem 1.8rem;
  font-weight: 700;
}
.subscribe-form .btn:disabled { opacity: 0.6; cursor: default; filter: none; transform: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.subscribe-note { font-size: 0.8rem; color: var(--ink-soft); margin: 8px 0 0; }
.subscribe-note + .subscribe-note { margin-top: 2px; }
.subscribe-result { margin-top: 8px; font-weight: 600; min-height: 0; }
.subscribe-result:empty { display: none; }
.subscribe-result.ok { color: var(--s-stoic); }
.subscribe-result.err { color: var(--o-observe); }
.hero-secondary {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  max-width: 100%;
}

section { padding: 64px 0; }
.section-head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.prose-narrow { max-width: 640px; margin: 0 auto; }
.center { text-align: center; }

.pull-quote {
  margin: 28px auto 0;
  max-width: 36rem;
  padding: 1.2rem 1.4rem;
  background: var(--paper-card);
  border-left: 4px solid var(--foc-teal);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pull-quote p {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink);
  margin: 0 0 0.6em;
}
.pull-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.letter-band {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
  display: grid;
  gap: 12px;
}
.letter-band li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 14px;
  align-items: start;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.letter-band .mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.letter-band .s .mark { background: var(--s-stoic); }
.letter-band .o .mark { background: var(--o-observe); }
.letter-band .b .mark { background: var(--b-behavior); }
.letter-band .e .mark { background: var(--e-execute); color: var(--ink); }
.letter-band .r .mark { background: var(--r-restore); }
.letter-band p { margin: 0; font-size: 0.98rem; }
.letter-band strong { color: var(--ink); }

.book-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
.book-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.book-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  margin-bottom: 1rem;
  background: #efe8dc;
}
.book-card h3 { font-size: 1.15rem; }
.book-card .btn { margin-top: auto; align-self: flex-start; }
.quiet-line {
  text-align: center;
  max-width: 46ch;
  margin: 24px auto 0;
  font-size: 0.95rem;
}

.author { background: var(--paper-card); border-block: 1px solid var(--line); }
.author-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 44px;
  align-items: center;
}
.author-grid img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}
.quiet-date { font-size: 0.92rem; color: var(--ink-soft); }

.coaching { background: var(--btn-dark); color: #fff; text-align: center; }
.coaching h2 { color: #fff; }
.coaching p { color: rgba(255, 255, 255, 0.9); max-width: 56ch; margin: 0 auto 24px; }
.coaching .eyebrow { color: #fff; opacity: 0.85; }

.list-repeat { text-align: center; }
.list-repeat .wrap { max-width: 720px; }
.closing-line {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--ink);
  margin: 28px 0 0;
}

.medical {
  max-width: 52ch;
  margin: 28px auto 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.page-hero { padding: 3rem 0 1.5rem; }
.prose { max-width: 42rem; }
.prose.legal p, .prose.legal li { color: var(--ink-soft); }
.prose.legal h2 { margin-top: 1.7rem; font-size: 1.2rem; }
.prose.legal ul { padding-left: 1.2rem; }
.updated { color: var(--ink); font-weight: 600; }

footer {
  background: var(--ink);
  color: #eae7de;
  padding: 44px 0 26px;
  font-size: 0.9rem;
  text-align: center;
}
.footer-plate {
  background: #fff;
  display: inline-block;
  padding: 8px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
}
.footer-plate img { height: 32px; width: auto; }
.footer-tagline {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: #fff;
  margin: 0 auto 8px;
  max-width: 48ch;
}
.social-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
  justify-content: center;
}
.social-row a {
  opacity: 0.85;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: #eae7de;
}
.social-row a:hover { opacity: 1; border-color: #fff; color: #fff; }
.footer-links {
  margin: 18px 0 0;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.footer-links a { color: #eae7de; text-decoration: none; opacity: 0.85; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-legal-links { margin-top: 10px; }
.legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  font-size: 0.78rem;
  color: #a9a596;
  max-width: 640px;
  margin: 18px auto 0;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 760px) {
  .nav-podcast-btns { display: none; }
  .hero { padding: 24px 0 20px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.55rem; }
  .author-grid, .book-cards { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
  .wrap, .nav { padding-left: 16px; padding-right: 16px; }
  .subscribe-form {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
  }
  .subscribe-form input[type="email"],
  .subscribe-form button { width: 100%; flex: none; }
  .letter-band li { grid-template-columns: 2.2rem minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .btn:hover, .btn:active { transform: none; }
}
