/* Base styles: fonts, reset, text, buttons, focus. */
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  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 {
  /* Ukrainian letters, needed for stage 2 */
  font-family: "Montserrat";
  src: url("/fonts/montserrat-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--graphite);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0 0 var(--space-1); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 var(--space-2); }
a { color: var(--graphite); text-underline-offset: 0.2em; }
a:hover { color: var(--red-text); }

/* Small uppercase label above headings */
.eyebrow {
  display: block;
  margin-bottom: var(--space-1);
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-text);
}

/* Always-visible keyboard focus */
:focus-visible { outline: 3px solid var(--graphite); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  padding: var(--space-1) var(--space-2);
  background: var(--graphite); color: var(--cream); font-weight: 700;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Buttons. Primary = Order on Just Eat. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.7rem 1.5rem;
  font: inherit; font-weight: 800; text-decoration: none; cursor: pointer;
  border: 2px solid var(--graphite); border-radius: var(--radius);
  background: transparent; color: var(--graphite);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--graphite); color: var(--cream); }
.btn--primary { background: var(--red-text); border-color: var(--red-text); color: #fff; }
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }

.btn--light { border-color: #fff; color: #fff; }
.btn--light:hover { background: #fff; color: var(--graphite); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
