/* Dekoorklaas — layout concept: technical drawing meets showroom.
   Long 4:1 glass panels, red dimension lines in millimetres, airy white + clear-glass tints.
   Deliberately a single light theme: the brand is bright, clean glass. */
:root {
  --paper: #ffffff;
  --surface: #ffffff;
  --glass: #f1f7f9;
  --glass-2: #e4f0f3;
  --glass-edge: #cfe1e6;
  --ink: #1f272b;
  --ink-soft: #3f4c53;
  --muted: #56656c;
  --line: #e1eaed;
  --red: #c81c26;
  --red-ink: #b5141e;
  --red-soft: #fdf0ef;
  --on-red: #ffffff;
  --band: #fdf0ef;
  --band-ink: #1f272b;
  --band-muted: #4d5a61;
  --ok: #1e7a46;
  --warn: #9a5b00;
  --shadow: 0 1px 2px rgba(31, 39, 43, .05), 0 10px 28px -14px rgba(31, 39, 43, .18);

  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.3rem + 1.6vw, 2.375rem);
  --step-4: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem);

  --radius: 6px;
  --wrap: 1180px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--red-ink); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: balance; font-weight: 700; }
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -.01em; }
p { margin: 0; }
.mono, .num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.num { font-feature-settings: "tnum"; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: clamp(48px, 7vw, 96px); }
.section--glass { background: var(--glass); }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }
.stack { display: grid; gap: 16px; }
.stack-lg { display: grid; gap: 32px; }
.eyebrow { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: var(--step-1); color: var(--ink-soft); max-width: 60ch; }
.prose { max-width: 68ch; display: grid; gap: 14px; color: var(--ink-soft); }
.prose h2 { color: var(--ink); margin-top: 20px; font-size: var(--step-2); }
.prose h3 { color: var(--ink); margin-top: 12px; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }

/* Dimension line — the site's recurring mark. */
.dim { display: flex; align-items: center; gap: 10px; color: var(--red-ink); font-family: var(--f-mono); font-size: .75rem; letter-spacing: .04em; }
.dim::before, .dim::after { content: ""; flex: 1; height: 1px; background: currentColor; }
.dim span { white-space: nowrap; }
.dim--edges { position: relative; padding-inline: 1px; }
.dim--edges::before { border-left: 1px solid currentColor; height: 9px; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat; }
.dim--edges::after { border-right: 1px solid currentColor; height: 9px; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { width: 36px; height: auto; }
.brand .logo-dark { display: none; }
.wordmark { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; }
.wordmark b { color: var(--red-ink); font-weight: 800; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: var(--radius); font-weight: 500; }
.nav a:hover { background: var(--glass); }
.nav a[aria-current="page"] { color: var(--red-ink); box-shadow: inset 0 -2px 0 var(--red-ink); border-radius: 0; }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px var(--gutter-r) 16px var(--gutter-l); gap: 2px; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red-ink); }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: var(--radius); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; line-height: 1.2; transition: background-color .15s, border-color .15s, color .15s; }
.btn--red { background: var(--red); color: var(--on-red); }
.btn--red:hover { background: color-mix(in srgb, var(--red) 86%, black); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--glass-edge); }
.btn--ghost:hover { border-color: var(--red-ink); color: var(--red-ink); }
.btn--quiet { background: var(--glass-2); color: var(--ink); }
.btn--quiet:hover { background: var(--glass-edge); }
.btn--sm { padding: 8px 14px; font-size: .9375rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Hero */
.hero { padding-block: clamp(36px, 6vw, 80px) clamp(40px, 6vw, 72px); background: linear-gradient(180deg, var(--surface) 0%, var(--glass) 100%); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 em { font-style: normal; color: var(--red-ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-figure { position: relative; margin: 0; display: grid; gap: 10px; min-width: 0; }
.hero-figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.hero-figure figcaption { font-size: var(--step--1); color: var(--muted); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.fact { padding: 22px 20px 22px 0; display: grid; gap: 4px; border-bottom: 1px solid var(--line); }
.fact + .fact { padding-left: 20px; border-left: 1px solid var(--line); }
.fact strong { font-family: var(--f-display); font-size: var(--step-1); }
.fact > span { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 460px) { .facts { grid-template-columns: 1fr; } .fact + .fact { padding-left: 0; border-left: 0; } }

/* Section heads */
.head { display: grid; gap: 12px; margin-bottom: 32px; max-width: 70ch; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }
.head-row .head { margin-bottom: 0; }

/* Price sheet */
.price-sheet { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.price-table th { font-weight: 500; color: var(--ink-soft); }
.price-table td { text-align: right; font-family: var(--f-mono); font-weight: 600; white-space: nowrap; padding-left: 16px; }
.price-table small { display: block; color: var(--muted); font-size: .8125rem; font-weight: 400; font-family: var(--f-body); }
.price-note { display: grid; gap: 14px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
@media (max-width: 860px) { .price-sheet { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.step { padding: 0 24px 0 0; display: grid; gap: 10px; align-content: start; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step-n { font-family: var(--f-mono); font-size: .8125rem; color: var(--red-ink); letter-spacing: .06em; }
.step p { color: var(--ink-soft); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 24px; } .step + .step { padding-left: 0; border-left: 0; padding-top: 24px; border-top: 1px solid var(--line); } }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.service { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-body { padding: 18px 18px 20px; display: grid; gap: 10px; align-content: start; }
.service-body p { color: var(--ink-soft); font-size: .9375rem; }
.service-body .link-arrow { margin-top: 4px; align-self: end; }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .services { grid-template-columns: 1fr; } }

/* Panel strips (pildipank) */
.strips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.strip { display: grid; gap: 6px; text-decoration: none; color: var(--ink); min-width: 0; }
.strip-img { position: relative; aspect-ratio: 4 / 1; background: var(--glass); border-radius: 2px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--glass-edge); }
.strip-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.strip:hover .strip-img img { transform: scale(1.03); }
.strip-meta { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--f-mono); font-size: .8125rem; color: var(--muted); }
.strip-meta b { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .strips { grid-template-columns: 1fr; } }

/* Galleries */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery button { padding: 0; border: 0; background: var(--glass); cursor: zoom-in; border-radius: 2px; overflow: hidden; display: block; width: 100%; }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.03); }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .gallery { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1400px, 94vw); width: 100%; color: var(--band-ink); }
.lightbox::backdrop { background: rgba(8, 10, 11, .9); }
.lightbox-inner { display: grid; gap: 12px; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; }
.lightbox-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.lightbox-bar .mono { color: var(--band-ink); }
.lightbox-close { background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: var(--radius); padding: 10px 14px; font: inherit; cursor: pointer; }
.lightbox-close:hover { background: rgba(255, 255, 255, .22); }

/* Callout band */
.band { background: var(--band); color: var(--band-ink); border-block: 1px solid #f6d9d7; }
.band .eyebrow { color: var(--band-muted); }
.band p { color: var(--band-muted); }
.band a:not(.btn) { color: var(--band-ink); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.options-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.option { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: grid; gap: 10px; align-content: start; }
.option p { color: var(--ink-soft); }
@media (max-width: 640px) { .options-2 { grid-template-columns: 1fr; } }

/* Page header (inner pages) */
.page-head { background: linear-gradient(180deg, var(--surface) 0%, var(--glass) 100%); border-bottom: 1px solid var(--line); padding-block: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 40px); }
.page-head .wrap { display: grid; gap: 14px; }

/* Forms */
.field { display: grid; gap: 6px; min-width: 0; }
.field > span, .label { font-weight: 600; font-size: .9375rem; }
.hint { font-size: .8125rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], input[type="search"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--glass-edge); border-radius: var(--radius); padding: 11px 12px; min-width: 0;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--red-ink); outline-offset: 0; border-color: transparent; }
textarea { min-height: 120px; resize: vertical; }
input[type="number"] { font-family: var(--f-mono); }
input[type="file"] { font: inherit; font-size: .875rem; color: var(--muted); max-width: 100%; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; color: var(--ink-soft); }
.check input { margin-top: 4px; accent-color: var(--red); width: 18px; height: 18px; flex-shrink: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid var(--glass-edge); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: grid; gap: 2px; padding: 10px 16px; text-align: center; font-weight: 600; }
.seg span small { font-family: var(--f-mono); font-weight: 500; font-size: .75rem; color: var(--muted); }
.seg label + label span { border-left: 1px solid var(--glass-edge); }
.seg input:checked + span { background: var(--red); color: var(--on-red); }
.seg input:checked + span small { color: var(--on-red); }
.seg input:focus-visible + span { outline: 2px solid var(--red-ink); outline-offset: -2px; }

.notice { padding: 14px 16px; border-radius: var(--radius); background: var(--glass); color: var(--ink-soft); font-size: .9375rem; border-left: 3px solid var(--glass-edge); }
.notice--warn { border-left-color: var(--warn); }
.notice--ok { border-left-color: var(--ok); }
.notice--err { border-left-color: var(--red-ink); }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--f-display); font-weight: 700; font-size: var(--step-1); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--f-mono); font-size: 1.4rem; color: var(--red-ink); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 0 24px; display: grid; gap: 14px; color: var(--ink-soft); max-width: 72ch; }
.faq figure { margin: 0; display: grid; gap: 6px; background: #fff; padding: 12px; border-radius: var(--radius); border: 1px solid var(--line); }
.faq figure figcaption { font-size: .8125rem; color: #5d6970; font-family: var(--f-mono); }

.res-calc { display: grid; gap: 12px; padding: 18px; background: var(--glass); border-radius: var(--radius); }
.res-calc output { font-family: var(--f-mono); font-weight: 600; color: var(--ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-card { display: grid; gap: 18px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card dl { margin: 0; display: grid; gap: 14px; }
.contact-card dt { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact-card dd { margin: 2px 0 0; font-weight: 500; }
.contact-card address { font-style: normal; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--glass); color: var(--ink); padding-block: 56px 32px; border-top: 1px solid var(--line); }
.site-footer .wrap { display: grid; gap: 40px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-grid h2 { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--ink); text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-brand { display: grid; gap: 12px; align-content: start; }

.footer-brand p { color: var(--muted); max-width: 34ch; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--glass-edge); color: var(--muted); font-size: .8125rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--surface); border-top: 1px solid var(--line); box-shadow: var(--shadow); padding: 14px var(--gutter-r) calc(14px + env(safe-area-inset-bottom, 0px)) var(--gutter-l); }
.cookie .wrap { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding: 0; }
.cookie p { font-size: .875rem; color: var(--ink-soft); max-width: 70ch; }

/* Pildipank page */
button.strip { background: none; border: 0; padding: 0; text-align: left; cursor: zoom-in; font: inherit; color: var(--ink); width: 100%; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; margin-bottom: 24px; }
.toolbar .field { flex: 1 1 200px; max-width: 280px; }
.toolbar .count { margin-left: auto; font-family: var(--f-mono); font-size: .8125rem; color: var(--muted); }
.more-row { display: flex; justify-content: center; margin-top: 32px; }

/* Order page */
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 3vw, 40px); align-items: start; }
.order-main { display: grid; gap: 28px; min-width: 0; }
.block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); display: grid; gap: 20px; min-width: 0; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.block-head h2 { font-size: var(--step-2); }
.block-head .eyebrow { color: var(--red-ink); }
.panel { display: grid; gap: 18px; padding-bottom: 24px; border-bottom: 1px dashed var(--glass-edge); }
.panel:last-of-type { border-bottom: 0; padding-bottom: 0; }
.panel-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel-top h3 { font-size: var(--step-1); }
.panel-sum { font-family: var(--f-mono); font-size: .875rem; color: var(--muted); }
.remove { background: none; border: 0; color: var(--muted); font: inherit; font-size: .875rem; cursor: pointer; text-decoration: underline; padding: 4px; }
.remove:hover { color: var(--red-ink); }
.preview { background: var(--paper); border-radius: var(--radius); padding: 10px; }
.preview svg { width: 100%; height: auto; display: block; max-height: 300px; }
.kood-row { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.kood-row .field { flex: 0 1 160px; }
.panel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .panel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .panel-grid .field:last-child { grid-column: 1 / -1; } }
.add-panel { justify-self: start; }
.svc { display: grid; gap: 4px; padding: 16px; border: 1px solid var(--glass-edge); border-radius: var(--radius); }
.svc .check { color: var(--ink); font-weight: 600; justify-content: space-between; }
.svc .check > span:not(.price) { flex: 1; }
.svc .price { font-family: var(--f-mono); font-weight: 600; white-space: nowrap; }
.svc p { color: var(--muted); font-size: .875rem; padding-left: 28px; }
.radio-list { display: grid; gap: 10px; }

.summary { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 88px); display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.summary h2 { font-size: var(--step-1); }
.sum-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.sum-line strong { display: block; font-weight: 600; }
.sum-line span { display: block; color: var(--muted); font-size: .8125rem; }
.sum-line .num { font-family: var(--f-mono); font-weight: 600; white-space: nowrap; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sum-total b { font-family: var(--f-display); font-size: var(--step-2); }
.sum-total .num { font-family: var(--f-mono); font-size: var(--step-2); font-weight: 700; color: var(--red-ink); }
.summary .small { font-size: .8125rem; color: var(--muted); }
.sum-pre { white-space: pre-wrap; font-family: var(--f-mono); font-size: .8125rem; background: var(--surface); padding: 12px; border-radius: var(--radius); margin: 10px 0 0; overflow-x: auto; }
.mobile-total { display: none; }
@media (max-width: 980px) {
  .order-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .mobile-total { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(31,39,43,.3); justify-content: space-between; align-items: center; gap: 12px; padding: 12px var(--gutter-r) calc(12px + env(safe-area-inset-bottom, 0px)) var(--gutter-l); }
  .mobile-total a { color: var(--red-ink); font-weight: 600; }
  .mobile-total .num { font-family: var(--f-mono); font-weight: 700; font-size: 1.125rem; color: var(--red-ink); }
  .order-page { padding-bottom: 72px; }
}
.picker { border: 0; border-radius: var(--radius); padding: 0; width: min(980px, 94vw); max-height: 88vh; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.picker::backdrop { background: rgba(8, 10, 11, .7); }
.picker-head { position: sticky; top: 0; background: var(--surface); padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; align-items: end; justify-content: space-between; z-index: 1; }
.picker-body { padding: 16px 20px 24px; }
.pick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pick { border: 1px solid var(--line); background: var(--paper); padding: 0; cursor: pointer; border-radius: 2px; overflow: hidden; display: grid; text-align: left; color: var(--ink); font: inherit; }
.pick img { width: 100%; aspect-ratio: 4 / 1; object-fit: cover; }
.pick span { padding: 6px 8px; font-size: .75rem; }
.pick:hover { border-color: var(--red-ink); }
@media (max-width: 640px) { .pick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.done { display: grid; gap: 16px; }
.done .btn { justify-self: start; }
.nav a.btn--red { color: var(--on-red); }
.nav a.btn--red:hover { background: color-mix(in srgb, var(--red) 86%, black); }
.nav a.btn--red[aria-current="page"] { box-shadow: none; border-radius: var(--radius); }
.seg--wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 1px; background: var(--glass-edge); }
.seg--wrap label span { background: var(--surface); height: 100%; align-content: center; }
.seg--wrap label + label span { border-left: 0; }
.radio-list .check .mono { color: var(--muted); font-size: .875rem; }
.page-head .split img { width: 100%; }
@media (max-width: 760px) { .page-head .split img { justify-self: stretch !important; max-height: 220px !important; } }
.band .band-cta { color: var(--ink); font-size: var(--step-1); }
.band .band-cta strong { color: var(--red-ink); }
.band .band-cta a { color: var(--red-ink); font-weight: 600; }
.seg label.is-disabled span { opacity: .4; cursor: not-allowed; text-decoration: line-through; text-decoration-thickness: 1px; }
.seg label.is-disabled input { cursor: not-allowed; }
.check.is-off { opacity: .45; cursor: not-allowed; }
.check.is-off input { cursor: not-allowed; }
.lisasoov { margin-top: 6px; }
.lisasoov textarea { min-height: 64px; }
.band--slim { padding-block: 18px; }
.band--slim .band-cta { margin: 0; text-align: center; font-size: var(--step-0); }
.r6-fig { background: var(--surface) !important; }
.r6-fig svg { width: 100%; height: auto; max-width: 640px; }
.faq .answer ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.h3 { font-size: var(--step-1); letter-spacing: -.01em; }
