﻿/* ============ EDITORIAL v2 ============ */
:root {
  --bg: oklch(0.97 0.008 85);
  --bg-2: oklch(0.94 0.012 82);
  --bg-3: oklch(0.9 0.015 78);
  --ink: oklch(0.17 0.012 60);
  --ink-2: oklch(0.35 0.012 60);
  --ink-3: oklch(0.55 0.012 60);
  --line: oklch(0.87 0.012 75);
  --line-2: oklch(0.8 0.014 70);
  --accent: oklch(0.62 0.12 60);
  --accent-2: oklch(0.78 0.1 70);
  --dark: oklch(0.155 0.012 60);
  --paper: oklch(0.95 0.014 82);

  --f-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --f-ui: "Geist", "Inter", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --gutter: 32px;
  --max: 1440px;
  /* Treść do czytania — paragrafy */
  --p: 18px;
  --p-lh: 1.62;
  /* Sekcje: ciasniej, góra = dół */
  --section-pad-y: clamp(40px, 4vw, 64px);
  /* Duże bloki w sekcji (nagłówek sekcji → treść, siatki) */
  --y-block: clamp(24px, 2.5vw, 36px);
  /* Średni odstęp między elementami w kolumnach */
  --y-stack: clamp(16px, 1.8vw, 24px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-ui);
  background: var(--bg);
  color: var(--ink);
  font-size: var(--p);
  line-height: var(--p-lh);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}
p {
  font-size: var(--p);
  line-height: var(--p-lh);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; padding: 0; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: 1600px; margin: 0 auto; padding: 0 var(--gutter); }

@media (max-width: 800px) {
  :root {
    --gutter: 20px;
    --p: 16px;
    --section-pad-y: clamp(32px, 5vw, 48px);
  }
}

/* ============ Typography ============ */
h1,h2,h3,h4,h5 { margin: 0; font-weight: 450; letter-spacing: -0.03em; line-height: 1; }
.serif-em { font-family: var(--f-display); font-style: italic; font-weight: 300; letter-spacing: -0.02em; }
.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.kicker {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before, .kicker.both::after {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* ============ Link / button ============ */
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: gap 0.2s ease;
}
.link-arrow:hover { gap: 14px; }
.link-arrow svg { transition: transform 0.2s ease; }
.link-arrow:hover svg { transform: translateX(2px); }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); background: var(--bg-2); }
.btn-light { background: var(--bg); color: var(--dark); }
.btn .dot {
  width: 8px; height: 8px; border-radius: 999px; background: currentColor;
  opacity: 0.6;
}

/* ============ Placeholder imagery ============ */
.ph {
  position: relative;
  background: var(--bg-3);
  overflow: hidden;
  height: 100%;
  min-height: 100%;
  width: 100%;
  --sa: oklch(0.92 0.018 75);
  --sb: oklch(0.88 0.022 70);
}
.ph::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, var(--sa) 0 14px, var(--sb) 14px 28px);
}
.ph::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(30,20,10,0.12));
}
.ph .lbl {
  position: absolute;
  left: 16px; bottom: 14px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--bg);
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  z-index: 2;
}
.ph .mta {
  position: absolute;
  right: 16px; top: 16px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  background: color-mix(in oklch, var(--bg) 80%, transparent);
  backdrop-filter: blur(6px);
  padding: 5px 10px;
  border-radius: 999px;
  z-index: 2;
}
.ph-warm { --sa: oklch(0.88 0.03 72); --sb: oklch(0.85 0.035 68); }
.ph-warmer { --sa: oklch(0.82 0.04 68); --sb: oklch(0.78 0.045 64); }
.ph-dark { --sa: oklch(0.22 0.015 60); --sb: oklch(0.19 0.015 60); }
.ph-dark .lbl { background: var(--dark); color: oklch(0.85 0.01 80); border-color: oklch(0.28 0.012 60); }
.ph-dark .mta { background: color-mix(in oklch, var(--dark) 80%, transparent); color: oklch(0.75 0.01 80); }
.ph-sage { --sa: oklch(0.86 0.03 140); --sb: oklch(0.82 0.035 135); }
.ph-ink { --sa: oklch(0.28 0.02 240); --sb: oklch(0.24 0.02 240); }
.ph-ink .lbl, .ph-ink .mta { color: oklch(0.85 0.01 80); background: color-mix(in oklch, oklch(0.2 0.02 240) 80%, transparent); border-color: oklch(0.35 0.02 240); }

/* ============ Header ============ */
.header {
  position: fixed; top: 16px; left: 0; right: 0;
  z-index: 60;
  padding: 0 var(--gutter);
  pointer-events: none;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 14px 16px 14px 26px;
  border-radius: 999px;
  background: #f3ebe1;
  border: 1px solid rgba(55, 45, 38, 0.1);
  pointer-events: auto;
}
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.logo img {
  display: block;
  height: 56px;
  width: auto;
  max-width: min(280px, 52vw);
  object-fit: contain;
}

.nav {
  display: flex; justify-content: center; gap: 6px;
}
.nav a {
  padding: 14px 20px;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 999px;
  transition: all 0.15s ease;
}
.nav a:hover { color: var(--ink); background: var(--bg-2); }

.header-right { display: flex; gap: 16px; align-items: center; }
.header-right .tel {
  font-family: var(--f-mono);
  font-size: 16.5px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  padding: 0 12px;
}
.header-right .tel strong { color: var(--ink); font-weight: 600; }
.header-right .btn {
  padding: 17px 30px;
  font-size: 17px;
  font-weight: 600;
  gap: 11px;
}
.header-right .btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .nav { display: none; }
  .header-right .tel { display: none; }
}

/* ============ HERO — full-bleed background ============ */
.hero {
  min-height: 100vh;
  position: relative;
  color: oklch(0.96 0.01 80);
  overflow: hidden;
  display: flex; flex-direction: column;
  padding: var(--section-pad-y) var(--gutter);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-color: oklch(0.22 0.02 60);
  background-image: url("../img/header.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(80% 100% at 30% 10%, transparent 0%, rgba(0,0,0,0.45) 85%),
    linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  flex: 1;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero-top {
  display: flex; justify-content: space-between;
  gap: var(--y-block);
  flex-wrap: wrap;
  margin-bottom: var(--y-block);
}
.hero-top .kicker, .hero-top .mono { color: oklch(0.82 0.015 80); }
.hero-top .kicker::before { background: oklch(0.82 0.015 80); }

.hero-title {
  font-size: clamp(64px, 11vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  font-weight: 450;
  color: oklch(0.98 0.01 80);
  max-width: 14ch;
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}
.hero-title .row { display: block; }
.hero-title .row.indent { padding-left: 14vw; }
.hero-title .serif-em { color: oklch(0.85 0.1 70); font-weight: 300; }
.hero-title .thin {
  font-family: var(--f-display);
  font-weight: 200;
  letter-spacing: -0.04em;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--y-block);
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: var(--y-stack);
  border-top: 1px solid oklch(0.6 0.015 80 / 0.3);
  align-items: end;
}
@media (max-width: 900px) {
  .hero-bottom { grid-template-columns: 1fr; gap: var(--y-stack); }
  .hero-title .row.indent { padding-left: 0; }
}
.hero-lede {
  font-size: var(--p);
  line-height: var(--p-lh);
  color: oklch(0.88 0.015 80);
  max-width: 48ch;
}
.hero-lede strong { color: oklch(0.98 0.01 80); font-weight: 500; }
.hero-cta {
  display: flex; flex-direction: column; gap: 12px;
  align-items: flex-start;
}
.hero-cta .btn { width: 100%; justify-content: space-between; }
.hero .btn-primary { background: oklch(0.96 0.01 80); color: var(--dark); }
.hero .btn-primary:hover { background: var(--bg); }
.hero .btn-ghost { color: oklch(0.96 0.01 80); border-color: oklch(0.75 0.015 80 / 0.4); }
.hero .btn-ghost:hover { border-color: oklch(0.95 0.01 80); background: oklch(0.25 0.015 60 / 0.3); }

.hero-tick {
  position: absolute;
  right: 0; top: 0;
  width: 240px;
  padding: 20px;
  background: color-mix(in oklch, var(--dark) 85%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid oklch(0.4 0.015 60 / 0.5);
  color: oklch(0.9 0.01 80);
  border-radius: 14px;
  z-index: 3;
  font-size: 12px;
}
.hero-tick .mono { color: oklch(0.75 0.06 70); margin-bottom: 8px; }
.hero-tick .big {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: 36px;
  line-height: 1;
  color: oklch(0.88 0.08 70);
  letter-spacing: -0.02em;
}
@media (max-width: 900px) {
  .hero-tick { position: static; width: 100%; margin-top: 24px; }
}

/* Update ticker separator above ticker after dark hero */
.hero + .ticker { border-top: none; }

/* ============ Ticker ============ */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
  background: var(--bg);
}
.ticker-track {
  display: inline-flex; gap: var(--y-block); align-items: center;
  animation: scroll 42s linear infinite;
}
.ticker-track .item {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--ink);
  letter-spacing: -0.02em;
}
.ticker-track .mark {
  width: 34px; height: 1px;
  background: var(--ink-3);
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ Philosophy ============ */
.philosophy {
  padding: var(--section-pad-y) 0;
  position: relative;
}
.philo-quote {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(38px, 5.6vw, 86px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin: 0 auto;
  text-align: left;
}
.philo-quote .italic { font-style: italic; color: var(--accent); }
.philo-quote .sans { font-family: var(--f-ui); font-weight: 450; letter-spacing: -0.03em; }

.philo-meta {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr;
  gap: var(--y-block);
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: var(--y-block);
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) { .philo-meta { grid-template-columns: 1fr; gap: var(--y-stack); } }
.philo-meta .col h5 {
  font-size: 22px; letter-spacing: -0.015em; margin-bottom: 14px; font-weight: 500;
}
.philo-meta .col p { color: var(--ink-2); max-width: 38ch; margin: 0; }

/* ============ STREFY (Zones switcher) ============ */
.zones {
  padding: var(--section-pad-y) 0;
  background: var(--paper);
  position: relative;
}
.zones-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--y-block);
  align-items: end; margin-bottom: var(--y-block);
}
@media (max-width: 900px) { .zones-head { grid-template-columns: 1fr; } }
.zones-title {
  font-size: clamp(46px, 6.2vw, 100px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  font-weight: 450;
}
.zones-title .em {
  font-family: var(--f-display);
  font-weight: 300; font-style: italic;
}

/* Stała wysokość na desktopie = brak „skakania” przy przełączaniu stref; na mobile wys. z treści */
.zones-stage {
  display: grid;
  grid-template-columns: 280px 1fr;
  grid-template-rows: 1fr;
  gap: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  align-items: stretch;
  box-sizing: border-box;
  height: min(680px, 78vh);
  min-height: min(680px, 78vh);
  max-height: 78vh;
}
@media (max-width: 900px) {
  .zones-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
    min-height: 0;
    max-height: none;
    align-items: start;
  }
}

.zones-list {
  display: flex;
  flex-direction: column;
  padding: 12px 20px 12px 12px;
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  align-self: stretch;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
  box-sizing: border-box;
}
@media (min-width: 901px) {
  .zones-list {
    justify-content: space-between;
  }
}
@media (max-width: 900px) {
  .zones-list {
    border-right: none;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    overflow-x: auto;
    height: auto;
    justify-content: flex-start;
  }
}

.zone-btn {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 20px 24px 20px 20px;
  border-radius: 14px;
  text-align: left;
  transition: all 0.2s ease;
  color: var(--ink-2);
  gap: 4px;
}
@media (max-width: 900px) { .zone-btn { flex: 0 0 auto; min-width: 140px; } }
.zone-btn:hover { background: var(--bg); color: var(--ink); }
.zone-btn.active { background: var(--ink); color: var(--bg); }
.zone-btn .num { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; opacity: 0.65; }
.zone-btn .t { font-size: 18px; font-weight: 500; letter-spacing: -0.015em; }

/* Kolumna z treścią stref — wiele paneli, JS przełącza .is-active */
.zones-panel-wrap {
  min-height: 0;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.zones-panel-wrap .zones-view {
  display: none;
  flex: 1;
  min-height: 0;
}
.zones-panel-wrap .zones-view.is-active {
  display: grid;
  flex: 1;
  min-height: 0;
}

.zones-view {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  align-content: stretch;
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  background: var(--bg);
}
@media (max-width: 900px) {
  .zones-view {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }
}
/* Desktop: wypełnia komórkę w stałowysokim .zones-stage (bez aspect-ratio = jedna wysokość wiersza) */
.zones-visual {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 0;
  min-width: 0;
  height: 100%;
  align-self: stretch;
}
@media (min-width: 901px) {
  .zones-visual {
    aspect-ratio: unset;
  }
}
@media (max-width: 900px) {
  .zones-visual {
    min-height: 200px;
    height: auto;
    aspect-ratio: 16 / 10;
  }
}
.zones-visual .ph { position: absolute; inset: 0; border-radius: 0; }
.zones-visual .zones-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.zones-copy {
  /* Więcej miejsca po prawej (krawędź karty + lista cech / wyrównania) */
  padding: var(--y-block) clamp(28px, 2.5vw, 48px) var(--y-block) var(--y-block);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  align-self: stretch;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: var(--bg);
}
@media (max-width: 900px) {
  .zones-copy {
    height: auto;
    max-height: none;
    overflow: visible;
  }
}
/* Odstępy zamiast space-between, żeby link „Zapytaj o…” był bliżej listy atrybutów */
.zones-copy > :first-child {
  margin-bottom: var(--y-stack);
}
.zones-copy h3 {
  font-size: clamp(38px, 3.6vw, 58px);
  font-weight: 450;
  letter-spacing: -0.025em;
}
.zones-copy .serif-em { color: var(--accent); }
.zones-copy p { color: var(--ink-2); max-width: 42ch; margin: 0; }
.zones-copy .feats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) {
  .zones-copy .feats {
    margin-bottom: 12px;
  }
}
/* Link CTA zawsze przy dolnej krawędzi karty (flex), wyrównany do lewej */
@media (min-width: 901px) {
  .zones-copy > .link-arrow {
    margin-top: auto;
    align-self: flex-start;
  }
}
.zones-copy .feat { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--ink-2); }
.zones-copy .feat b { color: var(--ink); font-weight: 500; }

/* ============ PROCESS — alternating timeline ============ */
.pr-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}
@media (max-width: 900px) {
  .pr-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.process {
  padding: var(--section-pad-y) 0;
  background: var(--dark);
  color: oklch(0.92 0.01 80);
}
.process .kicker { color: oklch(0.72 0.08 70); }
.process-title {
  font-size: clamp(50px, 6.6vw, 108px);
  letter-spacing: -0.035em;
  font-weight: 450;
  line-height: 0.95;
  max-width: 14ch;
  margin-top: var(--y-stack);
  color: oklch(0.96 0.01 80);
}
.process-title .em { font-family: var(--f-display); font-weight: 300; font-style: italic; color: oklch(0.82 0.1 70); }

.timeline {
  margin-top: clamp(40px, 5vw, 56px);
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: oklch(0.3 0.012 60);
}
@media (max-width: 900px) {
  .timeline::before { left: 20px; }
}

.tstep {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: var(--y-block);
  padding: var(--y-block) 0;
  align-items: center;
  position: relative;
}
.tstep.rev { direction: rtl; }
.tstep.rev > * { direction: ltr; }
@media (max-width: 900px) {
  .tstep, .tstep.rev { grid-template-columns: 60px 1fr; direction: ltr; }
  .tstep .tstep-visual { grid-column: 2; }
}

.tstep-copy { text-align: left; }
.tstep.rev .tstep-copy { text-align: right; }
@media (max-width: 900px) { .tstep.rev .tstep-copy { text-align: left; } }

.tstep-num {
  justify-self: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  position: relative;
  z-index: 2;
}
.tstep-num .dot {
  width: 14px; height: 14px; border-radius: 999px;
  background: oklch(0.82 0.1 70);
  box-shadow: 0 0 0 6px oklch(0.3 0.08 60 / 0.5);
}
.tstep-num .n {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: 36px;
  line-height: 1;
  color: oklch(0.72 0.08 70);
}
@media (max-width: 900px) {
  .tstep-num { align-items: flex-start; }
  .tstep-num .dot { margin-left: 14px; }
  .tstep-num .n { display: none; }
}

.tstep h4 { font-size: clamp(28px, 3.1vw, 42px); letter-spacing: -0.025em; font-weight: 450; color: oklch(0.96 0.01 80); margin-bottom: 12px; }
.tstep h4 .em { font-family: var(--f-display); font-weight: 300; font-style: italic; color: oklch(0.82 0.1 70); }
.tstep p { color: oklch(0.75 0.012 80); margin: 0 0 12px; max-width: 40ch; }
.tstep.rev .tstep-copy p { margin-left: auto; }
.tstep-duration { font-family: var(--f-mono); font-size: 11px; color: oklch(0.6 0.06 70); letter-spacing: 0.1em; }

.tstep-visual {
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.tstep-visual .tstep-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============ REALIZATIONS — editorial case studies ============ */
.realizations { padding: var(--section-pad-y) 0; }
.real-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: var(--y-block);
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.real-head h2 {
  font-size: clamp(50px, 6.6vw, 108px);
  letter-spacing: -0.035em; font-weight: 450; line-height: 0.95;
  max-width: 16ch;
}
.real-head h2 .em { font-family: var(--f-display); font-style: italic; font-weight: 300; }
.real-filter {
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-transform: uppercase;
  text-align: right;
}

/* alternating large case studies */
.case-study {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: var(--y-block);
  padding: clamp(40px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.case-study.rev { grid-template-columns: 1fr 1.35fr; }
.case-study.rev .cs-visual { order: 2; }
@media (max-width: 900px) {
  .case-study, .case-study.rev { grid-template-columns: 1fr; gap: var(--y-stack); }
  .case-study.rev .cs-visual { order: 0; }
}

.cs-visual { position: relative; }
.cs-visual .main { aspect-ratio: 5/4; border-radius: 20px; overflow: hidden; position: relative; }
.cs-visual .side {
  position: absolute;
  bottom: -40px; right: -40px;
  width: 42%;
  aspect-ratio: 1/1.1;
  border-radius: 16px;
  overflow: hidden;
  border: 6px solid var(--bg);
}
.cs-visual .main .cs-visual-img,
.cs-visual .side .cs-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) { .cs-visual .side { position: static; width: 60%; margin-top: 12px; } }
.case-study.rev .cs-visual .side { right: auto; left: -40px; }
@media (max-width: 900px) { .case-study.rev .cs-visual .side { margin-left: auto; left: auto; } }

.cs-copy { padding: var(--y-stack) 0; }
/* Wizual po lewej: miniatura `.side` wystaje w prawo (-40px) i nachodzi na kolumnę tekstu */
@media (min-width: 901px) {
  .case-study:not(.rev) .cs-copy {
    padding-left: clamp(19px, 3.35vw, 58px);
  }
}
.cs-meta {
  display: flex; gap: var(--y-stack); margin-bottom: var(--y-stack);
  font-family: var(--f-mono); font-size: 11.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
}
.cs-copy h3 {
  font-size: clamp(32px, 3.5vw, 54px);
  letter-spacing: -0.025em;
  font-weight: 450;
  line-height: 1.02;
  margin-bottom: var(--y-stack);
}
.cs-copy h3 .em { font-family: var(--f-display); font-style: italic; font-weight: 300; color: var(--accent); }
.cs-copy p { color: var(--ink-2); max-width: 44ch; margin-bottom: var(--y-stack); }
.cs-specs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--y-stack); margin-bottom: var(--y-stack); padding-top: var(--y-stack); border-top: 1px solid var(--line); }
.cs-specs .s .mono { margin-bottom: 4px; }
.cs-specs .s .v { font-size: 15px; font-weight: 500; }

/* ============ DETAIL STRIP ============ */
.detail {
  padding: var(--section-pad-y) 0;
  background: var(--bg-2);
}
.detail-title {
  font-size: clamp(42px, 5.1vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 450;
  max-width: 14ch;
  margin: var(--y-stack) 0 var(--y-block);
}
.detail-title .em { font-family: var(--f-display); font-weight: 300; font-style: italic; color: var(--accent); }

.detail-strip {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: var(--y-block);
}
@media (max-width: 900px) { .detail-strip { grid-template-columns: 1fr 1fr; } }
.detail-shot {
  aspect-ratio: 3/4;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.detail-shot .detail-shot-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-specs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
@media (max-width: 900px) { .detail-specs { grid-template-columns: 1fr 1fr; } }
.detail-spec { padding: var(--y-stack) 20px; background: var(--bg); min-height: 160px; display: flex; flex-direction: column; gap: 6px; }
.detail-spec .mono { margin-bottom: 12px; }
.detail-spec h4 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 6px; }
/* Drobny opis w siatce — zostaje wyraźnie mniejszy niż główna treść */
.detail-spec p { font-size: calc(var(--p) * 0.86); line-height: 1.5; color: var(--ink-2); margin: 0; }

/* ============ TRUST / WALL OF NUMBERS ============ */
.trust { padding: var(--section-pad-y) 0; }
.trust-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--y-block);
  align-items: end; margin-bottom: var(--y-block);
}
@media (max-width: 900px) { .trust-head { grid-template-columns: 1fr; } }
.trust-title {
  font-size: clamp(46px, 6.1vw, 100px);
  letter-spacing: -0.035em;
  font-weight: 450;
  line-height: 0.95;
  max-width: 14ch;
}
.trust-title .em { font-family: var(--f-display); font-weight: 300; font-style: italic; color: var(--accent); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 16px;
}

.tcard {
  background: var(--bg-2);
  border-radius: 18px;
  padding: 28px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}
.tcard.ink { background: var(--ink); color: oklch(0.92 0.01 80); }
.tcard.accent { background: var(--accent); color: oklch(0.98 0.01 80); }
.tcard .mono { color: currentColor; opacity: 0.65; margin-bottom: 14px; }
.tcard .big {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(44px, 4.5vw, 80px);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.tcard .big.sans {
  font-family: var(--f-ui); font-style: normal; font-weight: 500;
}
.tcard h4 { font-size: 19px; letter-spacing: -0.015em; font-weight: 500; margin-top: 12px; }
.tcard p { font-size: calc(var(--p) * 0.86); line-height: 1.5; opacity: 0.75; margin: 6px 0 0; max-width: 32ch; }

.tcard.t1 { grid-column: span 4; grid-row: span 2; }
.tcard.t2 { grid-column: span 4; }
.tcard.t3 { grid-column: span 4; }
.tcard.t4 { grid-column: span 4; }
.tcard.t5 { grid-column: span 4; }
.tcard.t6 { grid-column: span 3; }
.tcard.t7 { grid-column: span 3; }
.tcard.t8 { grid-column: span 3; }
.tcard.t9 { grid-column: span 3; }
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .tcard, .tcard.t1, .tcard.t2, .tcard.t3, .tcard.t4, .tcard.t5, .tcard.t6, .tcard.t7, .tcard.t8, .tcard.t9 { grid-column: span 1; grid-row: auto; }
}

/* ============ TESTIMONIALS — editorial quote stack ============ */
.testimonials { padding: var(--section-pad-y) 0; background: var(--paper); }
.test-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: var(--y-block);
  margin-bottom: var(--y-block);
  flex-wrap: wrap;
}
.test-title {
  font-size: clamp(42px, 5.1vw, 88px);
  letter-spacing: -0.035em;
  font-weight: 450;
  line-height: 0.95;
  max-width: 16ch;
}
.test-title .em { font-family: var(--f-display); font-weight: 300; font-style: italic; color: var(--accent); }

.tquotes {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: var(--y-stack);
  grid-auto-rows: minmax(min-content, auto);
}
.tq {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: var(--y-block);
  border-radius: 20px;
  display: flex; flex-direction: column;
  gap: var(--y-stack);
}
.tq blockquote {
  margin: 0;
  font-size: clamp(var(--p), 1.55vw, 22px);
  letter-spacing: -0.012em;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 400;
  flex: 1;
}
.tq blockquote::before {
  content: "“";
  display: inline-block;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: 64px;
  line-height: 0;
  color: var(--accent);
  margin-right: 6px;
  translate: 0 24px;
}
.tq-foot { display: flex; justify-content: space-between; align-items: center; padding-top: var(--y-stack); border-top: 1px solid var(--line); }
.tq-foot .who { display: flex; align-items: center; gap: 12px; }
.tq-foot .av { width: 38px; height: 38px; border-radius: 999px; background: var(--bg-3); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; }
.tq-foot .name { font-size: 14px; font-weight: 500; }
.tq-foot .loc { font-size: 12px; color: var(--ink-3); }
.tq-foot .rating { font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); }

.tq.q1 { grid-column: span 7; background: var(--ink); color: oklch(0.92 0.01 80); border-color: var(--ink); }
.tq.q1 blockquote { font-size: clamp(22px, 2.4vw, 34px); line-height: 1.25; color: oklch(0.96 0.01 80); font-family: var(--f-display); font-weight: 300; font-style: italic; letter-spacing: -0.02em; }
.tq.q1 blockquote::before { color: oklch(0.82 0.1 70); }
.tq.q1 .tq-foot { border-top-color: oklch(0.3 0.012 60); }
.tq.q1 .tq-foot .av { background: oklch(0.3 0.012 60); color: oklch(0.92 0.01 80); }
.tq.q1 .tq-foot .loc, .tq.q1 .tq-foot .rating { color: oklch(0.65 0.012 80); }
.tq.q2 { grid-column: span 5; }
.tq.q3 { grid-column: span 5; }
.tq.q4 { grid-column: span 7; }
@media (max-width: 900px) { .tq.q1,.tq.q2,.tq.q3,.tq.q4 { grid-column: span 12; } }

/* ============ FAQ — minimal editorial list ============ */
.faq { padding: var(--section-pad-y) 0; }
.faq-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--y-block);
  margin-bottom: var(--y-block);
  align-items: end;
}
@media (max-width: 900px) { .faq-head { grid-template-columns: 1fr; } }
.faq-title {
  font-size: clamp(46px, 6.1vw, 100px);
  letter-spacing: -0.035em;
  font-weight: 450;
  line-height: 0.95;
  max-width: 14ch;
}
.faq-title .em { font-family: var(--f-display); font-weight: 300; font-style: italic; color: var(--accent); }

.faq-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  align-items: center;
  gap: 24px;
  padding: var(--y-stack) 0;
  text-align: left;
  transition: padding 0.2s ease;
}
.faq-q:hover { padding-left: 8px; }
.faq-q .idx { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ink-3); }
.faq-q .label {
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.02em;
  font-weight: 450;
  color: var(--ink);
}
.faq-q .plus {
  justify-self: end;
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.25s ease;
}
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 60px 0 64px;
  color: var(--ink-2);
  font-size: var(--p);
  line-height: var(--p-lh);
  max-width: 70ch;
}
.faq-item.open .faq-a { max-height: 320px; padding: 0 60px var(--y-stack) 64px; }
@media (max-width: 700px) {
  .faq-q { grid-template-columns: 36px 1fr 28px; gap: 14px; }
  .faq-a { padding: 0 0 0 50px; }
  .faq-item.open .faq-a { padding: 0 0 var(--y-stack) 50px; }
}

/* ============ BIG CTA ============ */
.bigcta { padding: var(--section-pad-y) 0; }
.bigcta-card {
  position: relative;
  padding: clamp(48px, 5vw, 72px) clamp(32px, 4vw, 48px);
  border-radius: 36px;
  overflow: hidden;
  background: var(--dark);
  color: oklch(0.92 0.01 80);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (max-width: 900px) { .bigcta-card { padding: 40px var(--gutter); border-radius: 24px; } }
.bigcta-bg {
  position: absolute; inset: 0;
  opacity: 0.25;
}
.bigcta-card::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 90% 20%, color-mix(in oklch, var(--accent) 50%, transparent) 0%, transparent 70%),
    radial-gradient(40% 60% at 10% 80%, color-mix(in oklch, var(--accent-2) 30%, transparent) 0%, transparent 70%);
  pointer-events: none;
}
.bigcta-card > * { position: relative; z-index: 2; }

.bigcta-title {
  font-size: clamp(58px, 9.1vw, 184px);
  letter-spacing: -0.045em;
  font-weight: 450;
  line-height: 0.9;
  color: oklch(0.96 0.01 80);
}
.bigcta-title .em { font-family: var(--f-display); font-weight: 300; font-style: italic; color: oklch(0.82 0.1 70); }

.bigcta-bottom {
  display: flex; justify-content: space-between; align-items: end;
  gap: var(--y-block);
  flex-wrap: wrap;
  margin-top: var(--y-block);
  padding-top: var(--y-stack);
  border-top: 1px solid oklch(0.3 0.012 60);
}
.bigcta-bottom p { color: oklch(0.72 0.012 80); max-width: 44ch; margin: 0; }
.bigcta-bottom .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.bigcta-bottom .btn-primary { background: oklch(0.96 0.01 80); color: var(--dark); }
.bigcta-bottom .btn-ghost { color: oklch(0.92 0.01 80); border-color: oklch(0.3 0.012 60); }

/* ============ CONTACT ============ */
.contact { padding: var(--section-pad-y) 0; }
.contact-head {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--y-block);
  align-items: end;
  margin: var(--y-stack) 0 var(--y-block);
}
@media (max-width: 900px) { .contact-head { grid-template-columns: 1fr; gap: var(--y-stack); } }
.contact-title {
  font-size: clamp(42px, 5.3vw, 92px);
  letter-spacing: -0.035em; font-weight: 450; line-height: 0.95;
  max-width: 14ch;
  margin: 0;
}
.contact-title .em { font-family: var(--f-display); font-weight: 300; font-style: italic; color: var(--accent); }
.contact-head p {
  color: var(--ink-2);
  max-width: 44ch; margin: 0;
}

/* Channel cards — three clear, visual entry points */
.contact-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--y-stack);
  margin-bottom: var(--y-stack);
}
@media (max-width: 900px) { .contact-channels { grid-template-columns: 1fr; } }
.cch {
  display: block;
  padding: var(--y-block);
  border-radius: 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: all 0.2s ease;
  position: relative;
  min-height: 180px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.cch:hover { border-color: var(--ink); background: var(--paper); transform: translateY(-2px); }
.cch.primary { background: var(--dark); color: oklch(0.95 0.01 80); border-color: var(--dark); }
.cch.primary:hover { background: oklch(0.2 0.015 60); }
.cch .ctop { display: flex; justify-content: space-between; align-items: center; }
.cch .mono { color: var(--ink-3); }
.cch.primary .mono { color: oklch(0.72 0.06 70); }
.cch .arr {
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.25s ease;
}
.cch:hover .arr { transform: translate(4px, -4px) rotate(-12deg); }
.cch.primary .arr { background: oklch(0.95 0.01 80); color: var(--dark); }
.cch .val {
  font-size: 22px; font-weight: 500; letter-spacing: -0.02em;
  margin-top: 18px;
}
.cch.primary .val { color: oklch(0.96 0.01 80); }
.cch .sub { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; line-height: 1.4; }
.cch.primary .sub { color: oklch(0.72 0.012 80); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--y-block);
  align-items: start;
  margin-top: var(--y-block);
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: var(--y-block); } }

.contact-side {
  position: sticky; top: 100px;
  display: flex; flex-direction: column; gap: var(--y-stack);
  padding: var(--y-block);
  background: var(--paper);
  border-radius: 20px;
  border: 1px solid var(--line);
}
.contact-side h4 {
  font-size: 14px; font-family: var(--f-mono);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
  margin: 0 0 4px;
}
.cblock {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
  padding: 4px 0;
}
.cblock .ico {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--bg-2);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  margin-top: 2px;
}
.cblock .cbi { display: flex; flex-direction: column; gap: 2px; }
.cblock .cblab {
  font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3);
}
.cblock .val { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.cblock a.val:hover { color: var(--accent); }
.cblock .sub { font-size: 13px; color: var(--ink-3); line-height: 1.4; }

.cside-hours {
  margin-top: 8px; padding-top: 20px;
  border-top: 1px dashed var(--line-2);
  display: flex; flex-direction: column; gap: 8px;
}
.cside-hours .row {
  display: flex; justify-content: space-between;
  font-size: 13.5px; color: var(--ink-2);
}
.cside-hours .row b { font-weight: 500; color: var(--ink); }
.cside-hours .row.closed b { color: var(--ink-3); }

.form {
  display: grid; gap: var(--y-stack);
  padding: var(--y-block);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
}
@media (max-width: 700px) { .form { padding: 24px; } }
.form-section { display: block; }
.form-section > .mono {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.form-section > .mono::before {
  content: ""; width: 18px; height: 1px; background: var(--ink-3);
}
.form-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent;
  font-size: 13.5px; cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.chip:hover { border-color: var(--ink-3); background: var(--bg-2); }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
}
.field input, .field textarea {
  font: inherit; font-size: 15px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-2);
  color: var(--ink);
  transition: all 0.15s ease;
  resize: none;
  font-family: var(--f-ui);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--bg);
}
.field textarea { min-height: 120px; line-height: 1.5; }
.form-submit {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px; padding-top: var(--y-stack);
  border-top: 1px solid var(--line);
  flex-wrap: wrap; gap: var(--y-stack);
}
.form-note { font-size: 12px; color: var(--ink-3); max-width: 36ch; line-height: 1.5; }
.form-submit .btn-primary { padding: 16px 28px; }

/* Location band — editorial full-width map */
.locband {
  margin-top: clamp(36px, 5vw, 52px);
  border-radius: 24px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  min-height: 420px;
}
@media (max-width: 900px) { .locband { grid-template-columns: 1fr; } }
.locband-copy {
  padding: var(--y-block);
  display: flex; flex-direction: column;
  justify-content: space-between;
  gap: var(--y-block);
}
.locband-copy .head h3 {
  font-size: clamp(30px, 3.1vw, 46px);
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 20px 0 12px;
  max-width: 14ch;
}
.locband-copy .head h3 .em { font-family: var(--f-display); font-style: italic; font-weight: 300; color: var(--accent); }
.locband-copy .head p { color: var(--ink-2); max-width: 36ch; margin: 12px 0 0; }
.locband-copy .addr {
  display: grid; grid-template-columns: auto 1fr; gap: 14px 18px;
  font-size: 14px;
  padding-top: 24px;
  border-top: 1px dashed var(--line-2);
}
.locband-copy .addr b { font-weight: 500; color: var(--ink); }
.locband-copy .addr .k { color: var(--ink-3); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; padding-top: 2px; }
.locband-copy .addr .v { color: var(--ink); }
.locband-copy .btns { display: flex; gap: 10px; flex-wrap: wrap; }

.locmap {
  height: 100%; min-height: 420px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 45%, oklch(0.94 0.015 80) 0%, transparent 50%),
    radial-gradient(circle at 70% 65%, oklch(0.92 0.02 70) 0%, transparent 55%),
    repeating-linear-gradient(0deg, transparent 0 44px, oklch(0.87 0.01 75) 44px 45px),
    repeating-linear-gradient(90deg, transparent 0 44px, oklch(0.87 0.01 75) 44px 45px),
    var(--bg-2);
}
.locmap .road {
  position: absolute;
  background: oklch(0.88 0.012 75);
}
.locmap .road.r1 { top: 40%; left: -5%; width: 110%; height: 8px; transform: rotate(-4deg); border-radius: 4px; }
.locmap .road.r2 { top: 0; left: 62%; width: 6px; height: 100%; transform: rotate(3deg); border-radius: 4px; }
.locmap .road.r3 { top: 72%; left: -5%; width: 70%; height: 5px; transform: rotate(2deg); border-radius: 4px; }
.locmap .road.r4 { top: 0; left: 20%; width: 4px; height: 80%; transform: rotate(-6deg); border-radius: 4px; opacity: 0.7; }
.locmap .river {
  position: absolute; inset: auto 0 0 0; height: 28%;
  background: oklch(0.88 0.028 220);
  clip-path: polygon(0 55%, 22% 40%, 48% 62%, 72% 38%, 100% 50%, 100% 100%, 0 100%);
  opacity: 0.55;
}
.locmap .pin {
  position: absolute; left: 52%; top: 48%; translate: -50% -100%;
  z-index: 3;
}
.locmap .pin-d {
  width: 18px; height: 18px; border-radius: 999px;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 6px color-mix(in oklch, var(--accent) 20%, transparent), 0 8px 20px -4px color-mix(in oklch, var(--accent) 50%, transparent);
  animation: pin-pulse 2.4s ease-out infinite;
}
@keyframes pin-pulse {
  0%, 100% { box-shadow: 0 0 0 6px color-mix(in oklch, var(--accent) 20%, transparent), 0 0 0 14px color-mix(in oklch, var(--accent) 8%, transparent); }
  50% { box-shadow: 0 0 0 10px color-mix(in oklch, var(--accent) 15%, transparent), 0 0 0 22px color-mix(in oklch, var(--accent) 0%, transparent); }
}
.locmap .pin-l {
  background: var(--dark); color: oklch(0.95 0.01 80);
  border: none;
  padding: 8px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
  translate: -50% -28px;
  position: absolute; left: 50%; top: 0;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.locmap .pin-l::after {
  content: ""; position: absolute;
  left: 50%; bottom: -5px; translate: -50% 0;
  width: 10px; height: 10px; background: var(--dark);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--dark);
  color: oklch(0.85 0.01 80);
  padding: var(--section-pad-y) 0 24px;
  position: relative;
  overflow: hidden;
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--y-block);
  padding-bottom: var(--y-block);
}
@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; gap: var(--y-stack); } }
.footer .logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1.1;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: oklch(0.95 0.01 80);
}
.footer .logo .mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: oklch(0.95 0.01 80);
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
}
.footer .logo .sub { color: oklch(0.6 0.012 80); font-weight: 400; }
.footer-intro {
  max-width: 36ch; color: oklch(0.7 0.012 80);
  margin-top: 16px;
}
.footer-col h5 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: oklch(0.55 0.02 70); font-weight: 500; margin: 0 0 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col a { color: oklch(0.85 0.01 80); }
.footer-col a:hover { color: oklch(0.95 0.01 80); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  border-top: 1px solid oklch(0.24 0.012 60);
  padding-top: 24px;
  font-size: 12.5px; color: oklch(0.55 0.012 80);
}
.footer-bottom a { color: oklch(0.8 0.01 80); }

/* ============ Tweaks ============ */
.tweaks {
  position: fixed; bottom: 20px; right: 20px;
  z-index: 100;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  width: 280px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.25);
  font-size: 13px;
  display: none;
}
.tweaks.open { display: block; }
.tweaks h5 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3); margin: 0 0 14px; font-weight: 500; }
.tw-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; justify-content: space-between;}
.tw-row .lbl { color: var(--ink-2); font-size: 13px; }
.swatches { display: flex; gap: 6px; }
.sw { width: 22px; height: 22px; border-radius: 999px; cursor: pointer; border: 2px solid transparent; transition: transform 0.15s ease; }
.sw:hover { transform: scale(1.1); }
.sw.on { border-color: var(--ink); }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
[data-reveal].in { opacity: 1; transform: none; }
