/* =========================================================
   Евгения Суховетченко — личный сайт
   Editorial medical identity. No frameworks.
   ========================================================= */

:root {
  --paper: #f5f1e8;
  --paper-soft: #fbf9f4;
  --paper-deep: #ece6d9;
  --ink: #17211c;
  --ink-soft: #3b4740;
  --muted: #626b64;
  --line: #d8d0c1;
  --line-strong: #b9b0a0;
  --forest: #17251e;
  --forest-soft: #22342a;
  --accent: #9c4e35;
  --accent-soft: #c48f74;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Golos Text", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 88px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.028;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

p {
  margin: 0;
}

::selection {
  background: var(--forest);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 3000;
  padding: 12px 18px;
  background: var(--forest);
  color: var(--paper);
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

body.menu-open {
  overflow: hidden;
}

.container {
  width: min(100% - 96px, 1320px);
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.section--tight {
  padding: 76px 0;
}

/* ---------- type ---------- */

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
}

h1,
.h1 {
  font-family: var(--serif);
  font-size: clamp(54px, 7.4vw, 108px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.02em;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 4.4vw, 64px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.015em;
}

h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}

.eyebrow__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--accent);
}

.lead {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 32px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink-soft);
}

.muted {
  color: var(--muted);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 54px;
  padding: 15px 26px;
  border: 1px solid var(--forest);
  border-radius: 0;
  background: var(--forest);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.btn svg {
  flex: 0 0 auto;
  transition: transform 0.3s var(--ease);
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn:hover svg {
  transform: translateX(3px);
}

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

.btn--ghost:hover {
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
}

.btn--light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.btn--light:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: var(--ink);
}

.btn--small {
  min-height: 44px;
  padding: 11px 20px;
  font-size: 13px;
  gap: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 241, 232, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(245, 241, 232, 0.96);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 0 0 auto;
}

.brand__name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.005em;
}

.brand__role {
  font-size: 10.5px;
  line-height: 1;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 7px 0;
  font-size: 13.5px;
  line-height: 1.2;
  color: var(--ink-soft);
  white-space: nowrap;
}

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

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav__cta {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  background: none;
  border: 0;
  font-size: 13px;
  cursor: pointer;
}

.nav-toggle__mark {
  position: relative;
  width: 14px;
  height: 14px;
}

.nav-toggle__mark::before,
.nav-toggle__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s var(--ease);
}

.nav-toggle__mark::after {
  transform: rotate(90deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__mark::after {
  transform: rotate(0deg);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(32px, 5vw, 84px);
  min-height: calc(100vh - var(--header-h) - 1px);
  min-height: calc(100svh - var(--header-h) - 1px);
  align-items: stretch;
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(52px, 7vw, 96px) 0 clamp(52px, 6vw, 88px);
}

.hero__kicker {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-style: italic;
  color: var(--accent);
}

.hero h1 {
  margin-top: 26px;
}

.hero h1 .line {
  display: block;
}

.hero h1 .line--indent {
  padding-left: 0.09em;
}

.hero h1 .h1-tail {
  display: block;
  max-width: 21ch;
  margin-top: 30px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.1vw, 29px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: 0;
  color: var(--ink-soft);
}

.hero__lede {
  max-width: 37ch;
  margin-top: 30px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.58;
  color: var(--ink-soft);
}

.hero__body {
  max-width: 44ch;
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 38px;
}

.hero__figure {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: clamp(24px, 4vw, 60px) 0 clamp(24px, 3vw, 40px)
    clamp(24px, 4vw, 56px);
  border-left: 1px solid var(--line);
}

.portrait {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}

.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 28%;
  mix-blend-mode: multiply;
  filter: grayscale(1) contrast(1.03);
}

.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(245, 241, 232, 0) 60%,
    rgba(245, 241, 232, 0.34) 100%
  );
  pointer-events: none;
}

.hero__figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}

.hero__figure figcaption span:last-child {
  text-align: right;
}

.hero__vertical {
  position: absolute;
  top: 50%;
  right: -12px;
  font-size: 10px;
  color: var(--muted);
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

/* ---------- facts ---------- */

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

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

.fact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 30px 26px 32px;
  border-left: 1px solid var(--line);
}

.fact:first-child {
  padding-left: 0;
  border-left: 0;
}

.fact__value {
  font-family: var(--serif);
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 400;
  line-height: 1;
}

.fact__label {
  max-width: 22ch;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}

/* ---------- position / dark band ---------- */

.position {
  background: var(--forest);
  color: var(--paper);
}

.position__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: end;
}

.position .eyebrow {
  color: rgba(245, 241, 232, 0.55);
}

.position h2 {
  max-width: 16ch;
  margin-top: 28px;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.99;
}

.position h2 em {
  font-style: italic;
  color: var(--accent-soft);
}

.position__body {
  max-width: 42ch;
  padding-bottom: 6px;
  color: rgba(245, 241, 232, 0.72);
  font-size: 15.5px;
  line-height: 1.68;
}

.position__body p + p {
  margin-top: 16px;
}

.position__signature {
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid rgba(245, 241, 232, 0.2);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  color: rgba(245, 241, 232, 0.86);
}

.position__privacy {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(245, 241, 232, 0.62);
}

/* ---------- section head ---------- */

.section-head {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 56px;
}

.section-head h2 {
  max-width: 22ch;
}

.section-head__note {
  max-width: 34ch;
  margin-top: 20px;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--muted);
}

/* ---------- reasons ---------- */

.reason-list {
  border-top: 1px solid var(--line-strong);
}

.reason {
  display: grid;
  grid-template-columns: 56px minmax(0, 0.92fr) minmax(0, 1.08fr) 44px;
  gap: 32px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease), padding 0.3s var(--ease);
}

.reason:hover {
  padding-left: 20px;
  padding-right: 20px;
  background: rgba(251, 249, 244, 0.6);
}

.reason__num {
  padding-top: 7px;
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  color: var(--accent);
}

.reason__title {
  font-family: var(--serif);
  font-size: clamp(27px, 2.5vw, 38px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.reason__desc {
  max-width: 44ch;
  padding-top: 5px;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--muted);
}

.reason__arrow {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.reason:hover .reason__arrow {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--paper);
  transform: translateX(3px);
}

/* ---------- method ---------- */

.method {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}

.method__aside {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.method__aside h2 {
  max-width: 13ch;
  margin-top: 26px;
}

.method__quote {
  max-width: 20ch;
  margin-top: 32px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 30px);
  font-style: italic;
  line-height: 1.28;
  color: var(--ink-soft);
}

.method__note {
  max-width: 34ch;
  margin-top: 26px;
  padding-left: 18px;
  border-left: 1px solid var(--accent);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.protocol {
  border-top: 1px solid var(--line-strong);
}

.protocol__row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.protocol__num {
  padding-top: 2px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.protocol__row h3 {
  margin-bottom: 5px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
}

.protocol__row p {
  max-width: 54ch;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

.protocol__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- media / video ---------- */

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

.media__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.media__copy h2 {
  max-width: 12ch;
  margin-top: 24px;
}

.media__copy p {
  max-width: 34ch;
  margin-top: 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

.video-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--forest);
  cursor: pointer;
  text-align: left;
}

.video-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 50% 22%;
  filter: grayscale(1) brightness(0.62) contrast(1.05);
  transition: transform 0.7s var(--ease), opacity 0.4s ease;
}

.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(23, 37, 30, 0.1) 0%,
    rgba(23, 37, 30, 0.62) 100%
  );
}

.video-card:hover img {
  transform: scale(1.015);
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(245, 241, 232, 0.8);
  border-radius: 50%;
  color: var(--paper);
  transform: translate(-50%, -50%);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.video-card:hover .video-card__play {
  background: var(--paper);
  color: var(--forest);
}

.video-card__caption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(245, 241, 232, 0.28);
  font-size: 12px;
  color: rgba(245, 241, 232, 0.82);
}

/* ---------- visit ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}

.step {
  min-height: 260px;
  padding: 28px 30px 6px 0;
  border-right: 1px solid var(--line);
}

.step + .step {
  padding-left: 30px;
}

.step:last-child {
  border-right: 0;
}

.step__num {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: var(--accent);
}

.step h3 {
  margin-top: 26px;
  font-size: clamp(24px, 2vw, 30px);
}

.step p {
  max-width: 34ch;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.62;
  color: var(--muted);
}

.visit__foot {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.visit__foot-label {
  font-size: 12px;
  color: var(--muted);
}

.visit__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.visit__list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--ink-soft);
}

.visit__list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 1px;
  background: var(--accent);
}

/* ---------- clinics ---------- */

.clinics {
  padding-bottom: 112px;
}

.clinics__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 20px;
}

.clinic {
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: 38px 40px 34px;
  border: 1px solid var(--line-strong);
  background: var(--paper-soft);
}

.clinic--primary {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--paper);
}

.clinic__top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
}

.clinic--primary .clinic__top {
  color: rgba(245, 241, 232, 0.55);
}

.clinic__index {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: var(--accent);
}

.clinic--primary .clinic__index {
  color: var(--accent-soft);
}

.clinic h3 {
  margin-top: 46px;
  font-size: clamp(34px, 3.2vw, 46px);
  line-height: 1;
}

.clinic__branch {
  margin-top: 7px;
  font-size: 12px;
  color: var(--muted);
}

.clinic__role {
  max-width: 30ch;
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  line-height: 1.35;
  color: var(--ink-soft);
}

.clinic--primary .clinic__role {
  color: rgba(245, 241, 232, 0.7);
}

.clinic__meta {
  display: grid;
  gap: 8px;
  margin-top: 30px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

.clinic--primary .clinic__meta {
  color: rgba(245, 241, 232, 0.66);
}

.clinic__meta strong {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-soft);
}

.clinic--primary .clinic__meta strong {
  color: rgba(245, 241, 232, 0.62);
}

.clinic__meta a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.clinic__meta a:hover {
  color: var(--accent);
}

.clinic__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: auto;
  padding-top: 34px;
}

.clinic--primary .btn--light:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: var(--ink);
}

.clinic__link {
  font-size: 13px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  opacity: 0.7;
  transition: opacity 0.25s ease;
}

.clinic__link:hover {
  opacity: 1;
}

.clinic__note {
  margin-top: 18px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
}

.clinic--primary .clinic__note {
  color: rgba(245, 241, 232, 0.62);
}

.price-note {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 28px 40px;
  align-items: start;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.price-note__label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.price-note p {
  max-width: 56ch;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--ink-soft);
}

.price-note .text-link {
  justify-self: end;
}

/* ---------- doctors ---------- */

.doctors {
  border-top: 1px solid var(--line);
  background: var(--paper-soft);
}

.doctors__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: start;
}

.doctors__intro h2 {
  max-width: 15ch;
  margin-top: 26px;
}

.doctors__intro p {
  max-width: 34ch;
  margin-top: 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

.doctors__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.doctors__list li {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.doctors__list span {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}

.doctors__list p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.doctors__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 32px;
}

.doctors__cta-note {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 28px;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr) minmax(0, 0.65fr);
  gap: 48px;
}

.footer__name {
  max-width: 12ch;
  font-family: var(--serif);
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 300;
  line-height: 1;
}

.footer__role {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
}

.footer__col-title {
  margin-bottom: 16px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.footer__col ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__col a,
.footer__col span {
  font-size: 13.5px;
  color: var(--ink-soft);
}

.footer__col a:hover {
  color: var(--accent);
}

.footer__legal {
  display: grid;
  gap: 8px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}

.footer__legal strong {
  font-weight: 500;
  color: var(--ink-soft);
}

.footer__legal--flush {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  font-size: 11px;
  color: var(--muted);
}

/* ---------- inner pages / article ---------- */

.article-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
}

.article-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 64px;
  align-items: end;
}

.article-hero h1 {
  max-width: 15ch;
  margin-top: 26px;
  font-size: clamp(44px, 5.6vw, 82px);
  line-height: 0.98;
}

.article-hero__lede {
  max-width: 54ch;
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  font-style: italic;
  line-height: 1.38;
  color: var(--ink-soft);
}

.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 30px;
  font-size: 11.5px;
  color: var(--muted);
}

.author-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.author-card img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  object-position: 50% 25%;
  border-radius: 50%;
  filter: grayscale(1);
  mix-blend-mode: multiply;
}

.author-card p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.author-card strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
}

.article-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 700px);
  justify-content: center;
  gap: 72px;
  padding: 76px 0 40px;
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 36px);
  align-self: start;
}

.toc__title {
  margin-bottom: 16px;
  font-size: 11px;
  color: var(--muted);
}

.toc a {
  display: block;
  padding: 7px 0 7px 15px;
  border-left: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.toc a:hover {
  color: var(--ink);
}

.toc a.is-active {
  border-left-color: var(--accent);
  color: var(--ink);
}

.article-body {
  max-width: 700px;
  font-size: 17px;
  line-height: 1.76;
  color: var(--ink-soft);
}

.article-body > p:first-child {
  font-size: 19px;
  color: var(--ink);
}

.article-body h2 {
  margin: 64px 0 20px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: clamp(30px, 3vw, 42px);
  scroll-margin-top: calc(var(--header-h) + 28px);
}

.article-body h3 {
  margin: 38px 0 12px;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
}

.article-body p {
  margin: 0 0 20px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 24px;
  padding-left: 20px;
}

.article-body li {
  margin-bottom: 10px;
  padding-left: 4px;
}

.article-body li::marker {
  color: var(--accent);
}

.article-body strong {
  font-weight: 500;
  color: var(--ink);
}

.article-body em {
  font-family: var(--serif);
  font-size: 1.08em;
  font-style: italic;
}

.article-body blockquote {
  margin: 40px 0;
  padding: 6px 0 6px 28px;
  border-left: 1px solid var(--accent);
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-style: italic;
  line-height: 1.3;
  color: var(--ink);
}

.article-body blockquote p {
  margin: 0;
}

.callout {
  margin: 34px 0;
  padding: 22px 24px;
  border: 1px solid var(--line-strong);
  background: rgba(251, 249, 244, 0.7);
  font-size: 14.5px;
  line-height: 1.65;
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout--alert {
  border-color: rgba(164, 84, 58, 0.45);
  background: rgba(164, 84, 58, 0.055);
}

.callout__label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
}

.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 30px 0 34px;
  border-top: 1px solid var(--line-strong);
}

.compare > div {
  padding: 22px 24px 6px 0;
}

.compare > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.compare h3 {
  margin: 0 0 12px;
}

.compare ul {
  margin-bottom: 16px;
  padding-left: 18px;
  font-size: 14.5px;
}

.faq {
  margin: 28px 0 8px;
  border-bottom: 1px solid var(--line);
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 21px 42px 21px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.25;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  top: 17px;
  right: 4px;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq__answer {
  max-width: 62ch;
  padding: 0 42px 24px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.article-cta {
  margin: 64px 0 0;
  padding: 40px;
  background: var(--forest);
  color: var(--paper);
}

.article-cta h2 {
  max-width: 16ch;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  font-size: clamp(30px, 3.2vw, 44px);
  color: var(--paper);
}

.article-cta p {
  max-width: 44ch;
  color: rgba(245, 241, 232, 0.68);
  font-size: 14.5px;
}

.article-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 26px;
}

.article-cta__link {
  font-size: 13px;
  border-bottom: 1px solid rgba(245, 241, 232, 0.5);
  padding-bottom: 3px;
  color: rgba(245, 241, 232, 0.85);
}

.article-disclaimer {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- legal page ---------- */

.legal {
  padding: 72px 0 96px;
}

.legal__body {
  max-width: 760px;
}

.legal h1 {
  font-size: clamp(40px, 5vw, 66px);
}

.legal h2 {
  margin: 42px 0 14px;
  font-size: 28px;
}

.legal p,
.legal li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.legal p {
  margin-bottom: 14px;
}

.legal ul {
  margin: 0 0 18px;
  padding-left: 20px;
}

.legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal__updated {
  margin-top: 26px;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- dialog ---------- */

dialog {
  width: min(560px, calc(100% - 32px));
  max-width: 560px;
  padding: 0;
  border: 0;
  background: transparent;
}

dialog::backdrop {
  background: rgba(23, 37, 30, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.dialog__inner {
  position: relative;
  padding: 38px 38px 32px;
  background: var(--paper-soft);
  border: 1px solid var(--line-strong);
}

.dialog__inner h3 {
  margin: 10px 0 12px;
  font-size: 30px;
}

.dialog__inner p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  margin-top: 24px;
}

.dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  background: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

/* ---------- reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ---------- responsive ---------- */

@media (max-width: 1120px) {
  .nav {
    gap: 22px;
  }

  .nav a {
    font-size: 13px;
  }

  .hero__grid {
    gap: 40px;
  }

  .reason {
    grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr) 38px;
    gap: 22px;
  }

  .article-layout {
    grid-template-columns: 180px minmax(0, 700px);
    gap: 48px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 74px;
  }

  .container {
    width: calc(100% - 48px);
  }

  .site-header,
  .site-header.is-scrolled {
    background: var(--paper);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 24px 24px 28px;
    overflow-y: auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .nav a::after {
    display: none;
  }

  .nav .nav__cta {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding: 15px 22px;
    border-bottom: 0;
    font-size: 14px;
    color: var(--paper);
  }

  .nav .nav__cta:hover {
    color: var(--paper);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header__actions .btn {
    display: none;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0;
  }

  .hero__copy {
    padding: 58px 0 40px;
  }

  .hero__figure {
    max-width: 560px;
    margin-inline: auto;
    padding: 0 0 42px;
    border-left: 0;
  }

  .hero__vertical {
    display: none;
  }

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

  .fact {
    padding: 24px 20px;
    border-top: 1px solid var(--line);
  }

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

  .fact:nth-child(-n + 2) {
    border-top: 0;
  }

  .position__grid,
  .method__grid,
  .media__grid,
  .doctors__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .method__aside {
    position: static;
  }

  .method__aside h2 {
    max-width: 17ch;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  .section-head h2 {
    max-width: 19ch;
  }

  .reason {
    grid-template-columns: 38px minmax(0, 1fr) 34px;
    gap: 18px;
  }

  .reason__desc {
    grid-column: 2 / 3;
    padding-top: 0;
  }

  .reason__arrow {
    grid-row: 1;
    grid-column: 3;
    width: 34px;
    height: 34px;
  }

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

  .step,
  .step + .step {
    min-height: 0;
    padding: 26px 0 30px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step:last-child {
    border-bottom: 0;
  }

  .visit__foot {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .clinic {
    min-height: 0;
  }

  .price-note {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .price-note .text-link {
    justify-self: start;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer__top > div:first-child {
    grid-column: 1 / -1;
  }

  .article-hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .author-card {
    max-width: 380px;
  }

  .article-layout {
    display: block;
    padding-top: 52px;
  }

  .toc {
    display: none;
  }

  .article-body {
    max-width: 720px;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 36px);
  }

  .section {
    padding: 74px 0;
  }

  .section--tight {
    padding: 56px 0;
  }

  .brand__name {
    font-size: 19px;
  }

  .brand__role {
    display: none;
  }

  .hero__copy {
    padding: 46px 0 36px;
  }

  .hero h1 {
    font-size: clamp(46px, 13vw, 68px);
  }

  .hero h1 .h1-tail {
    margin-top: 24px;
    font-size: 20px;
  }

  .hero__lede {
    font-size: 16px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .btn,
  .hero__actions .text-link {
    width: 100%;
  }

  .hero__actions .text-link {
    justify-content: space-between;
  }

  .portrait img {
    aspect-ratio: 1 / 1.08;
    object-position: 50% 22%;
  }

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

  .fact {
    padding: 20px 14px;
  }

  .fact__value {
    font-size: 24px;
  }

  .fact__label {
    font-size: 11.5px;
  }

  .position h2 {
    font-size: 39px;
  }

  .reason {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 14px;
    padding: 26px 0;
  }

  .reason:hover {
    padding-left: 0;
    padding-right: 0;
    background: transparent;
  }

  .reason__title {
    font-size: 27px;
  }

  .reason__desc {
    grid-column: 2 / 3;
    font-size: 13.5px;
  }

  .reason__arrow {
    display: none;
  }

  .method__quote {
    font-size: 23px;
  }

  .protocol__row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
  }

  .video-card__play {
    width: 62px;
    height: 62px;
  }

  .video-card__caption {
    left: 16px;
    right: 16px;
    bottom: 14px;
    font-size: 10.5px;
  }

  .clinic {
    padding: 28px 24px 26px;
  }

  .clinic h3 {
    margin-top: 32px;
  }

  .clinic__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .clinic__actions .btn {
    width: 100%;
  }

  .doctors__list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

  .footer__top > div:first-child {
    grid-column: auto;
  }

  .footer__bottom {
    flex-direction: column;
  }

  .article-hero {
    padding: 48px 0 40px;
  }

  .article-body {
    font-size: 16px;
    line-height: 1.72;
  }

  .article-body h2 {
    margin-top: 48px;
  }

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

  .compare > div + div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .article-cta {
    padding: 28px 24px;
  }

  .article-cta__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .article-cta__actions .btn {
    width: 100%;
  }

  .dialog__inner {
    padding: 30px 24px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
