/* =====================================================
   Cha Physical Therapy shared public design system
   ===================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* No scroll-behavior:smooth on the root: it fights Chrome's scroll
   restoration and makes the page creep down a few px on every reload.
   JS-driven smooth scrolls still pass behavior:'smooth' explicitly. */
html {
  -webkit-font-smoothing: antialiased;
}

:root {
  --bone: #f4f1ec;
  --ink: #1e1b18;
  --ink-mid: #4a4440;
  --ink-soft: #7a706a;
  --ink-faint: #b0a59c;
  --sage: #6b7a5a;
  --warm: #b8826b;
  --gold: #bfa160;
  --media-placeholder: #eee8e1;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1;
}

a {
  color: inherit;
  text-decoration: none;
}
em {
  font-style: italic;
  color: var(--gold);
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 64px;
  background: rgba(244, 241, 236, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.nav-logo img {
  height: 24px;
  width: auto;
  display: block;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(30, 27, 24, 0.16);
  background: rgba(244, 241, 236, 0.6);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle:focus-visible,
.nav-links a:focus-visible,
.nav-links .book-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--bone);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  content: "";
  transition:
    transform 240ms var(--ease),
    opacity 240ms var(--ease);
}
.nav-toggle span::before {
  transform: translateY(-6px);
}
.nav-toggle span::after {
  transform: translateY(5px);
}
.nav.is-open .nav-toggle span {
  background: transparent;
}
.nav.is-open .nav-toggle span::before {
  transform: translateY(0) rotate(45deg);
  background: currentColor;
}
.nav.is-open .nav-toggle span::after {
  transform: translateY(-1px) rotate(-45deg);
  background: currentColor;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 48px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  transition: color 200ms;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-links .book-link {
  color: var(--ink);
  border-bottom: 1px solid var(--ink-faint);
  padding-bottom: 2px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

/* RULE */
.rule {
  height: 1px;
  background: rgba(30, 27, 24, 0.1);
}

/* SECTION LABEL (small uppercase eyebrow) */
.section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 72px;
}

/* HERO — inner pages (no video) */
.page-hero {
  min-height: 56vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 64px 88px;
}
.page-hero .eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 24px;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(52px, 7.5vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 20ch;
  margin-bottom: 40px;
}
.page-hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.page-hero .sub {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 52ch;
}

/* SPLIT HERO (image right, copy left) */
.split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 95vh;
  padding-top: 88px; /* fixed desktop nav clearance */
}
.split-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 64px 56px;
}
.split-hero-copy .eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 28px;
}
.split-hero-copy h1 {
  font-family: var(--font-serif);
  font-size: clamp(48px, 5.5vw, 88px);
  line-height: 0.97;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 40px;
}
.split-hero-copy h1 em {
  color: var(--gold);
  font-style: italic;
}
.split-hero-copy .sub {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 38ch;
  margin-bottom: 48px;
}
.split-hero-copy .cta-text {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--ink);
  border-bottom: 1px solid var(--ink-faint);
  padding-bottom: 3px;
  width: fit-content;
  transition: border-color 220ms;
}
.split-hero-copy .cta-text:hover {
  border-color: var(--ink);
}
.split-hero-copy .cta-text svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
}
.split-hero-img {
  background: var(--media-placeholder);
  position: relative;
}
.split-hero-img .img-note {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* SECTION — standard padded content section */
.section {
  padding: 120px 64px;
}
.section.tight {
  padding: 80px 64px;
}
.section.bottom-only {
  padding: 0 64px 120px;
}

/* SECTION — centered editorial variant.
   Centers the eyebrow, statement, and prose; flattens the two-col grid
   into a single wide column so the wording reads horizontally, not as two
   narrow vertical stacks. */
.section.section-centered {
  text-align: center;
}
.section.section-centered .section-label {
  display: block;
}
.section.section-centered .statement {
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}
.section.section-centered .two-col {
  display: block;
  max-width: 82ch;
  margin: 56px auto 0;
}
.section.section-centered .two-col .prose {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.section.section-centered .two-col .prose + .prose {
  margin-top: 32px;
}

/* LARGE BODY STATEMENT */
.statement {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 28ch;
  margin-bottom: 56px;
  text-wrap: balance;
}
.statement em {
  color: var(--gold);
  font-style: italic;
}

/* PROSE */
.prose {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.78;
  color: var(--ink-soft);
  max-width: 56ch;
}
.prose + .prose {
  margin-top: 28px;
}

/* TWO-COLUMN TEXT */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* LIST — large serif items with dividers */
.big-list {
  list-style: none;
}
.big-list-item {
  padding: 40px 0;
  border-bottom: 1px solid rgba(30, 27, 24, 0.1);
}
.big-list-item:first-child {
  border-top: 1px solid rgba(30, 27, 24, 0.1);
}
.big-list-item .item-n {
  display: none;
}
.big-list-item .item-text {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.2vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: block;
}
.big-list-item .item-text em {
  color: var(--gold);
  font-style: italic;
}

/* TABLE ROWS — for treatments, pricing, team */
.table-rows {
  list-style: none;
}
.table-row {
  display: grid;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(30, 27, 24, 0.1);
  align-items: baseline;
}
.table-row:first-child {
  border-top: 1px solid rgba(30, 27, 24, 0.1);
}
.row-primary {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.row-secondary {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.row-tertiary {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.row-right {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-align: right;
}

/* TREATMENT FEATURE — alternating image + copy */
.tx {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.tx.flip .tx-img {
  order: 2;
}
.tx.flip .tx-copy {
  order: 1;
}
.tx-img {
  background: var(--media-placeholder);
  position: relative;
  min-height: 440px;
}
.tx-img picture,
.tx-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.tx-img img {
  object-fit: cover;
  display: block;
}
.img-ph picture,
.img-ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.img-ph img {
  object-fit: cover;
  display: block;
}
.tx-img .img-note {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.tx-copy {
  padding: 88px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tx-tag {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 36px;
}
.tx-copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 40px;
}
.tx-copy h2 em {
  color: var(--gold);
  font-style: italic;
}
.tx-copy p {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.78;
  color: var(--ink-soft);
  max-width: 38ch;
  margin-bottom: 48px;
}
.tx-link {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--ink);
  border-bottom: 1px solid var(--ink-faint);
  padding-bottom: 2px;
  width: fit-content;
  transition: border-color 220ms;
}
.tx-link:hover {
  border-color: var(--ink);
}

/* FAQ */
.faq-list {
  list-style: none;
}
.faq-item {
  border-bottom: 1px solid rgba(30, 27, 24, 0.1);
}
.faq-item:first-child {
  border-top: 1px solid rgba(30, 27, 24, 0.1);
}
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  gap: 24px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary .faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--ink-faint);
  fill: none;
  stroke-width: 1.2;
  transition: transform 300ms var(--ease);
}
details[open] .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 62ch;
  padding-bottom: 32px;
}

/* CLOSING CTA */
.end {
  padding: 180px 64px 136px;
}
.end h2 {
  font-family: var(--font-serif);
  font-size: clamp(48px, 7.5vw, 120px);
  line-height: 0.93;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 16ch;
  margin-bottom: 80px;
}
.end h2 em {
  font-style: italic;
  color: var(--gold);
}
.end-meta {
  display: flex;
  gap: 64px;
  margin-bottom: 72px;
}
.end-meta-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.end-meta-col .k {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 2px;
}
.end-meta-col .v {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-soft);
}
.end-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 20px 40px;
  border-radius: 0;
  transition: opacity 220ms;
}
.end-btn:hover {
  opacity: 0.75;
}
.end-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

/* FOOTER */
footer {
  padding: 48px 64px;
  border-top: 1px solid rgba(30, 27, 24, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.foot-wordmark {
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink-mid);
}
.foot-legal {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}

/* PAGE LOAD FADE */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
main {
  animation: fadeUp 700ms var(--ease) 60ms both;
}

/* ===================================================
   PLACEHOLDER MEDIA
   =================================================== */

/* Centered label inside any gray placeholder box */
.ph-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  text-align: center;
}
.ph-icon-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(30, 27, 24, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 2px;
}
.ph-icon-ring svg {
  width: 20px;
  height: 20px;
  stroke: var(--ink-faint);
  fill: none;
  stroke-width: 1.2;
}
.ph-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.65;
}

/* Standalone full-width image placeholder between sections */
.img-ph {
  width: 100%;
  height: 520px;
  background: var(--media-placeholder);
  position: relative;
}
.img-ph.feature {
  height: clamp(620px, 68vh, 760px);
}
.img-ph.short {
  height: 340px;
}

/* ---- PAGE HERO LOAD ANIMATION ---- */
@keyframes iveFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.page-hero .eyebrow {
  animation: iveFadeUp 700ms var(--ease) 80ms both;
}
.page-hero h1 {
  animation: iveFadeUp 700ms var(--ease) 220ms both;
}
.page-hero .sub {
  animation: iveFadeUp 700ms var(--ease) 400ms both;
}
.split-hero-copy .eyebrow {
  animation: iveFadeUp 700ms var(--ease) 80ms both;
}
.split-hero-copy h1 {
  animation: iveFadeUp 700ms var(--ease) 220ms both;
}
.split-hero-copy .sub {
  animation: iveFadeUp 700ms var(--ease) 400ms both;
}

/* ---- SCROLL REVEAL ---- */
/* JS adds .reveal / .reveal-group, then .is-visible on viewport entry */
.reveal {
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}
.reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(18px);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-group > * {
  transition:
    opacity 620ms var(--ease),
    transform 620ms var(--ease);
}
.reveal-group:not(.is-visible) > * {
  opacity: 0;
  transform: translateY(14px);
}
.reveal-group.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-group.is-visible > *:nth-child(1) {
  transition-delay: 0ms;
}
.reveal-group.is-visible > *:nth-child(2) {
  transition-delay: 75ms;
}
.reveal-group.is-visible > *:nth-child(3) {
  transition-delay: 150ms;
}
.reveal-group.is-visible > *:nth-child(4) {
  transition-delay: 225ms;
}
.reveal-group.is-visible > *:nth-child(5) {
  transition-delay: 300ms;
}
.reveal-group.is-visible > *:nth-child(6) {
  transition-delay: 375ms;
}
.reveal-group.is-visible > *:nth-child(7) {
  transition-delay: 450ms;
}
.reveal-group.is-visible > *:nth-child(8) {
  transition-delay: 525ms;
}
.reveal-group.is-visible > *:nth-child(9) {
  transition-delay: 600ms;
}
.reveal-group.is-visible > *:nth-child(10) {
  transition-delay: 675ms;
}

/* ---- IMAGE HOVER SCALE ---- */
.tx-img {
  overflow: hidden;
}
.tx-img img {
  transition: transform 900ms var(--ease);
}
.tx:hover .tx-img img {
  transform: scale(1.04);
}
.split-hero-img {
  overflow: hidden;
}
.split-hero-img img {
  transition: transform 900ms var(--ease);
}
.split-hero-img picture,
.split-hero-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.split-hero-img img {
  object-fit: cover;
  display: block;
}
.split-hero-img video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- MEDIA LOAD FADE ---- */
.media-fade-enabled .split-hero-img,
.media-fade-enabled .tx-img,
.media-fade-enabled .img-ph,
.media-fade-enabled .method-hero-video-wrap,
.media-fade-enabled .pm-hero-video-wrap,
.media-fade-enabled .space-hero {
  background: var(--media-placeholder) !important;
}

.media-fade-enabled .split-hero-img img,
.media-fade-enabled .split-hero-img video,
.media-fade-enabled .tx-img img,
.media-fade-enabled .tx-img video,
.media-fade-enabled .img-ph img,
.media-fade-enabled .img-ph video,
.media-fade-enabled .method-hero-video-wrap video,
.media-fade-enabled .pm-hero-video-wrap video,
.media-fade-enabled .space-hero > video {
  opacity: 0;
  transition:
    opacity 360ms ease,
    transform 900ms var(--ease);
}

.media-fade-enabled .split-hero-img img.is-media-loaded,
.media-fade-enabled .split-hero-img video.is-media-loaded,
.media-fade-enabled .tx-img img.is-media-loaded,
.media-fade-enabled .tx-img video.is-media-loaded,
.media-fade-enabled .img-ph img.is-media-loaded,
.media-fade-enabled .img-ph video.is-media-loaded,
.media-fade-enabled .method-hero-video-wrap video.is-media-loaded,
.media-fade-enabled .pm-hero-video-wrap video.is-media-loaded,
.media-fade-enabled .space-hero > video.is-media-loaded,
.media-fade-enabled .split-hero-img img.is-media-error,
.media-fade-enabled .split-hero-img video.is-media-error,
.media-fade-enabled .tx-img img.is-media-error,
.media-fade-enabled .tx-img video.is-media-error,
.media-fade-enabled .img-ph img.is-media-error,
.media-fade-enabled .img-ph video.is-media-error,
.media-fade-enabled .method-hero-video-wrap video.is-media-error,
.media-fade-enabled .pm-hero-video-wrap video.is-media-error,
.media-fade-enabled .space-hero > video.is-media-error {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .media-fade-enabled .split-hero-img img,
  .media-fade-enabled .split-hero-img video,
  .media-fade-enabled .tx-img img,
  .media-fade-enabled .tx-img video,
  .media-fade-enabled .img-ph img,
  .media-fade-enabled .img-ph video,
  .media-fade-enabled .method-hero-video-wrap video,
  .media-fade-enabled .pm-hero-video-wrap video,
  .media-fade-enabled .space-hero > video {
    transition: none !important;
  }
}

/* ---- NAV LINK UNDERLINE ---- */
.nav-links a {
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 300ms var(--ease);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-links .book-link::after {
  display: none;
}

/* ---- BOOK-LINK HOVER ---- */
.nav-links .book-link {
  transition:
    border-color 260ms var(--ease),
    color 260ms var(--ease);
}
.nav-links .book-link:hover {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .nav {
    padding: 16px 24px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 18px 22px 26px;
    background: rgba(244, 241, 236, 0.96);
    border: 1px solid rgba(30, 27, 24, 0.1);
    box-shadow: 0 24px 60px -30px rgba(30, 27, 24, 0.38);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 220ms var(--ease),
      transform 220ms var(--ease),
      visibility 0s linear 220ms;
  }
  .nav.is-open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }
  .nav-links li {
    border-bottom: 1px solid rgba(30, 27, 24, 0.08);
  }
  .nav-links li:last-child {
    border-bottom: 0;
  }
  .nav-links a {
    display: block;
    padding: 16px 0;
    color: var(--ink-soft) !important;
  }
  .nav-links .book-link {
    margin-top: 12px;
    padding: 18px 16px;
    background: var(--ink);
    border-bottom: 0;
    color: var(--bone) !important;
    text-align: center;
    letter-spacing: 0.12em;
  }
  .nav-links .book-link:hover {
    background: var(--ink);
    color: var(--bone) !important;
  }
  .home-nav .nav-toggle {
    color: var(--bone);
    border-color: rgba(244, 241, 236, 0.32);
    background: rgba(30, 27, 24, 0.24);
  }
  .section-label {
    margin-bottom: 36px;
  }
  .page-hero {
    min-height: auto;
    padding: 104px 24px 56px;
  }
  .page-hero h1 {
    font-size: clamp(42px, 13vw, 64px);
    line-height: 1;
    margin-bottom: 28px;
    max-width: 11ch;
  }
  .page-hero .sub {
    font-size: 15px;
    line-height: 1.68;
    max-width: 38ch;
  }
  .split-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 72px;
  }
  .split-hero-copy {
    min-height: auto;
    padding: 32px 24px 44px;
    justify-content: flex-start;
  }
  .split-hero-copy .eyebrow {
    margin-bottom: 20px;
  }
  .split-hero-copy h1 {
    font-size: clamp(40px, 12vw, 58px);
    line-height: 1;
    margin-bottom: 28px;
  }
  .split-hero-copy .sub {
    font-size: 15px;
    line-height: 1.68;
    margin-bottom: 32px;
  }
  .split-hero-img {
    min-height: 350px;
  }
  .section {
    padding: 64px 24px;
  }
  .section.tight {
    padding: 48px 24px;
  }
  .section.bottom-only {
    padding: 0 24px 64px;
  }
  .section.section-centered .two-col {
    margin-top: 36px;
  }
  .statement {
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.22;
    margin-bottom: 36px;
  }
  .prose {
    font-size: 15px;
    line-height: 1.72;
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .big-list-item {
    padding: 28px 0;
  }
  .table-row {
    gap: 12px;
    padding: 24px 0;
  }
  .row-right {
    text-align: left;
  }
  .tx {
    grid-template-columns: 1fr;
  }
  .tx.flip .tx-img {
    order: 0;
  }
  .tx.flip .tx-copy {
    order: 0;
  }
  .tx-img {
    min-height: 300px;
  }
  .tx-copy {
    padding: 48px 24px;
  }
  .tx-copy h2 {
    font-size: clamp(34px, 9vw, 48px);
    margin-bottom: 28px;
  }
  .tx-copy p {
    margin-bottom: 32px;
  }
  .img-ph,
  .img-ph.feature {
    height: 320px;
  }
  .img-ph.short {
    height: 240px;
  }
  .reveal,
  .reveal:not(.is-visible),
  .reveal-group > *,
  .reveal-group:not(.is-visible) > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  main {
    animation: none;
  }
  .end {
    padding: 80px 24px 72px;
  }
  .end h2 {
    font-size: clamp(42px, 12vw, 64px);
    line-height: 1;
    margin-bottom: 48px;
  }
  .end-meta {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 44px;
  }
  .end-btn {
    width: 100%;
    justify-content: center;
    padding: 18px 24px;
  }
  footer {
    padding: 32px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 760px) {
  .page-hero h1 {
    font-size: clamp(40px, 11vw, 52px);
    line-height: 1.04;
  }

  .split-hero-copy h1 {
    font-size: clamp(34px, 9.5vw, 44px);
    line-height: 1.05;
    text-wrap: balance;
  }

  .end h2 {
    font-size: clamp(36px, 10vw, 48px);
    line-height: 1.02;
  }

  .prose,
  .faq-answer {
    font-size: 16px;
    line-height: 1.65;
  }

  .section-label {
    font-size: 12px;
    font-weight: 400;
    color: var(--ink-mid);
  }
}

/* Tablet landscape (iPad landscape, ~1024px): between the 960px hamburger
   breakpoint and ~1100px the full horizontal nav is too tight — the logo butts
   straight against the first link (zero gap) and "The Cha Method" wraps to two
   lines. Tighten nav padding and link spacing for this band only; desktop
   (>1100px) and the mobile hamburger (<=960px) are untouched. */
@media (min-width: 961px) and (max-width: 1100px) {
  .nav {
    padding: 32px 32px;
  }
  .nav-links {
    gap: 26px;
  }
  .nav-links a {
    white-space: nowrap;
  }
}
