/* Il Primo — redesign-voorstel "Sportief"
   Zelf gehoste lettertypen. Geen externe scripts. */

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/source-sans-3-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
}

:root {
  --bg: #07090f;
  --bg-2: #10151f;
  --bg-3: #182232;
  --ink: #f6f3ec;
  --muted: #d5cfc3;
  --line: #314056;
  --orange: #ff5c1c;
  --orange-deep: #e24a10;
  --on-orange: #140800;
  --sand: #f0d7a4;
  --focus: #ffe566;
  --warn: #ffb089;
  --header: 4.5rem;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", "Impact", sans-serif;
  --measure: 68ch;
  --space: 1.25rem;
}

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

html {
  scroll-padding-top: calc(var(--header) + 0.75rem);
  background: var(--bg);
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
  background:
    linear-gradient(115deg, transparent 0 46%, rgba(255, 92, 28, 0.05) 46% 47%, transparent 47%) no-repeat,
    var(--bg);
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}

h1 { font-size: clamp(3.4rem, 14vw, 7.4rem); }
h2 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); text-transform: none; letter-spacing: 0; font-family: var(--font); font-weight: 700; line-height: 1.25; }
h4 { font-size: 1.25rem; text-transform: none; font-family: var(--font); line-height: 1.3; }

p, li, dd { font-size: 1.125rem; }
p { margin: 0 0 1rem; }

a { color: var(--orange); text-underline-offset: 0.18em; }
a:hover { color: #ffd0ae; }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 1px #07090f;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.5rem;
  transform: translateY(-150%);
  background: var(--focus);
  color: var(--on-orange);
  font-weight: 700;
  padding: 0.7rem 1rem;
  z-index: 100;
  text-decoration: none;
}
.skip:focus { transform: none; }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}
.measure { max-width: var(--measure); }

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.75rem;
  background: rgba(7, 9, 15, 0.94);
  border-bottom: 3px solid var(--orange);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  min-height: 48px;
  padding: 0.15rem 0.2rem;
}
.brand:hover { color: var(--ink); }
.brand img {
  width: 52px;
  height: auto;
  background: #f6f3ec;
  padding: 0.2rem;
}
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.85;
}
.brand-name small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--sand);
  font-weight: 600;
}

.menu-toggle, .cart-link, .btn {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  font-size: 1.2rem;
  line-height: 1;
}
.menu-toggle {
  margin-left: auto;
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.menu-toggle[aria-expanded="true"] {
  background: var(--orange);
  color: var(--on-orange);
  border-color: var(--orange);
}
.cart-link {
  background: var(--bg-3);
  color: var(--ink);
  text-decoration: none;
}
.cart-link:hover { color: var(--ink); background: #243044; }
.cart-count {
  background: var(--orange);
  color: var(--on-orange);
  min-width: 1.6rem;
  height: 1.6rem;
  display: inline-grid;
  place-items: center;
  font-size: 1rem;
  padding: 0 0.3rem;
}

.menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #0c1018;
  border-bottom: 4px solid var(--orange);
  padding: 0.4rem 0.6rem 0.8rem;
  max-height: calc(100vh - var(--header));
  overflow: auto;
}
.menu[hidden] { display: none; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.35rem 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.menu a:hover { background: var(--bg-3); color: var(--sand); }
.menu a[aria-current="page"] {
  color: var(--on-orange);
  background: var(--orange);
}

.btn-orange { background: var(--orange); color: var(--on-orange); }
.btn-orange:hover { background: #ff7a3d; color: var(--on-orange); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-dark { background: var(--on-orange); color: var(--sand); }
.btn-dark:hover { background: #2a1408; color: #fff; }

.hero {
  display: grid;
  gap: 1.25rem;
  padding: 1.4rem 0 2rem;
}
.kicker {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  font-size: 1.125rem;
  margin: 0 0 0.4rem;
}
.lead { font-size: 1.3rem; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1rem; }
.price-hero {
  font-family: var(--display);
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  line-height: 0.9;
  margin: 0.2rem 0 0;
  color: var(--orange);
}
.price-hero span {
  display: block;
  font-family: var(--font);
  font-size: 1.125rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  font-weight: 400;
  margin-top: 0.35rem;
}

.hero-photo {
  margin: 0;
  position: relative;
}
.hero-photo img {
  width: 100%;
  height: auto;
  clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
}
.hero-photo figcaption {
  font-size: 1rem;
  color: var(--muted);
  padding: 0.4rem 0 0;
}

.slash {
  position: relative;
  padding: 3.2rem 0;
}
.slash::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  top: 1.1rem;
  bottom: 1.1rem;
  background: var(--bg-2);
  clip-path: polygon(0 0, 100% 1.4rem, 100% 100%, 0 calc(100% - 1.4rem));
}
.slash-orange::before { background: var(--orange); }
.slash-orange { color: var(--on-orange); }
.slash-orange a { color: var(--on-orange); }
.slash-orange .kicker,
.slash-orange .note,
.slash-orange .meta { color: #140800; }

.section-index {
  font-family: var(--display);
  color: var(--orange);
  letter-spacing: 0.12em;
  font-size: 1.15rem;
  margin: 0 0 0.3rem;
}
.slash-orange .section-index { color: var(--on-orange); }

.sports {
  display: grid;
  gap: 0.9rem;
}
.sport {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 0.8rem;
  align-items: center;
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
  min-height: 48px;
  border-left: 6px solid var(--orange);
  padding: 0.45rem 0.7rem 0.45rem 0.4rem;
}
.sport:hover { background: #1a2230; color: var(--ink); }
.sport img { width: 92px; height: 72px; object-fit: cover; }
.sport strong {
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: block;
  line-height: 0.9;
  color: var(--ink);
}
.sport span { color: var(--muted); font-size: 1.125rem; }

.hours, .facts, .stack { display: grid; gap: 0.7rem; }
.fact {
  background: var(--bg);
  border-top: 4px solid var(--orange);
  padding: 0.9rem 1rem 1rem;
}
.slash-orange .fact {
  background: #ffd0b8;
  color: var(--on-orange);
  border-top-color: var(--on-orange);
}
.fact b {
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: block;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.warn {
  background: #2a120c;
  border-left: 8px solid var(--orange);
  padding: 1rem 1.1rem;
}
.warn strong {
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sand);
  display: block;
  margin-bottom: 0.3rem;
}

.agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.agenda li {
  display: grid;
  gap: 0.1rem 1rem;
  background: var(--bg);
  padding: 0.75rem 0.9rem;
  border-left: 6px solid var(--sand);
}
.when {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.25rem;
  color: var(--sand);
  margin: 0;
}
.agenda h3 { margin: 0; font-size: 1.25rem; }
.meta { color: var(--muted); margin: 0; }

.shop-tease, .cards, .shop-grid {
  display: grid;
  gap: 0.8rem;
}
.ticket {
  background: var(--bg);
  color: var(--ink);
  padding: 1rem;
  display: grid;
  gap: 0.45rem;
  align-content: start;
  position: relative;
  text-decoration: none;
  border-right: 6px solid var(--orange);
}
a.ticket:hover { background: #1a2230; color: var(--ink); }
.ticket .cat {
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  font-size: 1.125rem;
  margin: 0;
}
.ticket h3 { margin: 0; }
.badge {
  justify-self: start;
  font-family: var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.125rem;
  padding: 0.15rem 0.45rem;
  background: var(--focus);
  color: var(--on-orange);
}
.badge-real { background: var(--sand); }
.amount {
  font-family: var(--display);
  font-size: 2.4rem;
  line-height: 0.9;
  margin: 0;
}
.merch {
  width: 100%;
  height: 120px;
  background:
    linear-gradient(135deg, transparent 0 40%, rgba(255, 92, 28, 0.9) 40% 48%, transparent 48%),
    #182232;
  display: grid;
  place-items: center;
}
.merch svg { width: 88px; height: 88px; }

.demo-banner {
  background: var(--focus);
  color: var(--on-orange);
  font-weight: 700;
  padding: 0.8rem 1rem;
  margin: 0;
}
.demo-banner p { margin: 0; font-size: 1.125rem; }

.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.125rem;
}
th, td {
  text-align: left;
  padding: 0.65rem 0.7rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { font-family: var(--display); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; font-size: 1.15rem; }
caption {
  text-align: left;
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0 0.7rem;
}

label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.field { margin: 0 0 1rem; }
input, select, textarea {
  width: 100%;
  max-width: 36rem;
  font: inherit;
  color: var(--ink);
  background: #0c1018;
  border: 2px solid var(--line);
  padding: 0.7rem 0.75rem;
  min-height: 48px;
}
textarea { min-height: 9rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  border-color: var(--focus);
}
.hint, .error { margin: 0.3rem 0 0; }
.error { color: #ffb4a2; font-weight: 700; }
[aria-invalid="true"] { border-color: #ffb4a2; }
.choice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 0.75rem;
  align-items: center;
  background: var(--bg);
  border: 2px solid var(--line);
  padding: 0.8rem;
  max-width: 36rem;
  margin-bottom: 0.6rem;
}
.choice input { width: 1.4rem; height: 1.4rem; min-height: 0; accent-color: var(--orange); }
.choice small { grid-column: 2; color: var(--muted); }

.cart-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.qty { display: flex; align-items: center; gap: 0.4rem; }
.qty button {
  min-width: 48px;
  min-height: 48px;
  height: 48px;
  font: inherit;
  font-weight: 700;
  background: var(--bg-3);
  color: var(--ink);
  border: 2px solid var(--line);
  cursor: pointer;
  padding: 0 0.8rem;
}
.qty button[data-dec],
.qty button[data-inc] { width: 48px; padding: 0; }
.total {
  font-family: var(--display);
  font-size: 2.6rem;
  margin: 0.6rem 0;
}

.note {
  color: var(--muted);
  font-size: 1.125rem;
}
.prose a { text-decoration: underline; text-decoration-thickness: 0.08em; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin: 0.25rem 0; }

.photo-grid { display: grid; gap: 0.8rem; }
.photo-grid figure { margin: 0; }
.photo-grid figcaption, figcaption { color: var(--muted); font-size: 1.125rem; margin-top: 0.35rem; }

.site-footer {
  margin-top: 2rem;
  padding: 2rem 0 5.5rem;
  border-top: 6px solid var(--orange);
  background: #05070c;
}
.site-footer a { color: var(--sand); }
.foot-grid { display: grid; gap: 1.2rem; }
.site-footer h2 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

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

.confirm {
  background: var(--bg-2);
  padding: 1rem;
  border-left: 6px solid var(--sand);
}

@media (min-width: 720px) {
  .sports, .hours, .facts, .shop-tease, .cards, .shop-grid { grid-template-columns: 1fr 1fr; }
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1.05fr 0.95fr; align-items: end; padding-top: 2rem; }
  .hero-photo img { clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
  .agenda li { grid-template-columns: 14rem 1fr; align-items: center; }
  .photo-grid { grid-template-columns: 1.2fr 0.8fr; }
  .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .site-footer { padding-bottom: 2.5rem; }
}

@media (min-width: 1100px) {
  .menu-toggle { display: none; }
  .menu {
    position: static;
    display: block;
    background: transparent;
    border: 0;
    padding: 0;
    margin-left: auto;
    max-height: none;
    overflow: visible;
  }
  .brand { margin-right: 0.5rem; }
  .menu[hidden] { display: block; }
  .menu ul { display: flex; flex-wrap: wrap; justify-content: flex-end; }
  .menu a {
    min-height: 48px;
    font-size: 1.15rem;
    padding: 0.2rem 0.45rem;
  }
  .menu a:hover { background: transparent; color: var(--orange); }
  .menu a[aria-current="page"] {
    background: transparent;
    color: var(--orange);
    box-shadow: inset 0 -3px 0 var(--orange);
  }
  .sports { grid-template-columns: 1fr 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr 1fr; }
  .shop-grid { grid-template-columns: 1fr 1fr 1fr; }
  .hours { grid-template-columns: 1fr 1fr; }
}

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