/* Dr Eric Battista: editorial, calm, surgical precision. Black and white like his EB monogram. Playfair Display + Inter. */

@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }

:root {
	--ink: #111111;
	--ink-2: #1b1b1b;
	--ink-soft: #2e2e2e;
	--text: #1f1f1f;
	--muted: #5a5a5a;
	--bone: #f3f2ef;
	--paper: #fbfbfa;
	--white: #fff;
	--line: #e4e2dd;
	--line-2: #d2cfc8;
	--teal: #111111;
	--teal-2: #000000;
	--teal-soft: #efeeeb;
	--teal-light: #d8d8d8;
	--brass: #a7834a;
	--ok: #1f6f43;
	--err: #a32c2c;
	--serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--r: 14px;
	--r-lg: 22px;
	--gut: clamp(16px, 4vw, 40px);
	--max: 1240px;
	--sec: clamp(64px, 9vw, 120px);
	--shadow: 0 1px 2px rgba(15, 20, 24, .04), 0 12px 32px -12px rgba(15, 20, 24, .14);
	--shadow-lg: 0 2px 4px rgba(15, 20, 24, .04), 0 30px 60px -24px rgba(15, 20, 24, .28);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--text); font: 450 17.5px/1.7 var(--sans); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s var(--ease); }
a:hover { color: var(--teal-2); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; }
[hidden] { display: none !important; }
.sr, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 100; top: 12px; left: 12px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.ico { flex: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: 880px; }
.section { padding: var(--sec) 0; }
.section--tight { padding-top: 0; }
.wrap.section { padding-left: var(--gut); padding-right: var(--gut); }
.section--bone { background: var(--bone); }
.section--ink { background: var(--ink); color: #d6d6d6; }
.section--ink .h2 { color: #fff; }
.section__head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.section__lead { color: var(--muted); font-size: 1.08rem; margin: 14px 0 0; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--ink); line-height: 1.15; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.h2 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.9rem); }
.eyebrow { font: 600 .74rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin: 0 0 14px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--teal-light); }

/* Buttons */
.btn { --bg: var(--ink); --fg: #fff; --bd: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--bd); background: var(--bg); color: var(--fg); font: 600 .95rem/1.2 var(--sans); text-decoration: none; letter-spacing: .005em; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); white-space: nowrap; }
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(15, 20, 24, .45); }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--solid { --bg: var(--teal); --bd: var(--teal); }
.btn--solid:hover { --bg: var(--teal-2); --bd: var(--teal-2); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-2); }
.btn--ghost:hover { --bd: var(--ink); --fg: var(--ink); }
.btn--light { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .35); }
.btn--ghost-light:hover { --bd: #fff; --fg: #fff; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .88rem; }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--teal); }
.link-arrow .ico { transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(3px); }
.link-arrow--light { color: var(--teal-light); }
.link-arrow--light:hover { color: #fff; }
.linklike { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 251, 250, .94); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), background .3s var(--ease); }
@supports (backdrop-filter: blur(1px)) { .site-header { background: rgba(251, 251, 250, .82); backdrop-filter: saturate(1.4) blur(14px); } }
.site-header.is-scrolled { border-color: var(--line); }
.site-header__in { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); flex: none; }
.brand__eb { width: auto; height: 34px; }
.brand__text { display: flex; flex-direction: column; gap: 3px; padding-left: 14px; border-left: 1px solid var(--line-2); }
.brand__sig { width: auto; height: 26px; }
.brand__role { font: 600 .6rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.brand--light .brand__text { border-color: rgba(255, 255, 255, .25); }
.brand--light .brand__role { color: #a3a3a3; }
.brand--light .brand__eb { height: 44px; }
.brand--light .brand__sig { height: 32px; }

.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav__list > li { position: static; }
.nav__list > li > a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .94rem; border-radius: 8px; transition: color .2s, background .2s; }
.nav__list > li > a:hover, .nav__list > .current-menu-item > a, .nav__list > .current-page-ancestor > a { color: var(--teal); }
.nav__list .sub-menu { display: none; }
.nav__mobile-cta { display: none; }
.site-header__cta { display: flex; align-items: center; gap: 18px; }
.site-header__refer { font-weight: 600; font-size: .9rem; color: var(--ink); text-decoration: none; }
.site-header__refer:hover { color: var(--teal); }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.burger__close { display: none; }

/* Mega menu */
.has-mega > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(15, 20, 24, .25); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s; }
.has-mega:hover > .mega, .has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.has-mega:hover > a::after { transform: translateY(0) rotate(225deg); }
.mega__inner { max-width: var(--max); margin: 0 auto; padding: 36px var(--gut) 40px; display: grid; grid-template-columns: repeat(4, 1fr) 1.2fr; gap: 32px; }
.mega__cat { font: 600 .72rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega ul a { display: block; padding: 6px 0; color: var(--ink); text-decoration: none; font-size: .95rem; }
.mega ul a:hover { color: var(--teal); }
.mega__aside { background: var(--bone); border-radius: var(--r); padding: 22px; font-size: .92rem; color: var(--muted); }
.mega__aside p { margin: 0 0 14px; }
.mega__aside-t { font: 500 1.1rem/1.3 var(--serif); color: var(--ink) !important; }

/* Hero: full-width photo, like the original site */
.hero { position: relative; isolation: isolate; color: #fff; background: #1a1410; min-height: min(86vh, 820px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 30%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 10, 10, .78) 0%, rgba(10, 10, 10, .52) 38%, rgba(10, 10, 10, .06) 66%, rgba(10, 10, 10, 0) 100%), linear-gradient(0deg, rgba(10, 10, 10, .55) 0%, rgba(10, 10, 10, 0) 34%); }
.hero__in { flex: 1; display: flex; align-items: center; padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(48px, 6vw, 80px); }
.hero__text { max-width: 600px; }
.hero__title { color: #fff; font-size: clamp(2.6rem, 1.4rem + 4vw, 4.8rem); line-height: 1.03; letter-spacing: -.02em; margin-bottom: 22px; }
.hero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); color: rgba(255, 255, 255, .86); max-width: 33em; margin: 0 0 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__bar { border-top: 1px solid rgba(255, 255, 255, .18); background: rgba(10, 10, 10, .35); backdrop-filter: blur(6px); }
.hero__trust { list-style: none; margin: 0 auto; padding-top: 20px; padding-bottom: 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; }
.hero__trust li { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; line-height: 1.4; color: rgba(255, 255, 255, .72); }
.hero__trust strong { color: #fff; font-weight: 600; }
.hero__trust .ico { color: #fff; margin-top: 2px; opacity: .85; }

/* Intro */
.intro__in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro__media { margin: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.intro__media::after { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--line-2); border-radius: var(--r-lg); z-index: -1; }
.intro__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: var(--r-lg); }
.intro__text .h2 { margin-bottom: 22px; }
.intro__text .answer { margin: 28px 0; }

/* Prose */
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose ul, .prose ol, .prose table { margin-bottom: 0; }
.prose > p + p { margin-top: 1em; }
.prose h2 { font-size: clamp(1.55rem, 1.2rem + 1.1vw, 2.05rem); margin-top: 2em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose ul li::marker { color: var(--teal); }
.prose ol li::marker { color: var(--teal); font-weight: 600; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { font-weight: 500; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--teal); font: italic 400 1.2rem/1.55 var(--serif); color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; margin-top: 1.4em; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose thead th { text-align: left; font: 600 .76rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--bone); }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 140px; }
.prose tbody tr:hover td { background: rgba(242, 238, 231, .5); }
.prose--lead { font-size: 1.06rem; }
.prose--lead > p:first-child { font: 400 1.32rem/1.5 var(--serif); color: var(--ink); }

/* Answer box */
.answer { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px 22px 28px; box-shadow: var(--shadow); margin-bottom: 36px; max-width: 70ch; }
.answer::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--teal); }
.answer__k { font: 600 .7rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin: 0 0 8px; }
.answer__t { margin: 0; font-size: 1.04rem; color: var(--ink); }

/* Treatment cards */
.treat__groups { display: grid; gap: clamp(40px, 5vw, 64px); }
.treat__g { font: 600 .76rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid var(--line-2); }
.treat__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.treat__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tcard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; height: 100%; }
.tcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.tcard__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bone); }
.tcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tcard:hover .tcard__img img { transform: scale(1.04); }
.tcard__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.tcard__t { font: 500 1.25rem/1.25 var(--serif); color: var(--ink); }
.tcard__x { font-size: .92rem; color: var(--muted); line-height: 1.55; }
.tcard__more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .88rem; color: var(--teal); }
.tcard:hover .tcard__more .ico { transform: translateX(3px); }
.tcard__more .ico { transition: transform .25s var(--ease); }

/* Home: treatment index, one row per group with a cover photo and thumbnails */
.section--intro { padding-bottom: clamp(48px, 6vw, 80px); }
.section--treat { padding-top: clamp(56px, 7vw, 96px); }
.tindex { display: grid; gap: 20px; }
.tindex__group { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 24px clamp(28px, 4vw, 56px); padding: clamp(20px, 2.4vw, 28px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); align-items: start; }
.tindex__head { display: grid; gap: 18px; }
.tindex__cover { display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bone); }
.tindex__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tindex__group:hover .tindex__cover img { transform: scale(1.03); }
.tindex__g { font: 500 1.6rem/1.2 var(--serif); margin: 0; }
.tindex__n { display: block; margin-top: 8px; font: 600 .7rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tindex__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; align-content: start; }
.tindex__item a { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--line); height: 100%; }
.tindex__thumb { width: 88px; height: 66px; border-radius: 10px; overflow: hidden; background: var(--bone); }
.tindex__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tindex__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tindex__t { font: 500 1.12rem/1.3 var(--serif); color: var(--ink); }
.tindex__x { font-size: .86rem; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tindex__item .ico { transition: transform .25s var(--ease); }
.tindex__item a:hover .tindex__t { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.tindex__item a:hover .tindex__thumb img { transform: scale(1.08); }
.tindex__item a:hover .ico { transform: translateX(4px); }

/* How I work */
.how__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.how__head { position: sticky; top: calc(var(--header-h) + 32px); }
.how__head .h2 { margin-bottom: 28px; }
.how__media { margin: 0; }
.how__img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-lg); }
.how__list { list-style: none; margin: 0; padding: 0; }
.how__item { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 30px 0; border-top: 1px solid var(--line-2); }
.how__item:last-child { border-bottom: 1px solid var(--line-2); }
.how__n { font: italic 400 2rem/1 var(--serif); color: var(--teal); }
.how__t { font-size: 1.45rem; margin-bottom: 8px; }
.how__item p { margin: 0; color: var(--muted); }

/* Gallery */
.gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 220px); gap: 14px; }
.gallery__item { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--bone); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item--1 { grid-row: span 2; }
.gallery__item--2 { grid-column: span 2; }

.gallery__item--5 { grid-column: span 1; }
.gallery__item--6 { grid-column: span 1; }

/* Inline figures in articles */
.prose figure { margin: 2em 0; }
.prose figure img { width: 100%; height: auto; border-radius: var(--r); }
.prose figcaption { margin-top: 10px; font-size: .84rem; color: var(--muted); line-height: 1.5; }

/* Research */
.research__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.research__media { margin: 0; background: #fff; border-radius: var(--r-lg); padding: 14px; }
.research__img { width: 100%; border-radius: calc(var(--r-lg) - 8px); }
.research__text .h2 { margin-bottom: 26px; }
.research__paper { margin: 0 0 24px; padding: 22px 24px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r); background: rgba(255, 255, 255, .03); }
.research__paper p { margin: 0 0 12px; font: italic 400 1.28rem/1.45 var(--serif); color: #fff; }
.research__paper footer { font-size: .86rem; color: #a8a8a8; }
.research__paper cite { font-style: italic; }
.research__links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 26px; }

/* RefClin */
.refclin__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.refclin__text .h2 { margin-bottom: 8px; }
.refclin__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.refclin__media { margin: 0; }
.refclin__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }

/* Clinics */
.clinics__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.clinic { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.clinic__img { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bone); }
.clinic__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.clinic:hover .clinic__img img { transform: scale(1.03); }
.clinic__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.clinic--soon .clinic__img img { filter: grayscale(1); opacity: .85; }
.clinic--soon { border-style: dashed; border-color: var(--line-2); }
.clinic__k { margin: 0; font: 600 .7rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.clinic__t { font-size: 1.7rem; }
.clinic__a { display: flex; gap: 10px; margin: 6px 0 0; color: var(--muted); font-size: .96rem; }
.clinic__a .ico { color: var(--teal); margin-top: 4px; }
.clinic__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: auto; padding-top: 16px; }

/* Guides */
.guides__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gcard__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.gcard__link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--text); }
.gcard__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bone); }
.gcard__img img { width: 100%; height: 100%; object-fit: cover; }
.gcard__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.gcard__cat { font: 600 .7rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.gcard__t { font: 500 1.3rem/1.3 var(--serif); color: var(--ink); }
.gcard__x { font-size: .93rem; color: var(--muted); line-height: 1.55; }
.gcard__meta { margin-top: auto; padding-top: 8px; font-size: .82rem; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.pill { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; color: var(--ink); font-size: .9rem; font-weight: 500; }
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.nav-links { display: flex; gap: 8px; margin-top: 40px; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 8px; text-decoration: none; color: var(--ink); }
.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* FAQ */
.faq { margin-top: clamp(48px, 6vw, 72px); }
.faq__title { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); margin-bottom: 20px; }
.faq__list { border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; font: 500 1.14rem/1.4 var(--serif); color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__ico { color: var(--teal); transition: transform .3s var(--ease); }
.faq__item[open] .faq__ico { transform: rotate(45deg); }
.faq__a { padding: 0 48px 22px 0; color: var(--muted); }
.faq__a p { margin: 0; }
.faq__a p + p { margin-top: .8em; }

/* FAQ full width: heading on the left, questions on the right */
.faq-wide .faq { margin-top: 0; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 24px clamp(32px, 6vw, 96px); align-items: start; }
.faq-wide .faq__title { position: sticky; top: calc(var(--header-h) + 32px); font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.9rem); }

/* CTA */
.cta { background: var(--ink); color: #cfcfcf; padding: clamp(56px, 7vw, 96px) 0; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 0 0 60px rgba(255, 255, 255, .025), 0 0 0 120px rgba(255, 255, 255, .02); pointer-events: none; }
.cta__in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px 64px; align-items: center; position: relative; z-index: 1; }
.cta__title { color: #fff; font-size: clamp(1.9rem, 1.2rem + 2vw, 2.8rem); margin-bottom: 14px; }
.cta__text p { margin: 0; max-width: 36em; }
.cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

/* Page hero */
.phero { padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 64px); background: var(--bone); border-bottom: 1px solid var(--line); }
.phero__in { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.phero--img .phero__in { grid-template-columns: 1.1fr .9fr; }
.phero__title { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); line-height: 1.08; letter-spacing: -.015em; max-width: 18ch; }
.phero:not(.phero--img) .phero__title { max-width: 22ch; }
.phero__lead { color: var(--muted); font-size: 1.12rem; max-width: 40em; margin: 18px 0 0; }
.phero__meta { margin: 16px 0 0; color: var(--muted); font-size: .9rem; }
.phero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.phero__media { margin: 0; }
.phero__media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; font-size: .82rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal); }

/* Article layout with contents */
.article { display: block; }
.article--toc { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.article__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.toc { border-left: 1px solid var(--line-2); padding-left: 20px; }
.toc__t { font: 600 .7rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc a { color: var(--muted); text-decoration: none; font-size: .9rem; line-height: 1.4; display: block; transition: color .2s; }
.toc a:hover, .toc a.is-active { color: var(--teal); }
.side-cta { background: var(--ink); color: #cdcdcd; border-radius: var(--r); padding: 24px; font-size: .92rem; }
.side-cta p { margin: 0 0 16px; }
.side-cta__t { font: 500 1.2rem/1.3 var(--serif); color: #fff; }
.side-cta .btn { width: 100%; }
.hub { display: grid; gap: 48px; margin-top: 56px; }
.hub__g { font: 600 .76rem/1.3 var(--sans) !important; letter-spacing: .16em; text-transform: uppercase; color: var(--muted) !important; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid var(--line-2); }
.byline-note { display: flex; gap: 16px; align-items: center; margin-top: 48px; padding: 20px; border-radius: var(--r); background: var(--bone); font-size: .9rem; color: var(--muted); }
.byline-note p { margin: 0; }
.byline-note__img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }

/* Contact */
.contact__in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__text { margin-top: 48px; }
.treat__all { margin: 36px 0 0; }
.contact__side { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; }
.card p { margin: 0 0 8px; }
.card__k { font: 600 .7rem/1.3 var(--sans) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.card--teal { background: var(--ink); border-color: var(--ink); color: #d4d4d4; }
.card--teal .card__k { color: var(--teal-light); }

.cform { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.cform__hp { position: absolute; left: -9999px; }
.cform__who { border: 0; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.cform__legend { font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 10px; padding: 0; width: 100%; }
.chip { cursor: pointer; position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 500; font-size: .94rem; transition: all .2s var(--ease); }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.cform__dentist-note { background: var(--teal-soft); border-radius: 10px; padding: 14px 16px; font-size: .92rem; margin: -8px 0 24px; }
.cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .88rem; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: 450 1rem/1.4 var(--sans); color: var(--text); background: var(--paper); border: 1px solid var(--line-2); border-radius: 10px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s, background .2s; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235a5a5a' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(17, 17, 17, .08); }
.field.has-error input, .field.has-error textarea { border-color: var(--err); }
.field__err { color: var(--err); font-size: .84rem; margin: 0; }
.field__hint { font-size: .82rem; color: var(--muted); margin: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { cursor: pointer; font-weight: 500; position: relative; }
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--line-2); font-size: .92rem; transition: all .2s; }
.seg input:checked + span { border-color: var(--teal); background: var(--teal-soft); color: var(--teal-2); }
.seg input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 0; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); flex: none; }
.check.has-error { color: var(--err); }
.cform__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.cform__small { font-size: .82rem; color: var(--muted); margin: 0; }
.cform__status { margin-top: 20px; }
.cform__status p { margin: 0; padding: 14px 16px; border-radius: 10px; display: flex; gap: 10px; align-items: center; }
.cform__status .ok { background: #e9f3ec; color: var(--ok); }
.cform__status .err { background: #f8e8e8; color: var(--err); }
.cform.is-sending button[type=submit] { opacity: .6; pointer-events: none; }
.cform.is-sent .cform__grid, .cform.is-sent .cform__who, .cform.is-sent .check, .cform.is-sent .cform__foot, .cform.is-sent .cform__dentist-note { display: none; }

/* Footer */
.site-footer { background: var(--ink); color: #a8a8a8; font-size: .93rem; padding: clamp(56px, 7vw, 88px) 0 28px; }
.site-footer a { color: #e2e2e2; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer__cred { margin: 22px 0 10px; line-height: 1.6; }
.site-footer__roles { margin: 0 0 20px; }
.site-footer__h { font: 600 .7rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer__clinics li { display: flex; flex-direction: column; }
.site-footer__clinics strong { color: #fff; font-weight: 500; }
.site-footer__clinics + p { margin-top: 18px; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); display: grid; place-items: center; }
.social a:hover { border-color: #fff; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 24px; font-size: .84rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex !important; flex-wrap: wrap; gap: 8px 22px !important; }

/* Consent */
.consent { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 20px 22px; display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: center; font-size: .9rem; }
.consent[hidden] { display: none; }
.consent p { margin: 0; color: var(--muted); }
.consent__t { font: 500 1.08rem/1.3 var(--serif); color: var(--ink) !important; margin-bottom: 4px !important; }
.consent__opts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; }
.consent__opts label { display: inline-flex; gap: 6px; align-items: center; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

/* Motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
	.reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1180px) {
	.site-header__refer { display: none; }
	.nav__list > li > a { padding: 10px 9px; font-size: .9rem; }
	.mega__inner { grid-template-columns: repeat(4, 1fr); }
	.mega__aside { display: none; }
}

@media (max-width: 1024px) {
	:root { --header-h: 68px; }
	.burger { display: inline-flex; }
	.site-header__cta { display: none; }
	.nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper); padding: 16px var(--gut) 32px; overflow-y: auto; opacity: 0; transform: translateY(-10px); visibility: hidden; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; margin: 0; }
	.nav-open .nav { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
	.nav-open .burger__open { display: none; }
	.nav-open .burger__close { display: block; }
	.nav-open { overflow: hidden; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__list > li { border-bottom: 1px solid var(--line); }
	.nav__list > li > a { padding: 16px 4px; font: 500 1.35rem/1.3 var(--serif); }
	.has-mega > a::after { float: right; margin-top: 10px; }
	.mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; display: none; }
	.has-mega.is-open > .mega { display: block; }
	.has-mega:hover > .mega { opacity: 1; }
	.mega__inner { grid-template-columns: 1fr 1fr; padding: 0 4px 20px; gap: 20px; }
	.nav__mobile-cta { display: grid; gap: 10px; margin-top: 28px; }
	.nav__mobile-cta .btn { width: 100%; }
	.site-header.is-scrolled, .nav-open .site-header { backdrop-filter: none; background: var(--paper); }
	.hero__trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hero::after { background: linear-gradient(90deg, rgba(10,10,10,.8) 0%, rgba(10,10,10,.45) 60%, rgba(10,10,10,.2) 100%), linear-gradient(0deg, rgba(10,10,10,.6) 0%, rgba(10,10,10,0) 40%); }
	.faq-wide .faq { grid-template-columns: 1fr; }
	.tindex__group { grid-template-columns: 1fr; }
	.tindex__head { grid-template-columns: 160px 1fr; align-items: center; }
	.faq-wide .faq__title { position: static; }
	.intro__in, .how__in, .research__in, .refclin__in, .phero--img .phero__in, .contact__in { grid-template-columns: 1fr; }
	.intro__media { max-width: 460px; }
	.how__head { position: static; }
	.intro__media { position: relative; top: auto; }
	.refclin__media { order: -1; max-width: 520px; }
	.article--toc { grid-template-columns: 1fr; }
	.article__side { position: static; }
	.toc { display: none; }
	.contact__side { position: static; }
	.cta__in { grid-template-columns: 1fr; }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.guides__grid, .clinics__grid, .treat__grid--3, .treat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
	.gallery__item--2 { grid-column: span 2; }
}

@media (max-width: 680px) {
	body { font-size: 17px; }
	.hero { min-height: 0; }
	.hero__bg img { object-position: 42% 18%; }
	.hero::after { background: linear-gradient(0deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.7) 45%, rgba(10,10,10,.15) 100%); }
	.hero__in { padding-top: 46vh; padding-bottom: 32px; }
	.hero__trust { grid-template-columns: 1fr 1fr; gap: 14px; }
	.brand__eb { height: 28px; }
	.brand__sig { height: 22px; }
	.brand__text { padding-left: 10px; }
	.hero__actions .btn, .refclin__actions .btn, .cta__actions .btn { width: 100%; }
	.cta__actions { align-items: stretch; }
	.intro__media::after { display: none; }
	.cform__grid { grid-template-columns: 1fr; }
	.tindex__list { grid-template-columns: 1fr; }
	.tindex__head { grid-template-columns: 1fr; }
	.tindex__item a { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; }
	.tindex__thumb { width: 72px; height: 56px; }
	.guides__grid, .clinics__grid, .treat__grid--3, .treat__grid { grid-template-columns: 1fr; }
	.mega__inner { grid-template-columns: 1fr; }
	.gallery__grid { grid-auto-rows: 150px; gap: 10px; }
	.site-footer__top { grid-template-columns: 1fr; gap: 32px; }
	.consent { grid-template-columns: 1fr; }
	.consent__actions { justify-content: stretch; }
	.consent__actions .btn { flex: 1 1 auto; }
	.how__item { grid-template-columns: 44px 1fr; gap: 14px; }
	.faq__a { padding-right: 0; }
	.cform__foot .btn { width: 100%; }
	.prose th, .prose td { min-width: 120px; padding: 10px; }
}

@media (max-width: 360px) {
	.brand__role { display: none; }
	.hero__trust { grid-template-columns: 1fr; }
	.btn { white-space: normal; text-align: center; }
	.hero__title { font-size: 2.2rem; }
}
