*, *::before, *::after { box-sizing: border-box; }

:root {
  --navy: #003052;
  --navy-deep: #00243d;
  --cream: #f9f3e9;
  --cream-light: #fdfaf4;
  --cream-text: #f2e9db;
  --terracotta: #b0503a;
  --stripes: repeating-linear-gradient(135deg, #e8dfd0 0 10px, #f4ece0 10px 20px);
  --script: 'Parisienne', cursive;
  --serif: 'Cormorant Garamond', serif;
  --sans: 'Jost', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --gutter: clamp(20px, 4vw, 56px);
  --pad-l: max(var(--gutter), env(safe-area-inset-left));
  --pad-r: max(var(--gutter), env(safe-area-inset-right));
  --section-y: clamp(72px, 11vw, 140px);
  --header-h: 78px;
}
@media (max-width: 859px) { :root { --header-h: 64px; --gutter: 20px; } }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* karta.html: leave room for the sticky section bar under the header */
html.has-chips { scroll-padding-top: calc(var(--header-h) + 65px + 12px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--terracotta); }
p { text-wrap: pretty; }
button { font: inherit; }

/* Language switching: PL is the default, EN is set on <html lang="en"> */
:root[lang="pl"] .en, :root[lang="en"] .pl { display: none !important; }

@keyframes ct-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.wrap { max-width: 1180px; margin: 0 auto; }
.section { padding: var(--section-y) var(--pad-r) var(--section-y) var(--pad-l); }

.eyebrow {
  margin: 0 0 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.h2 {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.photo { position: relative; background: var(--stripes); overflow: hidden; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.btn-light { background: var(--cream); color: var(--navy); }
.btn-light:hover { color: var(--terracotta); transform: translateY(-2px); }
.btn-ghost-light { border: 1px solid rgba(249,243,233,0.5); color: var(--cream); }
.btn-ghost-light:hover { border-color: var(--cream); color: var(--cream); }
.btn-dark { background: var(--navy); color: var(--cream); }
.btn-dark:hover { background: var(--terracotta); color: var(--cream); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(249,243,233,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,48,82,0.16);
}
.site-header .bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad-r) 0 var(--pad-l);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 24px);
}
.logo { font-family: var(--script); font-size: clamp(28px, 2.6vw, 32px); line-height: 1; letter-spacing: 0.01em; white-space: nowrap; }
.logo:hover { color: var(--navy); }
.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 32px);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav a { padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--terracotta); color: var(--terracotta); }
.header-actions { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 18px); }
.lang-switch { display: flex; align-items: center; gap: 6px; }
.lang-switch span { opacity: 0.35; font-size: 12px; }
.lang-switch button {
  font: 400 12px/1 var(--sans);
  letter-spacing: 0.1em;
  cursor: pointer;
  padding: 7px 11px;
  border-radius: 2px;
  transition: all 0.2s ease;
  background: transparent;
  color: rgba(0,48,82,0.7);
  border: 1px solid rgba(0,48,82,0.3);
}
.lang-switch button[aria-pressed="true"] { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.book {
  display: inline-flex;
  align-items: center;
  background: var(--navy);
  color: var(--cream);
  padding: 13px clamp(14px, 1.8vw, 22px);
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.25s ease;
}
.book:hover { background: var(--terracotta); color: var(--cream); }
.compact-actions, .mobile-nav { display: none; }

@media (max-width: 859px) {
  .site-header .bar { gap: 12px; }
  .site-header .nav, .header-actions { display: none; }
  .logo { font-size: clamp(23px, 7vw, 28px); }
  .compact-actions { display: flex; align-items: center; gap: 8px; }
  .compact-actions .book { height: 44px; padding: 0 14px; font-size: 11px; }
  .burger {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(0,48,82,0.3);
    border-radius: 2px;
    cursor: pointer;
    color: var(--navy);
  }
  .burger .lines { display: grid; gap: 6px; }
  .burger .lines span { display: block; width: 18px; height: 1px; background: var(--navy); }
  .burger .close { display: none; font: 300 26px/1 var(--sans); }
  .site-header.open .burger .lines { display: none; }
  .site-header.open .burger .close { display: block; }
  .site-header.open .mobile-nav { display: grid; }
  .mobile-nav {
    border-top: 1px solid rgba(0,48,82,0.14);
    padding: 4px var(--pad-r) 24px var(--pad-l);
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    animation: ct-up 0.35s ease both;
  }
  .mobile-nav > a {
    display: flex;
    align-items: center;
    min-height: 60px;
    border-bottom: 1px solid rgba(0,48,82,0.12);
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1.2;
  }
  .mobile-nav > a[aria-current="page"] { color: var(--terracotta); }
  .mobile-nav .contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 20px; }
  .mobile-nav .contact-row a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 2px;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .mobile-nav .contact-row .call { background: var(--navy); color: var(--cream); }
  .mobile-nav .contact-row .call:hover { background: var(--terracotta); }
  .mobile-nav .contact-row .wa { border: 1px solid rgba(0,48,82,0.35); }
  .mobile-nav .contact-row .wa:hover { border-color: var(--terracotta); }
  .mobile-nav .lang-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; }
  .mobile-nav .lang-row .label { color: rgba(0,48,82,0.6); }
  .mobile-nav .lang-switch { gap: 8px; }
  .mobile-nav .lang-switch button { height: 44px; min-width: 44px; padding: 0 16px; }
}
@media (max-width: 379px) { .compact-actions .book { display: none; } }

/* Hero — wariant A, Notte */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--cream);
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(64% 58% at 50% 44%, rgba(0,36,61,0.6) 0%, rgba(0,36,61,0.28) 62%, rgba(0,36,61,0.5) 100%),
    linear-gradient(to top, rgba(0,36,61,0.92) 0%, rgba(0,36,61,0) 32%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  justify-self: center;
  max-width: 980px;
  text-align: center;
  padding: clamp(28px, 6svh, 100px) max(clamp(24px, 6vw, 60px), env(safe-area-inset-right)) clamp(28px, 6svh, 100px) max(clamp(24px, 6vw, 60px), env(safe-area-inset-left));
  animation: ct-up 0.8s ease both;
  text-shadow: 0 2px 28px rgba(0,24,41,0.5);
}
.hero-copy .where {
  margin: 0 0 clamp(14px, 3.5svh, 30px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(249,243,233,0.8);
}
.hero-copy h1 {
  margin: 0;
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(56px, min(12vw, 18svh), 168px);
  line-height: 0.92;
  color: var(--cream);
}
.hero-copy .rule { width: 64px; height: 1px; background: rgba(249,243,233,0.45); margin: clamp(18px, 4.5svh, 40px) auto; }
.hero-copy .lede {
  margin: 0 auto;
  max-width: 620px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(19px, min(2.4vw, 4svh), 30px);
  line-height: 1.45;
  color: var(--cream-text);
}
.hero-copy .ctas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 220px));
  justify-content: center;
  gap: 12px 16px;
  margin-top: clamp(22px, 5.5svh, 46px);
  text-shadow: none;
}
.hero-copy .ctas .btn { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 20px; white-space: nowrap; }
.hero-facts { position: relative; z-index: 2; border-top: 1px solid rgba(249,243,233,0.18); }
.hero-facts div {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px var(--pad-r) 18px var(--pad-l);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 40px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(249,243,233,0.8);
}

/* O nas */
.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
}
.prose { font-size: 16px; line-height: 1.8; color: rgba(0,48,82,0.8); display: grid; gap: 18px; max-width: 56ch; }
.prose p { margin: 0; }
.about-side { display: grid; gap: 20px; }
.about-side .photo { aspect-ratio: 4 / 3; }
.quote { margin: 0; background: var(--navy); color: var(--cream); padding: clamp(28px, 3.5vw, 40px); }
.quote .sig { margin: 0 0 14px; font-family: var(--script); font-size: 30px; line-height: 1; }
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
  color: var(--cream-text);
}
.quote .label { margin: 22px 0 0; color: rgba(249,243,233,0.6); }

/* Karta teaser */
.teaser { background: var(--navy); color: var(--cream); }
.teaser-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 4vw, 52px);
}
.teaser-head .eyebrow { margin-bottom: 18px; color: rgba(249,243,233,0.65); }
.teaser-head h2 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.05; }
.teaser-head a {
  color: var(--cream);
  border-bottom: 1px solid rgba(249,243,233,0.5);
  padding-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.teaser-head a:hover { color: var(--cream); border-bottom-color: var(--cream); }
.teaser-list { border-top: 1px solid rgba(249,243,233,0.25); }
.teaser-list a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 20px;
  align-items: baseline;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(249,243,233,0.25);
  color: var(--cream);
  transition: padding 0.3s ease, background 0.3s ease;
}
.teaser-list a:hover { color: var(--cream); background: rgba(249,243,233,0.04); padding-left: 12px; }
.teaser-list .num { font-family: var(--serif); font-size: 22px; color: rgba(249,243,233,0.5); }
.teaser-list .body { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; }
.teaser-list .title { flex: 0 0 min(100%, 290px); font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.teaser-list .dishes { flex: 1 1 260px; font-size: 14.5px; line-height: 1.6; color: rgba(249,243,233,0.75); }
.teaser-list .arrow { font-family: var(--mono); font-size: 14px; color: rgba(249,243,233,0.6); text-align: right; }

/* Zespół */
.team { background: var(--cream-light); }
.team .h2 { margin-bottom: clamp(36px, 5vw, 64px); max-width: 22ch; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.team-grid .photo { aspect-ratio: 4 / 5; margin-bottom: 22px; }
.team-grid h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; }
@media (max-width: 759px) {
  .team-grid { grid-template-columns: 1fr; gap: 28px; }
  .team-grid article { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 18px; align-items: start; }
  .team-grid .photo { margin-bottom: 0; }
}
.team-grid .label { margin: 0 0 12px; color: var(--terracotta); }
.team-grid p:last-child { margin: 0; font-size: 15px; line-height: 1.7; color: rgba(0,48,82,0.75); }

/* Kontakt */
.contact .two-col { gap: clamp(36px, 5vw, 72px); align-items: stretch; }
.contact .h2 { margin-bottom: 36px; }
.facts { border-top: 1px solid rgba(0,48,82,0.2); margin: 0; }
.facts div {
  display: grid;
  grid-template-columns: minmax(120px, 0.4fr) 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,48,82,0.2);
}
.facts dt { color: rgba(0,48,82,0.6); padding-top: 4px; }
.facts dd { margin: 0; font-size: 16px; line-height: 1.6; }
.facts .muted { color: rgba(0,48,82,0.6); }
@media (max-width: 420px) { .facts div { grid-template-columns: 1fr; gap: 6px; } }
.map {
  position: relative;
  min-height: 380px;
  background: repeating-linear-gradient(135deg, #dfe4e9 0 10px, #eaeef2 10px 20px);
  overflow: hidden;
}
.map .btn { position: absolute; left: 20px; bottom: 20px; padding: 13px 24px; letter-spacing: 0.16em; }

/* Karta page */
.menu-intro {
  padding: clamp(48px, 8vw, 104px) var(--pad-r) clamp(32px, 4vw, 52px) var(--pad-l);
  text-align: center;
}
.menu-intro .eyebrow { margin-bottom: 20px; letter-spacing: 0.3em; }
.menu-intro h1 { margin: 0 0 20px; font-family: var(--script); font-weight: 400; font-size: clamp(52px, 8vw, 110px); line-height: 1; }
.menu-intro .lead { margin: 0 auto; max-width: 52ch; font-size: 16px; line-height: 1.75; color: rgba(0,48,82,0.75); }
.menu-jump {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: rgba(249,243,233,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(0,48,82,0.14);
  border-bottom: 1px solid rgba(0,48,82,0.14);
}
.menu-jump .row {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: safe center;
  padding: 10px var(--pad-r) 10px var(--pad-l);
}
.menu-jump .row::-webkit-scrollbar { display: none; }
.menu-jump a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(0,48,82,0.25);
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.menu-jump a:hover { border-color: var(--terracotta); color: var(--navy); }
.menu-jump a[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.menu-jump .num { font-family: var(--serif); font-size: 16px; letter-spacing: 0; color: var(--terracotta); }
.menu-jump a[aria-current="true"] .num { color: rgba(249,243,233,0.7); }
.menu-body { padding: clamp(40px, 6vw, 80px) var(--pad-r) clamp(56px, 8vw, 96px) var(--pad-l); }
.menu-body .wrap { max-width: 1120px; }
.courses { display: grid; gap: clamp(56px, 7vw, 88px); }
.course {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 64px;
  border-top: 1px solid rgba(0,48,82,0.22);
  padding-top: clamp(28px, 3vw, 40px);
}
.course-head { flex: 1 1 220px; max-width: 340px; }
.course-head .num { margin: 0 0 14px; font-family: var(--serif); font-size: 22px; line-height: 1; color: var(--terracotta); }
.course-head h2 { margin: 0 0 12px; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.02; }
.course-head .label { margin: 0; line-height: 1.7; letter-spacing: 0.18em; color: rgba(0,48,82,0.6); }
.dishes { flex: 3 1 440px; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.dish-line { display: flex; align-items: baseline; gap: 14px; }
.dish-line h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.25; }
.dish-line .leader { flex: 1 1 24px; min-width: 24px; border-bottom: 1px dotted rgba(0,48,82,0.4); transform: translateY(-6px); }
.dish-line .price { font-family: var(--mono); font-size: 14px; white-space: nowrap; }
/* 760–999px: sections flow in two columns, like an open foldable spread */
@media (min-width: 760px) and (max-width: 999px) {
  .courses { display: block; column-count: 2; column-gap: 72px; column-rule: 1px solid rgba(0,48,82,0.14); }
  .course { display: block; break-inside: avoid; padding-top: 26px; margin-bottom: 52px; }
  .course-head { max-width: none; margin-bottom: 22px; }
  .dishes { gap: 22px; }
  .tasting { break-inside: avoid; margin-bottom: 40px; grid-template-columns: 1fr; }
}
@media (max-width: 759px) {
  .courses { gap: 52px; }
  .course { display: block; padding-top: 26px; }
  .course-head { max-width: none; margin-bottom: 22px; }
  .dishes { gap: 22px; }
}
.dishes p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.6; color: rgba(0,48,82,0.72); max-width: 58ch; }
.tasting {
  background: var(--navy);
  color: var(--cream);
  padding: clamp(32px, 4.5vw, 56px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 32px;
  align-items: center;
}
.tasting h2 { margin: 0 0 10px; font-family: var(--script); font-weight: 400; font-size: 34px; line-height: 1; }
.tasting p { margin: 0; font-size: 15px; line-height: 1.75; color: rgba(249,243,233,0.8); max-width: 46ch; }
.tasting dl { margin: 0; display: grid; gap: 14px; font-family: var(--mono); font-size: 13px; }
.tasting dl div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(249,243,233,0.25); padding-bottom: 12px; }
.tasting dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.tasting dd { margin: 0; }
.menu-note { margin: clamp(40px, 5vw, 64px) 0 0; font-family: var(--mono); font-size: 11px; line-height: 1.8; letter-spacing: 0.06em; color: rgba(0,48,82,0.6); text-align: center; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(249,243,233,0.8); padding: clamp(52px, 7vw, 84px) var(--pad-r) calc(32px + env(safe-area-inset-bottom)) var(--pad-l); }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 36px 40px; align-items: start; font-size: 14px; line-height: 1.5; }
.site-footer .cols > div { display: grid; }
.site-footer .cols > div > a:not(.logo) { display: flex; align-items: center; min-height: 44px; }
.site-footer .addr { padding-bottom: 4px; }
.site-footer .logo { display: block; margin: 0 0 14px; font-size: 34px; color: var(--cream); }
.site-footer .cols > div:first-child p { margin: 0; line-height: 1.7; }
.site-footer .label { margin: 0 0 10px; color: rgba(249,243,233,0.55); }
.site-footer a { color: rgba(249,243,233,0.85); }
.site-footer a:hover { color: var(--cream); }
.site-footer .copy {
  max-width: 1180px;
  margin: 44px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(249,243,233,0.18);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(249,243,233,0.5);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy, .mobile-nav { animation: none; }
  * { transition: none !important; }
}
