/* arscello.com — по утверждённому макету docs/mockups/home.html.
   Светлый тёплый фон, имя шрифтом с засечками, один акцент — «лак виолончели»,
   один тёмный момент — «Смотреть». Иврит и арабский — справа налево. */

:root {
  color-scheme: light;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans Hebrew", "Noto Sans Arabic", sans-serif;
  --nav-h: 52px;
  --gutter: 16px;
  --radius-l: 28px;
  --radius-m: 18px;

  --bg: #fbfaf7;
  --bg-2: #f2efe9;
  --card: #ffffff;
  --ink: #1c1a17;
  --ink-2: #6b655d;
  --line: rgba(28, 26, 23, 0.12);
  --accent: #8c4a25;
  --accent-ink: #ffffff;
  --plate: #e7e2d9;
  --plate-2: #efebe4;
  --plate-ink: #7d766b;
  --nav-bg: rgba(251, 250, 247, 0.74);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #11100e; --bg-2: #181614; --card: #1f1c19; --ink: #f2efe9; --ink-2: #a29b91;
  --line: rgba(242, 239, 233, 0.14); --accent: #e3a174; --accent-ink: #1c1a17;
  --plate: #23201c; --plate-2: #2a2622; --plate-ink: #8f877c; --nav-bg: rgba(17, 16, 14, 0.74);
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="light"] {
    color-scheme: dark;
    --bg: #171513; --bg-2: #1e1c19; --card: #24211e; --ink: #f2efe9; --ink-2: #a8a197;
    --line: rgba(242, 239, 233, 0.13); --accent: #e3a174; --accent-ink: #1c1a17;
    --plate: #2a2622; --plate-2: #312c27; --plate-ink: #958c80; --nav-bg: rgba(23, 21, 19, 0.74);
  }
  :root[data-theme="dark"] { --bg: #0b0a09; --bg-2: #121110; }
}
/* Иврит и арабский: рубленый шрифт, без разрядки (у арабских букв рвутся связки) */
:root[lang="he"], :root[lang="ar"] { --serif: var(--sans); }
:root[lang="he"] body *, :root[lang="ar"] body * { letter-spacing: 0 !important; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased;
  transition: background-color .45s ease, color .45s ease;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) { body { transition: none; } }
h1, h2, h3, h4, p, ol, ul, figure, dl, dd, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, video { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }
.muted { color: var(--ink-2); }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.preview-bar { background: #fff3c4; color: #4a3b00; font-size: 13px; padding-block: 8px; text-align: left; }
.badge-check { display: inline-block; margin-top: 12px; padding: 3px 10px; border-radius: 999px; background: #fff3c4; color: #4a3b00; font: 600 12px/1.4 var(--sans); }

/* ── Верхняя строка ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background-color .45s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
@media (prefers-reduced-transparency: reduce) { .nav { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.nav-in { height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.brand { font: 500 19px/1 var(--serif); letter-spacing: -0.01em; white-space: nowrap; }
:root[lang="he"] .brand, :root[lang="ar"] .brand { font-weight: 600; }
.links { display: none; gap: 22px; margin-inline-start: auto; font-size: 14px; color: var(--ink-2); }
.links a { padding-block: 14px; transition: color .2s ease; }
.links a:hover, .links a[aria-current="page"] { color: var(--ink); }
.nav-tools { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
@media (min-width: 1120px) { .links { display: flex; } .nav-tools { margin-inline-start: 8px; } .menu-btn { display: none !important; } }

.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; width: max-content; }
.lang a {
  display: inline-grid; place-items: center; min-width: 34px; height: 28px; padding: 0 8px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--ink-2);
}
.lang a[lang="he"], .lang a[lang="ar"] { font-size: 13px; letter-spacing: 0; }
.lang a[aria-current="true"] { background: var(--ink); color: var(--bg); }
.nav-tools > .lang { display: none; }
@media (min-width: 600px) { .nav-tools > .lang { display: flex; } }
.pill { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 600; white-space: nowrap; }
.menu-btn { border: 0; background: transparent; cursor: pointer; font-size: 14px; min-height: 44px; padding-inline: 6px; }
html:not(.js) .menu-btn { display: none; }
.menu-panel { border-top: 1px solid var(--line); background: var(--bg); }
.js .menu-panel { display: none; }
.js .menu-panel.open { display: block; }
.menu-panel ul { display: grid; padding-block: 8px 16px; }
.menu-panel li > a { display: block; padding: 12px 0; font-size: 19px; border-bottom: 1px solid var(--line); }
.menu-panel .lang { margin-top: 16px; }
.menu-panel .lang a { height: 36px; min-width: 44px; padding: 0 12px; font-size: 14px; }
@media (min-width: 600px) { .menu-panel .lang { display: none; } }
@media (min-width: 1120px) { .menu-panel, .js .menu-panel.open { display: none; } }

/* ── Общее ── */
.sec { padding-block: clamp(72px, 12vw, 152px); }
.sec-tight { padding-block: clamp(32px, 6vw, 72px) clamp(64px, 10vw, 120px); }
.sec-alt { background: var(--bg-2); transition: background-color .45s ease; }
.h1 { font: 500 clamp(40px, 7vw, 84px)/1.02 var(--serif); letter-spacing: -0.02em; }
.h2 { font: 500 clamp(34px, 5.2vw, 60px)/1.04 var(--serif); letter-spacing: -0.02em; }
.h3 { font: 500 clamp(24px, 3vw, 32px)/1.15 var(--serif); margin-block: 32px 16px; }
.h4 { font-size: 17px; font-weight: 600; margin-top: 12px; }
:root[lang="he"] :is(.h1, .h2, .h3), :root[lang="ar"] :is(.h1, .h2, .h3) { font-weight: 650; }
:root[lang="ar"] :is(.h1, .h2, .h3) { line-height: 1.3; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.page-head { padding-top: clamp(48px, 8vw, 104px); }
.page-lead { margin-top: 16px; font-size: clamp(19px, 2vw, 23px); color: var(--ink-2); max-width: 46ch; }
.link { color: var(--accent); font-size: 17px; white-space: nowrap; }
a.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.chev { display: inline-block; margin-inline-start: .28em; }
.ext { display: inline-block; margin-inline-start: .3em; }
[dir="rtl"] .chev, [dir="rtl"] .ext { transform: scaleX(-1); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font-size: 15px; font-weight: 600; white-space: nowrap; transition: transform .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn[disabled] { background: transparent; border-color: var(--line); color: var(--ink-2); cursor: default; }
.btn[disabled]:active { transform: none; }
.empty { padding: 28px 0; color: var(--ink-2); font-size: 19px; }
.hint { margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.prose p { margin-top: 1em; max-width: 64ch; font-size: 19px; line-height: 1.6; }
.prose p:first-child { margin-top: 0; }
.prose .badge-check + p { margin-top: 16px; }

.plate { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, var(--plate-2), var(--plate)); color: var(--plate-ink); display: grid; place-items: center; text-align: center; }
.plate-label { padding: 20px; font-size: 15px; line-height: 1.4; }
.plate-label small { display: block; margin-top: 4px; font-size: 12.5px; opacity: .85; }
.photo { position: relative; overflow: hidden; }
.photo picture, .photo img { width: 100%; height: 100%; object-fit: cover; }
.plate-hero.photo img { object-position: 50% 28%; }
@media (min-width: 720px) { .plate-hero.photo img { object-position: 50% 35%; } }
.plate-portrait.photo img { object-position: 50% 30%; }
.page-photo { margin-top: clamp(28px, 4vw, 48px); aspect-ratio: 16 / 9; border-radius: var(--radius-m); }
.page-photo img { object-position: 50% 72%; }
@media (max-width: 719px) { .page-photo { aspect-ratio: 4 / 3; } }
.badge-rights { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: #fff3c4; color: #4a3b00; font: 600 12px/1.4 var(--sans); }
.gig-place .badge-check { margin: 0 0 0 8px; vertical-align: middle; }
.credit { position: absolute; inset-inline-end: 12px; bottom: 10px; font-size: 11px; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6); }

/* ── Обложка ── */
.hero { padding-top: clamp(56px, 9vw, 112px); padding-bottom: clamp(48px, 8vw, 96px); overflow: hidden; }
.hero-text { text-align: center; }
.hero-name { font: 500 clamp(46px, 9.6vw, 128px)/0.98 var(--serif); letter-spacing: -0.025em; }
:root[lang="he"] .hero-name { font-weight: 650; line-height: 1.05; }
:root[lang="ar"] .hero-name { font-weight: 650; line-height: 1.3; }
.hero-role { margin-top: 14px; font-size: clamp(19px, 2.4vw, 28px); color: var(--ink-2); }
.hero-ctas { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.hero-media { margin-top: clamp(40px, 6vw, 72px); padding-inline: var(--gutter); }
.plate-hero { margin-inline: auto; width: 100%; max-width: 1280px; aspect-ratio: 4 / 5; border-radius: var(--radius-l); transform-origin: 50% 0%; }
@media (min-width: 720px) { .plate-hero { aspect-ratio: 16 / 9; } }

/* ── Концерты ── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { border: 1px solid var(--line); background: var(--card); color: var(--ink); min-height: 36px; padding: 0 16px; border-radius: 999px; cursor: pointer; font-size: 14px; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
html:not(.js) .chips { display: none; }
.gigs { border-bottom: 1px solid var(--line); }
.gig { display: grid; grid-template-columns: 84px 1fr; gap: 6px 20px; align-items: center; padding-block: 22px; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .gig { grid-template-columns: 140px 1fr auto; padding-block: 26px; } }
.gig-date { font: 500 30px/1 var(--serif); }
.gig-date small { display: block; margin-top: 6px; font: 13px/1.3 var(--sans); color: var(--ink-2); }
.gig-place { font-size: 19px; font-weight: 600; }
.gig-place a:hover { color: var(--accent); }
.gig-hall { color: var(--ink-2); }
.gig-act { grid-column: 1 / -1; display: flex; justify-content: flex-start; }
@media (min-width: 720px) { .gig-act { grid-column: auto; justify-content: flex-end; } }
.gig-act:empty { display: none; }

.map { margin-block: 8px 32px; background: var(--card); border-radius: var(--radius-m); padding: 12px; }
.map svg { width: 100%; height: auto; display: block; }
.map-grid line { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 6; }
.map-land { fill: var(--plate); fill-rule: nonzero; }
.map { background: var(--card); }
.map svg { border-radius: 10px; }
.map-pt circle { fill: var(--accent); stroke: var(--card); stroke-width: 3; }
.map-pt text { fill: var(--ink); font: 600 24px var(--sans); }

.concert .facts { display: grid; gap: 16px; margin-bottom: 24px; }
.facts dt { font-size: 13px; color: var(--ink-2); }
.facts dd { font-size: 19px; }
.program { font-size: 19px; max-width: 64ch; white-space: pre-line; }
.concert-act { margin-block: 32px 24px; }

/* ── Смотреть ── */
.watch-pin { position: relative; height: 240vh; }
@media (max-width: 719px) { .watch-pin { height: 170vh; } }
.watch-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: grid; align-content: center; justify-items: center; gap: clamp(16px, 2.6vw, 28px);
  padding: calc(var(--nav-h) + 12px) var(--gutter) 24px; overflow: hidden;
}
.watch-title { text-align: center; }
.watch-frame {
  width: min(1200px, calc(100vw - 2 * var(--gutter)), calc((100svh - 240px) * 16 / 9));
  aspect-ratio: 16 / 9; border-radius: var(--radius-m); overflow: hidden;
}
.watch-frame--video video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.watch-plate-inner { display: grid; justify-items: center; gap: 14px; }
.play-big { width: 76px; height: 76px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; }
.play-big svg { width: 26px; height: 26px; margin-left: 4px; } /* знак «Играть» не зеркалим */
.watch-caption { font-size: 14px; color: var(--ink-2); text-align: center; }
.rail-wrap { padding-block: clamp(48px, 7vw, 96px) clamp(72px, 10vw, 128px); }
.rail-head { font: 600 21px/1.2 var(--sans); margin-bottom: 18px; }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.rail li { flex: 0 0 min(78%, 340px); scroll-snap-align: start; }
.rail .plate, .rail video { aspect-ratio: 16 / 9; border-radius: 14px; width: 100%; }
.rail h3 { margin: 12px 0 2px; font-size: 16px; font-weight: 600; }
.rail p { font-size: 14px; color: var(--ink-2); }
.video-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
.video-grid .plate, .video-grid video { aspect-ratio: 16 / 9; border-radius: 14px; width: 100%; }

/* ── Слушать ── */
.tracks { border-bottom: 1px solid var(--line); }
.track { display: grid; grid-template-columns: 44px 1fr auto; gap: 4px 16px; align-items: center; padding-block: 16px; border-top: 1px solid var(--line); }
.play { width: 44px; height: 44px; border-radius: 50%; cursor: pointer; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: grid; place-items: center; }
.play svg { width: 16px; height: 16px; }
.play .i-pause { display: none; }
.is-playing .play { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.is-playing .play .i-play { display: none; }
.is-playing .play .i-pause { display: block; }
.track-title { font-weight: 600; }
.track-meta, .track-time { font-size: 14px; color: var(--ink-2); }
.track-time { font-variant-numeric: tabular-nums; }
.bar { grid-column: 2 / -1; height: 3px; border-radius: 3px; background: var(--line); margin-top: 8px; display: none; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--accent); }
.is-playing .bar { display: block; }

/* ── Об Арсении ── */
.about-grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 860px) { .about-grid { grid-template-columns: 5fr 7fr; } .about-grid--text { grid-template-columns: 1fr; } }
.plate-portrait { aspect-ratio: 4 / 5; border-radius: var(--radius-m); }
.bio { margin-top: 24px; font-size: clamp(19px, 1.9vw, 23px); line-height: 1.5; max-width: 36ch; }
.honors { margin-top: 36px; display: grid; gap: 22px; }
@media (min-width: 560px) { .honors { grid-template-columns: repeat(3, 1fr); } }
.honors strong { display: block; font: 500 26px/1.1 var(--serif); }
:root[lang="he"] .honors strong, :root[lang="ar"] .honors strong { font-weight: 650; }
.honors span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.halls { margin-top: 32px; font-size: 15px; color: var(--ink-2); max-width: 52ch; }
.about-more { margin-top: 28px; }

/* ── Пресса ── */
.press-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .press-grid { grid-template-columns: repeat(3, 1fr); } }
.press-card { background: var(--bg-2); border-radius: var(--radius-m); padding: 28px; display: grid; gap: 12px; align-content: start; min-height: 220px; transition: background-color .45s ease; }
.press-outlet { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
:root[lang="ar"] .press-outlet, :root[lang="he"] .press-outlet { text-transform: none; }
.press-card h3 { font: 500 23px/1.25 var(--serif); }
.press-card blockquote { font-size: 15px; color: var(--ink-2); }
.press-card .link { align-self: end; margin-top: 8px; }

/* ── Организаторам ── */
.book-lead { margin-top: 14px; font-size: clamp(19px, 2vw, 23px); color: var(--ink-2); max-width: 52ch; }
.page-head + #booking { padding-top: 32px; }
.book-grid { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 760px) { .book-grid { grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; } }
.book-grid > * { display: grid; gap: 6px; padding: 28px; background: var(--bg); min-height: 150px; align-content: start; transition: background-color .45s ease; }
.book-grid a:hover .book-t { color: var(--accent); }
.book-t { font-size: 19px; font-weight: 600; }
.book-s { font-size: 14px; color: var(--ink-2); }

/* ── Подвал ── */
.foot { background: var(--bg-2); padding-block: 56px 40px; font-size: 14px; color: var(--ink-2); transition: background-color .45s ease; }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot .brand { color: var(--ink); font-size: 22px; }
.foot-role { margin-top: 10px; }
.foot h2 { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--ink); }
.foot li { padding-block: 4px; }
.foot a:hover { color: var(--ink); }
.foot-lang a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.foot-bottom { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 12.5px; }

/* ── Вставка портала билетов (предпросмотр) ── */
dialog.sheet { border: 0; padding: 0; color: var(--ink); background: var(--card); width: min(460px, calc(100% - 32px)); border-radius: 22px; box-shadow: 0 24px 80px rgba(0, 0, 0, .28); }
dialog.sheet::backdrop { background: rgba(20, 18, 16, .44); }
@media (max-width: 600px) { dialog.sheet { margin: auto 0 0; width: 100%; max-width: 100%; border-radius: 22px 22px 0 0; } }
.sheet-in { padding: 22px 22px max(22px, env(safe-area-inset-bottom)); display: grid; gap: 16px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; }
.sheet-head h2 { font: 500 28px/1.1 var(--serif); }
.x { border: 0; background: var(--bg-2); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1; }
.cats { border-top: 1px solid var(--line); }
.cat { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; padding-block: 14px; border-bottom: 1px solid var(--line); }
.cat-name { font-weight: 600; }
.cat-price { font-size: 14px; color: var(--ink-2); }
.stepper { grid-row: span 2; display: flex; align-items: center; gap: 10px; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink-2); }
.btn.wide { width: 100%; }
.fine { font-size: 13px; color: var(--ink-2); text-align: center; }

@media (prefers-reduced-motion: reduce) {
  [data-hero-text], [data-hero-media] .plate-hero, [data-hero-media] .photo, [data-watch-frame], [data-watch-title], .wipe { transform: none !important; opacity: 1 !important; clip-path: none !important; }
  [data-watch-caption] { opacity: 1 !important; }
}
.map-pt { transition: opacity .3s ease; }
.map-pt.dim { opacity: .25; }

/* ── ARS Chamber Orchestra ── */
.orch-name { font: 500 clamp(40px, 7.4vw, 96px)/1 var(--serif); letter-spacing: -0.02em; font-family: ui-serif, "New York", "Iowan Old Style", Georgia, serif; }
:root[lang="he"] .orch-name, :root[lang="ar"] .orch-name { letter-spacing: -0.02em !important; }
:root[dir="rtl"] .orch-name { text-align: right; }
.orch-lead { margin-top: 14px; font-size: clamp(19px, 2.4vw, 26px); color: var(--ink-2); }
.orch-text { margin-top: 24px; font-size: clamp(19px, 1.9vw, 23px); line-height: 1.5; max-width: 46ch; }
.orch .badge-check { margin-top: 20px; }
.orch-more { margin-top: 28px; }

/* ── «Написать нам» ── */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 2fr 1fr; } .contact-grid--one { grid-template-columns: minmax(0, 720px); } }
.form { display: grid; gap: 18px 16px; background: var(--card); border-radius: var(--radius-m); padding: clamp(20px, 3vw, 32px); }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--ink-2); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.form input:not([type="radio"]), .form textarea {
  width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 16px;
}
.form textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.form input:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: 14px; font-weight: 500; cursor: pointer; }
.seg input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.consent { font-size: 13px; color: var(--ink-2); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-msg { font-size: 15px; }
.form-msg.ok { color: #2f6f47; }
.form-msg.err { color: #9b2c1f; }
:root[data-theme="dark"] .form-msg.ok { color: #8fd0a6; }
:root[data-theme="dark"] .form-msg.err { color: #f2a093; }
@media (prefers-color-scheme: dark) { .form-msg.ok { color: #8fd0a6; } .form-msg.err { color: #f2a093; } }
.form.sent > :not(.form-foot) { display: none; }
.form.sent .btn { display: none; }
.contact-side { display: grid; gap: 28px; }
.contact-side .h4 { margin: 0 0 8px; }
.social li { padding-block: 4px; }
.social a { color: var(--accent); }
