:root {
  --ink:           #f1efe9;
  --ink-soft:      #d6d2c6;
  --ink-muted:     #8d8a82;
  --line:          rgba(241, 239, 233, 0.16);
  --line-strong:   rgba(241, 239, 233, 0.32);
  --stage-deep:    #060c10;
  --accent:        #6fc9d6;

  --font-display:  "Fraunces", "Times New Roman", serif;
  --font-logo:     "Bodoni Moda", "Didot", "Bodoni 72", serif;
  --font-sans:     "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max:   min(1320px, 92vw);
  --pad-x: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  background: var(--stage-deep);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  background: var(--stage-deep);
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── NAV ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(16px, 2.2vw, 26px) var(--pad-x);
  /* always readable — subtle glass from first frame */
  background: rgba(6,12,16,.32);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: background 500ms ease, border-color 500ms ease, backdrop-filter 500ms ease;
}
.nav.is-solid {
  background: rgba(6,12,16,.84);
  backdrop-filter: blur(18px) saturate(155%);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
  border-bottom: 1px solid var(--line);
}

.brand {
  grid-column: 1;
  justify-self: start;
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.brand-mark {
  width: 38px; height: 38px; border-radius: 999px;
  background: #fff; padding: 3px;
  display: grid; place-items: center;
  box-shadow: 0 6px 24px rgba(8,28,38,.45), 0 0 0 1px rgba(255,255,255,.6) inset;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { line-height: 1; }
.brand-name small { display: block; font-size: 9px; letter-spacing: .3em; color: var(--ink-muted); margin-top: 4px; }

.nav-links {
  grid-column: 2;
  justify-self: center;
  display: flex; gap: clamp(20px, 2.6vw, 40px);
  font-size: 17px; letter-spacing: .025em; color: var(--ink-soft);
}
.nav-links a { position: relative; padding: 6px 0; transition: color 250ms; }
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 300ms ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-menu-toggle {
  display: none;
}

.nav-mobile-cta {
  display: none;
}

.nav-action {
  justify-self: end;
  display: grid;
  justify-items: end;
}
.nav-cta {
  grid-column: 3;
  justify-self: end;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 14px; border-radius: 999px;
  border: 1px solid rgba(111,201,214,.35);
  background: rgba(111,201,214,.08);
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
  transition: background 280ms, border-color 280ms, color 280ms;
}
.nav-cta:hover {
  background: rgba(111,201,214,.18);
  border-color: rgba(111,201,214,.6);
  color: var(--ink);
}
.nav-links .nav-mobile-cta { display: none; }
.nav-cta .nav-cta-arrow { font-size: 13px; transition: transform 280ms ease; }
.nav-cta:hover .nav-cta-arrow { transform: translateX(3px); }
@keyframes pulse { 0%,100% { opacity: .55; transform: scale(.85); } 50% { opacity: 1; transform: scale(1); } }

@media (min-width: 1025px) and (max-width: 1440px) {
  .nav {
    gap: clamp(16px, 2vw, 28px);
  }

  .nav-links {
    gap: clamp(18px, 1.85vw, 26px);
    font-size: 16px;
  }

  .nav-cta {
    width: 42px;
    height: 42px;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0;
    letter-spacing: 0;
  }

  .nav-cta .nav-cta-arrow {
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  body.nav-menu-open { overflow: hidden; }

  .nav {
    grid-template-columns: auto 1fr auto auto;
    gap: 12px;
  }

  .brand {
    grid-column: 1;
  }

  .nav-cta {
    grid-column: 3;
    justify-self: end;
  }

  .nav-menu-toggle {
    grid-column: 4;
    justify-self: end;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(111,201,214,.35);
    border-radius: 999px;
    background: rgba(6,12,16,.5);
    color: var(--ink);
    display: inline-grid;
    place-items: center;
    gap: 0;
    padding: 0;
    cursor: pointer;
  }

  .nav-menu-toggle span {
    width: 17px;
    height: 1px;
    background: currentColor;
    display: block;
    transition: transform .22s ease, opacity .22s ease;
  }

  .nav.is-menu-open .nav-menu-toggle span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .nav.is-menu-open .nav-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav.is-menu-open .nav-menu-toggle span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    top: calc(var(--nav-h, 78px) + 8px);
    left: var(--pad-x);
    right: auto;
    z-index: 210;
    display: grid;
    grid-template-columns: 1fr;
    justify-self: stretch;
    justify-items: stretch;
    width: min(360px, calc(100vw - (var(--pad-x) * 2)));
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(111,201,214,.24);
    border-radius: 18px;
    background: rgba(6,12,16,.94);
    box-shadow: 0 20px 60px rgba(0,0,0,.38);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
  }

  .nav.is-menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    grid-column: 1;
    width: 100%;
    padding: 14px 14px;
    border-radius: 10px;
    font-size: 14px;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: rgba(111,201,214,.1);
  }

  .nav-links a::after { display: none; }
}

/* ─── HERO SCAFFOLD ───────────────────────────────── */
.hero-scroll {
  position: relative;
  height: 335vh;
  background: var(--stage-deep);
}
.hero-stage {
  position: sticky; top: 0;
  height: 100vh; min-height: 100dvh;
  width: 100%; overflow: hidden;
  background: var(--stage-deep);
}

/* Photo layers: mid crop blends into the full aerial at matching scale */
.hero-layer {
  position: absolute; inset: 0;
  background-repeat: no-repeat;
  background-position: center 50%;
  background-size: cover;
  will-change: opacity, filter, background-size, background-position;
}
.hero-layer picture,
.hero-layer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-layer img {
  object-fit: cover;
  object-position: center 50%;
  transform-origin: center;
  will-change: transform;
}
/* Layer 1: mid shot — starts close, then zooms out to the exact crop */
.hero-mid {
  background-image: url("../images/hero-mid-center.webp");
  background-size: auto 165%;
  background-position: center 50%;
  opacity: 1;
}
/* Layer 2: full aerial — JS starts it at the same visible crop as the mid image */
.hero-full {
  background-image: url("../images/hero-full-center.webp");
  background-size: auto 146.7%;
  background-position: center 50%;
  opacity: 0;
}

/* Vignette: bottom heavy so text pops, radial edge darkening */
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 120% 80% at 50% 38%, transparent 48%, rgba(6,12,16,.5) 100%),
    linear-gradient(180deg,
      rgba(6,12,16,.4)  0%,
      rgba(6,12,16,0)   22%,
      rgba(6,12,16,0)   55%,
      rgba(6,12,16,.72) 100%
    );
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none;
  opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>");
}

/* ─── HERO COPY ───────────────────────────────────── */
.hero-copy {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-copy > * { pointer-events: auto; }

/* shared scene defaults */
.scene {
  position: absolute;
  left: var(--pad-x); right: var(--pad-x);
  opacity: 0;
  will-change: opacity, transform;
}

/* ── SCENE 0: initial brand overlay (visible at page load) ── */
.scene-intro {
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 3.2vh, 34px);
  text-align: center;
}
.scene-intro .brand-badge {
  position: absolute;
  left: 50%;
  top: clamp(-247px, calc(-20vw - 15px), -165px);
  transform: translateX(-50%);
  z-index: 2;
}
.scene-intro .badge-mark {
  width: clamp(260px, 24vw, 390px);
  height: clamp(260px, 24vw, 390px);
  display: grid; place-items: center;
  filter: drop-shadow(0 18px 42px rgba(4,14,18,.58)) drop-shadow(0 0 20px rgba(111,201,214,.24));
}
.scene-intro .badge-mark img { width: 100%; height: 100%; object-fit: contain; }
.scene-intro .intro-tag {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(15px, 1.65vw, 22px);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,250,242,.86);
  line-height: 1.45;
  text-shadow: 0 3px 24px rgba(0,0,0,.72);
}
.scene-intro .intro-tag em { color: var(--ink); font-style: italic; }
.scene-intro .intro-title {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(58px, 10.4vw, 164px);
  font-weight: 600;
  line-height: .84;
  letter-spacing: .06em;
  margin: 0;
  color: #fff8ed;
  -webkit-text-stroke: 1px rgba(4,14,18,.22);
  text-shadow:
    0 2px 0 rgba(255,255,255,.12),
    0 6px 18px rgba(4,14,18,.72),
    0 20px 70px rgba(4,14,18,.92);
  text-wrap: balance;
  isolation: isolate;
  transform: translateY(clamp(28px, 3.2vw, 52px));
}
.scene-intro .intro-title::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 112%;
  height: 118%;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center,
      rgba(3,15,20,.54) 0%,
      rgba(3,15,20,.36) 38%,
      rgba(3,15,20,.14) 68%,
      transparent 100%
    );
  filter: blur(10px);
}
.scene-intro .intro-title .soft {
  display: block;
  font-style: normal;
  font-weight: 400;
  color: #eee4d6;
  letter-spacing: .11em;
}
.scene-intro .intro-tag {
  transform: translateY(clamp(28px, 3.2vw, 52px));
}
.intro-scroll-hint {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: min(92vw, 420px);
  color: #fffaf2;
  text-shadow: 0 1px 10px rgba(0,0,0,.55);
  transform: translateY(clamp(34px, 3.8vw, 60px));
}
.intro-scroll-hint .hint-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 12px;
  border: 1px solid rgba(241,239,233,.34);
  border-radius: 999px;
  background: rgba(5,19,24,.46);
  backdrop-filter: blur(10px) saturate(135%);
  -webkit-backdrop-filter: blur(10px) saturate(135%);
  box-shadow: 0 16px 44px rgba(4,14,18,.34), 0 0 0 1px rgba(255,255,255,.08) inset;
}
.intro-scroll-hint .orbit {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(241,239,233,.62);
  display: grid;
  place-items: center;
  position: relative;
  flex: 0 0 auto;
  background: rgba(255,255,255,.08);
}
.intro-scroll-hint .orbit::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #fffaf2;
  box-shadow: 0 0 18px rgba(255,255,255,.95), 0 0 28px rgba(111,201,214,.7);
  animation: scrollDot 1.9s infinite cubic-bezier(.45,.05,.2,1);
}
.intro-scroll-hint .orbit::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.38);
  animation: breatheRing 1.9s infinite ease-out;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(-8px) scale(.82); opacity: .45; }
  48% { transform: translateY(7px) scale(1); opacity: 1; }
}
@keyframes breatheRing {
  0% { transform: scale(.86); opacity: .8; }
  100% { transform: scale(1.14); opacity: 0; }
}

/* ── SCENE 1: eyebrow strip ── */
.scene-eyebrow {
  top: clamp(88px, 13vh, 132px);
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: .42em; text-transform: uppercase;
  color: var(--ink-soft);
}
.scene-eyebrow .rule { width: 56px; height: 1px; background: var(--ink-soft); opacity: .5; }
.hero-seo-note {
  top: clamp(116px, 16vh, 166px);
  left: auto;
  right: var(--pad-x);
  max-width: min(520px, 34vw);
  margin: 0;
  color: rgba(241,239,233,.78);
  font-size: clamp(13px, .95vw, 15px);
  line-height: 1.55;
  text-align: right;
  text-shadow: 0 2px 18px rgba(0,0,0,.72);
}

/* ── SCENE 2: centred poetic quote ── */
.scene-quote {
  top: 50%; transform: translateY(-50%);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400; font-style: italic;
  font-size: clamp(32px, 6vw, 82px);
  line-height: 1.06; letter-spacing: -.01em;
  color: #fff8ed; text-wrap: balance;
  text-shadow:
    0 1px 0 rgba(255,255,255,.16),
    0 6px 18px rgba(0,0,0,.72),
    0 18px 56px rgba(0,0,0,.58);
  isolation: isolate;
}
.scene-quote::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: min(1040px, 108vw);
  height: 52%;
  min-height: 170px;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center,
      rgba(3,15,20,.62) 0%,
      rgba(3,15,20,.46) 36%,
      rgba(3,15,20,.16) 68%,
      transparent 100%
    );
  filter: blur(8px);
}
.scene-quote em {
  color: #9feaf2;
  text-shadow:
    0 0 18px rgba(111,201,214,.34),
    0 8px 24px rgba(0,0,0,.72);
}

/* ── SCENE 3: main H1 ── */
.scene-headline {
  bottom: clamp(260px, 36vh, 360px);
  display: grid;
  gap: clamp(18px, 2.2vw, 30px);
  max-width: min(980px, 94vw);
}
.scene-headline .kicker {
  font-size: 11px; letter-spacing: .36em; text-transform: uppercase;
  color: var(--accent);
  display: flex; align-items: center; gap: 14px;
}
.scene-headline .kicker .rule { width: 44px; height: 1px; background: var(--accent); opacity: .7; }
.scene-headline h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(52px, 8.5vw, 118px);
  line-height: .95; letter-spacing: -.025em;
  margin: 0; text-wrap: balance;
  text-shadow: 0 6px 48px rgba(6,12,16,.55);
}
.scene-headline h1 .ital { font-style: italic; font-weight: 300; color: var(--ink-soft); }

/* ── SCENE 4: action ── */
.scene-action {
  bottom: clamp(110px, 13.5vh, 158px);
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(420px, 1.25fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}
.scene-action p {
  max-width: 46ch; color: var(--ink-soft);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.65; margin: 0;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px;
  font-size: 14px; letter-spacing: .04em;
  border: 1px solid transparent;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), background 300ms, border-color 300ms, box-shadow 300ms;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink); color: var(--stage-deep);
  box-shadow: 0 14px 40px -16px rgba(241,239,233,.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -16px rgba(241,239,233,.7); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.btn .arrow { transition: transform 320ms ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ── HERO HCOM: hotel/commercial strip at bottom of hero ── */
.hero-hcom {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(18px, 2.5vh, 28px) var(--pad-x);
  overflow: hidden;
  background: rgba(4, 12, 20, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(241,239,233,.10);
  opacity: 0;
  will-change: opacity, transform;
  pointer-events: none;
}
.hero-hcom > * { pointer-events: auto; }

.hcom-text { display: grid; gap: 5px; }
.hcom-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent);
}
.hcom-desc {
  color: var(--ink-soft);
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.45;
  margin: 0;
}
.hcom-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(241,239,233,.06);
  font-size: 12px; font-weight: 600; letter-spacing: .06em;
  color: var(--ink);
  transition: background 280ms, border-color 280ms;
  white-space: nowrap;
}
.hcom-cta:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.40); }
.hcom-cta .arrow { transition: transform 280ms ease; }
.hcom-cta:hover .arrow { transform: translateX(4px); }

/* ── SCROLL CUE ── */
.scroll-cue {
  position: absolute; left: 50%; bottom: 24px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: .44em; text-transform: uppercase;
  color: #fffaf2; opacity: 0; pointer-events: none;
  text-shadow: 0 2px 14px rgba(0,0,0,.72);
}
.scroll-cue .line {
  width: 1px; height: 56px;
  background: linear-gradient(180deg, rgba(255,250,242,.95), transparent);
  position: relative; overflow: hidden;
  box-shadow: 0 0 14px rgba(255,255,255,.45);
}
.scroll-cue .line::after {
  content: ""; position: absolute; left: 0; right: 0; top: -40%;
  height: 28%;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  animation: trail 2.4s infinite cubic-bezier(.5,.1,.5,1);
}
@keyframes trail { 0% { top: -40%; } 100% { top: 110%; } }

/* ─── TECHNIQUE ───────────────────────────────────── */
.tech {
  position: relative;
  background:
    linear-gradient(90deg, rgba(6,12,16,.92) 0%, rgba(6,12,16,.74) 48%, rgba(6,12,16,.22) 100%),
    radial-gradient(ellipse at 72% 48%, rgba(6,12,16,0) 0%, rgba(6,12,16,.34) 76%),
    url("../images/tech-background.webp") center / cover no-repeat;
  min-height: min(920px, 100dvh);
  padding: clamp(82px, 13vh, 150px) var(--pad-x);
  border-top: 1px solid var(--line);
  display: grid;
  align-items: start;
  overflow: hidden;
}
.tech::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(150px, 20vh, 240px);
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(6,12,16,0) 0%,
      rgba(8,22,31,.5) 42%,
      #0d2030 100%
    );
  z-index: 0;
}
.tech-inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.tech-content {
  display: grid;
  gap: clamp(24px, 3vw, 38px);
  padding: clamp(20px, 3vw, 34px) 0;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .34em;
  text-transform: uppercase;
}
.section-kicker .rule {
  width: 46px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.tech h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 74px);
  line-height: .98;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}
.tech h2 .ital {
  font-style: italic;
  font-weight: 300;
  color: var(--ink-soft);
}
.tech-lead {
  max-width: 58ch;
  margin: 0;
  color: #ddd8cc;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.72;
  text-shadow: 0 2px 18px rgba(0,0,0,.58);
}
.tech-points {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tech-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding-top: 18px;
  border-top: 1px solid rgba(241,239,233,.22);
  cursor: pointer;
  transition: opacity .25s ease;
}
.tech-points li.is-muted {
  opacity: .32;
}
.tech-points li:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 6px;
}
.tech-points .n {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
  min-width: 34px;
}
.tech-points strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.tech-points span {
  color: #bdb7ac;
  font-size: 14px;
  line-height: 1.62;
  text-shadow: 0 2px 16px rgba(0,0,0,.5);
}
.tech-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.tech-spec {
  background: rgba(6,12,16,.44);
  padding: 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.tech-spec b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.1vw, 32px);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
}
.tech-spec small {
  display: block;
  margin-top: 8px;
  color: var(--ink-muted);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ─── TECH DETAIL PANEL ──────────────────────────── */
.tech-detail {
  padding-top: clamp(20px, 3vw, 34px);
  position: sticky;
  top: 6rem;
}
.tech-detail-stack {
  position: relative;
  min-height: 380px;        /* stała wysokość — panele się nie przesuwają */
}
.tech-detail-hint,
.tech-detail-item {
  position: absolute;       /* wszystkie panele w tym samym miejscu */
  top: 0;
  left: 0;
  right: 0;
  display: none;
}
.tech-detail-hint.is-active,
.tech-detail-item.is-active {
  display: block;
}
.tech-detail-hint {
  align-items: center;
  gap: 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  opacity: .45;
  padding-top: 1.5rem;
}
.tech-detail-hint.is-active {
  display: flex;
}
.tech-detail-hint .rule {
  width: 36px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.detail-num {
  font-family: var(--font-display);
  font-size: clamp(80px, 9vw, 120px);
  line-height: 1;
  color: var(--accent);
  opacity: .13;
  margin-bottom: -0.22em;
  user-select: none;
  letter-spacing: -.02em;
}
.detail-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 1.4rem;
  line-height: 1.08;
}
.detail-body {
  color: #ddd8cc;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.82;
  margin: 0 0 1.1rem;
  text-shadow: 0 2px 18px rgba(0,0,0,.5);
}

/* ─── TECH MORE BUTTON ───────────────────────────── */
.tech-more-btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: .28em;
  transition: opacity .2s;
  margin-top: .5rem;
}
.tech-more-btn:hover { opacity: .62; }

/* ─── EQUIPMENT ──────────────────────────────────── */
.equipment {
  position: relative;
  background:
    linear-gradient(180deg, #0d2030 0%, rgba(13,32,48,0) 190px),
    radial-gradient(ellipse 90% 70% at 12% 18%, rgba(111,201,214,.22), transparent 58%),
    radial-gradient(ellipse 80% 60% at 88% 74%, rgba(241,239,233,.15), transparent 62%),
    linear-gradient(180deg, #0d2030 0%, #112637 48%, #0a1c27 100%);
  padding: clamp(82px, 13vh, 150px) var(--pad-x);
  overflow: hidden;
  margin-top: -1px;
}
.equipment::after,
.commercial::after,
.aftermath::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(120px, 16vh, 210px);
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(10,28,39,0) 0%,
      rgba(12,30,42,.58) 48%,
      #0d1e2a 100%
    );
  z-index: 1;
}
.site-footer::before,
.equipment::before,
.equip-cta::before,
.commercial::before,
.aftermath::before,
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .84;
  background-image:
    radial-gradient(circle at 16% 22%, rgba(111,201,214,.57) 0 2px, transparent 4px),
    radial-gradient(circle at 74% 18%, rgba(241,239,233,.43) 0 2px, transparent 4px),
    radial-gradient(circle at 34% 72%, rgba(111,201,214,.41) 0 3px, transparent 6px),
    radial-gradient(circle at 88% 64%, rgba(111,201,214,.49) 0 2px, transparent 5px),
    radial-gradient(circle at 52% 44%, rgba(241,239,233,.24) 0 4px, transparent 8px);
  background-size: 170px 170px, 230px 230px, 210px 210px, 280px 280px, 360px 360px;
  animation: bubble-drift 24s linear infinite;
}
.site-footer > *,
.equipment > *,
.equip-cta > *,
.commercial > *,
.aftermath > *,
.contact > * {
  position: relative;
  z-index: 1;
}
@keyframes bubble-drift {
  from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 0 -170px, 0 -230px, 0 -210px, 0 -280px, 0 -360px; }
}
.equipment-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: clamp(52px, 8vh, 96px);
}
.equip-header {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
  max-width: min(760px, 100%);
}
.equip-header h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 74px);
  line-height: .98;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}
.equip-header h2 .ital {
  font-style: italic;
  font-weight: 300;
  color: var(--ink-soft);
}
.equip-lead {
  max-width: 56ch;
  margin: 0;
  color: #ddd8cc;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.7;
}

/* 5×2 card grid */
.equip-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(8px, 1.1vw, 14px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.equip-link {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: clamp(16px, 1.8vw, 22px);
  background: rgba(241,239,233,.04);
  border: 1px solid rgba(241,239,233,.11);
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 300ms, border-color 300ms;
}
.equip-item {
  min-width: 0;
}
.equip-item:hover .equip-link,
.equip-link:focus-visible {
  background: rgba(241,239,233,.07);
  border-color: rgba(241,239,233,.2);
}
.equip-link:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}
.equip-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(111,201,214,.08);
  border: 1px solid rgba(111,201,214,.18);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: background 300ms, border-color 300ms;
}
.equip-item:hover .equip-icon {
  background: rgba(111,201,214,.15);
  border-color: rgba(111,201,214,.34);
}
.equip-icon svg {
  width: 17px; height: 17px;
  stroke: var(--accent); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.equip-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 7px;
}
.equip-body strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.1;
}
.equip-body p {
  color: #a8a39a;
  font-size: 12.5px;
  line-height: 1.58;
  margin: 0;
  flex: 1;
}
.equip-tag {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 8px;
  border: 1px solid rgba(111, 201, 214, .26);
  border-radius: 3px;
}

/* ─── EQUIP CTA ───────────────────────────────────── */
.equip-cta {
  background: #0a1c27;
  padding: 3rem var(--pad-x);
  text-align: center;
  position: relative;
}
.equip-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}
.equip-cta-label {
  font-size: .62rem;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}
.equip-cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .7rem;
}
.equip-cta-heading em { font-style: italic; color: var(--ink-soft); font-weight: 300; }
.equip-cta-sub {
  font-size: .88rem;
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 46ch;
  margin: 0 auto;
}
@media (max-width: 560px) {
  .equip-cta { padding: 2.4rem var(--pad-x); }
  .equip-cta-heading { font-size: 1.3rem; }
}

/* ─── COMMERCIAL CALLOUT ─────────────────────────── */
.commercial {
  position: relative;
  padding: clamp(44px, 6vh, 72px) var(--pad-x) clamp(64px, 9vh, 104px);
  background:
    linear-gradient(180deg, #0d1e2a 0%, rgba(13,30,42,0) 200px),
    radial-gradient(ellipse 90% 60% at 14% 28%, rgba(111,201,214,.20), transparent 60%),
    radial-gradient(ellipse 78% 65% at 84% 72%, rgba(241,239,233,.11), transparent 64%),
    linear-gradient(180deg, #0d2030 0%, #0f2438 55%, #0a1c27 100%);
  margin-top: -1px;
  overflow: hidden;
}
.commercial-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.commercial-text { display: grid; gap: clamp(14px, 2vw, 20px); }
.commercial-text h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(26px, 3.2vw, 50px);
  line-height: .98; letter-spacing: -.015em;
  margin: 0; text-wrap: balance;
}
.commercial-text h2 .ital {
  font-style: italic; font-weight: 300; color: var(--ink-soft);
}
.commercial-text p {
  max-width: 58ch; margin: 0;
  color: #ddd8cc;
  font-size: clamp(14px, 1.1vw, 17px); line-height: 1.7;
}

/* ─── COMMERCIAL CARDS ────────────────────────────── */
.commercial-cards-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: clamp(20px, 3vw, 36px);
}
.commercial-cards-header {
  text-align: center;
}
.commercial-cards-header h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 38px);
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: .5rem 0 .8rem;
  text-wrap: balance;
}
.commercial-cards-header h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--ink-muted);
}
.commercial-cards-header p {
  color: var(--ink-soft);
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.7;
  max-width: 56ch;
  margin: 0 auto;
}
.commercial-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 26px);
}
.commercial-card {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 36px);
  aspect-ratio: 1.35 / 1;
  border-radius: 20px;
  border: 1px solid rgba(111,201,214,.16);
  background:
    linear-gradient(148deg, rgba(111,201,214,.09) 0%, rgba(10,24,34,0) 58%),
    rgba(10,24,34,.38);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}
.commercial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 78% 58% at 24% 18%, rgba(111,201,214,.18), transparent 66%);
  opacity: 0;
  transition: opacity .32s ease;
  pointer-events: none;
}
.commercial-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 64px rgba(0,0,0,.38), 0 0 0 1px rgba(111,201,214,.32);
  border-color: rgba(111,201,214,.36);
}
.commercial-card:hover::before { opacity: 1; }
.commercial-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(111,201,214,.22);
  background: rgba(111,201,214,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.commercial-card-icon svg {
  width: 23px;
  height: 23px;
  stroke: rgba(111,201,214,.88);
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.commercial-card-body {
  margin-top: auto;
  padding-top: clamp(14px, 2vw, 24px);
}
.commercial-card-body strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.15;
  margin-bottom: .8rem;
}
.commercial-card-body strong em {
  font-style: italic;
  font-weight: 300;
  color: var(--ink-muted);
}
.commercial-card-body p {
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 1.7rem;
}
.commercial-card-cta {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-size: .72rem;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(111,201,214,.82);
  transition: gap .22s;
}
.commercial-card:hover .commercial-card-cta { gap: .78em; }

/* ─── AFTERMATH ───────────────────────────────────── */
.aftermath {
  position: relative;
  background:
    radial-gradient(ellipse 70% 90% at 75% 40%, rgba(111,201,214,.22), transparent 62%),
    radial-gradient(ellipse 60% 70% at 12% 75%, rgba(241,239,233,.12), transparent 66%),
    linear-gradient(180deg, #0a1c27 0%, #0f2030 100%);
  padding: clamp(56px, 9vh, 110px) var(--pad-x) clamp(40px, 6vh, 72px);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.aftermath-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 96px); align-items: end;
}
.aftermath h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.05; letter-spacing: -.015em;
  color: var(--ink); margin: 0; text-wrap: balance;
}
.aftermath h2 .ital { font-style: italic; font-weight: 300; color: var(--ink-muted); }
.aftermath p { max-width: 52ch; font-size: 15px; line-height: 1.65; margin: 0; color: var(--ink-soft); }

/* ─── CONTACT ─────────────────────────────────────── */
.contact {
  position: relative;
  background:
    linear-gradient(180deg, #0d1e2a 0%, rgba(13,30,42,0) 180px),
    radial-gradient(ellipse 80% 70% at 82% 20%, rgba(111,201,214,.32), transparent 58%),
    radial-gradient(ellipse 72% 58% at 12% 88%, rgba(241,239,233,.15), transparent 64%),
    linear-gradient(180deg, rgba(13,30,42,1) 0%, rgba(8,20,28,1) 100%);
  padding: clamp(72px, 11vh, 132px) var(--pad-x);
  overflow: hidden;
  margin-top: -1px;
}
.contact-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(42px, 7vw, 112px);
  align-items: start;
}
.contact-lead {
  display: grid;
  gap: clamp(18px, 2.6vw, 28px);
}
.contact-lead h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 6.2vw, 88px);
  line-height: .96;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}
.contact-lead h2 .ital {
  display: block;
  font-style: italic;
  font-weight: 300;
  color: var(--ink-soft);
}
.contact-lead p {
  max-width: 48ch;
  margin: 0;
  color: #ddd8cc;
  font-size: clamp(15px, 1.12vw, 18px);
  line-height: 1.72;
}
.contact-panel {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
}
.contact-region {
  display: grid;
  grid-template-columns: minmax(96px, .28fr) minmax(0, 1fr);
  gap: 8px clamp(18px, 3vw, 40px);
  align-items: baseline;
  padding: clamp(22px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--line);
}
.contact-region a {
  color: var(--ink);
  font-size: clamp(18px, 2vw, 30px);
  line-height: 1.16;
  transition: color 240ms ease;
}
.contact-region a:hover { color: var(--accent); }
.contact-region a:nth-of-type(n + 2) {
  grid-column: 2;
}
.contact-label {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.contact-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 72px);
  padding-top: clamp(24px, 3.5vw, 38px);
}
.contact-meta p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.6;
}
.contact-note {
  margin-top: auto;
  color: var(--ink-muted);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 880px) {
  .scene-action { grid-template-columns: 1fr; gap: 18px; bottom: clamp(108px, 14vh, 162px); }
  .tech {
    background:
      linear-gradient(180deg, rgba(6,12,16,.88) 0%, rgba(6,12,16,.68) 54%, rgba(6,12,16,.94) 100%),
      url("../images/tech-background.webp") center / cover no-repeat;
  }
  .tech-specs { grid-template-columns: 1fr; }
  .tech-inner { grid-template-columns: 1fr; }
  .tech-detail { position: static; }
  .tech-detail-stack { min-height: auto; }
  .tech-detail-hint, .tech-detail-item { position: static; }
  .aftermath-inner { grid-template-columns: 1fr; align-items: start; }
  .commercial-inner { grid-template-columns: 1fr; }
  .commercial-cards-grid { grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.5vw, 16px); }
  .commercial-card { aspect-ratio: 1.5 / 1; }
  .commercial-card:last-child { grid-column: 1 / -1; aspect-ratio: 3 / 1; }
  .contact-inner { grid-template-columns: 1fr; }
  .equip-list { grid-template-columns: repeat(3, 1fr); }
}

/* ─── MOBILE (≤640px) ────────────────────────────────── */
@media (max-width: 640px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px var(--pad-x);
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
    gap: 9px;
    font-size: 11px;
    letter-spacing: .1em;
    padding-right: 52px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    min-width: 0;
    white-space: nowrap;
  }

  .brand-name small {
    font-size: 8px;
    letter-spacing: .22em;
  }

  .nav-cta {
    display: none;
  }

  .nav-menu-toggle {
    position: fixed;
    top: 14px;
    right: var(--pad-x);
    z-index: 230;
    flex: 0 0 38px;
    margin-left: auto;
    width: 38px;
    height: 38px;
  }

  .nav-links {
    top: calc(var(--nav-h, 68px) + 8px);
    width: min(320px, calc(100vw - (var(--pad-x) * 2)));
  }

  .nav-links .nav-mobile-cta {
    grid-column: 1 !important;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 8px;
    padding: 13px 16px;
    border-radius: 12px;
    background: rgba(111,201,214,.14);
    border: 1px solid rgba(111,201,214,.34);
    color: var(--accent);
    white-space: normal;
    text-align: center;
  }

  h1, h2, h3,
  .intro-title,
  .tech-title,
  .real-hero h1,
  .bp-hero h1,
  .hp-hero h1,
  .bpol-hero h1,
  .art-hero h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .scene-intro .intro-title {
    max-width: 92vw;
  }

  .tech-title,
  .real-hero h1,
  .bp-hero h1,
  .hp-hero h1,
  .bpol-hero h1,
  .art-hero h1 {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.12;
  }

  .tech-lead,
  .bp-hero-lead,
  .hp-hero-lead,
  .bpol-hero-lead,
  .art-lead,
  .real-hero p {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .pc-models-wrap,
  .zs-table-wrap,
  .pp-spec-table-wrap,
  .art-table-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .pc-models-table,
  .zs-table,
  .pp-spec-table,
  .art-table {
    min-width: 620px;
  }

  /* 1. Mocniejsza wigneta — tekst czytelny na wodzie */
  .hero-vignette {
    background:
      radial-gradient(ellipse 130% 70% at 50% 40%, transparent 34%, rgba(6,12,16,.42) 100%),
      linear-gradient(180deg,
        rgba(6,12,16,.36) 0%,
        rgba(6,12,16,.06) 24%,
        rgba(6,12,16,.16) 52%,
        rgba(6,12,16,.74) 100%
      );
  }

  /* 2. Scene-intro — mniejsze odstępy, mniejszy tytuł */
  .scene-intro { gap: clamp(8px, 1.5vh, 14px); }
  .scene-intro .brand-badge {
    top: clamp(-137px, calc(-28vw - 15px), -101px);
    transform: translateX(-50%);
  }
  .scene-intro .badge-mark {
    width: clamp(150px, 42vw, 190px);
    height: clamp(150px, 42vw, 190px);
  }
  .scene-intro .intro-title {
    font-size: clamp(34px, 9.4vw, 44px);
    line-height: .9;
    letter-spacing: .008em;
    text-align: center;
    transform: translateY(24px);
  }
  .scene-intro .intro-title .soft {
    letter-spacing: .022em;
  }
  .scene-intro .intro-tag {
    font-size: clamp(12px, 3.3vw, 15px);
    letter-spacing: .12em;
    transform: translateY(24px);
  }
  .hero-seo-note { display: none; }
  .intro-scroll-hint {
    font-size: 10px;
    gap: 7px;
    max-width: min(88vw, 340px);
    transform: translateY(32px);
  }
  .intro-scroll-hint .hint-pill {
    padding: 8px 14px 8px 10px;
    gap: 10px;
  }
  .intro-scroll-hint .orbit { width: 30px; height: 30px; }

  /* 5. Quote — silniejsze tło za tekstem */
  .scene-quote {
    font-size: clamp(24px, 6.5vw, 38px);
    text-shadow:
      0 1px 0 rgba(255,255,255,.12),
      0 6px 24px rgba(0,0,0,.90),
      0 22px 60px rgba(0,0,0,.76);
  }
  .scene-quote::before {
    height: 78%;
    min-height: 140px;
    background:
      radial-gradient(ellipse at center,
        rgba(3,15,20,.80) 0%,
        rgba(3,15,20,.60) 36%,
        rgba(3,15,20,.28) 68%,
        transparent 100%
      );
  }

  /* 6. Headline — wyżej, mniejszy font, żeby nie nachodziło na action */
  .scene-headline {
    bottom: clamp(220px, 35vh, 290px);
    max-width: 96vw;
    gap: clamp(12px, 1.8vw, 22px);
  }
  .scene-headline h1 {
    font-size: clamp(34px, 8.5vw, 52px);
    text-shadow:
      0 2px 0 rgba(0,0,0,.24),
      0 6px 28px rgba(0,0,0,.86),
      0 20px 60px rgba(0,0,0,.68);
  }
  .scene-headline .kicker { font-size: 10px; }

  /* 7. Hotel strip — schowane na mobile */
  .hero-hcom { display: none; }

  /* 8. Action — kompaktowy (hcom ukryty) */
  .scene-action {
    bottom: clamp(48px, 7vh, 80px);
    gap: 12px;
  }
  .actions { justify-content: flex-start; }
  .scene-action p {
    font-size: 14px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .btn { padding: 12px 20px; font-size: 13px; }

  /* 9. Equipment — 2 kolumny na mobile */
  .equip-list { grid-template-columns: repeat(2, 1fr); }

  /* 9b. Commercial cards — 1 kolumna na mobile */
  .commercial-cards-grid { grid-template-columns: 1fr !important; }
  .commercial-card { aspect-ratio: auto; min-height: 160px; padding: 22px 22px 24px; }
  .commercial-card:last-child { grid-column: auto; aspect-ratio: auto; }
  .commercial-card-body strong { font-size: 22px; }
  .commercial-card-body p { font-size: 13px; margin-bottom: 1.2rem; }

  /* 10. Contact — czytelna lista na telefonie */
  .contact-region {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .contact-region a:nth-of-type(n + 2) { grid-column: auto; }
  .contact-region a { overflow-wrap: anywhere; }
  .contact-meta { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nav {
    display: flex;
  }

  .brand {
    flex: 0 1 auto;
    max-width: min(52vw, 195px, calc(100vw - (var(--pad-x) * 2) - 152px));
    gap: 8px;
    font-size: 11px;
    letter-spacing: .08em;
    min-width: 0;
  }

  .brand-name {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-name small {
    display: none;
  }

  .nav-menu-toggle {
    margin-left: auto;
  }
}

@media (max-width: 420px) {
  .scene-intro .intro-title {
    font-size: clamp(32px, 8.8vw, 36px);
    letter-spacing: 0;
  }

  .scene-intro .intro-title .soft {
    letter-spacing: .012em;
  }
}

@media (max-width: 360px) {
  .brand-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ─── REDUCED MOTION fallback ─────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .scroll-cue .line::after { animation: none; }
  .intro-scroll-hint .orbit::before, .intro-scroll-hint .orbit::after { animation: none; }
  .hero-mid   { opacity: 0; }
  .hero-full  { opacity: 1; background-size: auto 105%; background-position: center 50%; }
  .hero-scroll { height: auto; }
  .hero-stage { position: relative; min-height: 100dvh; }
  .scene, .scroll-cue { opacity: 1 !important; transform: none !important; }
  .scene-eyebrow, .scene-quote, .scene-intro { display: none; }
}

/* ─── SITE FOOTER ─────────────────────────────────── */
.site-footer {
  position: relative;
  background:
    linear-gradient(180deg, rgba(8,20,28,.72) 0%, rgba(5,13,19,.88) 100%),
    radial-gradient(ellipse 90% 80% at 70% 50%, rgba(111,201,214,.18), transparent 60%);
  color: rgba(255,255,255,.45);
  padding: 2rem var(--pad-x);
  font-family: var(--font-sans);
  font-size: .78rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  margin-top: -1px;
}
.site-footer a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s;
}
.site-footer a:hover { color: #6fc9d6; }
.site-footer-links {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  align-items: center;
}
.site-footer-social {
  display: inline-flex;
  align-items: center;
  opacity: .7;
}
.site-footer-social:hover { opacity: 1; }

/* ═══════════════════════════════════════════
   Badge autoryzacji + lightbox certyfikatu
   (Bayrol / Fairland — komponent współdzielony)
═══════════════════════════════════════════ */
.cert-badge {
  display: flex;
  align-items: center;
  gap: .85rem 1.15rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 640px;
  padding: 1.05rem 1.3rem;
  text-align: left;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
  transition: transform .2s, box-shadow .2s;
}
.cert-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
}
.tech-content .cert-badge { margin-top: 1.9rem; }
.equipment .cert-badge { margin: -.4rem 0 clamp(2.2rem, 4vw, 3.2rem); }
.cert-badge-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #5bafd6, #3b8fc2);
  color: #fff;
}
.cert-badge-icon svg { width: 22px; height: 22px; }
.cert-badge-text {
  display: flex; flex-direction: column;
  line-height: 1.3;
}
.cert-badge-text strong {
  font-size: .95rem; font-weight: 700; color: #10222e;
}
.cert-badge-text span {
  font-size: .84rem; color: #52606b;
}
.cert-badge-cta {
  margin-left: auto;
  white-space: nowrap;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  color: #2b8cba;
  display: inline-flex; align-items: center; gap: .35em;
}
.cert-badge:hover .cert-badge-cta { color: #1d6f97; }
@media (max-width: 520px) {
  .cert-badge-cta { margin-left: 0; }
}

/* ── lightbox ── */
.cert-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  padding: 24px;
}
.cert-lightbox[hidden] { display: none; }
.cert-lightbox-backdrop {
  position: absolute; inset: 0;
  background: rgba(6,12,16,.82);
  backdrop-filter: blur(3px);
}
.cert-lightbox-panel {
  position: relative; z-index: 1;
  max-width: min(760px, 92vw);
  display: flex; flex-direction: column; align-items: center;
  gap: 16px;
  animation: certIn .25s ease;
}
@keyframes certIn {
  from { opacity: 0; transform: scale(.97); }
  to   { opacity: 1; transform: none; }
}
.cert-lightbox-panel img {
  max-width: 100%; max-height: 78vh;
  width: auto; height: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.cert-lightbox-close {
  position: absolute; top: -16px; right: -16px;
  width: 38px; height: 38px;
  border-radius: 50%; border: none; cursor: pointer;
  background: #fff; color: #10222e;
  font-size: 1.5rem; line-height: 1;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.cert-lightbox-download {
  font-family: 'Manrope', sans-serif;
  font-size: .82rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  padding: .6rem 1.3rem;
  transition: background .2s;
}
.cert-lightbox-download:hover { background: rgba(255,255,255,.14); }

/* ── lightbox zdjęć produktów (powiększanie po kliknięciu) ── */
img.od-zoomable { cursor: zoom-in; }
.img-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  padding: 24px;
}
.img-lightbox[hidden] { display: none; }
.img-lightbox-backdrop {
  position: absolute; inset: 0;
  background: rgba(6,12,16,.82);
  backdrop-filter: blur(3px);
}
.img-lightbox-panel {
  position: relative; z-index: 1;
  max-width: min(760px, 92vw);
  display: flex; flex-direction: column; align-items: center;
  animation: certIn .25s ease;
}
.img-lightbox-panel img {
  max-width: 100%; max-height: 82vh;
  width: auto; height: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.img-lightbox-close {
  position: absolute; top: -16px; right: -16px;
  width: 38px; height: 38px;
  border-radius: 50%; border: none; cursor: pointer;
  background: #fff; color: #10222e;
  font-size: 1.5rem; line-height: 1;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
}

/* ─── PRZEŁĄCZNIK JĘZYKA (i18n) ─────────────────────────── */
/* .nav-utils i .lang-switch są wstrzykiwane przez assets/js/i18n.js.
   Na desktopie kontener zajmuje prawą kolumnę nagłówka,
   więc strony bez skryptu pozostają bez zmian. */
.nav-utils {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 18px);
}
.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
}
/* rząd flag — domyślny widok (desktop / tablet) */
.lang-menu {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 12, 16, .4);
}
.lang-opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background 250ms, color 250ms;
}
.lang-opt:hover { color: var(--ink); }
.lang-opt.is-active { background: rgba(111, 201, 214, .16); color: var(--ink); }
.lang-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lang-flag {
  display: inline-flex;
  width: 20px; height: 14px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
}
.lang-flag svg { width: 100%; height: 100%; display: block; }
.lang-code { line-height: 1; }

@media (min-width: 1025px) and (max-width: 1240px) {
  .lang-menu {
    gap: 2px;
  }

  .lang-opt {
    gap: 0;
    padding: 6px 8px;
  }

  .lang-code {
    display: none;
  }
}

/* globus — widoczny tylko na mobile, otwiera listę flag */
.lang-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 12, 16, .4);
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background 250ms, color 250ms;
}
.lang-toggle:hover { color: var(--ink); }
.lang-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lang-toggle svg { width: 16px; height: 16px; display: block; }

@media (max-width: 1024px) {
  .nav-utils { grid-column: 3; justify-self: end; gap: 10px; }
}
@media (max-width: 640px) {
  /* Tu .nav jest display:flex, a .nav-menu-toggle jest position:fixed w prawym
     górnym rogu — odsuwamy globus, żeby nie wchodził pod hamburger. */
  .nav-utils { margin-right: 46px; gap: 10px; flex: 0 0 auto; }
  .nav-utils .nav-cta { display: none; } /* CTA dostępne w hero i w menu */
  .lang-toggle { display: inline-flex; }
  /* flagi jako rozwijany dropdown pod globusem */
  .lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 5px;
    border-radius: 14px;
    border: 1px solid rgba(111, 201, 214, .24);
    background: rgba(6, 12, 16, .96);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .42);
    backdrop-filter: blur(16px) saturate(145%);
    -webkit-backdrop-filter: blur(16px) saturate(145%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
    z-index: 220;
  }
  .lang-switch.is-open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .lang-menu .lang-opt { width: 100%; padding: 9px 14px; gap: 8px; }
  .lang-menu .lang-opt .lang-code { display: inline; }
}
