/* =========================================================
   FK Arena SU — styles
   Brand colours sampled from the official crest
   (assets/fk-arena-su-grb.png): blue #223F9B, claret #871340,
   red #EE1C25, white, black. Everything else is a tint or
   shade of the crest blue.
   ========================================================= */

:root {
  /* Brand (exact crest values) */
  --blue: #223F9B;
  --claret: #871340;
  --red: #EE1C25;
  --white: #FFFFFF;
  --black: #000000;

  /* Derived from the crest blue */
  --blue-dark: #182D70;
  --ink: #131C40;
  --muted: #4A5476;
  --mist: #F1F3F9;
  --rule: #D6DBEA;
  --focus: #223F9B;

  /* Type: one family, Archivo; width + weight carry the hierarchy */
  --font: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.4rem, 1.15rem + 1vw, 1.85rem);
  --step-3: clamp(2.2rem, 1.5rem + 3vw, 3.5rem);

  /* Space */
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 3rem + 5vw, 7.5rem);
  --max: 72rem;
  --header-h: 4.5rem;
}

.on-dark {
  --focus: #FFD54A;
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.5rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
}

img,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--blue);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

.on-dark a {
  color: var(--white);
}

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

/* Headings echo the crest lettering: wide, heavy grotesque */
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font);
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

/* Crest top bands: red, blue, then the white header completes the tricolour */
.site-header::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(var(--red) 0 50%, var(--blue) 50% 100%);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: var(--max);
  min-height: var(--header-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}

.brand-crest {
  width: 2.6rem;
  height: auto;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 900;
  font-variation-settings: "wdth" 115;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

.nav-list {
  display: flex;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: block;
  padding: 0.5rem 0.7rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.nav-list a:hover {
  border-bottom-color: var(--claret);
}

.nav-toggle {
  display: none;
}

.lang-switch {
  display: inline-flex;
  border: 2px solid var(--blue);
  border-radius: 999px;
  overflow: hidden;
}

.lang-btn {
  min-width: 2.75rem;
  min-height: 2.25rem;
  padding: 0 0.7rem;
  border: 0;
  background: transparent;
  color: var(--blue);
  font: 700 0.9rem/1 var(--font);
  letter-spacing: 0.04em;
  cursor: pointer;
}

.lang-btn[aria-pressed="true"] {
  background: var(--blue);
  color: var(--white);
}

.lang-btn:focus-visible {
  outline-offset: -5px;
  border-radius: 999px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 4px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.on-dark .btn-white,
.btn-white {
  background: var(--white);
  color: var(--blue);
}

.btn-white:hover {
  background: var(--mist);
}

.on-dark .btn-ghost,
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
}

.btn-blue:hover {
  background: var(--blue-dark);
}

.btn-outline {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-outline:hover {
  background: var(--mist);
}

/* ---------- Hero: the crest's striped field ---------- */

.hero {
  --stripe: clamp(4.5rem, 9vw, 8.5rem);
  position: relative;
  overflow: hidden;
  background-color: var(--blue);
  background-image: repeating-linear-gradient(
    90deg,
    var(--blue) 0 var(--stripe),
    var(--claret) var(--stripe) calc(var(--stripe) * 2)
  );
  color: var(--white);
}

.hero-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 6rem) var(--gutter) clamp(2.5rem, 5vw, 4rem);
}

.hero-crest {
  width: clamp(11rem, 6rem + 14vw, 19rem);
  height: auto;
  filter: drop-shadow(0 1.25rem 2rem rgba(0, 0, 0, 0.35));
}

/* The crest's name banner: white heavy caps on a black bar */
.hero-banner {
  display: inline-block;
  margin: 0 0 1.5rem;
  padding: 0.12em 0.4em 0.08em;
  background: var(--black);
  color: var(--white);
  font-size: clamp(2.2rem, 0.6rem + 4.6vw, 4.6rem);
  font-weight: 900;
  font-variation-settings: "wdth" 115;
  line-height: 1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  text-wrap: nowrap;
}

.hero-lead {
  max-width: 36rem;
  font-size: var(--step-1);
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 1.1rem;
}

.hero-hours {
  margin: 0;
  font-size: var(--step--1);
  font-weight: 600;
}

/* The page's single orchestrated motion: crest settles, then the banner unfurls */
@media (prefers-reduced-motion: no-preference) {
  .hero-crest {
    animation: crest-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .hero-banner {
    animation: banner-unfurl 0.75s cubic-bezier(0.65, 0, 0.35, 1) 0.35s both;
  }
}

@keyframes crest-in {
  from { opacity: 0; transform: translateY(0.75rem) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@keyframes banner-unfurl {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

/* Scoreboard: a black bar like the crest's banner */

.board {
  background: var(--black);
}

.board-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 0 1.5rem;
  max-width: var(--max);
  margin-inline: auto;
  padding: 1.1rem var(--gutter) 0.9rem;
}

.board-title {
  grid-column: 1 / -1;
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}

.board-list {
  display: contents;
  list-style: none;
}

.match {
  min-width: 0;
  padding-left: 1.25rem;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.match:first-child {
  padding-left: 0;
  border-left: 0;
}

.match-meta {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  font-variation-settings: "wdth" 85;
  color: rgba(255, 255, 255, 0.65);
}

.match-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.match-line .team {
  font-size: 0.85rem;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.75);
  overflow-wrap: anywhere;
}

.match-line .team:first-child {
  text-align: right;
}

.match-line .team-us {
  font-weight: 700;
  color: var(--white);
}

.score {
  font-size: 1.7rem;
  font-weight: 800;
  font-variation-settings: "wdth" 70;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.score-sep {
  padding-inline: 0.1em;
  color: var(--red);
}

.board-source {
  grid-column: 1 / -1;
  margin: 0.85rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Sections ---------- */

.section {
  padding-block: var(--section-y);
}

.section-title {
  margin-bottom: 1.5rem;
  font-size: var(--step-3);
  font-weight: 900;
}

.section-intro {
  max-width: 42rem;
  margin-bottom: 2.5rem;
  font-size: var(--step-1);
  color: var(--muted);
}

.subhead {
  margin: 2rem 0 0.75rem;
  font-size: var(--step-2);
  font-weight: 800;
}

.small-note {
  font-size: var(--step--1);
  color: var(--muted);
}

/* Placeholders: content the club still has to supply (sticky-note style, outside the brand palette on purpose) */
.ph {
  display: inline;
  padding: 0.15em 0.5em;
  border: 1.5px dashed #B08A00;
  border-radius: 4px;
  background: #FFF6CC;
  color: #5C4700;
  font-size: 0.92em;
  line-height: 1.9;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.ph b {
  font-weight: 700;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.about-text > p {
  max-width: 38rem;
}

.facts {
  padding: 1.75rem;
  background: var(--mist);
  border-top: 6px solid var(--claret);
}

.facts-title {
  margin-bottom: 1.1rem;
  font-size: var(--step-2);
}

.facts-list {
  margin: 0;
}

.facts-list > div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--rule);
}

.facts-list dt {
  font-weight: 600;
  font-variation-settings: "wdth" 85;
  color: var(--muted);
}

.facts-list dd {
  margin: 0;
  font-weight: 600;
}

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 1rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

.gallery figure {
  margin: 0;
}

.gallery img {
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.gallery-main img {
  aspect-ratio: 16 / 10;
}

/* The side photo stretches to the main photo's height and crops to fit */
.gallery-side {
  display: flex;
  flex-direction: column;
}

.gallery-side img {
  flex: 1 1 0;
  min-height: 0;
}

.gallery figcaption {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.gallery-credit {
  grid-column: 1 / -1;
  margin: 0;
  font-size: var(--step--1);
  color: var(--muted);
}

/* Teams (team sheet) */

.teams {
  background: var(--mist);
}

.team-sheet {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 2px solid var(--ink);
}

.team-row {
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr) 16rem;
  gap: 1.25rem clamp(1.5rem, 4vw, 3rem);
  align-items: baseline;
  padding: 2rem 0;
  border-top: 2px solid var(--ink);
}

.team-name {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem);
  font-weight: 900;
  font-variation-settings: "wdth" 115;
  text-transform: uppercase;
  line-height: 1;
}

.team-leagues {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--step-1);
  font-weight: 600;
}

.team-leagues li + li {
  margin-top: 0.4rem;
}

.team-text {
  font-weight: 400;
}

.team-text p {
  max-width: 34rem;
  margin: 0;
}

.team-meta {
  font-size: 0.95rem;
  color: var(--muted);
}

.team-meta p {
  margin: 0 0 0.5rem;
}

/* Why — claret field, divided by white lines */

.why {
  background: var(--claret);
  color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.why-cell {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.why-cell:nth-child(odd) {
  border-right: 2px solid rgba(255, 255, 255, 0.5);
}

.why-cell:nth-child(n + 3) {
  border-top: 2px solid rgba(255, 255, 255, 0.5);
}

.why-cell h3 {
  margin-bottom: 0.75rem;
  font-size: var(--step-2);
}

.why-cell p {
  max-width: 30rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.why .subhead {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  margin-bottom: 1.25rem;
}

/* Achievements: a real chronology, so years lead each entry */
.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: baseline;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.timeline li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.timeline-year {
  font-size: 1.6rem;
  font-weight: 900;
  font-variation-settings: "wdth" 80;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.timeline p {
  max-width: 46rem;
  margin: 0;
}

.timeline a {
  margin-left: 0.35rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Location */

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.map-frame {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--mist);
}

.map {
  width: 100%;
  height: clamp(20rem, 55vw, 34rem);
  border: 0;
}

.address {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
  font-style: normal;
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.4;
}

.plus-code {
  color: var(--muted);
  font-size: 0.95rem;
}

.code {
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.03em;
}

.entrance {
  margin: 0 0 1rem;
}

.entrance img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.location-text > p {
  max-width: 32rem;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Contact */

.contact {
  background: var(--blue);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-lead {
  font-size: var(--step-1);
}

.on-dark .phone-big,
.phone-big {
  display: inline-block;
  padding-bottom: 0.1em;
  border-bottom: 5px solid var(--red);
  color: var(--white);
  font-size: clamp(2.5rem, 1.3rem + 5.5vw, 5rem);
  font-weight: 900;
  font-variation-settings: "wdth" 100;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.phone-big:hover {
  border-bottom-color: var(--white);
}

.phone-intl {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.contact .subhead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.9rem;
  margin-top: 0;
}

.status {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.85rem;
  font-weight: 700;
  font-variation-settings: "wdth" 100;
}

.status.is-open {
  background: var(--white);
  color: var(--blue);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table th,
.hours-table td {
  padding: 0.7rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  text-align: left;
  font-weight: 400;
}

.hours-table td {
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.hours-table tr:last-child th,
.hours-table tr:last-child td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.today-tag {
  display: none;
  margin-left: 0.4rem;
  padding: 0.05rem 0.45rem;
  border-radius: 3px;
  background: var(--white);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: 0.1em;
}

.is-today .today-tag {
  display: inline-block;
}

.is-today th,
.is-today td {
  font-weight: 700;
}

.contact .small-note {
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.75);
}

.contact-list {
  margin: 2rem 0 0;
}

.contact-list > div {
  padding: 0.8rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.contact-list dt {
  margin-bottom: 0.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  font-variation-settings: "wdth" 85;
  color: rgba(255, 255, 255, 0.75);
}

.contact-list dd {
  margin: 0;
  font-weight: 600;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
}

/* Footer */

.site-footer {
  padding-block: 2rem;
  background: var(--black);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.footer-inner p {
  margin: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 2.25rem;
}

.site-footer .small-note {
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .board-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1.5rem;
  }

  .board-title {
    grid-column: 1 / -1;
  }

  .match,
  .match:first-child {
    padding-left: 0;
    padding-top: 0.6rem;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .team-row {
    grid-template-columns: 13rem minmax(0, 1fr);
  }

  .team-meta {
    grid-column: 2;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.5rem;
    padding: 0 0.8rem;
    border: 1.5px solid var(--rule);
    border-radius: 4px;
    background: transparent;
    color: var(--ink);
    font: 600 0.95rem/1 var(--font);
    cursor: pointer;
  }

  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 1.1rem;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
  }

  .nav-toggle-bars {
    position: relative;
  }

  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 1rem 2rem -1.5rem rgba(19, 28, 64, 0.45);
  }

  .site-header.nav-open .site-nav {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem var(--gutter) 1rem;
  }

  .nav-list a {
    padding: 0.85rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--rule);
  }

  .nav-list a:hover {
    border-bottom-color: var(--claret);
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }

  .about-grid,
  .location-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-side img {
    flex: none;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .map-frame {
    position: static;
  }

  .location-text {
    order: -1;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 4rem;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-crest {
    width: 2.2rem;
  }

  .header-inner {
    gap: 0.6rem;
  }

  .hero-banner {
    text-wrap: wrap;
  }

  .hero-actions .btn {
    flex: 1 1 12rem;
  }

  .board-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .score {
    font-size: 1.6rem;
  }

  .match-line .team {
    font-size: 0.9rem;
  }

  .team-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
    padding: 1.6rem 0;
  }

  .team-meta {
    grid-column: auto;
  }

  .why-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .why-cell:nth-child(odd) {
    border-right: 0;
  }

  .why-cell:nth-child(n + 2) {
    border-top: 2px solid rgba(255, 255, 255, 0.5);
  }

  .timeline li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.35rem;
  }

  .facts {
    padding: 1.25rem;
  }

  .facts-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.1rem;
  }

  .location-actions .btn {
    flex: 1 1 100%;
  }

  .phone-big {
    white-space: normal;
  }
}

/* Very narrow phones: the menu button keeps its label for screen readers only */
@media (max-width: 420px) {
  .nav-toggle {
    padding: 0 0.65rem;
  }

  .nav-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
