
@font-face { font-family: 'ArchivoJKN'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url('../fonts/archivo.woff2') format('woff2'); }
@font-face { font-family: 'ArchivoJKN'; font-style: italic; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url('../fonts/archivo-italic.woff2') format('woff2'); }


:root {
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  --bg: #0A0A0B; --bg2: #111113; --bg3: #18181B;
  --ink: #F3F3F1; --muted: #A6A6AB; --line: #2A2A2E;
  --red: #C8102E; --red2: #E3173A;
  --pad: clamp(1.25rem, 5vw, 4.5rem);
  --img-start: url("../img/start.jpg");
  --img-mazdy: url("../img/mazdy.jpg");
  --img-zmierzch: url("../img/zmierzch.jpg");
  --img-hala: url("../img/hala.jpg");
  --img-precyzja: url("../img/precyzja.jpg");
  --img-wideo: url("../img/wideo.jpg");
  --img-szacunek: url("../img/szacunek.jpg");
  --img-zespol: url("../img/zespol.jpg");
  --img-diag: url("../img/diag.jpg");
  --img-x7: url("../img/x7.jpg");
  --img-kariera: url("../img/kariera.jpg");
  --img-zawieszenie: url("../img/zawieszenie.jpg");
  --img-czesci: url("../img/czesci.jpg");
  --img-podwozie: url("../img/podwozie.jpg");
  --img-blacha: url("../img/blacha.jpg");
  --img-nissan: url("../img/nissan.jpg");
  --img-lancia: url("../img/lancia.jpg");
  --img-gt: url("../img/gt.jpg");
  --img-silnik: url("../img/silnik.jpg");
  --img-lustro: url("../img/lustro.jpg");
  --img-podloga: url("../img/podloga.jpg");
  --img-sanki: url("../img/sanki.jpg");
  --img-tyl: url("../img/tyl.jpg");
  --img-drobne: url("../img/drobne.jpg");
  --img-zespolfoto: url("../img/zespolfoto.jpg");
  --img-ss1: url("../img/ss1.jpg");
  --img-ss2: url("../img/ss2.jpg");
  --img-ss3: url("../img/ss3.jpg");
  --img-ss4: url("../img/ss4.jpg");
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #0A0A0B; --ink: #F3F3F1; } }
:root[data-theme="dark"] { --bg: #0A0A0B; --ink: #F3F3F1; }
:root[data-theme="light"] { --bg: #0A0A0B; --ink: #F3F3F1; }
@media (min-width: 1800px) { html { font-size: 106.25%; } }
@media (min-width: 2200px) { html { font-size: 125%; } }
@media (min-width: 2800px) { html { font-size: 150%; } }
@media (min-width: 3400px) { html { font-size: 175%; } }
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 5.25rem); background: var(--bg); }
*, *::before, *::after { box-sizing: inherit; }
html { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'ArchivoJKN', 'Archivo', 'Helvetica Neue', Arial, sans-serif; font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red2); outline-offset: 3px; }
h1:focus { outline: none; }
.display { font-family: 'ArchivoJKN', 'Archivo', 'Arial Black', sans-serif; font-weight: 900; font-style: italic; font-stretch: 125%; letter-spacing: -0.02em; line-height: 0.92; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.875rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); }
.bars { display: inline-flex; flex-direction: column; gap: 3px; align-items: flex-end; }
.bars i { display: block; height: 3px; background: var(--red); }
.bars i:nth-child(1) { width: 1.625rem; } .bars i:nth-child(2) { width: 1.125rem; } .bars i:nth-child(3) { width: 0.625rem; }
.red { color: var(--red2); }
.wrap { width: 100%; max-width: 85rem; margin: 0 auto; padding: 0 var(--pad); }
.ph { background-image: var(--ph); background-size: cover; background-position: center; background-repeat: no-repeat; }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: #D4D4D6; max-width: 58ch; }
.muted { color: var(--muted); }
.sec { padding: clamp(5rem, 11vw, 10rem) 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 3.25rem; }
.sec-head > * { min-width: 0; max-width: 100%; }
.split > *, .strip-in > *, .promo > *, .ct2 > *, .story > *, .cols3 > *, .st-grid > *, .pr-grid > * { min-width: 0; }
.sec-head h2 { font-size: clamp(2.625rem, 6vw, 6.25rem); margin: 1.375rem 0 0; }
.sec-head p { color: var(--muted); max-width: 42ch; margin: 0; }
.grain { position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* pages */
.js .page { display: none; }
.js .page.on { display: block; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 0.75rem; min-height: 3rem; padding: 0 1.5rem; border-radius: 62.4375rem; text-decoration: none; font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.02em; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; will-change: transform; }
.btn-red { background: var(--red); color: #fff; } .btn-red:hover { background: var(--red2); }
.btn-ghost { border-color: rgba(255,255,255,0.35); color: var(--ink); background: rgba(10,10,11,0.25); backdrop-filter: blur(0.375rem); } .btn-ghost:hover { border-color: #fff; }
.btn .arr { display: inline-block; transition: transform .3s; } .btn:hover .arr { transform: translateX(0.25rem); }

/* intro: LED light-line reveal */
#intro { display: none; position: fixed; inset: 0; z-index: 120; overflow: hidden; cursor: pointer; }
.pre #intro { display: block; } .pre body { overflow: hidden; }
.ip { position: absolute; left: 0; right: 0; height: 50.2%; background: #060607; }
.ip-top { top: 0; } .ip-bot { bottom: 0; }
.ip-top::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 50% 100%, rgba(200,16,46,0.10), rgba(200,16,46,0) 70%); }
.ip-bot::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 50% 0%, rgba(200,16,46,0.08), rgba(200,16,46,0) 70%); }
.iline { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; transform: scaleX(0); z-index: 3;
  background: linear-gradient(90deg, rgba(255,42,71,0) 0%, #FF2A47 18%, #FFD0D6 50%, #FF2A47 82%, rgba(255,42,71,0) 100%);
  box-shadow: 0 0 1.25rem 0.125rem rgba(227,23,58,0.7), 0 0 4rem 0.5rem rgba(227,23,58,0.25); }
.intro-logo { position: absolute; left: 50%; top: 50%; width: min(60vw, 34rem); transform: translate(-50%, calc(-100% - 1.75rem)); clip-path: inset(100% 0 0 0); z-index: 2; }
.intro-logo svg, .wipe-logo svg { width: 100%; height: auto; overflow: visible; display: block; }
.intro-sweep { position: absolute; top: -20%; bottom: -20%; left: -30%; width: 22%; transform: skewX(-18deg); opacity: 0; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.6), rgba(255,255,255,0)); mix-blend-mode: overlay; pointer-events: none; }
.intro-tag { position: absolute; left: 50%; top: 50%; transform: translate(-50%, 1.6rem); white-space: nowrap; font-size: clamp(0.6875rem, 0.9vw, 0.875rem); letter-spacing: 0.55em; padding-left: 0.55em; text-transform: uppercase; color: #BDBDC2; clip-path: inset(0 0 100% 0); z-index: 2; }
.intro-skip { position: absolute; right: 1.375rem; bottom: calc(env(safe-area-inset-bottom, 0px) + 1.25rem); font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: #6E6E74; z-index: 2; }
#wipe { display: none; position: fixed; inset: 0; z-index: 110; pointer-events: all; overflow: hidden; }
.wipe-a, .wipe-b { position: absolute; top: 0; bottom: 0; left: -12%; width: 124%; transform: skewX(-12deg); }
.wipe-a { background: var(--red); }
.wipe-b { background: #070708; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.375rem; }
.wipe-in { transform: skewX(12deg); display: flex; flex-direction: column; align-items: center; gap: 1.125rem; }
.wipe-logo { width: min(40vw, 16.25rem); }
.wipe-label { font-size: clamp(2.125rem, 6vw, 5.25rem); }

/* header */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 60; padding-top: env(safe-area-inset-top, 0px); transition: background .35s, border-color .35s; border-bottom: 1px solid transparent; }
.hdr.solid { background: rgba(10,10,11,0.8); backdrop-filter: blur(0.875rem); -webkit-backdrop-filter: blur(0.875rem); border-bottom-color: rgba(255,255,255,0.06); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 1.375rem; height: 4.75rem; }
.hdr-logo { display: block; width: 8rem; flex-shrink: 0; }
.hdr-logo svg, .ftr-logo svg { width: 100%; height: auto; display: block; }
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav a { text-decoration: none; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.03em; opacity: 0.8; position: relative; padding: 0.375rem 0; white-space: nowrap; }
.nav a:hover, .nav a.on { opacity: 1; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--red2); transition: right .3s; }
.nav a:hover::after, .nav a.on::after { right: 0; }
.burger { display: none; width: 3rem; height: 3rem; border: 0; background: transparent; color: var(--ink); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 0.75rem; right: 0.75rem; height: 2px; background: currentColor; transition: transform .3s, top .3s, opacity .2s; }
.burger span:nth-child(1) { top: 1.0625rem; } .burger span:nth-child(2) { top: 1.4375rem; } .burger span:nth-child(3) { top: 1.8125rem; }
.menu-open .burger span:nth-child(1) { top: 1.4375rem; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 1.4375rem; transform: rotate(-45deg); }
.mnav { display: none; }
@media (max-width: 1320px) {
  .nav, .hdr .btn { display: none; }
  .burger { display: block; }
  .mnav { display: flex; position: fixed; inset: 0; z-index: 55; background: #070708; flex-direction: column; justify-content: center; padding: calc(env(safe-area-inset-top, 0px) + 5.625rem) var(--pad) calc(env(safe-area-inset-bottom, 0px) + 2.5rem); gap: 0.25rem; transform: translateY(-100%); transition: transform .5s cubic-bezier(.7,0,.2,1); overflow-y: auto; }
  .menu-open .mnav { transform: none; }
  .mnav a { text-decoration: none; font-size: clamp(1.875rem, 8vw, 3.25rem); padding: 0.25rem 0; }
  .mnav a.on { color: var(--red2); }
  .mnav .btn { margin-top: 1.5rem; align-self: flex-start; font-size: 1rem; }
}

/* home hero: dusk scene */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; background: var(--bg); }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 66%; z-index: -3; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%); mask-image: linear-gradient(90deg, transparent 0%, #000 16%); }
.hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0) 22%, rgba(10,10,11,0) 80%, rgba(10,10,11,0.92) 100%); }
.hero-stage { position: absolute; inset: -4% 0; }
.hero-stage .ph { position: absolute; inset: 0; }
.dusk { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(180deg, rgba(6,10,28,0.84) 0%, rgba(8,12,30,0.62) 30%, rgba(8,10,24,0.44) 62%, rgba(6,6,10,0.58) 100%); }
.win, .flood, .lamp, .under { position: absolute; transform: translate(-50%, -50%); pointer-events: none; mix-blend-mode: screen; opacity: 0; }
.win { width: calc(var(--u, 62.5rem) * var(--w)); height: calc(var(--u, 62.5rem) * var(--h)); border-radius: 2px;
  background: radial-gradient(ellipse at 50% 60%, rgba(255,222,160,0.98) 0%, rgba(255,186,105,0.8) 55%, rgba(255,160,80,0.35) 100%);
  box-shadow: 0 0 calc(var(--u, 62.5rem) * 0.025) rgba(255,175,95,0.55); }
.flood { width: calc(var(--u, 62.5rem) * 0.011); height: calc(var(--u, 62.5rem) * 0.011); border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 calc(var(--u, 62.5rem) * 0.02) calc(var(--u, 62.5rem) * 0.006) rgba(255,240,215,0.9); }
.flood::after { content: ""; position: absolute; left: 50%; top: 50%; width: calc(var(--u, 62.5rem) * 0.09); height: calc(var(--u, 62.5rem) * 0.15); transform: translateX(-50%); background: radial-gradient(ellipse at 50% 0%, rgba(255,240,215,0.42), rgba(255,240,215,0) 70%); }
.lamp { width: calc(var(--u, 62.5rem) * 0.04); height: calc(var(--u, 62.5rem) * 0.04); border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.98) 0%, rgba(225,238,255,0.6) 18%, rgba(200,220,255,0.15) 42%, rgba(200,220,255,0) 66%); }
.lamp::after { content: ""; position: absolute; left: 50%; top: 50%; width: 520%; height: 9%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(220,235,255,0.55), rgba(220,235,255,0) 70%); }
.under { width: calc(var(--u, 62.5rem) * var(--w, 0.16)); height: calc(var(--u, 62.5rem) * 0.032); border-radius: 50%; filter: blur(3px); background: radial-gradient(ellipse at center, rgba(var(--c), 0.95) 0%, rgba(var(--c), 0.45) 35%, rgba(var(--c), 0) 70%); }
.glow-static .dusk { opacity: 1; } .glow-static .win { opacity: 0.85; } .glow-static .flood { opacity: 0.9; } .glow-static .under { opacity: 0.8; } .glow-static .lamp { opacity: 0.5; }
#streaks { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-in { position: relative; z-index: 2; padding-top: calc(env(safe-area-inset-top, 0px) + 6.875rem); padding-bottom: 4.375rem; }
.hero-copy { max-width: min(42rem, 41vw); }
.hero-title { font-size: max(2.75rem, min(5.3vw, 5.3rem)); margin: 1.125rem 0 0; }
.tl .line, .hero-title .line { display: block; overflow: hidden; padding: 0.04em 0.08em 0.06em 0; margin-bottom: -0.06em; }
.tl .line > span, .hero-title .line > span { display: inline-block; }
.hero-sub { margin: 1.5rem 0 0; color: #D4D4D6; font-size: clamp(1rem, 1.3vw, 1.1875rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: 1.75rem; }
.hero-legend { position: absolute; right: var(--pad); top: calc(env(safe-area-inset-top, 0px) + 6.25rem); display: flex; gap: 0.625rem; z-index: 2; }
.hero-legend span { width: 1.875rem; height: 0.25rem; border-radius: 2px; opacity: 0.9; }
@media (max-width: 999px) {
  .hero { flex-direction: column; align-items: stretch; }
  .hero-media { position: relative; width: 100%; height: 60svh; min-height: 21.25rem; z-index: 0; -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 100%); mask-image: linear-gradient(180deg, #000 74%, transparent 100%); }
  .hero-in { padding-top: 0; margin-top: -2.25rem; padding-bottom: 3.5rem; }
  .hero-copy { max-width: none; }
  .hero-legend { display: none; }
  #streaks { height: max(60svh, 21.25rem); bottom: auto; }
}
/* sub-page hero */
.phero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.phero-bg { position: absolute; inset: -8% 0 0 0; z-index: -2; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,11,0.7) 0%, rgba(10,10,11,0.2) 35%, rgba(10,10,11,0.95) 100%), linear-gradient(90deg, rgba(10,10,11,0.85), rgba(10,10,11,0.1) 70%); }
.phero-in { padding: 9.375rem var(--pad) clamp(3.125rem, 8vh, 5.625rem); width: 100%; }
.phero h1 { font-size: clamp(3.125rem, 9vw, 9.375rem); margin: 1.375rem 0 0; }
.phero .lead { margin: 1.5rem 0 0; }
.crumbs { display: flex; gap: 0.625rem; font-size: 0.8125rem; color: var(--muted); margin-bottom: 1.125rem; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--ink); }

/* marquee */
.marquees { position: relative; padding: 4.375rem 0; overflow: hidden; }
.mq { display: flex; white-space: nowrap; overflow: hidden; }
.mq-a { background: var(--red); transform: rotate(-2.4deg); margin: 0 -4vw; padding: 1rem 0; position: relative; z-index: 2; box-shadow: 0 1.5rem 3.75rem rgba(0,0,0,0.45); }
.mq-b { transform: rotate(1.6deg); margin: -0.875rem -4vw 0; padding: 1rem 0; background: #070708; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mq-track { display: flex; }
.mq-row { display: flex; flex-shrink: 0; align-items: center; gap: 2.875rem; padding-right: 2.875rem; }
.mq-row span { font-size: clamp(1.875rem, 4.4vw, 4rem); }
.mq-a .mq-row span { color: #0A0A0B; }
.mq-b .mq-row span { color: transparent; -webkit-text-stroke: 1.4px rgba(243,243,241,0.55); }
.mq-row .bars i { background: #0A0A0B; height: 0.3125rem; } .mq-b .mq-row .bars i { background: var(--red); }
.mq-row .bars i:nth-child(1) { width: 2.875rem; } .mq-row .bars i:nth-child(2) { width: 2rem; } .mq-row .bars i:nth-child(3) { width: 1.125rem; }
.mq-css .mq-a .mq-track { animation: mq 28s linear infinite; } .mq-css .mq-b .mq-track { animation: mq 34s linear infinite reverse; }
@keyframes mq { to { transform: translateX(-50%); } }

/* statement */
.st-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3.75rem; }
@media (min-width: 1000px) { .st-grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: end; gap: 5.625rem; } }
.st-text { font-size: clamp(1.75rem, 3.6vw, 3.25rem); line-height: 1.18; font-weight: 600; letter-spacing: -0.015em; margin: 1.625rem 0 0; }
.st-text .w { display: inline-block; }
.stats { display: grid; border-top: 1px solid var(--line); }
.stat { display: flex; align-items: baseline; justify-content: space-between; gap: 1.25rem; padding: 1.375rem 0; border-bottom: 1px solid var(--line); }
.stat b { font-size: clamp(2.875rem, 5.4vw, 5.25rem); line-height: 1; }
.stat b small { font-size: 0.45em; margin-left: 0.25rem; font-style: italic; }
.stat > span { color: var(--muted); font-size: 0.9375rem; text-align: right; max-width: 15ch; }

/* values */
.values-head { padding: 0 var(--pad) 3.125rem; }
.values-pin { position: relative; overflow: hidden; }
.values-track { display: flex; flex-direction: column; gap: 5.625rem; padding: 1.25rem var(--pad) 6.875rem; }
.v-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; position: relative; }
.v-media { position: relative; overflow: hidden; border-radius: 0.375rem; aspect-ratio: 4 / 3; background: var(--bg3); }
.v-media .ph { position: absolute; inset: 0; transform: scale(1.12); }
.v-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,0) 55%, rgba(10,10,11,0.55) 100%); }
.v-num { position: absolute; top: -0.42em; right: 0.06em; z-index: 2; font-size: clamp(6.875rem, 16vw, 15.625rem); color: transparent; -webkit-text-stroke: 1.6px rgba(243,243,241,0.32); pointer-events: none; }
.v-text h3 { margin: 0; font-size: clamp(2.875rem, 6.4vw, 6.875rem); }
.v-text h3.v-long { font-size: clamp(2.125rem, 8.6vw, 4.5rem); }
.v-motto { margin: 1rem 0 0; font-size: clamp(1.25rem, 1.9vw, 1.6875rem); line-height: 1.3; font-weight: 600; max-width: 22ch; }
.v-desc { margin: 0.875rem 0 0; color: var(--muted); max-width: 44ch; }
.v-progress, .v-count { display: none; }
@media (min-width: 1000px) {
  .v-text h3 { font-size: clamp(3.375rem, 5.6vw, 6rem); } .v-text h3.v-long { font-size: clamp(2.25rem, 3.5vw, 3.75rem); }
  .js-h .values-pin { height: 100vh; }
  .js-h .values-track { flex-direction: row; align-items: center; height: 100%; width: max-content; gap: 9vw; padding: 0 12vw 0 var(--pad); }
  .js-h .values-head { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 6.5rem); left: var(--pad); z-index: 3; padding: 0; }
  .js-h .v-panel { width: min(73.75rem, 82vw); grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 3.5rem; }
  .js-h .v-media { aspect-ratio: auto; height: min(64vh, 40rem); }
  .js-h .v-progress { display: block; position: absolute; left: var(--pad); right: var(--pad); bottom: 2.625rem; height: 2px; background: rgba(255,255,255,0.12); }
  .js-h .v-progress span { position: absolute; inset: 0; background: var(--red2); transform-origin: left; transform: scaleX(0); }
  .js-h .v-count { display: block; position: absolute; right: var(--pad); bottom: 3.5rem; font-size: 0.8125rem; letter-spacing: 0.3em; color: var(--muted); }
}

/* service link cards (typographic, no photos) */
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 700px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 700px) and (max-width: 1149px) { .svc-grid > :nth-child(5) { grid-column: 1 / -1; } }
@media (min-width: 1150px) { .svc-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } .svc-grid > :nth-child(-n+3) { grid-column: span 2; } .svc-grid > :nth-child(n+4) { grid-column: span 3; } }
.svc { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; min-height: 25rem; padding: 1.875rem 1.75rem; border-radius: 0.625rem; overflow: hidden; isolation: isolate; text-decoration: none; border: 1px solid var(--line); background: var(--bg3); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); transform: translateY(101%); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.svc:hover::before, .svc:focus-visible::before { transform: none; }
.svc .big { position: absolute; right: -0.04em; bottom: -0.2em; z-index: -1; font-size: 11.875rem; color: transparent; -webkit-text-stroke: 1.5px rgba(243,243,241,0.12); transition: -webkit-text-stroke-color .4s; }
.svc:hover .big { -webkit-text-stroke-color: rgba(10,10,11,0.25); }
.svc .ico { width: 3.5rem; height: 3.5rem; color: var(--red2); transition: color .4s; } .svc .ico svg { width: 100%; height: 100%; }
.svc:hover .ico { color: #fff; }
.svc h3 { margin: 0; font-size: clamp(1.875rem, 2.5vw, 2.5rem); }
.svc p { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.9375rem; transition: color .4s; }
.svc:hover p { color: #fff; }
.svc .go { display: inline-flex; align-items: center; gap: 0.625rem; margin-top: 1.375rem; font-weight: 700; font-size: 0.875rem; }
.svc .go b { display: inline-flex; width: 2.25rem; height: 2.25rem; border-radius: 50%; align-items: center; justify-content: center; background: var(--red); transition: transform .4s, background .4s; }
.svc:hover .go b { background: #0A0A0B; transform: translateX(0.375rem) rotate(-45deg); }
.strip { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(3.75rem, 8vw, 6.25rem) 0; }
.strip-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.625rem; align-items: end; }
@media (min-width: 1000px) { .strip-in { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 3.125rem; } }
.strip h2 { font-size: clamp(2.5rem, 5vw, 5.25rem); margin: 1.25rem 0 0; }
.strip p { margin: 0; color: var(--muted); }
.promo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: end; text-decoration: none; padding: clamp(1.75rem, 4vw, 3.5rem); border-radius: 0.875rem; border: 1px solid var(--line); background: radial-gradient(120% 160% at 100% 0%, rgba(200,16,46,0.3) 0%, var(--bg3) 60%); transition: border-color .3s; }
@media (min-width: 1000px) { .promo { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.promo:hover { border-color: var(--red2); }
.promo h2 { font-size: clamp(2.5rem, 5vw, 5.25rem); margin: 1.25rem 0 0; }
.promo p { margin: 0; color: #D4D4D6; }
.promo .go { display: inline-flex; align-items: center; gap: 0.625rem; margin-top: 1.125rem; font-weight: 700; }
.promo .go b { display: inline-flex; width: 2.5rem; height: 2.5rem; border-radius: 50%; align-items: center; justify-content: center; background: var(--red); transition: transform .4s; }
.promo:hover .go b { transform: translateX(0.375rem) rotate(-45deg); }
.ticks.big li { font-size: clamp(1.125rem, 1.6vw, 1.375rem); }
/* process */
.process { background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%); }
.pr-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3.5rem; }
@media (min-width: 1000px) { .pr-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 6.25rem; } .pr-head { position: sticky; top: 8.75rem; align-self: start; } }
.pr-head h2 { font-size: clamp(2.625rem, 6vw, 6.25rem); margin: 1.375rem 0 0; }
.pr-head p { color: var(--muted); max-width: 40ch; margin: 1.5rem 0 0; }
.steps { position: relative; padding: 0 0 0 4rem; }
.steps-list { list-style: none; margin: 0; padding: 0; }
.steps-line { position: absolute; left: 1.3125rem; top: 0.625rem; bottom: 0.625rem; width: 2px; background: var(--line); }
.steps-line i { position: absolute; inset: 0; background: var(--red2); transform-origin: top; }
.step { position: relative; padding: 0 0 4rem; }
.step:last-child { padding-bottom: 0; }
.step-dot { position: absolute; left: -4rem; top: 2px; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--bg); border: 2px solid var(--red); display: flex; align-items: center; justify-content: center; font-size: 0.9375rem; font-weight: 800; font-style: italic; }
.step h3 { margin: 0; font-size: clamp(1.4375rem, 2.3vw, 2rem); line-height: 1.15; font-weight: 800; font-style: italic; font-stretch: 112%; }
.step p { margin: 0.625rem 0 0; color: var(--muted); max-width: 46ch; }

/* list of services (mechanika) */
.list9 { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
@media (min-width: 760px) { .list9 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1150px) { .list9 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.li9 { position: relative; padding: 1.875rem 1.75rem 2rem; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.li9::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); transform: scaleY(0); transform-origin: bottom; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.li9:hover::before { transform: scaleY(1); }
.li9 .n { font-size: 0.8125rem; letter-spacing: 0.2em; color: var(--muted); transition: color .3s; }
.li9:hover .n, .li9:hover p { color: #fff; }
.li9 h3 { margin: 0.875rem 0 0; font-size: clamp(1.625rem, 2.4vw, 2.25rem); }
.li9 p { margin: 0.625rem 0 0; color: var(--muted); font-size: 0.9375rem; max-width: 36ch; transition: color .3s; }

/* split band */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; } .split.rev > :first-child { order: 2; } }
.split-media { position: relative; border-radius: 0.625rem; overflow: hidden; aspect-ratio: 4 / 3; }
.split-media .ph { position: absolute; inset: -10% 0; }
.split h2 { font-size: clamp(2.5rem, 5.2vw, 5.25rem); margin: 1.375rem 0 0; }
.split p { color: var(--muted); max-width: 48ch; }
.ticks { list-style: none; padding: 0; margin: 1.625rem 0 0; display: grid; gap: 0.75rem; }
.ticks li { display: flex; gap: 0.875rem; align-items: baseline; font-weight: 600; }
.ticks li::before { content: ""; width: 1.375rem; height: 3px; background: var(--red2); flex-shrink: 0; transform: translateY(-0.25rem); }

/* feature cards */
.feat { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 700px) { .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1150px) { .feat.f4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .feat.f3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 700px) and (max-width: 1149px) { .feat.f5 > :nth-child(5) { grid-column: 1 / -1; } }
@media (min-width: 1150px) { .feat.f5 { grid-template-columns: repeat(6, minmax(0, 1fr)); } .feat.f5 > :nth-child(-n+3) { grid-column: span 2; } .feat.f5 > :nth-child(n+4) { grid-column: span 3; } }
.card { position: relative; overflow: hidden; border-radius: 0.625rem; background: var(--bg3); border: 1px solid var(--line); padding: 2rem 1.875rem 1.875rem; min-height: 15rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.625rem; transition: border-color .3s; --mx: 50%; --my: 50%; }
.card::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s; pointer-events: none; background: radial-gradient(26.25rem circle at var(--mx) var(--my), rgba(227,23,58,0.18), transparent 60%); }
.card:hover { border-color: rgba(227,23,58,0.55); } .card:hover::before { opacity: 1; }
.card .idx { position: absolute; top: 1.5rem; right: 1.75rem; font-size: 0.8125rem; letter-spacing: 0.2em; color: var(--muted); }
.card-ico { width: 3rem; height: 3rem; color: var(--red2); } .card-ico svg { width: 100%; height: 100%; }
.card h3 { margin: 0; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.05; }
.card p { margin: 0.625rem 0 0; color: var(--muted); font-size: 0.9375rem; }

/* renovation story */
.story { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.875rem; }
@media (min-width: 1000px) { .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; } }
.story-media { position: sticky; top: 5.75rem; height: 40vh; border-radius: 0.625rem; overflow: hidden; z-index: 2; background: var(--bg3); }
@media (min-width: 1000px) { .story-media { top: 7.5rem; height: calc(100vh - 10.625rem); } }
.story-media .ph { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity .8s, transform 1.4s cubic-bezier(.2,.7,.2,1); }
.story-media .ph.on { opacity: 1; transform: scale(1); }
.story-media .tag { position: absolute; left: 1.125rem; bottom: 1rem; z-index: 2; font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; background: rgba(10,10,11,0.75); padding: 0.5rem 0.75rem; border-radius: 0.25rem; }
.story-steps { list-style: none; margin: 0; padding: 0; }
.sstep { padding: 2.125rem 0; border-top: 1px solid var(--line); opacity: 1; transition: opacity .5s; }
@media (min-width: 1000px) { .sstep { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; } }
.sstep.on { opacity: 1; }
.sstep .n { font-size: 0.875rem; font-weight: 800; font-style: italic; color: var(--red2);  font-size: 1.25rem; }
.sstep h3 { margin: 0.5rem 0 0; font-size: clamp(1.875rem, 3.2vw, 3.25rem); }
.sstep p { color: var(--muted); max-width: 46ch; margin: 0.75rem 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.chip { padding: 0.75rem 1.25rem; border: 1px solid var(--line); border-radius: 62.4375rem; font-weight: 600; font-size: 0.9375rem; background: var(--bg2); }

/* configurator */
.cfg { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.125rem; background: var(--bg2); border: 1px solid var(--line); border-radius: 0.875rem; padding: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 1000px) { .cfg { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3.5rem; } }
.cfg fieldset { border: 0; margin: 0 0 1.625rem; padding: 0; }
.cfg legend { font-weight: 700; margin-bottom: 0.75rem; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.125rem; border-radius: 62.4375rem; border: 1px solid var(--line); background: var(--bg3); font-size: 0.9375rem; font-weight: 600; transition: background .25s, border-color .25s; }
.opt input:checked + span { background: var(--red); border-color: var(--red); }
.opt input:focus-visible + span { outline: 2px solid var(--red2); outline-offset: 2px; }
.field label { display: block; font-weight: 700; margin-bottom: 0.5rem; }
.field input, .field textarea { width: 100%; min-height: 3rem; padding: 0.75rem 1rem; border-radius: 0.625rem; border: 1px solid var(--line); background: var(--bg3); color: var(--ink); font: inherit; font-size: 1rem; }
.field textarea { min-height: 7.5rem; resize: vertical; }
.field { margin-bottom: 1.125rem; }
.cfg-sum { position: relative; border-radius: 0.75rem; background: var(--bg); border: 1px solid var(--line); padding: 1.75rem; align-self: start; }
.cfg-sum h3 { margin: 0 0 1rem; font-size: 1.625rem; }
.cfg-sum dl { margin: 0; display: grid; gap: 0.75rem; }
.cfg-sum dt { font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); }
.cfg-sum dd { margin: 2px 0 0; font-weight: 600; }
.cfg-sum .btn { margin-top: 1.5rem; }
.cfg-sum small { display: block; margin-top: 0.875rem; color: var(--muted); font-size: 0.8125rem; }

/* faq */
.faq { border-top: 1px solid var(--line); max-width: 61.25rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.5rem 0; font-size: clamp(1.125rem, 1.7vw, 1.4375rem); font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 1.375rem; height: 1.375rem; flex-shrink: 0; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 0.625rem; height: 2px; background: var(--red2); transition: transform .3s; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { margin: 0 0 1.5rem; color: var(--muted); max-width: 70ch; }

/* full image band */
.band { position: relative; height: 86vh; min-height: 30rem; overflow: hidden; }
.band .ph { position: absolute; inset: -10% 0; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,11,0.9) 0%, rgba(10,10,11,0.45) 55%, rgba(10,10,11,0.1) 100%); }
.band-in { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.band h2 { font-size: clamp(2.75rem, 7vw, 7.5rem); margin: 1.375rem 0 0; }
.band p { max-width: 46ch; color: #D4D4D6; }
.band .btn { margin-top: 1.75rem; }

/* cta strip */
.cta { position: relative; overflow: hidden; padding: clamp(5.625rem, 12vw, 10.625rem) 0; text-align: left; }
.cta-ghost { position: absolute; left: 0; top: 50%; transform: translateY(-55%); white-space: nowrap; font-size: clamp(9.375rem, 26vw, 28.75rem); color: transparent; -webkit-text-stroke: 1.2px rgba(243,243,241,0.07); pointer-events: none; }
.cta h2 { position: relative; font-size: clamp(3.375rem, 10vw, 11.25rem); margin: 1.375rem 0 0; }
.cta h2 a { text-decoration: none; } .cta h2 a:hover .red { color: #fff; }
.cta .row { position: relative; display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: 2.125rem; }

/* contact page */
.ct-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.125rem; }
@media (min-width: 900px) { .ct-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ct-item small { display: block; font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.625rem; }
.ct-item a, .ct-item p { margin: 0; font-size: clamp(1.25rem, 1.9vw, 1.6875rem); font-weight: 600; text-decoration: none; line-height: 1.3; }
.ct-item a:hover { color: var(--red2); }
.ct-item .sub { display: block; margin-top: 0.375rem; font-size: 0.9375rem; font-weight: 500; color: var(--muted); }
.route { position: relative; border-radius: 14px; overflow: hidden; background: #0E0E10; border: 1px solid var(--line); }
.route svg { display: block; width: 100%; height: auto; }
.route .rlabel { font-family: 'ArchivoJKN', 'Archivo', sans-serif; font-size: 22px; font-weight: 700; fill: #F3F3F1; }
.route .rsmall { font-family: 'ArchivoJKN', 'Archivo', sans-serif; font-size: 15px; font-weight: 600; fill: #A6A6AB; letter-spacing: 3px; }
.route-cap { position: absolute; left: 22px; bottom: 18px; font-size: 13px; color: var(--muted); }
.ct2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 1000px) { .ct2 { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 4rem; } }

/* careers */
.k-media { position: relative; height: 92vh; min-height: 32.5rem; overflow: hidden; }
.k-media .ph { position: absolute; inset: 0; background-position: 60% 55%; }
.k-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,11,0.92) 0%, rgba(10,10,11,0.55) 50%, rgba(10,10,11,0.1) 100%); }
.k-in { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.k-in h1, .k-in h2 { font-size: clamp(2.875rem, 7vw, 7.5rem); margin: 1.375rem 0 0; }
.k-list { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 0.75rem; }
.k-list li { display: flex; align-items: center; gap: 0.875rem; font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); font-weight: 600; }
.k-list li::before { content: ""; width: 1.625rem; height: 3px; background: var(--red2); flex-shrink: 0; }
.k-in .btn { margin-top: 2.125rem; }
.cols3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 1000px) { .cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cols3 h3 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); margin: 0 0 1.125rem; }

/* footer */
.ftr { border-top: 1px solid var(--line); padding: 2.5rem 0 2.875rem; }
.ftr-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.ftr-logo { width: 9.375rem; }
.ftr p { margin: 0; color: var(--muted); font-size: 0.875rem; }
.ftr nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.ftr nav a { font-size: 0.875rem; color: var(--muted); text-decoration: none; } .ftr nav a:hover { color: var(--ink); }


/* mechanika: video hero */
.phero.vid { min-height: 88svh; }
.vid-amb { filter: blur(2.5rem) brightness(0.4) saturate(1.2); transform: scale(1.25); }
.vid-card { position: absolute; z-index: 1; right: max(var(--pad), calc((100vw - 85rem) / 2 + var(--pad))); top: calc(env(safe-area-inset-top, 0px) + 6.5rem); bottom: auto; height: calc(88svh - 9.5rem); aspect-ratio: 9 / 16;
  border-radius: 1.125rem; overflow: hidden; background: var(--bg3) var(--ph) center / cover no-repeat; box-shadow: 0 2rem 5rem rgba(0,0,0,0.55); outline: 1px solid rgba(255,255,255,0.08); }
.vid-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vid-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,0) 60%, rgba(10,10,11,0.7) 100%); pointer-events: none; }
.vid-tag { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.vid-tag i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--red2); box-shadow: 0 0 0.6rem var(--red2); animation: rec 1.6s ease-in-out infinite; }
@keyframes rec { 50% { opacity: 0.25; } }
.vid-btn { position: absolute; right: 0.75rem; top: 0.75rem; z-index: 2; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); background: rgba(10,10,11,0.45); backdrop-filter: blur(6px); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.vb-pause { width: 0.75rem; height: 0.875rem; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.vid-btn[aria-pressed="true"] .vb-pause { width: 0; height: 0; border: 0; border-left: 0.75rem solid #fff; border-top: 0.45rem solid transparent; border-bottom: 0.45rem solid transparent; margin-left: 0.2rem; }
@media (min-width: 1000px) { .phero.vid .phero-in > * { max-width: calc(100% - (88svh - 9.5rem) * 0.5625 - 3rem); } }
@media (max-width: 999px) {
  .phero.vid { min-height: 92svh; }
  .vid-card { inset: 0; right: 0; top: 0; bottom: 0; height: auto; aspect-ratio: auto; border-radius: 0; outline: 0; box-shadow: none; z-index: -1; }
  .vid-card::after { background: linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.1) 35%, rgba(10,10,11,0.85) 80%, rgba(10,10,11,0.96) 100%); }
  .vid-tag { top: calc(env(safe-area-inset-top, 0px) + 5.5rem); bottom: auto; left: var(--pad); }
  .vid-btn { top: calc(env(safe-area-inset-top, 0px) + 5rem); right: var(--pad); }
}
/* project gallery */
.gal { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); padding: 0.5rem var(--pad) 1.5rem; scrollbar-width: thin; scrollbar-color: var(--red) transparent; cursor: grab; }
.gal.drag { cursor: grabbing; scroll-snap-type: none; }
.gal::-webkit-scrollbar { height: 6px; } .gal::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }
.gi { flex: 0 0 auto; margin: 0; scroll-snap-align: start; }
.gi-img { display: block; height: min(70vh, 38rem); border: 0; padding: 0; border-radius: 0.625rem; cursor: zoom-in; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s; }
.gi-t .gi-img { aspect-ratio: 3 / 4; } .gi-w .gi-img { aspect-ratio: 4 / 3; }
.gi-img:hover { transform: scale(0.985); filter: brightness(1.08); }
.gi figcaption { display: flex; gap: 0.75rem; max-width: 28rem; margin-top: 0.875rem; color: var(--muted); font-size: 0.9375rem; }
.gi figcaption span { color: var(--red2); font-weight: 800; font-style: italic; }
.gal-nav { display: flex; gap: 0.625rem; }
.gal-btn { width: 3.25rem; height: 3.25rem; border-radius: 50%; border: 1px solid var(--line); background: var(--bg3); color: var(--ink); font-size: 1.25rem; cursor: pointer; transition: background .3s, border-color .3s; }
.gal-btn:hover { background: var(--red); border-color: var(--red); }
@media (max-width: 699px) { .gi-img { height: auto; width: 82vw; } .gi-w .gi-img { width: 88vw; } .gal-nav { display: none; } }
/* lightbox */
.lb { position: fixed; inset: 0; z-index: 130; background: rgba(5,5,6,0.94); display: flex; align-items: center; justify-content: center; padding: calc(env(safe-area-inset-top, 0px) + 4rem) 1rem calc(env(safe-area-inset-bottom, 0px) + 5rem); }
.lb[hidden] { display: none; }
.lb-img { width: 100%; height: 100%; background-size: contain; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 1.5rem); text-align: center; color: #D4D4D6; margin: 0; padding: 0 4rem; font-size: 0.9375rem; }
.lb-x, .lb-p, .lb-n { position: absolute; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); background: rgba(10,10,11,0.6); color: #fff; font-size: 1.375rem; cursor: pointer; }
.lb-x { top: calc(env(safe-area-inset-top, 0px) + 1rem); right: 1rem; font-size: 1.75rem; line-height: 1; }
.lb-p { left: 1rem; top: 50%; transform: translateY(-50%); } .lb-n { right: 1rem; top: 50%; transform: translateY(-50%); }

/* mechanika: engine-rebuild slideshow */
.ss .ss-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; }
.ss .ss-slide.on { opacity: 1; animation: kb 7s ease-out both; }
@keyframes kb { from { transform: scale(1.12); } to { transform: scale(1); } }
.ss-bars { position: absolute; left: 0.875rem; right: 4rem; top: 1.25rem; z-index: 3; display: flex; gap: 0.375rem; }
.ss-bars span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.28); overflow: hidden; }
.ss-bars i { display: block; height: 100%; width: 0; background: #fff; }
.ss-zone { position: absolute; top: 0; bottom: 0; width: 40%; z-index: 2; border: 0; background: transparent; cursor: pointer; }
.ss-prev { left: 0; } .ss-next { right: 0; }
.ss-zone:focus-visible { outline-offset: -4px; }
.ss .vid-tag b { font-weight: 600; letter-spacing: 0.08em; }
.ss .vid-btn { top: 0.5rem; }
@media (prefers-reduced-motion: reduce) { .ss .ss-slide.on { animation: none; } }
@media (max-width: 999px) { .phero.vid .phero-in { pointer-events: none; } .phero.vid .phero-in a, .phero.vid .phero-in button { pointer-events: auto; } }
@media (max-width: 999px) { .ss-bars { top: calc(env(safe-area-inset-top, 0px) + 5.25rem); left: var(--pad); right: calc(var(--pad) + 3.5rem); } .ss .vid-tag { top: auto; bottom: 1.25rem; } .ss .vid-btn { top: calc(env(safe-area-inset-top, 0px) + 4.4rem); } .ss .vid-tag { display: none; } }
/* team */
.team-media { position: relative; aspect-ratio: 16 / 9; border-radius: 0.875rem; overflow: hidden; background: var(--bg3); }
.team-media .ph { position: absolute; inset: -8% 0; }
.team-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.team-row p { margin: 0; color: var(--muted); max-width: 52ch; }
.team-row p b { color: var(--ink); }
@media (max-width: 699px) { .team-media { aspect-ratio: 4 / 3; } }

/* without JavaScript (e.g. file previews on phones) pages still switch, via :target */
html:not(.js) .page { display: none; }
html:not(.js) .page:target, html:not(.js) .page[data-page="start"] { display: block; }
html:not(.js) main:has(.page:target:not([data-page="start"])) .page[data-page="start"] { display: none; }
@media (max-width: 700px) { html:not(.js) h1.display, html:not(.js) h2.display { font-size: 9vw !important; } html:not(.js) h3.display { font-size: min(7.2vw, 2.25rem) !important; } }
@media (max-width: 1320px) {
  html:not(.js) .burger { display: none; }
  html:not(.js) .hdr { background: rgba(10,10,11,0.92); }
  html:not(.js) .hdr-in { flex-wrap: wrap; height: auto; padding: 0.75rem var(--pad) 0.375rem; row-gap: 0.25rem; }
  html:not(.js) .nav { display: flex; order: 3; width: 100%; overflow-x: auto; gap: 1.125rem; }
}
.eyebrow-lg { font-size: clamp(0.9375rem, 1.3vw, 1.3125rem); letter-spacing: 0.26em; gap: 1.125rem; }
.eyebrow-lg .bars i:nth-child(1) { width: 2.125rem; } .eyebrow-lg .bars i:nth-child(2) { width: 1.5rem; } .eyebrow-lg .bars i:nth-child(3) { width: 0.875rem; }
h2.eyebrow { margin: 0; font-style: normal; }
.sstep h3 { transition: opacity .5s; } .sstep:not(.on) h3 { opacity: 0.5; } .sstep:not(.on) .n { opacity: 1; }
.crumbs a { display: inline-flex; align-items: center; min-height: 1.5rem; }
.anim .rv { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none !important; } .hero-scroll i::after { animation: none; } .story-media .ph { transition: none; } }

/* ---- multi-page additions ---- */
.arrive #wipe { display: block; }
html[data-mp]:not(.js) .page { display: block; }
.ph > .phi { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.e404 { min-height: 100svh; display: flex; align-items: center; }
