/* HOLD KLIM — site styles. Visual language follows the reference: navy + lime, condensed display type, airy photography. */

@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/outfit-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/outfit-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: "Saira Extra Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/saira-ec-800-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Saira Extra Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/saira-ec-800-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: "Saira Extra Condensed"; font-style: normal; font-weight: 900; font-display: swap; src: url(../fonts/saira-ec-900-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Saira Extra Condensed"; font-style: normal; font-weight: 900; font-display: swap; src: url(../fonts/saira-ec-900-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; }

:root {
  --navy: #062b45;
  --navy-deep: #03192a;
  --navy-soft: #3e5f78;
  --muted: #56718a;
  --lime: #a8d80f;
  --lime-hover: #b9e62c;
  --ice-0: #ffffff;
  --ice-1: #eef3f7;
  --ice-2: #e1eaf1;
  --ice-3: #c9d8e4;
  --heat: #ff7a3d;
  --line: rgba(6, 43, 69, 0.12);
  --line-strong: rgba(6, 43, 69, 0.22);
  --danger: #c43d1b;

  --display: "Saira Extra Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 1px 2px rgba(6, 43, 69, 0.06), 0 12px 32px -12px rgba(6, 43, 69, 0.18);
  --header-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 32px); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--ice-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--lime); color: var(--navy); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.site-footer :focus-visible, .calc :focus-visible { outline-color: var(--lime); }
main:focus { outline: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; transition: top 0.2s; }
.skip-link:focus { top: 16px; }

.i { width: 1.1em; height: 1.1em; flex: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.center { text-align: center; }
.section { padding-block: var(--section); position: relative; }
.tone-ice { background: var(--ice-1); }

/* ---------- Type ---------- */
.display {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 1.5rem + 3.9vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: -0.005em;
  color: var(--navy);
  text-wrap: balance;
}
.display .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.display .line > span { display: inline-block; }
.display .accent { color: var(--lime); }
.section-lead { margin: 22px auto 30px; max-width: 62ch; color: var(--navy-soft); font-size: 1.0625rem; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--lime); --fg: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid transparent; border-radius: var(--r-sm);
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 0.975rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease-out);
}
.btn .i { transition: transform 0.25s var(--ease-out); }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn-lime:hover { --bg: var(--lime-hover); }
.btn-ghost { --bg: transparent; border-color: var(--line-strong); }
.btn-ghost:hover { --bg: var(--ice-1); }
.btn-glass { --bg: rgba(255, 255, 255, 0.72); border-color: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { --bg: #fff; }
.btn-text { --bg: transparent; padding-inline: 10px; text-decoration: underline; text-underline-offset: 3px; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.9rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font: inherit; color: inherit; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--lime); padding-bottom: 2px; }
.text-link:hover .i { transform: translateX(3px); }
.text-link .i { transition: transform 0.25s var(--ease-out); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; font-size: 1.25rem; line-height: 1; transition: background-color 0.2s; }
.icon-btn:hover { background: var(--ice-1); }
.round-icon { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; transition: background-color 0.25s, transform 0.3s var(--ease-out), border-color 0.25s; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) var(--gutter) 0;
  pointer-events: none;
}
.header-bar {
  pointer-events: auto;
  max-width: var(--wrap); margin-inline: auto;
  min-height: var(--header-h);
  display: flex; align-items: center; gap: 18px;
  padding: 10px 10px 10px 20px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  box-shadow: 0 6px 24px -12px rgba(6, 43, 69, 0.18);
  transition: box-shadow 0.3s, background-color 0.3s;
}
.site-header.is-scrolled .header-bar { background: rgba(255, 255, 255, 0.94); box-shadow: 0 10px 30px -14px rgba(6, 43, 69, 0.28); }
.site-header.is-menu-open .header-bar { background: #fff; }
.brand { display: block; color: var(--navy); flex: none; }
.brand .logo-svg { height: 30px; width: auto; }
.nav { margin-inline: auto; }
.nav-list { display: flex; gap: 4px; }
.nav-list a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 0.95rem; font-weight: 500; text-decoration: none; transition: background-color 0.2s; }
.nav-list a:hover { background: var(--ice-1); }
.nav-list a[aria-current="true"] { background: var(--ice-1); }
.nav-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); font-weight: 500; font-size: 0.95rem; text-decoration: none; white-space: nowrap; transition: background-color 0.2s; }
.header-phone:hover { background: var(--ice-1); }
.temp-chip {
  --c: color-mix(in oklab, var(--heat) calc(var(--heat-level, 0) * 100%), #5d9e00);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 11px; border-radius: 999px;
  background: color-mix(in oklab, var(--c) 12%, white);
  color: color-mix(in oklab, var(--c) 80%, var(--navy));
  font-weight: 600; font-size: 0.875rem; font-variant-numeric: tabular-nums; white-space: nowrap;
  transition: background-color 0.3s;
}
.temp-chip .i { width: 15px; height: 15px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative; }
.nav-toggle-bars, .nav-toggle-bars::before { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.3s var(--ease-out), top 0.3s var(--ease-out); }
.nav-toggle-bars { top: 18px; }
.nav-toggle-bars::before { content: ""; left: 0; right: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(-90deg); }

@media (max-width: 1180px) {
  .header-phone span { display: none; }
  .header-phone { padding: 10px; }
}
@media (max-width: 1040px) {
  .nav-toggle { display: inline-block; }
  .header-bar { flex-wrap: wrap; row-gap: 0; padding-left: 16px; }
  .nav {
    order: 3; flex-basis: 100%; margin: 0;
    display: grid; grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s var(--ease-out);
  }
  .nav.is-open { grid-template-rows: 1fr; }
  .nav:not(.is-open) { visibility: hidden; transition: grid-template-rows 0.35s var(--ease-out), visibility 0s 0.35s; }
  .nav-inner { min-height: 0; overflow: hidden; }
  .nav-list { flex-direction: column; gap: 0; padding-top: 10px; }
  .nav-list a { padding: 14px 6px; font-size: 1.25rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-extra { display: flex; flex-direction: column; gap: 4px; padding: 14px 0 8px; }
  .nav-contact { display: flex; align-items: center; gap: 10px; padding: 8px 6px; text-decoration: none; }
  .header-phone { display: none; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .brand .logo-svg { height: 26px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: #d9e9f8; --heat-level: 0; }
.hero-stage { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #eef5fb 0%, #d7e8f8 40%, #c6def5 100%); }
.hero.is-scrub { height: 200vh; }
.hero.is-scrub .hero-stage { position: sticky; top: 0; }
.hero-media { position: absolute; inset: clamp(56px, 15vh, 170px) 0 0; z-index: -3; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%); }
.hero-stage::after { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: linear-gradient(180deg, rgba(240, 246, 251, 0.94) 0%, rgba(240, 246, 251, 0.8) 38%, rgba(240, 246, 251, 0.35) 56%, rgba(240, 246, 251, 0) 70%); }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; transform-origin: 50% 90%; }
.hero-heat {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255, 170, 110, 0.85), rgba(255, 170, 110, 0) 70%),
    linear-gradient(180deg, rgba(255, 196, 150, 0.55), rgba(255, 140, 80, 0.28));
  mix-blend-mode: multiply;
  opacity: calc(var(--heat-level) * 0.9);
}
.hero-air { position: absolute; left: 0; right: 0; bottom: 12%; height: 40%; width: 100%; z-index: -1; pointer-events: none; opacity: calc((1 - var(--heat-level)) * 0.9); }
.hero-air path { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 220 480; animation: air 9s linear infinite; filter: blur(5px); }
.hero-air path:nth-child(2) { animation-duration: 12s; animation-delay: -4s; stroke: rgba(205, 232, 252, 0.6); stroke-width: 14; }
.hero-air path:nth-child(3) { animation-duration: 11s; animation-delay: -6s; }
@keyframes air { to { stroke-dashoffset: -1400; } }
.hero-inner { position: relative; padding-top: calc(var(--header-h) + clamp(56px, 11vh, 120px)); text-align: center; }
.hero .display { font-size: clamp(2.9rem, 1.4rem + 5.4vw, 6.1rem); }
.hero-lead { max-width: 46ch; margin: 18px auto 0; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.175rem); color: var(--navy); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }

.dial {
  --c: color-mix(in oklab, var(--heat) calc(var(--heat-level) * 100%), var(--lime));
  position: absolute; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); bottom: clamp(28px, 9vh, 96px);
  width: 188px; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 50px -20px rgba(6, 43, 69, 0.35);
}
.dial-ring { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); transform: rotate(-90deg); }
.dial-track { fill: none; stroke: rgba(6, 43, 69, 0.1); stroke-width: 5; }
.dial-progress { fill: none; stroke: var(--c); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(var(--heat-level) * 100); }
.dial-body { display: grid; justify-items: center; gap: 2px; text-align: center; }
.dial-label { font-size: 0.72rem; color: var(--muted); }
.dial-value { font-family: var(--display); font-weight: 900; font-size: 3.6rem; line-height: 0.9; font-variant-numeric: tabular-nums; }
.dial-value sup { font-size: 0.34em; vertical-align: 1.5em; margin-left: 2px; }
.dial-status { display: inline-flex; align-items: center; gap: 4px; font-size: 0.75rem; font-weight: 600; color: color-mix(in oklab, var(--c) 70%, var(--navy)); }
.dial-status .i { width: 13px; height: 13px; }
.hero:not(.is-cool) .dial-status .i { animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.dial-outside { position: absolute; bottom: -14px; padding: 4px 10px; border-radius: 999px; background: #fff; font-size: 0.72rem; font-weight: 500; color: var(--navy-soft); box-shadow: 0 4px 12px -6px rgba(6, 43, 69, 0.3); white-space: nowrap; }

.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: 0.78rem; color: var(--navy-soft); text-decoration: none; }
.mouse { width: 24px; height: 38px; border-radius: 14px; border: 1.5px solid rgba(6, 43, 69, 0.45); position: relative; background: rgba(255, 255, 255, 0.4); }
.mouse::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--navy); animation: wheel 1.8s var(--ease-out) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-2px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

@media (max-width: 760px) {
  .hero-stage { min-height: 600px; }
  .hero.is-scrub { height: 170vh; }
  .hero-inner { padding-top: calc(var(--header-h) + 48px); }
  .hero-img { object-position: 38% 100%; }
  .hero-cta .btn { flex: 1 1 100%; }
  .dial { width: 132px; right: 16px; bottom: 76px; }
  .dial-value { font-size: 2.6rem; }
  .dial-label { font-size: 0.66rem; }
  .scroll-hint span:last-child { display: none; }
}
@media (max-height: 700px) and (min-width: 761px) {
  .dial { width: 150px; }
  .dial-value { font-size: 2.8rem; }
}

/* ---------- Solutions ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.4vw, 18px); }
.card-link {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 5 / 7; padding: clamp(22px, 2.4vw, 32px);
  border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  background: var(--ice-2); text-decoration: none;
}
.card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.8s var(--ease-out); }
.card-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(238, 243, 247, 0.55) 0%, rgba(238, 243, 247, 0) 34%, rgba(6, 43, 69, 0) 55%, rgba(6, 43, 69, 0.72) 100%); opacity: 0.15; transition: opacity 0.45s var(--ease-out); }
.card-title { font-family: var(--body); font-weight: 500; font-size: clamp(1.8rem, 1.2rem + 1.5vw, 2.4rem); line-height: 1; letter-spacing: -0.02em; max-width: 9ch; }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.card-text { color: #fff; font-size: 0.98rem; line-height: 1.45; max-width: 26ch; opacity: 0; transform: translateY(12px); transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out); }
.card-arrow { order: -1; display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background-color 0.3s, transform 0.4s var(--ease-out); }
.card-link:hover .card-img, .card-link:focus-visible .card-img { transform: scale(1.05); }
.card-link:hover .card-shade, .card-link:focus-visible .card-shade { opacity: 1; }
.card-link:hover .card-text, .card-link:focus-visible .card-text { opacity: 1; transform: none; }
.card-link:hover .card-arrow, .card-link:focus-visible .card-arrow { background: var(--lime); transform: rotate(45deg); }
@media (hover: none), (max-width: 900px) {
  .card-shade { opacity: 1; }
  .card-text { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .card-link { aspect-ratio: 4 / 4.6; }
}

/* ---------- Reel ---------- */
.reel { padding-bottom: clamp(24px, 4vw, 48px); overflow: hidden; }
.reel-title { text-align: center; font-weight: 400; font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem); margin-bottom: 28px; padding-inline: var(--gutter); }
.reel-track { display: flex; width: max-content; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.reel-row { display: flex; flex: none; gap: 14px; padding-right: 14px; animation: reel 48s linear infinite; }
.reel-track:hover .reel-row { animation-play-state: paused; }
.reel-row li { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--display); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.01em; white-space: nowrap; }
.reel-row .i { color: #7aa800; }
@keyframes reel { to { transform: translateX(-100%); } }

/* ---------- About + gallery ---------- */
.about .btn { margin-top: 4px; }
.gallery { margin-top: clamp(48px, 7vw, 80px); overflow: hidden; }
.gallery-rail { display: flex; gap: 10px; padding-inline: var(--gutter); height: clamp(420px, 44vw, 620px); will-change: transform; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--ice-2); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile-tall { flex: 0 0 clamp(240px, 23vw, 330px); }
.tile-last { flex-basis: clamp(300px, 34vw, 480px); }
.tile-stack { flex: 0 0 clamp(340px, 42vw, 600px); display: grid; grid-template-rows: 1fr 1fr; gap: 10px; }
.tile-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-height: 0; }
.tile-wide, .tile-pair .tile { min-height: 0; }
.stat {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  padding: 18px; border-radius: 14px;
  background: rgba(6, 43, 69, 0.55);
  backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}
.stat-icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.35); margin-bottom: 18px; color: var(--lime); }
.stat-value { font-family: var(--body); font-weight: 600; font-size: clamp(1.8rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1; letter-spacing: -0.02em; }
.stat-value::after { content: "+"; color: var(--lime); margin-left: 2px; display: none; }
.stat-label { margin-top: 8px; font-size: 0.875rem; line-height: 1.35; color: rgba(255, 255, 255, 0.85); }
@media (max-width: 760px) {
  .gallery-rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; height: 440px; }
  .gallery-rail::-webkit-scrollbar { display: none; }
  .gallery-rail > * { scroll-snap-align: center; }
  .tile-tall { flex-basis: 74vw; }
  .tile-stack { flex-basis: 86vw; }
  .tile-last { flex-basis: 80vw; }
}

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.process-visual { position: sticky; top: calc(var(--header-h) + 40px); }
.process-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); aspect-ratio: 1024 / 1300; }
.process-frame img { width: 100%; height: 100%; object-fit: cover; }
.process-badge { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 600; font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.steps { margin-top: clamp(32px, 5vw, 56px); counter-reset: step; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line); opacity: 0.45; transition: opacity 0.4s var(--ease-out); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step.is-active { opacity: 1; }
.step-num { font-family: var(--display); font-weight: 900; font-size: 2.4rem; line-height: 0.9; color: var(--ice-3); transition: color 0.4s; }
.step.is-active .step-num { color: var(--lime); }
.step h3 { font-weight: 600; font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 6px; }
.step p { color: var(--navy-soft); max-width: 46ch; }
.process-copy .display { font-size: clamp(2.4rem, 1.4rem + 3.2vw, 4.2rem); }
@media (min-width: 901px) { .step { min-height: 26vh; align-content: center; } }
@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-visual { position: relative; top: 0; max-width: 460px; margin-inline: auto; width: 100%; }
  .process-frame { aspect-ratio: 4 / 3.4; }
  .step { opacity: 1; }
  .step-num { color: var(--lime); }
}

/* ---------- Calculator ---------- */
.calc {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--r-lg);
  background: var(--navy);
  color: #fff;
}
.calc::before { content: ""; position: absolute; inset: auto -10% -40% 40%; height: 80%; background: radial-gradient(closest-side, rgba(168, 216, 15, 0.16), transparent); z-index: -1; }
.calc-intro { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px 48px; align-items: end; }
.calc-intro .display { color: #fff; font-size: clamp(2.3rem, 1.4rem + 3vw, 4rem); }
.calc-intro .display .accent { color: var(--lime); }
.calc-intro p { color: rgba(255, 255, 255, 0.72); max-width: 46ch; }
.calc-art { position: absolute; right: -6%; top: -10%; width: 52%; opacity: 0.16; z-index: -1; pointer-events: none; mix-blend-mode: luminosity; -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); }
.calc-form { display: grid; gap: 26px; align-content: start; }
.range-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.range-head label { color: rgba(255, 255, 255, 0.8); }
.range-head output { font-weight: 600; font-variant-numeric: tabular-nums; }
input[type="range"] {
  --p: 50%;
  -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--lime) var(--p), rgba(255, 255, 255, 0.16) var(--p)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.16); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--lime); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 5px solid var(--lime); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); transition: transform 0.15s; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--lime); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.segmented { border: 0; padding: 0; margin: 0; min-width: 0; }
.segmented legend { padding: 0; margin-bottom: 10px; color: rgba(255, 255, 255, 0.8); }
.segmented-options { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: block; padding: 10px 8px; text-align: center; border-radius: 9px; font-weight: 500; transition: background-color 0.25s, color 0.25s; }
.segmented input:checked + span { background: var(--lime); color: var(--navy); }
.segmented input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stepper label { color: rgba(255, 255, 255, 0.8); }
.stepper-ctl { display: flex; align-items: center; gap: 6px; }
.stepper .icon-btn { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); color: #fff; }
.stepper .icon-btn:hover { background: rgba(255, 255, 255, 0.16); }
.stepper input { width: 56px; height: 40px; text-align: center; border: 0; background: transparent; font-weight: 600; font-size: 1.15rem; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.calc-result { align-self: stretch; display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-md); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.calc-result-label { color: rgba(255, 255, 255, 0.72); }
.calc-kw { font-family: var(--display); font-weight: 900; font-size: clamp(4.4rem, 3rem + 5vw, 7.2rem); line-height: 0.85; font-variant-numeric: tabular-nums; }
.calc-unit { font-size: 0.4em; color: var(--lime); }
.calc-scale { margin-top: 6px; }
.calc-scale-bar { position: relative; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #8fd3ff, var(--lime) 55%, #f4c542); }
.calc-marker { position: absolute; top: 50%; left: 0; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: #fff; border: 4px solid var(--navy); box-shadow: 0 0 0 2px #fff; transition: left 0.5s var(--ease-out); }
.calc-ticks { position: relative; height: 22px; margin-top: 8px; font-size: 0.72rem; color: rgba(255, 255, 255, 0.55); font-variant-numeric: tabular-nums; }
.calc-ticks li { position: absolute; transform: translateX(-50%); transition: color 0.3s; }
.calc-ticks li.is-on { color: var(--lime); font-weight: 700; }
.calc-suggest { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.8); }
.calc-suggest strong { color: #fff; font-size: 1.15rem; }
.calc-note { font-size: 0.85rem; line-height: 1.5; color: rgba(255, 255, 255, 0.6); }
.calc-result .btn { align-self: flex-start; margin-top: auto; }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; line-height: 1.45; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.check-box { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; border: 1.5px solid var(--line-strong); background: #fff; display: grid; place-items: center; transition: background-color 0.2s, border-color 0.2s; }
.check-box::after { content: ""; width: 11px; height: 6px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform 0.2s var(--ease-out); }
.check input:checked + .check-box { background: var(--lime); border-color: var(--lime); }
.check input:checked + .check-box::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input:focus-visible + .check-box { outline: 2px solid var(--navy); outline-offset: 2px; }
.check-dark .check-box { background: transparent; border-color: rgba(255, 255, 255, 0.35); }
.check-dark input:focus-visible + .check-box { outline-color: var(--lime); }
.check a { font-weight: 600; }
@media (max-width: 560px) {
  .calc-ticks li:nth-child(2), .calc-ticks li:nth-child(4) { visibility: hidden; }
  .calc-ticks li.is-on { visibility: visible; }
}
@media (max-width: 900px) {
  .calc, .calc-intro { grid-template-columns: 1fr; }
  .calc-art { display: none; }
}

/* ---------- Services rows ---------- */
.services .display { margin-bottom: clamp(36px, 5vw, 64px); }
.rows { border-top: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); }
.row-head { font: inherit; }
.row-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: clamp(18px, 2.2vw, 26px) var(--gutter);
  background: transparent; border: 0; cursor: pointer; text-align: center;
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); font-weight: 400; letter-spacing: -0.01em;
  transition: background-color 0.25s;
}
.row-btn:hover { background: rgba(255, 255, 255, 0.7); }
.row-icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; flex: none; transition: transform 0.35s var(--ease-out), background-color 0.25s; }
.row-btn[aria-expanded="true"] .row-icon, .faq-btn[aria-expanded="true"] .round-icon { transform: rotate(45deg); background: var(--lime); border-color: var(--lime); }
.row-btn:hover .row-icon { background: var(--lime); border-color: var(--lime); }
.row-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.4s var(--ease-out); }
.js .row-panel:not(.is-open) { grid-template-rows: 0fr; }
.row-panel-inner { min-height: 0; overflow: hidden; }
.row .row-panel-inner { text-align: center; }
.row .row-panel-inner p { max-width: 60ch; margin: 0 auto 16px; padding-inline: var(--gutter); color: var(--navy-soft); }
.row .row-panel-inner .text-link { margin-bottom: 28px; }
.row.is-flash .row-btn { animation: flash 1.4s var(--ease-out); }
@keyframes flash { 0%, 40% { background: rgba(168, 216, 15, 0.25); } 100% { background: transparent; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 40px); display: grid; justify-items: start; gap: 28px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { font: inherit; }
.faq-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; background: none; border: 0; cursor: pointer; text-align: left; font-weight: 600; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem); line-height: 1.3; letter-spacing: -0.01em; }
.faq-btn:hover .round-icon { background: var(--lime); border-color: var(--lime); }
.faq-item .row-panel-inner p { padding-bottom: 24px; max-width: 58ch; color: var(--navy-soft); }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}

/* ---------- Contact ---------- */
.contact-card { max-width: 860px; margin-inline: auto; padding: 6px; border-radius: calc(var(--r-lg) + 6px); border: 1.5px solid var(--ice-3); background: rgba(255, 255, 255, 0.5); }
.contact-inner { padding: clamp(28px, 5vw, 64px) clamp(20px, 6vw, 80px); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.contact .section-lead { margin-bottom: 8px; }
.form { margin-top: 28px; }
.form-noscript { margin-top: 24px; padding: 14px 18px; border-radius: var(--r-sm); background: var(--ice-1); text-align: center; }
.progress { display: flex; justify-content: center; gap: 6px; margin-bottom: 10px; }
.progress span { width: 40px; height: 4px; border-radius: 2px; background: var(--ice-2); transition: background-color 0.3s, width 0.4s var(--ease-out); }
.progress span.is-on { background: var(--lime); width: 56px; }
.form-step-label { text-align: center; font-size: 0.85rem; color: var(--muted); margin-bottom: 26px; }
.form-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-step.is-entering { animation: step-in 0.45s var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateX(16px); } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.field { position: relative; padding-top: 14px; }
.field-full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 0 10px; border: 0; border-bottom: 1.5px solid var(--line-strong); border-radius: 0;
  background: transparent; font-size: 1rem; outline: none; transition: border-color 0.2s;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 28px; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23062b45' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 2px center / 18px no-repeat; }
.field label { position: absolute; left: 0; top: 26px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform 0.25s var(--ease-out), color 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--navy); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field-select label { transform: translateY(-22px) scale(0.8); color: var(--navy-soft); }
.req { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.field-hint { margin-top: 6px; font-size: 0.8rem; color: var(--muted); }
.field-error, .form-error { font-size: 0.85rem; color: var(--danger); min-height: 1.3em; margin-top: 4px; }
.form-error:empty { display: none; }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: var(--danger); }
.field-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.form-done { text-align: center; padding: 16px 0 8px; animation: step-in 0.45s var(--ease-out); outline: none; }
.done-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--lime); margin-bottom: 18px; }
.done-icon .i { width: 28px; height: 28px; }
.form-done h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 2.2rem; line-height: 1; margin-bottom: 10px; }
.form-done p { color: var(--navy-soft); max-width: 46ch; margin: 0 auto 22px; }
.contact-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 860px; margin: 18px auto 0; }
.tile-link { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 18px; border-radius: var(--r-md); background: #fff; text-decoration: none; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
.tile-link small { display: block; font-size: 0.78rem; font-weight: 400; color: var(--muted); }
a.tile-link:hover .round-icon { background: var(--lime); border-color: var(--lime); }
@media (max-width: 760px) {
  .form-grid { grid-template-columns: 1fr; }
  .contact-tiles { grid-template-columns: 1fr; }
  .form-actions .btn { flex: 1 1 auto; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.78); padding-top: clamp(56px, 7vw, 88px); font-size: 0.95rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover, .site-footer .link-btn:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1.1fr 0.9fr; gap: 40px; }
.brand-footer { color: #fff; }
.brand-footer .logo-svg { height: 52px; width: auto; }
.brand-footer .logo-sub { color: #afc3d3; }
.footer-tagline { margin: 24px 0 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; color: #fff; font-size: 0.9rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-col h2 { font-size: 0.95rem; font-weight: 600; color: #fff; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; list-style: none; padding: 0; }
.footer-col .link-btn { text-decoration: none; }
.footer-legal { margin-top: clamp(40px, 6vw, 64px); padding-block: 0 calc(24px + env(safe-area-inset-bottom, 0px)); font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); }
.footer-legal > p { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); max-width: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.to-top { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.78); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Cookie banner ---------- */
@media (max-width: 560px) {
  .cookie-banner { padding: 18px; font-size: 0.875rem; }
  .cookie-banner .cookie-actions .btn { flex: 1 1 auto; }
}
.cookie-banner {
  position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: min(420px, calc(100vw - 32px));
  padding: 22px; border-radius: var(--r-md);
  background: #fff; box-shadow: 0 24px 60px -20px rgba(6, 43, 69, 0.45); border: 1px solid var(--line);
  font-size: 0.92rem; line-height: 1.5;
  animation: rise 0.5s var(--ease-out);
}
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
.cookie-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.6rem; line-height: 1; margin-bottom: 8px; }
.cookie-banner a { font-weight: 600; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cookie-dialog { width: min(520px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--r-lg); color: var(--navy); box-shadow: 0 30px 80px -20px rgba(3, 25, 42, 0.5); }
.cookie-dialog::backdrop { background: rgba(3, 25, 42, 0.5); backdrop-filter: blur(3px); }
.cookie-dialog[open] { animation: rise 0.35s var(--ease-out); }
.cookie-dialog-inner { padding: clamp(22px, 4vw, 32px); }
.cookie-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.cookie-dialog-head h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 2rem; line-height: 1; }
.cookie-dialog-head .icon-btn .i { transform: rotate(45deg); }
.cookie-option { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cookie-option h3 { font-size: 1.05rem; margin-bottom: 4px; }
.cookie-option p { font-size: 0.9rem; color: var(--navy-soft); }
.cookie-always { flex: none; font-size: 0.8rem; font-weight: 600; color: #5d8a00; padding-top: 3px; }
.cookie-dialog-link { margin-top: 14px; font-size: 0.9rem; }
.switch { position: relative; flex: none; display: inline-block; width: 48px; height: 28px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch-track { position: absolute; inset: 0; border-radius: 999px; background: var(--ice-3); transition: background-color 0.25s; pointer-events: none; }
.switch-track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.25s var(--ease-out); }
.switch input:checked + .switch-track { background: var(--lime); }
.switch input:checked + .switch-track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--navy); outline-offset: 2px; }

/* ---------- Legal pages ---------- */
.legal-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(64px, 9vw, 110px)) 0 clamp(40px, 6vw, 64px); background: linear-gradient(180deg, var(--ice-2), var(--ice-1)); }
.legal-air { position: absolute; left: 45%; right: 0; bottom: 0; width: 55%; height: 70%; pointer-events: none; opacity: 0.8; }
@media (max-width: 760px) { .legal-air { display: none; } }
.legal-air path { fill: none; stroke: rgba(255, 255, 255, 0.9); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 220 480; animation: air 12s linear infinite; filter: blur(3px); }
.legal-air path:nth-child(2) { animation-delay: -4s; stroke: rgba(168, 216, 15, 0.5); }
.legal-hero .wrap { position: relative; }
.legal-hero .display { font-size: clamp(2.8rem, 1.6rem + 4.4vw, 5.2rem); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; font-size: 0.9rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--ice-3); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.legal-date { margin-top: 14px; color: var(--navy-soft); }
.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-block: clamp(40px, 6vw, 72px) var(--section); }
.legal-grid > * { min-width: 0; }
.toc nav { position: sticky; top: calc(var(--header-h) + 40px); max-height: calc(100vh - var(--header-h) - 60px); overflow: auto; padding-right: 8px; }
.toc-title { font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 1.5px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1.5px; border-left: 1.5px solid transparent; font-size: 0.9rem; line-height: 1.35; color: var(--navy-soft); text-decoration: none; transition: color 0.2s, border-color 0.2s; }
.toc a:hover { color: var(--navy); }
.toc a.is-active { color: var(--navy); border-left-color: var(--lime); font-weight: 600; }
.prose { max-width: 72ch; }
.prose .lead { font-size: 1.2rem; line-height: 1.55; padding-bottom: 28px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.prose section { padding-top: 36px; }
.prose h2 { overflow-wrap: break-word; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.7rem, 1.3rem + 1.1vw, 2.2rem); line-height: 1; margin-bottom: 16px; }
.prose h3 { font-size: 1.1rem; margin: 20px 0 8px; }
.prose p, .prose ul, .prose ol, .prose dl { margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: #6e9a00; font-weight: 600; }
.prose ol ol { margin-top: 8px; }
.prose a { text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose a:hover { text-decoration-color: var(--navy); }
.prose code { font-size: 0.88em; padding: 2px 6px; border-radius: 6px; background: var(--ice-1); }
.prose dl:not(.facts) dt { font-weight: 600; margin-top: 12px; }
.prose dl:not(.facts) dd { color: var(--navy-soft); }
.prose .facts { display: grid; grid-template-columns: minmax(160px, 0.8fr) minmax(0, 1.4fr); border-top: 1px solid var(--line); }
.prose .facts dt, .prose .facts dd { padding: 12px 0; border-bottom: 1px solid var(--line); }
.prose .facts dt { color: var(--muted); padding-right: 16px; }
.prose .facts dd { font-weight: 500; }
.table-wrap { overflow-x: auto; margin: 8px 0 18px; border: 1px solid var(--line); border-radius: var(--r-md); }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.92rem; }
.prose th, .prose td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { background: var(--ice-1); font-weight: 600; }
.prose tr:last-child td { border-bottom: 0; }
.legal-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 56px; }
.doc-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-radius: var(--r-md); background: var(--ice-1); text-decoration: none !important; font-weight: 600; transition: background-color 0.2s; }
.doc-link:hover { background: var(--ice-2); }
.doc-link .i { transition: transform 0.3s var(--ease-out); }
.doc-link:hover .i { transform: rotate(45deg); }
@media (max-width: 900px) {
  .legal-grid { grid-template-columns: 1fr; }
  .toc nav { position: static; max-height: none; padding: 18px; border-radius: var(--r-md); background: var(--ice-1); }
  .toc ul { border-left: 0; }
  .toc a { padding-left: 0; border-left: 0; }
  .prose .facts { grid-template-columns: 1fr; }
  .prose .facts dt { padding-bottom: 0; border-bottom: 0; }
}

/* ---------- 404 ---------- */
.not-found { min-height: 80vh; display: grid; align-items: center; padding: calc(var(--header-h) + 80px) 0 80px; background: linear-gradient(180deg, #ffe9dc, var(--ice-1)); }
.nf-temp { font-family: var(--display); font-weight: 900; font-size: clamp(6rem, 3rem + 14vw, 14rem); line-height: 0.8; color: var(--heat); opacity: 0.85; margin-bottom: 18px; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reel-row { animation: none; }
  .reel-track { width: auto; flex-wrap: wrap; justify-content: center; mask-image: none; -webkit-mask-image: none; padding-inline: var(--gutter); }
  .reel-row { flex-wrap: wrap; justify-content: center; }
  .reel-row[aria-hidden] { display: none; }
}
@media print {
  .site-header, .cookie-banner, .cookie-dialog, .legal-more, .toc, .to-top { display: none !important; }
  .legal-hero { padding-top: 0; background: none; }
}
