@charset "utf-8";
/* ==========================================================================
   F.H.U. KAPIT Czesław Pietrzyk — usługi elektryczne
   Paleta wyprowadzona z logo (old/images/jaws.png):
     sylwetka manty #1C59AE · jasne koło #AFC2F9 · gradient #7692E5
   ========================================================================== */

@layer tokens, base, layout, components, motion, print;

/* ───────────────────────────── 1. TOKENS ─────────────────────────────── */
@layer tokens {
  :root {
    /* Paleta wyprowadzona z logo i z oryginalnej strony:
       czerwień i żółć to farby logo (koło + błyskawica), błękit pochodzi
       z pasma ze słupem w bannerze i z nagłówków oryginału (#0063A6). */
    --blue-950: #03395C;
    --blue-900: #04496F;
    --blue-800: #055A93;
    --blue:     #0564A8;
    --blue-btn: #055A93;
    --blue-600: #1E7CC0;
    --blue-400: #6FB0DA;
    --blue-300: #A9CFE9;
    --blue-100: #E1EFF9;
    --blue-50:  #F1F8FD;

    --red:    #B8251D;
    --yellow: #FFCE1A;

    /* neutralne */
    --ink:   #1B2733;
    --body:  #44586B;
    --muted: #566577;
    --line:  #DCE6EF;
    --mist:  #F4F8FC;
    --paper: #FFFFFF;

    /* kolor wyróżnień; na ciemnych tłach dziedziczy kolor tekstu */
    --em: var(--ink);

    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
            Arial, "Noto Sans", sans-serif;

    --step--1: clamp(0.83rem, 0.80rem + 0.14vw, 0.90rem);
    --step-0:  clamp(0.97rem, 0.93rem + 0.20vw, 1.06rem);
    --step-1:  clamp(1.10rem, 1.02rem + 0.38vw, 1.30rem);
    --step-2:  clamp(1.34rem, 1.18rem + 0.76vw, 1.78rem);
    --step-3:  clamp(1.62rem, 1.32rem + 1.45vw, 2.46rem);
    --step-4:  clamp(1.98rem, 1.42rem + 2.70vw, 3.48rem);
    --step-5:  clamp(2.05rem, 1.25rem + 3.90vw, 4.40rem);

    --gutter: clamp(1.1rem, 0.55rem + 2.6vw, 2.6rem);
    --shell-max: 1280px;
    --section-y: clamp(3.6rem, 2.2rem + 6vw, 8.2rem);
    --gap: clamp(1rem, 0.5rem + 1.6vw, 1.75rem);

    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 34px;
    --r-pill: 999px;

    --shadow-1: 0 1px 2px rgba(9, 30, 66, .05), 0 4px 14px rgba(9, 30, 66, .06);
    --shadow-2: 0 2px 6px rgba(9, 30, 66, .07), 0 16px 40px rgba(9, 30, 66, .10);
    --shadow-3: 0 30px 70px rgba(7, 26, 51, .28);

    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --reveal-delay: 0s;

    --header-h: clamp(78px, 6.2vw + 50px, 96px);
    /* Pasek kontaktowy nad nawigacja. Hero musi go doliczyc do odstepu od
       gory, inaczej na waskich ekranach tresc chowa sie pod naglowkiem
       (pasek zwija sie dopiero po przewinieciu strony). */
    --topbar-h: 44px;

    accent-color: var(--blue);
    scrollbar-color: var(--blue) var(--mist);
  }
}

/* ────────────────────────────── 2. BASE ──────────────────────────────── */
@layer base {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }

  html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
  }

  body {
    font-family: var(--font);
    font-size: var(--step-0);
    line-height: 1.65;
    color: var(--body);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }
  body.is-locked { overflow: hidden; }

  h1, h2, h3, h4 {
    color: var(--ink);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.028em;
    text-wrap: balance;
  }
  h1 { font-size: var(--step-5); letter-spacing: -0.036em; }
  h2 { font-size: var(--step-4); }
  h3 { font-size: var(--step-2); line-height: 1.2; letter-spacing: -0.02em; }
  h4 { font-size: var(--step-1); line-height: 1.25; }

  p { text-wrap: pretty; }
  p + p { margin-top: 0.95em; }

  a { color: var(--blue); text-underline-offset: 3px; }
  a:hover { color: var(--blue-600); }

  img, picture, svg, video { display: block; max-width: 100%; }
  /* <picture> jest opakowaniem — nie tworzy własnego pudełka */
  picture { display: contents; }
  img { height: auto; }

  button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
  summary { cursor: pointer; }
  ul, ol { list-style: none; padding: 0; }
  address { font-style: normal; }

  strong, b { color: var(--em); font-weight: 700; }

  ::selection { background: var(--blue-300); color: var(--blue-950); }

  :focus-visible { outline: 3px solid var(--blue-600); outline-offset: 3px; border-radius: 6px; }

  .sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

  .sr-only {
    position: absolute; width: 1px; height: 1px;
    margin: -1px; padding: 0; border: 0;
    overflow: hidden; white-space: nowrap; clip-path: inset(50%);
  }

  .ico { width: 1.15em; height: 1.15em; flex: none; }
  .ico--down { transform: rotate(90deg); }

  .skip-link {
    position: fixed; top: 10px; left: 10px; z-index: 200;
    transform: translateY(-180%);
    padding: 12px 20px; border-radius: var(--r-pill);
    background: var(--blue-950); color: #fff; font-weight: 700; text-decoration: none;
  }
  .skip-link:focus { transform: none; }
}

/* ───────────────────────────── 3. LAYOUT ─────────────────────────────── */
@layer layout {
  .shell {
    width: min(100% - (var(--gutter) * 2), var(--shell-max));
    margin-inline: auto;
  }

  .section { padding-block: var(--section-y); position: relative; }
  .grid { display: grid; gap: clamp(1.6rem, 1rem + 3.4vw, 4.4rem); }

  .grid--split { align-items: center; }
  .grid--split h2 { font-size: clamp(1.75rem, 1.25rem + 2.1vw, 2.95rem); }
  /* tekst obok zdjęcia: nagłówek potrzebuje odstępu od pierwszego akapitu */
  .grid--split h2 { margin-bottom: 1.15rem; }
  @media (min-width: 900px) {
    .grid--split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
    .grid--split-rev > :first-child { order: 2; }
  }

  .section__head { max-width: 62ch; margin-bottom: clamp(1.8rem, 1rem + 2.6vw, 3.4rem); }
  .section__head--center { margin-inline: auto; text-align: center; }

  .section__lead {
    margin-top: 1.1rem;
    font-size: var(--step-1);
    color: var(--muted);
    line-height: 1.6;
  }

  .eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    margin-bottom: 1.05rem;
    font-size: .78rem; font-weight: 800;
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--blue);
  }
  .eyebrow__dot {
    width: 9px; height: 9px; border-radius: 50%; flex: none;
    background: var(--red);
    box-shadow: 0 0 0 4px rgba(184, 37, 29, .16);
  }
}

/* ──────────────────────────── 4. COMPONENTS ──────────────────────────── */
@layer components {

  /* na ciemnych powierzchniach <b> dziedziczy kolor tekstu */
  .hero,
  .ticker,
  .site-footer,
  .action-bar__call,
  .lightbox__stage { --em: currentColor; }

  /* ── przyciski ──────────────────────────────────────────────────── */
  .btn {
    --btn-bg: var(--blue-btn);
    --btn-fg: #fff;
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    padding: .92em 1.55em;
    border-radius: var(--r-pill);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-weight: 700; font-size: var(--step-0); line-height: 1;
    text-decoration: none; white-space: nowrap;
    transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out),
                background-color .25s var(--ease-out), color .25s var(--ease-out),
                border-color .25s var(--ease-out);
  }
  .btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow-2); }
  .btn:active { transform: translateY(0); }

  .btn--solid { --btn-bg: var(--blue-btn); }
  .btn--solid:hover { --btn-bg: var(--blue); }

  .btn--dark { --btn-bg: var(--blue-950); }
  .btn--dark:hover { --btn-bg: var(--blue-900); }

  .btn--outline {
    --btn-bg: transparent; --btn-fg: #fff;
    border: 1.5px solid rgba(255, 255, 255, .45);
  }
  .btn--outline:hover { --btn-bg: rgba(255, 255, 255, .14); border-color: #fff; }

  .btn--outline-dark {
    --btn-bg: transparent; --btn-fg: var(--blue-950);
    border: 1.5px solid rgba(7, 26, 51, .28);
  }
  .btn--outline-dark:hover { --btn-bg: rgba(7, 26, 51, .08); border-color: var(--blue-950); }

  .btn--lg { padding: 1.06em 1.9em; }
  .btn--sm { padding: .74em 1.15em; font-size: var(--step--1); }
  .btn--block { display: flex; width: 100%; }

  /* ── nagłówek ───────────────────────────────────────────────────── */
  /* Jasny nagłówek: strona ma być lekka, więc granat został tylko
     w pasie usług i w stopce. */
  .site-header {
    position: fixed; inset: 0 0 auto; z-index: 100;
    --hdr-fg: var(--ink);
    --hdr-line: rgba(27, 39, 51, .18);
    color: var(--hdr-fg);
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(14px) saturate(1.3);
    box-shadow: 0 1px 0 var(--line);
    transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
  }

  .topbar {
    overflow: hidden; max-height: var(--topbar-h);
    background: var(--blue-50);
    border-bottom: 1px solid var(--line);
    color: var(--blue-900);
    font-size: var(--step--1);
    transition: max-height .45s var(--ease-out), opacity .3s var(--ease-out);
  }
  .topbar__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; min-height: var(--topbar-h);
  }
  .topbar__note { display: flex; align-items: center; gap: .5rem; }
  .topbar__note .ico { color: var(--red); }
  .topbar__links { display: flex; align-items: center; gap: clamp(.8rem, 1.8vw, 1.5rem); }
  .topbar__links a {
    display: inline-flex; align-items: center; gap: .45rem;
    color: inherit; font-weight: 600; text-decoration: none;
    white-space: nowrap; font-variant-numeric: tabular-nums;
  }
  .topbar__links a:hover { color: var(--blue); }
  .topbar__links .ico { color: var(--blue); }
  @media (max-width: 560px) {
    .topbar__note { display: none; }
    .topbar__inner { justify-content: center; }
  }

  .navbar { transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out); }
  .navbar__inner {
    display: flex; align-items: center; gap: clamp(.8rem, 2vw, 2rem);
    min-height: var(--header-h);
  }

  .brand {
    flex: none; display: flex; align-items: center; gap: .7rem;
    text-decoration: none; color: inherit;
  }
  .brand img {
    width: auto; height: calc(var(--header-h) * 0.46);
    transition: transform .35s var(--ease-out);
  }
  .brand:hover img { transform: scale(1.05); }
  .brand__text { display: grid; line-height: 1.05; }
  .brand__text b {
    font-size: var(--step-1); font-weight: 900;
    letter-spacing: .02em; color: inherit;
  }
  .brand__text i {
    font-style: normal;
    font-size: .68rem; font-weight: 700;
    letter-spacing: .13em; text-transform: uppercase;
    opacity: .74;
  }
  @media (max-width: 430px) { .brand__text i { display: none; } }

  .nav { margin-inline: auto; }
  .nav ul { display: flex; align-items: center; gap: clamp(.4rem, 1.5vw, 1rem); }
  .nav a {
    display: block; position: relative;
    padding: .55rem .2rem;
    color: inherit; font-weight: 600; font-size: var(--step--1);
    text-decoration: none;
    transition: color .25s var(--ease-out);
  }
  .nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: .18rem;
    height: 2px; border-radius: 2px;
    background: var(--blue-600);
    transform: scaleX(0); transform-origin: left;
    transition: transform .35s var(--ease-out);
  }
  .nav a:hover::after,
  .nav a[aria-current="true"]::after { transform: scaleX(1); }
  .nav a[aria-current="true"] { font-weight: 700; }

  .navbar__cta { flex: none; --btn-bg: var(--blue); --btn-fg: #fff; }
  .navbar__cta:hover { --btn-bg: var(--blue-900); }
  .navbar__cta-short { display: none; }

  .burger {
    display: none;
    position: relative; flex: none;
    width: 46px; height: 46px;
    border-radius: 14px;
    border: 1.5px solid var(--hdr-line);
    color: inherit;
  }
  .burger span {
    position: absolute; left: 50%; width: 19px; height: 2px; border-radius: 2px;
    background: currentColor; translate: -50% 0;
    transition: top .35s var(--ease-out), transform .35s var(--ease-out), opacity .2s linear;
  }
  .burger span:nth-child(1) { top: 16px; }
  .burger span:nth-child(2) { top: 22px; }
  .burger span:nth-child(3) { top: 28px; }
  .burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

  @media (max-width: 1040px) {
    .nav { display: none; }
    .burger { display: block; margin-left: auto; }
  }
  @media (max-width: 640px) {
    .navbar__cta-text { display: none; }
    .navbar__cta-short { display: inline; }
  }
  @media (max-width: 380px) {
    .navbar__cta { display: none; }
  }

  .site-header.is-stuck {
    box-shadow: 0 1px 0 var(--line), 0 12px 32px rgba(9, 30, 66, .08);
  }
  .site-header.is-stuck .topbar { max-height: 0; opacity: 0; }

  /* ── menu mobilne ───────────────────────────────────────────────── */
  .menu-panel {
    position: fixed; inset: 0; z-index: 99;
    display: flex; flex-direction: column; justify-content: center;
    gap: 1.8rem;
    padding: calc(var(--header-h) + 1.8rem) var(--gutter) 2rem;
    background: linear-gradient(172deg, var(--blue-50), var(--paper) 70%);
    color: var(--ink);
    opacity: 0; overflow-y: auto;
    transition: opacity .3s var(--ease-out);
  }
  .menu-panel[hidden] { display: none; }
  .menu-panel.is-open { opacity: 1; }

  .menu-panel nav ul { display: grid; gap: .1rem; }
  .menu-panel nav a {
    display: flex; align-items: baseline; gap: .9rem;
    padding: .6rem 0;
    color: var(--ink); text-decoration: none;
    font-size: var(--step-3); font-weight: 800; letter-spacing: -0.03em;
    border-bottom: 1px solid var(--line);
    transition: color .25s var(--ease-out), padding-left .3s var(--ease-out);
  }
  .menu-panel nav a span {
    font-size: .72rem; font-weight: 700; letter-spacing: .12em;
    color: var(--blue);
  }
  .menu-panel nav a:hover,
  .menu-panel nav a:focus-visible { color: var(--blue); padding-left: .5rem; }
  .menu-panel__foot { display: grid; gap: .6rem; }
  .menu-panel__addr {
    margin-top: .3rem; text-align: center;
    font-size: var(--step--1); color: var(--muted);
  }

  /* ── pasek postępu ─────────────────────────────────────────────── */
  .scroll-progress {
    position: fixed; inset: 0 0 auto; z-index: 120; height: 3px;
    pointer-events: none;
  }
  .scroll-progress span {
    display: block; height: 100%; width: 0;
    background: linear-gradient(90deg, var(--blue-400), var(--blue-600));
  }

  /* ── hero ───────────────────────────────────────────────────────── */
  /* Duże zdjęcie słupów energetycznych nad polem — materiał od klienta
     (external assets). Błękit nieba i złoto pola to dokładnie farby
     marki, więc zdjęcie robi za tło całego hero. */
  .hero {
    position: relative;
    display: grid; align-items: center;
    min-height: clamp(540px, 76vh, 800px);
    padding-top: calc(var(--header-h) + var(--topbar-h) + clamp(1.8rem, 3vw, 3.4rem));
    padding-bottom: clamp(2.8rem, 2rem + 3.6vw, 5.4rem);
    color: #fff;
    overflow: hidden;
    background: var(--blue-950);
  }
  .hero__bg { position: absolute; inset: 0; z-index: 0; }
  .hero__bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    /* słupy stoją po prawej stronie kadru — trzymamy je w prawej części */
    object-position: 68% 50%;
  }
  /* Zasłona: mocna po lewej (tam jest tekst), słabsza po prawej (tam jest
     kadr ze słupami). Boczna kolumna ma własną płytkę, więc prawa strona
     zdjęcia nie musi być przyciemniona. */
  .hero__scrim {
    position: absolute; inset: 0; z-index: 1;
    background:
      linear-gradient(96deg,
        rgba(2, 30, 52, .95) 0%, rgba(2, 30, 52, .92) 30%,
        rgba(2, 30, 52, .74) 52%, rgba(2, 30, 52, .40) 74%,
        rgba(2, 30, 52, .22) 100%),
      linear-gradient(to top,
        rgba(2, 30, 52, .6) 0%, rgba(2, 30, 52, .26) 26%,
        transparent 52%);
  }
  .hero__inner {
    position: relative; z-index: 2;
    display: grid; gap: clamp(2rem, 1rem + 3.6vw, 3.4rem);
    align-items: center;
  }
  @media (min-width: 960px) {
    .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  }

  /* Logo jest w nagłówku i w stopce — w hero go NIE powtarzamy.
     Wcześniej stało tu na białej płytce i wyglądało jak zdublowany znak. */

  .hero .eyebrow { color: var(--blue-300); }
  .hero .eyebrow__dot { background: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 206, 26, .22); }

  .hero h1 { color: #fff; max-width: 20ch; }
  .hero h1 em { font-style: normal; color: var(--yellow); }

  .hero__lead {
    margin-top: 1.2rem;
    max-width: 52ch;
    font-size: var(--step-1);
    color: rgba(255, 255, 255, .9);
    line-height: 1.6;
  }

  .hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }

  .hero__trust {
    display: grid; gap: .55rem;
    margin-top: clamp(1.7rem, 1.2rem + 2vw, 2.4rem);
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, .22);
    font-size: var(--step--1);
    color: rgba(255, 255, 255, .88);
  }
  @media (min-width: 760px) {
    .hero__trust { grid-template-columns: repeat(3, auto); gap: 1.5rem; justify-content: start; }
  }
  .hero__trust li { display: flex; align-items: flex-start; gap: .5rem; }
  .hero__trust .ico { margin-top: .2em; color: var(--yellow); }

  /* ── hero: pieczęć uprawnień i okrągłe miniatury ─────────────────── */
  /* Własna płytka, żeby podpis miniaturek miał kontrast niezależnie od
     tego, co akurat jest pod nim na zdjęciu. */
  .hero__aside {
    display: grid; gap: 1.1rem; justify-items: start;
    justify-self: start; width: fit-content; max-width: 100%;
    padding: clamp(.95rem, 1.5vw, 1.35rem);
    border-radius: var(--r-lg);
    background: rgba(2, 30, 52, .58);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(3px);
  }
  @media (min-width: 960px) {
    .hero__aside { justify-self: end; justify-items: end; text-align: right; }
  }

  .hero__sep {
    display: inline-flex; align-items: baseline; gap: .6rem;
    padding: .62rem 1.3rem;
    border-radius: var(--r-pill);
    background: var(--yellow);
    color: var(--blue-950);
    box-shadow: 0 14px 34px rgba(2, 30, 52, .32);
    font-size: var(--step--1);
  }
  .hero__sep span { font-weight: 700; }
  .hero__sep b { font-size: var(--step-2); font-weight: 900; letter-spacing: -0.01em; }

  .hero__badges { display: flex; flex-wrap: wrap; gap: .55rem; }
  .hero__badges li {
    flex: none;
    width: clamp(52px, 6.6vw, 74px); aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--paper);
    background: var(--paper);
    box-shadow: 0 10px 26px rgba(2, 30, 52, .34);
    transition: transform .35s var(--ease-out);
  }
  .hero__badges img { width: 100%; height: 100%; object-fit: cover; }
  .hero__badges li:hover { transform: translateY(-4px); }

  .hero__badges-note {
    color: rgba(255, 255, 255, .8);
    font-size: var(--step--1);
    font-weight: 600;
  }

  /* ── pasek przewijany (ticker) ──────────────────────────────────── */
  .ticker {
    overflow: hidden;
    background: linear-gradient(90deg, var(--blue-950), var(--blue) 45%, var(--blue-600));
    border-block: 1px solid rgba(255, 255, 255, .12);
  }
  .ticker__track {
    display: flex; align-items: center; gap: 1.6rem;
    width: max-content;
    padding-block: .78rem;
    animation: ticker 52s linear infinite;
  }
  .ticker__track span {
    font-size: var(--step-1); font-weight: 800;
    letter-spacing: -0.01em; color: #fff; white-space: nowrap;
  }
  /* żółte romby między hasłami — akcent z logo */
  .ticker__track i { color: var(--yellow); font-size: .7rem; }
  @keyframes ticker { to { transform: translateX(-50%); } }

  /* ── lista zalet ────────────────────────────────────────────────── */
  .checklist { display: grid; gap: .7rem; margin-top: 1.7rem; }
  .checklist li { position: relative; padding-left: 2rem; }
  .checklist li::before {
    content: "";
    position: absolute; left: 0; top: .34em;
    width: 1.15rem; height: 1.15rem; border-radius: 50%;
    background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.6 4.6 4.6L19 7.4'/%3E%3C/svg%3E") center / 78% no-repeat;
  }

  /* ── o firmie: kolaż ───────────────────────────────────────────── */
  .about__media { position: relative; }
  .stack-img {
    margin: 0;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-2);
  }
  .stack-img img { width: 100%; height: 100%; object-fit: cover; }
  .stack-img--main { aspect-ratio: 5 / 4; }
  /* obraz wyższy od pudełka, wyśrodkowany — miejsce na przesunięcie parallaksy */
  .stack-img--main img { position: relative; top: -8%; height: 116%; }
  .stack-img--float {
    position: absolute; right: -3%; bottom: -8%;
    width: 44%; max-width: 240px;
    aspect-ratio: 1 / 1;
    border: 6px solid var(--paper);
    box-shadow: var(--shadow-3);
  }
  @media (max-width: 560px) {
    .stack-img--float { right: 0; bottom: -6%; width: 46%; border-width: 4px; }
  }

  /* ── uprawnienia ────────────────────────────────────────────────── */
  .section--cred { background: var(--blue-100); }

  .cred { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
  @media (min-width: 700px) { .cred { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

  .cred__card {
    position: relative;
    padding: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem);
    border-radius: var(--r-lg);
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 4px solid var(--red);
    color: var(--body);
    box-shadow: var(--shadow-1);
    overflow: hidden;
  }
  .cred__card::after {
    content: "";
    position: absolute; right: -34px; bottom: -46px;
    width: 160px; height: 160px; border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 37, 29, .08), transparent 70%);
  }
  /* żółta plakietka — farba błyskawicy z logo */
  .cred__tag {
    position: relative; z-index: 1;
    display: inline-block;
    padding: .32em .85em;
    border-radius: var(--r-pill);
    background: var(--yellow);
    color: var(--blue-950);
    font-size: .72rem; font-weight: 800;
    letter-spacing: .1em; text-transform: uppercase;
  }
  .cred__card h3 {
    position: relative; z-index: 1;
    margin-top: .9rem;
    font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem);
    color: var(--red);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
  }
  .cred__card p { position: relative; z-index: 1; margin-top: .55rem; }

  .cred__note {
    margin-top: clamp(1.4rem, 1rem + 1.4vw, 2rem);
    text-align: center;
    font-size: var(--step-1);
    font-weight: 600;
    color: var(--blue-800);
  }

  /* ── usługi ─────────────────────────────────────────────────────── */
  .services { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
  @media (min-width: 620px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (min-width: 1020px) { .services { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

  .svc {
    position: relative;
    display: flex; flex-direction: column; gap: .5rem;
    padding: clamp(1.3rem, 1rem + 1vw, 1.8rem);
    border-radius: var(--r-lg);
    background: var(--paper);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out),
                border-color .45s var(--ease-out);
  }
  /* górna krawędź wypełnia się przy najechaniu */
  .svc::before {
    content: "";
    position: absolute; left: 0; right: 0; top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--blue-600));
    transform: scaleX(0); transform-origin: left;
    transition: transform .45s var(--ease-out);
  }
  .svc:hover, .svc:focus-within {
    transform: translateY(-6px);
    box-shadow: var(--shadow-2);
    border-color: var(--blue-300);
  }
  .svc:hover::before, .svc:focus-within::before { transform: scaleX(1); }

  .svc h3 { font-size: var(--step-1); }
  .svc p { font-size: var(--step-0); color: var(--muted); }

  .svc__ico {
    display: grid; place-items: center;
    width: 52px; height: 52px;
    margin-bottom: .3rem;
    border-radius: 15px;
    background: var(--blue-50);
    color: var(--blue);
    font-size: 1.5rem;
    transition: background-color .35s var(--ease-out), color .35s var(--ease-out),
                transform .35s var(--ease-out);
  }
  .svc:hover .svc__ico,
  .svc:focus-within .svc__ico { background: var(--blue); color: #fff; transform: translateY(-2px); }

  .services__note {
    margin-top: clamp(1.6rem, 1rem + 2vw, 2.6rem);
    font-size: var(--step-1);
    color: var(--muted);
  }
  .services__note a {
    display: inline-flex; align-items: center; gap: .4rem;
    font-weight: 700; color: var(--blue);
    text-decoration: none;
    border-bottom: 2px solid var(--blue-300);
  }
  .services__note a:hover { color: var(--blue-600); }

  /* ── realizacje (galeria) ───────────────────────────────────────── */
  /* Jasna sekcja: kafle zdjęć są białe, a nie "świecące" na granacie. */
  .section--works { background: var(--mist); }

  .filters {
    display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
    margin-bottom: clamp(1.6rem, 1rem + 2vw, 2.6rem);
  }
  .filters button {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .62em 1.15em;
    border-radius: var(--r-pill);
    background: var(--paper);
    border: 1.5px solid var(--line);
    color: var(--body);
    font-size: var(--step--1); font-weight: 700;
    transition: background-color .3s var(--ease-out), color .3s var(--ease-out),
                border-color .3s var(--ease-out), transform .3s var(--ease-out);
  }
  .filters button span {
    font-size: .7rem; font-weight: 700;
    padding: .1em .5em; border-radius: var(--r-pill);
    background: var(--blue-50); color: var(--blue-800);
  }
  .filters button:hover { border-color: var(--blue); color: var(--blue-800); transform: translateY(-2px); }
  .filters button.is-active {
    background: var(--blue); border-color: var(--blue); color: #fff;
  }
  .filters button.is-active span { background: var(--blue-950); color: #fff; }

  .gallery {
    display: grid; gap: clamp(.6rem, .3rem + 1vw, 1.1rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  @media (min-width: 620px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

  .shot {
    display: grid; grid-template-rows: auto 1fr;
    margin: 0;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-1);
    transition: opacity .4s var(--ease-out), transform .4s var(--ease-out),
                border-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
  }
  .shot:hover { border-color: var(--blue-300); box-shadow: var(--shadow-2); }
  .shot.is-hidden { display: none; }
  .shot.is-entering { opacity: 0; transform: scale(.94) translateY(12px); }

  .shot__btn {
    position: relative;
    display: block; width: 100%; padding: 0;
    aspect-ratio: 4 / 3;
    /* jasny kafel + contain: część zdjęć to schematy, a przycięcie
       obcina im informację; małe źródła nie są rozciągane poza kafel */
    background: var(--blue-50);
  }
  .shot__btn img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: clamp(.35rem, 1.2vw, .8rem);
    transition: transform .7s var(--ease-out);
  }
  .shot__btn:hover img,
  .shot__btn:focus-visible img { transform: scale(1.045); }

  .shot__zoom {
    position: absolute; right: .5rem; top: .5rem;
    display: grid; place-items: center;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(3, 57, 92, .68);
    backdrop-filter: blur(6px);
    color: #fff; font-size: 1rem;
    opacity: 0; transform: scale(.7);
    transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
  }
  .shot__btn:hover .shot__zoom,
  .shot__btn:focus-visible .shot__zoom { opacity: 1; transform: none; }

  .shot figcaption {
    padding: .62rem .75rem;
    font-size: .74rem; font-weight: 700;
    letter-spacing: .03em;
    color: var(--ink);
  }

  .gallery__empty { margin-top: 2rem; text-align: center; color: var(--muted); }

  /* ── proces ─────────────────────────────────────────────────────── */
  .section--process { background: var(--paper); }

  .steps { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
  @media (min-width: 560px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

  .step { position: relative; padding-top: 2.3rem; }
  .step::before {
    content: ""; position: absolute; left: 0; top: .7rem;
    width: 100%; height: 2px;
    background: repeating-linear-gradient(90deg, rgba(5, 100, 168, .4) 0 10px, transparent 10px 18px);
  }
  .step:last-child::before { width: 0; }
  .step__num {
    position: absolute; left: 0; top: 0;
    padding-right: .5rem;
    font-size: var(--step-1); font-weight: 800; letter-spacing: -0.02em;
    color: var(--blue);
    background: var(--paper);
  }
  .step h3 { font-size: var(--step-1); margin-bottom: .35rem; }
  .step p { color: var(--muted); }

  /* ── obszar + mapa ──────────────────────────────────────────────── */
  .chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
  .chips li {
    padding: .55em 1.05em;
    border-radius: var(--r-pill);
    background: var(--paper);
    border: 1.5px solid var(--line);
    font-size: var(--step--1); font-weight: 700;
    color: var(--blue-800);
  }

  .area__note {
    margin-top: 1.4rem;
    padding: 1rem 1.2rem;
    border-left: 4px solid var(--blue-300);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    background: var(--blue-50);
    color: var(--blue-800);
  }

  .area__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

  .area__map { margin: 0; }
  .map {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--blue-900);
    box-shadow: var(--shadow-2);
  }
  .map iframe { display: block; width: 100%; height: 100%; border: 0; }
  .map__facade {
    position: absolute; inset: 0;
    display: grid; place-content: center; justify-items: center; gap: .5rem;
    width: 100%; height: 100%; padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--blue-900);
    background:
      repeating-linear-gradient(115deg, rgba(5, 100, 168, .055) 0 2px, transparent 2px 22px),
      var(--blue-50);
    border: 1px solid var(--line);
    transition: filter .4s var(--ease-out);
  }
  .map__pin {
    display: grid; place-items: center;
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--red);
    color: #fff;
    box-shadow: 0 12px 30px rgba(184, 37, 29, .32);
    animation: pin 2.6s var(--ease-out) infinite;
  }
  .map__pin .ico { width: 30px; height: 30px; }
  @keyframes pin {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-7px); }
  }
  .map__facade b { font-size: var(--step-1); font-weight: 800; color: var(--ink); }
  .map__facade > span { font-size: var(--step--1); color: var(--muted); }
  .map__hint {
    margin-top: .5rem; padding: .45em 1.1em;
    border-radius: var(--r-pill);
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--blue-800);
    font-weight: 700;
  }
  .map__facade:hover { filter: brightness(.975); }
  .area__map figcaption { margin-top: 1rem; text-align: center; }
  .area__map figcaption a {
    display: inline-flex; align-items: center; gap: .4rem;
    font-weight: 700; text-decoration: none;
    border-bottom: 2px solid var(--blue-300);
  }

  /* ── FAQ ────────────────────────────────────────────────────────── */
  .section--faq { background: var(--blue-100); }

  .faq { display: grid; gap: .6rem; max-width: 80ch; margin-inline: auto; }
  .faq__item {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--paper);
    transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
  }
  .faq__item[open] { border-color: var(--blue); box-shadow: var(--shadow-1); }

  .faq__item summary {
    position: relative;
    display: flex; align-items: center;
    padding: 1rem 3.4rem 1rem 1.25rem;
    font-size: var(--step-1); font-weight: 700;
    color: var(--ink);
    list-style: none;
  }
  .faq__item summary::-webkit-details-marker { display: none; }
  .faq__item summary::after {
    content: "";
    position: absolute; right: 1.1rem; top: 50%;
    width: 24px; height: 24px; translate: 0 -50%;
    border-radius: 50%;
    background: var(--blue-50)
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C59AE' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
      center / 15px no-repeat;
    transition: background-color .3s var(--ease-out), rotate .3s var(--ease-out);
  }
  .faq__item[open] summary::after {
    background-color: var(--blue);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    rotate: 180deg;
  }
  .faq__item summary:hover { color: var(--blue); }
  .faq__item p { padding: 0 1.25rem 1.2rem; }
  .faq__item p a { font-weight: 700; }

  /* ── kontakt ────────────────────────────────────────────────────── */
  .section--contact {
    background: linear-gradient(180deg, var(--blue-50) 0%, var(--paper) 100%);
    color: var(--body);
  }

  .contact-grid { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
  @media (min-width: 700px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (min-width: 1040px) { .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

  .contact-card {
    padding: clamp(1.4rem, 1rem + 1.4vw, 2.1rem);
    border-radius: var(--r-lg);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-1);
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out),
                border-color .4s var(--ease-out);
  }
  .contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2);
    border-color: var(--blue-300);
  }
  .contact-card h3 {
    display: flex; align-items: center; gap: .55rem;
    margin-bottom: 1.1rem;
    color: var(--ink); font-size: var(--step-1);
  }
  .contact-card h3 .ico { color: var(--red); font-size: 1.2rem; }

  .contact-list { display: grid; gap: .4rem; }
  .contact-list a {
    display: inline-block;
    font-size: var(--step-2); font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--blue); text-decoration: none;
    font-variant-numeric: tabular-nums;
    transition: color .25s var(--ease-out);
  }
  .contact-list a:hover { color: var(--blue-900); }

  .contact-card address { color: var(--body); }
  .contact-card address b { color: var(--ink); }

  .contact-card__mail a {
    font-size: var(--step-1); font-weight: 800;
    color: var(--blue); text-decoration: none;
    word-break: break-word;
  }
  .contact-card__mail a:hover { text-decoration: underline; }

  .contact-card__note {
    display: flex; align-items: flex-start; gap: .5rem;
    margin-top: 1.2rem; padding-top: 1rem;
    border-top: 1px solid var(--line);
    font-size: var(--step--1);
    color: var(--muted);
  }
  .contact-card__note .ico { color: var(--blue); margin-top: .18em; }
  .contact-card__note b { color: var(--ink); font-variant-numeric: tabular-nums; }

  /* pasmo w żółci błyskawicy z logo — domknięcie strony */
  .cta-band {
    display: grid; gap: 1.4rem; align-items: center;
    margin-top: clamp(2rem, 1.2rem + 2.4vw, 3.4rem);
    padding: clamp(1.6rem, 1.1rem + 2vw, 2.8rem);
    border-radius: var(--r-xl);
    background: linear-gradient(105deg, var(--yellow) 0%, #FFD94F 55%, var(--yellow) 100%);
    color: var(--blue-950);
    box-shadow: var(--shadow-2);
  }
  @media (min-width: 860px) { .cta-band { grid-template-columns: 1.5fr auto; } }
  .cta-band h3 { margin-bottom: .5rem; color: var(--blue-950); font-size: var(--step-2); }
  .cta-band p { max-width: 56ch; color: var(--blue-900); }
  .cta-band__actions { display: flex; flex-wrap: wrap; gap: .7rem; }

  /* ── stopka ─────────────────────────────────────────────────────── */
  .site-footer {
    padding-top: clamp(2.6rem, 1.6rem + 3vw, 4.4rem);
    background: var(--blue-950);
    color: rgba(255, 255, 255, .62);
    font-size: var(--step--1);
  }
  .footer__inner {
    display: grid; gap: clamp(1.8rem, 1rem + 3vw, 3.4rem);
    grid-template-columns: 1fr;
    padding-bottom: clamp(2rem, 1.2rem + 2.4vw, 3.2rem);
  }
  @media (min-width: 640px) { .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (min-width: 1000px) {
    .footer__inner {
      grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    }
  }

  /* Pełne logo w stopce — na granacie potrzebuje jasnej płytki, dokładnie
     jak w oryginalnym bannerze, gdzie stało na białym pasku. */
  .footer__brand img {
    width: clamp(168px, 19vw, 214px); height: auto;
    padding: .5rem .7rem;
    border-radius: var(--r-md);
    background: var(--paper);
    margin-bottom: 1.1rem;
  }
  .footer__brand p { max-width: 34ch; }

  .footer__col h4 {
    margin-bottom: .95rem;
    color: #fff; font-size: .82rem; font-weight: 800;
    letter-spacing: .14em; text-transform: uppercase;
  }
  .footer__col ul { display: grid; gap: .5rem; }
  .footer__col a { color: inherit; text-decoration: none; }
  .footer__col a:hover { color: var(--yellow); }

  .footer__bottom {
    display: flex; flex-wrap: wrap; gap: .6rem 1.5rem;
    justify-content: space-between;
    padding-block: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, .09);
    font-size: .78rem;
  }
  .footer__fine { color: rgba(255, 255, 255, .55); font-variant-numeric: tabular-nums; }
  @media (max-width: 760px) {
    .site-footer { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom)); }
  }

  /* ── pasek mobilny ──────────────────────────────────────────────── */
  .action-bar {
    position: fixed; inset: auto 0 0; z-index: 96;
    display: none; gap: .5rem;
    padding: .55rem calc(.7rem + env(safe-area-inset-right))
             calc(.55rem + env(safe-area-inset-bottom))
             calc(.7rem + env(safe-area-inset-left));
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 26px rgba(9, 30, 66, .1);
    translate: 0 130%;
    transition: translate .45s var(--ease-out);
  }
  .action-bar a {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    flex: 1; padding: .84em 1em;
    border-radius: var(--r-pill);
    font-weight: 700; font-size: var(--step--1);
    text-decoration: none;
  }
  .action-bar__call { background: var(--blue-btn); color: #fff; }
  .action-bar__mail { background: var(--mist); color: var(--ink); }
  @media (max-width: 760px) {
    .action-bar { display: flex; }
    .action-bar.is-visible { translate: 0 0; }
  }

  /* ── powrót na górę ─────────────────────────────────────────────── */
  .to-top {
    position: fixed; z-index: 95;
    right: clamp(.9rem, 2vw, 1.6rem);
    bottom: clamp(1rem, 2vw, 1.6rem);
    display: grid; place-items: center;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--blue-950);
    border: 1.5px solid rgba(255, 255, 255, .28);
    color: #fff; font-size: 1.15rem;
    box-shadow: var(--shadow-2);
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease-out), visibility .35s,
                transform .35s var(--ease-out), background-color .25s var(--ease-out);
  }
  .to-top .ico { transform: rotate(-90deg); }
  .to-top.is-visible { opacity: 1; visibility: visible; }
  .to-top:hover { background: var(--blue); transform: translateY(-3px); }
  @media (max-width: 760px) { .to-top { bottom: calc(4.8rem + env(safe-area-inset-bottom)); } }

  /* ── lightbox ───────────────────────────────────────────────────── */
  .lightbox {
    position: fixed; inset: 0; z-index: 150;
    display: grid; place-items: center;
    padding: clamp(1rem, 3vw, 3rem);
    background: rgba(4, 14, 32, .94);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity .3s var(--ease-out);
  }
  .lightbox[hidden] { display: none; }
  .lightbox.is-open { opacity: 1; }

  .lightbox__stage {
    display: grid; gap: .9rem; justify-items: center;
    margin: 0; max-width: min(94vw, 1400px);
  }
  .lightbox__stage img {
    max-width: 100%; max-height: 74vh;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-3);
    background: #F2F6FD;
    opacity: 0;
    transition: opacity .3s var(--ease-out);
  }
  .lightbox__stage img.is-loaded { opacity: 1; }
  .lightbox__stage figcaption {
    max-width: 70ch;
    color: rgba(255, 255, 255, .84);
    font-size: var(--step--1); font-weight: 600;
    text-align: center;
  }

  .lightbox__close,
  .lightbox__nav {
    position: fixed;
    display: grid; place-items: center;
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff; font-size: 1.2rem;
    transition: background-color .25s var(--ease-out), transform .25s var(--ease-out);
  }
  .lightbox__close:hover,
  .lightbox__nav:hover { background: rgba(255, 255, 255, .22); transform: scale(1.06); }
  .lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
  .lightbox__nav { top: 50%; translate: 0 -50%; }
  .lightbox__nav--prev { left: clamp(.6rem, 2vw, 1.6rem); }
  .lightbox__nav--next { right: clamp(.6rem, 2vw, 1.6rem); }
  .lightbox__nav--prev .ico { transform: rotate(180deg); }
  @media (max-width: 620px) {
    .lightbox__stage img { max-height: 58vh; }
    .lightbox__close, .lightbox__nav { width: 42px; height: 42px; }
  }

  .lightbox__count {
    position: fixed; left: 50%; bottom: clamp(1rem, 3vw, 2rem);
    translate: -50% 0;
    color: rgba(255, 255, 255, .64);
    font-size: var(--step--1); font-weight: 700;
    letter-spacing: .1em; font-variant-numeric: tabular-nums;
  }

  /* ── parallaxa ──────────────────────────────────────────────────── */
  @media (prefers-reduced-motion: no-preference) {
    [data-drift] { will-change: translate; }
  }
  @media (prefers-reduced-motion: reduce) {
    [data-drift] { position: static !important; top: 0 !important; height: 100% !important; translate: none !important; }
  }

  /* ── wejście sekcji ─────────────────────────────────────────────── */
  html.is-ready [data-reveal-delay="1"] { --reveal-delay: .09s; }
  html.is-ready [data-reveal-delay="2"] { --reveal-delay: .18s; }
  html.is-ready [data-reveal-delay="3"] { --reveal-delay: .27s; }
  html.is-ready [data-reveal-delay="4"] { --reveal-delay: .36s; }

  @media (prefers-reduced-motion: no-preference) {
    html.is-ready [data-reveal] {
      opacity: 0;
      transform: translateY(26px);
      transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
      transition-delay: var(--reveal-delay, 0s);
    }
    html.is-ready [data-reveal].is-in { opacity: 1; transform: none; }
  }
}

/* ───────────────────────────── 5. MOTION ─────────────────────────────── */
@layer motion {
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: .001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .001ms !important;
    }
    .ticker__track { animation: none; transform: none; }
    [data-drift] { translate: none !important; }
  }
}

/* ────────────────────────────── 6. PRINT ─────────────────────────────── */
@layer print {
  @media print {
    .site-header, .action-bar, .to-top, .lightbox, .ticker, .scroll-progress,
    .gallery, .filters, .map__facade, .hero__badges { display: none !important; }

    .hero { padding-block: .6rem 1rem; background: none; color: #000; }
    .hero__bg, .hero__scrim { display: none; }
    .hero h1, .hero h1 em, .hero__lead, .hero__trust li,
    .hero__badges-note, .hero .eyebrow { color: #000; }
    .hero__sep { box-shadow: none; border: 1px solid #ccc; }

    .section { padding-block: 1.2rem; }
    .section--works, .section--contact, .section--cred, .section--faq {
      background: none !important;
    }
    .shot, .contact-card, .cred__card, .cta-band {
      box-shadow: none; border: 1px solid #ccc;
    }
    .cred__card { border-top-color: #666; }
    .cta-band { background: none; border: 1px solid #ccc; }
    .site-footer { background: none; color: #000; padding-top: 1rem; }
    .footer__bottom { border-color: #ccc; }
    .footer__col h4 { color: #000; }

    body { font-size: 11pt; }
  }
}
