/* Preview factory — base. Consumes only --theme-* tokens (set inline in <head>).
   Palette-specific or type-specific rules do not exist here; every colour
   derives from the eight palette tokens, every typeface from the type pairing.
   The variant stylesheet decides composition; this file decides the voice
   every variant shares: the type ladder, the hairline, the ledger row, the
   controls, the drawer. */

/* ---- derived tokens (from theme, never hard-coded) ---- */
:root {
  --line-soft: color-mix(in oklab, var(--theme-line) 55%, transparent);
  --hairline: color-mix(in oklab, currentColor 18%, transparent);
  --hairline-strong: color-mix(in oklab, currentColor 40%, transparent);
  --surface-soft: color-mix(in oklab, var(--theme-surface) 60%, var(--theme-background));
  --accent-soft: color-mix(in oklab, var(--theme-accent) 18%, var(--theme-background));
  --action-hover: color-mix(in oklab, var(--theme-action) 88%, var(--theme-text));
  --action-soft: color-mix(in oklab, var(--theme-action) 10%, var(--theme-background));
  --ink-soft: color-mix(in oklab, currentColor 72%, transparent);
  --overlay: color-mix(in oklab, var(--theme-text) 55%, transparent);
  --focus: var(--theme-action);
  --radius: 3px;
  --radius-lg: 8px;
  --control: 44px;
  --control-lg: 54px;
  --sticky-h: 56px;
  --hdr-h: 76px;
  --hdr-h-shrunk: 58px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --sec-y: clamp(72px, 9vw, 136px);
  --head-gap: clamp(28px, 4vw, 56px);
  --media-grade: saturate(0.9) contrast(1.03);
  --t-label: 0.6875rem;
  --t-small: 0.875rem;
  --t-body: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --t-lede: clamp(1.0625rem, 1rem + 0.5vw, 1.25rem);
  --t-h3: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --t-h2: clamp(1.875rem, 1.4rem + 1.9vw, 3rem);
  --t-statement: clamp(1.75rem, 1.1rem + 2.8vw, 4rem);
  --t-display: clamp(3rem, 1.6rem + 6.2vw, 7.5rem);
  --t-numeral: clamp(3rem, 2rem + 3.5vw, 5.5rem);
  --t-name: clamp(2.5rem, 1.6rem + 3.6vw, 5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h-shrunk) + 12px); }
body {
  margin: 0;
  background: var(--theme-background);
  color: var(--theme-text);
  font-family: var(--theme-body);
  font-weight: var(--theme-body-weight);
  letter-spacing: var(--theme-body-tracking);
  line-height: var(--theme-body-leading);
  font-size: var(--t-body);
  padding-bottom: var(--sticky-h);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul[role="list"], ol.steps__list, ol.work__list { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
::selection { background: var(--theme-accent); color: var(--theme-background); }

/* ---- type ladder: every heading names a rung, none hand-types a size ---- */
h1, h2, h3, .h1, .h2, .h3, .statement, .display {
  font-family: var(--theme-heading);
  font-weight: var(--theme-heading-weight);
  letter-spacing: var(--theme-heading-tracking);
  line-height: var(--theme-heading-leading);
  margin: 0;
  text-wrap: balance;
  font-feature-settings: "kern" 1, "liga" 1;
}
.h1 { font-size: var(--t-display); max-width: 12ch; line-height: 0.96; }
.h2 { font-size: var(--t-h2); max-width: 22ch; }
.h3 { font-size: var(--t-h3); line-height: 1.25; }
.statement { font-size: var(--t-statement); line-height: 1.12; max-width: 26ch; }
.lede { font-size: var(--t-lede); color: var(--theme-muted); max-width: 48ch; margin: 1.25em 0 0; text-wrap: pretty; }
.sec-intro { color: var(--theme-muted); max-width: 52ch; margin-top: 1em; text-wrap: pretty; }
/* The label is the whole small voice: one size, one tracking, one case. */
.label {
  font-family: var(--theme-body);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--theme-muted);
  margin: 0 0 1.1em;
  font-variant-numeric: tabular-nums;
}
.muted { color: var(--theme-muted); }
.surface { background: var(--theme-surface); }
.sec-head { margin-bottom: var(--head-gap); }

/* ---- layout ---- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
section { padding-block: var(--sec-y); }
/* Section order is a composition decision; each variant sets it. Same DOM. */
main { display: flex; flex-direction: column; }
main > section { order: 10; }
/* Grounds: page, surface, a tint of the accent, or ink. Each variant plans the
   sequence so no two neighbours share one; a hairline marks a change of pace. */
.ground-surface { background: var(--theme-surface); }
.ground-tint { background: var(--accent-soft); }
.ground-ink { background: var(--theme-dark); color: var(--theme-light); }
.ground-ink .label { color: color-mix(in oklab, var(--theme-light) 70%, transparent); }
.ground-ink .muted, .ground-ink .sec-intro, .ground-ink .offering__blurb, .ground-ink .step p, .ground-ink .disc__a, .ground-ink .work__meta, .ground-ink .provider__cred { color: color-mix(in oklab, var(--theme-light) 72%, transparent); }
.ground-ink .btn-ghost { border-color: color-mix(in oklab, var(--theme-light) 45%, transparent); }
.ground-ink .btn-ghost:hover { background: color-mix(in oklab, var(--theme-light) 12%, transparent); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--theme-action); color: var(--theme-action-text); padding: 10px 14px; }
.skip:focus { left: 8px; }

/* ---- focus, one ring ---- */
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: var(--control); padding: 0 1.35em;
  border: 1px solid transparent; border-radius: var(--radius);
  text-decoration: none; font-weight: 500; font-size: var(--t-small);
  letter-spacing: 0.01em; white-space: nowrap; cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.btn-lg { min-height: var(--control-lg); padding-inline: 1.75em; font-size: 1rem; }
.btn-primary { background: var(--theme-action); color: var(--theme-action-text); }
.btn-primary:hover { background: var(--action-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: currentColor; border-color: var(--hairline-strong); }
.btn-ghost:hover { border-color: currentColor; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn__short { display: none; }
@media (max-width: 639px) { .hdr .btn__long, .sticky .btn__long { display: none; } .hdr .btn__short, .sticky .btn__short { display: inline; } }
.acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

/* ---- header ---- */
.hdr {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--theme-background) 88%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: background-color 240ms ease, color 240ms ease, border-color 240ms ease;
}
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--hdr-h); transition: min-height 220ms ease; }
.hdr.is-shrunk .hdr__in { min-height: var(--hdr-h-shrunk); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; flex: 1 1 auto; min-height: var(--control); }
.brand__mark { font-family: var(--theme-heading); font-weight: var(--theme-heading-weight); letter-spacing: var(--theme-heading-tracking); font-size: 1.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__logo { height: 40px; width: auto; max-width: 55vw; object-fit: contain; object-position: left center; }
.brand__city { font-size: var(--t-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--theme-muted); white-space: nowrap; padding-left: 14px; border-left: 1px solid var(--hairline); line-height: 1.2; }
.hdr__acts { display: flex; gap: 8px; flex: 0 0 auto; }
@media (max-width: 639px) { .brand__city { display: none; } .hdr__acts .btn-ghost { display: none; } .brand__mark { white-space: normal; font-size: 1rem; line-height: 1.15; overflow: visible; text-overflow: clip; text-wrap: balance; } .hdr .btn { padding-inline: 1em; } }

/* ---- hero ---- */
.hero { padding-block: 0; }
.hero__media { position: relative; overflow: hidden; background: var(--theme-surface); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); filter: var(--media-grade); }
.chip {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-size: var(--t-small); font-weight: 500; color: currentColor;
  padding: 0.35em 0.85em; border: 1px solid var(--hairline-strong); border-radius: 999px; margin: 0 0 1.5rem;
  font-variant-numeric: tabular-nums;
}
.chip__star { color: var(--theme-accent); }

/* ---- trust: the one typographic statement on the page ---- */
.trust { position: relative; isolation: isolate; padding-block: clamp(72px, 10vw, 160px); background: var(--theme-dark); color: var(--theme-light); }
.trust__ground { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: center / cover no-repeat; mix-blend-mode: overlay; opacity: 0.5;
  -webkit-mask-image: linear-gradient(to right, transparent 30%, currentColor 100%); mask-image: linear-gradient(to right, transparent 30%, currentColor 100%); }
@media (forced-colors: active) { .trust__ground { display: none; } }
.trust__in { display: grid; gap: 18px; }
.trust__label { margin: 0; color: var(--theme-accent); }
.trust__line { margin: 0; text-wrap: pretty; }
.trust__quote { margin: 0; display: grid; gap: 16px; }
.trust__quote .trust__line p { margin: 0; }
.trust__quote .trust__line p::before { content: "\201C"; margin-left: -0.45em; }
.trust__quote .trust__line p::after { content: "\201D"; }
.trust__src { font-size: var(--t-small); color: var(--ink-soft); }
.trust__src::before { content: ""; display: inline-block; width: 24px; height: 1px; background: var(--theme-accent); vertical-align: middle; margin-right: 12px; }

/* ---- offerings: shared card parts; each variant sets the composition ---- */
.offerings { padding-bottom: calc(var(--sec-y) * 0.85); }
.offerings .h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.5rem); }
.offerings__list { display: grid; gap: clamp(24px, 3vw, 40px); }
.offering { display: grid; min-width: 0; align-content: start; }
.offering__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--theme-surface); border-radius: var(--radius); }
.offering__media img { width: 100%; height: 100%; object-fit: cover; filter: var(--media-grade); transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
.offering:hover .offering__media img { transform: scale(1.025); }
.offering__body { display: grid; gap: 6px; }
.offering__blurb { color: var(--theme-muted); font-size: var(--t-small); max-width: 40ch; text-wrap: pretty; }

/* ---- media fallback (contract file missing) ---- */
.media--fallback img { opacity: 0.55; mix-blend-mode: luminosity; }
.media--fallback { position: relative; }
.hero__media.media--fallback::after, .offering.media--fallback .offering__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, var(--accent-soft), var(--theme-surface));
  opacity: 0.85;
}
.offering.media--fallback .offering__media { position: relative; }

/* ---- work: a ledger of named things, nothing else ---- */
.work { padding-block: calc(var(--sec-y) * 1.15); }
.work .h2 { font-size: var(--t-statement); line-height: 1.05; }
.work__list { display: grid; border-top: 1px solid var(--hairline-strong); }
.work__item { display: grid; grid-template-columns: 3.5rem 1fr; column-gap: 16px; align-items: baseline; padding-block: 20px; border-bottom: 1px solid var(--hairline); }
.work__n { font-size: var(--t-small); color: var(--theme-muted); font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
.work__title { grid-column: 2; }
.work__meta { grid-column: 2; color: var(--theme-muted); font-size: var(--t-small); margin-top: 4px; }
.work__detail { grid-column: 2; font-size: var(--t-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--theme-muted); margin-top: 8px; }
/* With photographs the ledger becomes a gallery: the picture carries the row. */
.work--gallery .work__list { border-top: 0; gap: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.work--gallery .work__title { font-size: var(--t-h3); }
.work--gallery .work__item { grid-template-columns: 1fr; grid-template-areas: "media" "n" "title" "meta" "detail"; row-gap: 0; border: 0; padding: 0; align-content: start; }
.work--gallery .work__media { grid-area: media; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 14px; background: var(--theme-surface); }
.work--gallery .work__media img { width: 100%; height: 100%; object-fit: cover; filter: var(--media-grade); transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
.work--gallery .work__item:hover .work__media img { transform: scale(1.025); }
.work--gallery .work__n { grid-area: n; margin-bottom: 6px; }
.work--gallery .work__title { grid-area: title; grid-column: auto; }
.work--gallery .work__meta { grid-area: meta; grid-column: auto; }
.work--gallery .work__detail { grid-area: detail; grid-column: auto; }

/* ---- offer ---- */
.offer { background: var(--theme-surface); border-block: 1px solid var(--line-soft); }
.offer__in { display: grid; gap: 8px; justify-items: start; }
.offer__title { font-size: var(--t-statement); line-height: 1.1; max-width: 18ch; }
.offer .btn { margin-top: 1.5rem; }

/* ---- provider ---- */
.provider__in { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
.provider__media { position: relative; aspect-ratio: 4 / 5; overflow: visible; background: var(--theme-surface); }
.provider__media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; filter: var(--media-grade); }
/* One plate, offset behind the portrait: the house mark, used once. */
.provider__media::before { content: ""; position: absolute; inset: 0; transform: translate(-14px, 14px); background: var(--accent-soft); z-index: 0; }
.provider .h2 { font-size: var(--t-name); max-width: 12ch; line-height: 0.98; }
.provider__cred { color: var(--theme-muted); font-size: var(--t-small); letter-spacing: 0.02em; margin: 1em 0 0; }
.provider__lead { font-family: var(--theme-heading); font-weight: var(--theme-heading-weight); letter-spacing: var(--theme-heading-tracking); font-size: clamp(1.25rem, 1rem + 1.2vw, 1.9rem); line-height: 1.3; margin-top: 1.5em; max-width: 34ch; text-wrap: pretty; }
/* No portrait: a masthead. Name left at display scale, the lead beside it, ruled above and below. */
.provider--nameplate .provider__copy, .provider--expertise .provider__copy { display: grid; gap: 8px; padding-block: clamp(28px, 4vw, 48px); border-block: 1px solid var(--hairline-strong); max-width: none; }
@media (min-width: 900px) {
  .provider--nameplate .provider__copy, .provider--expertise .provider__copy { grid-template-columns: 5fr 7fr; column-gap: clamp(40px, 6vw, 104px); align-items: end; }
  .provider--nameplate .provider__copy .label, .provider--expertise .provider__copy .label, .provider--nameplate .provider__copy .h2, .provider--expertise .provider__copy .h2, .provider--nameplate .provider__copy .provider__cred, .provider--expertise .provider__copy .provider__cred { grid-column: 1; }
  .provider--nameplate .provider__copy .provider__lead, .provider--expertise .provider__copy .provider__lead { grid-column: 2; grid-row: 1 / span 3; margin: 0; align-self: end; }
}
@media (min-width: 800px) { .provider--portrait .provider__in { grid-template-columns: 2fr 3fr; } }

/* ---- steps: the numerals are the page's one loud device ---- */
.steps__list { display: grid; gap: clamp(28px, 3vw, 48px); }
.step { display: grid; gap: 10px; align-content: start; position: relative; isolation: isolate; }
.step__n { font-family: var(--theme-heading); font-weight: var(--theme-heading-weight); font-size: var(--t-numeral); line-height: 0.9; color: var(--theme-accent); font-variant-numeric: tabular-nums lining-nums; }
.steps--ghost .step { padding-top: clamp(56px, 6vw, 88px); }
.steps--ghost .step__n { position: absolute; top: -0.08em; left: -0.04em; z-index: -1; font-size: clamp(6rem, 4rem + 7vw, 11rem); line-height: 1; color: color-mix(in oklab, var(--theme-accent) 22%, transparent); }
.step p { color: var(--theme-muted); font-size: var(--t-small); max-width: 36ch; text-wrap: pretty; }

/* ---- faq ---- */
.faq__list { border-top: 1px solid var(--hairline-strong); }
.disc { border-bottom: 1px solid var(--hairline); }
.disc__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--control-lg); padding: 16px 0; cursor: pointer; list-style: none;
  font-family: var(--theme-heading); font-weight: var(--theme-heading-weight); letter-spacing: var(--theme-heading-tracking);
  font-size: var(--t-h3); line-height: 1.25;
}
.disc__q::-webkit-details-marker { display: none; }
.disc__q:hover { color: var(--theme-accent); }
.disc__icon { position: relative; flex: 0 0 20px; height: 20px; }
.disc__icon::before, .disc__icon::after { content: ""; position: absolute; inset: 50% auto auto 50%; background: currentColor; transition: transform 200ms ease; }
.disc__icon::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.disc__icon::after { width: 1.5px; height: 14px; transform: translate(-50%, -50%); }
.disc[open] .disc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.disc__a { padding: 0 0 24px; color: var(--theme-muted); max-width: 62ch; }

/* ---- close ---- */
/* The vertical's atmosphere, baked to a neutral grey map centred on mid-grey,
   overlaid on whatever ground the variant paints: material under any palette.
   It thins out behind the copy, so text keeps the contrast the palette was
   checked at. */
.close { position: relative; isolation: isolate; }
.close__ground {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: center / cover no-repeat;
  mix-blend-mode: overlay; opacity: 0.6;
  -webkit-mask-image: radial-gradient(ellipse 60% 75% at 50% 50%, transparent 40%, currentColor 100%);
  mask-image: radial-gradient(ellipse 60% 75% at 50% 50%, transparent 40%, currentColor 100%);
}
@media (max-width: 599px) {
  .close__ground {
    -webkit-mask-image: radial-gradient(ellipse 100% 75% at 50% 50%, transparent 40%, currentColor 100%);
    mask-image: radial-gradient(ellipse 100% 75% at 50% 50%, transparent 40%, currentColor 100%);
  }
}
@media (forced-colors: active) { .close__ground { display: none; } }
.close__title { max-width: 16ch; }
.close__body { color: var(--ink-soft); max-width: 48ch; margin-top: 1.25em; font-size: var(--t-lede); text-wrap: pretty; }

/* ---- footer ---- */
.ftr { background: var(--theme-surface); border-top: 1px solid var(--hairline-strong); padding-top: clamp(48px, 7vw, 96px); font-size: var(--t-small); color: var(--theme-muted); }
.ftr__in { display: grid; gap: clamp(32px, 5vw, 56px); padding-bottom: clamp(36px, 5vw, 64px); }
@media (min-width: 760px) { .ftr__in { grid-template-columns: 6fr 3fr 3fr; column-gap: clamp(32px, 5vw, 80px); } }
.ftr__brand { display: grid; gap: 6px; align-content: start; }
/* the firm's own logo leads the footer; the typed name only stands in without one */
.ftr__logo { height: clamp(48px, 5vw, 64px); width: auto; max-width: min(100%, 320px); object-fit: contain; object-position: left center; }
.ftr__name { color: var(--theme-text); font-family: var(--theme-heading); font-weight: var(--theme-heading-weight); letter-spacing: var(--theme-heading-tracking); font-size: var(--t-h2); line-height: 1; max-width: 20ch; text-wrap: balance; }
.ftr__city { margin: 4px 0 0; }
.ftr__note { margin: 12px 0 0; }
.ftr__nav, .ftr__contact { display: grid; gap: 2px; align-content: start; justify-items: start; }
.ftr .label { margin-bottom: 10px; }
.ftr a { text-decoration: none; display: inline-block; min-height: var(--control); line-height: var(--control); color: var(--theme-text); }
.ftr a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--theme-accent); }
.ftr__contact .btn { margin-top: 14px; }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-block: 18px; border-top: 1px solid var(--hairline-strong); font-size: var(--t-label); letter-spacing: 0.04em; }
.ftr__base p { margin: 0; }
.ftr__top { color: var(--theme-muted) !important; }
.ftr__top::after { content: " \2191"; }

/* ---- sticky bar (mobile) ---- */
.sticky {
  position: fixed; inset: auto 0 0 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px 12px;
  background: color-mix(in oklab, var(--theme-background) 92%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-soft);
  padding-bottom: max(6px, env(safe-area-inset-bottom));
  box-sizing: content-box; height: calc(var(--sticky-h) - 12px);
}
.sticky .btn { min-height: var(--control); width: 100%; }
@media (min-width: 900px) { .sticky { display: none; } }

/* ---- drawer ---- */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer[hidden] { display: none; }
.drawer__overlay { position: absolute; inset: 0; background: var(--overlay); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 480px);
  background: var(--theme-background); color: var(--theme-text);
  overflow-y: auto; padding: 24px var(--gutter) 40px;
  box-shadow: -24px 0 48px -24px var(--overlay);
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.drawer__close { width: var(--control); height: var(--control); border: 1px solid var(--theme-line); border-radius: var(--radius); background: transparent; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.drawer__close:hover { background: var(--surface-soft); }
.form { display: grid; gap: 14px; }
.form[hidden] { display: none; }
.form__intro { font-size: var(--t-small); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field__label { font-size: var(--t-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--theme-muted); font-weight: 500; }
.field__opt { text-transform: none; letter-spacing: 0; opacity: 0.8; margin-left: 6px; }
.field__in {
  min-height: var(--control); width: 100%; padding: 0 12px;
  background: var(--theme-background); color: var(--theme-text);
  border: 1px solid var(--theme-line); border-radius: var(--radius); font: inherit; letter-spacing: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field__in--area { padding: 10px 12px; resize: vertical; min-height: 88px; line-height: 1.5; }
.field__in:hover { border-color: var(--theme-muted); }
.field__in:focus { border-color: var(--theme-action); outline: none; box-shadow: 0 0 0 3px var(--action-soft); }
.field__in[aria-invalid="true"] { border-color: var(--theme-action); }
select.field__in { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.form__err { font-size: var(--t-small); color: var(--theme-action); margin: 0; }
.form__submit { margin-top: 6px; width: 100%; }
.form__fine { font-size: var(--t-label); letter-spacing: 0.02em; text-align: center; }
.form__done { display: grid; gap: 10px; justify-items: start; padding-top: 12px; }
.form__done[hidden] { display: none; }
.form__check { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--theme-action); color: var(--theme-action-text); font-size: 1.25rem; margin-bottom: 8px; }
.form__done .btn { margin-top: 12px; }
body.drawer-open { overflow: hidden; }
