/* Shared brand foundation (BOURZMA brand book). Each option adds its own look on top. */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,300..900&display=swap");

:root {
  --green: #01f800;
  --orange: #f87b00;
  --black: #000;
  --white: #fff;
  --paper: #f7f5ef;
  /* Stand-in for Sequel 100 Black until the licensed files arrive: Archivo at its widest width. */
  --font: "Sequel 100 Black", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-stretch: 125%;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

/* Brand book type rules */
.h { /* headlines: all caps, 1px stroke, line-height tighter than size */
  text-transform: uppercase;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.01em;
  -webkit-text-stroke: 1px currentColor;
}
.t { /* main text: all small letters, generous line-height */
  text-transform: lowercase;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
}
.s { /* supporting text: orange, smaller */
  text-transform: lowercase;
  color: var(--orange);
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.5;
}

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* Wordmark as a mask so it can take any brand colour */
.wordmark {
  display: block;
  aspect-ratio: 1044 / 71;
  background: currentColor;
  -webkit-mask: url("img/bourzma-wordmark.png") center / contain no-repeat;
  mask: url("img/bourzma-wordmark.png") center / contain no-repeat;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Default look of the shared offer detail markup */
.stations { display: grid; gap: 10px; margin-top: 18px; }
.stations li { display: grid; gap: 2px; }
.stations strong { text-transform: uppercase; font-weight: 800; font-size: 14px; letter-spacing: 0.02em; }
.stations span { text-transform: lowercase; font-size: 14px; opacity: 0.8; }
.custom-title { margin-top: 20px; text-transform: uppercase; font-weight: 800; font-size: 14px; }
.custom, .facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.custom li, .facts li { text-transform: lowercase; font-size: 13px; padding: 5px 10px; border: 1px solid currentColor; border-radius: 99px; }

.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 28px 24px; align-items: center; }
.logos li { display: grid; place-items: center; height: 56px; }
.logos img { max-height: 44px; max-width: 120px; width: auto; object-fit: contain; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

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

/* Floating switcher between the 5 options (prototype only) */
.opt-nav {
  position: fixed; z-index: 100; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; gap: 4px; padding: 5px; border-radius: 99px;
  background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px);
  font: 700 12px/1 Archivo, Arial, sans-serif; font-stretch: 100%;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}
.opt-nav a { color: #fff; text-decoration: none; padding: 8px 11px; border-radius: 99px; white-space: nowrap; }
.opt-nav a[aria-current="page"] { background: var(--green); color: #000; }
.opt-nav a:first-child { opacity: 0.7; }
