/* Self-hosted fonts (SIL OFL 1.1): Geologica and Golos Text, subsets cyrillic, cyrillic-ext, latin, latin-ext. See assets/fonts/OFL.txt */
@font-face { font-family: 'Geologica'; font-style: normal; font-weight: 600 800; font-display: swap; src: url('/assets/fonts/geologica-cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Geologica'; font-style: normal; font-weight: 600 800; font-display: swap; src: url('/assets/fonts/geologica-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Geologica'; font-style: normal; font-weight: 600 800; font-display: swap; src: url('/assets/fonts/geologica-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geologica'; font-style: normal; font-weight: 600 800; font-display: swap; src: url('/assets/fonts/geologica-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/golos-text-cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/golos-text-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/golos-text-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/golos-text-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Evacuator Manipulator — dark charcoal + one orange accent. Geologica (headings) + Golos Text (body). */

:root {
  --radius: 14px; --radius-lg: 20px; --radius-xl: 24px;
  --ease: cubic-bezier(.2, 0, 0, 1);
  --head: 'Geologica', 'Golos Text', system-ui, sans-serif;
  --header-h: 64px;

  color-scheme: light;
  --bg: #fafaf9; --bg-alt: #f3f2f0; --card: #ffffff; --card-2: #f5f5f4;
  --line: #e7e5e4; --line-strong: #d6d3d1;
  --fg: #1c1917; --muted: #57534e;
  --accent: #e8551f; --accent-text: #c2410c;
  --btn: #cf4410; --btn-hover: #c2410c; --btn-fg: #ffffff;
  --tint: rgba(232,85,31,.10); --tint-line: rgba(232,85,31,.45);
  --ring: #c2410c; --ok: #15803d; --err: #b91c1c;
  --grid-line: rgba(28,25,23,.055); --glow: rgba(232,85,31,.22); --grad-end: #c2410c;
  --wa: #15803d; --shadow: 0 8px 24px rgba(28,25,23,.08); --btn-shadow: 0 8px 22px rgba(207,68,16,.28);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1f1f1f; --bg-alt: #1a1a1a; --card: #262626; --card-2: #2e2e2e;
  --line: rgba(255,255,255,.09); --line-strong: rgba(255,255,255,.16);
  --fg: #f5f5f4; --muted: #a8a29e;
  --accent: #ff6b35; --accent-text: #ff7a45;
  --btn: #ff6b35; --btn-hover: #ff7a45; --btn-fg: #1a1a1a;
  --tint: rgba(255,107,53,.14); --tint-line: rgba(255,107,53,.4);
  --ring: #ff7a45; --ok: #4ade80; --err: #ff8f80;
  --grid-line: rgba(255,255,255,.045); --glow: rgba(255,107,53,.28); --grad-end: #ffb08a;
  --wa: #25d366; --shadow: 0 10px 30px rgba(0,0,0,.35); --btn-shadow: 0 8px 24px rgba(255,107,53,.28);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  color-scheme: dark;
  --bg: #1f1f1f; --bg-alt: #1a1a1a; --card: #262626; --card-2: #2e2e2e;
  --line: rgba(255,255,255,.09); --line-strong: rgba(255,255,255,.16);
  --fg: #f5f5f4; --muted: #a8a29e;
  --accent: #ff6b35; --accent-text: #ff7a45;
  --btn: #ff6b35; --btn-hover: #ff7a45; --btn-fg: #1a1a1a;
  --tint: rgba(255,107,53,.14); --tint-line: rgba(255,107,53,.4);
  --ring: #ff7a45; --ok: #4ade80; --err: #ff8f80;
  --grid-line: rgba(255,255,255,.045); --glow: rgba(255,107,53,.28); --grad-end: #ffb08a;
  --wa: #25d366; --shadow: 0 10px 30px rgba(0,0,0,.35); --btn-shadow: 0 8px 24px rgba(255,107,53,.28);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 1rem; line-height: 1.6; overflow-x: hidden; padding-bottom: 76px; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
a { color: inherit; }
svg { display: block; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.icon { width: 20px; height: 20px; flex: none; }
.center { text-align: center; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--btn); color: var(--btn-fg); padding: 12px 16px; font-weight: 600; border-radius: 999px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 14px; font: 600 1rem/1.2 'Golos Text', system-ui, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease); -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--btn); color: var(--btn-fg); }
.btn--primary:hover { background: var(--btn-hover); box-shadow: var(--btn-shadow); }
.btn--dark { background: var(--card-2); color: var(--fg); border-color: var(--line-strong); }
.btn--dark:hover { border-color: var(--tint-line); box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn--xl { min-height: 60px; width: 100%; font-size: 1.25rem; font-family: var(--head); font-weight: 600; letter-spacing: .01em; }
.btn--xl .icon { width: 24px; height: 24px; }
.wa-ico { color: var(--wa); }
.btn__spin { display: none; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.is-loading .btn__spin { display: inline-block; }
.is-loading .btn { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 0; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--muted); cursor: pointer; text-decoration: none; transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); list-style: none; }
.icon-btn::-webkit-details-marker { display: none; }
.icon-btn:hover { color: var(--fg); background: var(--card-2); }
.icon-btn:active { transform: scale(.94); }
.icon-btn--accent { color: var(--accent-text); background: var(--tint); }
[data-theme-btn] > span { display: none; }
[data-theme-btn][data-mode="system"] > [data-mode="system"], [data-theme-btn][data-mode="light"] > [data-mode="light"], [data-theme-btn][data-mode="dark"] > [data-mode="dark"], [data-theme-btn]:not([data-mode]) > [data-mode="system"] { display: block; }

.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--tint); color: var(--accent-text); font-weight: 600; font-size: .9375rem; text-decoration: none; transition: background-color .2s var(--ease), color .2s var(--ease); }
a.pill:hover { background: var(--tint-line); color: var(--fg); }
.pill--outline { min-height: 34px; padding: 0 14px; background: transparent; border: 1px solid var(--tint-line); font-size: .875rem; }
.pill .icon { width: 16px; height: 16px; }
.grad { background: linear-gradient(100deg, var(--fg) 0%, var(--grad-end) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand__icon { width: 28px; height: 28px; color: var(--accent); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text b { font-family: var(--head); font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; }
.brand__text span { font-size: .7rem; color: var(--muted); font-weight: 500; }
.dnav, .dtools { display: none; }
.mtools { display: flex; align-items: center; gap: 6px; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.menu .m-close { display: none; }
.menu[open] .m-open { display: none; }
.menu[open] .m-close { display: block; }
.menu[open] > summary { background: var(--card-2); color: var(--fg); }
.menu__sheet { position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 49; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 12px; }
.menu__nav { display: grid; }
.menu__nav a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 12px; font-weight: 500; font-size: 1.0625rem; text-decoration: none; transition: background-color .2s var(--ease), color .2s var(--ease); }
.menu__nav a:hover { background: var(--card-2); }
.menu__nav a.is-active { background: var(--tint); color: var(--accent-text); }
.menu__row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-block: 1px solid var(--line); }
.menu__langs { display: flex; gap: 6px; }
.menu__langs a { display: grid; place-items: center; min-width: 48px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; font-weight: 600; font-size: .875rem; text-decoration: none; }
.menu__langs a[aria-current] { background: var(--tint); border-color: var(--tint-line); color: var(--accent-text); }

.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 12px; font-weight: 600; font-size: .875rem; transition: background-color .2s var(--ease); }
.lang__btn:hover { background: var(--card-2); }
.lang__btn .chev { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.lang[open] .chev { transform: rotate(180deg); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 190px; padding: 6px; background: var(--card); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: var(--shadow); }
.lang__menu a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 10px; text-decoration: none; transition: background-color .2s var(--ease); }
.lang__menu a b { width: 24px; font-size: .8125rem; color: var(--muted); }
.lang__menu a:hover { background: var(--card-2); }
.lang__menu a[aria-current] { background: var(--tint); color: var(--accent-text); }
.lang__menu a[aria-current] b { color: inherit; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding: 28px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000 20%, transparent 75%); }
.hero__grid { display: grid; gap: 28px; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
h1 { font-size: clamp(2rem, 1.4rem + 2.8vw, 3.5rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; overflow-wrap: break-word; }
.lede { color: var(--muted); max-width: 56ch; font-size: 1.0625rem; }
.lede--center { margin-inline: auto; }
.hero__actions { display: grid; gap: 12px; width: 100%; max-width: 480px; margin-top: 8px; }
.hero__media { position: relative; max-width: 420px; width: 100%; margin: 0 auto; }
.hero__media::before { content: ""; position: absolute; inset: 8% -6% -6% 8%; z-index: -1; background: radial-gradient(closest-side, var(--glow), transparent 75%); filter: blur(24px); }
.hero__media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-xl); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }

/* ---------- Sections / cards ---------- */
.section { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }
.section__title { font-size: clamp(1.625rem, 1.25rem + 1.4vw, 2.25rem); margin-bottom: 28px; }
.section__title.center { margin-bottom: 32px; }
.grid { display: grid; gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.grid .card:hover, a.card:hover { transform: translateY(-2px); border-color: var(--tint-line); box-shadow: 0 10px 30px var(--glow); }
.card h3 { font-size: 1.125rem; font-weight: 650; margin: 16px 0 6px; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: .9375rem; }
.card--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.ico { display: inline-grid; place-items: center; flex: none; background: var(--tint); color: var(--accent-text); }
.ico--round { width: 56px; height: 56px; border-radius: 50%; }
.ico--round .icon { width: 26px; height: 26px; }
.ico--sm { width: 40px; height: 40px; }
.ico--sm .icon { width: 20px; height: 20px; }
.ico--square { width: 44px; height: 44px; border-radius: 12px; }

.about { display: grid; gap: 32px; }
.about .section__title { margin-bottom: 16px; }
.about .lede { color: var(--fg); opacity: .85; }
.minis { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 24px; }
.card--mini { display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-decoration: none; }
.card--mini div { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.card--mini strong { font-family: var(--head); font-size: 1rem; }
.card--mini small { color: var(--muted); font-size: .8125rem; }
.coverage { margin-top: 24px; }
.coverage__label { font-size: .8125rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px 0 10px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .9375rem; font-weight: 500; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.chip:hover { border-color: var(--tint-line); background: var(--tint); }
.chip .icon { width: 15px; height: 15px; color: var(--accent-text); }
.chip--dashed { border-style: dashed; color: var(--muted); padding-left: 14px; }

/* ---------- Gallery ---------- */
.gallery { padding: 20px; align-self: start; }
.grid .gallery:hover, .gallery:hover { transform: none; box-shadow: none; border-color: var(--line); }
.gallery__title { font-size: 1.25rem; margin-bottom: 16px; }
.gallery__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vtile { position: relative; min-width: 0; }
.vthumb, .vplayer { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 16px; background: #000; border: 1px solid var(--line-strong); }
.vthumb { color: #fff; text-decoration: none; transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.vthumb:hover { transform: translateY(-2px); border-color: var(--tint-line); box-shadow: 0 10px 30px var(--glow); }
.vthumb:active { transform: scale(.98); }
.vthumb img { width: 100%; height: 100%; object-fit: cover; }
.vthumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), transparent 45%); }
.vthumb__play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; display: grid; place-items: center; border-radius: 50%; background: #ff6b35; color: #1a1a1a; box-shadow: 0 6px 20px rgba(0,0,0,.4); transition: transform .2s var(--ease); }
.vthumb:hover .vthumb__play { transform: scale(1.08); }
.vthumb__play .icon { width: 24px; height: 24px; fill: currentColor; margin-left: 2px; }
.vthumb__cap { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 10px; font-size: .875rem; font-weight: 600; line-height: 1.25; }
.vplayer video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 16px; max-width: 960px; margin: 0 auto; }
.contact .card:hover { transform: none; box-shadow: none; border-color: var(--line); }
.contact h3 { margin: 0 0 16px; font-size: 1.25rem; }
.clist { display: grid; gap: 4px; }
.clist li { display: flex; align-items: center; gap: 4px; }
.clist__main { flex: 1; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 8px; border-radius: 12px; text-decoration: none; transition: background-color .2s var(--ease); min-width: 0; }
a.clist__main:hover { background: var(--card-2); }
.clist__main > span:last-child { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.clist small { color: var(--muted); font-size: .8125rem; }
.clist strong { font-family: var(--head); font-size: 1.0625rem; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Form ---------- */
.lead { container-type: inline-size; }
.lead__label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: 8px; }
.lead__row { display: grid; gap: 10px; }
.lead__input { width: 100%; min-height: 52px; padding: 0 16px; font: 500 1.125rem 'Golos Text', sans-serif; color: var(--fg); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 12px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.lead__input::placeholder { color: var(--muted); opacity: .7; }
.lead__input:hover { border-color: var(--muted); }
.lead__input:focus, .lead__input:focus-visible { outline: none; border-color: var(--ring); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ring) 30%, transparent); }
.lead__input[aria-invalid="true"] { border-color: var(--err); }
.lead__submit { min-height: 52px; width: 100%; }
/* Input + button side by side only when the form itself has room */
@container (min-width: 380px) {
  .lead__row { grid-template-columns: 1fr auto; }
  .lead__submit { width: auto; }
}
.lead__msg { margin-top: 12px; font-size: .9375rem; font-weight: 500; }
.lead__msg:empty { display: none; }
.lead__msg.is-ok { color: var(--ok); }
.lead__msg.is-err { color: var(--err); }
.lead__after { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.lead__after p { margin-bottom: 8px; color: var(--muted); font-size: .9375rem; }
.lead__calls { display: flex; flex-wrap: wrap; gap: 8px; }
.lead__hint { margin-top: 12px; font-size: .875rem; color: var(--muted); }
.lead__after:not([hidden]) ~ .lead__hint { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer__langs { display: flex; flex-wrap: wrap; gap: 4px; }
.footer__langs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--muted); text-decoration: none; transition: color .2s var(--ease), background-color .2s var(--ease); }
.footer__langs a:hover { color: var(--fg); background: var(--card-2); }
.footer__langs a[aria-current] { color: var(--accent-text); font-weight: 600; }
.footer__copy { color: var(--muted); font-size: .875rem; flex-basis: 100%; }

/* ---------- Mobile bar + snackbar ---------- */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 8px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0,0,0,.18); transition: transform .25s var(--ease); }
.mbar .btn { min-height: 52px; padding: 0 14px; }
.mbar .btn--primary { flex: 1.7; font-family: var(--head); font-size: 1.0625rem; }
.mbar .btn--dark { flex: 1; }
.mbar.is-hidden { transform: translateY(110%); }
.toast { position: fixed; left: 16px; right: 16px; bottom: 96px; z-index: 70; max-width: 360px; margin: 0 auto; padding: 14px 16px; border-radius: 12px; background: var(--fg); color: var(--bg); font-size: .9375rem; box-shadow: var(--shadow); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.toast.is-on { opacity: 1; transform: none; }

.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 359px) {
  .wrap { padding: 0 12px; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery { padding: 16px; }
  .brand__text span { display: none; }
  .card { padding: 20px; }
}
@media (min-width: 600px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) {
  .wrap { padding: 0 24px; }
  body { padding-bottom: 0; }
  .mbar { display: none; }
  .toast { left: 24px; right: auto; bottom: 24px; margin: 0; }
  .section { padding: 72px 0; }
  .hero { padding: 40px 0 56px; }
  .hero__actions { max-width: 440px; }
  .gallery__grid { gap: 16px; }
  .contact { grid-template-columns: 1fr 1fr; align-items: start; gap: 20px; }
  .card { padding: 28px; }
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
  .hero__media { margin: 0 0 0 auto; }
  .about { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .gallery { padding: 24px; }
}
@media (min-width: 1100px) {
  .wrap { padding: 0 32px; }
  :root { --header-h: 72px; }
  .mtools { display: none; }
  .dnav { display: flex; gap: 2px; }
  .dnav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .9375rem; color: var(--muted); transition: color .2s var(--ease), background-color .2s var(--ease); }
  .dnav a:hover { color: var(--fg); background: var(--card-2); }
  .dnav a.is-active { background: var(--tint); color: var(--accent-text); }
  .dtools { display: flex; align-items: center; gap: 8px; }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .hero { padding: 56px 0 80px; }
  .section { padding: 88px 0; }
}

/* ---------- Privacy notice + policy page ---------- */
.lead__privacy { margin-top: 8px; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.lead__privacy a { color: var(--accent-text); text-underline-offset: 3px; }
.lead__privacy a:hover { color: var(--fg); }
.footer__privacy { color: var(--muted); font-size: .875rem; display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 3px; }
.footer__privacy:hover { color: var(--fg); }
.wrap--narrow { max-width: 760px; }
.policy { padding-top: 40px; }
.policy h1 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); margin-bottom: 8px; }
.policy__updated { color: var(--muted); font-size: .9375rem; margin-bottom: 20px; }
.policy .lede { margin-bottom: 28px; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 24px; margin-bottom: 8px; }
.toc h2 { font-size: 1rem; margin-bottom: 8px; }
.toc ol { list-style: decimal; padding-left: 20px; display: grid; gap: 2px; }
.toc a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; color: var(--accent-text); }
.toc a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.psec { margin-top: 36px; }
.psec h2 { font-size: 1.375rem; margin-bottom: 12px; }
.psec p, .psec li { color: var(--fg); opacity: .9; }
.psec p + p, .psec p + ul, .psec ul + p, .psec .table-wrap + p { margin-top: 12px; }
.psec ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; }
.psec ul.op { list-style: none; padding: 0; margin: 12px 0; gap: 4px; }
.psec ul.op span { display: inline-block; min-width: 96px; color: var(--muted); }
.psec code { background: var(--card-2); border-radius: 6px; padding: 1px 6px; font-size: .9em; }
.psec a { color: var(--accent-text); text-underline-offset: 3px; }
.psec mark { background: var(--tint); color: var(--accent-text); padding: 0 4px; border-radius: 4px; }
.table-wrap { overflow-x: auto; }
.ptable { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.ptable th, .ptable td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.ptable th { font-size: .8125rem; color: var(--muted); font-weight: 600; }
@media (max-width: 720px) {
  .ptable thead { position: absolute; left: -10000px; }
  .ptable, .ptable tbody, .ptable tr, .ptable td { display: block; width: 100%; }
  .ptable tr { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 6px 14px; margin-bottom: 12px; }
  .ptable td { border: 0; padding: 8px 0; }
  .ptable td::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:active, .icon-btn:active, .vthumb:active { transform: none; }
  .grid .card:hover, a.card:hover, .vthumb:hover { transform: none; }
}
