/* RESET — strona wizytówka */
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,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"; font-weight: 400; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("assets/fonts/inter-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("assets/fonts/inter-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("assets/fonts/inter-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --ink: #1a1917; --ink-soft: #6a655e; --paper: #fbfaf7; --sand: #f1ece3; --line: #dcd7cf; --accent: #6f7b5e; --night: #14130f;
  --serif: "Cormorant Garamond", Georgia, serif; --sans: Inter, system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1); --curtain: cubic-bezier(.76, 0, .24, 1);
  --pad: clamp(18px, 3vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }
body { font: 400 15px/1.55 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: fixed; top: -80px; left: 16px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 4px; text-decoration: none; }
.skip:focus { top: 16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 4px; background: transparent; font-weight: 500; font-size: 13px; letter-spacing: .06em; cursor: pointer; white-space: nowrap; transition: background-color .25s, color .25s, border-color .2s; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { border-color: var(--accent); background: var(--accent); }

/* Pasek górny */
.top { position: fixed; z-index: 20; top: 0; left: 0; width: 46%; display: flex; align-items: flex-start; justify-content: space-between; padding: var(--pad) var(--pad) 0; pointer-events: none; }
.top > * { pointer-events: auto; }
.brand { display: flex; flex-direction: column; gap: 6px; }
.logo { display: block; width: clamp(124px, 10.5vw, 156px); padding: 8px 0 0; color: var(--ink); }
.tagline { margin: 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.logo svg { display: block; width: 100%; height: auto; }
.top-actions { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; }
.lang button { min-width: 40px; min-height: 44px; border: 0; background: none; font-size: 12px; font-weight: 500; letter-spacing: .12em; opacity: .45; cursor: pointer; }
.lang button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--accent); }

/* Układ: tekst po lewej, zdjęcie po prawej */
.layout { display: grid; grid-template-columns: 46% 54%; min-height: 100vh; min-height: 100dvh; }
.intro { display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--pad) + 104px) var(--pad) 0; gap: 0; }
h1 { font: 400 clamp(2.2rem, min(3.4vw, 5.6vh), 3.3rem)/1.0 var(--serif); letter-spacing: -.015em; margin: 0; max-width: 11em; }
.lead { margin: 18px 0 0; color: var(--ink-soft); max-width: 40ch; font-size: 16px; }

/* Lista obiektów */
.places { list-style: none; margin: clamp(28px, 4.2vh, 46px) 0 0; padding: 0; border-top: 1px solid var(--line); counter-reset: p; }
.place { border-bottom: 1px solid var(--line); }
.place-link { position: relative; display: grid; grid-template-columns: 36px 1fr auto; grid-template-areas: "num name go" "num meta go"; column-gap: 12px; align-items: baseline; padding: clamp(12px, 1.7vh, 19px) 0; text-decoration: none; transition: opacity .35s var(--ease); }
.num { grid-area: num; font-size: 12px; letter-spacing: .12em; color: var(--ink-soft); }
.name { grid-area: name; font: 400 clamp(1.75rem, 2.6vw, 2.5rem)/1.08 var(--serif); letter-spacing: -.01em; transition: transform .5s var(--ease); }
.meta { grid-area: meta; font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.go { grid-area: go; align-self: center; font-size: 13px; font-weight: 500; letter-spacing: .02em; opacity: .55; transition: opacity .3s, transform .5s var(--ease); }
.bar { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.places.has-active .place-link { opacity: .38; }
.places.has-active .place.is-active .place-link { opacity: 1; }
.place.is-active .name { transform: translateX(8px); }
.place.is-active .go { opacity: 1; transform: translateX(-4px); }
.place.is-active .bar { transform: scaleX(1); transition: transform var(--dwell, 4200ms) linear; }
.places.is-hover .place.is-active .bar { transition-duration: .6s; transition-timing-function: var(--ease); }
.place-media { display: none; }

/* Newsletter */
.nl { margin-top: clamp(48px, 7vh, 80px); max-width: 560px; }
.nl > label:first-child { display: block; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.nl-row { display: flex; gap: 8px; }
.nl-row input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; font-size: 16px; background: transparent; border: 1px solid var(--line); border-radius: 4px; transition: border-color .2s; }
.nl-row input:hover, .nl-row input:focus { border-color: var(--ink); }
.nl-row input::placeholder { color: #9a948b; }
.nl-row input[aria-invalid="true"] { border-color: #b0643c; }
.consent { display: flex; align-items: flex-start; gap: 10px; min-height: 36px; padding-top: 16px; font-size: 13px; color: var(--ink-soft); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--accent); }
.consent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nl-status { margin: 0; min-height: 1.25em; font-size: 13px; }
.nl-status.is-error { color: #a4552c; }

/* Scena zdjęć */
.stage { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; background: var(--night); }
.frames { position: absolute; inset: 0; }
.frame { position: absolute; inset: 0; clip-path: inset(0 0 0 100%); }
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.12); }
.frame.is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.05s var(--curtain); z-index: 2; }
.frame.is-in img { transform: scale(1); transition: transform 2.6s var(--ease); }
.frame.is-under { clip-path: inset(0 0 0 0); z-index: 1; }
.frame.is-under img { transform: scale(1); }
.stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(180deg, rgba(20,19,15,0), rgba(20,19,15,.5)); z-index: 3; pointer-events: none; }
.stage-cap { position: absolute; z-index: 4; left: var(--pad); right: var(--pad); bottom: var(--pad); margin: 0; display: flex; justify-content: space-between; align-items: baseline; color: #fff; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.cap-count { font-variant-numeric: tabular-nums; opacity: .8; }

/* Stopka */
.foot { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 18px; flex-wrap: wrap; padding: 16px 0 22px; margin-top: 32px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-soft); }

/* Kontakt */
.contact { width: min(480px, calc(100vw - 32px)); padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 60px rgba(20,19,15,.18); }
.contact::backdrop { background: rgba(20,19,15,.55); }
.contact .close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
.contact h2 { font: 400 clamp(2rem, 4vw, 2.6rem)/1.05 var(--serif); margin: 0 0 20px; }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 16px; }
.contact-list a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }
.contact-note { margin: 16px 0 0; font-size: 13px; color: var(--ink-soft); }

/* Wejście */
@media (prefers-reduced-motion: no-preference) {
  .js .logo svg { clip-path: inset(0 100% 0 0); animation: wipe 1.2s var(--curtain) .1s forwards; }
  .js .intro > *, .js .place { opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease) forwards; }
  .js h1 { animation-delay: .35s; } .js .tagline { opacity: 0; animation: rise .9s var(--ease) .3s forwards; }
  .js .place:nth-child(1) { animation-delay: .55s; } .js .place:nth-child(2) { animation-delay: .63s; } .js .place:nth-child(3) { animation-delay: .71s; }
  .js .places { opacity: 1; transform: none; animation: none; }
  .js .nl { animation-delay: .8s; } .js .foot { animation-delay: .9s; }
}
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* Mobile */
@media (max-width: 900px) {
  .top { position: absolute; width: 100%; padding: 18px 16px 0; }
  .top { flex-wrap: wrap; row-gap: 10px; }
  .brand { display: contents; }
  .logo { width: 116px; order: 0; }
  .top-actions { order: 1; }
  .tagline { order: 2; width: 100%; font-size: 11px; letter-spacing: .1em; }
  .layout { display: block; min-height: 0; }
  .stage { display: none; }
  .intro { padding: 132px 16px 32px; }
  h1 { font-size: clamp(2.2rem, 9.5vw, 2.9rem); }
  .place-link { grid-template-columns: 28px 1fr auto; padding: 18px 0 14px; }
  .place.is-active .name { transform: none; }
  .places.has-active .place-link { opacity: 1; }
  .place-media { display: block; position: relative; aspect-ratio: 4 / 3; margin: 0 0 20px; overflow: hidden; background: var(--sand); border-radius: 2px; }
  .place-media .frame img { transform: none; }
  .nl-row { flex-direction: column; }
  .nl-row input { flex: none; width: 100%; height: 48px; }
  .nl-row .btn { width: 100%; min-height: 48px; }
  .foot { padding: 16px 0 28px; }
}

/* Newsletter: kod rabatowy */
.nl-head { margin: 0 0 12px; font: 400 clamp(1.45rem, 2.1vw, 1.95rem)/1.12 var(--serif); max-width: 30ch; text-wrap: balance; }
.nl-sub { margin: 0 0 22px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); max-width: 52ch; }
.nl-legal { margin: 12px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--ink-soft); }
.nl-legal a, .collab a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.nl-legal a:hover, .collab a:hover { text-decoration-color: var(--accent); }
.collab { margin: 0; font-size: 13px; color: var(--ink-soft); }
.collab a { color: var(--ink); font-weight: 500; text-decoration-color: var(--ink); }

/* Czwarty obiekt: zapowiedź */
.place--teaser .name { font-style: italic; }
.stage-teaser { position: absolute; z-index: 3; inset: 0; display: grid; align-content: center; justify-items: start; gap: 10px; padding: 0 var(--pad); color: var(--paper); background: linear-gradient(100deg, rgba(20,19,15,.78) 0%, rgba(20,19,15,.55) 55%, rgba(20,19,15,.35) 100%); }
.stage-teaser[hidden] { display: none; }
.st-line { margin: 0; font: 400 clamp(1.5rem, 2.4vw, 2.2rem)/1.15 var(--serif); max-width: 16ch; }
.st-year { margin: 0; font: 400 clamp(3.4rem, 7vw, 6rem)/1 var(--serif); letter-spacing: .02em; }
.st-note { margin: 0; font-size: 13px; max-width: 34ch; color: rgba(251,250,247,.86); }
.media-teaser { position: absolute; inset: 0; z-index: 3; padding: 20px; gap: 6px; background: linear-gradient(180deg, rgba(20,19,15,.72), rgba(20,19,15,.82)); }
.media-teaser .st-line { font-size: 1.3rem; } .media-teaser .st-year { font-size: 3rem; } .media-teaser .st-note { font-size: 12px; }

/* Stopka: linki */
.foot-links { display: flex; gap: 18px; }
.foot-links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.foot-links a:hover { text-decoration-color: var(--accent); }

/* Podstrony prawne */
.legal-top { width: min(760px, calc(100vw - 2 * var(--pad))); margin-inline: auto; padding-top: var(--pad); }
.legal-top img { width: 132px; height: auto; }
.legal { width: min(760px, calc(100vw - 2 * var(--pad))); margin-inline: auto; padding-block: 28px 72px; }
.legal .back { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--line); }
.legal h1 { font: 400 clamp(2rem, 4vw, 2.9rem)/1.08 var(--serif); margin: 24px 0 8px; }
.legal .updated { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 40px; }
.legal h2 { font: 500 13px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 15px; line-height: 1.65; max-width: 68ch; color: #2e2b27; }
.legal p + p { margin-top: 12px; }
.legal ul, .legal ol { margin: 12px 0 0; padding-left: 20px; list-style: disc; }
.legal ol { list-style: decimal; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--ink-soft); }
.legal .note { margin-top: 48px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 13px; color: var(--ink-soft); background: var(--sand); }
.legal a { color: inherit; }
@media (max-width: 900px) {
  .legal { padding-block: 20px 56px; }
  .legal-top img { width: 112px; }
  .stage-teaser { padding: 0 20px; }
}

/* Typografia: bez wdów i sierotek */
p, li, .meta, .consent span, .st-note, .go { text-wrap: pretty; }
h1, h2, .nl-head, .st-line { text-wrap: balance; }

/* WhatsApp w kontakcie */
.btn-wa { margin-top: 20px; width: 100%; gap: 10px; min-height: 48px; background: #25d366; color: #0b2e17; border-color: #25d366; text-decoration: none; font-weight: 500; }
.btn-wa:hover { background: #1ebe5b; border-color: #1ebe5b; }

/* Mobile: jasny kafelek zapowiedzi 2027 */
@media (max-width: 900px) {
  .place--teaser .place-media { background: var(--sand); aspect-ratio: auto; min-height: 0; }
  .media-teaser { position: relative; inset: auto; background: var(--sand); color: var(--ink); padding: 28px 22px 30px; gap: 8px; }
  .media-teaser .st-note { color: var(--ink-soft); }
  .media-teaser .st-year { font-size: 3.2rem; }
}
@media (max-width: 900px) {
  .media-teaser .st-line { max-width: 22ch; }
  .media-teaser .st-note { max-width: 36ch; }
}

/* Dopisek w okienku kontaktu: zawsze w jednej linii */
.contact-note span { white-space: nowrap; }
.note-short { display: none; }
@media (max-width: 520px) { .note-long { display: none; } .note-short { display: inline; } }
