/*
Theme Name: BAMSD - Child
Version: 1
Description: A child theme of DMM by Almina
Template: mts_schema
Text Domain: schema
*/

@import url("../mts_schema/style.css");

:root {
  --bone: #F4F0E9;
  --paper: #FBF9F5;
  --sand: #E7DDCD;
  --ink: #14212D;
  --ink-soft: rgba(20, 33, 45, 0.74);
  --ink-faint: rgba(20, 33, 45, 0.14);
  --navy: #172838;
  --navy-deep: #0F1C28;
  --brass: #B08650;
  --brass-deep: #7E5A2B;
  --light: #F4F0E9;
  --light-soft: rgba(244, 240, 233, 0.76);
  --light-faint: rgba(244, 240, 233, 0.18);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --max: 1400px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 0.7, 0.12, 1);
}

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

html {
  background: var(--bone);
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ol,
ul {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--sand);
  color: var(--ink);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

.section {
  padding: clamp(88px, 11vw, 168px) 0;
}

.mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.mask-line {
  display: block;
}

em {
  font-style: italic;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--brass-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow-light {
  color: var(--sand);
}

.title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.title em {
  color: var(--brass-deep);
}

.title-light {
  color: var(--light);
}

.title-light em {
  color: var(--sand);
}

.lead {
  max-width: 34em;
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.lead-light {
  color: var(--light-soft);
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease, gap 0.3s var(--ease);
}

.link:hover {
  gap: 16px;
  color: var(--brass-deep);
}

.link-light {
  color: var(--light);
}

.link-light:hover {
  color: var(--sand);
}

.text-link {
  font-weight: 600;
  text-underline-offset: 4px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s var(--ease);
}

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

.pill-dark {
  background: var(--ink);
  color: var(--light);
}

.pill-dark:hover {
  background: var(--brass-deep);
}

.pill-line {
  border-color: var(--ink);
  color: var(--ink);
}

.pill-line:hover {
  background: var(--ink);
  color: var(--light);
}

.pill-light {
  background: var(--light);
  color: var(--ink);
}

.pill-light:hover {
  background: var(--sand);
}

.pill-line-light {
  border-color: var(--light);
  color: var(--light);
}

.pill-line-light:hover {
  background: var(--light);
  color: var(--ink);
}

.confirm {
  padding: 2px 8px;
  border-radius: 6px;
  background: #FFE7A8;
  color: #5A4300;
  font-family: var(--sans);
  font-size: 0.85em;
  font-weight: 700;
}

/* header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.header.is-solid {
  padding: 8px 0;
  background: rgba(244, 240, 233, 0.92);
  box-shadow: 0 1px 0 var(--ink-faint);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.2rem;
}

.brand-sub {
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-light .brand-sub {
  color: var(--light-soft);
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  min-height: 44px;
  padding: 0 22px;
  font-size: 0.86rem;
}

/* hero */

.hero {
  padding: clamp(120px, 12vw, 150px) 0 clamp(56px, 7vw, 96px);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
}

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-title em {
  color: var(--brass-deep);
}

.hero-text {
  max-width: 30em;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 1.14rem;
}

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

.byline {
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.hero-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--ink);
}

.hero-index-link {
  padding: 16px 12px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.hero-index-link + .hero-index-link {
  padding-left: 14px;
  border-left: 1px solid var(--ink-faint);
}

.hero-index-link span {
  display: block;
  margin-bottom: 4px;
  color: var(--brass-deep);
  font-family: var(--serif);
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 400;
}

.hero-index-link:hover {
  color: var(--brass-deep);
}

.hero-media {
  position: relative;
  padding: 0 0 clamp(48px, 6vw, 88px) 16%;
}

.hero-tag {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink-faint);
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-frame {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 30%;
}

.hero-frame-small {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44%;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  border: 8px solid var(--bone);
  border-radius: 10px;
}

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

.plan-card {
  position: absolute;
  left: 0;
  top: 22%;
  width: 236px;
  padding: 22px 24px 20px;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 30px 60px -30px rgba(20, 33, 45, 0.45);
}

.plan-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.plan-card-label {
  color: var(--brass-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plan-card-step {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.plan-card-now {
  color: var(--ink);
  font-size: 1.3rem;
}

.plan-card-item {
  position: relative;
  padding: 8px 0 8px 28px;
  border-top: 1px solid var(--ink-faint);
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.4s ease;
}

.plan-card-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border: 1px solid rgba(20, 33, 45, 0.4);
  border-radius: 50%;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.plan-card-item.is-current {
  color: var(--ink);
}

.plan-card-item.is-current::before {
  border-color: var(--brass);
  box-shadow: 0 0 0 4px rgba(176, 134, 80, 0.18);
}

.plan-card-item.is-done {
  color: var(--ink);
}

.plan-card-item.is-done::before {
  border-color: var(--brass);
  background: var(--brass);
  box-shadow: inset 0 0 0 3px var(--paper);
}

.plan-card-bar {
  height: 3px;
  margin-top: 14px;
  border-radius: 3px;
  background: var(--ink-faint);
  overflow: hidden;
}

.plan-card-fill {
  height: 100%;
  background: var(--brass);
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.8s var(--ease);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(56px, 7vw, 96px);
}

.fact {
  padding: 26px 28px 0 0;
  border-top: 1px solid var(--ink);
}

.fact + .fact {
  padding-left: 28px;
  border-left: 1px solid var(--ink-faint);
}

.fact-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.fact-unit {
  margin-left: 4px;
  color: var(--brass-deep);
  font-size: 0.4em;
  font-style: italic;
}

.fact-text {
  max-width: 17em;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* path */

.path {
  background: var(--navy);
  color: var(--light);
}

.path-pin {
  padding: clamp(88px, 10vw, 140px) 0;
}

.path-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.path-progress {
  flex: 0 1 560px;
}

.path-bar {
  height: 2px;
  background: var(--light-faint);
  overflow: hidden;
}

.path-fill {
  height: 100%;
  background: var(--brass);
  transform: scaleX(0.25);
  transform-origin: left;
}

.path-dots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 16px;
}

.path-dot {
  color: rgba(244, 240, 233, 0.45);
  font-size: 0.86rem;
  font-weight: 600;
  transition: color 0.4s ease;
}

.path-dot span {
  display: block;
  margin-bottom: 2px;
  font-family: var(--serif);
  font-size: 0.8rem;
  font-style: italic;
  font-weight: 400;
}

.path-dot.is-active {
  color: var(--light);
}

.path-dot.is-active span {
  color: var(--brass);
}

.path-track {
  display: grid;
  gap: 28px;
  width: 100%;
  max-width: var(--max);
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding: 0 var(--gutter);
}

.step {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid var(--light-faint);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.step-media {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--radius) - 8px);
}

.step-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}

.step-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(4rem, 9vw, 8.5rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--brass);
}

.step-title {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.step-text {
  max-width: 26em;
  margin-top: 14px;
  color: var(--light-soft);
  font-size: 1.05rem;
}

.step-list {
  margin: 26px 0 30px;
  border-top: 1px solid var(--light-faint);
}

.step-list li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--light-faint);
  font-size: 0.95rem;
}

.step-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 12px;
  height: 7px;
  border-left: 1.5px solid var(--brass);
  border-bottom: 1.5px solid var(--brass);
  transform: rotate(-45deg);
}

.step .link {
  color: var(--light);
}

.step .link:hover {
  color: var(--sand);
}

.path.is-horizontal .path-pin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  padding: 96px 0 48px;
  overflow: hidden;
}

.path.is-horizontal .path-track {
  display: flex;
  gap: 4vw;
  width: max-content;
  max-width: none;
  margin: clamp(28px, 4vh, 56px) 0 0;
  padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}

.path.is-horizontal .step {
  width: min(78vw, 1080px);
  height: min(62vh, 600px);
}

.path.is-horizontal .step-media {
  height: 100%;
  aspect-ratio: auto;
}

/* cost */

.cost-inner,
.checklist-inner,
.faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}

.cost-media,
.checklist-media,
.faq-media {
  overflow: hidden;
  margin-top: 44px;
  border-radius: var(--radius);
}

.cost-img,
.checklist-img,
.faq-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cost-media {
  aspect-ratio: 4 / 3;
}

.cost-img {
  object-position: 40% 30%;
}

.sheet {
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 40px 80px -50px rgba(20, 33, 45, 0.4);
}

.sheet-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--ink);
}

.sheet-title {
  font-family: var(--serif);
  font-size: 1.5rem;
}

.sheet-note {
  align-self: flex-end;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sheet-table {
  width: 100%;
  border-collapse: collapse;
}

.sheet-table thead th {
  padding: 18px 0 10px;
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.sheet-table tbody th,
.sheet-table tbody td {
  padding: 18px 0;
  border-top: 1px dashed rgba(20, 33, 45, 0.24);
  text-align: left;
  vertical-align: top;
}

.sheet-table tbody th {
  width: 44%;
  padding-right: 20px;
  font-weight: 600;
}

.sheet-table tbody td {
  color: var(--ink-soft);
}

.row-num {
  display: inline-block;
  width: 34px;
  color: var(--brass-deep);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.sheet-total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink-faint);
}

.sheet-total-label {
  font-weight: 700;
}

.sheet-total-value {
  font-family: var(--serif);
  font-size: 1.6rem;
}

.sheet-total-note {
  flex-basis: 100%;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.sheet-warn {
  position: relative;
  margin-top: 24px;
  padding: 18px 20px 18px 52px;
  border-radius: 14px;
  background: var(--bone);
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.sheet-warn::before {
  content: "!";
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brass-deep);
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 700;
}

.sheet-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 30px;
}

/* checklist */

.checklist {
  background: var(--paper);
}

.checklist-media {
  aspect-ratio: 16 / 10;
}

.checklist-img {
  object-position: 30% 30%;
}

.tool {
  padding: clamp(28px, 3.4vw, 48px);
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius);
  background: var(--bone);
}

.tool-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.tool-title {
  font-family: var(--serif);
  font-size: 1.5rem;
}

.tool-count {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.tool-bar {
  height: 4px;
  margin: 18px 0 8px;
  border-radius: 4px;
  background: var(--ink-faint);
  overflow: hidden;
}

.tool-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.tick {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 18px 4px;
  border: 0;
  border-bottom: 1px solid var(--ink-faint);
  background: none;
  text-align: left;
  cursor: pointer;
}

.tick-box {
  position: relative;
  flex: 0 0 24px;
  height: 24px;
  margin-top: 1px;
  border: 1.5px solid var(--ink);
  border-radius: 7px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.tick-box::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--paper);
  border-bottom: 2px solid var(--paper);
  transform: rotate(45deg) scale(0);
  transition: transform 0.3s var(--ease);
}

.tick-text {
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.tick:hover .tick-box {
  border-color: var(--brass-deep);
}

.tick[aria-pressed="true"] .tick-box {
  border-color: var(--brass-deep);
  background: var(--brass-deep);
}

.tick[aria-pressed="true"] .tick-box::after {
  transform: rotate(45deg) scale(1);
}

.tick[aria-pressed="true"] .tick-text {
  color: var(--ink-soft);
  text-decoration: line-through;
  text-decoration-color: var(--brass);
}

.tool-cta {
  margin-top: 32px;
}

/* recovery */

.recovery {
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 12vw, 180px) 0;
  color: var(--light);
  background: var(--navy-deep);
}

.recovery-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.recovery-bg-img {
  width: 100%;
  height: 116%;
  margin-top: -8%;
  object-fit: cover;
}

.recovery-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15, 28, 40, 0.94) 0%, rgba(15, 28, 40, 0.82) 45%, rgba(15, 28, 40, 0.55) 100%);
}

.recovery-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}

.recovery-aside .link {
  margin-top: 34px;
}

.timeline {
  position: relative;
  padding-left: 44px;
}

.timeline-line {
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--light-faint);
}

.timeline-fill {
  position: absolute;
  inset: 0;
  background: var(--brass);
  transform: scaleY(0);
  transform-origin: top;
}

.mile {
  position: relative;
  padding: 0 0 44px;
}

.mile:last-child {
  padding-bottom: 0;
}

.mile::before {
  content: "";
  position: absolute;
  left: -44px;
  top: 8px;
  width: 15px;
  height: 15px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  background: var(--navy-deep);
}

.mile-when {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 300;
  line-height: 1.1;
}

.mile-text {
  max-width: 30em;
  margin-top: 8px;
  color: var(--light-soft);
}

/* surgeons */

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 60px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-head .lead {
  max-width: 26em;
  margin-top: 0;
}

.doctors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.doctor {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
}

.doctor-media {
  overflow: hidden;
  aspect-ratio: 11 / 9;
}

.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform 1.2s var(--ease);
}

.doctor:hover .doctor-img {
  transform: scale(1.04);
}

.doctor-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(26px, 3vw, 40px);
}

.doctor-role {
  color: var(--brass-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.doctor-name {
  margin-top: 10px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  line-height: 1.1;
}

.doctor-text {
  margin-top: 16px;
  color: var(--ink-soft);
}

.doctor-meta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--ink-faint);
  font-size: 0.92rem;
  font-weight: 600;
}

.doctor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 28px;
}

/* faq */

.faq-media {
  aspect-ratio: 4 / 5;
  max-width: 380px;
}

.faq-aside .link {
  margin-top: 28px;
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.qa {
  border-bottom: 1px solid var(--ink-faint);
}

.qa-head {
  font-size: inherit;
}

.qa-btn {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 28px 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.qa-num {
  flex: 0 0 34px;
  color: var(--brass-deep);
  font-family: var(--serif);
  font-style: italic;
}

.qa-q {
  flex: 1;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 400;
  line-height: 1.25;
}

.qa-icon {
  position: relative;
  flex: 0 0 40px;
  height: 40px;
  border: 1px solid var(--ink-faint);
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.5s var(--ease);
}

.qa-icon::before,
.qa-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  margin: -0.75px 0 0 -6px;
  background: var(--ink);
  transition: transform 0.5s var(--ease), background 0.3s ease;
}

.qa-icon::after {
  transform: rotate(90deg);
}

.qa-btn[aria-expanded="true"] .qa-icon {
  background: var(--ink);
  transform: rotate(180deg);
}

.qa-btn[aria-expanded="true"] .qa-icon::before,
.qa-btn[aria-expanded="true"] .qa-icon::after {
  background: var(--light);
}

.qa-btn[aria-expanded="true"] .qa-icon::after {
  transform: rotate(0deg);
}

.qa-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease);
}

.qa-panel.is-open {
  grid-template-rows: 1fr;
}

.qa-inner {
  overflow: hidden;
}

.qa-a {
  max-width: 38em;
  padding: 0 60px 30px 54px;
  color: var(--ink-soft);
}

/* cta */

.cta {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(120px, 14vw, 200px) 0 clamp(64px, 8vw, 120px);
  background: var(--navy-deep);
  color: var(--light);
}

.cta-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cta-img {
  width: 100%;
  height: 116%;
  margin-top: -8%;
  object-fit: cover;
  object-position: 50% 35%;
}

.cta-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 28, 40, 0.86) 0%, rgba(15, 28, 40, 0.35) 55%, rgba(15, 28, 40, 0.15) 100%);
}

.cta-copy {
  position: relative;
}

.cta-title {
  max-width: 13em;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.cta-title em {
  color: var(--sand);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

/* footer */

.footer {
  padding: 72px 0 40px;
  background: var(--navy-deep);
  color: var(--light);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--light-faint);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.footer-nav a {
  color: var(--light-soft);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--light);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 40px;
  padding-top: 30px;
  color: var(--light-soft);
  font-size: 0.86rem;
}

.footer-legal {
  max-width: 44em;
}

.footer-legal strong {
  color: var(--light);
  font-weight: 600;
}

/* motion */

.motion [data-hero],
.motion [data-fade] {
  opacity: 0;
}

.motion [data-hero-line],
.motion [data-lines] .mask-line {
  transform: translateY(110%);
}

.motion [data-hero-media] {
  clip-path: inset(100% 0 0 0);
}

html:not(.motion) .timeline-fill {
  transform: scaleY(1);
}

/* responsive */

@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  .hero-inner,
  .cost-inner,
  .checklist-inner,
  .faq-inner,
  .recovery-inner,
  .doctors {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    max-width: 620px;
  }

  .plan-card {
    top: 18%;
    width: 210px;
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }

  .fact:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

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

  .step-media {
    aspect-ratio: 16 / 11;
  }

  .faq-media {
    display: none;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .brand-sub {
    display: none;
  }

  .header-cta {
    padding: 0 16px;
  }

  .plan-card {
    display: none;
  }

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

  .hero-index-link:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .hero-media {
    padding-left: 0;
  }

  .hero-frame-small {
    left: auto;
    right: -8px;
    bottom: 8px;
    width: 46%;
  }

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

  .fact,
  .fact + .fact {
    padding-left: 0;
    border-left: 0;
  }

  .path-dot {
    font-size: 0;
  }

  .path-dot span {
    font-size: 0.95rem;
  }

  .sheet-table tbody th,
  .sheet-table tbody td {
    display: block;
    width: 100%;
  }

  .sheet-table tbody td {
    padding-top: 0;
    padding-left: 34px;
    border-top: 0;
  }

  .sheet-table thead {
    display: none;
  }

  .qa-a {
    padding: 0 0 26px 54px;
  }

  .pill {
    width: 100%;
  }

  .header-cta {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

.admin-bar .header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .header {
    top: 46px;
  }
}

.bottom-footer * {
 font-size:13.76px
}

.bottom-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.bottom-footer {
    padding-top: 10px;
    opacity: 0.7;
}