/* Ski Eats website */

/* Self-hosted font (no Google Fonts requests). Put BebasNeue-Regular.woff2 in /fonts. */
@font-face {
  font-family: "Bebas Neue";
  src: url("fonts/BebasNeue-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #152238;
  --navy-2: #1f3150;
  --snow: #f4f8fc;
  --white: #ffffff;
  --ice: #b9e0fc;
  --sky: #4f9fe2;
  --sky-ink: #2a6fb4;     /* sky blue dark enough for text on white */
  --goggle: #f0641e;      /* orange from the goggle lens: used only for "the rush" */
  --slate: #44536b;
  --line: #d6e3f0;

  --display: "Bebas Neue", "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --gutter: 20px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--snow);
  color: var(--navy);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-ink); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--goggle);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--navy); color: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 10;
}
.skip:focus { left: 8px; }

h1, h2, h3 { margin: 0; font-weight: 400; }
h2 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
}
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
p { margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  background: var(--navy); color: var(--white);
  border: 2px solid var(--navy); border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--navy-2); color: var(--white); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .9375rem; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 5;
  background: rgba(244, 248, 252, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand img { height: 40px; width: auto; }
.topnav { display: flex; align-items: center; gap: 14px; }
.topnav-link { color: var(--navy); font-weight: 600; text-decoration: none; font-size: .9375rem; }
.topnav-link:hover { text-decoration: underline; }

.lang { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 2px; background: var(--white); }
.lang button {
  font: inherit; font-size: .8125rem; font-weight: 700; letter-spacing: .04em;
  border: 0; background: transparent; color: var(--slate);
  min-width: 36px; min-height: 32px; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--navy); color: var(--white); }

@media (max-width: 720px) {
  .topnav-link { display: none; }
  .brand img { height: 34px; }
}
@media (max-width: 420px) {
  .topnav .btn-small { display: none; }  /* the hero button is right below */
}

/* Hero */
.hero {
  /* Same snowy-slope photo as the app's background */
  background:
    linear-gradient(180deg, rgba(244, 248, 252, .78) 0%, rgba(244, 248, 252, .86) 70%, var(--snow) 100%),
    url("assets/bg-slope.webp") center 30% / cover no-repeat,
    var(--snow);
  padding: 28px 0 56px;
  overflow: hidden;
}
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-art { display: grid; justify-items: center; gap: 4px; }
.hero-logo { width: min(60vw, 280px); filter: drop-shadow(0 18px 30px rgba(21, 34, 56, .18)); }
.hero-wordmark { width: min(56vw, 250px); }
.hero-text { display: grid; gap: 20px; justify-items: start; }

.slogan {
  font-family: var(--display);
  font-size: clamp(3.6rem, 15vw, 7.5rem);
  line-height: .86;
  letter-spacing: .005em;
  color: var(--navy);
}
.lead { font-size: 1.1875rem; color: var(--slate); max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.where { font-size: .9375rem; color: var(--slate); padding-left: 14px; border-left: 3px solid var(--sky); }

@media (min-width: 900px) {
  .hero { padding: 56px 0 96px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; }
  .hero-text { order: -1; }
  .hero-logo { width: 520px; }
  .hero-wordmark { width: 420px; }
  .lead { font-size: 1.3125rem; }
}

/* How it works */
.how {
  /* Pila chairlift above the clouds, Mont Blanc behind, under a frosty veil */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .86) 50%, rgba(255, 255, 255, .92) 100%),
    url("assets/bg-lift-clouds.webp") center 42% / cover no-repeat,
    var(--white);
  padding: 64px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 32px; counter-reset: step; }
.step { display: grid; gap: 8px; align-content: start; counter-increment: step; }
.step h3 { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1; letter-spacing: .01em; display: flex; align-items: baseline; gap: 10px; }
.step h3::before { content: counter(step); color: var(--sky); font-size: 2rem; }
.step p { color: var(--slate); max-width: 32ch; }
.step-icon { width: 56px; height: 56px; fill: none; stroke: var(--navy); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px; }
.step-icon .hot { stroke: var(--goggle); }
.step-icon circle.hot { fill: var(--goggle); stroke: none; }

@media (min-width: 760px) {
  .how { padding: 88px 0; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}
@media (min-width: 1040px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .step + .step { border-left: 1px solid var(--line); padding-left: 32px; }
}

/* The lunch rush (dark section, the chart is the centerpiece) */
.rush {
  /* Snow-laden forest under a navy veil */
  background:
    linear-gradient(180deg, rgba(21, 34, 56, .72) 0%, rgba(21, 34, 56, .88) 100%),
    url("assets/bg-trees-900.webp") center 35% / cover no-repeat,
    var(--navy);
  color: var(--white);
  padding: 72px 0;
}
.rush-grid { display: grid; gap: 40px; align-items: start; }
.rush-text { display: grid; gap: 20px; }
.rush-text > p { color: #c9d6e8; max-width: 44ch; }
.pull { margin: 4px 0 0; padding: 0; }
.pull p {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1;
  color: var(--ice);
  max-width: 18ch;
}
.stat { font-size: .9375rem; color: #c9d6e8; display: grid; gap: 2px; }
.stat a { color: var(--ice); font-size: .875rem; }
.stat a:hover { color: var(--white); }

.chart {
  margin: 0;
  background: var(--navy-2);
  border: 1px solid #2b4166;
  border-radius: var(--radius);
  padding: 18px 16px 16px;
}
.chart-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--navy); border-radius: 999px; padding: 4px; }
.chart-toggle button {
  font: inherit; font-size: .875rem; font-weight: 700;
  min-height: 40px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: #c9d6e8; padding: 0 10px;
}
.chart-toggle button[aria-pressed="true"] { background: var(--white); color: var(--navy); }

.chart-plot { position: relative; height: 220px; margin-top: 22px; border-bottom: 1.5px solid #4a6185; }
.bars { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(16, 1fr); gap: 4px; align-items: end; }
.bar { display: flex; flex-direction: column-reverse; height: 100%; }
.bar-ok, .bar-wait { width: 100%; transition: height .6s cubic-bezier(.3, .7, .2, 1); }
.bar-ok { background: var(--sky); border-radius: 0; }
.bar-wait { background: var(--goggle); border-radius: 3px 3px 0 0; }
.bar-ok.top { border-radius: 3px 3px 0 0; }
.cap {
  position: absolute; left: 0; right: 0; z-index: 1;
  border-top: 2px dashed var(--ice);
  bottom: calc(var(--cap) * 1%);
}
.cap span {
  position: absolute; right: 0; bottom: 4px;
  font-size: .75rem; font-weight: 700; color: var(--ice);
  background: var(--navy-2); padding: 0 4px;
}
.chart-axis { display: flex; justify-content: space-between; font-size: .75rem; color: #9fb2cc; margin-top: 6px; font-variant-numeric: tabular-nums; }
.chart figcaption { margin-top: 16px; display: grid; gap: 10px; }
.chart-caption { font-weight: 600; min-height: 3.2em; }
.chart-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: .8125rem; color: #c9d6e8; }
.key { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.key-ok { background: var(--sky); }
.key-wait { background: var(--goggle); margin-left: 10px; }
.chart-note { font-size: .75rem; color: #8ea3bf; }

@media (prefers-reduced-motion: reduce) {
  .bar-ok, .bar-wait { transition: none; }
}

@media (min-width: 900px) {
  .rush { padding: 104px 0; }
  .rush-grid { grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
  .chart { padding: 24px; }
  .chart-plot { height: 280px; }
  .bars { gap: 6px; }
}

/* Restaurants */
.restaurants { padding: 72px 0; }
.rest-grid { display: grid; gap: 40px; }
.rest-intro { display: grid; gap: 22px; align-content: start; justify-items: start; }
.note-from { margin: 0; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); max-width: 40ch; }
.note-from blockquote { margin: 0; }
.note-from p { font-size: 1.0625rem; }
.note-from figcaption { margin-top: 8px; font-size: .875rem; color: var(--slate); font-weight: 600; }
.mail { font-weight: 600; }

.perks { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.perks li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.perks p { color: var(--slate); max-width: 46ch; }

@media (min-width: 900px) {
  .restaurants { padding: 104px 0; }
  .rest-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .perks li { padding: 24px 0; }
}

/* Phone receipt + after-meal (between the steps and the services) */
.extras { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 14px; }
.extras li {
  display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; align-content: start;
  background: rgba(255, 255, 255, .94); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
}
.extras h4 { margin: 0; font-size: 1.125rem; font-weight: 700; line-height: 1.3; align-self: center; }
.extras p { color: var(--slate); font-size: 1rem; }
.extras .svc-icon { background: var(--sky-ink); }
.extras li > .svc-icon { grid-row: 1 / span 2; grid-column: 1; margin: 0; }
.extras li > h4, .extras li > p { grid-column: 2; }
@media (min-width: 900px) {
  .extras { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* The three services (same icons as the app) */
.services { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.services-title { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.5vw, 2.75rem); line-height: 1; letter-spacing: .01em; }
.services-lead { margin-top: 10px; color: var(--slate); font-size: 1.125rem; max-width: 52ch; }
.services-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.services-list li {
  display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; align-content: start;
  background: rgba(255, 255, 255, .94); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
}
.svc-icon {
  grid-row: span 2; width: 48px; height: 48px; padding: 11px; border-radius: 50%;
  background: var(--navy); fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.services-list h4 { margin: 0; font-size: 1.125rem; font-weight: 700; line-height: 1.3; align-self: center; }
.services-list p { color: var(--slate); font-size: 1rem; }
.perk-link { font-weight: 600; font-size: .9375rem; justify-self: start; }
@media (min-width: 900px) {
  .services-list { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .services-list li { grid-template-columns: 1fr; padding: 22px; }
  .svc-icon { grid-row: auto; margin-bottom: 8px; }
}

/* What we believe */
.beliefs {
  position: relative; overflow: hidden;
  background: var(--white);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 64px 0;
  padding-bottom: calc(24px + 33vw) !important;
}
/* Chalet at dusk with Mont Blanc behind: the whole mountain range, fading in from the white */
.beliefs::after {
  content: ""; position: absolute; right: 0; bottom: 0; left: 0;
  aspect-ratio: 2000 / 660;
  background: url("assets/bg-chalet-dusk-900.webp") center bottom / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%);
}
.beliefs > .wrap { position: relative; z-index: 1; }
.beliefs-lead { margin-top: 14px; font-size: 1.1875rem; color: var(--slate); max-width: 48ch; }
.beliefs-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 28px; }
.beliefs-list li { display: grid; gap: 6px; align-content: start; }
.beliefs-list h3 { font-family: var(--display); font-weight: 400; font-size: 1.75rem; line-height: 1; letter-spacing: .01em; color: var(--sky-ink); }
.beliefs-list p { color: var(--slate); max-width: 40ch; }
@media (min-width: 760px) {
  .beliefs { padding: 88px 0; }
}
@media (min-width: 900px) {
  .beliefs::after { background-image: url("assets/bg-chalet-dusk.webp"); }
  .beliefs-list { grid-template-columns: repeat(2, 1fr); gap: 36px 56px; }
}

/* How it works: intro line */
.how-lead { margin-top: 14px; font-size: 1.1875rem; color: var(--slate); max-width: 52ch; }

/* Closing line over the ridge */
.closing { padding: 40px 0 0; }
.ridge-line {
  font-family: var(--display);
  font-size: clamp(2rem, 5.2vw, 3.5rem);
  line-height: 1;
  color: var(--navy);
  max-width: 34ch;
  text-wrap: balance;
}

/* Photo moment between the lunch rush and the restaurant section */
.moment {
  padding: 64px 0 56px;
  /* Sea of clouds above the Aosta Valley, seen from Pila, under a snow veil */
  background:
    linear-gradient(180deg, var(--snow) 0%, rgba(244, 248, 252, .78) 22%, rgba(244, 248, 252, .7) 60%, var(--snow) 100%),
    url("assets/bg-panorama-900.webp") 30% 40% / cover no-repeat,
    var(--snow);
}
@media (min-width: 900px) {
  .moment { background-image: linear-gradient(90deg, rgba(244, 248, 252, .9) 0%, rgba(244, 248, 252, .72) 45%, rgba(244, 248, 252, .35) 100%), url("assets/bg-panorama.webp"); background-position: 0% 42%; }
  .moment::after { content: none; }
}
.moment-grid { display: grid; gap: 24px; align-items: center; }
.moment-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.moment-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 72%; }
.moment-line { font-family: var(--display); font-size: clamp(2.4rem, 6vw, 4.25rem); line-height: .95; color: var(--navy); max-width: 14ch; text-wrap: balance; }
@media (min-width: 900px) {
  .moment { padding: 104px 0 0; }
  .moment-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .moment-photo { aspect-ratio: 4 / 5; order: 2; }
  .moment-photo img { object-position: 72% 88%; }
}

@media (min-width: 900px) {
  .rush { background-image: linear-gradient(180deg, rgba(21, 34, 56, .72) 0%, rgba(21, 34, 56, .88) 100%), url("assets/bg-trees.webp"); }
}

/* How it works on wider screens: the photo sits on the right, fading into white on the left */
@media (min-width: 900px) {
  .how {
    background:
      linear-gradient(90deg, #fff 0%, #fff 38%, rgba(255, 255, 255, .8) 52%, rgba(255, 255, 255, .55) 75%, rgba(255, 255, 255, .62) 100%),
      url("assets/bg-lift-clouds.webp") right 38% / 62% auto no-repeat,
      var(--white);
  }
}

/* "What your restaurant gains": sunny chairlift (the app's Mountain and Menu background) behind a white veil */
.gains {
  border-radius: var(--radius); padding: 22px 20px 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .93)),
    url("assets/bg-lift.webp") 72% center / cover no-repeat,
    var(--white);
  border: 1px solid var(--line);
}
.gains .perks li:last-child { border-bottom: 0; }

/* Icons inside buttons */
.btn { gap: 8px; }
.btn-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn-icon .dot { fill: currentColor; stroke: none; }

/* Instagram link: logo + handle */
.ig-link { display: inline-flex; align-items: center; gap: 7px; }
.ig-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
.ig-icon .dot { fill: currentColor; stroke: none; }

/* Restaurant section extras */
.rest-slogan { font-family: var(--display); font-size: 1.75rem; line-height: 1; color: var(--sky-ink); letter-spacing: .01em; }
.rest-partner { font-family: var(--display); font-size: 2.25rem; line-height: 1; letter-spacing: .01em; color: var(--navy); margin-top: 8px; margin-bottom: -14px; }
.rest-photo { margin: 0; width: 100%; border-radius: var(--radius); overflow: hidden; }
.rest-photo img { width: 100%; height: auto; }
.rest-cta-lead { font-weight: 600; }
.contact-lines { font-weight: 600; line-height: 1.8; }
.rest-lists { display: grid; gap: 16px; align-content: start; }
.perks-title { font-family: var(--display); font-weight: 400; font-size: 1.75rem; line-height: 1; letter-spacing: .01em; margin-top: 12px; }
.perks-title:first-child { margin-top: 0; }
.perks h4 { margin: 0; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }

/* Cookie yeti over fresh ski tracks: the only tracks on this site */
.cookies {
  background:
    linear-gradient(180deg, rgba(244, 248, 252, .72), rgba(244, 248, 252, .86)),
    url("assets/bg-tracks.webp") center / cover no-repeat,
    var(--snow);
}

/* Cookie yeti (same mascot as the app's Privacy & Terms screen) */
.cookies { padding: 56px 0; }
.cookies-inner { display: grid; gap: 8px; align-items: center; justify-items: start; }
.yeti {
  width: min(64vw, 260px);
  /* the photo's grey backdrop fades into the page */
  -webkit-mask-image: radial-gradient(closest-side, #000 80%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 80%, transparent 100%);
}
.cookies-text { display: grid; gap: 10px; justify-items: start; }
.cookies-text h2 { font-size: clamp(2.2rem, 5vw, 3.25rem); max-width: 16ch; }
.cookies-text p { color: var(--slate); max-width: 44ch; }
.cookies-text a { font-weight: 600; }

@media (min-width: 760px) {
  .cookies { padding: 72px 0; }
  .cookies-inner { grid-template-columns: auto 1fr; gap: 32px; }
  .yeti { width: 300px; }
}

/* Footer */
.footer { background: var(--navy); color: #c9d6e8; padding: 0 0 40px; }

/* Dawn over the Mont Blanc ridge, seen from Pila: fades in from the page and out into the footer */
.ridge { position: relative; height: clamp(210px, 26vw, 380px); overflow: hidden; margin-bottom: 8px; }
.ridge img { width: 100%; height: 100%; object-fit: cover; object-position: 28% 45%; }
.ridge::before, .ridge::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; }
.ridge::before { top: 0; height: 26%; background: linear-gradient(180deg, var(--snow), rgba(244, 248, 252, 0)); }
.ridge::after { bottom: 0; height: 32%; background: linear-gradient(0deg, var(--navy), rgba(21, 34, 56, 0)); }
.footer-grid { display: grid; gap: 32px; align-items: center; padding-top: 40px; }
.footer a { color: var(--ice); }
.footer a:hover { color: var(--white); }
.footer-qr { display: flex; gap: 16px; align-items: center; }
.footer-qr img { width: 132px; border-radius: 10px; background: var(--white); padding: 6px; }
.footer-qr p { max-width: 18ch; color: var(--white); font-weight: 600; }
.footer-info { display: grid; gap: 4px; justify-items: start; }
.footer-wordmark { width: 200px; margin-bottom: 8px; }
.small { font-size: .8125rem; color: #8ea3bf; }

@media (min-width: 760px) {
  .footer-grid { grid-template-columns: auto 1fr; gap: 64px; }
  .footer-info { justify-items: end; text-align: right; }
}

/* Privacy page */
.doc { padding: 48px 0 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-family: var(--display); font-size: clamp(2.8rem, 8vw, 4rem); line-height: .95; margin-bottom: 8px; }
.doc h2 { font-size: 2rem; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--slate); max-width: 68ch; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; }
.doc .updated { font-size: .875rem; }

[hidden] { display: none !important; }
