/* Dr. Emin Haqverdiyev — site styles.
   Visual language: the embryology "well" (a round field of view), cells with a zona ring, a time-lapse
   of development, hairline pathways. Warm ivory paper, ink navy, the doctor's signature red.
   No dependencies; every animation is gated by html.m-on (prefers-reduced-motion) and has a still end state. */

/* ------------------------------------------------------------------ tokens */
:root {
  --paper: #FBF8F5;
  --paper-2: #F5EFE9;
  --paper-3: #EDE5DC;
  --white: #FFFFFF;
  --ink: #172131;
  --ink-2: #24314A;
  --text: #1F2836;
  --muted: #5B6473;
  --line: #E8E0D7;
  --line-2: #D6CBBF;
  --red: #C42A30;
  --red-d: #A21F25;
  --red-ink: #9A1C22;
  --rose: #F8E6E2;
  --rose-2: #F1D4CE;
  --rose-3: #E7BCB3;
  --cell: #F5DCD6;
  --cell-line: #C98478;
  --zona: #E8C7BF;
  --navy: #25467F;
  --navy-d: #183262;
  --on-dark: #E9E3DB;
  --on-dark-2: #B9B2A8;
  --urgent: #A21F25;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(23, 33, 49, .05), 0 12px 32px -18px rgba(23, 33, 49, .22);
  --shadow-lg: 0 2px 6px rgba(23, 33, 49, .07), 0 26px 60px -28px rgba(23, 33, 49, .34);
  --font: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
dialog:not([open]) { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 1rem/1.65 var(--font); font-feature-settings: "kern"; -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word; min-width: 320px;
}
html.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-d); }
h1, h2, h3, h4 { margin: 0; line-height: 1.18; font-weight: 600; letter-spacing: -.014em; text-wrap: balance; color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--rose-2); color: var(--ink); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i .fill { fill: currentColor; stroke: none; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.narrow > * { max-width: 820px; } /* left-aligned with the page title, only the text column is narrow */
.muted { color: var(--muted); }

/* ------------------------------------------------------------------ cells: badges, kickers, links */
.badge {
  display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--rose); color: var(--red-d); outline: 1px solid var(--zona); outline-offset: 3px;
  transition: background-color .2s, color .2s, outline-offset .25s var(--ease), outline-color .2s;
}
.badge .i { width: 20px; height: 20px; }
.badge--sm { width: 32px; height: 32px; outline-offset: 2px; }
.badge--sm .i { width: 17px; height: 17px; }
.badge--xs { width: 22px; height: 22px; outline: 0; }
.badge--xs .i { width: 13px; height: 13px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font: 500 .78rem/1.3 var(--mono); letter-spacing: .02em; color: var(--muted);
}
.kicker > span:last-child { min-width: 0; }
.link-arrow {
  display: inline; width: fit-content; font-weight: 500; color: var(--navy); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease);
}
.link-arrow .i { display: inline-block; vertical-align: -4px; width: 18px; height: 18px; margin-left: 6px; transition: transform .25s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover .i { transform: translateX(3px); }

/* logo mark: zygote */
.mark { width: 42px; height: 42px; flex: none; overflow: visible; }
.mark__zona { fill: none; stroke: var(--red); stroke-width: 2.4; }
.mark__cell { fill: var(--cell); }
.mark__pn { fill: var(--paper); stroke: var(--red-d); stroke-width: 1.7; transition: transform .6s var(--ease); }
.m-on .brand:hover .mark__pn--a { transform: translateX(1.6px); }
.m-on .brand:hover .mark__pn--b { transform: translateX(-1.6px); }
.mark--xs { width: 20px; height: 20px; }
.mark--xs .mark__zona { stroke-width: 3; }

/* ------------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 50; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(251, 248, 245, .9);
  -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled::before { border-bottom-color: var(--line); box-shadow: 0 8px 26px -20px rgba(23, 33, 49, .5); }
.header__row { position: relative; display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: 0 1 auto; min-width: 0; }
.brand:hover { color: var(--ink); }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-weight: 600; font-size: 1.1rem; line-height: 1.15; letter-spacing: -.012em; white-space: nowrap; }
.brand__role { font: 500 .67rem/1.35 var(--mono); color: var(--muted); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav__item { display: flex; align-items: center; }
.nav__item:not(.has-mega) { position: relative; }
.nav__link {
  position: relative; display: block; padding: 10px 8px; font-size: .95rem; font-weight: 400; color: var(--text); text-decoration: none; white-space: nowrap;
  border-radius: 10px; transition: color .15s;
}
.has-sub .nav__link { padding-right: 2px; }
.nav__link:hover { color: var(--ink); }
.nav__item.is-current > .nav__link { color: var(--ink); font-weight: 500; }
.nav__item.is-current > .nav__link::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--red); }
.has-sub.is-current > .nav__link::after { margin-left: -1px; }
.nav__toggle { display: grid; place-items: center; width: 24px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--muted); border-radius: 8px; }
.nav__toggle .i { width: 15px; height: 15px; transition: transform .2s; }
.has-sub.is-open .nav__toggle .i { transform: rotate(180deg); }

/* Dropdowns hang from the header row; a transparent top padding bridges the gap so the pointer never
   crosses a dead strip (learned on duru-klinik-web). JS owns visibility (html.js-menu); :hover is the no-JS fallback. */
.sub { position: absolute; z-index: 30; top: calc(100% - 12px); left: -14px; padding-top: 20px; display: none; }
.sub--end { left: auto; right: -14px; }
.has-sub.is-open > .sub { display: block; }
html:not(.js-menu) .has-sub:hover > .sub, html:not(.js-menu) .has-sub:focus-within > .sub { display: block; }
.sub__panel { background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); }
.m-on .has-sub.is-open > .sub .sub__panel { animation: subIn .22s var(--ease); }
@keyframes subIn { from { opacity: 0; translate: 0 6px; } }
.sub__list { list-style: none; }
ul.sub__panel { min-width: 270px; padding: 10px; display: grid; gap: 2px; }
.sub__list a {
  display: flex; align-items: center; gap: 12px; padding: 7px 10px 7px 8px; border-radius: 12px; text-decoration: none; color: var(--text); font-size: .95rem; line-height: 1.3;
}
.sub__list a:hover, .sub__list a[aria-current] { background: var(--paper-2); color: var(--ink); }
.sub__list a:hover .badge { background: var(--red); color: var(--white); outline-offset: 4px; }
.has-mega .sub { left: 0; right: 0; }
.mega { padding: 22px 22px 16px; }
.mega__cols { display: grid; gap: 8px 22px; }
.mega__cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega__cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mega__col { min-width: 0; }
.mega__title { display: flex; align-items: center; gap: 8px; margin: 0 0 8px 8px; font: 500 .74rem/1.3 var(--mono); color: var(--muted); letter-spacing: .02em; }
.mega__title .i { width: 16px; height: 16px; color: var(--red); }
.mega__foot { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.mega__foot a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border-radius: 12px; text-decoration: none; color: var(--text); font-size: .93rem; font-weight: 500; }
.mega__foot a:hover { background: var(--paper-2); }

.header__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.iconbtn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--white); color: var(--ink); cursor: pointer; text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.iconbtn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.iconbtn--menu { display: none; }

/* the page's single call to action */
.cta {
  position: relative; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px 0 6px; border: 0;
  border-radius: 999px; background: var(--red); color: var(--white); font-weight: 500; font-size: .95rem; text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: 0 10px 24px -14px rgba(196, 42, 48, .9); transition: background-color .15s, transform .15s;
}
.cta:hover { background: var(--red-d); color: var(--white); }
.cta:active { transform: translateY(1px); }
.cta__ic { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--white); color: var(--red); }
.cta__ic .i { width: 18px; height: 18px; }
.cta__ic::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); opacity: 0; }
.m-on .cta:hover .cta__ic::after { animation: ctaRing .9s var(--ease); }
@keyframes ctaRing { 0% { opacity: .9; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.35); } }

/* ------------------------------------------------------------------ sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tint { background: var(--paper-2); }
.section__head { max-width: 760px; margin-bottom: clamp(24px, 3.5vw, 40px); }
.section__head h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); }
.section__head p { margin: 12px 0 0; color: var(--muted); }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 28px; }
.section__more { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 28px 0 0; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 7vw, 92px); overflow: hidden; overflow: clip; border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); grid-template-areas: "head head" "photo body"; gap: clamp(26px, 4vw, 44px) clamp(36px, 6vw, 88px); align-items: center; }
.hero__head { grid-area: head; position: relative; z-index: 1; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 500 .8rem/1.3 var(--mono); letter-spacing: .02em; color: var(--muted); }
.hero__title { max-width: 1040px; }
.hero__name { display: block; font-size: clamp(2.45rem, 5.6vw, 3.9rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 600; color: var(--ink); }
.hero__role { display: block; margin-top: 12px; max-width: 760px; font-size: clamp(1.12rem, 2.1vw, 1.5rem); line-height: 1.32; font-weight: 400; letter-spacing: -.008em; color: var(--muted); }
.hero__photo { grid-area: photo; position: relative; z-index: 1; margin: 0 0 40px; }
.hero__photo::before, .hero__photo::after {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; border-radius: 50%; border: 1px solid var(--line-2); pointer-events: none;
  width: 156%; aspect-ratio: 1; translate: -50% -50%; opacity: .55;
}
.hero__photo::after { width: 122%; opacity: .45; border-color: var(--rose-2); }
.hero__frame { position: relative; border-radius: 30px; overflow: hidden; background: var(--paper-3); box-shadow: var(--shadow-lg); }
.hero__frame img { display: block; width: 100%; height: auto; }
.hero__body { grid-area: body; position: relative; z-index: 1; }
.hero__lead { margin: 0 0 26px; max-width: 600px; font-size: clamp(1.06rem, 1.5vw, 1.2rem); line-height: 1.6; color: var(--text); }
.facts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 640px; }
.fact { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 16px 16px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.fact__no { position: absolute; top: 9px; right: 12px; font: 500 .68rem/1 var(--mono); color: var(--line-2); }
.fact__text { font-size: .95rem; line-height: 1.4; color: var(--ink); font-weight: 500; padding-right: 10px; }

/* time-lapse well (hero): stages switch in site.js; transitions do the rest */
.tl { position: absolute; z-index: 2; right: -46px; bottom: -44px; width: 188px; padding: 10px 10px 12px; background: var(--white); border-radius: 26px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.tl__well { width: 100%; height: auto; border-radius: 50%; overflow: hidden; }
.tl__zona { fill: none; stroke: var(--zona); stroke-width: 7; }
.tl__stage { opacity: 0; transform-origin: 100px 100px; transform: scale(.94); transition: opacity .55s var(--ease), transform .7s var(--ease); }
.tl__stage.is-on { opacity: 1; transform: scale(1); }
.tl__stage[data-stage="5"] { opacity: 1; transform: none; }
.tl.is-live .tl__stage[data-stage="5"]:not(.is-on) { opacity: 0; transform: scale(.94); }
.c__body { fill: var(--cell); stroke: var(--cell-line); stroke-width: 1.4; }
.c__nuc { fill: var(--cell-line); opacity: .45; }
.c--soft .c__body { stroke-width: 1.1; }
.c--icm .c__body { fill: #EFC3BA; }
.pn { fill: #FFF8F6; stroke: var(--cell-line); stroke-width: 1.5; }
.pn__dot { fill: var(--cell-line); opacity: .6; }
.pb { fill: var(--cell); stroke: var(--cell-line); stroke-width: 1.2; }
.morula { fill: var(--cell); stroke: var(--cell-line); stroke-width: 1.2; }
.cavity { fill: #FFF6F4; stroke: none; }
.te { fill: var(--cell); stroke: var(--cell-line); stroke-width: 1.1; }
.tl__bar { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 8px 4px 6px; font: 500 .7rem/1.2 var(--mono); }
.tl__day { color: var(--red-ink); white-space: nowrap; }
.tl__label { color: var(--muted); text-align: right; min-width: 0; }
.tl__scrub { position: relative; height: 10px; margin: 0 8px; }
.tl__track { position: absolute; left: 0; right: 0; top: 4px; height: 2px; border-radius: 2px; background: var(--line); }
.tl__tick { position: absolute; top: 2px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--line-2); }
.tl__tick.t1 { left: 0; } .tl__tick.t2 { left: 25%; } .tl__tick.t3 { left: 50%; } .tl__tick.t4 { left: 75%; } .tl__tick.t5 { left: 100%; }
.tl__head { position: absolute; top: 0; left: 100%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px var(--rose); transition: left .7s var(--ease); }

/* ------------------------------------------------------------------ intro */
.intro__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.intro__title { font-size: clamp(1.55rem, 2.6vw, 2.15rem); }
.intro__text { max-width: 720px; font-size: 1.06rem; }
.intro__text p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ queries (home cards) */
.queries { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.query {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px 20px 18px; min-width: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.query:hover { border-color: var(--rose-3); box-shadow: var(--shadow); transform: translateY(-2px); }
.query:hover .badge { outline-offset: 5px; outline-color: var(--rose-3); }
.query__text { margin: 0; flex: 1; font-size: 1.02rem; line-height: 1.45; font-weight: 500; color: var(--ink); }
.query__links { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.query__links a { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 500; text-decoration: none; color: var(--navy); }
.query__links a .i { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.query__links a:hover .i { transform: translateX(3px); }
.query--one .stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* ------------------------------------------------------------------ services (home) */
.svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc__card { display: flex; flex-direction: column; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.svc__media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
.svc__media .plate { width: 62%; }
.svc__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.svc__title { font-size: 1.22rem; }
.svc__text { margin: 0; color: var(--muted); font-size: .95rem; }
.svc__links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.svc__links a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); color: var(--ink); text-decoration: none; font-size: .87rem; line-height: 1.3; transition: background-color .15s, color .15s; }
.svc__links a:hover { background: var(--red); color: var(--white); }

/* ------------------------------------------------------------------ principles */
.principles { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.principle { padding: 24px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.principle .badge { margin: 4px 0 18px 4px; }
.principle h3 { font-size: 1.12rem; margin-bottom: 8px; }
.principle p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ------------------------------------------------------------------ track: the treatment path, cells dividing 1 → 2 → 4 → 8 */
.track { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.track::before { content: ""; position: absolute; left: 32px; right: 12%; top: 32px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--rose-3), var(--zona)); transform-origin: 0 50%; }
.track__step { position: relative; min-width: 0; padding-top: 4px; }
.track__cell { position: relative; z-index: 1; width: 64px; height: 64px; margin-bottom: 18px; background: var(--paper); border-radius: 50%; }
.tc__zona { fill: var(--white); stroke: var(--zona); stroke-width: 3; }
.track__no { position: absolute; top: 0; left: 74px; font: 500 .74rem/1 var(--mono); color: var(--red-ink); }
.track__step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.track__step p { margin: 0; color: var(--muted); font-size: .95rem; }
.m-on .track:not(.is-in)::before { transform: scaleX(0); }
.m-on .track.is-in::before { animation: drawX 1.4s var(--ease) .1s backwards; }
@keyframes drawX { from { transform: scaleX(0); } }
.m-on .track .track__cell { opacity: 0; }
.m-on .track.is-in .track__cell { animation: cellIn .7s var(--ease) backwards; opacity: 1; }
.m-on .track.is-in .track__step:nth-child(2) .track__cell { animation-delay: .35s; }
.m-on .track.is-in .track__step:nth-child(3) .track__cell { animation-delay: .7s; }
.m-on .track.is-in .track__step:nth-child(4) .track__cell { animation-delay: 1.05s; }
@keyframes cellIn { from { opacity: 0; scale: .6; } }
.m-done .track .track__cell { opacity: 1; }

/* ------------------------------------------------------------------ media slates (video cards without thumbnails) */
.slates { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.slates--list { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 6px; }
.slate { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.slate__play { position: static; display: inline-flex; width: fit-content; margin-bottom: 10px; color: var(--red); text-decoration: none; }
.slate__play::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.slate__well { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--rose); outline: 1px solid var(--zona); outline-offset: 4px; transition: background-color .2s, color .2s, outline-offset .25s var(--ease); }
.slate__well .i { width: 30px; height: 30px; stroke-width: 1.4; }
.slate:hover { border-color: var(--rose-3); box-shadow: var(--shadow); }
.slate:hover .slate__well { background: var(--red); color: var(--white); outline-offset: 7px; }
.slate__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; font: 500 .76rem/1.4 var(--mono); color: var(--muted); }
.slate__show { font-size: 1.08rem; line-height: 1.35; }
.slate__topic { margin: 0; color: var(--muted); font-size: .94rem; }

/* ------------------------------------------------------------------ FAQ */
.faqwrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color .2s; }
.faq__item[open] { border-color: var(--rose-3); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 18px 18px 20px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { font-weight: 600; color: var(--ink); font-size: 1.03rem; line-height: 1.4; }
.faq__ic { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--paper-2); color: var(--muted); transition: background-color .2s, color .2s; }
.faq__ic .i { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.faq__item[open] .faq__ic { background: var(--red); color: var(--white); }
.faq__item[open] .faq__ic .i { transform: rotate(180deg); }
.faq__item summary:hover .faq__q { color: var(--red-ink); }
.faq__a { padding: 0 20px 18px; color: var(--text); }
.faq__a p { margin: 0 0 .7em; }
.faq__a > :last-child { margin-bottom: 0; }
.faq__a ul { list-style: none; display: grid; gap: 6px; margin: 0 0 .7em; }
.faq__a ul > li { position: relative; padding-left: 20px; }
.faq__a ul > li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--cell-line); }
@media (prefers-reduced-motion: no-preference) {
  .faq__item { interpolate-size: allow-keywords; }
  .faq__item::details-content { height: 0; overflow: clip; transition: height .32s var(--ease), content-visibility .32s allow-discrete; }
  .faq__item[open]::details-content { height: auto; }
}

/* ------------------------------------------------------------------ contact block (home) */
.visit { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 44px); background: var(--white); border: 1px solid var(--line); border-radius: 26px; }
.visit__title { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 8px; }
.visit__addr { font-size: 1.1rem; color: var(--ink); margin-bottom: 18px; }
.visit__more { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 18px 0 0; }

/* ------------------------------------------------------------------ contact icons (icon-only, labels in aria-label/title) */
.cicons { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.cicon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); color: var(--ink);
  text-decoration: none; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.cicon:hover { background: var(--red); border-color: var(--red); color: var(--white); transform: translateY(-1px); }
.cicons--lg .cicon { width: 54px; height: 54px; }
.cicons--lg .cicon .i { width: 23px; height: 23px; }
.cicons--card .cicon { width: 48px; height: 48px; }
.cicons--footer { gap: 8px; }
.cicons--footer .cicon { width: 42px; height: 42px; }

/* ------------------------------------------------------------------ inner page head */
.phead { position: relative; background: var(--paper); border-bottom: 1px solid var(--line); padding: 22px 0 clamp(30px, 4vw, 48px); overflow: hidden; overflow: clip; }
.phead__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.phead--side .phead__grid { grid-template-columns: minmax(0, 1fr) 230px; }
.phead__title { font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.1; letter-spacing: -.022em; max-width: 900px; }
.phead__sub { margin: 14px 0 0; font-size: clamp(1.08rem, 1.7vw, 1.3rem); color: var(--muted); max-width: 760px; }
.phead__lead { margin: 18px 0 0; max-width: 760px; font-size: clamp(1.02rem, 1.4vw, 1.12rem); color: var(--text); }
.phead .kicker { margin-top: 26px; }
.phead__side { justify-self: end; width: 230px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .84rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: ""; width: 4px; height: 4px; margin: 0 10px; border-radius: 50%; background: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

/* ------------------------------------------------------------------ document pages */
.doc { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(56px, 8vw, 96px); align-items: start; }
.doc__main { min-width: 0; max-width: 780px; }
.doc__aside { position: sticky; top: calc(var(--header-h) + 22px); display: grid; gap: 18px; min-width: 0; }
.doc__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--muted); font: 500 .8rem/1.3 var(--mono); }
.doc__meta .i { width: 16px; height: 16px; }

.answer { position: relative; margin: 0 0 34px; padding: 22px 24px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.answer__label { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 500 .74rem/1.3 var(--mono); color: var(--red-ink); letter-spacing: .02em; }
.answer__body { font-size: 1.06rem; line-height: 1.62; color: var(--ink); }
.answer__body p { margin: 0 0 .7em; }
.answer__body > :last-child { margin-bottom: 0; }
.answer__body ul { list-style: none; display: grid; gap: 6px; margin: 0 0 .8em; }
.answer__body ul > li { position: relative; padding-left: 22px; }
.answer__body ul > li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--cell); border: 1.5px solid var(--cell-line); }

.block__title { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font-size: clamp(1.3rem, 2vw, 1.55rem); }
.block__title > span:last-child { min-width: 0; }
.general, .prose__sec { margin-top: 38px; }
.general:first-of-type { margin-top: 0; }

.practice { margin-top: 38px; padding: 24px 24px 22px; background: var(--rose); border: 1px solid var(--rose-2); border-radius: 22px; }
.practice__title { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font-size: clamp(1.2rem, 1.8vw, 1.4rem); }
.practice__title .badge { background: var(--white); outline-color: var(--rose-3); }
.practice__body { color: var(--text); }
.practice__body ul { list-style: none; display: grid; gap: 12px; }
.practice__body ul > li { position: relative; padding-left: 26px; line-height: 1.6; }
.practice__body ul > li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 11px; height: 11px; border-radius: 50%; background: var(--white); border: 2px solid var(--red); }
.practice__body ul ul { margin-top: 8px; gap: 6px; }
.practice__body ul ul > li::before { width: 7px; height: 7px; top: .66em; border-width: 1.5px; }
.practice__body p:last-child { margin-bottom: 0; }

.subblock { margin-top: 20px; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--white); }
.subblock--practice { background: var(--rose); border-color: var(--rose-2); }
.subblock__title { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 1.1rem; }
.subblock--practice .badge { background: var(--white); }

.prose h3 { font-size: 1.12rem; margin: 22px 0 10px; }
.prose > h3:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.prose ul > li { position: relative; padding-left: 22px; }
.prose ul > li::before { content: ""; position: absolute; left: 3px; top: .64em; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--cell-line); }
.prose ol { counter-reset: n; }
.prose ol > li { position: relative; padding-left: 38px; counter-increment: n; }
.prose ol > li::before { content: counter(n); position: absolute; left: 0; top: .08em; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--rose); color: var(--red-ink); font: 500 .76rem/1 var(--mono); }
.prose li ul, .prose li ol { margin: 8px 0 2px; gap: 6px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { font-weight: 500; }
.quote { margin: 0; padding: 26px 28px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; }
.quote p { margin: 0 0 10px; font-size: 1.18rem; line-height: 1.5; font-style: italic; color: var(--ink); }
.quote footer { font: 500 .8rem/1.4 var(--mono); color: var(--muted); }

.tablewrap { margin: 6px 0 18px; }
.t { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.t th { text-align: left; font: 500 .74rem/1.3 var(--mono); color: var(--muted); background: var(--paper-2); padding: 12px 14px; border-bottom: 1px solid var(--line); }
.t td { padding: 13px 14px; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.t tr:first-child td { border-top: 0; }
.t--chrono td:first-child { width: 130px; font: 500 .86rem/1.5 var(--mono); color: var(--red-ink); white-space: nowrap; }
.t--kv td:first-child { width: 34%; color: var(--muted); }

.doc__faq { margin-top: 44px; }
.sources { margin-top: 44px; }
.sources ol { list-style: none; counter-reset: s; display: grid; gap: 10px; font-size: .93rem; }
.sources li { position: relative; padding-left: 34px; counter-increment: s; }
.sources li::before { content: counter(s); position: absolute; left: 0; top: .05em; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--paper-2); font: 500 .72rem/1 var(--mono); color: var(--muted); }
.sources a { word-break: break-word; }

.related { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.related__title { font-size: 1.2rem; margin-bottom: 16px; }
.related__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.relcard { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px 14px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s; height: 100%; }
.relcard:hover { border-color: var(--rose-3); box-shadow: var(--shadow); color: var(--text); }
.relcard:hover .badge { outline-offset: 5px; }
.relcard__text { display: flex; flex-direction: column; min-width: 0; }
.relcard__kind { font: 500 .7rem/1.3 var(--mono); color: var(--muted); }
.relcard__name { font-weight: 600; color: var(--ink); line-height: 1.3; }
.relcard__go { color: var(--muted); }
.relcard:hover .relcard__go { color: var(--red); }

.toc, .sibs { padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.toc__title, .sibs__title { margin: 0 0 10px; font: 500 .74rem/1.2 var(--mono); color: var(--muted); }
.toc ol { list-style: none; counter-reset: t; display: grid; gap: 2px; }
.toc a { position: relative; display: block; padding: 6px 8px 6px 30px; border-radius: 10px; text-decoration: none; color: var(--text); font-size: .93rem; line-height: 1.35; counter-increment: t; }
.toc a::before { content: counter(t); position: absolute; left: 6px; top: 7px; font: 500 .72rem/1.3 var(--mono); color: var(--red-ink); }
.toc a:hover, .toc a.is-here { background: var(--paper-2); color: var(--ink); }
.sibs ul { list-style: none; display: grid; gap: 2px; }
.sibs a { display: flex; align-items: center; gap: 12px; padding: 7px 8px 7px 6px; border-radius: 12px; color: var(--text); text-decoration: none; line-height: 1.3; font-size: .93rem; }
.sibs a:hover { background: var(--paper-2); color: var(--ink); }

.figure { margin: 0 0 30px; }
.figure img { border-radius: 22px; }
.figure--sm { max-width: 400px; }

/* ------------------------------------------------------------------ hubs */
.hub { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(56px, 8vw, 96px); }
.hub .answer { max-width: 860px; }
.hub__group + .hub__group { margin-top: clamp(36px, 5vw, 56px); }
.hub__title { display: flex; align-items: center; gap: 14px; font-size: clamp(1.3rem, 2vw, 1.55rem); margin-bottom: 18px; }
.cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px 22px 50px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: var(--rose-3); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.card .badge { margin: 4px 0 10px 4px; }
.card:hover .badge { outline-offset: 5px; outline-color: var(--rose-3); }
.card__kind { font: 500 .72rem/1.2 var(--mono); color: var(--muted); }
.card__title { font-weight: 600; font-size: 1.1rem; color: var(--ink); line-height: 1.3; }
.card__text { color: var(--muted); font-size: .93rem; line-height: 1.55; }
.card__go { position: absolute; left: 22px; bottom: 18px; color: var(--muted); transition: color .2s, transform .2s var(--ease); }
.card:hover .card__go { color: var(--red); transform: translateX(3px); }
.cards--articles { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 8px; }

/* ------------------------------------------------------------------ about */
.aboutx { border-bottom: 1px solid var(--line); padding: 22px 0 clamp(36px, 5vw, 60px); overflow: hidden; overflow: clip; }
.aboutx__grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.aboutx__photo { position: relative; margin: 0; order: -1; }
.aboutx__photo::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 140%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 1px solid var(--line-2); opacity: .6; }
.aboutx__frame { border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--paper-3); }
.aboutx__frame img { width: 100%; height: auto; }
.aboutx__head { padding-bottom: 6px; }
.aboutx__head .answer { margin: 26px 0 0; }

/* ------------------------------------------------------------------ FAQ page */
.faqpage { padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(56px, 8vw, 96px); max-width: calc(900px + var(--gut) * 2); }
.faqnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.faqnav a { padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: .92rem; }
.faqnav a:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.faqgroup { padding-top: 36px; }
.faqgroup__no { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--rose); color: var(--red-ink); font: 500 .8rem/1 var(--mono); outline: 1px solid var(--zona); outline-offset: 3px; }

/* ------------------------------------------------------------------ regional */
.cities { margin-bottom: 18px; }
.cities__period { margin: 0 0 10px; font: 500 .78rem/1.3 var(--mono); color: var(--muted); }
.cities__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.cities__list li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .95rem; }
.cities__list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cell); border: 1.5px solid var(--cell-line); }

/* ------------------------------------------------------------------ notes */
.note { margin-top: 26px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.note__title { display: flex; align-items: center; gap: 12px; font-size: 1.12rem; margin-bottom: 12px; }
.note p:last-child { margin-bottom: 0; }
.note .cicons { margin-top: 14px; }
.note--urgent { margin: 0 0 clamp(56px, 8vw, 96px); background: #FBEDEB; border-color: #F0CFCA; }
.note--urgent .badge { background: var(--urgent); color: var(--white); outline-color: #F0CFCA; }
.note--urgent .note__title { color: var(--urgent); }

/* ------------------------------------------------------------------ contact page */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 48px); padding-top: clamp(28px, 4vw, 48px); padding-bottom: 28px; align-items: start; }
.contact__info { display: grid; gap: 18px; min-width: 0; }
.contact__info .note { margin-top: 0; }
.addr { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; }
.addr__line { font-size: 1.12rem; color: var(--ink); margin: 0 0 4px; }
.addr__near { margin-bottom: 18px; }
.qr { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 20px; align-items: center; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; }
.qr__img { width: 148px; height: 148px; image-rendering: pixelated; border-radius: 10px; }
.qr__title { font-size: 1.1rem; margin-bottom: 6px; }
.qr p { margin: 0; font-size: .93rem; }
.booking { position: relative; padding: clamp(22px, 3vw, 32px); background: var(--white); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); min-width: 0; }
.booking__title { display: flex; align-items: center; gap: 14px; font-size: 1.4rem; margin-bottom: 10px; }
.booking__lead { font-size: .94rem; margin-bottom: 20px; }
.booking__errors { margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; background: #FBEDEB; color: var(--urgent); font-size: .94rem; }
.booking__errors p { margin: 0 0 6px; font-weight: 600; }
.booking__errors ul { padding-left: 18px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 500; font-size: .94rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--paper);
  font-size: 1rem; color: var(--ink); transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: var(--white); box-shadow: 0 0 0 4px var(--rose); }
.field [aria-invalid="true"] { border-color: var(--urgent); }
.field--check { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; margin: 8px 0 22px; }
.field--check input { width: 22px; height: 22px; min-height: 0; padding: 0; accent-color: var(--red); }
.field--check label { font-weight: 400; }
.cta--form { width: 100%; justify-content: center; height: 54px; font-size: 1.02rem; }
.booking__status { margin: 12px 0 0; min-height: 1.4em; font-size: .92rem; color: var(--muted); text-align: center; }

/* ------------------------------------------------------------------ legal, sitemap, search, 404 */
.legal { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(56px, 8vw, 96px); }
.legal h2 { font-size: 1.25rem; margin: 30px 0 10px; }
.smap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(56px, 8vw, 96px); }
.smap__col h2 { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; margin-bottom: 14px; }
.smap__col ul { list-style: none; display: grid; gap: 8px; }
.smap__col a { color: var(--text); text-decoration: none; }
.smap__col a:hover { color: var(--navy); text-decoration: underline; }
.searchpage { display: flex; align-items: center; gap: 12px; margin-top: clamp(28px, 4vw, 44px); padding: 8px 8px 8px 18px; background: var(--white); border: 1px solid var(--line-2); border-radius: 999px; }
.searchpage > .i { color: var(--muted); }
.searchpage input { flex: 1; min-width: 0; height: 46px; border: 0; outline: 0; background: none; font: 400 1.08rem var(--font); color: var(--ink); }
.iconbtn--go { background: var(--red); border-color: var(--red); color: var(--white); }
.search__count { margin: 16px 0 8px; font: 500 .82rem/1.3 var(--mono); color: var(--muted); min-height: 1.3em; }
.results { list-style: none; display: grid; gap: 8px; }
.results a { display: grid; gap: 3px; padding: 14px 16px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.results a:hover, .results a.is-active { border-color: var(--red); }
.results__kind { font: 500 .7rem/1.2 var(--mono); color: var(--red-ink); }
.results__title { font-weight: 600; color: var(--ink); }
.results__snip { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.results mark { background: var(--rose-2); color: inherit; border-radius: 3px; padding: 0 1px; }
.search__suggest { margin: 24px 0 clamp(56px, 8vw, 96px); }
.search__suggest p { color: var(--muted); margin-bottom: 10px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 7px 13px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: .9rem; }
.chips a:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.nf { padding: clamp(56px, 10vw, 120px) 0; text-align: center; }
.nf__well { width: 200px; margin: 0 auto 18px; }
.nf__code { margin: 0; font: 500 min(clamp(3.4rem, 10vw, 5rem), 26vw)/1 var(--mono); color: var(--red); letter-spacing: .06em; }
.nf h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 10px 0 12px; }
.nf p { color: var(--muted); }
.nf__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 24px; }

/* ------------------------------------------------------------------ footer */
.site-footer { position: relative; background: var(--ink); color: var(--on-dark-2); padding-top: clamp(48px, 6vw, 72px); }
.footer__path { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(232, 199, 191, .35), transparent); overflow: hidden; }
.footer__path span { position: absolute; top: -2px; left: -2%; width: 6px; height: 6px; border-radius: 50%; background: var(--rose-3); box-shadow: 0 0 0 3px rgba(232, 199, 191, .18); opacity: 0; }
.m-on .footer__path.is-in span { animation: pathDot 4.5s var(--ease) .3s 1; }
@keyframes pathDot { 0% { left: -2%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.footer__top { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); padding-bottom: 40px; }
.brand--footer { color: var(--white); }
.brand--footer:hover { color: var(--white); }
.brand--footer .brand__role { color: var(--on-dark-2); }
.brand--footer .mark__cell { fill: #3A2A33; }
.brand--footer .mark__zona { stroke: var(--rose-3); }
.brand--footer .mark__pn { fill: var(--ink); stroke: var(--rose-3); }
.footer__addr { display: flex; gap: 10px; margin: 22px 0 18px; line-height: 1.5; color: var(--on-dark); }
.footer__addr .i { color: var(--rose-3); margin-top: 2px; }
.footer__addr .muted { color: var(--on-dark-2); }
.site-footer .cicons .cicon { background: transparent; border-color: rgba(255, 255, 255, .18); color: var(--on-dark); }
.site-footer .cicons .cicon:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.footer__vcard { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--on-dark); text-decoration: none; font-weight: 500; }
.footer__vcard .i { color: var(--rose-3); }
.footer__vcard:hover { color: var(--white); }
.footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.footer__title { margin: 0 0 14px; font: 500 .76rem/1.2 var(--mono); color: var(--on-dark-2); }
.footer__col ul { list-style: none; display: grid; gap: 9px; }
.footer__col a { color: var(--on-dark); text-decoration: none; font-size: .95rem; }
.footer__col a:hover { color: var(--white); text-decoration: underline; }
.footer__note { padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__note p { display: flex; gap: 10px; margin: 0; font-size: .9rem; line-height: 1.55; }
.footer__note .i { color: var(--rose-3); margin-top: 1px; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 18px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; }
.footer__bottom p { margin: 0; }
.footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__legal a { color: var(--on-dark-2); text-decoration: none; }
.footer__legal a:hover { color: var(--white); text-decoration: underline; }
.footer__otx { margin-left: auto !important; }
.footer__otx a { color: var(--white); font-weight: 600; text-decoration: none; }
.footer__otx a:hover { color: var(--rose-3); }

/* ------------------------------------------------------------------ dialogs */
.dlg { padding: 0; border: 0; color: var(--text); background: var(--white); max-width: none; max-height: none; }
.dlg::backdrop { background: rgba(14, 20, 31, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.drawer { position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); height: 100%; margin: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer__body { min-height: 0; overflow-y: auto; padding: 10px 12px; }
.dnav { border-bottom: 1px solid var(--line); }
.dnav summary { display: flex; align-items: center; gap: 12px; padding: 12px 6px; cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); }
.dnav summary::-webkit-details-marker { display: none; }
.dnav summary > span:not(.badge) { flex: 1; }
.dnav summary > .i { color: var(--muted); transition: transform .2s; }
.dnav[open] summary > .i { transform: rotate(180deg); }
.dnav ul { list-style: none; display: grid; gap: 2px; padding: 0 0 10px 6px; }
.dnav a, .dlink { display: flex; align-items: center; gap: 12px; padding: 7px 6px; border-radius: 12px; text-decoration: none; color: var(--text); line-height: 1.3; }
.dlink { padding: 12px 6px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); border-radius: 0; }
.dnav a:hover, .dlink:hover { background: var(--paper-2); }
.drawer__foot { display: grid; gap: 12px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.cta-slot:empty { display: none; }
.cta-slot .cta { display: flex; justify-content: center; width: 100%; height: 54px; }
.searchdlg { position: fixed; top: 9vh; margin: 0 auto; width: min(720px, calc(100% - 24px)); max-height: 80vh; border-radius: 24px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; box-shadow: var(--shadow-lg); }
.searchdlg__form { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); }
.searchdlg__form > .i { color: var(--muted); }
.searchdlg__form input { flex: 1; min-width: 0; height: 46px; border: 0; outline: 0; background: none; font: 400 1.1rem var(--font); color: var(--ink); }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.searchdlg__body { min-height: 0; overflow-y: auto; padding: 14px 16px 18px; }
.searchdlg__hint p { color: var(--muted); margin-bottom: 10px; }
.cta-slot--dlg { padding: 0 16px 16px; }
.vcard { position: fixed; inset: 0; margin: auto; width: min(430px, calc(100% - 24px)); height: fit-content; border-radius: 26px; padding: 0; overflow: visible; background: transparent; }
.vcard__close { position: absolute; top: -14px; right: -6px; z-index: 2; box-shadow: var(--shadow); }
.vcard__card { padding: 26px; border-radius: 26px; background: var(--white); box-shadow: var(--shadow-lg); }
.vcard__top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.vcard__photo { flex: none; display: block; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; outline: 1px solid var(--zona); outline-offset: 3px; }
.vcard__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.vcard__name { margin: 0; font-weight: 600; font-size: 1.3rem; color: var(--ink); }
.vcard__role { margin: 2px 0 0; font-size: .88rem; color: var(--muted); line-height: 1.4; }
.vcard__addr { display: flex; gap: 10px; margin-bottom: 18px; line-height: 1.5; }
.vcard__addr .i { color: var(--red); margin-top: 2px; }
.vcard .cta-slot--dlg { padding: 12px 0 0; }
.videodlg { position: fixed; inset: 0; margin: auto; width: min(960px, calc(100% - 24px)); height: fit-content; background: transparent; overflow: visible; }
.videodlg__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #0E141F; box-shadow: var(--shadow-lg); }
.videodlg__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.videodlg__cap { margin: 12px 4px 0; color: var(--white); font-size: .95rem; text-align: center; }
.videodlg__close { position: absolute; top: -56px; right: 0; }
.videodlg::backdrop { background: rgba(14, 20, 31, .86); }

/* ------------------------------------------------------------------ plates: page illustrations in a culture well */
.plate { margin: 0; width: 100%; aspect-ratio: 1; }
.plate svg { width: 100%; height: 100%; overflow: visible; }
.pl__well { fill: var(--white); stroke: var(--line); stroke-width: 1.5; }
.pl__ring { fill: none; stroke: var(--rose-2); stroke-width: 1; }
.pl__txt { font: 500 13px var(--mono); fill: var(--muted); }
.pl__txt--sm { font-size: 11px; }
.plate .zona { fill: none; stroke: var(--zona); stroke-width: 6; }
.plate .zona--thin { stroke-width: 3; }
.plate .c, .plate .cl, .plate .bl, .plate .fol--dom, .plate .tun, .plate .inst, .plate .pip__inj { transform-box: fill-box; transform-origin: center; }
.plate .cl, .plate .bl { transform-box: view-box; transform-origin: 120px 120px; }
.plate .cl--2, .plate .cl--3 { opacity: 0; }
.plate .te--hot { fill: #EFA99D; }
.dna__bar { fill: var(--rose-3); transform-box: fill-box; transform-origin: 50% 100%; }
.pip { fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linejoin: round; }
.pip--hold { stroke-width: 2.2; }
.spz { fill: var(--red); }
.spz--in { opacity: 0; }
.chip { fill: var(--paper); stroke: var(--line-2); stroke-width: 1.5; }
.chip__port { fill: var(--rose); stroke: var(--zona); stroke-width: 1.5; }
.chip__ch { fill: none; stroke: var(--rose-3); stroke-width: 1.4; }
.sp { fill: var(--red); }
.sp--stay { fill: var(--cell-line); opacity: .7; }
.ovary { fill: #FDF3F1; stroke: var(--zona); stroke-width: 2; }
.fol { fill: var(--white); stroke: var(--cell-line); stroke-width: 1.3; }
.fol--big { fill: #FFF9F8; stroke: var(--red); stroke-width: 1.6; }
.cal { stroke: var(--navy); stroke-width: 1.2; stroke-dasharray: 3 3; }
.cal__x { stroke: var(--navy); stroke-width: 1.4; fill: none; }
.frost path { stroke: var(--navy); stroke-width: 1.3; stroke-linecap: round; fill: none; opacity: .55; }
.axis { stroke: var(--line-2); stroke-width: 1.4; }
.ticks { stroke: var(--line-2); stroke-width: 1.4; }
.cyc { fill: none; stroke-linecap: round; }
.cyc--fol { stroke: var(--red); stroke-width: 2.2; }
.cyc--endo { stroke: var(--zona); stroke-width: 3; }
.ovu { stroke: var(--navy); stroke-width: 1.2; stroke-dasharray: 3 3; }
.ovu__dot { fill: var(--white); stroke: var(--red); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.scope__field { fill: #FBEDEA; stroke: var(--zona); stroke-width: 1.5; }
.tissue { fill: none; stroke: var(--rose-3); stroke-width: 2; stroke-linecap: round; opacity: .8; }
.inst .shaft { stroke: var(--ink-2); stroke-width: 5; stroke-linecap: round; }
.inst .jaw { stroke: var(--ink-2); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.tun { fill: none; stroke: var(--rose-3); stroke-width: 1.4; transform-box: view-box; transform-origin: 120px 120px; }
.polyp { fill: var(--cell); stroke: var(--cell-line); stroke-width: 1.4; }
.lumen { fill: var(--zona); }
.cavity-line { fill: #FDF3F1; stroke: var(--cell-line); stroke-width: 2; stroke-linejoin: round; }
.sept { stroke: var(--red); stroke-width: 4; stroke-linecap: round; }
.tube-l, .tube-r { fill: none; stroke: var(--cell-line); stroke-width: 2; stroke-linecap: round; }
.tube { fill: none; stroke: var(--zona); stroke-width: 10; stroke-linecap: round; }
.fimb { fill: none; stroke: var(--zona); stroke-width: 2.4; stroke-linecap: round; }
.tube__block { fill: var(--white); stroke: var(--red); stroke-width: 2; }
.tube__egg { fill: none; stroke: var(--red); stroke-width: 11; stroke-linecap: round; stroke-dasharray: 0 200; stroke-dashoffset: -60; }
.edge { fill: none; stroke: var(--cell-line); stroke-width: 2.2; stroke-linecap: round; }
.stitch { fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 360; stroke-dashoffset: 0; }
.myo { fill: #FBEDEA; }
.serosa { fill: none; stroke: var(--zona); stroke-width: 3; stroke-linecap: round; }
.endo { fill: none; stroke: var(--cell-line); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.niche { fill: var(--rose); }
.rmt__line { stroke: var(--navy); stroke-width: 1.2; stroke-dasharray: 3 3; }
.rmt__tick { stroke: var(--navy); stroke-width: 1.4; stroke-linecap: round; }
.sweep { stroke: var(--navy); stroke-width: 1.2; stroke-dasharray: 2 4; opacity: 0; }
.canal { stroke: var(--cell-line); stroke-width: 2.2; stroke-linecap: round; }
.purse { fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-dasharray: 200; stroke-dashoffset: 0; }
.knot { fill: var(--navy); }
.tri { fill: none; stroke: var(--zona); stroke-width: 8; stroke-linecap: round; }
.tri--2 { stroke: var(--rose-3); }
.tri__base { stroke: var(--line-2); stroke-width: 1.2; stroke-dasharray: 2 5; }
.arc__dot { fill: none; stroke: var(--red); stroke-width: 13; stroke-linecap: round; stroke-dasharray: 0 200; stroke-dashoffset: -50; }
.route { fill: none; stroke: var(--zona); stroke-width: 2.4; stroke-dasharray: 5 6; stroke-linecap: round; }
.node { fill: var(--white); stroke: var(--red); stroke-width: 2.2; }
.bar { transform-box: fill-box; transform-origin: 50% 100%; }
.bar--a { fill: var(--zona); }
.bar--b { fill: var(--red); }
.frame { fill: var(--paper); stroke: var(--line-2); stroke-width: 1.5; }
.frame--mid { fill: var(--rose); stroke: var(--zona); }
.play { fill: var(--red); }
.regions__hub { fill: var(--red); }
.spoke { stroke: var(--zona); stroke-width: 1.4; }
.plate--regions .node { stroke-width: 1.8; }
.wave { fill: none; stroke: var(--rose-3); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; opacity: 0; }
.pin { fill: var(--rose); stroke: var(--red); stroke-width: 2.2; stroke-linejoin: round; }
.pin__dot { fill: var(--white); stroke: var(--red); stroke-width: 2; }

/* plate motion: only while visible (.is-play) and only with motion allowed */
.m-on .plate.is-play .cl--1 { animation: cl1 9s var(--ease) infinite; }
.m-on .plate.is-play .cl--2 { animation: cl2 9s var(--ease) infinite; }
.m-on .plate.is-play .cl--3 { animation: cl3 9s var(--ease) infinite; }
@keyframes cl1 { 0%, 28% { opacity: 1; transform: scale(1); } 34%, 96% { opacity: 0; transform: scale(.96); } 100% { opacity: 1; } }
@keyframes cl2 { 0%, 30% { opacity: 0; transform: scale(.96); } 36%, 61% { opacity: 1; transform: scale(1); } 67%, 100% { opacity: 0; } }
@keyframes cl3 { 0%, 63% { opacity: 0; transform: scale(.96); } 69%, 94% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
.m-on .plate.is-play .bl { animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.03); } }
.m-on .plate.is-play .te--hot { animation: hot 3s ease-in-out infinite; }
@keyframes hot { 50% { fill: #E58C7E; } }
.m-on .plate.is-play .dna__bar { animation: barUp 1.1s var(--ease) backwards; }
.m-on .plate.is-play .dna__bar.n1 { animation-delay: .1s; } .m-on .plate.is-play .dna__bar.n2 { animation-delay: .2s; } .m-on .plate.is-play .dna__bar.n3 { animation-delay: .3s; } .m-on .plate.is-play .dna__bar.n4 { animation-delay: .4s; }
@keyframes barUp { from { transform: scaleY(0); } }
.m-on .plate.is-play .pip__inj { animation: inject 6.5s var(--ease) infinite; }
@keyframes inject { 0%, 12% { transform: translateX(48px); } 38%, 54% { transform: translateX(0); } 80%, 100% { transform: translateX(48px); } }
.m-on .plate.is-play .pip__inj .spz { animation: spzOut 6.5s linear infinite; }
@keyframes spzOut { 0%, 50% { opacity: 1; } 52%, 100% { opacity: 0; } }
.m-on .plate.is-play .spz--in { animation: spzIn 6.5s linear infinite; }
@keyframes spzIn { 0%, 50% { opacity: 0; } 52%, 92% { opacity: 1; } 100% { opacity: 0; } }
.m-on .plate.is-play .sp--go { animation: swim 4.2s linear infinite; }
.m-on .plate.is-play .sp--go.n1 { animation-delay: -1.4s; } .m-on .plate.is-play .sp--go.n2 { animation-delay: -2.8s; }
@keyframes swim { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(70px); opacity: 0; } }
.m-on .plate.is-play .sp--stay { animation: jiggle 2.4s ease-in-out infinite; }
@keyframes jiggle { 50% { transform: translateX(3px); } }
.m-on .plate.is-play .fol--dom { animation: grow 8s var(--ease) infinite; }
@keyframes grow { 0% { transform: scale(.45); } 60%, 92% { transform: scale(1); } 100% { transform: scale(.45); } }
.m-on .plate.is-play .cal, .m-on .plate.is-play .cal__x { animation: calIn 8s linear infinite; }
@keyframes calIn { 0%, 58% { opacity: 0; } 64%, 92% { opacity: 1; } 100% { opacity: 0; } }
.m-on .plate.is-play .frost { animation: frost 7s ease-in-out infinite; }
@keyframes frost { 0%, 100% { opacity: .1; } 50% { opacity: 1; } }
.m-on .plate.is-play .cyc--fol { stroke-dasharray: 340; animation: draw 2.4s var(--ease) backwards; }
@keyframes draw { from { stroke-dashoffset: 340; } }
.m-on .plate.is-play .ovu__dot { animation: pulse 3s ease-in-out infinite 2.4s; }
@keyframes pulse { 50% { transform: scale(1.35); } }
.m-on .plate.is-play .inst--l { animation: instL 5s ease-in-out infinite; }
.m-on .plate.is-play .inst--r { animation: instR 5s ease-in-out infinite; }
@keyframes instL { 50% { transform: translate(-7px, 7px); } }
@keyframes instR { 50% { transform: translate(6px, 6px); } }
.m-on .plate.is-play .tun { animation: tunnel 4.5s linear infinite; }
.m-on .plate.is-play .tun.n1 { animation-delay: -.9s; } .m-on .plate.is-play .tun.n2 { animation-delay: -1.8s; } .m-on .plate.is-play .tun.n3 { animation-delay: -2.7s; } .m-on .plate.is-play .tun.n4 { animation-delay: -3.6s; }
@keyframes tunnel { 0% { transform: scale(.12); opacity: 0; } 20% { opacity: 1; } 100% { transform: scale(1.05); opacity: 0; } }
.plate--hystero .tun.n0 { transform: scale(.2); } .plate--hystero .tun.n1 { transform: scale(.4); } .plate--hystero .tun.n2 { transform: scale(.6); } .plate--hystero .tun.n3 { transform: scale(.8); }
.m-on .plate.is-play .sept { stroke-dasharray: 72; animation: septum 7s var(--ease) infinite; }
@keyframes septum { 0%, 25% { stroke-dashoffset: 0; } 55%, 85% { stroke-dashoffset: 72; } 100% { stroke-dashoffset: 0; } }
.m-on .plate.is-play .sweep { animation: sweep 8s linear infinite; }
@keyframes sweep { 0% { transform: translateX(0); opacity: 0; } 6%, 54% { opacity: .8; } 60%, 100% { transform: translateX(160px); opacity: 0; } }
.m-on .plate.is-play .rmt { animation: rmt 8s linear infinite; }
@keyframes rmt { 0%, 30% { opacity: 0; } 36%, 92% { opacity: 1; } 100% { opacity: 0; } }
.m-on .plate.is-play .tube__egg { animation: egg 7s linear infinite; }
@keyframes egg { 0% { stroke-dashoffset: -100; } 100% { stroke-dashoffset: 0; } }
.m-on .plate.is-play .tube__block { animation: unblock 7s ease-in-out infinite; }
@keyframes unblock { 0%, 40% { stroke-width: 2; } 50%, 70% { stroke-width: 3.4; } 100% { stroke-width: 2; } }
.m-on .plate.is-play .stitch { animation: stitch 6s var(--ease) infinite; }
@keyframes stitch { 0% { stroke-dashoffset: 360; } 55%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 360; } }
.m-on .plate.is-play .purse { animation: purse 6s var(--ease) infinite; }
@keyframes purse { 0% { stroke-dashoffset: 200; } 55%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 200; } }
.m-on .plate.is-play .arc__dot { animation: arcDot 10s linear infinite; }
@keyframes arcDot { 0% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; } }
.m-on .plate.is-play .node { animation: nodeIn .6s var(--ease) backwards; transform-box: fill-box; transform-origin: center; }
.m-on .plate.is-play .node.n1 { animation-delay: .25s; } .m-on .plate.is-play .node.n2 { animation-delay: .5s; } .m-on .plate.is-play .node.n3 { animation-delay: .75s; }
.m-on .plate.is-play .node.n4 { animation-delay: 1s; } .m-on .plate.is-play .node.n5 { animation-delay: 1.25s; } .m-on .plate.is-play .node.n6 { animation-delay: 1.5s; }
.m-on .plate.is-play .node.n7 { animation-delay: 1.75s; } .m-on .plate.is-play .node.n8 { animation-delay: 2s; }
@keyframes nodeIn { from { transform: scale(0); } }
.m-on .plate.is-play .bar { animation: barUp 1.2s var(--ease) backwards; }
.m-on .plate.is-play .bar--b { animation-delay: .25s; }
.m-on .plate.is-play .frame--mid { animation: frameMid 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes frameMid { 50% { transform: scale(1.04); } }
.m-on .plate.is-play .wave { animation: wave 3.2s ease-out infinite; }
.m-on .plate.is-play .wave--2 { animation-delay: 1.6s; }
@keyframes wave { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.6); opacity: 0; } }

/* ------------------------------------------------------------------ reveal on scroll */
.m-on .rv:not(.is-in) { opacity: 0; }
.m-on .rv.is-in { animation: rvIn .6s var(--ease) var(--m-d, 0ms) backwards; }
@keyframes rvIn { from { opacity: 0; translate: 0 12px; } }
.m-done .rv { opacity: 1 !important; animation: none !important; }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vtOut .2s ease both; }
  ::view-transition-new(root) { animation: vtIn .42s var(--ease) both; }
  @keyframes vtOut { to { opacity: 0; filter: blur(5px); } }
  @keyframes vtIn { from { opacity: 0; filter: blur(7px); } }
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1359.98px) {
  .nav { display: none; }
  .iconbtn--menu { display: inline-grid; }
  .header__actions { margin-left: auto; }
}
.nav-collapse .nav { display: none; }
.nav-collapse .iconbtn--menu { display: inline-grid; }
.nav-collapse .header__actions { margin-left: auto; }
.brand-short .site-header .brand__role-x { display: none; }
@media (max-width: 1099.98px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .tl { right: -18px; width: 164px; }
  .queries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc__aside { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .doc__main { max-width: none; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .smap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 959.98px) {
  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc__card { display: grid; grid-template-columns: 240px minmax(0, 1fr); }
  .svc__media { aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
  .svc__media .plate { width: 74%; }
  .slates { grid-template-columns: minmax(0, 1fr); }
  .faqwrap, .intro__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .track { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .track::before { display: none; }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .aboutx__grid { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
}
@media (max-width: 767.98px) {
  :root { --header-h: 64px; }
  body { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  .header__row { gap: 12px; }
  .brand { gap: 10px; }
  .mark { width: 36px; height: 36px; }
  .brand__name { font-size: 1.02rem; }
  .brand__role { font-size: .64rem; }
  [data-cta].cta {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; justify-content: center; height: 56px; width: auto;
    font-size: 1rem; box-shadow: 0 14px 30px -12px rgba(23, 33, 49, .55), 0 0 0 1px rgba(23, 33, 49, .06);
  }
  .cta-slot [data-cta].cta { position: static; box-shadow: none; }
  .iconbtn { width: 42px; height: 42px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "photo" "body"; }
  .hero__photo { max-width: 460px; margin: 0 0 48px; }
  .tl { right: 10px; bottom: -40px; width: 138px; padding: 8px 8px 10px; border-radius: 22px; }
  .tl__bar { font-size: .62rem; margin: 6px 2px 5px; }
  .tl__label { display: none; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .queries, .principles, .cards, .cards--articles, .related__list, .slates--list { grid-template-columns: minmax(0, 1fr); }
  .svc__card { grid-template-columns: minmax(0, 1fr); }
  .svc__media { aspect-ratio: 16 / 10; border-right: 0; border-bottom: 1px solid var(--line); }
  .svc__media .plate { width: 46%; }
  .track { grid-template-columns: minmax(0, 1fr); }
  .visit { grid-template-columns: minmax(0, 1fr); }
  .visit__map { width: 150px; }
  .phead--side .phead__grid { grid-template-columns: minmax(0, 1fr) 96px; align-items: start; gap: 16px; }
  .phead__side { width: 96px; margin-top: 24px; }
  .phead .kicker { margin-top: 18px; }
  .doc__aside { grid-template-columns: minmax(0, 1fr); }
  .aboutx__grid { grid-template-columns: minmax(0, 1fr); }
  .aboutx__photo { max-width: 360px; }
  .qr { display: none; }
  .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__otx { margin-left: 0 !important; }
  .searchdlg { top: 0; width: 100%; max-height: 100%; height: 100%; border-radius: 0; }
  .t--stack thead, .tablewrap .t thead { display: none; }
  .tablewrap .t, .tablewrap .t tbody, .tablewrap .t tr, .tablewrap .t td { display: block; width: 100%; }
  .tablewrap .t tr { padding: 12px 14px; border-top: 1px solid var(--line); }
  .tablewrap .t tr:first-child { border-top: 0; }
  .tablewrap .t td { border: 0; padding: 3px 0; }
  .tablewrap .t td::before { content: attr(data-label); display: block; font: 500 .7rem/1.5 var(--mono); color: var(--muted); }
  .t--chrono td:first-child { width: auto; }
  .practice, .subblock { padding: 20px 18px; }
  .answer { padding: 20px 18px 18px; }
  .booking__status { min-height: 0; margin-top: 4px; }
}
@media (max-width: 559.98px) {
  .smap { grid-template-columns: minmax(0, 1fr); }
  .brand__name { white-space: normal; }
  .footer__nav { grid-template-columns: minmax(0, 1fr); }
  .relcard { grid-template-columns: auto minmax(0, 1fr); }
  .relcard__go { display: none; }
}
@media (max-width: 429.98px) {
  .site-header .brand__role-x, .drawer .brand__role-x { display: none; }
}
@media (max-width: 379.98px) {
  [data-cta].cta { font-size: .94rem; padding: 0 14px 0 6px; }
}
@media (max-width: 359.98px) {
  .site-header .brand__role, .drawer .brand__role { display: none; }
  [data-cta].cta { font-size: .88rem; gap: 8px; }
}
