/* Dr. Tural Mirzəyev — üz-çənə cərrahı. Design system: bone/ivory paper, surgical blue, amber planning marks. */

/* ------------------------------------------------------------------ tokens */
:root {
  --bg: #F6F4EF;
  --surface: #FFFFFF;
  --ink: #0E1F2C;
  --ink-2: #354552;
  --ink-3: #5B6A75;
  --line: #DCD6CA;
  --line-2: #E8E3D9;
  --blue: #134A6B;
  --blue-2: #1F6F9F;
  --blue-3: #0D3852;
  --blue-tint: #E7EFF4;
  --blue-tint-2: #D3E2EB;
  --amber: #D9822B;
  --amber-tint: #F8ECDD;
  --red: #A8322B;
  --red-tint: #FBECE9;
  --grid: rgba(19, 74, 107, .055);
  --grid-major: rgba(19, 74, 107, .09);
  --shadow-1: 0 1px 2px rgba(14, 31, 44, .05), 0 6px 18px rgba(14, 31, 44, .06);
  --shadow-2: 0 18px 50px rgba(14, 31, 44, .14), 0 2px 6px rgba(14, 31, 44, .06);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --font: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --header-h: 72px;
  --gutter: 20px;
  --card-bg: var(--surface);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-2); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--blue-3); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.18; letter-spacing: -.01em; text-wrap: balance; color: var(--ink); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.15rem); }
h3 { font-size: 1.15rem; line-height: 1.3; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue-tint-2); color: var(--ink); }
[hidden] { display: none !important; }
dialog:not([open]) { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.i { width: 1.25rem; height: 1.25rem; flex: none; display: inline-block; vertical-align: middle; }
.i--sm { width: 1rem; height: 1rem; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.main { display: block; }
.hero__inner, .intro, .visit, .media-row, .profile, .split, .contact-grid, .booking-page, .faq-layout, .doc, .summary__grid, .nf__grid, .footer__grid, .sitemap, .records, .skills, .qa-list, .form, .chapters { grid-template-columns: minmax(0, 1fr); }
.section { padding-block: clamp(56px, 4rem + 2vw, 96px); }
.section--first { padding-top: clamp(32px, 2rem + 1vw, 48px); }
.section--tint { background: var(--surface); --card-bg: var(--bg); border-block: 1px solid var(--line-2); }
.section--last { padding-bottom: clamp(64px, 4rem + 3vw, 112px); }

.grid { --cols: 1; display: grid; gap: 18px; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); list-style: none; }
.grid > * { min-width: 0; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { --cols: 2; } }
@media (min-width: 1024px) { .grid--3 { --cols: 3; } .grid--4 { --cols: 4; } }
.cards, .strip, .path, .cases, .values, .principles, .courses, .skills, .records, .chapters, .jumps, .results, .checks { list-style: none; margin: 0; padding: 0; }

/* ------------------------------------------------------------------ small components */
.badge {
  display: inline-grid; place-items: center; flex: none;
  width: 1.75rem; height: 1.75rem; border-radius: 9px;
  background: var(--blue-tint); color: var(--blue);
}
.badge .i { width: 1.05rem; height: 1.05rem; }
.badge--lg { width: 2.75rem; height: 2.75rem; border-radius: 13px; }
.badge--lg .i { width: 1.4rem; height: 1.4rem; }

.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  margin: 0 0 .9rem; font-size: .8125rem; font-weight: 500; letter-spacing: .01em;
  color: var(--blue); line-height: 1.3;
}
.kicker > span:not(.badge) { min-width: 0; }

.link-arrow { display: inline; width: fit-content; font-weight: 500; text-decoration: none; color: var(--blue-2); }
.link-arrow span { text-decoration: underline; text-decoration-color: rgba(31, 111, 159, .35); text-underline-offset: .22em; }
.link-arrow .i { display: inline-block; margin-left: .3rem; vertical-align: -.15em; transition: translate .2s var(--ease); }
.link-arrow:hover span { text-decoration-color: currentColor; }
.link-arrow:hover .i { translate: 3px 0; }
.more { margin-top: 1.4rem; }
.more--center { text-align: center; margin-top: 2rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 44px; padding: .55rem 1.15rem; border-radius: 12px; border: 1px solid transparent;
  font-weight: 500; font-size: .9375rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .18s, color .18s, box-shadow .18s, translate .18s;
}
.btn--cta { background: var(--blue); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 6px 16px rgba(19, 74, 107, .22); }
.btn--cta:hover { background: var(--blue-3); color: #fff; }
.btn--cta .i { width: 1.15rem; height: 1.15rem; }
.btn--submit { background: var(--ink); color: #fff; width: 100%; min-height: 50px; font-size: 1rem; }
.btn--submit:hover { background: #1c3446; color: #fff; }

.icon-btn {
  display: inline-grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  text-decoration: none; transition: border-color .18s, color .18s, background-color .18s;
}
.icon-btn:hover { border-color: var(--blue-2); color: var(--blue); }
.icon-btn--solid { background: var(--blue); border-color: var(--blue); color: #fff; }
.icon-btn--solid:hover { background: var(--blue-3); color: #fff; }

.cicons { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.cicon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px;
  border: 1px solid var(--line); background: var(--surface); color: var(--blue);
  text-decoration: none; transition: background-color .18s, color .18s, border-color .18s, translate .18s;
}
.cicon:hover { background: var(--blue); border-color: var(--blue); color: #fff; translate: 0 -1px; }
.cicons--lg .cicon { width: 50px; height: 50px; border-radius: 14px; }
.cicons--lg .cicon .i { width: 1.4rem; height: 1.4rem; }

.chip {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 38px;
  padding: .4rem .85rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2); font-size: .875rem; font-weight: 500;
  text-decoration: none; white-space: nowrap; transition: border-color .18s, color .18s, background-color .18s;
}
.chip .i { color: var(--blue-2); }
.chip:hover { border-color: var(--blue-2); color: var(--blue); }
.chip.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip.is-on .i { color: #fff; }
.chip__n { font-family: var(--mono); font-size: .75rem; opacity: .7; }

.note-line { margin: 1.4rem 0 0; text-align: center; color: var(--ink-3); font-size: .9375rem; font-style: italic; }

/* ------------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 50; isolation: isolate; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(246, 244, 239, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background-color .2s;
}
.site-header.is-scrolled::before { border-bottom-color: var(--line-2); background: rgba(246, 244, 239, .94); }
.header__row { position: relative; display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; color: var(--ink); text-decoration: none; flex: 0 1 auto; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.bm-tile { fill: var(--blue); }
.bm-arc { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.bm-axis { stroke: var(--amber); stroke-width: 2.2; stroke-linecap: round; }
.bm-dot { fill: var(--amber); }
.brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.brand__name { font-weight: 600; font-size: 1.0625rem; white-space: nowrap; letter-spacing: -.005em; }
.brand__role { font-size: .78rem; color: var(--ink-3); white-space: nowrap; }
.brand:hover { color: var(--ink); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__item.has-mega { position: static; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 .6rem;
  color: var(--ink-2); font-size: .9375rem; font-weight: 400; text-decoration: none; white-space: nowrap; border-radius: 10px;
}
.nav__link:hover, .nav__item.is-open > .nav__link { color: var(--blue); }
.nav__link.is-current { color: var(--ink); }
.nav__link.is-current::after {
  content: ""; position: absolute; left: .6rem; right: .6rem; bottom: 6px; height: 2px; border-radius: 2px; background: var(--amber);
}
.has-panel > .nav__link { padding-right: .15rem; }
.nav__toggle {
  display: inline-grid; place-items: center; width: 26px; height: 32px; margin-right: .2rem; padding: 0;
  border: 0; border-radius: 8px; background: transparent; color: var(--ink-3);
}
.nav__toggle .i { width: 1rem; height: 1rem; transition: rotate .2s var(--ease); }
.nav__toggle:hover { color: var(--blue); }
.nav__item.is-open > .nav__toggle .i { rotate: 180deg; }

.nav__panel {
  position: absolute; top: calc(100% - 14px); left: -12px; z-index: 5; isolation: isolate;
  min-width: 290px; padding: 24px 10px 10px;
  visibility: hidden; opacity: 0; translate: 0 6px;
  transition: opacity .18s, translate .18s var(--ease), visibility 0s linear .18s;
}
.nav__panel::before {
  content: ""; position: absolute; inset: 14px 0 0; z-index: -1;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow-2);
}
.nav__panel--mega { left: var(--gutter); right: var(--gutter); top: calc(100% - 14px); padding: 26px 18px 14px; }
.nav__item.is-open > .nav__panel,
html:not(.js-menu) .nav__item.has-panel:hover > .nav__panel,
html:not(.js-menu) .nav__item.has-panel:focus-within > .nav__panel {
  visibility: visible; opacity: 1; translate: 0 0; transition: opacity .18s, translate .18s var(--ease), visibility 0s;
}
.panel-list { list-style: none; margin: 0; padding: 0; }
.panel-list a {
  display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; border-radius: 11px;
  color: var(--ink-2); text-decoration: none; font-size: .9375rem; line-height: 1.3;
}
.panel-list a .i { color: var(--blue-2); }
.panel-list a:hover { background: var(--blue-tint); color: var(--blue); }
.panel-list a > span { min-width: 0; }
.mega { display: grid; gap: 6px 18px; }
.mega--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mega--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega__group { min-width: 0; padding: 4px 0 8px; }
.mega__title { margin: 0 0 .25rem; padding: 0 .7rem; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.mega__foot { margin-top: 6px; padding: 12px .7rem 4px; border-top: 1px solid var(--line-2); font-size: .9375rem; }

.header__actions { display: flex; align-items: center; gap: 8px; margin-left: 12px; flex: none; }
.burger { display: none; }

@media (max-width: 1099.98px) {
  .nav { display: none; }
  .burger { display: inline-grid; }
  .header__actions { margin-left: auto; }
}
html.nav-collapse .nav { display: none; }
html.nav-collapse .burger { display: inline-grid; }
html.nav-collapse .header__actions { margin-left: auto; }

/* Phone: the single CTA docks to the bottom of the screen and never leaves it. */
@media (max-width: 767.98px) {
  :root { --header-h: 64px; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: 1rem; }
  .brand__role { font-size: .74rem; }
  .cta-home .btn--cta {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
    min-height: 52px; border-radius: 14px; font-size: 1rem;
    box-shadow: 0 10px 30px rgba(14, 31, 44, .28), 0 1px 0 rgba(255, 255, 255, .12) inset;
  }
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media (max-width: 379.98px) {
  .brand__role { display: none; }
}
.cta-slot:empty { display: none; }
.cta-slot .btn--cta { width: 100%; min-height: 50px; font-size: 1rem; }

/* ------------------------------------------------------------------ dialogs */
.dlg {
  padding: 0; border: 0; background: var(--surface); color: var(--ink);
  max-width: none; max-height: none; overscroll-behavior: contain;
}
.dlg::backdrop { background: rgba(14, 31, 44, .46); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.dlg__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line-2); }
.dlg__title { display: flex; align-items: center; gap: .6rem; margin: 0; font-weight: 600; font-size: 1.125rem; }
.dlg__body { padding: 20px; overflow-y: auto; min-height: 0; }
.dlg__foot { padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-2); display: grid; gap: 14px; }
.brand--sm .brand__mark { width: 34px; height: 34px; }

.dlg--drawer[open] {
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(420px, 100vw); height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; inset: 0 0 0 auto;
}
.drawer { overflow-y: auto; min-height: 0; padding: 10px 12px 18px; }
.drawer__group { border-bottom: 1px solid var(--line-2); }
.drawer__group > summary {
  display: flex; align-items: center; gap: .7rem; min-height: 54px; padding: 0 .6rem; list-style: none; cursor: pointer;
  font-size: 1.0625rem; font-weight: 500; color: var(--ink);
}
.drawer__group > summary::-webkit-details-marker { display: none; }
.drawer__group > summary > .i:first-child { color: var(--blue-2); }
.drawer__group > summary > span { flex: 1; min-width: 0; }
.drawer__chev { color: var(--ink-3); transition: rotate .2s var(--ease); }
.drawer__group[open] .drawer__chev { rotate: 180deg; }
.drawer__group .panel-list { padding: 0 0 6px; }
.drawer__sub { margin: .7rem .7rem .2rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.drawer__all { margin: .4rem .7rem 1rem; font-size: .9375rem; }
.drawer__link {
  display: flex; align-items: center; gap: .7rem; min-height: 54px; padding: 0 .6rem; border-bottom: 1px solid var(--line-2);
  color: var(--ink); font-size: 1.0625rem; font-weight: 500; text-decoration: none;
}
.drawer__link .i { color: var(--blue-2); }
.drawer__link:hover { color: var(--blue); }

.dlg--search[open] {
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(760px, calc(100vw - 32px)); max-height: min(720px, calc(100dvh - 64px));
  margin: 8vh auto auto; border-radius: var(--r-lg); box-shadow: var(--shadow-2);
}
.dlg--search .dlg__foot--search { border-top: 1px solid var(--line-2); }
.search { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 18px; border-bottom: 1px solid var(--line-2); }
.search__icon { color: var(--ink-3); display: grid; }
.search__input {
  flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; font-size: 1.125rem; outline: none;
}
.search__input::-webkit-search-cancel-button { display: none; }
.search__body { overflow-y: auto; min-height: 0; padding: 14px 18px 18px; }
.search__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 14px; padding: 0; }
.search__chips button, .search__chips a {
  min-height: 34px; padding: .3rem .8rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2); font-size: .875rem; text-decoration: none; display: inline-flex; align-items: center;
}
.search__chips button:hover, .search__chips a:hover { border-color: var(--blue-2); color: var(--blue); }
.results { display: grid; gap: 6px; }
.result__a {
  display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; border: 1px solid transparent;
  text-decoration: none; color: var(--ink);
}
.result__a:hover, .result__a:focus-visible { background: var(--blue-tint); border-color: var(--blue-tint-2); color: var(--ink); }
.result__kind { font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-2); }
.result__title { font-weight: 600; line-height: 1.3; }
.result__text { font-size: .9rem; color: var(--ink-3); line-height: 1.5; }
.result mark { background: var(--amber-tint); color: inherit; border-radius: 3px; padding: 0 1px; }
.search__count { margin: 0 0 10px; font-size: .875rem; color: var(--ink-3); }
.search__empty { display: grid; gap: 14px; padding: 14px; border-radius: 14px; background: var(--bg); color: var(--ink-2); }
.search__empty p { margin: 0; }

.dlg--booking[open] {
  display: grid; grid-template-rows: auto minmax(0, 1fr);
  width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px);
  margin: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-2);
}
.booking__intro { color: var(--ink-2); margin-bottom: 14px; }
.dlg--booking .cicons { margin-bottom: 18px; }

.dlg--card[open] {
  display: block; width: min(380px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto;
  margin: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-2);
}
.dlg__x { position: absolute; top: 12px; right: 12px; z-index: 1; }
.vcard { display: grid; justify-items: center; gap: 4px; padding: 30px 22px 22px; text-align: center; }
.vcard__photo { display: block; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; margin-bottom: 10px; box-shadow: 0 0 0 4px var(--blue-tint); }
.vcard__img { width: 100%; height: 100%; object-fit: cover; }
.vcard__name { margin: 0; font-size: 1.25rem; font-weight: 600; }
.vcard__role { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.vcard__place { margin: 2px 0 14px; color: var(--ink-3); font-size: .875rem; }
.vcard .cicons { justify-content: center; }
.vcard .cta-slot { width: 100%; margin-top: 16px; }

@media (max-width: 767.98px) {
  .dlg--search[open] { width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .dlg--booking[open] { width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
}

/* ------------------------------------------------------------------ forms */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field__label { font-size: .875rem; font-weight: 500; color: var(--ink-2); padding: 0; }
.input {
  width: 100%; min-height: 48px; padding: .6rem .9rem; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--ink); font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 3px var(--blue-tint-2); }
.input[aria-invalid="true"] { border-color: var(--red); }
.select {
  appearance: none; padding-right: 2.4rem; cursor: pointer;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23354552' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right .8rem center / 18px no-repeat;
}
.field-row { display: grid; gap: 14px; }
@media (min-width: 520px) { .field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.choices { display: flex; gap: 8px; }
.choice { position: relative; flex: 1; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: grid; place-items: center; min-height: 48px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); font-size: .9375rem; color: var(--ink-2); transition: all .15s;
}
.choice input:checked + span { border-color: var(--blue); background: var(--blue-tint); color: var(--blue); font-weight: 500; }
.choice input:focus-visible + span { outline: 2px solid var(--blue-2); outline-offset: 2px; }
.form .check { display: flex; align-items: flex-start; gap: .65rem; font-size: .875rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.form .check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--blue); }
.form__error { margin: 0; padding: .6rem .8rem; border-radius: 10px; background: var(--red-tint); color: var(--red); font-size: .875rem; }
.form__out { display: grid; gap: 10px; padding: 16px; border-radius: 16px; background: var(--blue-tint); }
.form__out-title { display: flex; align-items: center; gap: .5rem; margin: 0; font-weight: 600; color: var(--blue); }
.form__out-text { margin: 0; font-size: .875rem; color: var(--ink-2); }
.form__msg { min-height: 0; resize: none; font-size: .9375rem; line-height: 1.5; }
.form__out .cicon.is-done { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ------------------------------------------------------------------ page head */
.page-head { position: relative; padding: 26px 0 34px; isolation: isolate; }
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px), linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .55) 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .55) 55%, transparent 100%);
}
.page-head__grid { display: grid; gap: 24px; }
.page-head__text { min-width: 0; max-width: 860px; }
.page-head__title { font-size: clamp(2rem, 1.45rem + 2.2vw, 3.05rem); line-height: 1.1; letter-spacing: -.018em; }
.page-head__lead { margin-top: 1rem; max-width: 780px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.6; color: var(--ink-2); }
.page-head .kicker { margin-top: 18px; }

.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; font-size: .8125rem; color: var(--ink-3); }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; margin: 0 .6rem; border-top: 1.5px solid var(--line); border-right: 1.5px solid var(--line); rotate: 45deg; flex: none; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); }

.jumpnav { margin-top: -10px; padding-bottom: 6px; }
.jumpnav__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }

/* ------------------------------------------------------------------ section heads */
.section__head { max-width: 760px; margin-bottom: clamp(26px, 2rem + .5vw, 40px); }
.section__head h2 { margin: 0; }
.section__head .section__lead { margin: .8rem 0 0; color: var(--ink-2); font-size: 1.0625rem; }
.section__head .kicker { color: var(--blue); font-size: .8125rem; margin-bottom: .8rem; }

/* ------------------------------------------------------------------ cards */
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%;
  padding: 22px 22px 20px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--card-bg);
  color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .25s var(--ease);
}
a.card:hover, .card--link:hover { border-color: var(--blue-tint-2); box-shadow: var(--shadow-1); transform: translateY(-2px); color: var(--ink); }
.card__icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 4px;
  background: var(--blue-tint); color: var(--blue); transition: background-color .2s, color .2s;
}
.card__icon .i { width: 1.45rem; height: 1.45rem; }
a.card:hover .card__icon, .card--link:hover .card__icon { background: var(--blue); color: #fff; }
.card__title { font-size: 1.125rem; line-height: 1.3; }
.card__a { color: inherit; text-decoration: none; }
.card__a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__a:focus-visible { outline: none; }
.card--link:has(.card__a:focus-visible) { outline: 2px solid var(--blue-2); outline-offset: 3px; }
.card__text { margin: 0; color: var(--ink-2); font-size: .9375rem; line-height: 1.6; }
.card__more { margin-top: auto; padding-top: 6px; color: var(--blue-2); display: flex; justify-content: flex-end; }
.card__more .i { transition: translate .2s var(--ease); }
a.card:hover .card__more .i, .card--link:hover .card__more .i { translate: 4px 0; }
.card__links { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin: auto 0 0; padding-top: 6px; font-size: .9375rem; }
.card__cat { font-family: var(--mono); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--blue-2); }
.card--art .card__title { font-size: 1.0625rem; }

/* ------------------------------------------------------------------ home: hero + panorama */
.hero { position: relative; padding: clamp(28px, 2rem + 2vw, 64px) 0 0; overflow: hidden; overflow: clip; }
.hero__inner { display: grid; gap: 26px; }
.hero__text { max-width: 900px; }
.hero__title { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 3.9rem); line-height: 1.04; letter-spacing: -.025em; }
.hero__pre { display: block; font-size: .42em; line-height: 1.3; letter-spacing: 0; font-weight: 500; color: var(--blue); margin-bottom: .35em; }
.hero__name { display: block; }
.hero__lead { margin: 1.1rem 0 0; max-width: 720px; font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); color: var(--ink-2); line-height: 1.6; }
.hero__facts { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; grid-template-columns: minmax(0, 1fr); max-width: 1000px; }
@media (min-width: 560px) { .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .hero__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hero__facts li {
  display: flex; align-items: center; gap: .7rem; min-width: 0; padding: .7rem .9rem; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line-2); font-size: .9375rem; line-height: 1.35; color: var(--ink-2);
}
.hero__facts li > span:not(.badge) { min-width: 0; }

.pano { margin: clamp(26px, 2rem + 1vw, 44px) 0 0; }
.pano__frame {
  position: relative; container-type: inline-size; overflow: hidden; isolation: isolate;
  width: min(100% - 2 * var(--gutter), 1200px - 2 * var(--gutter)); margin-inline: auto;
  aspect-ratio: 3 / 1; border-radius: var(--r-lg); border: 1px solid var(--line-2); background-color: var(--surface);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px), linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; background-position: -1px -1px;
}
.pano__art { position: absolute; inset: 0; }
.pa-svg { width: 100%; height: 100%; }
.pa-bone { fill: none; stroke: rgba(14, 31, 44, .34); stroke-width: 1.5; }
.pa-line { fill: none; stroke: rgba(14, 31, 44, .2); stroke-width: 1.2; }
.pa-faint { fill: none; stroke: rgba(14, 31, 44, .14); stroke-width: 1.1; stroke-dasharray: 4 6; }
.pa-sinus { fill: rgba(31, 111, 159, .07); stroke: rgba(31, 111, 159, .42); stroke-width: 1.2; }
.pa-tooth { fill: #fff; stroke: rgba(14, 31, 44, .42); stroke-width: 1; }
.pa-pulp { fill: none; stroke: rgba(14, 31, 44, .16); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pa-bonefill { fill: rgba(191, 178, 154, .17); stroke: none; }
.pa-crest { fill: none; stroke: rgba(150, 132, 104, .55); stroke-width: 1; stroke-linejoin: round; }
.pa-nerve { fill: none; stroke: var(--amber); stroke-width: 1.7; stroke-dasharray: 7 5; stroke-linecap: round; }
.pa-foramen { fill: var(--amber); }
.pa-implant .pl-impl { fill: var(--blue); stroke: none; }
.pa-implant .pl-thread { stroke: rgba(255, 255, 255, .75); stroke-width: 1; }
.pa-axis { fill: none; stroke: var(--amber); stroke-width: 1.3; stroke-dasharray: 3 4; }
.pa-lead { fill: none; stroke: var(--ink-3); stroke-width: 1; }
.pa-dot { fill: var(--ink); }
.pa-lbl { font-family: var(--mono); font-size: 13px; font-weight: 500; fill: var(--ink-2); letter-spacing: .02em; }
.pano__scan { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; z-index: 2; background: var(--amber); box-shadow: 0 0 12px 2px rgba(217, 130, 43, .45); opacity: 0; pointer-events: none; }
.pano__scan::before { content: ""; position: absolute; top: 0; bottom: 0; right: 2px; width: 90px; background: linear-gradient(90deg, rgba(217, 130, 43, 0), rgba(217, 130, 43, .12)); }
.pano__cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 14px; padding-bottom: 6px; }
.pano__note { font-family: var(--mono); font-size: .75rem; color: var(--ink-3); letter-spacing: .02em; }
.pano__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; font-size: .8125rem; color: var(--ink-2); }
.pano__legend li { display: inline-flex; align-items: center; gap: .5rem; }
.key { display: inline-block; flex: none; width: 22px; height: 10px; border-radius: 3px; }
.key--sinus { background: rgba(31, 111, 159, .14); border: 1px solid rgba(31, 111, 159, .5); }
.key--nerve { height: 0; border-top: 2px dashed var(--amber); border-radius: 0; }
.key--plan { width: 10px; height: 14px; border-radius: 2px 2px 5px 5px; background: var(--blue); }
@media (max-width: 899.98px) {
  .pa-labels { display: none; }
  .pano__frame { aspect-ratio: 2.2 / 1; }
}
@media (max-width: 559.98px) {
  .pano__frame { aspect-ratio: 1.55 / 1; border-radius: var(--r); }
}

/* ------------------------------------------------------------------ home: intro + photo strip */
.intro { display: grid; gap: 22px 48px; }
.intro > * { min-width: 0; }
.intro__head h2 { margin: 0; }
@media (min-width: 1024px) {
  .intro { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); row-gap: 44px; }
  .intro__head { grid-column: 1; }
  .intro__text { grid-column: 2; }
  .intro .strip { grid-column: 1 / -1; }
}
.strip { display: grid; gap: 14px; grid-template-columns: .796fr .5616fr .5616fr; align-items: start; }
.strip__item { min-width: 0; }
.strip--pair { grid-template-columns: 1fr 1fr; }
@media (max-width: 639.98px) {
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip__item--wide { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .intro .strip { width: min(100%, 980px); margin-left: auto; }
}
.shot { position: relative; display: block; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--line-2); }
.shot__img { width: 100%; height: auto; }
.shot__scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(217, 130, 43, .9); box-shadow: 0 0 10px rgba(217, 130, 43, .6); opacity: 0; pointer-events: none; }
.shot__scan::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 46px; background: linear-gradient(to top, rgba(217, 130, 43, .16), rgba(217, 130, 43, 0)); }

/* ------------------------------------------------------------------ home: direction cards */
.card--dir { padding-bottom: 18px; }

/* ------------------------------------------------------------------ home: planning path */
.path { position: relative; display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); counter-reset: none; }
.path::before {
  content: ""; position: absolute; left: 25px; top: 26px; bottom: 26px; width: 2px; border-radius: 2px;
  background: var(--blue-tint-2);
  transform-origin: 50% 0;
}
.path__step { position: relative; display: grid; align-content: start; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; align-items: start; }
.path__node {
  grid-row: 1 / span 3; position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--blue-2); color: var(--blue);
}
.path__node .i { width: 1.4rem; height: 1.4rem; }
.path__num { font-family: var(--mono); font-size: .75rem; color: var(--blue-2); letter-spacing: .06em; margin-top: 4px; }
.path__title { margin: 2px 0 6px; font-size: 1.125rem; }
.path__text { margin: 0; color: var(--ink-2); font-size: .9375rem; }
@media (min-width: 900px) {
  .path { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .path::before { left: 26px; right: calc((100% - 84px) / 4 - 26px); top: 25px; bottom: auto; width: auto; height: 2px; transform-origin: 0 50%; }
  .path__step { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .path__node { grid-row: auto; margin-bottom: 14px; }
}

/* ------------------------------------------------------------------ home: principles + quote */
.principle { display: flex; gap: 16px; padding: 22px; border-radius: 18px; background: var(--card-bg); border: 1px solid var(--line-2); }
.principle > div { min-width: 0; }
.principle__title { font-size: 1.0625rem; margin-bottom: .45rem; }
.principle p { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.quote {
  display: flex; gap: 18px; align-items: flex-start; margin: 26px 0 0; padding: clamp(22px, 1.4rem + 1vw, 34px);
  border-radius: var(--r-lg); background: var(--blue); color: #fff;
}
.quote .badge { background: rgba(255, 255, 255, .12); color: #fff; }
.quote blockquote { margin: 0; flex: 1; min-width: 0; }
.quote blockquote p { margin: 0; font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); line-height: 1.45; font-style: italic; }
.quote { flex-wrap: wrap; }
.quote figcaption { flex-basis: 100%; padding-left: calc(2.75rem + 18px); font-family: var(--mono); font-size: .8125rem; color: rgba(255, 255, 255, .78); }
.quote figcaption::before { content: "— "; }

/* ------------------------------------------------------------------ cases */
.case { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 20px 22px 22px; border-radius: 18px; background: var(--card-bg); border: 1px solid var(--line-2); }
.case__head { display: flex; align-items: center; gap: .6rem; margin: 0; }
.case__id { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.case__text { margin: 0; color: var(--ink-2); font-size: .9375rem; line-height: 1.6; }
.case__text strong { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------------ media + video */
.media-row { display: grid; gap: 28px; align-items: center; }
.media-row > * { min-width: 0; }
@media (min-width: 900px) { .media-row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 44px; } }
.media-row__text h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); margin-bottom: .8rem; }
.media-row__text p { color: var(--ink-2); }
.video { margin: 0; }
.video__media { display: block; position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 16 / 9; background: #0E1F2C; }
.video__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.video__media:hover img { transform: scale(1.02); }
.video__media iframe { width: 100%; height: 100%; border: 0; }
.video__meta { display: grid; gap: 4px; padding: 12px 2px 0; }
.video__chan { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; color: var(--blue-2); text-transform: uppercase; }
.video__title { font-weight: 600; line-height: 1.35; }
.video__info { display: flex; gap: 14px; font-family: var(--mono); font-size: .78rem; color: var(--ink-3); }
.meta-list { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0 0 1rem; }
.meta-list div { display: grid; }
.meta-list dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.meta-list dd { margin: 0; font-weight: 500; }

/* ------------------------------------------------------------------ Q&A */
.qa-list { display: grid; gap: 10px; }
.qa { border: 1px solid var(--line-2); border-radius: 16px; background: var(--card-bg); }
.qa > summary {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; list-style: none; cursor: pointer;
  font-weight: 500; font-size: 1.0625rem; line-height: 1.4;
}
.qa > summary::-webkit-details-marker { display: none; }
.qa > summary > span { flex: 1; min-width: 0; }
.qa__chev { color: var(--blue-2); transition: rotate .2s var(--ease); }
.qa[open] .qa__chev { rotate: 180deg; }
.qa[open] { border-color: var(--blue-tint-2); }
.qa__a { padding: 0 18px 18px; color: var(--ink-2); }
.qa__a p { margin: 0; }
.qa:target { border-color: var(--blue-2); box-shadow: 0 0 0 3px var(--blue-tint); }

/* ------------------------------------------------------------------ visit */
.visit { display: grid; gap: 22px; }
@media (min-width: 900px) { .visit { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 28px; } }
.visit__text, .visit__prep { min-width: 0; padding: clamp(22px, 1.4rem + 1vw, 34px); border-radius: var(--r-lg); background: var(--card-bg); border: 1px solid var(--line-2); }
.visit__name { margin: .6rem 0 .2rem; font-size: 1.125rem; }
.visit__addr { color: var(--ink-2); margin-bottom: .8rem; }
.visit__hint { color: var(--ink-3); font-size: .9375rem; margin-bottom: 1rem; }
.visit__prep-title { display: flex; align-items: center; gap: .6rem; margin: 0 0 1rem; font-weight: 600; font-size: 1.0625rem; }
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-2); font-size: .9375rem; line-height: 1.55; }
.checks li .i { margin-top: .22rem; color: var(--blue-2); }
.checks li > span { min-width: 0; }

/* ------------------------------------------------------------------ about */
.profile { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .profile { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 36px; } }
.profile__photo { margin: 0; }
.shot--lg { border-radius: var(--r-lg); }
@media (max-width: 899.98px) { .profile__photo { max-width: 420px; } }
.profile__facts { padding: clamp(20px, 1.2rem + 1vw, 30px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); }
.facts__title { display: flex; align-items: center; gap: .6rem; margin: 0 0 .6rem; font-weight: 600; }
.facts { margin: 0; display: grid; }
.facts__row { display: grid; gap: 2px 18px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.facts__row:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 560px) { .facts__row { grid-template-columns: 180px minmax(0, 1fr); } }
.facts dt { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--ink-3); font-family: var(--mono); letter-spacing: .02em; }
.facts dt .i { color: var(--blue-2); }
.facts dd { margin: 0; font-weight: 500; min-width: 0; }

.chapters { display: grid; gap: 0; }
.chapter { position: relative; display: grid; gap: 8px 40px; padding: 0 0 clamp(32px, 2rem + 1vw, 48px) 30px; }
.chapter::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: 0; width: 2px; background: var(--line); }
.chapter:last-child::before { bottom: auto; height: 24px; }
.chapter::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 2px solid var(--blue-2); }
.chapter--now::after { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 5px var(--amber-tint); }
.chapter__years { margin: 0; font-family: var(--mono); font-size: .8125rem; letter-spacing: .04em; color: var(--blue-2); }
.chapter__body { min-width: 0; max-width: 760px; }
.chapter__body h2 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem); margin: 0 0 .8rem; }
@media (min-width: 900px) {
  .chapter { grid-template-columns: 180px minmax(0, 1fr); padding-left: 0; }
  .chapter::before { left: 196px; }
  .chapter::after { left: 190px; }
  .chapter__years { text-align: right; padding-right: 26px; padding-top: 2px; }
  .chapter__body { padding-left: 34px; }
}
.value { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 18px; background: var(--card-bg); border: 1px solid var(--line-2); }
.value__title { font-size: 1.0625rem; }
.value p { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.split { display: grid; gap: 28px; align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; } }
.strip--pair { max-width: 520px; }
.jump {
  display: flex; align-items: center; gap: .75rem; height: 100%; padding: 16px 18px; border-radius: 16px;
  border: 1px solid var(--line-2); background: var(--card-bg); color: var(--ink); text-decoration: none; font-weight: 500;
  transition: border-color .2s, box-shadow .2s;
}
.jump > span:not(.badge) { flex: 1; min-width: 0; }
.jump__arrow { color: var(--blue-2); transition: translate .2s var(--ease); }
.jump:hover { border-color: var(--blue-tint-2); box-shadow: var(--shadow-1); color: var(--ink); }
.jump:hover .jump__arrow { translate: 3px 0; }

/* ------------------------------------------------------------------ qualifications */
.records { display: grid; gap: 12px; }
.record {
  display: grid; gap: 4px 28px; padding: 18px 22px; border-radius: 16px; background: var(--card-bg); border: 1px solid var(--line-2);
}
@media (min-width: 720px) { .record { grid-template-columns: 170px minmax(0, 1fr); align-items: baseline; } }
.record__years { margin: 0; font-family: var(--mono); font-size: .875rem; color: var(--blue-2); letter-spacing: .02em; }
.record__body { min-width: 0; }
.record__title { font-size: 1.0625rem; margin-bottom: .2rem; }
.record__body p { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.record--now { border-color: var(--blue-tint-2); box-shadow: inset 0 0 0 1px var(--blue-tint-2); }
.record--now .record__years { color: var(--blue); font-weight: 500; }
.record--now .record__years::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); margin-right: .5rem; vertical-align: .1em; }
.course { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 22px; border-radius: 16px; background: var(--card-bg); border: 1px solid var(--line-2); }
.course__date { margin: 0; font-family: var(--mono); font-size: .8125rem; color: var(--blue-2); }
.course__title { font-size: 1.0625rem; line-height: 1.35; }
.course__where { margin: 0; color: var(--ink-3); font-size: .875rem; }
.skills { display: grid; gap: 10px; }
.skill { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 16px 20px; border-radius: 16px; background: var(--card-bg); border: 1px solid var(--line-2); }
.skill__text { margin: 0; font-weight: 500; }
.skill__link { grid-column: 2; font-size: .875rem; }
@media (min-width: 900px) { .skill { grid-template-columns: auto minmax(0, 1fr) auto; } .skill__link { grid-column: 3; } }
.techs { margin: 0; }
.tech { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; border-radius: 16px; background: var(--card-bg); border: 1px solid var(--line-2); }
.tech dt { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.tech dd { margin: 0; color: var(--ink-2); font-size: .9375rem; }

/* ------------------------------------------------------------------ summary + doc layout */
.summary { padding: 4px 0 8px; }
.summary__grid { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 900px) { .summary__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; } }
.plate-fig {
  margin: 0; display: grid; align-content: center; gap: 10px; padding: 18px 18px 14px; border-radius: var(--r-lg);
  background-color: var(--surface); border: 1px solid var(--line-2);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 20px 20px; background-position: -1px -1px;
}
.plate-fig figcaption { font-family: var(--mono); font-size: .72rem; color: var(--ink-3); letter-spacing: .02em; }
@media (max-width: 899.98px) { .summary .plate-fig { max-width: 520px; } }
.answer { display: grid; align-content: center; gap: 10px; padding: clamp(20px, 1.2rem + 1vw, 30px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); }
.answer__label { display: flex; align-items: center; gap: .45rem; margin: 0; font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-2); }
.answer__text { margin: 0; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.6; color: var(--ink); }

.doc { display: grid; gap: 36px; padding-top: clamp(28px, 2rem + 1vw, 44px); padding-bottom: clamp(64px, 4rem + 3vw, 112px); }
.doc__main { min-width: 0; max-width: 780px; }
.doc__side { min-width: 0; }
@media (min-width: 1100px) {
  .doc { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
  .doc__sticky { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; overscroll-behavior: contain; padding-bottom: 8px; }
}
@media (max-width: 1099.98px) { .doc__side .toc { display: none; } .doc__sticky { display: grid; gap: 14px; } }
.doc__lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3rem); line-height: 1.6; color: var(--ink); margin-bottom: 1.6rem; }
.doc__h2 { display: flex; align-items: center; gap: .65rem; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); margin: 2.4rem 0 1rem; }
.doc__faq .qa { --card-bg: var(--surface); }

.toc, .side-links { padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); }
.toc__title, .side-links__title { display: flex; align-items: center; gap: .5rem; margin: 0 0 .6rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: 2px; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 2rem minmax(0, 1fr); padding: .35rem .5rem; border-radius: 9px; color: var(--ink-2); text-decoration: none; font-size: .875rem; line-height: 1.4; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: .72rem; color: var(--ink-3); padding-top: .1rem; }
.toc a:hover { background: var(--blue-tint); color: var(--blue); }
.toc a.is-active { background: var(--blue-tint); color: var(--blue); }
.toc a.is-active::before { color: var(--blue); }
.side-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-links a { display: flex; align-items: center; gap: .6rem; padding: .45rem .5rem; border-radius: 9px; color: var(--ink-2); text-decoration: none; font-size: .9rem; line-height: 1.35; }
.side-links a .i { color: var(--blue-2); }
.side-links a:hover { background: var(--blue-tint); color: var(--blue); }
.side-links a > span { min-width: 0; }
.side-links--plain a { padding: .5rem .5rem; }

.page-head--article .page-head__title { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.85rem); }
.byline { display: flex; align-items: center; gap: .8rem; margin-top: 1.3rem; }
.byline__photo { display: block; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 3px var(--blue-tint); }
.byline__img { width: 100%; height: 100%; object-fit: cover; }
.byline__text { display: grid; line-height: 1.3; }
.byline__name { font-weight: 600; }
.byline__meta { font-size: .875rem; color: var(--ink-3); }

/* ------------------------------------------------------------------ prose */
.prose { color: var(--ink-2); }
.prose :where(h2) { font-size: clamp(1.35rem, 1.12rem + .85vw, 1.75rem); margin: 2.2em 0 .65em; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 20px); }
.prose > :where(h2:first-child) { margin-top: 0; }
.prose :where(p, ul, ol, .table-wrap, figure, aside, section) { margin: 0 0 1.1em; }
.prose :where(strong) { color: var(--ink); font-weight: 600; }
.prose :where(a:not([class])) { color: var(--blue-2); }
.prose :where(ul:not([class])) { list-style: none; padding: 0; }
.prose :where(ul:not([class]) > li) { position: relative; padding-left: 1.45em; margin-bottom: .45em; }
.prose :where(ul:not([class]) > li)::before { content: ""; position: absolute; left: .3em; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.prose :where(ol:not([class])) { list-style: none; padding: 0; counter-reset: ol; }
.prose :where(ol:not([class]) > li) { position: relative; counter-increment: ol; padding-left: 2.2em; margin-bottom: .55em; }
.prose :where(ol:not([class]) > li)::before { content: counter(ol, decimal-leading-zero); position: absolute; left: 0; top: .12em; font-family: var(--mono); font-size: .8em; font-weight: 500; color: var(--blue-2); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface); }
.tbl { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; }
.tbl th, .tbl td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl thead th { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); background: var(--bg); }
.tbl tbody th { color: var(--ink); font-weight: 600; }
.tbl td { color: var(--ink-2); }
@media (max-width: 639.98px) {
  .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; width: 100%; }
  .tbl tr { padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
  .tbl tbody tr:last-child { border-bottom: 0; }
  .tbl th, .tbl td { padding: 2px 0; border: 0; }
  .tbl tbody th { margin-bottom: 4px; }
  .tbl--stack td::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
}

.exp-box, .role-box, .scope-note, .urgent-box, .urgent, .disclaimer { border-radius: 18px; padding: clamp(18px, 1.1rem + .8vw, 26px); }
.exp-box { background: var(--blue-tint); color: var(--ink-2); }
.exp-box__title, .role-box__title, .urgent-box h2, .urgent__title {
  display: flex; align-items: center; gap: .65rem; margin: 0 0 .8rem !important; font-size: 1.125rem !important; color: var(--ink);
}
.exp-box__title::before, .role-box__title::before, .urgent-box h2::before {
  content: ""; flex: none; width: 2rem; height: 2rem; border-radius: 10px; background: #fff center / 1.15rem no-repeat;
}
.exp-box__title::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23134A6B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M8.2 12.3l2.6 2.6 5-5.4'/%3E%3C/svg%3E"); }
.role-box { background: var(--surface); border: 1px solid var(--blue-tint-2); }
.role-box__title::before { background-color: var(--blue-tint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23134A6B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.5' r='3.5'/%3E%3Cpath d='M5 19.5c1.2-3.4 3.9-5 7-5s5.8 1.6 7 5'/%3E%3C/svg%3E"); }
.exp-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5em; }
.exp-box li { position: relative; padding-left: 1.45em; }
.exp-box li::before { content: ""; position: absolute; left: .3em; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-2); }
.role-box p, .scope-note p, .urgent p, .urgent-box p, .disclaimer p { margin: 0; }
.scope-note { display: flex; gap: 14px; align-items: flex-start; background: var(--amber-tint); color: var(--ink-2); }
.scope-note::before {
  content: ""; flex: none; width: 2rem; height: 2rem; border-radius: 10px; background: #fff center / 1.15rem no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23134A6B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 11v5.2M12 7.8v.1'/%3E%3C/svg%3E");
}
.scope-note > p { min-width: 0; padding-top: .2rem; }
.scope-note--info { background: var(--surface); border: 1px solid var(--line-2); }
.scope-note--info::before { background-color: var(--blue-tint); }
.urgent-box, .urgent { background: var(--red-tint); color: var(--ink); }
.urgent-box h2::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A8322B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4.2l8.6 15H3.4z'/%3E%3Cpath d='M12 10v4.2M12 16.9v.1'/%3E%3C/svg%3E"); }
.urgent-box__act { margin-top: .6rem !important; font-weight: 500; }
.urgent { margin: 1.6rem 0; }
.urgent__title { color: var(--red); }
.urgent__title .i { width: 2rem; height: 2rem; padding: .4rem; border-radius: 10px; background: #fff; }
.pull { display: flex; gap: 16px; align-items: flex-start; padding: clamp(20px, 1.2rem + 1vw, 30px); border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); flex-wrap: wrap; }
.pull::before {
  content: ""; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--blue-tint) center / 1.4rem no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23134A6B' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M9.5 7.5C6.9 8.3 5.5 10.3 5.5 13v3.5H10V12H7.6c.2-1.5 1-2.6 2.4-3.2zM18.5 7.5c-2.6.8-4 2.8-4 5.5v3.5H19V12h-2.4c.2-1.5 1-2.6 2.4-3.2z'/%3E%3C/svg%3E");
}
.pull blockquote { margin: 0; flex: 1; min-width: 0; }
.pull blockquote p { margin: 0; font-size: 1.1875rem; line-height: 1.5; font-style: italic; color: var(--ink); }
.pull figcaption { flex-basis: 100%; padding-left: calc(2.6rem + 16px); font-family: var(--mono); font-size: .8rem; color: var(--ink-3); }
.pull figcaption::before { content: "— "; }

.related { margin: 2rem 0 1.4rem; padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); }
.related__title { margin: 0 0 .6rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px 20px; }
@media (min-width: 640px) { .related ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.related a { display: flex; align-items: flex-start; gap: .5rem; padding: .35rem 0; text-decoration: none; color: var(--blue-2); font-weight: 500; line-height: 1.4; }
.related a .i { margin-top: .2rem; transition: translate .2s var(--ease); }
.related a:hover .i { translate: 3px 0; }
.related a > span { min-width: 0; }
.disclaimer { display: flex; gap: 12px; align-items: flex-start; margin-top: 1.4rem; background: transparent; border: 1px dashed var(--line); color: var(--ink-3); font-size: .875rem; line-height: 1.6; }
.disclaimer > .i { margin-top: .15rem; color: var(--ink-3); }

/* ------------------------------------------------------------------ articles hub */
.filter { margin-bottom: 26px; }
.filter ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.cat + .cat { margin-top: clamp(40px, 2.5rem + 1vw, 60px); }
.cat__title { display: flex; align-items: center; gap: .65rem; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.6rem); margin-bottom: 18px; }
.cat-list.is-filtered .cat + .cat { margin-top: 0; }

/* ------------------------------------------------------------------ FAQ page */
.faq-layout { display: grid; gap: 28px; }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; } .faq-nav { position: sticky; top: calc(var(--header-h) + 24px); } }
.faq-nav { padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); }
.faq-nav__title { display: flex; align-items: center; gap: .5rem; margin: 0 0 .6rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.faq-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.faq-nav a { display: flex; align-items: center; gap: .6rem; padding: .5rem .55rem; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: .9375rem; }
.faq-nav a .i { color: var(--blue-2); }
.faq-nav a:hover, .faq-nav a.is-active { background: var(--blue-tint); color: var(--blue); }
.faq-group { min-width: 0; scroll-margin-top: calc(var(--header-h) + 20px); }
.faq-group + .faq-group { margin-top: clamp(36px, 2.2rem + 1vw, 56px); }
.faq-group__title { display: flex; align-items: center; gap: .65rem; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.6rem); margin-bottom: 16px; }
@media (max-width: 1023.98px) {
  .faq-nav ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .faq-nav a { border: 1px solid var(--line); border-radius: 999px; padding: .35rem .8rem; font-size: .875rem; background: var(--surface); }
}

/* ------------------------------------------------------------------ contact */
.contact-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.contact-card { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 1.4rem + 1vw, 32px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); min-width: 0; }
.contact-card__label { display: flex; align-items: center; gap: .55rem; margin: 0; font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.contact-card__title { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); }
.contact-card__title span { font-weight: 400; color: var(--ink-3); font-size: .7em; }
.contact-card__addr { margin: 0; color: var(--ink-2); }
.contact-card__person { display: flex; align-items: center; gap: 14px; }
.contact-card__photo { display: block; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 3px var(--blue-tint); }
.contact-card__img { width: 100%; height: 100%; object-fit: cover; }
.contact-card__role { margin: .2rem 0 0; color: var(--ink-3); font-size: .9375rem; }
.contact-card .cicons { margin-top: auto; padding-top: 6px; }
.section--map { padding-top: 0; }
.map { margin: 0; }
.map__frame { display: block; width: 100%; aspect-ratio: 16 / 7; min-height: 320px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--line-2); }
.map__cap { display: flex; align-items: center; gap: .45rem; margin-top: 10px; font-family: var(--mono); font-size: .75rem; color: var(--ink-3); }
.booking-page { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .booking-page { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; } }
.booking-page__form, .booking-page__prep { min-width: 0; padding: clamp(22px, 1.4rem + 1vw, 34px); border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line-2); }
.booking-page__form h2 { font-size: clamp(1.4rem, 1.15rem + .9vw, 1.85rem); margin-bottom: .7rem; }
#qebul { scroll-margin-top: calc(var(--header-h) + 8px); }

/* ------------------------------------------------------------------ legal, sitemap, search, 404 */
.legal :where(h2) { font-size: 1.25rem; margin-top: 1.8em; }
.legal__date { display: flex; align-items: center; gap: .5rem; margin-top: 2rem !important; font-family: var(--mono); font-size: .8125rem; color: var(--ink-3); }
.sitemap { display: grid; gap: 28px 40px; }
@media (min-width: 720px) { .sitemap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .sitemap { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sitemap__col { min-width: 0; }
.sitemap__title { display: flex; align-items: center; gap: .6rem; font-size: 1.125rem; margin: 0 0 .8rem; }
.sitemap__title a { color: var(--ink); text-decoration: none; }
.sitemap__title a:hover { color: var(--blue); }
.sitemap__col .sitemap__title:not(:first-child) { margin-top: 1.6rem; }
.sitemap__sub { margin: 1rem 0 .3rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.sitemap__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.sitemap__list a { display: flex; align-items: flex-start; gap: .55rem; padding: .3rem 0; color: var(--ink-2); text-decoration: none; font-size: .9375rem; line-height: 1.4; }
.sitemap__list a .i { margin-top: .15rem; color: var(--blue-2); }
.sitemap__list a:hover { color: var(--blue); }
.sitemap__list a > span { min-width: 0; }
.search--page { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 6px 6px 6px 16px; }
.search--page:focus-within { border-color: var(--blue-2); box-shadow: 0 0 0 3px var(--blue-tint-2); }
.p-search .search__chips { margin-top: 14px; }
.search__results--page { margin-top: 18px; }
.nf { padding: clamp(48px, 3rem + 3vw, 110px) 0 clamp(64px, 4rem + 3vw, 120px); }
.nf__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .nf__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; } }
.nf__code { margin: 0 0 .4rem; font-family: var(--mono); font-size: min(4.5rem, 22vw); line-height: 1; color: var(--blue-tint-2); font-weight: 500; letter-spacing: -.02em; }
.nf__title { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); }
.nf__lead { margin: 1rem 0 1.2rem; color: var(--ink-2); font-size: 1.125rem; }
.nf__links { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; margin: 0 0 1.6rem; padding: 0; }
.plate-fig--nf { max-width: 480px; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .74); padding: clamp(48px, 3rem + 2vw, 72px) 0 24px; font-size: .9375rem; }
.footer__grid { display: grid; gap: 34px; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; } }
.footer__brand { min-width: 0; }
.brand--footer { color: #fff; }
.brand--footer:hover { color: #fff; }
.brand--footer .brand__role { color: rgba(255, 255, 255, .62); }
.brand--footer .bm-tile { fill: #1d5b80; }
.footer__about { margin: 1rem 0 .4rem; max-width: 380px; }
.footer__addr { margin: 0 0 1.1rem; color: rgba(255, 255, 255, .6); font-size: .875rem; max-width: 380px; }
.site-footer .cicons--footer .cicon { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.site-footer .cicons--footer .cicon:hover { background: #fff; border-color: #fff; color: var(--ink); }
.footer__col { min-width: 0; }
.footer__title { margin: 0 0 .8rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer__col a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.footer__col a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8125rem; }
.footer__copy { margin: 0; color: rgba(255, 255, 255, .56); }
.footer__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; list-style: none; margin: 0; padding: 0; }
.footer__legal a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.footer__legal a:hover { color: #fff; text-decoration: underline; }
.footer__otx { margin: 0; color: rgba(255, 255, 255, .56); }
.footer__otx a { color: #fff; font-weight: 600; text-decoration: none; }
.footer__otx a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ schematic plates */
.plate { width: 100%; height: auto; overflow: visible; }
.pl-bone { fill: #EFE8DA; stroke: #BFB29A; stroke-width: 1.4; stroke-linejoin: round; }
.pl-trab circle { fill: none; stroke: #D3C7B1; stroke-width: 1.2; }
.pl-gum { fill: #F1CFC6; stroke: #CF968A; stroke-width: 1.2; stroke-linejoin: round; }
.pl-tooth { fill: #FFFFFF; stroke: #8E9EAA; stroke-width: 1.4; stroke-linejoin: round; }
.pl-root { fill: #FFFFFF; stroke: #8E9EAA; stroke-width: 1.4; }
.pl-impl { fill: #8CA2B4; stroke: #5D7487; stroke-width: 1.2; stroke-linejoin: round; }
.pl-thread { stroke: #5D7487; stroke-width: 1.2; stroke-linecap: round; fill: none; }
.pl-abut { fill: #B9C7D2; stroke: #5D7487; stroke-width: 1.2; }
.pl-nerve { fill: none; stroke: var(--amber); stroke-width: 1.8; stroke-dasharray: 6 5; stroke-linecap: round; }
.pl-mem { fill: none; stroke: var(--blue-2); stroke-width: 1.8; stroke-linecap: round; }
.pl-osseo circle { fill: var(--blue-2); opacity: .8; }
.pl-graft circle { fill: #E3D3B0; stroke: #B79E6B; stroke-width: 1; }
.pl-graft-solid { fill: #E9DFC9; stroke: #C5B48F; stroke-width: 1.2; }
.pl-sinus { fill: #E5EFF5; stroke: #8DB0C6; stroke-width: 1.4; }
.pl-temp { fill: #F6EBD9; stroke: #C9A877; stroke-width: 1.4; stroke-dasharray: 4 3; }
.pl-crown { fill: #FFFFFF; stroke: var(--blue-2); stroke-width: 1.6; stroke-linejoin: round; }
.pl-impl-top { fill: var(--blue); }
.pl-arch-ridge { fill: none; stroke: #EFE8DA; stroke-width: 34; stroke-linecap: round; }
.pl-arch-crest { fill: none; stroke: #BFB29A; stroke-width: 1.2; stroke-dasharray: 2 5; }
.pl-arch-prost { fill: none; stroke: var(--blue-2); stroke-width: 9; stroke-linecap: round; opacity: .9; }
.pl-guide { fill: none; stroke: var(--blue-2); stroke-width: 1; stroke-dasharray: 3 5; opacity: .55; }
.pl-socket-wall { fill: none; stroke: #BFB29A; stroke-width: 1.4; }
.pl-heal1 { fill: rgba(207, 120, 107, .35); }
.pl-heal2 { fill: rgba(233, 214, 180, .7); }
.pl-heal3 { fill: #EFE8DA; }
.pl-heal3.pl-trab-in circle { fill: none; stroke: #D3C7B1; stroke-width: 1.2; }
.pl-cyst { fill: rgba(203, 107, 92, .22); stroke: #C26E60; stroke-width: 1.4; stroke-dasharray: 3 3; }
.pl-healfill { opacity: 0; }
.pl-resect { fill: none; stroke: var(--amber); stroke-width: 2; stroke-linecap: round; }
.pl-target { stroke: var(--amber); stroke-width: 1.8; }
.pl-scanline { fill: var(--amber); opacity: 0; }
.pl-slice path { fill: rgba(31, 111, 159, .05); stroke: rgba(31, 111, 159, .35); stroke-width: 1; }
.pl-slice .pl-slice-arch { fill: none; stroke: rgba(14, 31, 44, .28); }
.pl-slice-hi path { fill: rgba(217, 130, 43, .14); stroke: var(--amber); stroke-width: 1.6; }
.pl-slice-hi path + path { fill: none; }
.pl-plate { fill: #B9C7D2; stroke: #5D7487; stroke-width: 1.2; }
.pl-screw { fill: #fff; stroke: #5D7487; stroke-width: 1.2; }
.pl-disc { fill: rgba(31, 111, 159, .25); stroke: var(--blue-2); stroke-width: 1.2; }
.pl-draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.pl-out, .pl-dissolve { opacity: 0; }
.pl-osseo circle, .pl-in-pop circle, .pl-cyst { transform-box: fill-box; transform-origin: center; }

/* Static end states that differ from the drawn geometry. */
.pl-tilt-l, .pl-tilt-r, .pl-extrude, .pl-jaw, .pl-lift, .pl-gumgrow, .pl-frag-l, .pl-frag-r { transform-box: fill-box; }
.pl-tilt-l { transform-origin: 50% 100%; transform: rotate(7deg); }
.pl-tilt-r { transform-origin: 50% 100%; transform: rotate(-7deg); }
.pl-extrude { transform: translateY(9px); }
.pl-jaw { transform-box: view-box; transform-origin: 118px 66px; }
.pl-gumgrow { transform-origin: 50% 100%; }
.pl-lift { transform-origin: 50% 100%; }

/* ------------------------------------------------------------------ motion (only with html.m-on) */
@media (prefers-reduced-motion: no-preference) {
  html.m-on { scroll-behavior: smooth; }
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
}

html.m-on [data-rv]:not(.is-in) { opacity: 0; translate: 0 16px; }
html.m-on [data-rv].is-in { animation: rv-in .7s var(--ease) var(--m-d, 0s) backwards; }
@keyframes rv-in { from { opacity: 0; translate: 0 16px; } }

/* dialogs */
html.m-on .dlg[open] { animation: dlg-in .24s var(--ease); }
html.m-on .dlg--drawer[open] { animation: drawer-in .3s var(--ease); }
html.m-on .dlg[open]::backdrop { animation: fade-in .24s ease; }
@keyframes dlg-in { from { opacity: 0; translate: 0 10px; scale: .985; } }
@keyframes drawer-in { from { translate: 30px 0; opacity: .4; } }
@keyframes fade-in { from { opacity: 0; } }

/* accordions */
@supports (interpolate-size: allow-keywords) {
  html.m-on { interpolate-size: allow-keywords; }
  html.m-on .qa::details-content, html.m-on .drawer__group::details-content {
    block-size: 0; overflow: clip; transition: block-size .28s var(--ease), content-visibility .28s allow-discrete;
  }
  html.m-on .qa[open]::details-content, html.m-on .drawer__group[open]::details-content { block-size: auto; }
}

/* hero: panoramic scan, then the planned implants settle along their axes */
html.m-on .pano:not(.is-in) .pano__art { clip-path: inset(0 100% 0 0); }
html.m-on .pano:not(.is-in) .pa-plan, html.m-on .pano:not(.is-in) .pa-labels { opacity: 0; }
html.m-on .pano.is-in .pano__art { animation: pano-reveal 1.7s cubic-bezier(.45, .05, .35, 1) .15s backwards; }
html.m-on .pano.is-in .pano__scan { animation: pano-scan 1.7s cubic-bezier(.45, .05, .35, 1) .15s backwards; }
html.m-on .pano.is-in .pa-plan { animation: fade-in .5s ease 1.75s backwards; }
html.m-on .pano.is-in .pa-implant { animation: plan-seat .9s var(--ease) 1.8s backwards; }
html.m-on .pano.is-in .pa-axis { animation: axis-draw .8s ease 1.75s backwards; }
html.m-on .pano.is-in .pa-labels { animation: fade-in .6s ease 2.4s backwards; }
@keyframes pano-reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pano-scan { 0% { translate: 0 0; opacity: 1; } 92% { opacity: 1; } 100% { translate: 100cqw 0; opacity: 0; } }
@keyframes plan-seat { from { transform: translateY(-26px); opacity: 0; } }
@keyframes axis-draw { from { stroke-dashoffset: 60; opacity: 0; } }

/* photo frames: one diagnostic scan line passes over */
html.m-on .is-in .shot__scan { animation: shot-scan 1.6s cubic-bezier(.45, .05, .35, 1) calc(var(--m-d, 0s) + .25s) backwards; }
html.m-on .strip__item:nth-child(2) .shot__scan { --m-d: .2s; }
html.m-on .strip__item:nth-child(3) .shot__scan { --m-d: .4s; }
@keyframes shot-scan { 0% { top: 0; opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* planning path: the pathway draws, nodes light up in sequence */
html.m-on .path:not(.is-in)::before { transform: scaleY(0); }
html.m-on .path.is-in::before { animation: path-draw-y 1.4s var(--ease) .2s backwards; }
@media (min-width: 900px) {
  html.m-on .path:not(.is-in)::before { transform: scaleX(0); }
  html.m-on .path.is-in::before { animation-name: path-draw-x; }
}
@keyframes path-draw-y { from { transform: scaleY(0); } }
@keyframes path-draw-x { from { transform: scaleX(0); } }
html.m-on .path__step:nth-child(2) { --m-d: .25s; }
html.m-on .path__step:nth-child(3) { --m-d: .5s; }
html.m-on .path__step:nth-child(4) { --m-d: .75s; }
html.m-on .path__step.is-in .path__node { animation: node-on .9s var(--ease) calc(var(--m-d, 0s) + .2s) backwards; }
@keyframes node-on { from { border-color: var(--line); color: var(--ink-3); box-shadow: 0 0 0 0 rgba(31, 111, 159, .0); } 60% { box-shadow: 0 0 0 7px rgba(31, 111, 159, .12); } }

/* grid stagger */
html.m-on .grid > :nth-child(4n+2) > [data-rv], html.m-on .grid > [data-rv]:nth-child(4n+2) { --m-d: .07s; }
html.m-on .grid > :nth-child(4n+3) > [data-rv], html.m-on .grid > [data-rv]:nth-child(4n+3) { --m-d: .14s; }
html.m-on .grid > :nth-child(4n+4) > [data-rv], html.m-on .grid > [data-rv]:nth-child(4n+4) { --m-d: .21s; }

/* plates: each illustration plays its clinical step once */
html.m-on [data-plate]:not(.is-in) :is(.pl-in-down, .pl-in-up, .pl-late, .pl-later, .pl-pop, .pl-osseo, .pl-in-pop, .pl-heal, .pl-heal1, .pl-heal2, .pl-heal3, .pl-crown, .pl-fix, .pl-cyst) { opacity: 0; }
html.m-on [data-plate]:not(.is-in) .pl-draw { stroke-dashoffset: 1; }
html.m-on [data-plate].is-in .pl-in-down { animation: pl-down 1s var(--ease) .2s backwards; }
html.m-on [data-plate].is-in .pl-in-down.pl-late { animation-delay: 1s; }
html.m-on [data-plate].is-in .pl-in-up { animation: pl-up 1s var(--ease) 1.1s backwards; }
html.m-on [data-plate].is-in .pl-later { animation: fade-in .7s ease 2s backwards; }
html.m-on [data-plate].is-in .pl-out { animation: pl-out 1s var(--ease) .2s backwards; }
html.m-on [data-plate].is-in .pl-osseo circle { animation: pl-dot .5s var(--ease) backwards; }
html.m-on [data-plate].is-in .pl-osseo circle:nth-child(1) { animation-delay: 1.1s; }
html.m-on [data-plate].is-in .pl-osseo circle:nth-child(2) { animation-delay: 1.2s; }
html.m-on [data-plate].is-in .pl-osseo circle:nth-child(3) { animation-delay: 1.3s; }
html.m-on [data-plate].is-in .pl-osseo circle:nth-child(4) { animation-delay: 1.4s; }
html.m-on [data-plate].is-in .pl-osseo circle:nth-child(5) { animation-delay: 1.5s; }
html.m-on [data-plate].is-in .pl-osseo circle:nth-child(6) { animation-delay: 1.6s; }
html.m-on [data-plate].is-in .pl-in-pop circle { animation: pl-dot .45s var(--ease) backwards; }
html.m-on [data-plate].is-in .pl-in-pop circle:nth-child(2n) { animation-delay: .12s; }
html.m-on [data-plate].is-in .pl-in-pop circle:nth-child(3n) { animation-delay: .24s; }
html.m-on [data-plate].is-in .pl-in-pop circle:nth-child(4n) { animation-delay: .36s; }
html.m-on [data-plate].is-in .pl-draw { animation: pl-draw 1.1s ease .5s backwards; }
html.m-on [data-plate].is-in .pl-arch-prost.pl-draw { animation-duration: 1.6s; animation-delay: .2s; }
html.m-on [data-plate].is-in .pl-pop { animation: pl-pop .5s var(--ease) backwards; transform-box: fill-box; transform-origin: center; }
html.m-on [data-plate].is-in .pl-pop1 { animation-delay: .5s; }
html.m-on [data-plate].is-in .pl-pop2 { animation-delay: .7s; }
html.m-on [data-plate].is-in .pl-pop3 { animation-delay: .9s; }
html.m-on [data-plate].is-in .pl-pop4 { animation-delay: 1.1s; }
html.m-on [data-plate].is-in .pl-dissolve { animation: pl-dissolve 2.6s ease .1s backwards; }
html.m-on [data-plate].is-in .pl-heal { animation: fade-in 1s ease 1.6s backwards; }
html.m-on [data-plate].is-in .pl-lift { animation: pl-lift 1.2s var(--ease) .2s backwards; }
html.m-on [data-plate].is-in .pl-gumgrow { animation: pl-grow 1.4s var(--ease) .2s backwards; }
html.m-on [data-plate].is-in .pl-scanline { animation: pl-scan 1.6s cubic-bezier(.45, .05, .35, 1) .2s backwards; }
html.m-on [data-plate].is-in .pl-target { animation: pl-target 1.2s ease 1.2s backwards; }
html.m-on [data-plate].is-in .pl-heal1 { animation: fade-in .6s ease .2s backwards; }
html.m-on [data-plate].is-in .pl-heal2 { animation: fade-in .6s ease .9s backwards; }
html.m-on [data-plate].is-in .pl-heal3 { animation: fade-in .7s ease 1.6s backwards; }
html.m-on [data-plate].is-in .pl-cyst { animation: pl-cyst .9s var(--ease) .2s backwards; transform-box: fill-box; transform-origin: center; }
html.m-on [data-plate].is-in .pl-resect.pl-draw { animation-delay: 1.1s; }
html.m-on [data-plate].is-in .pl-crown { animation: pl-down 1s var(--ease) .3s backwards; }
html.m-on [data-plate].is-in .pl-slice { animation: fade-in .5s ease backwards; }
html.m-on [data-plate].is-in .pl-slice:nth-child(2) { animation-delay: .08s; }
html.m-on [data-plate].is-in .pl-slice:nth-child(3) { animation-delay: .16s; }
html.m-on [data-plate].is-in .pl-slice:nth-child(4) { animation-delay: .24s; }
html.m-on [data-plate].is-in .pl-slice:nth-child(5) { animation-delay: .32s; }
html.m-on [data-plate].is-in .pl-slice:nth-child(6) { animation-delay: .40s; }
html.m-on [data-plate].is-in .pl-slice:nth-child(7) { animation-delay: .48s; }
html.m-on [data-plate].is-in .pl-slice-hi { animation: pl-slice 1.8s cubic-bezier(.45, .05, .35, 1) .6s backwards; }
html.m-on [data-plate].is-in .pl-tilt-l { animation: pl-tilt-l 1.6s var(--ease) .4s backwards; }
html.m-on [data-plate].is-in .pl-tilt-r { animation: pl-tilt-r 1.6s var(--ease) .4s backwards; }
html.m-on [data-plate].is-in .pl-extrude { animation: pl-extrude 1.6s var(--ease) .6s backwards; }
html.m-on [data-plate].is-in .pl-jaw { animation: pl-jaw 2.2s ease-in-out .3s backwards; }
html.m-on [data-plate].is-in .pl-disc { animation: pl-disc 2.2s ease-in-out .3s backwards; }
html.m-on [data-plate].is-in .pl-frag-l { animation: pl-frag-l 1.1s var(--ease) .2s backwards; }
html.m-on [data-plate].is-in .pl-frag-r { animation: pl-frag-r 1.1s var(--ease) .2s backwards; }
html.m-on [data-plate].is-in .pl-fix { animation: pl-down .8s var(--ease) 1.2s backwards; }

@keyframes pl-down { from { transform: translateY(-40px); opacity: 0; } 40% { opacity: 1; } }
@keyframes pl-up { from { transform: translateY(40px); opacity: 0; } 40% { opacity: 1; } }
@keyframes pl-out { from { transform: translateY(0); opacity: 1; } 70% { opacity: .15; } to { transform: translateY(-44px); opacity: 0; } }
@keyframes pl-dot { from { opacity: 0; scale: .3; } }
@keyframes pl-pop { from { opacity: 0; scale: .4; } }
@keyframes pl-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pl-dissolve { 0%, 55% { opacity: 1; } 100% { opacity: 0; } }
@keyframes pl-lift { from { transform: translateY(16px) scaleY(.45); opacity: .3; } }
@keyframes pl-grow { from { transform: scaleY(.55); } }
@keyframes pl-scan { 0% { transform: translateX(0); opacity: .9; } 90% { opacity: .9; } 100% { transform: translateX(317px); opacity: 0; } }
@keyframes pl-target { from { stroke: #8E9EAA; stroke-width: 1.4; } }
@keyframes pl-cyst { from { scale: .4; opacity: 0; } }
@keyframes pl-slice { from { transform: translateY(132px); } 70% { transform: translateY(-6px); } to { transform: translateY(0); } }
@keyframes pl-tilt-l { from { transform: rotate(0); } }
@keyframes pl-tilt-r { from { transform: rotate(0); } }
@keyframes pl-extrude { from { transform: translateY(0); } }
@keyframes pl-jaw { 0% { transform: rotate(0); } 45% { transform: rotate(11deg); } 60% { transform: rotate(11deg); } 100% { transform: rotate(0); } }
@keyframes pl-disc { 0% { transform: translateX(0); } 45%, 60% { transform: translateX(9px); } 100% { transform: translateX(0); } }
@keyframes pl-frag-l { from { transform: translate(-12px, 7px) rotate(-3deg); } }
@keyframes pl-frag-r { from { transform: translate(12px, -7px) rotate(3deg); } }

/* hover gestures on icons (motion only) */
html.m-on .card:hover .card__icon .i, html.m-on .card--link:hover .card__icon .i { animation: nudge .5s var(--ease); }
@keyframes nudge { 40% { translate: 0 -2px; } }

/* ------------------------------------------------------------------ state helpers */
html.dlg-open { overflow: hidden; }
.panel-list a[aria-current="page"], .side-links a[aria-current="page"] { background: var(--blue-tint); color: var(--blue); }
.drawer__link[aria-current="page"] { color: var(--blue); }
.footer__col a[aria-current="page"] { color: #fff; }
.prose :where(.kicker + h2) { margin-top: 0; }
.section--tight { padding-top: clamp(16px, 1rem + 1vw, 32px); }
.dlg:focus { outline: none; }
