/* Dr. Qafar Tağıyev — site styles. Navy and steel palette; the logo's copper is kept as a small accent. */
:root {
  --bg: #f3f6f9;
  --surface: #ffffff;
  --tint: #e4ebf3;
  --tint-2: #edf2f7;
  --line: #d4dde7;
  --line-2: #bccad8;
  --ink: #0e1c2c;
  --text: #1f2d3d;
  --muted: #4d5d6e;
  --icon: #2a5d93;
  --accent: #b4632a;
  --link: #1b4f8a;
  --btn: #1b3a5e;
  --btn-hover: #112842;
  --deep: #0c1828;
  --deep-2: #142439;
  --on-deep: #e9eff6;
  --on-deep-muted: #b8c5d3;
  --on-deep-link: #f0b27a;
  --vessel: #b5473b;
  --focus: #c2410c;
  --ok: #2f7a4b;
  --warn: #a12d1f;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(14, 28, 44, .06), 0 8px 24px rgba(14, 28, 44, .06);
  --shadow-lg: 0 2px 4px rgba(14, 28, 44, .08), 0 18px 44px rgba(14, 28, 44, .12);
  --font: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --head-h: 4.5rem;
  --wrap: 1180px;
  --gutter: clamp(1rem, .6rem + 1.6vw, 1.5rem);
  color-scheme: light;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 1rem); background: var(--deep); }
body { margin: 0; font: 400 1rem/1.65 var(--font); color: var(--text); background: var(--bg); overflow-wrap: break-word; }
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: .07em; }
a:hover { color: var(--btn-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.22; margin: 0 0 .6em; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem); }
h2 { font-size: clamp(1.4rem, 1.15rem + .9vw, 2rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin: .25em 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
dialog:not([open]) { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.22em; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- skip link ---------- */
.skip { position: absolute; left: .75rem; top: -4rem; z-index: 200; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 10px; text-decoration: none; }
.skip:focus { top: .75rem; color: #fff; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 2.9rem; padding: .62rem 1.3rem; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn .i { transition: transform .2s; }
.btn:hover .i--nudge { transform: translateX(3px); }
.btn--primary { background: var(--btn); color: #fff; }
.btn--primary:hover { background: var(--btn-hover); color: #fff; }
.btn--soft { background: var(--tint); color: var(--link); border-color: var(--line); }
.btn--soft:hover { background: #d6e2ef; color: var(--btn-hover); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--icon); color: var(--btn-hover); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* icon-only round buttons */
.icon-btn { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
.icon-btn:hover { border-color: var(--icon); color: var(--btn-hover); }
.icon-btn .i { width: 1.3rem; height: 1.3rem; }
.cicons { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.cicons li { margin: 0; }
.cicon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 999px; background: var(--tint); color: var(--link); border: 1px solid var(--line); text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.cicon:hover { background: var(--btn); color: #fff; border-color: var(--btn); }
.cicon .i { width: 1.35rem; height: 1.35rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; isolation: isolate; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header.is-scrolled::before { box-shadow: 0 6px 22px rgba(14, 28, 44, .07); }
.hbar { display: flex; align-items: center; gap: 1rem; min-height: var(--head-h); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); flex: 0 0 auto; min-width: 0; }
.brand__mark { width: 2.9rem; height: auto; flex: none; }
.brand__mark--light { display: none; }
.brand__text { display: grid; line-height: 1.15; min-width: 0; }
.brand__name { font-weight: 650; font-size: 1.06rem; letter-spacing: -.005em; white-space: nowrap; }
.brand__role { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.nav { flex: 0 1 auto; margin-left: .75rem; }
.nav__list { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; margin: 0; }
.nav__link { display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .62rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 400; white-space: nowrap; background: none; border: 0; font-size: .98rem; line-height: 1.3; }
.nav__link .i { width: 1rem; height: 1rem; color: var(--muted); transition: transform .2s; }
.nav__link:hover, .nav__item.is-open > .nav__link { background: var(--tint); color: var(--btn-hover); }
.nav__link[aria-current="page"], .nav__link.is-current { color: var(--link); font-weight: 500; }
.nav__item.is-open > .nav__link .i { transform: rotate(180deg); }
.nav__panel { position: absolute; left: 50%; top: calc(100% - 14px); padding-top: 22px; transform: translateX(-50%); width: max-content; min-width: 17rem; max-width: 22rem; z-index: 5; }
.nav__panel-in { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: .5rem; }
html:not(.js-menu) .nav__item:hover > .nav__panel, html:not(.js-menu) .nav__item:focus-within > .nav__panel { display: block; }
.nav__panel { display: none; }
.nav__item.is-open > .nav__panel { display: block; animation: pop .18s ease-out; }
.sub { list-style: none; margin: 0; padding: 0; }
.sub li { margin: 0; }
.sub a { display: flex; align-items: center; gap: .7rem; padding: .5rem .6rem; border-radius: 10px; color: var(--ink); text-decoration: none; line-height: 1.3; }
.sub a:hover, .sub a:focus-visible { background: var(--tint-2); color: var(--btn-hover); }
.sub a[aria-current="page"] { color: var(--link); font-weight: 500; }
.sub__ico { display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 10px; background: var(--tint); color: var(--icon); flex: none; }
.sub__ico .i { width: 1.15rem; height: 1.15rem; }
.sub__all { border-top: 1px solid var(--line); margin-top: .35rem !important; padding-top: .35rem; }
.hactions { display: flex; align-items: center; gap: .55rem; flex: 1 1 auto; justify-content: flex-end; }
.hsearch { order: 0; }
.cta-slot { order: 1; display: flex; }
.burger { order: 2; display: none; }
html:not(.nav-collapse) .hactions { justify-content: flex-start; }
html:not(.nav-collapse) .cta-slot { margin-left: auto; }
.cta { display: inline-flex; }
.cta .i--nudge { width: 1.1rem; height: 1.1rem; }
html.nav-collapse .nav { display: none; }
html.nav-collapse .burger { display: inline-grid; }

/* phone dock: the single CTA stays visible while scrolling */
@media (max-width: 767.98px) {
  .cta-slot { position: fixed; left: 76px; right: 12px; bottom: 12px; z-index: 55; margin: 0 !important; }
  .cta-slot .cta { width: 100%; min-height: 3.1rem; box-shadow: 0 10px 26px rgba(14, 28, 44, .22); }
  .site-footer { padding-bottom: 5.2rem; }
  .brand__role-x { display: none; }
}
@media (max-width: 420px) {
  .brand__mark { width: 2.5rem; }
  .brand__name { font-size: 1rem; }
}

/* ---------- drawer ---------- */
.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(25rem, 100%); max-width: 100%; height: 100%; max-height: 100%; padding: 0; border: 0; background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); }
.drawer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.drawer::backdrop { background: rgba(8, 18, 30, .45); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1rem .9rem 1.2rem; border-bottom: 1px solid var(--line); }
.drawer__body { overflow-y: auto; min-height: 0; padding: .6rem .8rem 1rem; overscroll-behavior: contain; }
.drawer__foot { padding: .9rem 1rem 1.1rem; border-top: 1px solid var(--line); display: grid; gap: .9rem; }
.drawer__foot .cta-slot { position: static; }
.drawer__foot .cta { width: 100%; }
.dnav { list-style: none; margin: 0; padding: 0; }
.dnav > li { margin: 0; border-bottom: 1px solid var(--line); }
.dnav > li:last-child { border-bottom: 0; }
.dnav__row { display: flex; align-items: center; }
.dnav__link { flex: 1; display: block; padding: .8rem .4rem; color: var(--ink); text-decoration: none; font-weight: 500; }
.dnav__link[aria-current="page"] { color: var(--link); }
.dnav__toggle { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 0; background: none; border-radius: 10px; color: var(--muted); }
.dnav__toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
.dnav .sub { padding: 0 0 .6rem; }

/* ---------- dialogs (search) ---------- */
.dlg { border: 0; padding: 0; margin: 6vh auto auto; width: min(44rem, calc(100% - 2rem)); max-height: 84vh; border-radius: 20px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); }
.dlg[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.dlg::backdrop { background: rgba(8, 18, 30, .45); }
.dlg__head { display: flex; gap: .6rem; align-items: center; padding: 1rem; border-bottom: 1px solid var(--line); }
.dlg__body { overflow-y: auto; min-height: 0; padding: .6rem 1rem 1rem; }
.sform { display: flex; align-items: center; gap: .5rem; flex: 1; min-width: 0; }
.sform__in { flex: 1; min-width: 0; height: 2.9rem; padding: 0 1rem; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); }
.sform__in:focus-visible { outline-offset: 0; }
.sresults { list-style: none; margin: 0; padding: 0; }
.sresults li { margin: 0; border-bottom: 1px solid var(--line); }
.sresults a { display: block; padding: .8rem .3rem; text-decoration: none; color: var(--text); }
.sresults a:hover { background: var(--tint-2); }
.sresults strong { display: block; color: var(--ink); font-weight: 600; }
.sresults span { display: block; font-size: .9rem; color: var(--muted); }
.sresults mark { background: #fbe3c6; color: inherit; border-radius: 3px; padding: 0 .1em; }
.shint { color: var(--muted); font-size: .92rem; margin: .8rem .3rem; }

/* ---------- breadcrumbs & page head ---------- */
.crumbs { padding-top: 1.1rem; font-size: .88rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: .3rem; min-width: 0; }
.crumbs li + li::before { content: "›"; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--link); text-decoration: underline; }
.phead { padding: 1.4rem 0 2.2rem; }
.phead__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: center; }
.phead--plate .phead__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.phead h1 { margin-bottom: .45em; }
.lead { font-size: 1.12rem; color: var(--text); max-width: 46rem; }
.kicker { display: inline-flex; align-items: center; gap: .55rem; font-size: .84rem; font-weight: 600; letter-spacing: .02em; color: var(--link); margin-bottom: .9rem; }
.kicker__ico { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 9px; background: var(--tint); color: var(--icon); flex: none; }
.kicker__ico .i { width: 1.05rem; height: 1.05rem; }
.kicker > span:last-child { min-width: 0; }
.plate { width: 100%; max-width: 22rem; justify-self: end; }
@media (max-width: 860px) {
  .phead--plate .phead__grid { grid-template-columns: minmax(0, 1fr); }
  .plate { max-width: 17rem; justify-self: start; order: -1; }
}

/* ---------- sections ---------- */
.section { padding: clamp(2.4rem, 1.6rem + 3vw, 4.2rem) 0; }
.section--tint { background: var(--tint-2); border-block: 1px solid var(--line); }
.section--white { background: var(--surface); border-block: 1px solid var(--line); }
.section__head { max-width: 46rem; margin-bottom: 1.8rem; }
.section__head p { color: var(--muted); }
.section__head h2 { margin-bottom: .35em; }
main > .section:last-child, main > section:last-child { padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }

/* ---------- hero (home) ---------- */
.hero { position: relative; padding: clamp(1.6rem, 1rem + 2.5vw, 3.2rem) 0 clamp(2.2rem, 1.4rem + 3vw, 3.8rem); overflow: hidden; overflow: clip; }
.hero__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.hero__media { position: relative; isolation: isolate; justify-self: center; width: 100%; max-width: 27rem; }
.hero__art { position: absolute; z-index: -1; left: -14%; top: -8%; width: 128%; max-width: none; color: var(--icon); opacity: .9; pointer-events: none; }
.hero__photo { position: relative; z-index: 1; background: #fff; border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.hero__photo img { width: 100%; }
.hero__text { min-width: 0; }
.hero h1 { font-size: clamp(2rem, 1.3rem + 2.5vw, 2.95rem); margin-bottom: .3em; }
.hero__role { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); color: var(--link); font-weight: 500; margin-bottom: 1.3rem; }
.hero__lead { max-width: 36rem; margin-bottom: 1.4rem; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.facts li { display: flex; gap: .8rem; align-items: flex-start; margin: 0; }
.facts__ico { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--icon); flex: none; }
.facts__ico .i { width: 1.2rem; height: 1.2rem; }
.facts__txt { padding-top: .32rem; min-width: 0; }
.facts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.6rem; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__media { max-width: 20rem; justify-self: start; }
  .facts--2 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
.cards > * { grid-column: span 4; min-width: 0; }
.cards--4 > * { grid-column: span 3; }
.cards--2 > * { grid-column: span 6; }
.cards--7 > :nth-child(-n+4) { grid-column: span 3; }
.cards--7 > :nth-child(n+5) { grid-column: span 4; }
@media (max-width: 1023.98px) {
  .cards > *, .cards--4 > *, .cards--7 > :nth-child(n) { grid-column: span 6; }
  .cards--7 > :last-child { grid-column: span 12; }
}
@media (max-width: 600px) {
  .cards > *, .cards--4 > *, .cards--7 > :nth-child(n), .cards--2 > * { grid-column: span 12; }
}
.card { position: relative; display: flex; flex-direction: column; gap: .6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.2rem; color: var(--text); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); color: var(--text); }
.card__ico { display: inline-grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 14px; background: var(--tint); color: var(--icon); }
.card__ico .i { width: 1.45rem; height: 1.45rem; }
a.card:hover .card__ico { background: var(--btn); color: #fff; }
.card__title { font-size: 1.1rem; font-weight: 600; color: var(--ink); line-height: 1.3; margin: .1rem 0 0; }
.card__text { margin: 0; color: var(--muted); font-size: .96rem; }
.card__more { margin-top: auto; padding-top: .3rem; display: inline-block; color: var(--link); font-weight: 500; font-size: .95rem; }
.card__more .i { width: 1rem; height: 1rem; transition: transform .2s; }
a.card:hover .card__more .i { transform: translateX(3px); }

/* ---------- prose ---------- */
.prose { max-width: 46rem; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); margin: 2.1rem 0 .7rem; display: flex; align-items: center; gap: .65rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6rem 0 .5rem; }
.h-ico { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 11px; background: var(--tint); color: var(--icon); flex: none; }
.h-ico .i { width: 1.2rem; height: 1.2rem; }
.prose ul:not(.cicons):not(.facts) li::marker { color: var(--icon); }
.prose ol li::marker { color: var(--icon); font-weight: 600; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose table { margin: 1rem 0 1.4rem; font-size: .96rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .7rem .8rem; border-bottom: 1px solid var(--line); }
.prose thead th { background: var(--tint-2); color: var(--ink); font-weight: 600; border-bottom-color: var(--line-2); }
.twrap { overflow-x: auto; margin: 1rem 0 1.4rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.twrap table { margin: 0; }
.t--kv th { width: 34%; color: var(--muted); font-weight: 500; background: var(--tint-2); }
@media (max-width: 600px) {
  .t--kv, .t--kv tbody, .t--kv tr, .t--kv th, .t--kv td { display: block; width: auto; }
  .t--kv th { border-bottom: 0; padding-bottom: .1rem; background: none; }
  .t--kv td { padding-top: .1rem; }
  .t--stack thead { display: none; }
  .t--stack, .t--stack tbody, .t--stack tr, .t--stack td { display: block; }
  .t--stack tr { border-bottom: 1px solid var(--line-2); padding: .5rem 0; }
  .t--stack td { border: 0; padding: .25rem .8rem; }
  .t--stack td::before { content: attr(data-label); display: block; font-size: .8rem; color: var(--muted); font-weight: 600; }
}
.answer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; margin: 0 0 1.6rem; box-shadow: var(--shadow); }
.answer__label { display: flex; align-items: center; gap: .55rem; font-weight: 600; color: var(--link); font-size: .9rem; margin-bottom: .5rem; }
.answer__label .i { width: 1.1rem; height: 1.1rem; }
.answer p:last-child { margin-bottom: 0; }
.note { font-size: .92rem; color: var(--muted); background: var(--tint-2); border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem; display: flex; gap: .6rem; }
.note .i { color: var(--icon); margin-top: .1rem; }
.quote { margin: 1.6rem 0; padding: 1.4rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.quote__ico { color: var(--icon); width: 1.8rem; height: 1.8rem; margin-bottom: .5rem; }
.quote blockquote { margin: 0; font-size: 1.12rem; color: var(--ink); }
.quote blockquote p:last-child { margin-bottom: 0; }
.quote figcaption { margin-top: .7rem; font-weight: 600; color: var(--muted); font-size: .95rem; }
.more { display: inline; font-weight: 500; }
.more .i { width: 1rem; height: 1rem; display: inline-block; vertical-align: -.18em; transition: transform .2s; }
.more:hover .i { transform: translateX(3px); }
.related { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.related__title { font-size: 1rem; font-weight: 600; color: var(--muted); margin-bottom: .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.chips li { margin: 0; }
.chips a { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .93rem; }
.chips a:hover { border-color: var(--icon); color: var(--btn-hover); }
.chips .i { width: 1rem; height: 1rem; color: var(--icon); }
.disclaimer { font-size: .88rem; color: var(--muted); }

/* page with sticky side column (about) */
.split { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: start; }
.split__side { position: sticky; top: calc(var(--head-h) + 1.2rem); display: grid; gap: 1rem; min-width: 0; }
.split__main { min-width: 0; }
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split__side { position: static; max-width: 24rem; }
}
.photo-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.photo-card img { width: 100%; }
.photo-card figcaption { padding: .7rem 1rem .85rem; font-size: .88rem; color: var(--muted); }
.figure { margin: 1.6rem 0; }
.figure img { border-radius: var(--radius); border: 1px solid var(--line); }
.figure figcaption { font-size: .88rem; color: var(--muted); margin-top: .5rem; }
.figure--sm { max-width: 26rem; }

/* timeline */
.timeline { list-style: none; margin: 1rem 0 1.4rem; padding: 0; display: grid; gap: .25rem; }
.timeline li { display: grid; grid-template-columns: minmax(0, 8.2rem) minmax(0, 1fr); gap: 1rem; margin: 0; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 0; }
.timeline__when { font-weight: 600; color: var(--link); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .timeline li { grid-template-columns: minmax(0, 1fr); gap: .15rem; } }

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: 2.4rem; }
.faq-group > h2 { display: flex; align-items: center; gap: .65rem; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin: 0 0 .7rem; }
.faq summary { list-style: none; cursor: pointer; display: flex; gap: .8rem; align-items: center; justify-content: space-between; padding: 1rem 1.15rem; font-weight: 600; color: var(--ink); border-radius: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--icon); transition: transform .25s; }
.faq[open] summary .i { transform: rotate(180deg); }
.faq summary:hover { background: var(--tint-2); }
.faq__a { padding: 0 1.15rem 1.1rem; }
.faq__a p:last-child { margin-bottom: 0; }
.faq__by { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq::details-content { block-size: 0; overflow: clip; transition: block-size .28s ease, content-visibility .28s allow-discrete; }
  .faq[open]::details-content { block-size: auto; }
}

/* ---------- videos ---------- */
.vgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1023.98px) { .vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vgrid--2 { grid-template-columns: repeat(2, minmax(0, 15rem)); }
.vcard { margin: 0; display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
.vcard__media { position: relative; border-radius: 16px; overflow: hidden; background: #0c1828; aspect-ratio: 9 / 16; border: 1px solid var(--line); }
.vcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.vcard__play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.vcard__pi { width: 3.3rem; height: 3.3rem; color: #fff; background: rgba(12, 24, 40, .58); border-radius: 50%; transition: transform .2s, background .2s; }
.vcard__play:hover .vcard__pi { transform: scale(1.08); background: rgba(12, 24, 40, .8); }
.vcard__play:focus-visible { outline-offset: -4px; }
.vcard__title { font-weight: 600; color: var(--ink); line-height: 1.3; font-size: .98rem; margin: 0; }
.vcard__meta { font-size: .85rem; color: var(--muted); margin: 0; }
.vcard__btn { align-self: flex-start; max-width: 100%; }
.vrow { display: flex; gap: .9rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: .9rem 1rem; flex-wrap: wrap; }
.vrow__ico { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--tint); color: var(--icon); flex: none; }
.vrow__txt { flex: 1 1 14rem; min-width: 0; }
.vnote { font-size: .86rem; color: var(--muted); margin-top: 1rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.2rem, 1rem + 2vw, 2.5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.panel h2 { font-size: 1.25rem; }
.kv { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .9rem; }
.kv li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: .8rem; margin: 0; align-items: start; }
.kv__ico { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 12px; background: var(--tint); color: var(--icon); }
.kv__ico .i { width: 1.2rem; height: 1.2rem; }
.kv__k { display: block; font-size: .84rem; color: var(--muted); }
.kv__v { color: var(--ink); }
.mapgate { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--tint-2); aspect-ratio: 4 / 3; width: 100%; display: grid; place-items: center; text-align: center; padding: 1.4rem; }
.mapgate iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapgate__in { display: grid; gap: .8rem; justify-items: center; max-width: 24rem; }
.mapgate__in p { margin: 0; font-size: .92rem; color: var(--muted); }
.mapgate.is-on { padding: 0; }

/* ---------- form ---------- */
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field > label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; padding: .72rem .9rem; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); }
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 0; border-color: var(--focus); }
.field .hint { font-size: .85rem; color: var(--muted); }
.field .err { font-size: .86rem; color: var(--warn); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--warn); }
.field .check { display: flex; gap: .65rem; align-items: flex-start; font-weight: 400; font-size: .92rem; color: var(--text); }
.field .check input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; flex: none; accent-color: var(--btn); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.form-status { font-size: .92rem; color: var(--ok); min-height: 1.2em; }

/* ---------- vizitkart ---------- */
.bizstage { padding: clamp(1.5rem, 1rem + 3vw, 3.5rem) 0 clamp(2.5rem, 2rem + 3vw, 4.5rem); position: relative; isolation: isolate; overflow: hidden; overflow: clip; }
.bizstage__art { position: absolute; z-index: -1; left: 50%; top: 1rem; width: min(64rem, 160%); max-width: none; transform: translateX(-50%); color: var(--icon); opacity: .35; pointer-events: none; }
.biz { width: min(28rem, 100%); margin-inline: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg); overflow: hidden; }
.biz__head { background: linear-gradient(160deg, #eef3f9 0%, #d9e5f1 100%); padding: 1.6rem 1.4rem 3.6rem; text-align: center; display: grid; justify-items: center; gap: .55rem; }
.biz__photo { width: 8.5rem; border-radius: 22px; overflow: hidden; border: 4px solid #fff; box-shadow: var(--shadow); background: #fff; margin-top: .4rem; }
.biz__photo img { width: 100%; }
.biz__name { font-size: 1.45rem; margin: .4rem 0 0; }
.biz__role { color: var(--link); font-weight: 500; margin: 0; }
.biz__place { display: inline-flex; align-items: center; gap: .45rem; font-size: .92rem; color: var(--text); margin: 0; }
.biz__dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--ok); flex: none; }
.biz__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; margin: -2.6rem 1.2rem 0; list-style: none; padding: 0; }
.biz__tiles li { margin: 0; }
.biz__tile { display: grid; place-items: center; height: 4.2rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--link); text-decoration: none; width: 100%; }
.biz__tile:hover { background: var(--btn); color: #fff; border-color: var(--btn); }
.biz__tile .i { width: 1.5rem; height: 1.5rem; }
.biz__body { padding: 1.2rem 1.4rem 1.5rem; display: grid; gap: 1.1rem; }
.biz__save { width: 100%; }
.biz__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.biz__rows li { margin: 0; display: grid; grid-template-columns: 2.3rem minmax(0, 1fr); gap: .7rem; padding: .7rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.biz__rows li:last-child { border-bottom: 0; }
.biz__k { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.biz__spec { list-style: none; padding: 0; margin: .25rem 0 0; display: grid; gap: .25rem; }
.biz__spec li { margin: 0; padding: 0; border: 0; display: flex; gap: .5rem; grid-template-columns: none; }
.biz__spec .i { color: var(--icon); width: 1.05rem; height: 1.05rem; margin-top: .25rem; }
.biz__foot { text-align: center; }
.toast { position: fixed; left: 50%; bottom: 5.5rem; transform: translateX(-50%); background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 999px; font-size: .92rem; z-index: 90; box-shadow: var(--shadow-lg); }

/* ---------- footer ---------- */
.site-footer { background: var(--deep); color: var(--on-deep-muted); padding: clamp(2.6rem, 2rem + 2vw, 3.6rem) 0 1.4rem; font-size: .95rem; }
.site-footer a { color: var(--on-deep); text-decoration: none; }
.site-footer a:hover { color: var(--on-deep-link); text-decoration: underline; }
.fgrid { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 1023.98px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fgrid { grid-template-columns: minmax(0, 1fr); } }
.fbrand { display: grid; gap: .9rem; align-content: start; }
.fbrand__row { display: flex; align-items: center; gap: .75rem; }
.fbrand__tile { display: inline-grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 14px; background: #f3f6f9; flex: none; }
.fbrand__tile img { width: 2.5rem; }
.fbrand__name { color: var(--on-deep); font-weight: 600; font-size: 1.08rem; line-height: 1.2; }
.fbrand__role { font-size: .86rem; }
.fbrand p { margin: 0; }
.fcol h2 { font-size: .95rem; color: var(--on-deep); margin: 0 0 .9rem; letter-spacing: .01em; }
.fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.fcol li { margin: 0; }
.site-footer .cicons { margin-top: .2rem; }
.site-footer .cicon { background: transparent; color: var(--on-deep); border-color: rgba(233, 239, 246, .28); }
.site-footer .cicon:hover { background: var(--on-deep); color: var(--deep); border-color: var(--on-deep); text-decoration: none; }
.fbottom { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid rgba(233, 239, 246, .16); display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; font-size: .86rem; }
.fbottom p { margin: 0; }
.fnap { display: grid; gap: .35rem; }

/* ---------- 404 / search page ---------- */
.big-num { font-size: min(clamp(4rem, 3rem + 6vw, 7rem), 26vw); font-weight: 700; color: var(--tint); line-height: 1; margin: 0; -webkit-text-stroke: 1px var(--line-2); }

/* ---------- plates (illustrations) ---------- */
.art { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.art .a-soft { fill: #eaf1f8; stroke: none; }
.art .a-globe { fill: #f8fafc; }
.art .a-line { stroke: #4b6684; }
.art .a-thin { stroke-width: 1; }
.art .a-vessel { stroke: var(--vessel); stroke-width: 1.2; }
.art .a-hl { stroke: var(--accent); stroke-width: 2.4; }
.art .a-fill-hl { fill: rgba(180, 99, 42, .16); stroke: var(--accent); }
.art .a-cloud { fill: rgba(110, 124, 140, .32); stroke: none; }
.art .a-dot { fill: var(--accent); stroke: none; }
.art .a-dot-v { fill: var(--vessel); stroke: none; }
.art .a-ray { stroke: #d4a03a; stroke-width: 1.4; stroke-dasharray: 4 4; }
.art .a-dash { stroke-dasharray: 3 4; }
.art .a-tool { stroke: #26384b; stroke-width: 2.2; }

/* ---------- motion (gated by html.m-on, set only when motion is allowed) ---------- */
@keyframes pop { from { opacity: 0; translate: 0 -6px; } to { opacity: 1; translate: 0 0; } }
@keyframes rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
html.m-on .rv:not(.is-in) { opacity: 0; }
html.m-on .rv.is-in { animation: rise .6s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: var(--m-d, 0s); }
html.m-on .art .draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
html.m-on .is-in .art .draw, html.m-on .art.is-in .draw { animation: draw 1.8s ease-out backwards; animation-delay: var(--m-d, .1s); }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
html.a11y-pause *, html.a11y-pause *::before, html.a11y-pause *::after { animation: none !important; transition: none !important; }

/* ---------- print ---------- */
@media print {
  .site-header, .site-footer, .cta-slot, .a11y-fab, .crumbs, .skip { display: none !important; }
  body { background: #fff; }
  html.m-on .rv:not(.is-in) { opacity: 1; }
}

/* ---------- a11y floating button (panel styles live in a11y.css) ---------- */
.a11y-fab { position: fixed; left: 12px; bottom: 12px; z-index: 56; width: 3.25rem; height: 3.25rem; border-radius: 999px; border: 0; background: var(--btn); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(14, 28, 44, .25); }
.a11y-fab:hover { background: var(--btn-hover); }
.a11y-fab .i { width: 1.75rem; height: 1.75rem; }
@media (min-width: 768px) { .fbottom { padding-bottom: 4.4rem; } }

/* ===================== components added with the page templates ===================== */
input, select, textarea { font: inherit; }
html.has-modal { overflow: hidden; scrollbar-gutter: stable; }

/* collapsed header below the measured full-menu width (JS adds nav-collapse above it when needed) */
@media (max-width: 1079.98px) {
  .nav { display: none; }
  .burger { display: inline-grid; }
  html:not(.nav-collapse) .hactions { justify-content: flex-end; }
  html:not(.nav-collapse) .cta-slot { margin-left: 0; }
}
.brand__logo { display: inline-flex; flex: none; }
.brand--sm .brand__mark { width: 2.4rem; }
.brand--sm .brand__name { font-size: 1rem; }
.nav__panel-in { background: var(--surface); }

/* hero */
.hero__name { display: block; }
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 .hero__role { display: block; margin: .55rem 0 0; font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); line-height: 1.35; letter-spacing: 0; }
.hero .kicker { margin-bottom: 1.1rem; }
.hero__art { left: -24%; top: 50%; width: 148%; translate: 0 -50%; opacity: 1; }
.art .a-lid { stroke: var(--accent); stroke-width: 2; opacity: .5; }
html.m-on .hero__art .draw { animation: draw 1.6s ease-out .25s backwards; }
@media (max-width: 860px) { .hero__art { display: none; } }

/* section heads with icon badges */
.section__head h2, .duo__col > h2, .pbody__h, .panel__h, .dlg__title { display: flex; align-items: center; gap: .65rem; }
.duo__col > h2, .pbody__h { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.7rem); }
.section__head .h-ico, .duo__col > h2 .h-ico, .pbody__h .h-ico { width: 2.5rem; height: 2.5rem; }

/* home */
.split--home { align-items: center; }
.split--home .photo-card { max-width: 24rem; }
.facts--urgent li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: .9rem 1rem; }
.facts--urgent .facts__ico { background: var(--tint); border-color: transparent; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; }
@media (max-width: 900px) { .duo { grid-template-columns: minmax(0, 1fr); } }
.duo__col { min-width: 0; }
.duo__col .quote { margin-top: 0; }
.duo__more { margin: 1rem 0 0; }

/* page body under the page head */
.pbody { padding: 0 0 clamp(3rem, 2rem + 3vw, 5rem); }
.pbody__h { margin: 0 0 1.2rem; }
.hub-note { margin-top: 1.4rem; max-width: 46rem; }
.phead__text { min-width: 0; }
@media (max-width: 600px) { .plate { max-width: 13rem; } }

/* notes */
.note > span { min-width: 0; }
.note .i { flex: none; }
.note--warn { background: #fdf0ec; border-color: #f1cfc3; color: var(--text); }
.note--warn .i { color: var(--warn); }
.urgent { display: grid; gap: .7rem; margin: 1.2rem 0; }
.urgent .note { margin: 0; }

/* tables on phones: row headers of comparison tables */
@media (max-width: 600px) {
  .t--stack tbody th { display: block; padding: .5rem .8rem .2rem; border: 0; color: var(--ink); }
}

/* FAQ */
.faq-wrap { max-width: 50rem; }
.faq summary > span { min-width: 0; }
.faq__a .cicons { margin-top: .4rem; }
.fvid { display: flex; gap: .9rem; align-items: center; margin-top: 1rem; padding: .55rem .9rem .55rem .55rem; max-width: 30rem; background: var(--tint-2); border: 1px solid var(--line); border-radius: 14px; color: var(--text); text-decoration: none; transition: border-color .2s, background .2s; }
.fvid:hover { border-color: var(--icon); background: var(--tint); color: var(--text); }
.fvid__thumb { position: relative; flex: none; display: grid; place-items: center; width: 3.6rem; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: var(--deep); }
.fvid__thumb--wide { width: 7.2rem; aspect-ratio: 16 / 9; }
@media (max-width: 420px) { .fvid__thumb--wide { width: 5.2rem; } }
.fvid__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fvid__thumb .i { position: relative; width: 1.9rem; height: 1.9rem; color: #fff; background: rgba(12, 24, 40, .58); border-radius: 50%; }
.fvid__thumb--none { background: var(--tint); }
.fvid__thumb--none .i { color: var(--icon); background: none; }
.fvid__txt { display: grid; gap: .1rem; min-width: 0; line-height: 1.35; }
.fvid__k { font-size: .8rem; font-weight: 600; color: var(--icon); }
.fvid__t { font-weight: 600; color: var(--ink); }
.fvid__m { font-size: .85rem; color: var(--muted); }
.fvid__go { display: inline-flex; align-items: center; gap: .35rem; margin-top: .2rem; font-size: .92rem; font-weight: 500; color: var(--link); }
.fvid:hover .fvid__go { text-decoration: underline; }
.fvid__go .i { width: 1.1rem; height: 1.1rem; }

/* videos */
.vgrid--1 { grid-template-columns: minmax(0, 15rem); }
.vcard figcaption { display: grid; gap: .15rem; }
.vcard__btn { display: inline-flex; align-items: center; gap: .4rem; margin-top: .3rem; font-weight: 500; font-size: .93rem; text-decoration: none; justify-self: start; max-width: 100%; }
.vcard__btn:hover { text-decoration: underline; }
.vcard__btn .i { width: 1.05rem; height: 1.05rem; }
.vrows { margin-top: 1rem; }
.vrow__btn { flex: none; }
.vnote { display: flex; gap: .5rem; align-items: flex-start; }
.vnote .i { color: var(--icon); margin-top: .1rem; }
.prose .vgrid, .prose .vrow { margin: 0 0 1.4rem; }
.media-more .prose { max-width: 46rem; }
.chips--links a { padding: .55rem .95rem; }

/* contact */
.panel__h { font-size: 1.2rem; margin: 0 0 1.1rem; }
.kv__sub { display: block; font-size: .86rem; color: var(--muted); margin-top: .15rem; }
.hours__row { display: block; }
.kv .cicons { margin-top: .3rem; }
.kv .cicon { width: 2.65rem; height: 2.65rem; }
.contact-write { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.2rem, 1rem + 2vw, 2.5rem); align-items: start; margin-top: clamp(1.6rem, 1rem + 2vw, 2.6rem); }
@media (max-width: 900px) { .contact-write { grid-template-columns: minmax(0, 1fr); } }
.contact-write .urgent { margin: 0; }
.form-intro { margin: -.4rem 0 1.1rem; color: var(--muted); }
.mapgate__in .card__ico { margin-bottom: .2rem; }

/* booking */
.book-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.2rem, 1rem + 2vw, 2.5rem); align-items: start; }
@media (max-width: 900px) { .book-grid { grid-template-columns: minmax(0, 1fr); } }
.book-side .prose h2 { font-size: 1.2rem; margin-top: 0; }
.book-side .kv { margin: 1.2rem 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.form-hint { font-size: .86rem; color: var(--muted); margin: 0; }
.field .err { margin: 0; }
.dlg--book { width: min(40rem, calc(100% - 1.5rem)); }
.dlg__title { font-size: 1.2rem; margin: 0; flex: 1; min-width: 0; }

/* digital card */
.biz__ico { display: inline-grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 11px; background: var(--tint); color: var(--icon); }
.biz__ico .i { width: 1.15rem; height: 1.15rem; }
.biz__rows li > div { min-width: 0; }
.biz__spec a { color: var(--link); }
.bizstage__art { top: 4rem; }
@media (max-width: 600px) { .bizstage__art { display: none; } }

/* HTML sitemap */
.smap { column-count: 3; column-gap: 1rem; }
@media (max-width: 1023.98px) { .smap { column-count: 2; } }
@media (max-width: 600px) { .smap { column-count: 1; } }
.smap__card { break-inside: avoid; margin: 0 0 1rem; display: block; }
.smap__card h2 { font-size: 1.1rem; display: flex; align-items: center; gap: .6rem; margin-bottom: .7rem; }
.smap__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.smap__list li { margin: 0; }
.smap__list a { display: block; padding: .35rem .3rem; text-decoration: none; color: var(--ink); border-radius: 8px; }
.smap__list a:hover { background: var(--tint-2); color: var(--btn-hover); }
.smap__list .i { width: .95rem; height: .95rem; color: var(--icon); vertical-align: -.15em; }

/* search page, 404, footer legal row */
.search-page { max-width: 46rem; }
.search-page .sform { margin-bottom: .4rem; }
.nf__in { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: .6rem; }
.nf__search { width: min(30rem, 100%); margin-top: 1rem; }
.flegal { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }

/* form controls need a 3:1 boundary (WCAG 1.4.11) */
.field input, .field select, .field textarea, .sform__in { border-color: #7d8ea1; }
.field .check input { accent-color: var(--btn); }

/* drawer mode: the brand gives way so search + menu buttons always stay on screen */
@media (max-width: 1079.98px) {
  .brand { flex: 0 1 auto; }
  .hactions { flex: 0 0 auto; margin-left: auto; }
}
html.nav-collapse .brand { flex: 0 1 auto; }
html.nav-collapse .hactions { flex: 0 0 auto; margin-left: auto; }
html:is([data-uwa-text], [data-uwa-spacing]) .brand__text { min-width: 0; }
html:is([data-uwa-text], [data-uwa-spacing]) .brand__name { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  html:is([data-uwa-text="2"], [data-uwa-text="3"], [data-uwa-text="4"], [data-uwa-spacing]) .brand__role { display: none; }
  html:is([data-uwa-text="3"], [data-uwa-text="4"]) .brand__mark { width: 2.2rem; }
}
