/* ==========================================================================
   RED BUCK · Après-Ski — alpine: blue-hour sky, snowy peaks, pines, chalet red
   Layout: full-bleed mountain scenery at the top of each view, melting into a
   snow-white page; one dark "night on the slopes" band for the main action.
   ========================================================================== */

:root {
  --snow: #f3f7fb;
  --paper: #ffffff;
  --frost: #e4edf6;
  --ice: #b9d0e6;
  --glacier: #1a3fd6;
  --sun: #ffc61a;
  --sun-2: #f7931e;
  --ink: #0f2438;
  --muted: #5a6e84;
  --red: #e0202b;
  --red-dark: #b0141e;
  --pine: #1d4434;
  --night: #0b1a3d;
  --night-2: #16307a;
  --line: rgba(15, 36, 56, .12);
  --shadow: 0 1px 2px rgba(15, 36, 56, .06), 0 12px 32px -12px rgba(30, 70, 110, .22);
  --radius: 16px;
  --display: "Roboto Slab", Rockwell, "Courier New", serif;
  --script: "Kaushan Script", "Brush Script MT", cursive;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--snow);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; letter-spacing: -.01em; line-height: 1.02; margin: 0; text-wrap: balance; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--glacier); outline-offset: 3px; }

/* ---------- falling snow ---------- */
#snow { position: fixed; inset: 0; z-index: 40; pointer-events: none; }

/* ---------- topbar ---------- */
.topbar {
  position: fixed; top: calc(12px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - 24px));
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 10px 8px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: 34px; height: 34px; fill: none; stroke: var(--red); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.brand__mark circle { fill: var(--ink); stroke: none; }
.brand img { height: 46px; width: auto; }
.brand__text { font-family: var(--display); font-weight: 900; font-size: 1.3rem; line-height: 1; color: var(--glacier); white-space: nowrap; }
@media (max-width: 400px) { .brand__text { font-size: 1.05rem; } }
.brand__text b { font-family: var(--script); font-weight: 400; color: var(--red); margin-left: 6px; font-size: .9em; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative; padding: 9px 14px; border-radius: 10px;
  font-size: .9rem; font-weight: 600; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: var(--frost); }
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--red); }
.nav a.nav__cta { margin-left: 8px; color: #fff; background: var(--red); }
.nav a.nav__cta:hover { background: var(--red-dark); }
.nav a.nav__cta.is-active::after { display: none; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .3s, top .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .burger { display: block; }
  .nav {
    position: fixed; top: calc(76px + env(safe-area-inset-top, 0px)); left: 12px; right: 12px;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
    border-radius: 14px; background: var(--paper); box-shadow: var(--shadow); border: 1px solid var(--line);
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .2s, transform .2s;
  }
  .nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .nav a { padding: 14px 16px; font-size: 1rem; }
  .nav a.is-active::after { right: auto; width: 20px; bottom: 8px; left: 16px; }
  .nav a.nav__cta { margin: 6px 0 0; text-align: center; }
}

/* ---------- view transitions ---------- */
main { position: relative; z-index: 3; min-height: 100vh; outline: none; overflow-x: clip; }
.view { animation: viewIn .6s cubic-bezier(.2, .8, .2, 1) both; }
.view.is-leaving { animation: viewOut .2s ease-in both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes viewOut { to { opacity: 0; transform: translateY(-8px); } }

.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section { padding-block: 88px; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--glacier); }
.eyebrow::before { content: "▲"; font-size: .6rem; color: var(--red); }
.title-xl { font-size: clamp(2.8rem, 8.5vw, 6.4rem); font-weight: 900; }
.title-l { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 900; margin-top: 12px; }
.script { font-family: var(--script); font-weight: 400; color: var(--red); letter-spacing: 0; }
.sun { color: var(--sun); }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--muted); max-width: 600px; margin-top: 18px; }
.red { color: var(--red); }
.ice { color: var(--ice); }
.outline { color: transparent; -webkit-text-stroke: 2px var(--ink); }

/* page headers: mountain scenery band with the title */
.page-head { position: relative; padding: calc(150px + env(safe-area-inset-top, 0px)) 0 140px; color: #fff; overflow: hidden; isolation: isolate; }
.page-head .scenery { position: absolute; inset: 0; z-index: -1; }
.page-head .scenery svg { width: 100%; height: 100%; display: block; }
.page-head .eyebrow { color: var(--ice); }
.page-head .lead { color: rgba(255, 255, 255, .88); }
.page-head .outline { -webkit-text-stroke-color: #fff; }
.page-head h1 { text-shadow: 0 4px 30px rgba(14, 32, 52, .3); }
.page-sub { padding-top: 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 10px; border: 2px solid var(--red); cursor: pointer;
  font-family: var(--body); font-size: .95rem; font-weight: 700;
  color: #fff; background: var(--red);
  transition: transform .15s, background .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(200, 32, 43, .7); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--paper); border-color: var(--ink); box-shadow: none; }
.on-dark .btn--ghost, .hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.on-dark .btn--ghost:hover, .hero .btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- cards ---------- */
.card { position: relative; padding: 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid > * { min-width: 0; }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } .section { padding-block: 64px; } }

/* reveal on scroll — content stays visible if the observer never runs */
.reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js-reveal .reveal:not(.is-in) { opacity: 0; transform: translateY(24px); }

/* night band */
.on-dark { background: linear-gradient(170deg, var(--night-2), var(--night)); color: #fff; border: 0; }
.on-dark .muted, .on-dark .lead { color: rgba(255, 255, 255, .78); }
.on-dark .eyebrow { color: var(--ice); }
.peaks { position: absolute; inset: auto 0 0 0; height: 50%; pointer-events: none; }
.peaks svg { width: 100%; height: 100%; display: block; }

/* ==========================================================================
   HOME / HERO
   ========================================================================== */
.hero { position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: flex-start; overflow: hidden; isolation: isolate; color: #fff; }
.hero__scene { position: absolute; inset: 0; z-index: -1; }
.hero__scene svg { width: 100%; height: 100%; display: block; }
.hero__scene g[data-depth] { will-change: transform; }
.hero__content { padding-top: calc(130px + env(safe-area-inset-top, 0px)); padding-bottom: 42vh; }
.hero__tag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); font-size: .85rem; font-weight: 600; backdrop-filter: blur(6px); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #ff5a5f; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 95, .7); } 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 90, 95, 0); } }
.hero h1 { margin-top: 20px; text-shadow: 0 4px 30px rgba(14, 32, 52, .35); }
.hero h1 .line { display: block; }
.hero h1 .line--sub { font-family: var(--script); font-weight: 400; font-size: .5em; color: var(--sun); margin-top: 6px; }
.hero .lead { color: rgba(255, 255, 255, .92); text-shadow: 0 1px 12px rgba(14, 32, 52, .5); }

.hud { position: absolute; right: max(16px, calc((100vw - 1180px) / 2)); top: calc(130px + env(safe-area-inset-top, 0px)); display: grid; gap: 8px; }
.hud div { padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(8px); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.hud b { display: block; font-family: var(--display); font-size: 1.25rem; letter-spacing: .02em; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
@media (max-width: 880px) { .hud { display: none; } }

/* red piste banner */
.marquee { position: relative; z-index: 4; overflow: hidden; background: var(--glacier); color: #fff; padding-block: 14px; }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 800; font-size: clamp(1.2rem, 2.6vw, 1.7rem); white-space: nowrap; }
.marquee span::after { content: "❄"; margin-left: 40px; font-size: .8em; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.countdown div { text-align: center; padding: 18px 6px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.countdown b { display: block; font-family: var(--display); font-size: clamp(1.8rem, 4.4vw, 3rem); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.next-party { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: clamp(28px, 4vw, 56px); overflow: hidden; }
.next-party > :not(.peaks) { position: relative; min-width: 0; }
@media (max-width: 880px) { .next-party { grid-template-columns: 1fr; } }

.feature .icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; background: var(--frost); }
.feature .icon svg { width: 26px; height: 26px; stroke: var(--glacier); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.35rem; margin-bottom: 8px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats b { display: block; font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.stats div:nth-child(odd) b { color: var(--glacier); }
.stats div:nth-child(even) b { color: var(--red); }
.stats span { color: var(--muted); font-size: .85rem; font-weight: 600; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; } }

.cta-band { text-align: center; padding: clamp(48px, 8vw, 96px) 24px clamp(120px, 14vw, 160px); overflow: hidden; }
.cta-band > :not(.peaks) { position: relative; }
.cta-band .title-l { margin-top: 10px; }
.cta-band .lead { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* ==========================================================================
   EVENTI
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .12); color: #fff; font: 600 .88rem var(--body); cursor: pointer; transition: all .2s; }
.chip:hover { background: rgba(255, 255, 255, .22); }
.chip.is-active { background: #fff; color: var(--ink); border-color: #fff; }

.event { display: grid; grid-template-columns: 96px 1fr auto; gap: 24px; align-items: center; margin-bottom: 14px; padding: 20px 24px; }
.event > * { min-width: 0; }
.event__date { text-align: center; padding: 10px 6px; border-radius: 12px; background: var(--frost); }
.event__date b { display: block; font-family: var(--display); font-size: 2.2rem; font-weight: 900; line-height: 1; }
.event__date span { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--glacier); }
.event h3 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); margin-top: 8px; }
.event .meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px; color: var(--muted); font-size: .9rem; }
.event.is-featured { border: 2px solid var(--red); }
.event.is-featured .event__date { background: var(--red); color: #fff; }
.event.is-featured .event__date span { color: #fff; }
.event .note { font-size: .82rem; font-weight: 600; color: var(--muted); text-align: right; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tag--red { background: rgba(200, 32, 43, .1); color: var(--red); }
.tag--ice { background: var(--frost); color: var(--glacier); }
.tag--pine { background: rgba(29, 68, 52, .1); color: var(--pine); }
.event.is-hidden { display: none; }
@media (max-width: 760px) {
  .event { grid-template-columns: 72px 1fr; gap: 16px; }
  .event .btn, .event .note { grid-column: 1 / -1; text-align: left; }
  .event__date b { font-size: 2rem; }
}

.lineup { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dj { aspect-ratio: 3 / 4; max-width: 100%; padding: 0; overflow: hidden; display: flex; align-items: flex-end; }
.dj__art { position: absolute; inset: 0; }
.dj__art svg { width: 100%; height: 100%; display: block; }
.dj__info { position: relative; padding: 20px; width: 100%; color: #fff; background: linear-gradient(transparent, rgba(14, 32, 52, .85)); }
.dj__info h4 { font-size: 1.3rem; }
.dj__info p { color: rgba(255, 255, 255, .82); font-size: .85rem; margin-top: 4px; }
@media (max-width: 980px) { .lineup { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   DRINKS
   ========================================================================== */
.menu-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); width: max-content; max-width: 100%; overflow-x: auto; margin-top: 28px; }
.menu-tabs button { padding: 10px 18px; border-radius: 9px; border: 0; background: transparent; color: #fff; cursor: pointer; white-space: nowrap; font: 600 .9rem var(--body); transition: all .2s; }
.menu-tabs button.is-active { background: #fff; color: var(--ink); }
.drink { display: flex; gap: 18px; align-items: flex-start; }
.drink__glass { flex: 0 0 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; background: var(--frost); border: 3px solid var(--c, var(--red)); }
.drink__body { flex: 1; min-width: 0; }
.drink__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.drink h3 { font-size: 1.15rem; }
.price { font-family: var(--display); font-size: 1.15rem; font-weight: 800; color: var(--red); white-space: nowrap; font-variant-numeric: tabular-nums; }
.drink p { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.drink .badge { margin-top: 10px; }
.menu-panel { display: none; }
.menu-panel.is-active { display: grid; animation: viewIn .4s both; }
.happy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; }
.happy h3 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-top: 8px; }

/* ==========================================================================
   GALLERIA
   ========================================================================== */
.masonry { columns: 3 280px; column-gap: 18px; }
.shot { break-inside: avoid; margin: 0 0 18px; border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.shot:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -20px rgba(30, 70, 110, .5); }
.shot svg { width: 100%; height: auto; display: block; }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; color: #fff; font-family: var(--display); font-size: 1.1rem; font-weight: 800; background: linear-gradient(transparent, rgba(14, 32, 52, .8)); }

.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(14, 32, 52, .85); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__inner { width: min(960px, 100%); border-radius: var(--radius); overflow: hidden; transform: scale(.96); transition: transform .3s; }
.lightbox.is-open .lightbox__inner { transform: none; }
.lightbox__inner svg { width: 100%; height: auto; display: block; max-height: 80vh; }
.lightbox__close { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.5rem; cursor: pointer; }

/* ==========================================================================
   PRENOTA — prevendite Capodanno 31.12.2026
   ========================================================================== */
.booking { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.booking > * { min-width: 0; }
@media (max-width: 920px) { .booking { grid-template-columns: 1fr; } }
.form { display: grid; gap: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row > * { min-width: 0; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > label, .field legend { font-size: .92rem; font-weight: 700; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 8px; }
.field .hint { font-size: .84rem; color: var(--muted); }
.field input[type="text"] { width: 100%; padding: 14px 16px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--snow); color: var(--ink); font: inherit; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.field input[type="text"]:focus { border-color: var(--glacier); background: var(--paper); box-shadow: 0 0 0 4px rgba(45, 106, 159, .15); }
.field.has-err input[type="text"] { border-color: var(--red); }
.err { color: var(--red); font-size: .84rem; font-weight: 600; min-height: 1.2em; }
.err:empty { min-height: 0; }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .choices { grid-template-columns: 1fr; } }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.choice > span { display: block; height: 100%; padding: 16px 18px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--snow); cursor: pointer; transition: all .2s; }
.choice span b { display: block; font-size: 1rem; }
.choice span small { display: block; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.choice span .price { display: block; margin-top: 8px; }
.choice input:checked + span { border-color: var(--red); background: rgba(200, 32, 43, .05); box-shadow: inset 0 0 0 1px var(--red); }
.choice input:focus-visible + span { outline: 3px solid var(--glacier); outline-offset: 2px; }
.choices--yn .choice > span { text-align: center; padding: 14px; font-weight: 700; }

.stepper { display: flex; align-items: center; width: max-content; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--snow); }
.stepper button { width: 52px; height: 52px; border: 0; background: transparent; color: var(--glacier); font-size: 1.5rem; cursor: pointer; }
.stepper button:hover { background: var(--frost); }
.stepper output { min-width: 64px; text-align: center; font-family: var(--display); font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums; }

.warn { padding: 12px 14px; border-radius: 10px; background: rgba(200, 32, 43, .08); color: var(--red-dark); font-size: .9rem; font-weight: 600; }

.event-pass { padding: 0; overflow: hidden; }
.event-pass__top { position: relative; padding: 28px 28px 90px; overflow: hidden; }
.event-pass__top > :not(.peaks) { position: relative; }
.event-pass__date { font-family: var(--display); font-size: 3.4rem; font-weight: 900; line-height: .9; margin-top: 10px; }
.event-pass__body { padding: 24px 28px 28px; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0; }
.summary dt { color: var(--muted); font-size: .9rem; }
.summary dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 20px; padding-top: 18px; border-top: 2px dashed var(--line); }
.summary .total b { font-family: var(--display); font-size: 2.2rem; font-weight: 900; color: var(--red); font-variant-numeric: tabular-nums; }

.success { text-align: center; padding: 56px 28px; }
.success .check { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--pine); }
.success .check svg { width: 40px; stroke: #fff; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .7s .2s forwards; }
.success .code { display: inline-block; margin-top: 18px; padding: 10px 18px; border-radius: 10px; background: var(--frost); font-family: var(--display); font-size: 1.8rem; font-weight: 900; letter-spacing: .08em; }
.success .lead { margin-inline: auto; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ==========================================================================
   INFO
   ========================================================================== */
.map { position: relative; aspect-ratio: 16 / 10; max-width: 100%; padding: 0; overflow: hidden; }
.map svg { width: 100%; height: 100%; display: block; }
.map .pin { animation: pinPulse 2s infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pinPulse { 0%, 100% { transform: scale(1); opacity: .6; } 50% { transform: scale(2.6); opacity: 0; } }
.label { font-family: var(--body); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--glacier); }
.hours { width: 100%; border-collapse: collapse; margin-top: 12px; }
.hours td { padding: 11px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.hours tr.is-today td { color: var(--red); font-weight: 700; }
.weather { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.weather .temp { font-family: var(--display); font-size: 3.2rem; font-weight: 900; line-height: 1; }
.slopes { display: grid; gap: 12px; margin-top: 20px; }
.slope { display: grid; grid-template-columns: 110px 1fr 52px; gap: 12px; align-items: center; font-size: .88rem; }
.bar { height: 8px; border-radius: 8px; background: var(--frost); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); background: var(--glacier); border-radius: inherit; }
.contact { display: grid; gap: 12px; margin-top: 16px; }

.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.5rem; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 10px; max-width: 680px; }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 3; margin-top: 80px; color: #fff; }
.footer__ridge svg { display: block; width: 100%; height: 110px; }
.footer__inner { background: var(--night); margin-top: -1px; padding: 28px max(16px, calc((100vw - 1180px) / 2)) calc(36px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer .muted { color: rgba(255, 255, 255, .65); }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; font-weight: 600; }
.footer__links a:hover { color: var(--ice); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* logo showcase on the snow */
.logo-intro { text-align: center; }
.logo-intro img { width: min(620px, 100%); height: auto; margin: 0 auto; }
.logo-intro .fallback { font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 8vw, 5rem); color: var(--glacier); line-height: 1; }
.logo-intro .fallback .script { display: block; font-size: .55em; margin-top: 4px; }
.logo-intro .lead { margin-inline: auto; }
