/* Layout concept: one pinned night scene that assembles the plot, then a calm
   graphite catalogue that reads like an architect's product sheet.
   Single dark look by design (brand is shown at night). */
:root {
  --ink: #0a0f16;          /* page ground, graphite-navy */
  --ink-2: #101823;        /* raised surfaces */
  --ink-3: #172231;        /* cards, inputs */
  --line: #24324466;       /* hairlines */
  --line-2: #2c3d52;
  --fg: #f2f5f9;           /* headings */
  --mute: #a3afbd;         /* body text */
  --dim: #6f7d8e;          /* captions */
  --blue: #328fff;         /* technical accent */
  --blue-2: #1f6fd6;
  --warm: #f0b56a;         /* lamp light, used sparingly */
  --danger: #ff7a6e;

  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1240px;
  --hdr-h: 72px;
  --radius: 14px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--mute);
  font: 400 16px/1.6 var(--f-body);
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--fg); margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
.eyebrow {
  font: 500 12px/1 var(--f-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
}
.h-display {
  font: 800 clamp(1.75rem, 3.6vw, 3.3rem)/1.06 var(--f-display);
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.h-display em, .h-sec em { font-style: normal; color: var(--blue); }
.h-display--xl { font-size: clamp(1.9rem, 4.6vw, 4.2rem); }
.h-sec { font: 700 clamp(1.5rem, 2.8vw, 2.4rem)/1.12 var(--f-display); letter-spacing: -.01em; }
.lead { font-size: clamp(1rem, 1.25vw, 1.125rem); color: #cdd5df; max-width: 34em; }

/* ---------- buttons ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; gap: 12px;
  height: var(--h); padding: 0 24px;
  border-radius: 999px;
  font: 700 15px/1 var(--f-body);
  text-decoration: none; white-space: nowrap;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
  cursor: pointer; border: 0;
}
.btn--solid { background: var(--blue); color: #fff; box-shadow: 0 8px 30px -10px #328fffaa; }
.btn--solid:hover { background: #4a9cff; transform: translateY(-1px); }
.btn--line { border: 1.5px solid var(--blue); color: var(--fg); background: #0a0f1680; }
.btn--line:hover { background: #328fff22; }
.ico-arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.btn:hover .ico-arrow { transform: translateX(3px); }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.hdr.is-solid { background: #0a0f16d9; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.hdr__in { height: var(--hdr-h); display: flex; align-items: center; gap: 32px; max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }
.logo { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.logo__mark { font: 800 26px/1 var(--f-display); color: var(--fg); letter-spacing: .02em; display: inline-flex; align-items: center; }
.logo__e { display: inline-grid; gap: 3px; width: .62em; margin: 0 .07em; align-content: center; height: .74em; }
.logo__e b { display: block; height: 4px; background: var(--fg); border-radius: 1px; }
.logo__e b:nth-child(2) { background: var(--blue); width: 82%; }
.logo__tag { font: 500 10.5px/1.25 var(--f-body); text-transform: uppercase; letter-spacing: .06em; color: var(--mute); padding-left: 16px; border-left: 1px solid var(--line-2); }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 500; color: #dbe2ea; text-decoration: none; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav__cta-m { display: none; }
.hdr__cta { --h: 44px; padding: 0 20px; font-size: 14px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: #0a0f1699; cursor: pointer; place-content: center; gap: 6px; }
.burger span { display: block; width: 18px; height: 1.8px; background: var(--fg); transition: transform .25s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- story / pinned scene ---------- */
.story { position: relative; background: var(--ink); }
.story__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.scene { position: absolute; inset: 0; overflow: hidden; background: #070b11; }
.scene__stage { position: absolute; left: 0; top: 0; width: 1672px; height: 941px; transform-origin: 0 0; will-change: transform; }
.scene__base { position: absolute; inset: 0; width: 1672px; height: 941px; max-width: none; }
.layer { position: absolute; background-repeat: no-repeat; pointer-events: none; opacity: 0; }
.layer[data-layer="fg"] { opacity: 1; }
.tiles { position: absolute; inset: 0; perspective: 1400px; perspective-origin: 50% 40%; pointer-events: none; }
.tile { position: absolute; background-repeat: no-repeat; will-change: transform, opacity; opacity: 0; }
.tile__skin { position: absolute; inset: 0; background: inherit; }
.tile svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tile polygon { fill: none; stroke: var(--blue); stroke-width: 1.6; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 3px #328fff); opacity: var(--glow, 0); }
.scene__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, #0a0f16f2 0%, #0a0f16c4 24%, #0a0f1640 42%, transparent 58%),
    linear-gradient(0deg, #0a0f16 0%, transparent 16%),
    linear-gradient(180deg, #0a0f16b3 0%, transparent 18%);
}
.callouts__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.callouts__lines path { fill: none; stroke: #6fb0ff; stroke-width: 1; }
.callouts__lines circle { fill: #9fcbff; }

.copy {
  position: absolute; z-index: 3;
  left: var(--gutter); top: calc(var(--hdr-h) + 4vh); bottom: 9vh;
  width: min(560px, 42vw);
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
}
.copy__stack { display: grid; }
.stagecopy { grid-area: 1 / 1; display: grid; gap: 22px; align-content: center; justify-items: start; }
.stagecopy:not([data-stage="1"]) { opacity: 0; visibility: hidden; }
.stagecopy .eyebrow { color: #c6d3e1; }

.rail { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; align-self: center; }
.rail li { display: grid; justify-items: center; gap: 10px; color: var(--dim); font: 400 13px/1 var(--f-mono); transition: color .3s; }
.rail li b { width: 1.5px; height: 64px; background: var(--line-2); position: relative; overflow: hidden; }
.rail li b::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scaleY(var(--p, 0)); transform-origin: top; }
.rail li.is-active { color: var(--blue); }
.rail li.is-active span { font-size: 22px; font-family: var(--f-display); font-weight: 500; }

.aside { position: absolute; z-index: 3; right: var(--gutter); top: calc(var(--hdr-h) + 5vh); bottom: 8vh; width: 210px; pointer-events: none; }
.callouts { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.callouts li {
  position: absolute; right: 0; width: 190px;
  padding: 10px 14px; border: 1px solid #328fff70; border-radius: 6px;
  background: #0a0f16b8; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--fg); font-size: 13px; line-height: 1.3; opacity: 0;
}
.section-cut, .swatches { position: absolute; right: 0; opacity: 0; margin: 0; }
.section-cut { bottom: 0; width: 210px; padding: 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #0a0f16c9; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.section-cut figcaption { font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 12px; }
.section-cut ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.section-cut li { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 10px; font-size: 12.5px; color: #d7dee7; opacity: .25; transition: opacity .3s; }
.section-cut li.is-on { opacity: 1; }
.section-cut i { height: 16px; border-radius: 2px; }
.section-cut li[data-l="4"] i { height: 12px; background: repeating-linear-gradient(90deg, #8d96a1 0 14px, #2a313a 14px 15.5px); box-shadow: 0 0 0 1px var(--blue); }
.section-cut li[data-l="3"] i { background: #c9a879; }
.section-cut li[data-l="2"] i { background: radial-gradient(circle at 30% 40%, #7e8893 2px, transparent 2.5px) 0 0/7px 7px, #4d5560; }
.section-cut li[data-l="1"] i { background: #3a2f27; height: 20px; }
.swatches { list-style: none; padding: 12px; bottom: 0; border: 1px solid var(--line-2); border-radius: 10px; background: #0a0f16c9; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 210px; }
.swatches li { display: grid; gap: 6px; color: var(--fg); font-size: 12.5px; }
.swatches img { width: 100%; height: 70px; object-fit: cover; border-radius: 6px; border: 1px solid #ffffff2e; }

.scrollhint {
  position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 8px;
  font-size: 12px; color: #cfd8e3; letter-spacing: .02em;
}
.scrollhint__mouse { width: 22px; height: 34px; border: 1.5px solid #cfd8e3; border-radius: 12px; display: grid; justify-items: center; padding-top: 6px; }
.scrollhint__mouse i { width: 2px; height: 7px; border-radius: 2px; background: #cfd8e3; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(9px); opacity: 0; } 100% { opacity: 0; } }

/* Static fallback: no JS, reduced motion or library failed */
.story.is-static .stagecopy { opacity: 1; visibility: visible; }
.story.is-static .copy__stack { gap: 64px; }
.story.is-static .copy { position: relative; inset: auto; width: auto; padding: 48px var(--gutter) 64px; display: block; }
.story.is-static .story__pin { height: auto; overflow: visible; }
.story.is-static .scene { position: relative; height: 62vh; }
.story.is-static .rail, .story.is-static .scrollhint, .story.is-static .aside { display: none; }
.story.is-static .stagecopy { grid-area: auto; }

/* ---------- brand message ---------- */
.brand { position: relative; padding-block: clamp(80px, 12vw, 160px) clamp(64px, 8vw, 110px); overflow: hidden; }
.brand__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--ink) 0%, #0a0f16cc 30%, #0a0f16f0 75%, var(--ink) 100%),
    url("../assets/img/scene-final.webp") center 60%/cover no-repeat;
  opacity: .9;
}
.brand__in { position: relative; display: grid; gap: 26px; justify-items: start; }
.brand__in .h-display { max-width: 15em; }
.brand__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.perks { list-style: none; margin: 36px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line-2); width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.perks li { display: flex; align-items: center; gap: 14px; color: var(--fg); font-weight: 600; font-size: 15px; }
.perks svg { width: 34px; height: 34px; flex: none; fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }

/* ---------- sections ---------- */
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec--alt { background: var(--ink-2); border-block: 1px solid var(--line); }
.sec__head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 52px); max-width: 720px; }
.sec__head--row { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.sec__head--row > div:first-child { display: grid; gap: 14px; }
.sec__head--row .chips { justify-content: flex-end; }
.sec__sub { max-width: 42em; }
.note { margin-top: 28px; font-size: 14px; color: var(--dim); }

.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); border: 1px solid var(--line); text-decoration: none; transition: border-color .25s, transform .25s; min-width: 0; }
.cat:hover { border-color: #328fff88; transform: translateY(-3px); }
.cat__img { aspect-ratio: 4/3; overflow: hidden; background: #0d141d; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat:hover .cat__img img { transform: scale(1.04); }
.cat__body { padding: 20px 20px 22px; display: grid; gap: 10px; align-content: start; }
.cat__no { font: 500 12px/1 var(--f-mono); color: var(--blue); letter-spacing: .1em; }
.cat h3 { font: 700 18px/1.2 var(--f-display); }
.cat p { font-size: 14.5px; line-height: 1.5; }
.cat__more { margin-top: 6px; display: inline-flex; gap: 8px; align-items: center; color: var(--fg); font-weight: 600; font-size: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: #cfd8e3; font: 600 14px/1 var(--f-body); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--blue); }
.chip.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.models { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.model { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); background: var(--ink-3); border: 1px solid var(--line); overflow: hidden; min-width: 0; }
.model[hidden] { display: none; }
.model__img { aspect-ratio: 1; background: #0d141d; }
.model__img img { width: 100%; height: 100%; object-fit: cover; }
.model__body { padding: 16px 18px 18px; display: grid; gap: 6px; align-content: start; }
.model h3 { font: 600 16px/1.3 var(--f-body); }
.model__finish { font-size: 13.5px; color: var(--dim); }
.model__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.model__price { font: 500 13px/1.2 var(--f-mono); color: var(--fg); }
.model__btn { background: none; border: 0; padding: 6px 0; color: var(--blue); font: 700 14px/1 var(--f-body); cursor: pointer; }
.model__btn:hover { text-decoration: underline; text-underline-offset: 4px; }

.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(150px, 17vw, 230px); gap: 14px; }
.gal { position: relative; border-radius: var(--radius); overflow: hidden; border: 0; padding: 0; background: #0d141d; cursor: zoom-in; text-align: left; }
.gal:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.gal:nth-child(2) { grid-column: span 2; grid-row: span 2; }
.gal:nth-child(3), .gal:nth-child(4), .gal:nth-child(5) { grid-column: span 2; }
.gal:nth-child(6) { grid-column: span 6; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gal:hover img { transform: scale(1.03); }
.gal__cap { position: absolute; inset: auto 0 0; padding: 40px 18px 14px; background: linear-gradient(0deg, #0a0f16e6, transparent); display: grid; gap: 2px; }
.gal__cap b { color: var(--fg); font-size: 15px; font-weight: 600; }
.gal__cap span { font: 400 12px/1.3 var(--f-mono); color: #b9c6d4; }

.why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.why__list li { padding: 28px 24px 8px 0; display: grid; gap: 12px; align-content: start; min-width: 0; }
.why__list li + li { padding-left: 24px; border-left: 1px solid var(--line-2); }
.why__n { font: 500 12px/1 var(--f-mono); color: var(--blue); letter-spacing: .12em; text-transform: uppercase; }
.why__list h3 { font: 600 18px/1.3 var(--f-body); }
.why__list p { font-size: 15px; }

.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__text { display: grid; gap: 18px; max-width: 38em; }
.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.facts div { background: var(--ink); padding: 22px 20px; display: grid; gap: 8px; }
.facts dt { font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.facts dd { margin: 0; font: 700 20px/1.2 var(--f-display); color: var(--fg); }
.facts dd.ph, .contacts dd.ph { font: 500 14px/1.3 var(--f-body); color: var(--dim); border: 1px dashed var(--line-2); border-radius: 6px; padding: 6px 10px; justify-self: start; }

.sec--form { background: radial-gradient(80% 120% at 85% 0%, #14294466 0%, transparent 60%), var(--ink); }
.consult { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.consult__intro { display: grid; gap: 18px; position: sticky; top: calc(var(--hdr-h) + 24px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(20px, 3vw, 36px); background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 18px; }
.field { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field--wide { grid-column: 1 / -1; }
.field label, .field legend { font-size: 13.5px; font-weight: 600; color: #d7dee7; padding: 0; }
.field legend { margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; min-width: 0; padding: 13px 14px; border-radius: 10px;
  background: var(--ink-3); border: 1px solid var(--line-2); color: var(--fg);
  font: 500 15px/1.4 var(--f-body); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #66748a; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px #328fff33; }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field__err { font-size: 13px; color: var(--danger); min-height: 0; }
.field__err:empty { display: none; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { cursor: pointer; position: relative; }
.checks input { position: absolute; opacity: 0; pointer-events: none; }
.checks span { display: inline-flex; height: 38px; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: #cfd8e3; transition: background .2s, border-color .2s; }
.checks input:checked + span { background: #328fff26; border-color: var(--blue); color: var(--fg); }
.checks input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--blue); width: 16px; height: 16px; flex: none; }
.form > .field__err { grid-column: 1 / -1; margin-top: -10px; }
.form__submit { grid-column: 1 / -1; justify-self: start; }
.form__done { grid-column: 1 / -1; padding: 16px 18px; border-radius: 10px; border: 1px solid #328fff66; background: #328fff14; color: var(--fg); display: grid; gap: 6px; }
.form__done small { color: var(--mute); font-size: 13px; }

.contacts { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contacts div { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--ink); min-width: 0; }
.contacts dt { font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.contacts dd { margin: 0; color: var(--fg); font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }

.ftr { padding-block: 56px 28px; border-top: 1px solid var(--line); }
.ftr__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.ftr__brand { display: grid; gap: 14px; align-content: start; }
.ftr__nav, .ftr__cats { display: grid; gap: 10px; align-content: start; list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.ftr__nav a { text-decoration: none; }
.ftr__nav a:hover { color: var(--fg); }
.ftr__legal { display: flex; justify-content: space-between; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.ftr__legal a { text-decoration: none; }

.lightbox { position: fixed; inset: 0; z-index: 80; background: #05080cee; display: grid; place-items: center; padding: 24px; }
.lightbox figure { margin: 0; display: grid; gap: 12px; max-width: min(1200px, 100%); }
.lightbox img { max-height: 80vh; width: auto; border-radius: 10px; }
.lightbox figcaption { color: var(--fg); font-size: 15px; }
.lightbox__x { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--ink-2); color: var(--fg); font-size: 18px; cursor: pointer; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .aside { display: none; }
  .nav { gap: 22px; }
  .hdr__cta { display: none; }
}
@media (max-width: 1024px) {
  .cats, .models { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .why__list { grid-template-columns: 1fr 1fr; }
  .why__list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .contacts { grid-template-columns: 1fr 1fr; }
  .copy { width: min(520px, 52vw); }
}
@media (max-width: 860px) {
  :root { --hdr-h: 64px; }
  .logo__tag { display: none; }
  .burger { display: grid; }
  .nav {
    position: fixed; inset: calc(var(--hdr-h) + env(safe-area-inset-top, 0px)) 0 auto; margin: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 22px;
    background: #0a0f16f5; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-2);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta-m { display: inline-flex; margin-top: 18px; justify-content: center; border-bottom: 1.5px solid var(--blue) !important; }

  .scene__shade { background: linear-gradient(0deg, #0a0f16 0%, #0a0f16f2 36%, #0a0f1666 56%, transparent 70%), linear-gradient(180deg, #0a0f16a6 0%, transparent 16%); }
  .copy { inset: auto var(--gutter) 64px; width: auto; top: auto; grid-template-columns: 1fr; gap: 16px; }
  .rail { display: flex; gap: 10px; align-items: center; }
  .rail li { grid-template-columns: auto 1fr; display: flex; align-items: center; }
  .rail li b { width: 34px; height: 1.5px; }
  .rail li b::after { transform: scaleX(var(--p, 0)); transform-origin: left; }
  .rail li.is-active span { font-size: 15px; }
  .stagecopy { gap: 14px; }
  .h-display { font-size: clamp(1.45rem, 6.6vw, 2.2rem); }
  .lead { font-size: 15px; }
  .scrollhint { bottom: 12px; font-size: 11px; }
  .scrollhint__mouse { display: none; }
  .story.is-static .copy { padding-top: 32px; }

  .sec__head--row { grid-template-columns: 1fr; }
  .sec__head--row .chips { justify-content: flex-start; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .gal:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gal:nth-child(1), .gal:nth-child(6) { grid-column: span 2; grid-row: span 1; }
  .about, .consult { grid-template-columns: 1fr; }
  .consult__intro { position: static; }
  .ftr__in { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .cats, .models { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat__body { padding: 14px; }
  .cat h3 { font-size: 15px; }
  .cat p { display: none; }
  .model__body { padding: 12px; }
  .model h3 { font-size: 14.5px; }
  .model__row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .perks { grid-template-columns: 1fr; gap: 16px; }
  .why__list { grid-template-columns: 1fr; }
  .why__list li, .why__list li + li { padding: 22px 0 6px; border-left: 0; border-top: 1px solid var(--line-2); }
  .why__list li:first-child { border-top: 0; }
  .facts { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: 1fr; }
  .brand__cta .btn { width: 100%; justify-content: center; }
  .btn { --h: 48px; padding: 0 20px; font-size: 14.5px; }
}
@media (max-width: 380px) {
  .cats, .models { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
