/* ==========================================================================
   DLN Medical: site.css (page compositions). Requires tokens.css + base.css.
   Only layout and page-specific pieces live here; components are in base.css.
   ========================================================================== */

main:focus { outline: none; }
[id] { scroll-margin-top: 6rem; }

/* ---------- Hero (home) -------------------------------------------------- */
.hero { padding-top: clamp(2.5rem, 1rem + 6vw, 6rem); position: relative; overflow: clip; isolation: isolate; }
.hero__title { margin-block: var(--s-5) var(--s-5); max-width: 13ch; }
.hero__lede { max-width: 46ch; }
.hero__actions { --cluster: var(--s-5); margin-top: var(--s-6); }
.hero__aside { display: flex; flex-direction: column; gap: var(--s-4); }
.hero__arch { --arch-ratio: 5 / 6; display: grid; place-items: center; padding: 8% 6% 4%; }
.hero__wave { margin-top: clamp(1rem, 4vw, 3rem); }
.hero__wave svg { width: 100%; height: auto; }
.hero__motif { position: absolute; width: clamp(14rem, 30vw, 30rem); right: -6rem; top: -4rem; opacity: .35; pointer-events: none; z-index: -1; }
.hero__motif .ilm-g, .hero__motif .ilm-t { stroke-width: 2; }
:is(.hero__motif, .footer-motif, .cta-band__motif) :is(.ilm-fig, .ilm-head, .ilm-ring) { display: none; }
.hero__facts { display: grid; gap: var(--s-3); padding: var(--s-4) var(--s-5); background: var(--paper); border-radius: var(--r-3); box-shadow: var(--sh-1); font-size: var(--t-sm); color: var(--ink-soft); }
.hero__facts > div { display: flex; align-items: center; gap: var(--s-3); }
.hero__facts .icon { --icon-size: 1.25rem; color: var(--ink-soft); }
.hero__facts dd { margin: 0; }
.hero__facts a { color: var(--ink); text-decoration: none; font-weight: 600; }
.hero__facts a:hover { color: var(--teal-700); text-decoration: underline; }
@media (max-width: 55.99rem) {
  .hero__aside { max-width: 26rem; }
}
@media (max-width: 40rem) { .hero__wave { padding-inline: 0; } .hero__wave svg { height: 11rem; } }

/* ---------- Page hero (subpages) ---------------------------------------- */
.page-hero { padding-block: clamp(2.5rem, 1rem + 5vw, 5.5rem) clamp(2rem, 1rem + 4vw, 4rem); position: relative; }
.page-hero__title { font-size: var(--t-4xl); margin-block: var(--s-5); max-width: 15ch; }
.page-hero__title--wide { max-width: 20ch; }
.page-hero .lede { max-width: 48ch; }
.page-hero__arch { --arch-ratio: 1 / 1.05; display: grid; place-items: center; padding: 10% 8% 6%; max-width: 26rem; margin-left: auto; }
.page-hero--narrow { padding-bottom: 0; }
.page-hero--narrow .meta { margin-top: var(--s-4); }
.page-hero--about { padding-bottom: var(--s-8); }
.about__intro { padding-top: var(--s-5); border-top: 1px solid var(--line); }
.about__intro p:not(.lede) { color: var(--ink-soft); max-width: 52ch; }

/* ---------- Services on home: asymmetric cards --------------------------- */
.service-cards { --grid-row: var(--gutter); align-items: stretch; }
.service-cards__lead .card__title { font-size: var(--t-2xl); max-width: 18ch; }
.service-cards__ill { max-width: 22rem; margin-block: var(--s-2); }
.service-cards__ill svg { width: 100%; height: auto; }
.service-cards__pair { --stack: var(--gutter); }
.service-cards__pair .card { flex: 1; }
.service-cards__tall { justify-content: flex-start; }
.service-cards__tall .card__title { font-size: var(--t-2xl); }
.card__foot .icon { flex: none; }

/* ---------- Process ------------------------------------------------------ */
.process-wrap svg { width: 100%; height: auto; margin-bottom: var(--s-5); }
@media (max-width: 55.99rem) { .process-wrap svg { display: none; } }
.steps__item { padding-bottom: var(--s-2); }

/* ---------- Brands row (typographic only, never logos) ------------------- */
.brands { border-block: 1px solid var(--line); }
.brands__row { display: grid; gap: var(--s-5) var(--gutter); align-items: center; }
.brands__label { color: var(--ink-soft); }
.brands__list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2) var(--s-7); }
.brands__list li { font-family: var(--font-display); font-size: var(--t-4xl); font-weight: 350; line-height: 1; letter-spacing: -0.02em; color: var(--ink); display: inline-flex; align-items: baseline; gap: var(--s-7); }
.brands__list li + li::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; align-self: center; background: linear-gradient(90deg, var(--brand-green) 50%, var(--brand-teal) 50%); }
.brands__text { color: var(--ink-soft); font-size: var(--t-sm); max-width: 34ch; display: grid; gap: var(--s-3); justify-items: start; }
@media (min-width: 56rem) {
  .brands__row { grid-template-columns: 12rem 1fr minmax(14rem, 22rem); }
}

/* ---------- Doctor ------------------------------------------------------- */
.doctor__arch { --arch-ratio: 4 / 5; display: grid; place-items: center; padding: 14% 8% 6%; max-width: 30rem; }
.doctor__arch svg { width: 100%; height: auto; }
.doctor__arch--motif { padding: 22% 16% 14%; margin-left: auto; }
.doctor__name { font-size: var(--t-4xl); }
.doctor__role { margin-top: var(--s-2); font-family: var(--font-display); font-style: italic; font-size: var(--t-xl); color: var(--teal-700); }
.doctor__points { list-style: none; padding: 0; display: grid; border-top: 1px solid var(--stone); }
.doctor__points li { position: relative; padding: var(--s-4) 0 var(--s-4) var(--s-6); border-bottom: 1px solid var(--stone); color: var(--ink); }
.doctor__points li::before { content: ""; position: absolute; left: 0; top: 1.45em; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: linear-gradient(90deg, var(--brand-green) 50%, var(--brand-teal) 50%); }
@media (max-width: 55.99rem) { .doctor__figure { order: 2; } .doctor__arch { max-width: 20rem; } .doctor--about .doctor__figure { order: 0; } }

/* ---------- Partners (pharma B2B) ---------------------------------------- */
.partners { border-top: 1px solid var(--line); }
.partners__text { max-width: 44ch; }
.partners__body { align-items: flex-start; }

/* ---------- Location / map ----------------------------------------------- */
.map { position: relative; width: 100%; border-radius: var(--r-3); overflow: hidden; background: var(--sand); aspect-ratio: 4 / 5; box-shadow: var(--sh-1); }
@media (min-width: 40rem) { .map { aspect-ratio: 4 / 3; } .map--wide { aspect-ratio: 21 / 9; } }
.map__fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: var(--s-5); }
.map__fallback svg { width: min(100%, 26rem); height: auto; }
.map__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.location__details { align-self: center; }
.contact-list { list-style: none; padding: 0; display: grid; gap: var(--s-5); }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: start; }
.contact-list li > div { display: flex; flex-direction: column; gap: 0.15rem; }
.contact-list .icon { margin-top: 0.15rem; color: var(--ink); }
.contact-list__label { font-size: var(--t-xs); font-weight: 600; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--ink-muted); }
.contact-list a { color: var(--ink); text-decoration-color: var(--stone-strong); font-weight: 500; }
.contact-list a:hover { color: var(--teal-700); }
.hours { width: 100%; font-size: var(--t-sm); }
.hours caption { display: flex; align-items: center; gap: var(--s-3); text-align: left; margin-bottom: var(--s-2); font-size: var(--t-xs); font-weight: 600; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--ink-muted); }
.hours caption .icon { --icon-size: 1.25rem; color: var(--ink); }
.hours :is(th, td) { padding: .6rem 0; border-bottom: 1px solid var(--line); font-weight: 400; text-align: left; }
.hours td { text-align: right; color: var(--ink); }
.hours th { color: var(--ink-soft); }

/* ---------- CTA band (teal panel; small, never a page background) -------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: var(--s-6); align-items: center; background: var(--teal-700); color: var(--on-dark); border-radius: var(--r-3); padding: clamp(1.75rem, 1rem + 4vw, 4rem); }
.cta-band__title { font-size: var(--t-3xl); color: var(--on-dark); margin-bottom: var(--s-3); }
.cta-band__title em { color: #d6ece9; }
.cta-band__text p { color: #e1f0ee; max-width: 44ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-6); }
.cta-band__actions .btn { white-space: normal; text-align: left; }
.nowrap { white-space: nowrap; }
.cta-band__motif { position: absolute; right: -4rem; bottom: -5rem; width: 20rem; height: 20rem; z-index: -1; border-radius: 50%; border: 1px solid rgb(255 255 255 / .14); box-shadow: 0 0 0 2.5rem rgb(255 255 255 / .04), 0 0 0 5rem rgb(255 255 255 / .03); }
.btn-text--light { color: var(--on-dark); }
.btn-text--light:hover { color: #d6ece9; }
@media (min-width: 56rem) { .cta-band { grid-template-columns: 1.2fr 1fr; } .cta-band__actions { justify-content: flex-end; } }

/* ---------- Footer extras ------------------------------------------------ */
.site-footer > .container { position: relative; z-index: 1; }
.footer-motif { position: absolute; width: 22rem; right: -5rem; bottom: -6rem; opacity: .5; pointer-events: none; }
.footer-motif .ilm-g, .footer-motif .ilm-t { stroke-width: 3; }
@media (max-width: 40rem) { .footer-motif { width: 13rem; right: -6rem; bottom: auto; top: -3rem; opacity: .35; } }
.site-footer__hours { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; color: var(--ink); }
.site-footer__base .cluster { --cluster: var(--s-2); }
.site-footer--min { padding-top: 0; }
.site-footer--min .site-footer__base { margin-top: 0; }

/* ---------- Drawer extras ------------------------------------------------ */
.drawer__contact a { display: inline-flex; align-items: center; gap: var(--s-3); color: var(--ink); text-decoration: none; font-weight: 600; }
.drawer__panel > .lang { align-self: flex-start; }

/* ---------- Services page ----------------------------------------------- */
.toc { padding: var(--s-5); background: var(--paper); border-radius: var(--r-3); box-shadow: var(--sh-1); }
.toc__title { font-family: var(--font-text); font-size: var(--t-xs); font-weight: 600; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--s-3); }
.toc__list { list-style: none; padding: 0; }
.toc__list li + li { border-top: 1px solid var(--line); }
.toc__list a { display: grid; grid-template-columns: 2rem 1fr auto; align-items: center; gap: var(--s-3); padding: 0.7rem 0; color: var(--ink); text-decoration: none; font-size: var(--t-sm); font-weight: 500; }
.toc__list a:hover { color: var(--teal-700); }
.toc__list .btn__arrow { transform: rotate(90deg); transition: transform var(--d-2) var(--ease-out); color: var(--ink-muted); }
.toc__list a:hover .btn__arrow { transform: rotate(90deg) translateX(3px); color: var(--teal-700); }
.toc__num { font-family: var(--font-display); font-style: italic; color: var(--teal-700); }

.svc-list { padding-top: 0; }
.svc { display: grid; gap: var(--s-5) var(--gutter); padding-block: var(--s-8); border-top: 1px solid var(--ink); }
.svc:first-child { padding-top: var(--s-7); }
.svc__head { display: flex; flex-direction: column; gap: var(--s-3); align-self: start; }
.svc__num { font-family: var(--font-display); font-style: italic; font-size: var(--t-xl); color: var(--teal-700); }
.svc__title { font-size: var(--t-3xl); max-width: 16ch; }
.svc__ill { margin-top: var(--s-5); max-width: 22rem; padding: var(--s-4); background: var(--paper); border-radius: var(--r-3); box-shadow: var(--sh-1); }
.svc__ill--ear { background: var(--teal-50); box-shadow: none; border-radius: var(--r-arch); padding: 12% 8% 4%; max-width: 16rem; }
.svc__ill svg { width: 100%; height: auto; }
.svc__label { font-family: var(--font-text); font-size: var(--t-xs); font-weight: 600; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--s-4); }
.svc__what { list-style: none; padding: 0; counter-reset: what; display: grid; gap: var(--s-4); max-width: var(--measure); }
.svc__what li { counter-increment: what; position: relative; padding-left: 2.25rem; font-size: var(--t-lg); line-height: 1.5; }
.svc__what li::before { content: counter(what); position: absolute; left: 0; top: 0.1em; width: 1.5rem; height: 1.5rem; display: grid; place-items: center; border: 1px solid var(--stone-strong); border-radius: 50%; font-size: var(--t-xs); font-weight: 600; color: var(--ink-soft); }
.svc__meta { display: grid; gap: var(--s-4) var(--gutter); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.svc__meta dt { display: flex; align-items: center; gap: var(--s-2); font-size: var(--t-xs); font-weight: 600; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--s-2); }
.svc__meta dt .icon { --icon-size: 1.15rem; color: var(--ink); }
.svc__meta dd { margin: 0; color: var(--ink-soft); font-size: var(--t-sm); }
.svc__meta ul { list-style: none; padding: 0; display: grid; gap: var(--s-2); }
.svc__meta ul li { padding-left: 1rem; position: relative; }
.svc__meta ul li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 0.4rem; height: 1px; background: var(--ink-muted); }
.svc__note { display: flex; gap: var(--s-3); align-items: flex-start; margin-top: var(--s-5); padding: var(--s-4); background: var(--teal-50); border-radius: var(--r-2); font-size: var(--t-sm); color: var(--ink); max-width: var(--measure); }
.svc__note .icon { --icon-size: 1.25rem; flex: none; color: var(--teal-800); }
@media (min-width: 40rem) { .svc__meta { grid-template-columns: 1fr 1fr; } }
@media (min-width: 56rem) {
  .svc { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .svc__head { grid-column: 1 / span 5; position: sticky; top: 6rem; }
  .svc__body { grid-column: 7 / span 6; }
  .svc:nth-child(even) .svc__head { grid-column: 1 / span 4; }
  .svc:nth-child(even) .svc__body { grid-column: 6 / span 7; }
}

.other__list { list-style: none; padding: 0; display: grid; gap: 0 var(--gutter); grid-template-columns: 1fr; border-top: 1px solid var(--stone); }
.other__item { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); padding-block: var(--s-5); border-bottom: 1px solid var(--stone); }
.other__item .icon { color: var(--ink); }
.other__title { font-family: var(--font-display); font-size: var(--t-xl); line-height: 1.25; margin-bottom: var(--s-1); }
.other__item p { color: var(--ink-soft); font-size: var(--t-sm); max-width: 42ch; }
@media (min-width: 48rem) { .other__list { grid-template-columns: 1fr 1fr; } }

/* ---------- Hearing aids page ------------------------------------------- */
.styles__list { list-style: none; padding: 0; display: grid; gap: var(--s-7) var(--gutter); }
.styles__item { position: relative; display: flex; flex-direction: column; gap: var(--s-3); padding-top: var(--s-5); border-top: 1px solid var(--ink); }
.styles__code { font-family: var(--font-display); font-size: clamp(3.5rem, 2rem + 5vw, 6.5rem); line-height: .9; font-weight: 300; letter-spacing: -0.03em; color: var(--teal-700); }
.styles__name { font-size: var(--t-xl); line-height: 1.25; }
.styles__abbr { font-family: var(--font-text); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.08em; color: var(--ink-muted); }
.styles__item p { color: var(--ink-soft); font-size: var(--t-sm); max-width: 38ch; }
.styles__note { margin-top: var(--s-7); padding: var(--s-4) var(--s-5); border-left: 2px solid var(--brand-teal); background: var(--teal-50); max-width: 60ch; color: var(--ink); }
@media (min-width: 56rem) {
  .styles__list { grid-template-columns: 5fr 4fr 3fr; }
}

.fitting__frame { background: var(--paper); border-radius: var(--r-3); box-shadow: var(--sh-1); padding: clamp(1rem, 3vw, 2rem); }
.fitting__frame svg { width: 100%; height: auto; }
.fitting__figure { margin: 0; display: grid; gap: var(--s-3); }
.fitting__steps { list-style: none; padding: 0; display: grid; gap: var(--s-5); align-content: start; }
.fitting__steps li { display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--s-3); padding-bottom: var(--s-5); border-bottom: 1px solid var(--line); }
.fitting__steps li:last-child { border-bottom: 0; }
.fitting__num { font-family: var(--font-display); font-style: italic; font-size: var(--t-lg); color: var(--teal-700); }
.fitting__title { font-size: var(--t-xl); line-height: 1.25; margin-bottom: var(--s-2); }
.fitting__steps p { color: var(--ink-soft); font-size: var(--t-sm); }

.fact-strip { border-block: 1px solid var(--line); }
.fact-strip__inner { display: grid; gap: var(--s-3) var(--gutter); align-items: baseline; }
.fact-strip__num { font-family: var(--font-display); font-size: clamp(3rem, 1.8rem + 6vw, 7.5rem); line-height: 1; letter-spacing: -0.03em; font-weight: 300; color: var(--ink); white-space: nowrap; }
.fact-strip__unit { font-style: italic; color: var(--teal-700); font-size: 0.55em; }
.fact-strip__text { color: var(--ink-soft); max-width: 40ch; }
@media (min-width: 56rem) { .fact-strip__inner { grid-template-columns: 10rem auto 1fr; } }

.care__grid { display: grid; gap: var(--gutter); }
.care__col { background: var(--paper); border-radius: var(--r-3); padding: clamp(1.25rem, 1rem + 1vw, 2rem); box-shadow: var(--sh-1); }
.care__col--contact { background: transparent; box-shadow: none; border-top: 1px solid var(--ink); border-radius: 0; padding-inline: 0; }
.care__title { display: flex; align-items: center; gap: var(--s-3); font-size: var(--t-xl); margin-bottom: var(--s-4); }
.care__title .icon { --icon-size: 1.4rem; }
.care__col ul { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.care__col li { position: relative; padding-left: 1.4rem; color: var(--ink-soft); font-size: var(--t-sm); }
.care__col li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.5rem; height: 0.5rem; border-radius: 50%; border: 1.5px solid var(--brand-teal); }
@media (min-width: 56rem) { .care__grid { grid-template-columns: 5fr 5fr 4fr; } }

/* ---------- About page --------------------------------------------------- */
.work__grid { --grid-row: var(--gutter); }
.work__card .card__title { font-size: var(--t-2xl); }
.values__head { align-self: start; }
@media (min-width: 56rem) { .values__head { position: sticky; top: 7rem; } }
.values__list { list-style: none; padding: 0; display: grid; gap: 0 var(--gutter); }
.values__item { display: grid; grid-template-columns: 3rem 1fr; gap: var(--s-1) var(--s-3); padding-block: var(--s-5); border-top: 1px solid var(--line); }
.values__num { grid-row: span 2; font-family: var(--font-display); font-style: italic; font-size: var(--t-lg); color: var(--teal-700); }
.values__title { font-size: var(--t-xl); line-height: 1.25; }
.values__item p { color: var(--ink-soft); font-size: var(--t-sm); }
@media (min-width: 48rem) { .values__list { grid-template-columns: 1fr 1fr; } }

/* ---------- Contact page ------------------------------------------------- */
.booking { position: relative; overflow: hidden; isolation: isolate; background: var(--teal-700); color: var(--on-dark); border-radius: var(--r-3); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: grid; gap: var(--s-4); }
.booking::after { content: ""; position: absolute; right: -3rem; top: -3rem; width: 11rem; height: 11rem; border-radius: 50%; border: 1px solid rgb(255 255 255 / .16); box-shadow: 0 0 0 1.75rem rgb(255 255 255 / .04); z-index: -1; }
.booking__title { font-size: var(--t-2xl); color: var(--on-dark); }
.booking__title em { color: #d6ece9; }
.booking__text { color: #e1f0ee; font-size: var(--t-sm); max-width: 38ch; }
.booking__phone { display: inline-flex; align-items: center; gap: var(--s-3); color: var(--on-dark); text-decoration: none; font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.1; letter-spacing: -0.01em; white-space: nowrap; }
.booking__phone:hover { color: #d6ece9; text-decoration: underline; text-decoration-thickness: 1px; }
.booking__phone .icon { --icon-accent: var(--brand-green); }
.booking__actions { --cluster: var(--s-3) var(--s-5); }
.booking :focus-visible, .cta-band :focus-visible { outline-color: var(--paper); }

.contact__details { align-self: start; }
.contact__known { padding-top: var(--s-4); border-top: 1px solid var(--line); }
.form-panel { background: var(--paper); border-radius: var(--r-3); box-shadow: var(--sh-1); padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); }
.form-panel__title { margin-bottom: var(--s-2); }
.form-panel__intro { color: var(--ink-soft); font-size: var(--t-sm); margin-bottom: var(--s-6); max-width: 52ch; }
.form-either { margin-top: calc(-1 * var(--s-3)); }
.contact-form .check a { color: var(--teal-700); }
.contact-form .cluster--between { margin-top: var(--s-2); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4) var(--s-5); border-radius: var(--r-2); margin-bottom: var(--s-5); font-size: var(--t-sm); font-weight: 500; }
.form-status .icon { --icon-size: 1.25rem; flex: none; margin-top: 0.1rem; }
.form-status--ok { background: var(--green-50); border: 1px solid var(--green-100); color: var(--green-800); }
.form-status--error { background: var(--danger-50); border: 1px solid #ecc9c0; color: var(--danger); }
.form-status--error a { color: var(--danger); font-weight: 700; }
.contact-map__head { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); align-items: baseline; margin-bottom: var(--s-5); }
.contact-map__head .btn-text { margin-left: auto; min-height: 0; }
@media (max-width: 40rem) { .contact-map__head .btn-text { margin-left: 0; } }
@media (max-width: 55.99rem) { .booking { margin-top: var(--s-6); } }

/* ---------- Privacy ------------------------------------------------------ */
.privacy { padding-top: var(--s-7); }
.privacy__list { list-style: none; padding: 0; display: grid; }
.privacy__item { display: grid; grid-template-columns: 3rem 1fr; gap: var(--s-3); padding-block: var(--s-5); border-top: 1px solid var(--line); }
.privacy__num { font-family: var(--font-display); font-style: italic; font-size: var(--t-lg); color: var(--teal-700); }
.privacy__title { font-size: var(--t-xl); line-height: 1.25; margin-bottom: var(--s-2); }
.privacy__item p { color: var(--ink-soft); max-width: var(--measure); }

/* ---------- 404 ---------------------------------------------------------- */
.notfound { padding-block: clamp(2rem, 1rem + 5vw, 6rem); min-height: 70vh; }
.notfound__ill .arch { --arch-ratio: 4 / 5; display: grid; place-items: center; padding: 14% 8% 6%; max-width: 22rem; }
.notfound__ill svg { width: 100%; height: auto; }
.notfound__text { display: grid; gap: var(--s-6); }
.notfound__code { font-family: var(--font-display); font-style: italic; font-size: var(--t-3xl); color: var(--teal-700); line-height: 1; }
.notfound .rule--split { width: 3rem; }

/* ---------- No-form mode (CONTACT_FORM = False) -------------------------- */
.form-panel--noform { align-self: start; }
.noform__actions { --cluster: var(--s-3) var(--s-6); }
.noform__actions .btn { white-space: normal; text-align: left; }
.cta-band__email { margin-top: var(--s-3); font-size: var(--t-sm); }
.cta-band__email a { color: var(--on-dark); font-weight: 600; }
.cta-band__email a:hover { color: #d6ece9; }
