/* Ogień i Sól: wegiel, sol i mosiadz. Kolor ognia daje film, nie akcent w CSS.
   Bodoni Moda (naglowki, tytul jako obraz) + Hanken Grotesk (tekst). Moment: tytul na ogniu
   i swiatlo idace za kursorem po karcie. */
:root {
  --wegiel: #16110e;
  --wegiel-2: #221a15;
  --popiol: #8d8178;
  --sol: #f3eee6;
  --mosiadz: #c9a36a;
  --dym: #3a3330;
  --szer: 1180px;
  --odstep: clamp(96px, 13vw, 180px);
  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
}
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--wegiel); color: var(--sol); font: 400 1.0625rem/1.65 var(--sans); }
img, video { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--mosiadz); outline-offset: 3px; }
.ik { width: 20px; height: 20px; flex: none; }
.ukryte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.srodek { width: min(var(--szer), 100% - 2 * clamp(16px, 5vw, 56px)); margin-inline: auto; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border: 0; border-radius: 2px; font: 600 0.95rem/1 var(--sans); letter-spacing: 0.04em; text-decoration: none; cursor: pointer; transition: background-color 0.25s, color 0.25s; }
.btn-sol { background: var(--sol); color: var(--wegiel); }
.btn-sol:hover { background: var(--mosiadz); }
.btn-obrys { box-shadow: inset 0 0 0 1px rgba(243, 238, 230, 0.6); color: var(--sol); }
.btn-obrys:hover { background: var(--sol); color: var(--wegiel); }
.btn-maly { padding: 12px 18px; }
.link-strzalka { font-weight: 600; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--mosiadz); }

.naglowek { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 32px; padding: 18px clamp(16px, 5vw, 56px); transition: background-color 0.3s, transform 0.35s; }
.naglowek.przewiniety { background: rgba(22, 17, 14, 0.9); backdrop-filter: blur(8px); }
.naglowek.schowany { transform: translateY(-100%); }
.logo { font: italic 500 1.5rem/1 var(--serif); text-decoration: none; }
.menu { display: flex; gap: 30px; margin-left: auto; font-size: 0.95rem; }
.menu a { text-decoration: none; color: rgba(243, 238, 230, 0.85); }
.menu a:hover { color: var(--sol); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--mosiadz); }

/* Hero: ogien na calym ekranie, wielki tytul przyciety dolna krawedzia. */
/* minmax(0, 1fr): the nowrap title must not widen the grid track past the screen (it pushed the lead off a phone). */
.hero { position: relative; min-height: calc(100svh - 52px); margin-top: -84px; display: grid; grid-template-columns: minmax(0, 1fr); align-content: end; overflow: hidden; isolation: isolate; }
.hero-film { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22, 17, 14, 0.55) 0%, transparent 28%, transparent 48%, rgba(22, 17, 14, 0.85) 100%); }
.hero-dol { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; padding: 0 clamp(16px, 5vw, 56px) 28px; }
.hero-lead { max-width: 30em; font-size: 1.15rem; color: rgba(243, 238, 230, 0.9); }
.hero-akcje { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-tytul { font: 500 clamp(5rem, 15vw, 15rem)/0.9 var(--serif); letter-spacing: -0.04em; white-space: nowrap; padding-left: clamp(8px, 3vw, 40px); margin-bottom: -0.04em; transform: translate3d(var(--tx, 0), 0, 0); }
.hero-tytul .i { font-style: italic; color: var(--mosiadz); font-size: 0.55em; vertical-align: 0.35em; }
/* B: ruszt na calym kadrze, tytul w dwoch liniach nisko po lewej, nad tekstem. */
[data-wersja="b"] .hero-tytul { order: -1; white-space: normal; font-size: clamp(4.2rem, 11vw, 11rem); line-height: 0.85; margin: 0 0 28px; padding-left: clamp(16px, 5vw, 56px); transform: none; }
[data-wersja="b"] .hero-tytul span { display: inline; }
[data-wersja="b"] .hero-tytul span:first-child { display: block; }
[data-wersja="b"] .hero-dol { padding-bottom: clamp(40px, 8vh, 88px); }
[data-wersja="b"] .hero::before { background: linear-gradient(90deg, rgba(22, 17, 14, 0.8) 0%, rgba(22, 17, 14, 0.35) 45%, transparent 70%), linear-gradient(0deg, rgba(22, 17, 14, 0.75) 0%, transparent 40%); }
.podpis-ilustracji { position: absolute; right: 16px; top: 88px; font-size: 0.75rem; color: rgba(243, 238, 230, 0.65); }

/* Karta: ciemne tlo, a po nim swiatlo jak od swiecy, za kursorem (--sx, --sy). */
.karta { position: relative; padding: var(--odstep) 0; background: var(--wegiel); isolation: isolate; }
.przejscie-styk { position: relative; height: 0; overflow: visible; pointer-events: none; }
.przejscie { position: absolute; left: 50%; top: 0; width: max(100vw, 900px); max-width: none; height: auto; transform: translate(-50%, -36%); z-index: 3; mix-blend-mode: screen; opacity: 0.85; }
main { overflow-x: clip; }
.swiatlo { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle 380px at var(--sx, 70%) var(--sy, 30%), rgba(201, 120, 50, 0.22), rgba(201, 120, 50, 0.06) 45%, transparent 70%); transition: background-position 0.2s; }
.karta-glowa { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; }
.karta h2, .pole-tekst h2, .rezerwacja h2 { font: 500 clamp(2.6rem, 5vw, 4.4rem)/1 var(--serif); letter-spacing: -0.02em; }
.karta-glowa p { color: rgba(243, 238, 230, 0.75); max-width: 30em; }
.karta-taby { display: flex; gap: 36px; margin: 64px 0 8px; border-bottom: 1px solid var(--dym); }
.karta-taby button { position: relative; padding: 0 0 16px; border: 0; background: none; color: var(--popiol); font: italic 500 1.5rem/1 var(--serif); cursor: pointer; }
.karta-taby button[aria-selected="true"] { color: var(--sol); }
.karta-taby button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--mosiadz); }
.dania { display: grid; animation: pojaw 0.45s ease; }
.dania article { display: grid; grid-template-columns: 1fr auto; column-gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--dym); }
.dania h3 { font: 500 clamp(1.4rem, 2.4vw, 2rem)/1.15 var(--serif); }
.dania p:not(.cena) { grid-column: 1; color: var(--popiol); margin-top: 6px; }
.dania .cena { grid-row: 1 / span 2; grid-column: 2; align-self: center; font: 500 1.6rem/1 var(--serif); color: var(--mosiadz); }
.karta .uwaga { margin-top: 20px; font-size: 0.85rem; color: var(--popiol); }
@keyframes pojaw { from { opacity: 0; transform: translateY(10px); } }

.wino { display: grid; gap: var(--odstep); padding: 0 0 var(--odstep); }
.pole { width: min(var(--szer), 100% - 2 * clamp(16px, 5vw, 56px)); margin-inline: auto; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.pole.odwrotne .pole-media { order: 2; }
.pole-media { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--wegiel-2); }
.pole-media video, .pole-media img { width: 100%; height: 115%; object-fit: cover; transform: translate3d(0, var(--py, 0), 0); }
.pole-media figcaption { position: absolute; right: 12px; bottom: 10px; font-size: 0.75rem; color: rgba(243, 238, 230, 0.7); }
.pole-tekst p { margin: 24px 0 34px; color: rgba(243, 238, 230, 0.78); max-width: 30em; }

.cechy { background: var(--wegiel-2); padding: clamp(72px, 9vw, 120px) clamp(16px, 5vw, 56px); }
.cechy ul { list-style: none; margin: 0 auto; padding: 0; max-width: var(--szer); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 4vw, 64px); }
.cechy .ik { width: 30px; height: 30px; color: var(--mosiadz); }
.cechy h3 { margin: 16px 0 8px; font: italic 500 1.6rem/1.1 var(--serif); }
.cechy p { color: var(--popiol); }

.opinie { padding: var(--odstep) 0; }
.cytat-duzy { margin: 0 auto; max-width: 22em; text-align: center; }
.cytat-duzy p { font: italic 500 clamp(1.8rem, 3.6vw, 3rem)/1.2 var(--serif); }
.cytat-duzy footer { margin-top: 24px; color: var(--mosiadz); }
.cytat-duzy footer span { display: block; font-size: 0.85rem; color: var(--popiol); }

.rezerwacja { padding: var(--odstep) 0; background: linear-gradient(180deg, var(--wegiel) 0%, #2a1a10 100%); }
.rez-siatka { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.rez-siatka > div > p { margin-top: 20px; color: rgba(243, 238, 230, 0.78); max-width: 26em; }
.rez-form { display: grid; gap: 22px; }
.rez-pole { display: grid; gap: 8px; }
.etykieta { font-size: 0.85rem; color: var(--popiol); letter-spacing: 0.04em; }
.rez-form input, .rez-form select { min-height: 54px; padding: 0 16px; background: transparent; color: var(--sol); border: 1px solid var(--dym); border-radius: 2px; font: 400 1.05rem var(--sans); color-scheme: dark; }
.rez-form select option { background: var(--wegiel); }
.licznik { display: flex; align-items: center; gap: 4px; }
.licznik button { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid var(--dym); background: transparent; color: var(--sol); cursor: pointer; }
.licznik button:hover { border-color: var(--mosiadz); }
.licznik output { min-width: 64px; text-align: center; font: 500 1.8rem/1 var(--serif); }
.rez-info { min-height: 1.5em; color: var(--mosiadz); font-weight: 600; }

.stopka { background: #0f0b09; padding: 80px 0 28px; color: var(--popiol); }
.stopka-siatka { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 32px; align-items: start; }
.stopka-logo { font: italic 500 2.2rem/1 var(--serif); color: var(--sol); }
.stopka h3 { font: 600 0.9rem/1 var(--sans); color: var(--sol); margin-bottom: 12px; }
.stopka .ik { display: inline; vertical-align: -4px; margin-right: 6px; width: 18px; height: 18px; }
.stopka-dol { margin-top: 64px; font-size: 0.85rem; }

/* Menu, logo and the button crowd the header below 1000 px (zoomed-out windows too). */
@media (max-width: 1000px) {
  .menu { display: none; }
  .naglowek .btn { margin-left: auto; }
}
/* Lead above the buttons until there is room for both in one row. */
@media (max-width: 1100px) {
  .hero-dol { flex-direction: column; align-items: flex-start; }
}
/* Portrait screens see a narrow slice of the 16:9 hero: keep the fire (A, right edge) and the grill (B) in it. */
@media (max-aspect-ratio: 4/5) {
  .hero-film { object-position: 90% center; }
  [data-wersja="b"] .hero-film { object-position: 62% center; }
}
@media (max-width: 900px) {
  .karta-glowa, .pole, .rez-siatka { grid-template-columns: 1fr; }
  .pole.odwrotne .pole-media { order: 0; }
  .pole-media { aspect-ratio: 4 / 3; }
  .stopka-siatka { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .hero-tytul { font-size: 19vw; }
  .karta-taby { gap: 20px; }
  .karta-taby button { font-size: 1.2rem; }
  .cechy li { text-align: center; }
  .cechy .ik { margin-inline: auto; width: 26px; height: 26px; }
  .cechy h3 { font-size: 1.1rem; margin: 10px 0 4px; }
  .cechy p { font-size: 0.8rem; line-height: 1.4; }
  .stopka-siatka { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-film { display: none; }
  .hero { background: url("media/hero-a.jpg") center / cover; }
  [data-wersja="b"] .hero { background-image: url("media/hero-b.jpg"); }
  .dania { animation: none; }
  .hero-tytul, .pole-media video, .pole-media img { transform: none; }
}

@media (max-width: 560px) { .stopka { padding-bottom: 88px; } }
