/* ============================================
   BIG PRINT — designerski one-pager
   Paleta z logo: granat #3B5BA5, czerwień #B22A2E
   ============================================ */

:root {
  --bg:        #f4f1ec;     /* off-white, papier */
  --bg-grain:  #efece6;
  --ink:       #0e0e10;     /* czarna farba */
  --ink-2:     #2a2a2e;
  --mute:      #6b6b70;
  --line:      rgba(14, 14, 16, .12);
  --red:       #b22a2e;     /* z logo */
  --red-2:     #d22a2e;
  --blue:      #3b5ba5;     /* z logo */
  --blue-2:    #2c4685;
  --dark:      #0a0a0c;
  --on-dark:   #f4f1ec;

  --container: 1400px;
  --gutter:    clamp(20px, 4vw, 56px);

  --serif:     "Bricolage Grotesque", "Archivo", system-ui, sans-serif;
  --sans:      "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:      "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;

  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
*::selection { background: var(--red); color: #fff; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,.04) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(0,0,0,.05) 0 1px, transparent 1px),
    radial-gradient(circle at 50% 80%, rgba(0,0,0,.03) 0 1px, transparent 1px);
  background-size: 7px 7px, 11px 11px, 13px 13px;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 8px 12px;
  z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

.red { color: var(--red); }
em { font-style: italic; font-family: var(--serif); font-weight: 700; }

/* ============================================
   NAV
   ============================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 16px var(--gutter);
  background: rgba(244, 241, 236, .85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 241, 236, .94);
}

.nav__brand img {
  height: 38px;
  width: auto;
}

.nav__menu {
  display: flex;
  gap: 6px;
  justify-self: center;
  background: rgba(14, 14, 16, .04);
  border: 1px solid var(--line);
  padding: 6px;
  border-radius: 999px;
}
.nav__menu a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.01em;
  padding: 9px 18px;
  border-radius: 999px;
  color: var(--ink-2);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav__menu a:hover {
  background: var(--ink);
  color: #fff;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.nav__cta:hover {
  background: var(--red);
  transform: translateY(-1px);
}

.nav__burger {
  display: none;
  appearance: none;
  background: var(--ink);
  border: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
}
.nav__burger span {
  position: absolute; left: 12px; right: 12px;
  height: 2px; background: #fff;
  transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease);
}
.nav__burger span:nth-child(1) { top: 14px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 28px; }
.nav__burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* drawer */
.drawer {
  position: fixed;
  inset: 0;
  background: var(--dark);
  color: var(--on-dark);
  z-index: 49;
  padding: 100px var(--gutter) 40px;
  transform: translateY(-100%);
  transition: transform .45s var(--ease);
  display: flex; flex-direction: column;
  justify-content: space-between;
}
.drawer.is-open { transform: translateY(0); }
.drawer__menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer__menu a {
  font-family: var(--serif);
  font-size: clamp(22px, 5.4vw, 36px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.drawer__menu a:hover { color: var(--red-2); }
.drawer__foot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--mono);
  font-size: 14px;
  color: rgba(255,255,255,.6);
}
.drawer__foot a:hover { color: #fff; }

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  margin: 0;
  z-index: 2;
  height: 100vh;
  height: 100dvh;
  min-height: 640px;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--dark);
  color: var(--on-dark);
}

/* Video background */
.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--dark);
}
.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1.04);
  animation: heroKenBurns 24s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
  from { transform: translate(-50%, -50%) scale(1.04); }
  to   { transform: translate(-50%, -50%) scale(1.12); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.78) 100%),
    radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,.25) 100%);
  pointer-events: none;
}
.hero__noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .15;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.4) 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.3) 1px, transparent 1px);
  background-size: 5px 5px, 9px 9px;
}
@media (prefers-reduced-motion: reduce) {
  .hero__video { animation: none; }
}

/* Content area on top */
.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 92px var(--gutter) 90px;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
}
.hero__meta {
  color: #fff;
  font-weight: 500;
  letter-spacing: .02em;
  margin-bottom: clamp(20px, 4vh, 48px);
  text-shadow: 0 1px 8px rgba(0,0,0,.55);
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 999px;
  align-self: flex-start;
  max-width: max-content;
  border: 1px solid rgba(255,255,255,.12);
}
.hero__meta .sep { color: rgba(255,255,255,.5); }
.hero__meta .dot { box-shadow: 0 0 0 4px rgba(255,255,255,.18); }
.hero__title {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
}
.hero__title em { color: var(--red-2); }
.hero__title .red { color: var(--red-2); text-shadow: 0 0 30px rgba(178, 42, 46, .45); }
.hero__period {
  color: var(--red-2);
  display: inline-block;
}

.hero__bottom {
  margin-top: clamp(28px, 5vh, 56px);
  margin-bottom: 0;
}
.hero__stats { display: none; }

/* Light ghost button for video bg */
.btn--ghost-light {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--ghost-light:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  transform: translateY(-2px);
}

@media (max-height: 760px) {
  .hero { min-height: auto; }   /* don't squeeze on tiny viewports */
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 13px;
  flex-wrap: wrap;
}
.hero__meta .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(178, 42, 46, .15);
  animation: pulse 2s var(--ease) infinite;
}
.hero__meta .sep { opacity: .35; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(178, 42, 46, .15); }
  50% { box-shadow: 0 0 0 8px rgba(178, 42, 46, 0); }
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(48px, 10vw, 168px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.045em;
  margin: 0;
}
.hero__title .line {
  display: block;
  overflow: hidden;
}
.hero__title .line span,
.hero__title em {
  display: inline-block;
}

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero__lead {
  max-width: 560px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-2);
  margin: 0;
  line-height: 1.5;
}

.hero__cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--solid {
  background: var(--red);
  color: #fff;
}
.btn--solid:hover {
  background: var(--ink);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}
.btn--dark {
  border-color: rgba(255,255,255,.3);
  color: var(--on-dark);
}
.btn--dark:hover {
  background: var(--on-dark);
  color: var(--dark);
  border-color: var(--on-dark);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 80px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero__stats > div {
  background: var(--bg);
  padding: 24px 4px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__stats b {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
}
.hero__stats span {
  font-size: 13px;
  color: var(--mute);
  font-family: var(--mono);
}

/* ============================================
   HERO — agency-style, mixed typography
   ============================================ */

.hero__title {
  position: relative;
}

/* Per-line typography variations */
.hero__title .line--1 {
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 4.6vw, 80px);
  letter-spacing: -.04em;
  display: inline-block;
  line-height: 1;
}
.hero__title .line--1 em {
  font-style: italic;
  letter-spacing: -.05em;
}
.hero__title .line--2 {
  font-weight: 800;
  font-size: clamp(38px, 7.4vw, 124px);
  letter-spacing: -.05em;
  text-transform: lowercase;
  line-height: .9;
}
.hero__title .line--2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--red);
}
.hero__title .line--3 {
  font-weight: 600;
  font-size: clamp(28px, 5vw, 88px);
  letter-spacing: -.04em;
  line-height: 1;
}
.hero__title .line--4 {
  font-weight: 800;
  font-size: clamp(38px, 7.4vw, 124px);
  letter-spacing: -.05em;
  display: inline-block;
  line-height: 1;
}
.hero__title .word--stroke {
  -webkit-text-stroke: 2px var(--ink);
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 900;
}

/* Strip with realization thumbnails between title lines */
.hero__strip {
  display: block;
  margin: 8px 0;
  overflow: hidden;
  width: 100%;
  border-radius: 999px;
  position: relative;
  font-size: 0;            /* kill inherited huge font-size */
  line-height: 0;          /* kill inherited line-height */
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.hero__strip-track {
  display: flex;
  gap: 10px;
  white-space: nowrap;
  animation: stripScroll 38s linear infinite;
  padding: 0;
  will-change: transform;
  line-height: 1;
  font-size: 16px;
}
.hero__strip-img {
  display: inline-block;
  width: clamp(60px, 6.5vw, 110px);
  height: clamp(40px, 4.5vw, 78px);
  border-radius: 999px;
  background-size: cover;
  background-position: center;
  background-color: var(--ink);
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(14,14,16,.12);
  border: 2px solid var(--bg);
  transition: transform .3s var(--ease);
}
.hero__strip-img:hover {
  transform: scale(1.05);
}
/* Static placeholders for index.html preview */
.hero__strip-img[data-fig="1"] { background: radial-gradient(circle at 30% 30%, #d22a2e 0%, #1a1a1d 75%); }
.hero__strip-img[data-fig="2"] { background: repeating-linear-gradient(45deg, #b22a2e 0 12px, #0e0e10 12px 24px); }
.hero__strip-img[data-fig="3"] { background: linear-gradient(180deg, #3b5ba5 0%, #1a2a4d 100%); }
.hero__strip-img[data-fig="4"] { background: conic-gradient(from 90deg at 50% 50%, #b22a2e, #0e0e10, #b22a2e); }
.hero__strip-img[data-fig="5"] { background: linear-gradient(90deg, transparent 0 49%, #b22a2e 49% 51%, transparent 51%) 0 0/22px 100%, #0e0e10; }
.hero__strip-img[data-fig="6"] { background: radial-gradient(circle at 50% 60%, rgba(178,42,46,.7), transparent 70%), #f4f1ec; }
@keyframes stripScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__strip-track { animation: none; }
}

/* Word rotator (JS-driven textContent swap with CSS transition) */
.rotator {
  display: inline-block;
  vertical-align: baseline;
  font-family: var(--serif);
  font-style: italic;
  color: var(--red);
  white-space: nowrap;
}
.rotator__word {
  display: inline-block;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  will-change: opacity, transform;
}
@media (prefers-reduced-motion: reduce) {
  .rotator__word { transition: none; }
}

/* Clean horizontal feature row above CTAs */
.hero__feats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  align-items: center;
}
.hero__feat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .92);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
}
.hero__feat-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red-2);
  flex-shrink: 0;
}
@media (max-width: 540px) {
  .hero__feat { font-size: 11px; padding: 7px 12px; }
}

/* Subtle grain on hero background */
.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .25;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(0,0,0,.06) 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(0,0,0,.05) 1px, transparent 1px);
  background-size: 9px 9px, 13px 13px;
}

/* Scroll-down indicator (light, on video) */
.hero__scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: .8;
  transition: opacity .25s var(--ease);
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.hero__scroll:hover { opacity: 1; }
.hero__scroll-arrow {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: scrollBounce 2.4s var(--ease) infinite;
}
.hero__scroll-arrow svg { width: 16px; height: 16px; }
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}
@media (max-width: 640px) {
  .hero__scroll { display: none; }
}

/* Hero title — base + per-line overrides */
.hero__title {
  line-height: 1;
}

/* ============================================
   MARQUEE
   ============================================ */

.marquee {
  background: var(--ink);
  color: #fff;
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.marquee__track {
  display: inline-flex;
  gap: 28px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -.03em;
  animation: scroll 60s linear infinite;
  padding-left: 28px;
}
.marquee__track span {
  display: inline-block;
}
.marquee__track span:nth-child(odd):not(:nth-child(2n)) {
  /* nothing */
}
.marquee__track > span:nth-child(2n) {
  color: var(--red);
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ============================================
   SECTIONS
   ============================================ */

section {
  position: relative;
  z-index: 2;
}

.section__head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px var(--gutter) 60px;
}
.section__head--dark {
  color: var(--on-dark);
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--mute);
  margin-bottom: 24px;
}
.section__head--dark .kicker { color: rgba(255,255,255,.55); }
.kicker i {
  font-style: normal;
  background: var(--red);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0;
}

.section__head h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 6.4vw, 96px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  margin: 0;
  max-width: 14ch;
}
.section__head--dark h2 {
  margin: 0 auto;
  max-width: 16ch;
}
.section__head--dark .section__sub {
  margin-left: auto;
  margin-right: auto;
}

.section__sub {
  margin-top: 24px;
  max-width: 600px;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--ink-2);
}
.section__head--dark .section__sub { color: rgba(255,255,255,.7); }
.section__sub a { color: inherit; border-bottom: 1px solid currentColor; }
.section__sub a:hover { color: var(--red-2); border-color: var(--red-2); }

/* ============================================
   ABOUT
   ============================================ */

.about__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 80px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.about__copy p {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0 0 18px;
}
.about__copy .link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 0;
  border-bottom: 1.5px solid var(--ink);
  font-weight: 600;
}
.about__copy .link:hover { color: var(--red); border-color: var(--red); }
.about__copy .link svg { transition: transform .2s var(--ease); }
.about__copy .link:hover svg { transform: translateX(4px); }

.about__bullets {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.about__bullets li {
  background: var(--bg);
  padding: 28px 24px;
  position: relative;
}
.about__bullets b {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  letter-spacing: .1em;
  font-weight: 600;
}
.about__bullets h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 6px 0 8px;
}
.about__bullets p {
  font-size: 14.5px;
  color: var(--mute);
  margin: 0;
  line-height: 1.5;
}

/* ============================================
   SERVICES (DARK)
   ============================================ */

.services {
  background: var(--dark);
  color: var(--on-dark);
  margin-top: 0;
  padding-bottom: 100px;
}

.services__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
  overflow: hidden;
}

.card {
  background: var(--dark);
  padding: 32px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
  transition: background .3s var(--ease);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.card::before {
  content: attr(data-num);
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,.35);
  letter-spacing: .1em;
}
.card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  color: var(--on-dark);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.card__icon svg {
  width: 28px; height: 28px;
}
.card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0;
}
.card p {
  font-size: 14.5px;
  color: rgba(255,255,255,.65);
  margin: 0;
  flex: 1;
  line-height: 1.55;
}
.card__more {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .1em;
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.card:hover {
  background: var(--red);
}
.card:hover .card__icon {
  background: rgba(255,255,255,.18);
}
.card:hover p { color: rgba(255,255,255,.9); }
.card:hover .card__more { color: #fff; transform: translateX(4px); }
.card:hover::before { color: rgba(255,255,255,.7); }

.card--accent {
  background: var(--red);
}
.card--accent::before { color: rgba(255,255,255,.7); }
.card--accent .card__icon {
  background: rgba(255,255,255,.18);
}
.card--accent p { color: rgba(255,255,255,.9); }
.card--accent .card__more { color: #fff; }
.card--accent:hover { background: var(--ink); }

/* ============================================
   WORKS
   ============================================ */

.works__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 14px;
}

.work {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  display: block;
  background: var(--ink);
}
.work--big {
  grid-column: span 2;
  grid-row: span 2;
}
.work--wide {
  grid-column: span 2;
}
.work__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .8s var(--ease), filter .4s var(--ease);
}

/* placeholder visuals — generated patterns */
.work__media[data-fig="1"] {
  background:
    radial-gradient(circle at 30% 30%, #d22a2e 0%, transparent 40%),
    radial-gradient(circle at 70% 70%, #3b5ba5 0%, transparent 50%),
    linear-gradient(135deg, #1a1a1d 0%, #2a2a30 100%);
}
.work__media[data-fig="2"] {
  background:
    repeating-linear-gradient(45deg, #b22a2e 0 22px, #0e0e10 22px 44px);
}
.work__media[data-fig="3"] {
  background:
    radial-gradient(circle at center, rgba(255,255,255,.08) 0 1px, transparent 1px) 0 0/12px 12px,
    linear-gradient(180deg, #3b5ba5 0%, #1a2a4d 100%);
}
.work__media[data-fig="4"] {
  background:
    conic-gradient(from 90deg at 50% 50%, #b22a2e, #0e0e10, #b22a2e);
}
.work__media[data-fig="5"] {
  background:
    linear-gradient(90deg, transparent 0 49%, #b22a2e 49% 51%, transparent 51%) 0 0/40px 100%,
    linear-gradient(0deg, transparent 0 49%, rgba(255,255,255,.08) 49% 51%, transparent 51%) 0 0/100% 40px,
    #0e0e10;
}
.work__media[data-fig="6"] {
  background:
    radial-gradient(circle at 25% 75%, rgba(178, 42, 46, .8) 0%, transparent 35%),
    radial-gradient(circle at 75% 25%, rgba(59, 91, 165, .8) 0%, transparent 35%),
    #f4f1ec;
}

.work::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.8) 100%);
}
.work__cap {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  z-index: 2;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.work__cap span {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .8;
}
.work__cap h3 {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0;
}
.work:hover .work__media {
  transform: scale(1.06);
  filter: brightness(1.1);
}

.works__cta {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 80px;
}

/* ============================================
   PROCESS (DARK)
   ============================================ */

.process {
  background: var(--dark);
  color: var(--on-dark);
  padding-bottom: 120px;
}

.steps {
  list-style: none;
  padding: 0;
  max-width: calc(var(--container) - var(--gutter) * 2);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  overflow: hidden;
}
.steps li {
  background: var(--dark);
  padding: 36px 28px;
  position: relative;
}
.steps__num {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--red-2);
  letter-spacing: .15em;
  margin-bottom: 28px;
}
.steps li h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin: 0 0 14px;
}
.steps li p {
  font-size: 14.5px;
  color: rgba(255,255,255,.6);
  margin: 0;
  line-height: 1.55;
}

/* ============================================
   CONTACT
   ============================================ */

.contact {
  padding: 120px 0 100px;
  background: var(--bg);
}

.contact__head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 50px;
}
.contact__head h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 96px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  margin: 0;
}

.contact__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 14px;
  align-items: stretch;
}

.contact__panel {
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact__row--socials {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px;
}
.contact__label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: rgba(255,255,255,.45);
}
.contact__row--socials .contact__label { width: 100%; }
.contact__row a,
.contact__row p {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0;
  line-height: 1.2;
  transition: color .2s var(--ease);
}
.contact__row--socials a {
  font-size: 17px;
  border-bottom: 1.5px solid rgba(255,255,255,.4);
  padding-bottom: 2px;
}
.contact__row a:hover { color: var(--red-2); }
.contact__row--socials a:hover { border-color: var(--red-2); }

.contact__map {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink);
  min-height: 400px;
  display: block;
}
.contact__map iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  filter: grayscale(.3) contrast(1.05);
}
.contact__map-cta {
  position: absolute;
  bottom: 18px; left: 18px;
  background: #fff;
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.contact__map:hover .contact__map-cta {
  background: var(--red);
  color: #fff;
}

/* ============================================
   FOOTER
   ============================================ */

.foot {
  background: var(--dark);
  color: var(--on-dark);
  padding: 60px 0 40px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.foot__big {
  font-family: var(--serif);
  font-size: clamp(80px, 22vw, 360px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: .85;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(178,42,46,.4) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  margin: 0 0 40px;
}
.foot__row {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 20px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
}
.foot__links {
  display: flex;
  gap: 20px;
  justify-self: center;
}
.foot__links a:hover { color: #fff; }
.foot__cred { justify-self: end; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1100px) {
  .nav__menu { display: none; }
  .nav { grid-template-columns: 1fr auto auto; }
  .nav__cta { display: none; }
  .nav__burger { display: block; }

  .hero__bottom { grid-template-columns: 1fr; gap: 28px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }

  .about__grid { grid-template-columns: 1fr; }

  .services__grid { grid-template-columns: repeat(2, 1fr); }

  .works__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }
  .work--big { grid-column: span 2; grid-row: span 2; }
  .work--wide { grid-column: span 2; }

  .steps { grid-template-columns: repeat(2, 1fr); }

  .contact__grid { grid-template-columns: 1fr; }
  .contact__map { min-height: 320px; }
}

@media (max-width: 640px) {
  .hero { padding: 110px var(--gutter) 60px; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stats > div { padding: 18px 4px 18px 0; }
  .hero__cta .btn { flex: 1; justify-content: center; }

  .section__head { padding: 80px var(--gutter) 40px; }

  .about__bullets { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }

  .works__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .work--big, .work--wide { grid-column: span 1; grid-row: span 1; }

  .steps { grid-template-columns: 1fr; }

  .foot__row {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .foot__links { justify-self: center; }
  .foot__cred { justify-self: center; }

  .contact__panel { padding: 30px 26px; }
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   FX UPGRADE — cursor, progress, magnetic,
   hero orbs, tilt, reg-marks, word reveal
   ============================================ */

/* Scroll progress bar */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 60;
  pointer-events: none;
  background: transparent;
}
.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--red) 0%, var(--blue) 100%);
  transition: width .12s linear;
  box-shadow: 0 0 12px rgba(178, 42, 46, .5);
}

/* Custom cursor (only enabled by JS on fine pointer) */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 0; height: 0;
  pointer-events: none;
  z-index: 70;
  opacity: 0;
  transition: opacity .25s var(--ease);
  mix-blend-mode: difference;
}
.cursor.is-active { opacity: 1; }
.cursor__dot,
.cursor__ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: transform, width, height, background;
}
.cursor__dot {
  width: 6px; height: 6px;
  background: #fff;
  transition: width .25s var(--ease), height .25s var(--ease), background .25s var(--ease);
}
.cursor__ring {
  width: 36px; height: 36px;
  border: 1.5px solid #fff;
  transition: width .35s var(--ease), height .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}
.cursor.is-hover .cursor__dot {
  width: 0; height: 0;
}
.cursor.is-hover .cursor__ring {
  width: 64px; height: 64px;
  background: #fff;
  border-color: #fff;
}
@media (hover: none), (pointer: coarse) {
  .cursor { display: none !important; }
}

/* Hero animated orbs background */
.hero {
  isolation: isolate;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.hero__bg .orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  will-change: transform;
  transition: transform 1.2s var(--ease);
}
.orb--1 {
  width: 520px; height: 520px;
  left: -120px; top: 120px;
  background: radial-gradient(circle at 35% 35%, var(--red) 0%, transparent 70%);
  animation: orbFloat1 18s ease-in-out infinite;
}
.orb--2 {
  width: 460px; height: 460px;
  right: -80px; top: 60px;
  background: radial-gradient(circle at 50% 50%, var(--blue) 0%, transparent 70%);
  animation: orbFloat2 22s ease-in-out infinite;
  opacity: .35;
}
.orb--3 {
  width: 380px; height: 380px;
  left: 40%; bottom: -100px;
  background: radial-gradient(circle at 50% 50%, #ff5a3a 0%, transparent 70%);
  animation: orbFloat3 26s ease-in-out infinite;
  opacity: .28;
}
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-70px, 80px) scale(.95); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(-50%, 0) scale(1); }
  50% { transform: translate(-50%, -60px) scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .orb--1, .orb--2, .orb--3 { animation: none; }
}

/* Hero word reveal animation */
.hero__title .word {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s cubic-bezier(.2, .8, .2, 1);
}
.hero__title.is-revealed .line:nth-child(1) .word { transform: translateY(0); }
.hero__title.is-revealed .line:nth-child(2) .word { transform: translateY(0); transition-delay: .12s; }
.hero__title.is-revealed .line:nth-child(3) .word { transform: translateY(0); transition-delay: .24s; }
.hero__title.is-revealed .line:nth-child(4) .word { transform: translateY(0); transition-delay: .36s; }

.reveal-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease) .55s, transform .8s var(--ease) .55s;
}
.is-revealed-meta .reveal-up { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero__title .word { transform: none; transition: none; }
  .reveal-up { opacity: 1; transform: none; transition: none; }
}

/* Printer registration marks (corner ticks) */
.reg {
  position: absolute;
  width: 28px; height: 28px;
  pointer-events: none;
  opacity: .3;
}
.reg::before,
.reg::after {
  content: "";
  position: absolute;
  background: var(--ink);
}
.reg::before { width: 1px; height: 100%; left: 50%; transform: translateX(-50%); }
.reg::after  { width: 100%; height: 1px; top: 50%; transform: translateY(-50%); }
.reg--tl { top: 100px; left: var(--gutter); }
.reg--tr { top: 100px; right: var(--gutter); }
.reg--bl { bottom: 24px; left: var(--gutter); }
.reg--br { bottom: 24px; right: var(--gutter); }
@media (max-width: 640px) {
  .reg { width: 18px; height: 18px; }
  .reg--tl, .reg--tr { top: 80px; }
}

/* Magnetic button — JS sets --mx, --my */
.magnetic {
  --mx: 0px;
  --my: 0px;
  transform: translate(var(--mx), var(--my));
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  position: relative;
  overflow: hidden;
}
.magnetic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120px circle at var(--px, 50%) var(--py, 50%), rgba(255,255,255,.18), transparent 60%);
  opacity: 0;
  transition: opacity .25s var(--ease);
  pointer-events: none;
}
.magnetic:hover::after { opacity: 1; }

/* Card 3D tilt — JS sets --tx, --ty */
[data-tilt] {
  --tx: 0deg;
  --ty: 0deg;
  --shine-x: 50%;
  --shine-y: 50%;
  transform: perspective(900px) rotateX(var(--tx)) rotateY(var(--ty));
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  transform-style: preserve-3d;
  position: relative;
}
[data-tilt]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--shine-x) var(--shine-y), rgba(255,255,255,.1), transparent 70%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
  border-radius: inherit;
}
[data-tilt]:hover::after { opacity: 1; }
@media (prefers-reduced-motion: reduce), (hover: none) {
  [data-tilt] { transform: none !important; transition: none; }
}

/* Marquee — pause on hover, gentle spotlight */
.marquee:hover .marquee__track {
  animation-play-state: paused;
}

/* Footer credit link */
.foot__cred-link {
  font-weight: 700;
  color: rgba(255,255,255,.85);
  letter-spacing: .04em;
  position: relative;
  padding: 0 2px;
  transition: color .2s var(--ease);
  background: linear-gradient(90deg, var(--red), var(--red)) no-repeat 0 100% / 0% 1px;
  transition: background-size .35s var(--ease), color .2s var(--ease);
}
.foot__cred-link:hover {
  color: #fff;
  background-size: 100% 1px;
}

/* Counter — keep text smooth during count */
.hero__stats b[data-count] {
  font-variant-numeric: tabular-nums;
  display: inline-block;
}

/* nav__cta also magnetic-ready */
.nav__cta {
  position: relative;
  overflow: hidden;
}

/* Card icon depth on hover */
[data-tilt] .card__icon {
  transition: transform .3s var(--ease);
  transform: translateZ(0);
}
[data-tilt]:hover .card__icon {
  transform: translateZ(30px) scale(1.05);
}

/* Improved work-tile reveal — clip-path mask */
.work {
  --reveal: 0;
  cursor: pointer;
}
.work__media {
  clip-path: inset(calc((1 - var(--reveal, 1)) * 50%) 0);
  transition: clip-path 1.2s cubic-bezier(.2, .8, .2, 1), transform .8s var(--ease), filter .4s var(--ease);
}
.reveal.is-in .work__media,
.work.is-in .work__media { --reveal: 1; }

/* Work parallax (JS sets --py) */
.work__media {
  transform: translateY(var(--py, 0));
}
.work:hover .work__media {
  transform: translateY(var(--py, 0)) scale(1.06);
}

/* "5 zdjęć" badge on multi-image work tiles */
button.work {
  cursor: zoom-in;
  border: 0;
  padding: 0;
  background: var(--ink);
  font: inherit;
  color: inherit;
  width: 100%;
  text-align: left;
}
button.work:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}
.work__count {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 3;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.work__count::before {
  content: "";
  width: 12px; height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='18' height='18' rx='2'/><circle cx='9' cy='9' r='2'/><path d='M21 15l-5-5L5 21'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='18' height='18' rx='2'/><circle cx='9' cy='9' r='2'/><path d='M21 15l-5-5L5 21'/></svg>") center/contain no-repeat;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, .94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 60px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.lightbox[open],
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__stage {
  flex: 1;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 0;
}
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
  animation: lbFade .3s var(--ease);
}
@keyframes lbFade {
  from { opacity: 0; transform: scale(.98); }
  to { opacity: 1; transform: scale(1); }
}
.lightbox__close {
  position: absolute;
  top: 18px; right: 18px;
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.lightbox__close:hover {
  background: var(--red);
  transform: rotate(90deg);
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s var(--ease);
}
.lightbox__nav:hover { background: var(--red); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__nav[disabled] { opacity: .3; cursor: default; }
.lightbox__nav[disabled]:hover { background: rgba(255,255,255,.08); }

.lightbox__caption {
  text-align: center;
  color: #fff;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.lightbox__category {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--red-2);
}
.lightbox__title {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0;
}
.lightbox__count {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

@media (max-width: 640px) {
  .lightbox__nav { width: 44px; height: 44px; font-size: 28px; }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
}

/* Card hover background only — tilt handles transform */
.card { transition: background .3s var(--ease); }

/* Subtle glow halo on red headlines (no gradient ON the text) */
.hero__title .red,
.section__head .red,
.contact__head .red {
  text-shadow: 0 0 28px rgba(178, 42, 46, .25);
}

/* ============================================
   NEWS section
   ============================================ */

.news-sec {
  background: var(--bg);
  padding-bottom: 80px;
}
.news-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  text-decoration: none;
  color: inherit;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(14,14,16,.08);
  border-color: var(--ink);
}
.news-card__img {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: var(--ink);
}
.news-card__img--placeholder {
  background:
    radial-gradient(circle at 30% 30%, rgba(178,42,46,.55), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(59,91,165,.45), transparent 60%),
    #1a1a1d;
}
.news-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.news-card__date {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mute);
  letter-spacing: .08em;
}
.news-card__body h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0;
  line-height: 1.15;
}
.news-card__body p {
  margin: 0;
  font-size: 14.5px;
  color: var(--mute);
  line-height: 1.55;
  flex: 1;
}
.news-card__more {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
  font-weight: 600;
}

/* ============================================
   QUOTE form (in contact section)
   ============================================ */

.quote {
  max-width: var(--container);
  margin: 60px auto 0;
  padding: 0 var(--gutter);
}
.quote__head {
  text-align: center;
  margin-bottom: 36px;
}
.quote__head .kicker {
  margin-bottom: 16px;
}
.quote__head h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin: 0;
  max-width: 24ch;
  margin-left: auto;
  margin-right: auto;
}
.quote__alert {
  max-width: 720px;
  margin: 0 auto 24px;
  padding: 16px 22px;
  border-radius: var(--r-md);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}
.quote__alert--ok {
  background: rgba(93, 211, 131, .12);
  color: #2c8f4d;
  border: 1px solid rgba(93, 211, 131, .35);
}
.quote__alert--err {
  background: rgba(178, 42, 46, .08);
  color: var(--red);
  border: 1px solid rgba(178, 42, 46, .25);
}
.quote__form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
  box-shadow: 0 24px 50px -28px rgba(14,14,16,.18);
}
.quote__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.quote__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.quote__field > span {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--mute);
  font-weight: 600;
}
.quote__field input,
.quote__field select,
.quote__field textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-grain);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
  width: 100%;
  resize: vertical;
}
.quote__field input:focus,
.quote__field select:focus,
.quote__field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}
.quote__field textarea {
  min-height: 130px;
  font-family: inherit;
}
.quote__submit {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 8px;
}
.quote__submit button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.quote__note {
  font-size: 13px;
  color: var(--mute);
}
.quote__note a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1.5px solid var(--ink);
}
.quote__note a:hover {
  color: var(--red);
  border-color: var(--red);
}

/* Photo realizations background fix */
.work__media--photo {
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
}

/* ============================================
   Article (single news page)
   ============================================ */
.article {
  max-width: 880px;
  margin: 0 auto;
  padding: 140px var(--gutter) 80px;
}
.article__back {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .05em;
  color: var(--mute);
  display: inline-block;
  margin-bottom: 32px;
}
.article__back:hover { color: var(--ink); }
.article__date {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--red);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.article h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.035em;
  margin: 0 0 16px;
}
.article__lead {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--mute);
  line-height: 1.55;
  max-width: 60ch;
  margin: 0 0 36px;
}
.article__cover {
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  background-size: cover;
  background-position: center;
  margin-bottom: 36px;
  background-color: var(--ink);
}
.article__body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
}
.article__body p { margin: 0 0 18px; }
.article__cta {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================
   CALCULATOR
   ============================================ */
.calc-sec {
  background: var(--bg);
  padding-bottom: 100px;
}
.calc {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.calc__form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 24px 50px -28px rgba(14,14,16,.18);
}
.calc__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.calc__field > label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--mute);
  font-weight: 600;
}
.calc__field input[type=number] {
  background: var(--bg-grain);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.calc__field input[type=number]:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}
.calc__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.calc__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  background: var(--bg-grain);
  border: 1px solid transparent;
  color: var(--ink);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
  font-family: inherit;
}
.chip:hover {
  background: var(--ink);
  color: #fff;
}
.chip.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.calc__chips--multi .chip.is-active {
  background: var(--red);
  border-color: var(--red);
}

.calc__result {
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 86px;
  align-self: start;
}
.calc__result-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.calc__pill {
  font-family: var(--mono);
  font-size: 12px;
  background: rgba(255,255,255,.08);
  padding: 6px 12px;
  border-radius: 999px;
  color: rgba(255,255,255,.7);
  align-self: flex-start;
  letter-spacing: .04em;
}
.calc__area {
  font-family: var(--mono);
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
.calc__price {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.calc__price-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.5);
}
.calc__price-val {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.calc__price-val i {
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  letter-spacing: 0;
  font-family: var(--sans);
}
.calc__price-note {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  line-height: 1.5;
}
.calc__cta {
  align-self: stretch;
  justify-content: center;
}

@media (max-width: 1100px) {
  .calc { grid-template-columns: 1fr; }
  .calc__result { position: static; }
}
@media (max-width: 540px) {
  .calc__row { grid-template-columns: 1fr; }
}

/* ============================================
   MOBILE QUICK-CALL BUTTON
   ============================================ */
/* Floating circular call button (mobile) */
.callbtn {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 75;
  display: none;             /* hidden on desktop */
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  box-shadow:
    0 14px 28px -6px rgba(178, 42, 46, .55),
    0 0 0 4px rgba(255,255,255,.16);
  transition: transform .2s var(--ease), background .2s var(--ease);
  animation: callPulse 2.4s var(--ease) infinite;
}
.callbtn:active { transform: scale(.94); }
.callbtn svg { width: 22px; height: 22px; flex-shrink: 0; }
.callbtn__text {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@keyframes callPulse {
  0%, 100% { box-shadow: 0 14px 28px -6px rgba(178, 42, 46, .55), 0 0 0 0 rgba(178, 42, 46, .45); }
  50%      { box-shadow: 0 14px 28px -6px rgba(178, 42, 46, .55), 0 0 0 14px rgba(178, 42, 46, 0); }
}

/* Show on touch / mobile */
@media (hover: none) and (pointer: coarse), (max-width: 900px) {
  .callbtn { display: inline-flex; }
  .cookie  { bottom: 84px; }   /* don't overlap with cookie banner */
}

@media (prefers-reduced-motion: reduce) {
  .callbtn { animation: none; }
}

/* ============================================
   COOKIE BANNER
   ============================================ */

.cookie {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 80;
  width: min(720px, calc(100vw - 32px));
  background: var(--ink);
  color: var(--on-dark);
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 0 24px 60px -10px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.05);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.cookie.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.cookie__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  flex: 1 1 320px;
  color: rgba(255,255,255,.85);
}
.cookie__text strong { color: #fff; font-weight: 600; }
.cookie__text a {
  color: var(--red-2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.cookie__text a:hover { color: #fff; }
.cookie__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie__actions .btn {
  padding: 12px 22px;
  font-size: 14px;
}
@media (max-width: 540px) {
  .cookie { padding: 14px 16px; bottom: 12px; }
  .cookie__inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .cookie__actions .btn { justify-content: center; width: 100%; }
}

@media (max-width: 1100px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .quote__row { grid-template-columns: 1fr; }
  .quote__submit { flex-direction: column; align-items: stretch; }
  .quote__submit button { justify-content: center; }
}
