/* =============================================================
   COMPONENTS — Buttons, Header/Nav, Footer, Accordion, Carousel,
                Testimonial, Cards, Placeholders, Decorative rule
   Zelken MD Plastic Surgery
   ============================================================= */

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  text-decoration: none;
  padding: 1.05em 1.9em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--sage);
  color: var(--cream);
  border-color: var(--sage);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-outline:hover,
.btn-outline:focus-visible { border-color: var(--ink); }

.btn-outline.on-dark {
  color: var(--cream);
  border-color: var(--line-ondark);
}

.btn-outline.on-dark:hover,
.btn-outline.on-dark:focus-visible {
  border-color: var(--cream);
  background: rgba(245, 241, 232, .06);
}

.btn-ghost {
  background: rgba(245, 241, 232, .1);
  color: var(--cream);
  border-color: var(--line-ondark);
}

.btn-ghost:hover,
.btn-ghost:focus-visible { background: rgba(245, 241, 232, .18); }

.btn:disabled,
.btn[disabled] {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}

.btn:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--charcoal);
  border-bottom: 1px solid rgba(245, 241, 232, .08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(16px, 2.4vw, 44px);
  max-width: var(--container-wide);
  margin: 0 auto;
}

.nav-logo img { height: auto; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 13px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: .8rem;
  font-weight: 500;
  color: rgba(245, 241, 232, .82);
  text-decoration: none;
  transition: color .3s var(--ease);
  white-space: nowrap;
}

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

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-pill {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: .85em 1.2em;
  text-decoration: none;
  color: var(--cream);
  background: rgba(245, 241, 232, .07);
  border: 1px solid var(--line-ondark);
  border-radius: var(--radius);
  transition: background .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}

.nav-pill:hover { background: rgba(245, 241, 232, .14); }

.nav-pill.solid { background: var(--sage); border-color: var(--sage); }
.nav-pill.solid:hover { background: var(--sage-deep); border-color: var(--sage-deep); }

.nav-toggle { display: none; }

/* --- Nav dropdown / mega-menu infrastructure --- */
.site-header .nav { position: relative; }

.nav-item { position: relative; display: flex; align-items: center; }

.nav-links > .nav-item > a { display: inline-flex; align-items: center; }

/* Caret indicator */
.caret {
  width: 0;
  height: 0;
  margin-left: .5em;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: .6;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

.nav-item.open > a .caret { transform: rotate(180deg); opacity: 1; }

/* Mobile-first: panels are inline accordions */
.nav-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s var(--ease);
  width: 100%;
}

.nav-item.open > .nav-panel { max-height: 1600px; }

.nav-sublist, .mega-grid, .mega-list { list-style: none; margin: 0; padding: 0; }

.nav-panel .nav-sublist a,
.nav-panel .mega-col a {
  display: block;
  padding: 11px 0 11px 18px;
  font-family: var(--serif);
  text-transform: none;
  letter-spacing: .02em;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(245, 241, 232, .66);
  border-bottom: 1px solid rgba(245, 241, 232, .06);
}

.nav-panel .nav-sublist a:hover,
.nav-panel .mega-col a:hover { color: var(--cream); }

.nav-panel .mega-head {
  display: block;
  padding: 16px 0 6px 18px;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .66rem;
  font-weight: 700;
  color: rgba(245, 241, 232, .45);
  text-decoration: none;
}

.nav-panel .mega-head:hover { color: rgba(245, 241, 232, .7); }

/* Mobile nav drawer */
.nav-links.mobile-open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: var(--charcoal);
  padding: 8px var(--gutter) 20px;
  border-bottom: 1px solid rgba(245, 241, 232, .1);
}

.nav-links.mobile-open a {
  padding: 14px 0;
  border-bottom: 1px solid rgba(245, 241, 232, .08);
  font-size: 1.05rem;
}

/* ============================================================
   NAV — DESKTOP DROPDOWNS & MEGA MENU
   ============================================================ */
@media (min-width: 1201px) {
  .nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    max-height: none;
    overflow: visible;
    width: auto;
    min-width: 256px;
    margin-top: 0;
    padding: 12px;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    border-top: 2px solid var(--sage);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
    z-index: 300;
  }

  .nav-item.open > .nav-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nav-panel .nav-sublist a {
    padding: 9px 16px;
    border-bottom: 0;
    white-space: nowrap;
    color: var(--ink);
    font-size: 1.02rem;
    border-radius: var(--radius);
    transition: background .2s var(--ease), color .2s var(--ease);
  }

  .nav-panel .nav-sublist a:hover { background: var(--bone); color: var(--sage-deep); }

  /* Full-width mega strip pinned under the header */
  .nav-panel--mega {
    position: fixed;
    left: var(--gutter);
    right: var(--gutter);
    top: 76px;
    width: auto;
    min-width: 0;
    padding: 30px clamp(22px, 3vw, 48px) 36px;
  }

  .nav-panel--mega .mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px 30px;
    max-width: var(--container-wide);
    margin: 0 auto;
  }

  .nav-panel .mega-head {
    padding: 0 0 11px;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--line);
    color: var(--sage-deep);
    font-size: .68rem;
  }

  .nav-panel .mega-head .caret { display: none; }

  .nav-panel .mega-col a {
    padding: 7px 2px;
    border-bottom: 0;
    white-space: normal;
    color: rgba(22, 22, 15, .72);
    font-size: 1rem;
    line-height: 1.3;
    transition: color .18s var(--ease);
  }

  .nav-panel .mega-col a:hover { color: var(--sage-deep); }
}

/* ============================================================
   NAV — RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1520px) {
  .nav-cta .nav-pill:not(.solid) { display: none; }
}

@media (max-width: 1200px) {
  .nav-logo img { height: 46px; width: auto; }

  .nav-links { display: none; }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }

  .nav-toggle span { width: 26px; height: 2px; background: var(--cream); display: block; }

  .nav-links.mobile-open { max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav-links.mobile-open > .nav-item { flex-direction: column; align-items: stretch; }
  .nav-links.mobile-open .nav-item > a { width: 100%; justify-content: space-between; }
  .nav-links.mobile-open .nav-item > a .caret { margin-left: auto; }
}

@media (max-width: 640px) {
  .nav-cta .nav-pill { display: none; }
  .nav-cta .nav-toggle { display: inline-flex; }
}

/* ============================================================
   MEGA-COL ACCORDION — mobile only (≤1200px)
   ============================================================ */
@media (max-width: 1200px) {
  .nav-links.mobile-open .mega-col.has-submenu .mega-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease);
  }

  .nav-links.mobile-open .mega-col.has-submenu.open .mega-list {
    max-height: 800px;
  }

  .nav-links.mobile-open .mega-col.has-submenu .mega-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    cursor: pointer;
    width: 100%;
  }

  .nav-links.mobile-open .mega-col.has-submenu .mega-head .caret {
    flex-shrink: 0;
    margin-left: .5em;
    opacity: .6;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
  }

  .nav-links.mobile-open .mega-col.has-submenu.open .mega-head .caret {
    transform: rotate(180deg);
    opacity: 1;
  }
}

/* ============================================================
   PLACEHOLDER (image / media substitute)
   ============================================================ */
.ph {
  background:
    repeating-linear-gradient(135deg, rgba(0, 0, 0, .018) 0 14px, transparent 14px 28px),
    linear-gradient(145deg, var(--image-ph), var(--image-ph-2));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph[data-label]::after {
  content: attr(data-label);
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(22, 22, 15, .4);
  font-weight: 600;
  text-align: center;
  padding: 1em;
}

.ph.dark {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .02) 0 14px, transparent 14px 28px),
    linear-gradient(145deg, #2a2922, var(--marble-deep));
}

.ph.dark[data-label]::after { color: rgba(245, 241, 232, .4); }

/* Video placeholder */
.video-ph { aspect-ratio: 16 / 9; border-radius: var(--radius-img); cursor: pointer; }

.video-ph .play {
  width: 76px;
  height: 54px;
  border-radius: 12px;
  background: rgba(20, 20, 15, .62);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s var(--ease), transform .3s var(--ease);
}

.video-ph:hover .play { background: var(--sage); transform: scale(1.04); }

.video-ph .play svg { width: 22px; height: 22px; fill: var(--cream); margin-left: 3px; }

/* ============================================================
   ACCORDION (FAQ)
   ============================================================ */
.accordion { border-top: 1px solid var(--line); max-width: 920px; margin: 0 auto; }

.acc-item { border-bottom: 1px solid var(--line); }

.acc-trigger {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 1.5em 0;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 500;
  color: var(--ink);
  transition: color .3s var(--ease);
}

.acc-trigger:hover { color: var(--sage-deep); }

.acc-icon { flex: none; width: 22px; height: 22px; position: relative; }

.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  background: var(--sage);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.acc-icon::before { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.acc-icon::after  { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }

.acc-item.open .acc-icon::after { transform: translateX(-50%) scaleY(0); opacity: 0; }

.acc-panel { overflow: hidden; height: 0; transition: height .35s var(--ease); }

.acc-panel-inner { padding: 0 0 1.7em; max-width: 800px; }

.acc-panel-inner p { color: rgba(22, 22, 15, .72); font-weight: 300; margin: 0; }

/* ============================================================
   CAROUSEL (before / after, gallery)
   ============================================================ */
.carousel { position: relative; }

.carousel-viewport { overflow: hidden; border-radius: var(--radius-img); }

.carousel-track { display: flex; transition: transform .6s var(--ease); }

.carousel-track > [data-slide] { flex: 0 0 100%; }

.ba-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  z-index: 3;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  color: var(--ink);
}

.ba-arrow:hover { background: var(--sage); color: var(--cream); border-color: var(--sage); }

.ba-arrow svg  { width: 18px; height: 18px; }
.ba-arrow.prev { left: -18px; }
.ba-arrow.next { right: -18px; }

.ba-dots { display: flex; gap: 10px; justify-content: center; margin-top: 26px; }

.ba-dot {
  width: 26px;
  height: 3px;
  border: 0;
  padding: 0;
  background: var(--line);
  cursor: pointer;
  transition: background .3s var(--ease);
  border-radius: 2px;
}

.ba-dot.active { background: var(--sage); }

@media (max-width: 720px) {
  .ba-arrow.prev { left: 8px; }
  .ba-arrow.next { right: 8px; }
}

/* Constrained-width carousel variant */
.carousel-wide { max-width: 1040px; margin-inline: auto; }

/* ============================================================
   BEFORE / AFTER SLIDE PAIR
   ============================================================ */
.ba-slide-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: #111;
  padding: 14px;
  border-radius: var(--radius-img);
}

.ba-slide-img {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  background-color: var(--marble-deep);
}

/* ============================================================
   EDITORIAL SPLIT — Generic 2-col image + copy layout
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 88px);
  align-items: center;
}

.split .portrait {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-img);
  background-size: cover;
  background-position: center;
  background-color: var(--image-ph);
}

.split-flip .portrait { order: 2; }

/* ============================================================
   TYPES SPLIT — 2-col layout for list + copy (dark context)
   ============================================================ */
.types-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}

/* ============================================================
   TYPES LIST — Serif list with left border accent (dark bg)
   ============================================================ */
.types-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line-ondark);
}

.types-list li {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 400;
  color: var(--cream);
  padding: .85em 0 .85em 1.4em;
  position: relative;
  border-bottom: 1px solid rgba(245, 241, 232, .08);
  transition: color .3s var(--ease), padding .3s var(--ease);
}

.types-list li::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 0;
  background: var(--cream);
  transition: height .3s var(--ease);
}

.types-list li:hover { color: #fff; padding-left: 1.7em; }
.types-list li:hover::before { height: 60%; }

.types-list li span {
  display: block;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .03em;
  color: var(--cream-dim);
  text-transform: none;
  margin-top: .25em;
}

/* ============================================================
   BENEFITS GRID — Numbered two-column benefits list
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(40px, 6vw, 90px);
  max-width: 960px;
  margin-inline: auto;
}

.benefit {
  display: flex;
  gap: 16px;
  padding: 1.3em 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}

.benefit .n {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--sage);
  flex: none;
  width: 2ch;
}

.benefit p { margin: 0; font-weight: 300; color: rgba(22, 22, 15, .8); }

/* ============================================================
   RECOVERY GRID — 2×2 healing timeline blocks
   ============================================================ */
.recovery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(36px, 5vw, 72px) clamp(48px, 7vw, 110px);
  max-width: 980px;
  margin-inline: auto;
}

.rec-block h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: .9rem;
}

.rec-block ul { list-style: none; margin: 0; padding: 0; }

.rec-block li {
  position: relative;
  padding-left: 1.3em;
  margin-bottom: .7em;
  font-weight: 300;
  color: rgba(22, 22, 15, .78);
}

.rec-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

/* ============================================================
   TOC BAR — Sticky in-page navigation strip
   ============================================================ */
.toc-bar {
  position: sticky;
  top: 70.36px;
  z-index: 80;
  background: #111;
  border-top: 1px solid rgba(245, 241, 232, .07);
  border-bottom: 1px solid rgba(245, 241, 232, .12);
}

.toc-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 22px;
  overflow-x: auto;
  scrollbar-width: none;
}

.toc-inner::-webkit-scrollbar { display: none; }

.toc-label {
  flex: none;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .6rem;
  font-weight: 700;
  color: rgba(245, 241, 232, .4);
  white-space: nowrap;
}

.toc-bar ul {
  display: flex;
  gap: clamp(14px, 2vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc-bar li { flex: none; }

.toc-bar a {
  display: block;
  padding: 14px 0;
  font-family: var(--sans);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(245, 241, 232, .62);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}

.toc-bar a:hover { color: var(--cream); }
.toc-bar a.active { color: var(--cream); border-bottom-color: var(--sage); }

/* Paired with .toc-bar — give anchored sections breathing room under sticky bars */
section[id] { scroll-margin-top: 140px; }

/* ============================================================
   PULL QUOTE — Large centred testimonial on light bg
   ============================================================ */
.pq-inner { max-width: 980px; margin-inline: auto; text-align: center; }

.pq-mark {
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: .5;
  color: rgba(121, 125, 107, .4);
  display: block;
}

.pq-inner blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.34;
  color: var(--ink);
  margin: 1rem 0 0;
  padding: 0;
  border: 0;
}

.pq-inner .stars { color: var(--sage); letter-spacing: .3em; font-size: 1rem; margin-top: 1.4rem; }

.pq-inner .who {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .74rem;
  font-weight: 600;
  color: rgba(22, 22, 15, .6);
  margin-top: .7rem;
}

/* ============================================================
   AUTHOR BOX — Doctor / writer attribution block
   ============================================================ */
.author-box .author-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  max-width: var(--container);
  margin-inline: auto;
}

.author-photo {
  width: clamp(150px, 18vw, 220px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  flex: none;
  box-shadow: var(--shadow-soft);
  background-size: cover;
  background-position: center;
  background-color: var(--image-ph);
}

.author-box .eyebrow { color: var(--sage); }

.author-box h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 1.08;
}

.author-box .prose { margin-top: 1.1rem; max-width: 66ch; }
.author-box .prose p { color: rgba(22, 22, 15, .78); font-weight: 300; }
.author-box .btn { margin-top: 1.7rem; }

/* ============================================================
   RELATED GRID — Card grid for related procedures / pages
   ============================================================ */
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.rel-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-img);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  background-color: var(--image-ph);
}

.rel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(8, 8, 6, .82) 100%);
  transition: background .4s var(--ease);
}

.rel-card:hover::after {
  background: linear-gradient(180deg, rgba(8, 8, 6, .2) 18%, rgba(8, 8, 6, .88) 100%);
}

.rel-card .label {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 20px 18px;
  text-align: center;
  color: var(--cream);
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 1.02rem;
  transition: transform .4s var(--ease);
}

.rel-card:hover .label { transform: translateY(-6px); }

/* ============================================================
   VIDEO PLACEHOLDER — wide centered variant
   ============================================================ */
.video-ph--wide { max-width: 900px; margin-inline: auto; }

/* ============================================================
   CAPTION — small muted label below media
   ============================================================ */
.caption {
  font-size: .82rem;
  letter-spacing: .04em;
  color: rgba(22, 22, 15, .55);
  text-align: center;
}
.caption.on-dark {
  color: rgba(245, 241, 232, .55);
}

/* ============================================================
   COMPONENTS — RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 860px) {
  .split,
  .types-split { grid-template-columns: 1fr; }

  .split-flip .portrait { order: 0; }
  .split .portrait { max-width: 460px; }

  .benefits-grid { grid-template-columns: 1fr; }
  .recovery-grid { grid-template-columns: 1fr; }

  .related-grid { grid-template-columns: 1fr 1fr; }

  .author-box .author-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .author-box .prose { margin-inline: auto; }
}

@media (max-width: 520px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--sage); color: var(--cream); }

.footer-cta-bar {
  background: var(--bone-2);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding: 28px var(--gutter);
}

.footer-main {
  padding: clamp(48px, 7vw, 88px) var(--gutter) clamp(36px, 5vw, 56px);
  text-align: center;
}

.footer-logo { height: 64px; width: auto; margin: 0 auto 22px; opacity: .96; }

.footer-meta { font-size: .9rem; letter-spacing: .04em; color: rgba(245, 241, 232, .82); }

.footer-meta a { color: var(--cream); text-decoration: none; }

.footer-meta p { margin-bottom: .3em; }

.footer-meta p:last-child { margin: 0; }

.social-row { display: flex; gap: 20px; justify-content: center; margin: 26px 0; }

.social-row a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(245, 241, 232, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}

.social-row a:hover { background: rgba(245, 241, 232, .12); border-color: var(--cream); }

.social-row svg { width: 19px; height: 19px; }

.footer-legal {
  border-top: 1px solid rgba(245, 241, 232, .18);
  padding: 20px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  justify-content: center;
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-legal a { color: rgba(245, 241, 232, .78); text-decoration: none; }
.footer-legal a:hover { color: var(--cream); }

/* ============================================================
   DECORATIVE RULE
   ============================================================ */
.rule {
  width: 56px;
  height: 1px;
  background: var(--sage);
  border: 0;
  margin: 1.4rem 0;
}

.rule.center  { margin-inline: auto; }
.rule.on-dark { background: rgba(245, 241, 232, .45); }

/* ============================================================
   TESTIMONIAL BLOCK
   ============================================================ */
.testimonial {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial .mark {
  font-family: var(--serif);
  font-size: 8rem;
  line-height: .75;
  color: rgba(22, 22, 15, .18);
  display: block;
  margin-bottom: .5rem;
}

.testimonial blockquote {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  line-height: 1.55;
  margin: 0;
  padding: 0;
  border: 0;
}

.testimonial .rating {
  letter-spacing: .3em;
  color: var(--sage);
  margin-top: 1.4rem;
  margin-bottom: 0;
}

.testimonial .who {
  color: rgba(22, 22, 15, .6);
  margin-top: .6rem;
  margin-bottom: 0;
}

/* dark-background overrides */
.testimonial.on-dark .mark        { color: rgba(245, 241, 232, .22); }
.testimonial.on-dark blockquote   { color: var(--cream); }
.testimonial.on-dark .who         { color: rgba(245, 241, 232, .65); }

/* ============================================================
   INDENTED LIST — Styled plain list with bullet accent
   Used wherever a plain <ul> needs design-system treatment
   ============================================================ */
.ind-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: .8rem;
  max-width: var(--measure);
}

.ind-list li {
  font-family: var(--sans);
  font-weight: 300;
  font-size: .98rem;
  line-height: 1.6;
  color: rgba(22, 22, 15, .78);
  padding-left: 1.5rem;
  position: relative;
}

.ind-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 1px;
  background: var(--sage);
}

/* ============================================================
   ABOUT CARD
   ============================================================ */
.about-card {
  background: var(--paper);
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-soft);
}

.about-card .prose p { line-height: 1.55; }
