/* Menu – Świąteczna Gala Grupy ASTA 2026
   Mobile first. Układ desktopowy od 900 px. Kolory i kroje z design systemu Gali. */

@font-face { font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/marcellus-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+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: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/marcellus-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+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"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/montserrat-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+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"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/montserrat-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+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"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/montserrat-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+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"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/montserrat-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+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"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2");
  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"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/montserrat-latin-ext-600-normal.woff2") format("woff2");
  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; }


:root {
  --cream: #f5f0ec;
  --sand: #e9ddd0;
  --plum: #4d0a0a;
  --gold: #c8a47c;
  --gold-text: #8a6436;
  --ink: #4d0a0a;
  --ink-body: #6b4a4a;
  --ink-muted: #7a5555;
  --veg: #5f7a4a;
  --rule: rgba(77, 10, 10, .12);
  --serif: "Marcellus", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --edge: 12px;          /* kremowy margines wokół bloków */
  --pad: 36px;           /* boczny margines treści */
  --sticky-top: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--cream); scroll-padding-top: calc(72px + env(safe-area-inset-top, 0px)); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
a { color: var(--ink); }

.page { max-width: 520px; margin: 0 auto; overflow-x: clip; }

/* Nagłówek */
.hero { padding: calc(28px + env(safe-area-inset-top, 0px)) var(--pad) 36px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__logo { width: 96px; margin-bottom: 32px; }
.hero__event { font: 400 15px/1.4 var(--serif); color: var(--ink-body); }
.hero__title { margin-top: 14px; font: 400 60px/1 var(--serif); color: var(--ink); }
.divider { display: flex; align-items: center; gap: 12px; margin: 18px 0 16px; }
.divider span { width: 44px; height: 1px; background: var(--gold); }
.divider svg { width: 12px; height: 12px; fill: var(--gold); }
.hero__meta { font: 400 13px/1.45 var(--sans); color: var(--ink-muted); }

/* Pasek sekcji */
.topcover { position: fixed; top: 0; left: 0; right: 0; z-index: 9; pointer-events: none;
  height: calc(var(--sticky-top) + env(safe-area-inset-top, 0px)); background: var(--cream); }
.nav { position: sticky; top: calc(var(--sticky-top) + env(safe-area-inset-top, 0px)); z-index: 10; margin: 0 var(--edge);
  display: flex; justify-content: safe center; overflow-x: auto; scrollbar-width: none; padding: 0 2px;
  background: var(--plum); outline: 1px solid rgba(200, 164, 124, .6); outline-offset: -5px;
  box-shadow: 0 calc(var(--sticky-top) * -1) 0 var(--sticky-top) var(--cream); }
.nav::-webkit-scrollbar { display: none; }
.nav a { flex: none; display: flex; align-items: center; min-height: 46px; padding: 0 7px;
  font: 500 12.5px/1 var(--sans); color: var(--cream); text-decoration: none; }
.nav a:hover, .nav a:focus-visible { color: var(--gold); }
.nav a:focus-visible { outline: 1px solid var(--gold); outline-offset: -8px; }

/* Sekcje */
.sec { padding: 68px var(--pad) 76px; }
.sec--box { margin: 0 var(--edge); padding-left: 24px; padding-right: 24px; background: var(--sand);
  outline: 1px solid rgba(200, 164, 124, .5); outline-offset: -8px; }
.sec__in { display: flex; flex-direction: column; gap: 40px; }
.sec__head { display: flex; flex-direction: column; gap: 8px; }
.ttl { display: flex; align-items: center; justify-content: center; gap: 16px; text-align: center;
  font: 400 34px/1.1 var(--serif); color: var(--ink); }
.ttl > svg { width: 12px; height: 12px; fill: var(--gold); flex: none; }
.ttl__logo { height: 28px; width: auto; margin-left: -4px; }
.sub { text-align: center; font: 400 16px/1.55 var(--sans); color: var(--ink-body); }

.grp { margin-top: 16px; display: flex; align-items: center; gap: 12px; font: 400 26px/1.15 var(--serif); color: var(--gold-text); }
.grp::after { content: ""; flex: 1; height: 1px; background: var(--gold); opacity: .5; }

.list { display: flex; flex-direction: column; gap: 40px; }
.it { display: flex; flex-direction: column; gap: 6px; }
.nm { font: 400 23px/1.22 var(--serif); color: var(--ink); text-wrap: balance; }
.ds { font: 400 16px/1.55 var(--sans); color: var(--ink-body); }
.lb { font: 500 14px/1.3 var(--sans); color: var(--ink-muted); }
.veg { display: inline-block; width: 18px; height: 18px; margin-left: 8px; vertical-align: -2px;
  fill: none; stroke: var(--veg); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Uroczysta kolacja */
.courses { display: flex; flex-direction: column; gap: 40px; }
.course { display: flex; flex-direction: column; gap: 6px; }
.course__txt { display: flex; flex-direction: column; gap: 6px; }
.course__media { margin-bottom: 10px; overflow: hidden; }
.course__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.course .nm { font-size: 27px; }
.course__rule { display: none; }

/* Później wieczorem */
.time { font: 400 40px/1 var(--serif); color: var(--gold-text); }
.slot { gap: 10px; }
/* Oś czasu: złote romby przy godzinach połączone cienką linią */
.slots { gap: 64px; }
.slot { position: relative; padding-left: 30px; }
.slot::before { content: ""; position: absolute; left: 0; top: 15px; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.slot:first-child::after { content: ""; position: absolute; left: 4px; top: 34px; bottom: -60px; width: 1px; background: var(--gold); }
.cd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 8px;
  font: 500 12px/1 var(--sans); color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.cd b { font: 400 26px/1 var(--serif); color: var(--ink); margin-right: 4px; }
.cd i { font-style: normal; }
.live { margin-top: 6px; font: 500 14px/1.3 var(--sans); color: var(--veg); }
.rm { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 14px; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid rgba(77, 10, 10, .35); font: 500 13px/1.2 var(--sans); color: var(--ink); text-decoration: none; }
.btn:hover, .btn:focus-visible { background: var(--plum); color: var(--cream); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: var(--gold-text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.link { font: 500 13px/1 var(--sans); color: var(--ink-body); }
[hidden] { display: none !important; }

/* Napoje */
.beer { margin-top: 24px; padding-top: 48px; border-top: 1px solid var(--rule);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.beer img { width: 150px; margin-bottom: 14px; }
.beer__word { margin-top: 6px; font: 400 56px/1 var(--serif); color: var(--ink); }

/* Stopka */
.foot { padding: 64px var(--pad) 48px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.foot__claim { font: 400 28px/1.2 var(--serif); color: var(--ink); }
.foot__legend { margin-top: 28px; display: flex; align-items: center; font: 400 14px/1.4 var(--sans); color: var(--ink-muted); }
.foot__legend .veg { margin: 0 6px 0 0; }
.credit { margin: 0 var(--edge); padding: 4px 20px 28px; text-align: center;
  font: 600 11px/1.4 var(--sans); color: #75696a; }

/* Animacje wejścia (anim.js). Tylko opacity i transform: liczy je karta graficzna,
   płynnie także na ekranach 120 Hz. Stan początkowy tylko gdy skrypt działa i system nie ogranicza ruchu. */
.anim .hero > *, .anim .nav,
.anim .sec__head, .anim .grp, .anim .it, .anim .course__img, .anim .course__txt,
.anim .beer, .anim .foot > *, .anim .credit {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity .9s cubic-bezier(.22, .61, .36, 1) var(--d, 0ms),
              transform 1.1s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms);
}
.anim .hero > * { transform: translate3d(0, 16px, 0); transition-duration: 1.1s, 1.2s; }
.anim .nav { transform: translate3d(0, 10px, 0); }
.anim .course__img { transform: translate3d(0, 22px, 0) scale(1.035); transition-duration: .9s, 1.6s; }
.anim .divider > span { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.65, 0, .35, 1) .55s; }
.anim .is-in { opacity: 1; transform: none; }
.anim .divider.is-in > span { transform: none; }
.nav a, .btn, .link { transition: color .35s ease, background-color .35s ease; }
@media (prefers-reduced-motion: reduce) { .nav a, .btn, .link { transition: none; } }

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  :root { --edge: 24px; --pad: 48px; --sticky-top: 24px; }
  html { scroll-padding-top: calc(96px + env(safe-area-inset-top, 0px)); }
  .page { max-width: 1440px; }

  .hero { padding: calc(40px + env(safe-area-inset-top, 0px)) var(--pad) 56px; }
  .hero__logo { width: 132px; margin-bottom: 44px; }
  .hero__event { font-size: 18px; }
  .hero__title { margin-top: 16px; font-size: 96px; }
  .divider { gap: 14px; margin: 26px 0 20px; }
  .divider span { width: 64px; }
  .divider svg { width: 14px; height: 14px; }
  .hero__meta { font-size: 15px; }

  .nav { flex-wrap: wrap; justify-content: center; overflow: visible; padding: 0; outline-offset: -6px; }
  .nav a { min-height: 56px; padding: 0 20px; font-size: 14px; }

  .sec { padding: 96px var(--pad) 104px; }
  .sec--box { padding-left: var(--pad); padding-right: var(--pad); outline-offset: -10px; }
  .sec__in { max-width: 1040px; margin: 0 auto; gap: 48px; }
  .sec__head { gap: 10px; }
  .ttl { font-size: 42px; gap: 20px; }
  .ttl > svg { width: 14px; height: 14px; }
  .ttl__logo { height: 34px; margin-left: -6px; }
  .grp { margin: 8px 0 -8px; font-size: 28px; gap: 16px; }
  .nm { font-size: 24px; line-height: 1.25; text-wrap: wrap; }
  .veg { width: 19px; height: 19px; margin-left: 9px; }

  .list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 96px; }
  .list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 64px; }

  /* Kolacja: układ redakcyjny */
  .ttl--hero { font-size: 72px; line-height: 1.02; gap: 28px; }
  .ttl--hero > svg { width: 18px; height: 18px; }
  .sub--hero { font-size: 18px; }
  .courses { gap: 88px; padding-top: 8px; }
  .course { display: grid; gap: 0 88px; align-items: center; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .course__media { margin: 0; }
  .course__img { aspect-ratio: 1 / 1; }
  .course__txt { display: flex; flex-direction: column; gap: 12px; max-width: 400px; }
  .course .nm { font-size: 46px; line-height: 1.08; }
  .course .ds { font-size: 17px; }
  .course__rule { display: block; width: 72px; height: 1px; background: var(--gold); margin-top: 14px; }
  .course--rev { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: end; }
  .course--rev .course__media { order: 2; }
  .course--rev .course__img { aspect-ratio: 3 / 2; }
  .course--rev .course__txt { max-width: none; padding-bottom: 12px; }

  .slots { max-width: 880px; margin: 0 auto; width: 100%; }
  .time { font-size: 48px; }
  .slot { gap: 12px; padding-left: 0; padding-top: 40px; }
  .slots { gap: 40px 96px; }
  .slot::before { top: 0; width: 10px; height: 10px; }
  .slot:first-child::after { left: 24px; right: -86px; top: 5px; bottom: auto; width: auto; height: 1px; }

  .drinks { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 96px; align-items: center; }
  .drinks .list { gap: 36px 64px; }
  .beer { margin: 0; padding: 0 0 0 64px; border-top: 0; border-left: 1px solid var(--rule); }
  .beer__word { font-size: 60px; }

  .foot { padding: 80px var(--pad) 64px; }
  .foot__claim { font-size: 34px; }
  .credit { padding: 8px 24px 36px; font-size: 12px; }
}
