/* =========================================================
   GLOBAU — Design System
   Kolory, typografia i przyciski wyprowadzone bezpośrednio
   z materiałów brandingowych GLOBAU (logo + paleta + Montserrat).
   ========================================================= */

:root{
  --grafit: #1E2328;        /* dark surface backgrounds (hero, footer, approach) */
  --ink: #3A3E42;            /* brand grafit — body text, headings on light surfaces */
  --navy: #0F3B6E;          /* brand granat — buttons, links, focus states */
  --navy-deep: #0A2A4F;
  --brand-navy: #0F3B6E;    /* exact brand granat (as in the logo) — eyebrows, section labels, numbering, marks; same value on light and dark backgrounds. */
  --grey: #8E959C;          /* body text on light backgrounds (one colour site-wide) + borders */
  --grey-light: #F5F7F9;    /* light surface */
  --white: #FFFFFF;

  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --wrap: 1440px;
  /* Boczne marginesy: węższy, „boksowany" układ treści.
     ≥1280 px: ~8 % szerokości ekranu z każdej strony (max 120 px),
     poniżej: mniejsze, żeby menu i treść się mieściły. */
  --gutter: clamp(20px, 5vw, 64px);
  --grafit-deep: #181C20;   /* stopka — odrobinę ciemniejsza niż sekcje */

  --ease: cubic-bezier(.16,.84,.44,1);
  --dur-s: .35s;
  --dur-m: .6s;
  --dur-l: .9s;
}

@media (min-width: 1280px){
  :root{ --gutter: clamp(20px, 8vw, 120px); }
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
[id]{ scroll-margin-top: 84px; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

body{
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a{ color: inherit; text-decoration: none; }

ul, ol{ list-style: none; margin: 0; padding: 0; }
p{ margin: 0; }
h1,h2,h3,h4{ margin: 0; font-weight: 700; }

.wrap{
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  z-index: 999;
}
.skip-link:focus{ left: var(--gutter); top: 12px; }

:focus-visible{
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

/* =========================================================
   Typography
   ========================================================= */

.eyebrow{
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-navy);
  margin: 0 0 14px;
}
.eyebrow.light{ color: var(--brand-navy); }

.section-title{
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  max-width: 18ch;
  margin: 0 0 18px;
}
.section-title.light{ color: var(--white); }

.section-lede{
  font-size: clamp(1.05rem, 1.2vw, 1.15rem);
  color: var(--grey);
  max-width: 64ch;
  line-height: 1.65;
  margin-bottom: 48px;
}

.statement{
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.18;
  max-width: 16ch;
}

/* Section numbering / header block, echoes the two-part angled symbol.
   Three flex siblings (mark, number, title) on one baseline, one shared
   gap — this is what keeps them level regardless of font metrics. */
.section-head{
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 28px;
}
.section-mark{
  align-self: center;
  flex-shrink: 0;
  width: 11px; height: 11px;
  background: var(--brand-navy);
  clip-path: polygon(35% 0, 100% 0, 65% 100%, 0 100%);
}
.section-mark.light{ background: var(--brand-navy); }
.section-num{
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
  color: var(--brand-navy);
}
.section-num.light{ color: var(--brand-navy); }
.section-head .eyebrow{ margin: 0; line-height: 1; }

/* =========================================================
   Buttons — sharp, geometric, tracked labels
   ========================================================= */

.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 16px 28px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color var(--dur-s) var(--ease), color var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
}
.btn::after{
  content: "";
  width: 7px; height: 7px;
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
  background: currentColor;
  flex-shrink: 0;
}
.btn-arrow::after{ content: none; }
.btn:hover{ transform: translateY(-2px); }

.btn-primary{
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover{ background: var(--navy-deep); border-color: var(--navy-deep); }

.btn-outline-light{
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.45);
}
.btn-outline-light:hover{ background: rgba(255,255,255,.08); border-color: var(--white); }

.btn-ghost{
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  padding: 9px 16px;
  font-size: .74rem;
}
.btn-ghost:hover{ background: var(--ink); color: var(--white); }

/* =========================================================
   Header
   ========================================================= */

.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease);
}
.site-header.is-scrolled{
  border-color: rgba(30,35,40,.08);
  box-shadow: 0 8px 24px rgba(20,24,28,.05);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 13px;
}
.brand{ display: flex; align-items: center; flex-shrink: 0; }
.brand-logo{ height: 50px; width: auto; }

.main-nav{ min-width: 0; flex-shrink: 1; }
.main-nav ul{ display: flex; gap: clamp(16px, 1.8vw, 30px); white-space: nowrap; }
.main-nav a{
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .01em;
  white-space: nowrap;
  position: relative;
  padding-block: 4px;
}
.main-nav a::after{
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--navy);
  transition: right var(--dur-s) var(--ease);
}
.main-nav a:hover::after{ right: 0; }

.header-actions{ display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-cta{ white-space: nowrap; }

.lang-switch{ display: flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; }
.lang-btn{
  background: none; border: none; cursor: pointer;
  color: var(--grey);
  font-family: var(--font); font-weight: 600; font-size: .78rem;
  letter-spacing: .03em;
  padding: 4px 2px;
}
.lang-btn.is-active{ color: var(--navy); }
.lang-sep{ color: var(--grey); }

.menu-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none; border: none; cursor: pointer;
  padding: 0;
}
.menu-toggle span{
  display: block;
  width: 100%; height: 2px;
  background: var(--ink);
  transition: transform var(--dur-s) var(--ease), opacity var(--dur-s) var(--ease);
}
.menu-toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2){ opacity: 0; }
.menu-toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-nav{
  position: fixed;
  inset: 0;
  top: 0;
  background: var(--white);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-content: safe center; /* if the menu is taller than the screen, start at the top instead of overflowing upwards */
  overflow-y: auto;
  gap: 36px;
  padding: 100px var(--gutter) 60px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--dur-m) var(--ease), opacity var(--dur-m) var(--ease), visibility 0s var(--dur-m);
}
.mobile-nav.is-open{
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform var(--dur-m) var(--ease), opacity var(--dur-m) var(--ease), visibility 0s 0s;
}
.mobile-nav ul{ display: flex; flex-direction: column; gap: 17px; }
.mobile-nav a{ font-size: 1.4rem; font-weight: 600; letter-spacing: -.01em; }
/* CTA: full menu width, one line on phones from ~375px (PL) */
.mobile-nav .btn{ align-self: stretch; justify-content: space-between; font-size: 1rem; padding: 13px 18px; }
.mobile-nav .lang-switch{ align-self: flex-start; font-size: .9rem; }
.mobile-nav .lang-btn{ font-size: .9rem; padding: 10px 6px; }

/* =========================================================
   Hero
   ========================================================= */

.hero{
  position: relative;
  min-height: calc(100svh - 68px);
  display: flex;
  align-items: flex-end;
  background: var(--grafit);
  color: var(--white);
  overflow: hidden;
}

/* ---- Full-bleed hero media -----------------------------------------
   assets/img/hero-globau.png (+ .webp source) — the final GLOBAU
   visual. Swapping either file in place is all a future update needs.
   ---------------------------------------------------------------- */
.hero-media{
  position: absolute; inset: 0; z-index: 0;
  display: block;
  overflow: hidden;
  background: #14171b;
  will-change: transform;
  transform: scale(1);
}
.hero-media-img{
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-scrim{
  position: absolute; inset: 0; z-index: 1;
  /* Subtle — the photo is already naturally darker on the left (sky +
     far facade); this only nudges contrast for the text, it doesn't
     flatten the image. */
  background:
    linear-gradient(100deg, rgba(8,10,12,.58) 0%, rgba(8,10,12,.36) 26%, rgba(8,10,12,.1) 46%, rgba(8,10,12,0) 60%),
    linear-gradient(to top, rgba(6,8,10,.4) 0%, rgba(6,8,10,0) 34%);
}

.hero-inner{
  position: relative; z-index: 2;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(72px, 12vh, 148px);
}
.hero .eyebrow{ color: var(--brand-navy); font-size: .9rem; }

.hero-headline{
  font-size: clamp(2.1rem, 3.9vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-wrap: balance;
  max-width: 14em; /* scales with the font, so the 2-line break holds on wide screens too */
  margin: 0 0 22px;
}
.hero-sub{
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  font-weight: 400;
  color: rgba(255,255,255,.78);
  max-width: 46ch;
  line-height: 1.6;
  margin: 0 0 40px;
}
.hero-actions{ display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }

.btn-arrow span{ transition: transform var(--dur-s) var(--ease); display: inline-block; }
.btn-arrow:hover span{ transform: translateX(3px); }

/* Resting state (default, no-JS / reduced-motion safe): everything fully visible */
.hc{ opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference){
  .hc{ opacity: 0; transform: translateY(14px); animation: hcIn .7s cubic-bezier(.16,.84,.44,1) both; }
  .hc-eyebrow{ animation-delay: .1s; }
  .hc-h1{ animation-delay: .22s; }
  .hc-sub{ animation-delay: .34s; }
  .hc-cta{ animation-delay: .46s; }

  .hero-media{ animation: heroMediaScale 14s ease-out both; }
}
@keyframes hcIn{
  from{ opacity: 0; transform: translateY(14px); }
  to{ opacity: 1; transform: none; }
}
@keyframes heroMediaScale{
  from{ transform: scale(1); }
  to{ transform: scale(1.03); }
}

.scroll-cue{
  position: absolute;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  z-index: 1;
  width: 22px; height: 36px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 12px;
}
.scroll-cue span{
  position: absolute;
  top: 6px; left: 50%;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  background: var(--white);
  border-radius: 2px;
  animation: scrollCue 1.8s var(--ease) infinite;
}
@keyframes scrollCue{
  0%{ opacity: 1; transform: translateY(0); }
  70%{ opacity: 0; transform: translateY(10px); }
  100%{ opacity: 0; transform: translateY(10px); }
}
@media (prefers-reduced-motion: reduce){
  .scroll-cue span{ animation: none; }
}

/* =========================================================
   Sections — generic rhythm
   ========================================================= */

.section{ padding-block: clamp(72px, 10vw, 140px); }
.section.services{ background: var(--grey-light); }
.section.approach{ background: var(--grafit); color: var(--white); }

/* About */
.about-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: start;
}
/* Heading stays in view beside the longer copy, so the left column
   doesn't read as empty on desktop. */
.about-grid .statement{ position: sticky; top: 120px; }
.about .statement{ font-size: clamp(1.9rem, 3.3vw, 3rem); }
/* Description on white, hung on a thin vertical rule; the short navy
   segment at its top lines up with the heading beside it. */
.about .about-copy{
  position: relative;
  padding-left: clamp(20px, 3.5vw, 48px);
  border-left: 1px solid rgba(142,149,156,.3);
}
.about .about-copy::before{
  content: "";
  position: absolute;
  left: -1px; top: 0;
  width: 2px;
  height: clamp(40px, 5vw, 64px);
  background: var(--brand-navy);
}
/* One type level for the whole description — no lead */
.about .about-body p{
  font-family: var(--font);
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: normal;
  color: var(--grey);
  max-width: 62ch;
}
.about .about-body p + p{ margin-top: 20px; }
.about .about-body p:first-child{ margin-bottom: 28px; }
/* Emphasis differs only in colour and weight — same font, size and case as the sentence */
.about .about-body strong{ font: inherit; font-weight: 600; color: var(--navy); }

/* Services */
.service-list{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(142,149,156,.3);
  border-top: 1px solid rgba(142,149,156,.3);
  border-bottom: 1px solid rgba(142,149,156,.3);
}
.service-item{
  position: relative;
  background: var(--grey-light);
  padding: 44px clamp(24px, 3vw, 44px) 40px;
  transition: background-color var(--dur-s) var(--ease);
}
.service-item::before{
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 16px; height: 16px;
  background: var(--brand-navy);
  clip-path: polygon(35% 0, 100% 0, 65% 100%, 0 100%);
}
.service-item:hover{ background: var(--white); }
.service-index{
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 12px 0 26px;
}
.service-item h3{
  font-size: clamp(1.2rem, 1.55vw, 1.5rem);
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}
.service-item p{ color: var(--grey); line-height: 1.65; font-size: clamp(.98rem, 1.05vw, 1.05rem); max-width: 58ch; }

/* Full-width process block under the service grid — deliberately not a
   fifth tile: dark surface + the brand slash, echoing the Approach cards. */
.service-process{
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 20px clamp(32px, 6vw, 100px);
  align-items: start;
  margin-top: clamp(32px, 4vw, 48px);
  padding: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 56px);
  background: var(--grafit);
  color: var(--white);
}
.service-process-mark{
  position: absolute;
  left: clamp(24px, 4vw, 56px); top: 0;
  width: 22px; height: 22px;
  background: var(--brand-navy);
  clip-path: polygon(35% 0, 100% 0, 65% 100%, 0 100%);
}
.service-process h3{
  font-size: clamp(1.4rem, 2.3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 20ch;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.service-process p{
  color: rgba(255,255,255,.72);
  font-size: clamp(1.02rem, 1.15vw, 1.1rem);
  line-height: 1.7;
  max-width: 60ch;
}

.service-item-placeholder{ display: flex; flex-direction: column; }
.service-item-placeholder::before{ background: var(--grey); }
.service-item-placeholder .service-index{ color: var(--grey); }
.service-item-placeholder h3{ color: var(--grey); font-weight: 600; }
.service-item-placeholder .todo-badge{ margin-top: auto; align-self: flex-start; }

/* Project / current realization */
.project-data{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(142,149,156,.3);
}
.project-data-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid rgba(142,149,156,.3);
}
.project-data-row:nth-child(odd){ padding-right: 24px; }
.project-data-row:nth-child(even){ padding-left: 24px; }
.project-data-row dt{ font-size: .92rem; color: var(--ink); font-weight: 600; }

.project-table{ max-width: none; }
.project-table dt{ flex-shrink: 0; font-size: 1.02rem; line-height: 1.45; }
.project-table dd{
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.5;
  color: var(--ink);
  text-align: left;
}
.project-table .project-data-row.is-long,
.project-table .project-data-row.is-stage{ align-items: flex-start; }
.project-table .is-long dd{ flex: 1 1 auto; min-width: 0; }

@media (min-width: 981px){
  .project-table dd{ text-align: right; }
}

@media (max-width: 980px){
  .project-table .project-data-row{ flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 4px; padding-block: 14px; }
  .project-table .project-data-row:nth-child(odd){ padding-inline: 0 12px; }
  .project-table .project-data-row:nth-child(even){ padding-inline: 12px 0; }
}

@media (max-width: 560px){
  .project-table .project-data-row{ padding-block: 12px; }
  .project-table dt{ font-size: .86rem; }
  .project-table dd, .project-table .is-long dd{ font-size: .95rem; }
  .project-table .project-data-row.is-stage,
  .project-table .project-data-row.is-long{ grid-column: 1 / -1; padding-inline: 0; }
}

.project .section-title{ margin-bottom: clamp(32px, 4vw, 48px); }

/* Reserved slot for the project photo; swap the note for an <img> later */
.project-photo{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  width: 100%;
  margin: 0 0 clamp(24px, 3vw, 36px);
  background: var(--grafit);
  overflow: hidden;
  isolation: isolate;
}
.project-photo::before{
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: -1;
}
.project-photo-note{
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .26em;
  padding-left: .26em;
  color: rgba(255,255,255,.42);
}
/* Galeria realizacji (1 duży + 4 mniejsze kafle) — placeholdery „WKRÓTCE”
   do czasu dodania zdjęć. Układ jak w podglądzie klienta. */
.project-gallery{
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 16px;
  margin-bottom: 56px;
}
.gallery-sub{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.placeholder-panel{
  position: relative;
  background: var(--grafit);
  border-radius: 2px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.placeholder-panel::before{
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: -1;
}
.placeholder-panel.small{ min-height: 190px; }
/* Ten sam styl napisu co dotychczasowe „WKRÓTCE” (.project-photo-note) */
.placeholder-panel span{
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .26em;
  padding-left: .26em; /* optycznie centruje napis z rozstrzeleniem */
  color: rgba(255,255,255,.42);
  text-align: center;
}

/* Headings whose lines must not break further on wider screens */
.title-wide{ max-width: none; }
@media (min-width: 700px){
  .nowrap-line{ white-space: nowrap; }
}

/* Two-line section heading: first line held on one line where it fits */
.approach-title{
  max-width: none;
  font-size: clamp(1.9rem, 3.6vw, 3.3rem);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.approach-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.12);
}
.approach-item{
  position: relative;
  background: var(--grafit);
  padding: 40px clamp(20px, 2.4vw, 40px) 36px;
}
.approach-item::before{
  content: "";
  position: absolute;
  left: clamp(20px, 2.4vw, 40px); top: 0;
  width: 14px; height: 14px;
  background: var(--brand-navy);
  clip-path: polygon(35% 0, 100% 0, 65% 100%, 0 100%);
}
.approach-item .statement-num{
  display: block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--brand-navy);
  margin: 16px 0 20px;
}
.approach-item h3{
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 14px;
  max-width: 22ch;
}
.approach-item p{
  font-size: .94rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  max-width: 28ch;
}

.footnote{ font-size: .78rem; color: var(--grey); margin-top: 8px; }
.footnote.light{ color: rgba(255,255,255,.45); margin-top: 32px; }

/* Brand statement */
.brand-statement{ background: var(--white); text-align: center; }
/* Desktop: full-screen statement — fills the viewport below the sticky
   header (~77px) and centres the heading + tags vertically. */
@media (min-width: 981px){
  .brand-statement{
    display: flex;
    align-items: center;
    min-height: calc(100vh - 77px);
    min-height: calc(100svh - 77px);
  }
}
.brand-statement-title{
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
  max-width: 20ch;
  margin: 0 auto 32px;
}
.brand-tags{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-bottom: 20px;
}
.brand-tags li{
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--brand-navy);
}

/* Contact — ciemne domknięcie strony (bliźniak hero): grafit, biała typografia,
   dwa jednoznaczne przyciski i znak z logo w dużej skali jako tło. */
.section.contact{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--grafit);
  color: var(--white);
}
.contact .wrap{ position: relative; z-index: 1; }
.contact :focus-visible, .hero :focus-visible, .approach :focus-visible, .service-process :focus-visible{ outline-color: var(--white); }

/* Znak GLOBAU (dwie fasety, kąt ok. 24° z logo) — dekoracja o bardzo niskim kontraście */
.contact-mark{
  position: absolute;
  z-index: 0;
  right: max(-9vw, -150px);
  bottom: -24%;
  height: 108%;
  width: auto;
  max-height: 820px;
  pointer-events: none;
}
.contact-mark .cm-a{ fill: rgba(255,255,255,.03); }
.contact-mark .cm-b{ fill: var(--brand-navy); opacity: .45; }

.contact-layout{
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact .statement{
  max-width: none;
  font-size: clamp(1.9rem, 3.3vw, 3rem);
  color: var(--white);
}
.contact-lede{
  margin-top: 28px;
  max-width: 46ch;
  font-size: clamp(1.02rem, 1.2vw, 1.1rem);
  line-height: 1.7;
  color: rgba(255,255,255,.72);
}
.contact-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
  margin-top: 40px;
}

.btn-light{
  background: var(--white);
  color: var(--grafit);
  border-color: var(--white);
}
.btn-light:hover{ background: #E9EDF1; border-color: #E9EDF1; }
.btn-arrow:hover .btn-label{ transform: none; }

/* Dane kontaktowe: etykieta małą kapitalką po lewej, wartość po prawej,
   cienkie linie zamiast tabeli */
.contact-list{
  margin: 0;
  border-top: 1px solid rgba(255,255,255,.16);
}
.contact-item{
  display: grid;
  grid-template-columns: minmax(170px, 34%) minmax(0, 1fr);
  gap: 6px 24px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.contact-item dt{
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.58);
}
.contact-item dd{
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--white);
}
.contact-item dd a{
  padding-block: 3px;
  color: inherit;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size var(--dur-s) var(--ease);
}
.contact-item dd a:hover,
.contact-item dd a:focus-visible{ background-size: 100% 1px; }
.contact-item-small dd{
  font-size: .95rem;
  font-weight: 400;
  color: rgba(255,255,255,.72);
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer{
  background: var(--grafit-deep);
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  padding-block: 44px;
}
.footer-inner{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-inner nav ul{ display: flex; flex-wrap: wrap; gap: 26px; }
.footer-inner nav a{ font-size: .86rem; color: rgba(255,255,255,.7); transition: color var(--dur-s) var(--ease); }
.footer-inner nav a:hover{ color: var(--white); }
.footer-copy{ font-size: .82rem; color: rgba(255,255,255,.5); }

/* =========================================================
   Scroll reveal
   ========================================================= */

.reveal{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur-l) var(--ease), transform var(--dur-l) var(--ease);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
  .btn:hover{ transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */

/* Nagłówek: pełne menu mieści się dopiero od 1181 px (przy węższym
   kontenerze nakładałoby się na przycisk CTA). Poniżej — hamburger;
   przełącznik PL/EN jest wtedy w menu mobilnym. */
@media (max-width: 1180px){
  .main-nav, .header-cta, .header-actions .lang-switch{ display: none; }
  .menu-toggle{ display: flex; }
  .header-actions{ gap: 14px; }
  /* wąska kolumna z danymi: etykieta nad wartością */
  .contact-item{ grid-template-columns: 1fr; }
}

@media (max-width: 980px){
  .project-gallery{ grid-template-columns: 1fr; }
  .gallery-sub{ grid-template-columns: 1fr 1fr; }
  .contact-layout{ grid-template-columns: 1fr; gap: 48px; }
  .contact-mark{ height: 78%; right: -40px; bottom: -8%; opacity: .8; }
  .about-grid{ grid-template-columns: 1fr; }
  .about-grid .statement{ position: static; }
  .service-process{ grid-template-columns: 1fr; }
  .approach-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 680px){
  .service-list{ grid-template-columns: 1fr; }
}

@media (max-width: 560px){
  .gallery-sub{ grid-template-columns: 1fr; }
  .placeholder-panel{ min-height: 260px; }
  .placeholder-panel.small{ min-height: 150px; }
  .contact .statement{ font-size: clamp(1.5rem, 6.6vw, 1.9rem); }
  .contact-actions{ flex-direction: column; align-items: stretch; margin-top: 32px; }
  .contact-actions .btn{ justify-content: center; text-align: center; }
  .contact-item{ grid-template-columns: 1fr; padding: 20px 0; }
  .contact-mark{ height: 52%; right: -70px; bottom: -4%; }
  .project-photo{ aspect-ratio: 3 / 2; }
  .hero{ min-height: calc(100svh - 68px); }
  .hero-inner{ padding-bottom: 56px; }
  .hero-headline{ max-width: none; }
  .hero-actions{ gap: 14px; flex-direction: column; align-items: stretch; }
  .hero-actions .btn{ text-align: center; justify-content: center; }
  .scroll-cue{ display: none; }
  .hero-media-todo{ right: 16px; left: 16px; bottom: 16px; font-size: .62rem; text-align: center; }
}
