/* ==========================================================================
   styles.css — DRB Development / Wille Poniatowskiego
   Mobile-first, vanilla CSS3. No framework, no build step.
   ========================================================================== */

/* ----- Self-hosted webfonts (variable, woff2) ---------------------------
   Cormorant Garamond + Montserrat are served from /assets/fonts (no third
   party, no render-blocking Google request). Each family ships one variable
   file per subset; latin-ext carries the Polish diacritics (ą ć ę ł ń ó ś ź ż).
   Weight range 300–700 covers every weight the design uses.               */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat-latin-ext.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ----- Cyrillic subset (Ukrainian version — index-ua.html) ---------------
   Only downloaded when the browser actually renders Cyrillic glyphs, so the
   Polish page never fetches these files. Range covers Ukrainian і ї є ґ.  */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-cyrillic.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat-cyrillic.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* ----- Optional display font — "The Seasons" (Nicky Laatz, Canva source) ----
   Premium licence: not redistributable. Drop the licensed file at
   /assets/fonts/TheSeasons.woff2 and it activates automatically, taking
   priority over the Cormorant Garamond fallback. Absent = graceful fallback. */
@font-face {
  font-family: "The Seasons";
  src: local("The Seasons"), local("TheSeasons-Regular"), local("theseasons-reg"),
       url("../assets/fonts/TheSeasons.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

/* ----- Design tokens ----------------------------------------------------- */
:root {
  --navy:        #152237;   /* PRIMARY page / header background   (kit navy-700) */
  --navy-2:      #0B121D;   /* deepest — footer well              (kit navy-900) */
  --navy-3:      #162339;   /* raised surface / cards             (kit navy-600) */
  --navy-line:   #2B3A53;   /* subtle borders on navy */
  --gold:        #C8B477;   /* PRIMARY gold — accents, headings   (kit gold-400) */
  --gold-light:  #D8C48A;   /* champagne highlight                (kit gold-300) */
  --gold-dark:   #BF9745;   /* deep gold — button mid             (kit gold-500) */
  --gold-bronze: #AF8C53;   /* bronze — button base / input border (kit gold-600) */
  --cream:       #FAF9F9;   /* logo card / light chip */
  --paper:       #F1EBDD;   /* warm editorial "spec-sheet" chapter */
  --paper-line:  rgba(21,34,55,.16);  /* hairlines on paper */
  --paper-muted: #6C6455;   /* muted text on paper */
  --hair:        rgba(200,180,119,.28); /* gold hairlines on navy */
  --white:       #FFFFFF;
  --ink:         #162339;   /* dark text on gold surfaces */
  --text:        #DBE5E3;   /* cool off-white body text           (kit text-300) */
  --muted:       #9AA4B0;   /* muted / captions                   (kit text-500) */

  /* Semantic form-state colours (harmonised with palette — kit tokens) */
  --ok:     #8CA98A;        /* sage — success */
  --ok-bg:  rgba(140,169,138,.12);
  --err:    #CF7D63;        /* brick — error  */
  --err-bg: rgba(207,125,99,.10);

  /* Signature gold gradient (buttons / social) */
  --champagne:  #CBB98F;   /* matte metallic accent for hyper-premium touches */
  --grad-gold:       linear-gradient(135deg,#dcc891 0%,#c9b477 46%,#bca066 100%);
  --grad-gold-hover: linear-gradient(135deg,#e6d29c 0%,#d3bf82 46%,#c6ab6f 100%);
  --shadow-gold:     0 8px 26px rgba(150,120,62,.22);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --maxw: 1200px;
  --pad:  clamp(1.25rem, 5vw, 4rem);
  --radius: 14px;      /* small elements (map, plan cards) */
  --radius-lg: 24px;   /* media / gallery (kit --r-lg) */
}

/* ----- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* clip (not hidden) so it doesn't break position:sticky header */
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 600; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--navy); padding: .75rem 1.25rem; font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; border-radius: 6px; }

:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }

/* ----- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; font-size: .74rem;
  padding: 18px 44px; border-radius: 2px; cursor: pointer; border: 0;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .2s ease, border-color .2s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--grad-gold); color: var(--ink); box-shadow: var(--shadow-gold); }
.btn--gold:hover { background: var(--grad-gold-hover); box-shadow: 0 14px 34px rgba(150,120,62,.32); }
.btn--gold:active { transform: translateY(0); }
.btn--outline { background: transparent; border: 1px solid rgba(203,185,143,.55); color: var(--champagne); }
.btn--outline:hover { background: rgba(203,185,143,.08); border-color: var(--champagne); }
.btn--ghost { background: transparent; border: 0; color: var(--muted); text-transform: none; letter-spacing: normal; box-shadow: none; }
.btn--ghost:hover { color: var(--white); transform: none; }
.btn--block { width: 100%; }
.btn--sm { padding: .7rem 1.4rem; font-size: .78rem; }

/* ----- Section scaffolding ---------------------------------------------- */
.section { padding-block: clamp(3rem, 8vw, 6rem); }
.section--dark { background: var(--navy); }
.section__title {
  font-family: var(--serif); font-weight: 500; line-height: 1.06;
  font-size: clamp(2.6rem, 5.8vw, 3.9rem); letter-spacing: -.01em;
  color: var(--white); margin-bottom: 2.5rem;
}
.hl { color: var(--gold); }
.rule-gold { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin-block: 2rem; opacity: .7; }

/* ----- Editorial header system (signature device) ----------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .85rem;
  font-family: var(--sans); font-weight: 600; font-size: .72rem;
  letter-spacing: .34em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 38px; height: 1px; background: currentColor; opacity: .85; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::before,
.section--center .eyebrow::before { display: none; }
.section--center { text-align: center; }
.section--center .section__title { margin-inline: auto; }

/* ----- Cream editorial chapter (tonal rhythm) --------------------------- */
.section--cream { background: var(--paper); color: var(--ink); }
.section--cream .section__title { color: var(--ink); }
.section--cream .eyebrow { color: var(--gold-dark); }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--navy);
  box-shadow: 0 6px 24px rgba(0,0,0,.28);
  border-bottom: 1px solid rgba(203,185,143,.16);
}
/* position:relative here anchors the absolute logo to the centered 1200px
   container (not the full page) so it stays aligned with the nav on any width */
/* Nav is anchored just right of a reserved logo slot and grows rightward; the
   phone+CTA cluster is pushed to the far right (margin-left:auto on .header__phone).
   Because content grows away from the logo, it can never slide under it. */
.header__inner {
  position: relative; display: flex; align-items: center; justify-content: flex-start;
  gap: clamp(1rem, 2vw, 1.75rem); min-height: 92px;
  padding-left: calc(var(--pad) + clamp(80px, 10vw, 116px) + 3.2rem + 2rem);
}
.logo {
  position: absolute; left: var(--pad); top: 0; z-index: 2;
  background: var(--cream); border-radius: 0;
  padding: 1.1rem 1.6rem 1.5rem; line-height: 0; box-shadow: 0 18px 44px rgba(0,0,0,.4);
}
.logo::after {
  content: ""; position: absolute; inset: 8px; border: 1px solid rgba(203,185,143,.4); pointer-events: none;
}
.logo img { position: relative; z-index: 1; width: clamp(80px, 10vw, 116px); height: auto; }

.primary-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.75rem); }
.primary-nav ul { display: flex; gap: clamp(1.25rem, 2.2vw, 2.25rem); list-style: none; }
.primary-nav a {
  position: relative; font-size: .74rem; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); padding-bottom: 6px; transition: color .25s;
}
/* Animated hairline — grows from the left on hover/focus instead of a heavy static underline */
.primary-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--champagne); transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
}
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--gold-light); }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { transform: scaleX(1); }
.nav-social { display: flex; gap: .6rem; }
.nav-social a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: transparent; border: 1px solid rgba(203,185,143,.5); color: var(--champagne);
  transition: color .25s, border-color .25s, background-color .25s, transform .2s;
}
.nav-social svg { width: 20px; height: 20px; display: block; }
/* Optically re-centre the Facebook "f" — its bounding box is centred but the
   glyph's weight leans left, so nudge it a hair right (same fix applied in the footer). */
.nav-social svg:not([fill]),
.contact__social svg:not([fill]) { transform: translateX(1px); }
.nav-social a:hover { transform: translateY(-3px); color: var(--navy); border-color: var(--champagne); background: var(--champagne); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer;
  padding: 10px; z-index: 120;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--white); transition: transform .25s, opacity .2s; }

/* Desktop header order: [logo] … [nav + lang]①  [phone]②  [CTA]③ */
.primary-nav { order: 1; }
.header__cta { order: 3; white-space: nowrap; padding: 14px 26px; }

/* Concierge phone line — set in the display serif so it echoes the hero's
   "178 m²" spec and reads as a personal line, not a utility button. tel: link. */
.header__phone {
  order: 2; margin-left: auto; display: inline-flex; align-items: center; gap: .55rem;
  color: var(--gold); white-space: nowrap; transition: color .25s, border-color .25s;
}
.header__phone:hover, .header__phone:focus-visible { color: var(--gold-light); }
.header__phone-ico { width: 18px; height: 18px; flex: 0 0 auto; }
.header__phone-num { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; letter-spacing: .01em; line-height: 1; }

/* Language toggle — wayfinding, not social. Active language in gold, the other
   muted, split by a hairline. Deliberately unlike the (removed) social chips. */
.header__lang { display: inline-flex; align-items: center; gap: .6rem; }
.header__lang-opt {
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: color .25s;
}
.header__lang-opt:hover, .header__lang-opt:focus-visible { color: var(--gold-light); }
.header__lang-opt.is-active { color: var(--gold); }
.header__lang-sep { width: 1px; height: .82em; background: var(--hair); display: inline-block; }

/* CTA duplicated inside the off-canvas menu for mobile (hidden on desktop). */
.primary-nav__cta { display: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: clamp(600px, 88vh, 880px); display: flex; align-items: center; overflow: hidden; }
/* <picture> wrappers on full-bleed images must not create a box —
   let the absolutely/100%-sized <img> resolve against its real container. */
.hero__pic, .video__frame picture { display: contents; }
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  filter: brightness(.82) saturate(.9) contrast(1.02);
  animation: hero-zoom 18s ease-out both; /* slow cinematic push-in */
}
@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
/* Cinematic scrim: radial vignette focused on the copy + top/bottom grade */
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(115% 80% at 50% 42%, rgba(7,11,19,.20) 0%, rgba(7,11,19,.52) 52%, rgba(7,11,19,.80) 100%),
    linear-gradient(180deg, rgba(7,11,19,.78) 0%, rgba(7,11,19,.42) 26%, rgba(7,11,19,.48) 60%, rgba(7,11,19,.92) 100%);
}
/* Signature: hairline champagne frame inset from the edges (gallery mat) */
.hero__frame {
  position: absolute; inset: clamp(14px, 2.4vw, 34px); z-index: 1; pointer-events: none;
  border: 1px solid rgba(203,185,143,.42);
}
.hero__content { position: relative; z-index: 2; text-align: center; padding-block: clamp(2rem, 6vh, 4rem); }
.hero__eyebrow {
  display: inline-block; font-family: var(--sans); font-weight: 500;
  font-size: .72rem; letter-spacing: .42em; text-transform: uppercase;
  color: var(--champagne); margin-bottom: 1.5rem;
}
.hero__title {
  font-family: var(--serif); font-weight: 500; color: var(--white);
  font-size: clamp(2.6rem, 8.5vw, 6.2rem); line-height: 1.04; letter-spacing: -.01em;
  margin: 0 0 1.4rem; text-shadow: 0 10px 44px rgba(0,0,0,.55); text-wrap: balance;
}
.hero__subtitle {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(255,255,255,.92); font-weight: 300;
  line-height: 1.75; letter-spacing: .015em; margin-bottom: 2.5rem;
  max-width: 46ch; margin-inline: auto; text-shadow: 0 2px 18px rgba(7,11,19,.7);
}

/* Understated staggered entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero__eyebrow, .hero__title, .hero__subtitle, .hero .btn, .hero__spec {
    opacity: 0; transform: translateY(18px); animation: hero-rise .9s cubic-bezier(.22,.61,.36,1) forwards;
  }
  .hero__eyebrow  { animation-delay: .15s; }
  .hero__title    { animation-delay: .32s; }
  .hero__subtitle { animation-delay: .52s; }
  .hero .btn      { animation-delay: .70s; }
  .hero__spec     { animation-delay: .86s; }
}
@keyframes hero-rise { to { opacity: 1; transform: translateY(0); } }

/* Signature spec strip pinned under the headline */
.hero__spec {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  margin-top: 2.5rem; padding-top: 1.75rem;
  border-top: 1px solid rgba(200,180,119,.4); max-width: 640px; margin-inline: auto;
}
.hero__spec li {
  position: relative; font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem); color: rgba(255,255,255,.94); letter-spacing: .02em;
}
.hero__spec li + li::before {
  content: ""; position: absolute; top: 50%; left: calc(-1 * clamp(.5rem, 1.5vw, 1.25rem));
  width: 1px; height: 1.15em; transform: translateY(-50%); background: var(--champagne); opacity: .55;
}

/* Scroll cue — quiet, animated hairline */
.hero__scroll {
  position: absolute; left: 50%; bottom: clamp(22px, 4vh, 44px); transform: translateX(-50%);
  z-index: 2; display: grid; place-items: center; gap: .6rem;
  font-family: var(--sans); font-size: .6rem; letter-spacing: .34em; text-transform: uppercase;
  color: rgba(203,185,143,.85);
}
.hero__scroll::after {
  content: ""; width: 1px; height: 42px;
  background: linear-gradient(180deg, var(--champagne), transparent);
  animation: scroll-cue 2.4s ease-in-out infinite;
}
@keyframes scroll-cue { 0%,100% { opacity: .35; transform: scaleY(.7); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .hero__scroll::after { animation: none; } }

/* ==========================================================================
   LOKALIZACJA
   ========================================================================== */
.localization__lead {
  max-width: 62ch; margin: 0 0 2.75rem;
  font-size: clamp(1.15rem, 1.6vw, 1.32rem); font-weight: 300; line-height: 1.65;
  color: #E8EEEC; letter-spacing: .005em;
}
.localization__grid { display: grid; gap: 2.5rem; }
.feature-list { list-style: none; display: grid; gap: 1.75rem; }
.feature { display: flex; align-items: center; gap: 1.25rem; }
.feature__icon {
  flex: 0 0 auto; box-sizing: border-box; width: 58px; height: 58px; padding: 15px;
  border: 1px solid rgba(203,185,143,.42); border-radius: 50%;
  color: var(--gold); /* drives the SVG stroke via currentColor */
  transition: color .25s, border-color .25s;
}
.feature:hover .feature__icon { color: var(--gold-light); border-color: rgba(203,185,143,.7); }
.feature__text { font-size: clamp(1.05rem, 2.5vw, 1.35rem); font-weight: 300; letter-spacing: .005em; color: var(--text); }
.localization__map { position: relative; min-height: 380px; border-radius: 0; overflow: hidden; background: var(--navy-2); }
/* Iframe sits on the lowest layer so the frame + vignette paint above it */
.localization__map iframe { display: block; position: relative; z-index: 1; width: 100%; height: 100%; min-height: 380px; }
/* Edge vignette — melts the bright default tiles into the dark frame (tiles untouched, map stays interactive) */
.localization__map::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  box-shadow: inset 0 0 clamp(40px, 7vw, 90px) clamp(10px, 2vw, 26px) rgba(11,18,29,.72);
}
/* Champagne mat frame — matches the image plates (sits above the map, non-blocking) */
.localization__map::before { content: ""; position: absolute; inset: clamp(12px, 1.4vw, 18px); border: 1px solid rgba(203,185,143,.34); z-index: 3; pointer-events: none; }
.map-placeholder { position: absolute; inset: 0; display: grid; place-content: center; gap: 1.1rem; text-align: center; padding: 2rem; color: var(--muted); }

/* ==========================================================================
   O INWESTYCJI / O NAS (text + media)
   ========================================================================== */
.investment__grid, .about__grid { display: grid; gap: 2.5rem; align-items: center; }
.investment__text p:not(.eyebrow), .about__text p:not(.eyebrow) { margin-bottom: 1.4rem; font-size: 1.05rem; font-weight: 300; line-height: 1.8; letter-spacing: .005em; color: var(--text); }
/* Editorial lead — the opening line reads a shade larger & lighter, like a standfirst */
.investment__text h2 + p:not(.eyebrow), .about__text h2 + p:not(.eyebrow) {
  font-size: clamp(1.15rem, 1.6vw, 1.32rem); line-height: 1.65; font-weight: 300;
  color: #E8EEEC; letter-spacing: .005em; margin-bottom: 1.6rem;
}
.investment__media, .about__media { position: relative; overflow: hidden; }
.investment__media img, .about__media img { width: 100%; border-radius: 0; object-fit: cover; filter: saturate(.94) contrast(1.02); }
.investment__media::before, .about__media::before { content: ""; position: absolute; inset: clamp(12px, 1.4vw, 18px); border: 1px solid rgba(203,185,143,.28); z-index: 2; pointer-events: none; }

/* ==========================================================================
   WIZUALIZACJE
   ========================================================================== */
/* Full-bleed architectural plate — breaks out of the container */
.gallery__hero { position: relative; width: 100vw; margin-inline: calc(50% - 50vw); }
.gallery__hero img { width: 100%; max-height: 84vh; object-fit: cover; border-radius: 0; }
.gallery__pair { display: grid; gap: 1.5rem; }
.gallery__pair img { width: 100%; border-radius: 0; }

/* Framed "plate": champagne mat + caption + cinematic grade (signature echo) */
.plate { position: relative; overflow: hidden; }
.plate img { display: block; width: 100%; filter: saturate(.93) contrast(1.03) brightness(.98); transition: transform 1.3s cubic-bezier(.2,.7,.2,1); }
.plate:hover img { transform: scale(1.04); }
.plate::before { content: ""; position: absolute; inset: clamp(12px, 1.6vw, 20px); border: 1px solid rgba(203,185,143,.34); z-index: 2; pointer-events: none; }
.plate::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; z-index: 1; background: linear-gradient(180deg, transparent, rgba(7,11,19,.72)); pointer-events: none; }
.plate-cap {
  position: absolute; left: 0; bottom: 0; z-index: 3; padding: clamp(1.1rem, 2vw, 1.7rem) clamp(1.3rem, 2.4vw, 2.2rem);
  font-family: var(--sans); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--champagne);
}
.plate-cap b { font-weight: 600; color: rgba(203,185,143,.6); margin-right: .9rem; }

/* ==========================================================================
   POBIERZ
   ========================================================================== */
.brochure__inner { text-align: center; display: grid; gap: 1.5rem; justify-items: center; }
.brochure__inner .eyebrow { margin-bottom: 0; }
.brochure__inner .brochure__title { margin: .25rem 0 .75rem; }
.brochure__title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 4.5vw, 3rem); color: var(--white); line-height: 1.16; letter-spacing: -.01em; }

/* ==========================================================================
   WIDEO
   ========================================================================== */
.video { padding: clamp(2rem, 5vw, 3.5rem) var(--pad); }
.video__frame {
  position: relative; width: 100%; max-width: var(--maxw); margin-inline: auto;
  aspect-ratio: 16 / 9; max-height: 80vh; overflow: hidden; background: #000;
  border-radius: 0; box-shadow: 0 30px 70px rgba(0,0,0,.5);
}
/* Inset champagne mat — matches the framed plates, map and media blocks */
.video__frame::before {
  content: ""; position: absolute; inset: clamp(12px, 1.6vw, 20px); z-index: 3;
  border: 1px solid rgba(203,185,143,.34); pointer-events: none;
}
.video__poster {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.94) contrast(1.03) brightness(.9);
}
.video__play {
  position: absolute; inset: 0; margin: auto; z-index: 4;
  width: clamp(72px, 8vw, 92px); height: clamp(72px, 8vw, 92px); border-radius: 50%;
  background: rgba(11, 18, 29, .5); backdrop-filter: blur(2px);
  border: 1px solid rgba(203,185,143,.7); color: var(--champagne);
  display: grid; place-items: center; cursor: pointer;
  transition: transform .3s cubic-bezier(.22,.61,.36,1), background-color .3s, color .3s, border-color .3s;
}
.video__play svg { transform: translateX(2px); }
.video__play:hover, .video__play:focus-visible {
  transform: scale(1.06); background: var(--champagne); border-color: var(--champagne); color: var(--navy);
}
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ==========================================================================
   CO OTRZYMASZ
   ========================================================================== */
/* Editorial spec-sheet: hairline table, not floating numbers */
.stats__grid { display: grid; gap: 0; border-top: 1px solid var(--paper-line); }
.stat { padding: 1.75rem .25rem; border-bottom: 1px solid var(--paper-line); }
.stat__value { font-family: var(--serif); font-weight: 500; font-size: clamp(2.8rem, 6.2vw, 3.7rem); color: var(--ink); line-height: .95; letter-spacing: -.01em; }
.stat__label { color: var(--paper-muted); margin-top: .9rem; font-size: .84rem; line-height: 1.55; letter-spacing: .02em; max-width: 24ch; }
.stats__cta { text-align: center; margin-top: clamp(2.75rem, 5vw, 3.75rem); }

/* ==========================================================================
   NOTA DEWELOPERA
   ========================================================================== */
.dev-note__inner { display: flex; gap: 1.5rem; align-items: flex-start; border-top: 1px solid rgba(198,169,106,.3); border-bottom: 1px solid rgba(198,169,106,.3); padding-block: 2.5rem; }
.dev-note__chevrons { font-family: var(--serif); font-size: 4rem; color: var(--gold); line-height: 1; }
.dev-note__inner p { color: var(--muted); font-size: 1.05rem; font-weight: 300; line-height: 1.8; letter-spacing: .005em; }

/* ==========================================================================
   RZUTY
   ========================================================================== */
.plans__grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.plan {
  position: relative; background: var(--navy-3); border-radius: 0;
  border: 1px solid rgba(203,185,143,.22); padding: clamp(12px, 1.4vw, 18px);
}
.plan img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0;
  filter: saturate(.96) contrast(1.02);
}
.plan figcaption {
  margin-top: 1.1rem; text-align: center; font-family: var(--sans);
  font-size: .68rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
  color: var(--champagne);
}

/* ==========================================================================
   KONTAKT / FORMULARZ
   ========================================================================== */
.contact__grid { display: grid; gap: 3rem; }
.contact__title { display: flex; flex-direction: column; }
.contact__subtitle { font-size: clamp(1.3rem, 4vw, 2rem); color: var(--white); font-weight: 400; }
.contact__note {
  display: flex; align-items: flex-start; gap: .7rem;
  max-width: 520px; margin: -.5rem 0 .25rem;
  padding: .9rem 1.1rem; border-left: 2px solid var(--gold);
  background: rgba(203,185,143,.06);
  font-size: .9rem; line-height: 1.55; color: var(--champagne);
}
.contact__note svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: .15rem; color: var(--gold); }

.lead-form { display: grid; gap: 1.75rem; max-width: 520px; }
/* Underline-only editorial fields */
.field input {
  width: 100%; padding: 14px 2px; font-size: 1rem; color: var(--white);
  background: transparent; border: 0; border-bottom: 1px solid rgba(203,185,143,.4);
  border-radius: 0; font-family: var(--sans); letter-spacing: .01em;
  transition: border-color .25s, box-shadow .25s;
}
.field input::placeholder { color: var(--muted); letter-spacing: .04em; }
.field input:focus { outline: none; border-bottom-color: var(--champagne); box-shadow: 0 1px 0 0 var(--champagne); }

.consent { display: flex; }
.consent__label { display: flex; gap: .75rem; align-items: flex-start; font-size: .85rem; color: var(--muted); cursor: pointer; line-height: 1.5; }
.consent__label input { margin-top: .2rem; width: 18px; height: 18px; accent-color: var(--gold); flex: 0 0 auto; }
.consent__label a { color: var(--gold-light); text-decoration: underline; }
.consent .req { color: var(--gold); }
.consent__admin { font-size: .75rem; color: #7f889a; line-height: 1.5; }
.consent__admin a { color: var(--gold-light); text-decoration: underline; }

.form-status { font-size: .9rem; min-height: 1.2em; }
.form-status.is-error { color: var(--err); }
.form-status.is-success { color: var(--ok); }
.field input[aria-invalid="true"] { border-bottom-color: var(--err); box-shadow: 0 1px 0 0 var(--err); }
.field input:not(:placeholder-shown):valid[required] { border-bottom-color: var(--ok); }

.contact__details { display: grid; gap: 1.75rem; align-content: start; }
.contact__block + .contact__block { padding-top: 1.75rem; border-top: 1px solid rgba(203,185,143,.16); }
.contact__name { font-weight: 600; color: var(--white); letter-spacing: .01em; }
.contact__block p { color: var(--muted); font-weight: 300; letter-spacing: .005em; line-height: 1.65; }
.contact__hl { color: var(--champagne); font-weight: 600; font-size: 1.1rem; }
.contact__hl:hover { color: var(--gold-light); }
.contact__social { display: flex; gap: .85rem; padding-top: 1.75rem; border-top: 1px solid rgba(203,185,143,.16); }
.contact__social a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: transparent; border: 1px solid rgba(203,185,143,.5); color: var(--champagne);
  transition: transform .2s, background-color .2s, border-color .2s;
}
.contact__social svg { width: 20px; height: 20px; display: block; }
.contact__social a:hover { transform: translateY(-3px); background: rgba(203,185,143,.1); border-color: var(--champagne); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--navy-2); padding-block: 2rem; border-top: 1px solid rgba(255,255,255,.06); }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.site-footer p { color: var(--muted); font-size: .85rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; }
.site-footer nav a, .link-btn { color: var(--muted); font-size: .85rem; }
.site-footer nav a:hover, .link-btn:hover { color: var(--gold-light); }
.link-btn { background: none; border: 0; cursor: pointer; font-family: var(--sans); padding: 0; text-decoration: underline; }

/* Studio signature — understated, centred, on its own hairline-separated row */
.site-footer__credit {
  margin-top: 1.75rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(203,185,143,.12); text-align: center;
}
.site-footer__credit p {
  font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: #6E7686;
}
.site-footer__credit a {
  color: var(--champagne); font-weight: 500;
  transition: color .25s;
}
.site-footer__credit a:hover { color: var(--gold-light); }

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
/* Slim, typographic bottom bar — no card, no emoji */
.cookie-banner {
  position: fixed; inset: auto 0 0 0; z-index: 300;
  background: rgba(9,14,23,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(203,185,143,.26); box-shadow: 0 -14px 44px rgba(0,0,0,.42);
  animation: cookie-in .45s ease;
}
@keyframes cookie-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-banner__inner {
  max-width: var(--maxw); margin-inline: auto; padding: 1.15rem var(--pad);
  display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 2.5rem;
}
.cookie-banner__title {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.cookie-banner__text { flex: 1 1 340px; font-size: .82rem; color: var(--muted); line-height: 1.55; margin: 0; }
.cookie-banner__text a { color: var(--champagne); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__options { flex: 1 1 100%; order: 4; display: grid; gap: .7rem; margin-top: .4rem; padding: 1.1rem 1.25rem; background: rgba(0,0,0,.28); border: 1px solid rgba(203,185,143,.16); }
.cookie-opt { display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; color: var(--muted); }
.cookie-opt input { margin-top: .15rem; width: 18px; height: 18px; accent-color: var(--champagne); flex: 0 0 auto; }
.cookie-opt strong { color: var(--text); font-weight: 600; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.cookie-banner .btn--sm { padding: .72rem 1.5rem; letter-spacing: .16em; }

/* ==========================================================================
   FAQ — native <details> accordion, no JS
   ========================================================================== */
.faq__list { max-width: 860px; margin-top: 2.5rem; border-top: 1px solid rgba(203,185,143,.18); }
.faq__item { border-bottom: 1px solid rgba(203,185,143,.18); }
.faq__item summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 1.5rem 0; color: #EAEFED;
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.15rem, 2vw, 1.42rem);
  line-height: 1.3; letter-spacing: -.005em; transition: color .25s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold); }
.faq__item summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
/* '+' that rotates into '×' when open */
.faq__item summary::after {
  content: "+"; flex: 0 0 auto; font-family: var(--sans); font-weight: 300;
  font-size: 1.75rem; line-height: 1; color: var(--champagne);
}
@media (prefers-reduced-motion: no-preference) {
  .faq__item summary::after { transition: transform .3s ease; }
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 0 1.6rem; max-width: 64ch; }
.faq__answer p { margin: 0; color: var(--muted); font-size: 1.02rem; font-weight: 300; line-height: 1.75; letter-spacing: .005em; }

/* ==========================================================================
   SCROLL REVEAL (progressive enhancement — JS adds .reveal / .in-view)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
  .reveal.in-view { opacity: 1; transform: none; }
}

/* ==========================================================================
   RESPONSIVE — tablet & desktop
   ========================================================================== */
@media (min-width: 768px) {
  .localization__grid { grid-template-columns: 1fr 1.1fr; }
  .investment__grid { grid-template-columns: 1.1fr .9fr; }
  .about__grid { grid-template-columns: .9fr 1.1fr; }
  .gallery__pair { grid-template-columns: 1fr 1fr; }
  /* Open editorial spec-sheet: hairline rules top & bottom, fine dividers between — no enclosing box */
  .stats__grid { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--paper-line); }
  .stat { border-right: 1px solid var(--paper-line); border-bottom: 0; padding: 2.25rem 2rem 2rem; }
  .stat:last-child { border-right: 0; }
  .plans__grid { grid-template-columns: 1fr 1fr; }
  .contact__grid { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); }
  .contact__details { align-content: center; }
}

/* Large & ultra-wide screens — let the content column breathe so it doesn't
   float lost in a sea of navy, while keeping text line-lengths readable. */
@media (min-width: 1500px) { :root { --maxw: 1340px; } }
@media (min-width: 1920px) { :root { --maxw: 1480px; } }
/* Cap the hero copy measure so headline/subtitle stay tight & centered */
.hero__content { max-width: 900px; margin-inline: auto; }
.hero__subtitle { max-width: 40ch; margin-inline: auto; }

/* Small-screen typography tuning */
@media (max-width: 480px) {
  .hero__title { font-size: clamp(1.9rem, 10vw, 2.6rem); text-wrap: normal; overflow-wrap: break-word; }
  .hero__eyebrow { letter-spacing: .22em; font-size: .66rem; }
  .eyebrow { letter-spacing: .24em; font-size: .66rem; }
  .hero__spec { gap: .75rem 1.4rem; }
}

/* Header collapses to the off-canvas menu below 1240px — the width at which the
   richer inline header (nav + concierge phone + lang + CTA) stops fitting for the
   longer Ukrainian strings. Shared by every page so behaviour is identical. */
@media (max-width: 1240px) {
  .nav-toggle { display: flex; order: 4; }
  .header__inner { gap: .85rem; }
  /* Mobile top bar = logo + circular tap-to-call + hamburger. CTA + nav + lang
     move into the drawer, so the bar never crowds. */
  .header__cta { display: none; }
  .header__phone {
    width: 44px; height: 44px; justify-content: center; gap: 0;
    border: 1px solid rgba(203,185,143,.5); border-radius: 50%; color: var(--champagne);
  }
  .header__phone:hover, .header__phone:focus-visible {
    color: var(--navy); background: var(--champagne); border-color: var(--champagne);
  }
  .header__phone-num { display: none; }
  .header__phone-ico { width: 20px; height: 20px; }
  .primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px); flex-direction: column;
    justify-content: flex-start; gap: 1.75rem; background: var(--navy-2); padding: 6.5rem 2rem 2rem;
    transform: translateX(100%); transition: transform .3s ease; box-shadow: -20px 0 60px rgba(0,0,0,.5);
  }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav ul { flex-direction: column; text-align: center; gap: 1.75rem; }
  .primary-nav a { font-size: .95rem; letter-spacing: .2em; }
  .primary-nav a::after { display: none; }
  .header__lang { justify-content: center; gap: 1.1rem; }
  .header__lang-opt { font-size: 1rem; }
  /* Higher specificity than ".primary-nav a" so the button keeps its own dark
     text colour + tracking instead of inheriting the gold nav-link styles. */
  .primary-nav a.primary-nav__cta {
    display: inline-block; align-self: stretch; text-align: center; margin-top: .5rem;
    padding: 16px 20px; font-size: .74rem; letter-spacing: .1em; line-height: 1.3;
    white-space: normal; color: var(--ink);
  }
  .primary-nav a.primary-nav__cta:hover, .primary-nav a.primary-nav__cta:focus-visible { color: var(--ink); }
  body.nav-open { overflow: hidden; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}


/* ==========================================================================
   LEGAL PAGES (polityka prywatności / cookies)
   ========================================================================== */
.legal { background: var(--navy); min-height: 100vh; }
.legal__header { padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.legal__header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.legal__back { color: var(--gold-light); font-weight: 600; }
.legal__back:hover { color: var(--gold); }
.legal__brand { position: relative; display: inline-flex; background: var(--cream); padding: 1.1rem 1.6rem 1.5rem; line-height: 0; box-shadow: 0 18px 44px rgba(0,0,0,.4); }
.legal__brand::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(203,185,143,.4); pointer-events: none; }
.legal__brand img { width: clamp(80px, 10vw, 116px); height: auto; }
.legal__body { max-width: 820px; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.legal__body h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 6vw, 3rem); color: var(--white); margin-bottom: 1.5rem; }
.legal__body h2 { font-family: var(--sans); font-weight: 600; font-size: 1.25rem; color: var(--gold); margin: 2.25rem 0 .75rem; }
.legal__body h3 { font-weight: 600; color: var(--white); margin: 1.5rem 0 .5rem; font-size: 1.05rem; }
.legal__body p, .legal__body li { color: var(--text); margin-bottom: .9rem; line-height: 1.7; }
.legal__body ul, .legal__body ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.legal__body a { color: var(--gold-light); text-decoration: underline; }
.legal__body strong { color: var(--white); }
.legal__disclaimer {
  background: rgba(198,169,106,.12); border: 1px solid rgba(198,169,106,.4);
  border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 2.5rem; font-size: .9rem;
}
.legal__disclaimer strong { color: var(--gold-light); }
.legal__updated { color: var(--muted); font-size: .85rem; margin-top: 2.5rem; font-style: italic; }

/* (Language switcher styles live in the HEADER / NAV section as .header__lang) */
