:root {
  --ink: #171615;
  --muted: #5f5a52;
  --paper: #f7f3ec;
  --paper-deep: #e9dfcf;
  --green: #21483f;
  --clay: #9d513b;
  --bronze: #b18b43;
  --white: #fffdf8;
  --line: rgba(23, 22, 21, 0.14);
  --shadow: 0 22px 60px rgba(23, 22, 21, 0.18);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

cite {
  font-style: italic;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(23, 22, 21, 0.52);
  border: 1px solid rgba(255, 253, 248, 0.18);
  backdrop-filter: blur(18px);
}

.site-header.solid,
.site-header.is-scrolled {
  background: rgba(23, 22, 21, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 36px;
  flex: 0 0 42px;
  color: var(--ink);
  background: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.94rem;
  line-height: 1.1;
}

.brand small {
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.74rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 8px 9px;
  color: rgba(255, 253, 248, 0.84);
  font-size: 0.84rem;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 253, 248, 0.13);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 253, 248, 0.22);
  background: rgba(255, 253, 248, 0.08);
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  padding: 120px 24px 38px;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(23, 22, 21, 0.88), rgba(23, 22, 21, 0.46) 52%, rgba(23, 22, 21, 0.12)),
    linear-gradient(0deg, rgba(23, 22, 21, 0.74), rgba(23, 22, 21, 0.04) 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-bottom: 118px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow,
.signup-section .eyebrow,
.book-kicker {
  color: #e7c57a;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

h1 {
  max-width: 900px;
  font-size: clamp(3.1rem, 8vw, 7.5rem);
}

h2 {
  font-size: clamp(1.9rem, 4.2vw, 4rem);
}

h3 {
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 780px;
  margin: 16px 0 0;
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(1.08rem, 1.7vw, 1.42rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  font-weight: 760;
  text-decoration: none;
}

.button.primary {
  color: var(--ink);
  background: var(--white);
}

.button.primary.dark {
  color: var(--white);
  background: var(--green);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 253, 248, 0.34);
  background: rgba(255, 253, 248, 0.08);
}

.text-link {
  display: inline-flex;
  margin-top: 4px;
  color: var(--green);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.book-panel {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 38px;
  width: min(430px, calc(100% - 48px));
  padding: 24px;
  background: rgba(255, 253, 248, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.book-panel h2 {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
}

.book-panel p {
  margin: 14px 0 0;
  color: var(--muted);
}

.book-kicker {
  margin: 0 0 10px;
  color: var(--clay);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.statement {
  background: var(--green);
  color: var(--white);
}

.statement p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.12;
}

.section-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 84px 0;
}

.section-inner.narrow {
  width: min(calc(100% - 40px), 920px);
}

.section.muted,
.page-hero {
  background: var(--paper-deep);
}

.page-main {
  padding-top: 78px;
}

.page-hero .section-inner {
  padding-top: 108px;
  padding-bottom: 72px;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.8rem);
}

.page-hero p:not(.eyebrow):not(.status-pill) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.18rem;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 330px);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.author-photo-frame {
  margin: 0;
  justify-self: center;
  width: min(100%, 320px);
}

.author-photo-frame img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 46px rgba(23, 22, 21, 0.18);
}

.personal-section {
  background: var(--white);
}

.personal-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(240px, 360px);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.personal-grid p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.12rem;
}

.personal-photo-frame {
  margin: 0;
  justify-self: center;
  width: min(100%, 340px);
}

.personal-photo-frame img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(23, 22, 21, 0.16);
}

.personal-photo-frame figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
}

.split.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.book-intro-grid,
.book-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(34px, 7vw, 82px);
  align-items: center;
}

.book-intro-copy p,
.book-hero-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.book-intro-copy .text-link {
  margin-top: 18px;
}

.cover-frame {
  margin: 0;
}

.cover-frame img {
  width: 100%;
  height: auto;
  border-radius: 7px;
  box-shadow: 0 24px 54px rgba(23, 22, 21, 0.22);
}

.home-cover {
  max-width: 330px;
  justify-self: center;
}

.book-hero {
  background: var(--paper-deep);
}

.book-hero .section-inner {
  padding-top: 118px;
  padding-bottom: 82px;
}

.book-hero-grid {
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
}

.book-cover {
  justify-self: center;
  width: min(100%, 360px);
}

.book-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 5.8vw, 5.7rem);
}

.book-hero-copy h2 {
  max-width: 780px;
  margin-top: 26px;
  font-size: clamp(1.65rem, 3.4vw, 3.15rem);
}

.book-hero-copy .button {
  margin-top: 24px;
}

.book-atmosphere {
  background: var(--paper);
}

.atmosphere-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.atmosphere-grid p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.back-cover-frame {
  margin: 0;
  justify-self: center;
  width: min(100%, 300px);
}

.back-cover-frame img {
  width: 100%;
  height: auto;
  border-radius: 7px;
  box-shadow: 0 18px 44px rgba(23, 22, 21, 0.2);
}

.copy-stack p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-subhead {
  margin-top: 28px;
}

.card-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid article {
  min-height: 190px;
  padding: 28px;
  background: var(--white);
}

.card-grid .wide-card {
  grid-column: 1 / -1;
}

.therapy-services-grid {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.practice-logo-panel,
.practice-logo-small {
  margin: 0;
}

.practice-logo-panel {
  position: sticky;
  top: 112px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(23, 22, 21, 0.1);
}

.practice-logo-panel img,
.practice-logo-small img {
  width: 100%;
  height: auto;
}

.practice-logo-small {
  width: min(100%, 150px);
  margin-bottom: 20px;
}

.card-grid p,
.card-grid li,
.signup-section p,
.disclaimer {
  color: var(--muted);
}

.card-grid ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.topic-list article {
  padding: 28px;
  background: var(--white);
}

.topic-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.signup-section {
  background: var(--green);
  color: var(--white);
}

.signup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 42px;
  align-items: center;
}

.signup-section p {
  color: rgba(255, 253, 248, 0.74);
}

.signup-form {
  padding: 24px;
  border: 1px solid rgba(255, 253, 248, 0.2);
  background: rgba(255, 253, 248, 0.08);
}

.signup-form label {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 253, 248, 0.86);
  font-size: 0.86rem;
  font-weight: 800;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.signup-form input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 253, 248, 0.26);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.signup-form .button.primary {
  background: #e7c57a;
}

.status-pill {
  display: inline-flex;
  margin: 22px 0 0;
  padding: 10px 12px;
  border-left: 4px solid var(--clay);
  background: var(--white);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--green);
  font-size: clamp(1.12rem, 2.4vw, 1.7rem);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.disclaimer {
  font-size: 0.96rem;
}

.disclaimer.large {
  font-size: 1.08rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px max(20px, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: rgba(255, 253, 248, 0.76);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
}

@media (max-width: 940px) {
  .site-header {
    width: calc(100% - 24px);
    margin-top: 12px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    padding: 10px;
    background: rgba(23, 22, 21, 0.96);
    border: 1px solid rgba(255, 253, 248, 0.16);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 100svh;
    padding: 104px 20px 22px;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(23, 22, 21, 0.9), rgba(23, 22, 21, 0.5)),
      linear-gradient(0deg, rgba(23, 22, 21, 0.78), rgba(23, 22, 21, 0.08) 58%);
  }

  .hero-content {
    padding-bottom: 310px;
  }

  .book-panel {
    left: 20px;
    right: 20px;
    bottom: 22px;
    width: auto;
  }

  .section-inner {
    width: min(calc(100% - 32px), var(--max));
    padding: 62px 0;
  }

  .page-hero .section-inner {
    padding-top: 84px;
    padding-bottom: 58px;
  }

  .split,
  .split.reverse,
  .book-intro-grid,
  .book-hero-grid,
  .about-hero-grid,
  .personal-grid,
  .atmosphere-grid,
  .therapy-services-grid,
  .card-grid.two,
  .card-grid.three,
  .card-grid.four,
  .topic-list,
  .signup-grid {
    grid-template-columns: 1fr;
  }

  .home-cover,
  .book-cover,
  .author-photo-frame,
  .personal-photo-frame,
  .back-cover-frame,
  .practice-logo-panel {
    width: min(100%, 310px);
    justify-self: center;
  }

  .practice-logo-panel {
    position: static;
  }

  .book-intro-copy {
    display: contents;
  }

  .book-intro-copy .text-link {
    display: inline-flex;
  }

  .card-grid article {
    min-height: auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 500px) {
  .brand small {
    display: none;
  }

  .brand strong {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-content {
    padding-bottom: 340px;
  }

  .book-panel {
    padding: 20px;
  }
}
