/* Timberland Bands. School colors: navy, hunter green, silver. One typeface
   (Archivo) used at three widths: expanded for headings, normal for text,
   condensed for dates and numbers. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #13293F;
  --navy-deep: #0C1C2C;
  --green: #2E6B4A;
  --green-light: #8FC7A5;
  --silver: #9FAAB5;
  --chalk: #F5F7F6;
  --white: #FFFFFF;
  --rule: #D3DAE0;
  --rule-dark: rgba(245, 247, 246, 0.2);
  --text: #13293F;
  --text-soft: #46586A;
  --red: #B8232F;
  --wrap: 72rem;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --measure: 40rem;
}

* { 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;
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--chalk);
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, table { margin: 0; }
ul, ol { padding: 0; }
img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--green-light); outline-offset: 3px; border-radius: 2px; }

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

.skip { position: absolute; left: -999px; top: 0; background: var(--white); color: var(--navy); padding: 0.6rem 1rem; z-index: 20; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- type ---------- */

h1, h2, .display {
  font-stretch: 122%;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); line-height: 1.08; }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.25; font-stretch: 105%; }
h4 { font-size: 1rem; font-weight: 700; }

.lede { font-size: clamp(1.15rem, 1.9vw, 1.35rem); line-height: 1.45; max-width: 38rem; }
.prose > * + * { margin-top: 1em; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li, .prose dd { max-width: var(--measure); }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li + li { margin-top: 0.4em; }
.small { font-size: 0.92rem; color: var(--text-soft); }
ul.plain { list-style: none; }
ul.plain li + li { margin-top: 0.45em; }

/* ---------- buttons ---------- */

.button {
  display: inline-block;
  font-weight: 700;
  font-stretch: 105%;
  text-decoration: none;
  padding: 0.8em 1.25em;
  border-radius: 3px;
  border: 2px solid var(--green);
  background: var(--green);
  color: var(--white);
  line-height: 1.2;
}
.button:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.button.quiet { background: transparent; color: var(--navy); border-color: var(--navy); }
.button.quiet:hover { background: var(--navy); color: var(--white); }
.on-dark .button { background: var(--chalk); border-color: var(--chalk); color: var(--navy); }
.on-dark .button:hover { background: var(--green-light); border-color: var(--green-light); color: var(--navy); }
.on-dark .button.quiet { background: transparent; color: var(--chalk); border-color: var(--silver); }
.on-dark .button.quiet:hover { background: var(--chalk); color: var(--navy); border-color: var(--chalk); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

/* ---------- header ---------- */

.site-header { background: var(--navy); color: var(--chalk); position: relative; z-index: 10; }
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 4.25rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--chalk); text-decoration: none; margin-right: auto; padding-block: 0.6rem; }
.brand:hover { color: var(--white); }
.brand img { width: 44px; height: auto; }
.brand-name { font-stretch: 122%; font-weight: 800; font-size: 1.08rem; letter-spacing: -0.01em; line-height: 1.05; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav ul { list-style: none; display: flex; gap: 1.25rem; }
.site-nav a { color: var(--chalk); text-decoration: none; font-weight: 600; font-size: 0.97rem; padding-block: 0.4rem; border-bottom: 2px solid transparent; white-space: nowrap; }
.site-nav ul a:hover { border-bottom-color: var(--silver); color: var(--white); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--green-light); }
.site-nav .portal-link { border: 2px solid var(--silver); border-radius: 3px; padding: 0.45rem 0.85rem; }
.site-nav .portal-link:hover { background: var(--chalk); border-color: var(--chalk); color: var(--navy); }
.nav-toggle { display: none; font: inherit; font-weight: 700; color: var(--chalk); background: transparent; border: 2px solid var(--silver); border-radius: 3px; padding: 0.4rem 0.8rem; cursor: pointer; }

@media (max-width: 70rem) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); border-top: 1px solid var(--rule-dark); flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem var(--gutter) 1.25rem; box-shadow: 0 12px 24px rgba(12, 28, 44, 0.35); }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--rule-dark); font-size: 1.05rem; }
  .site-nav .portal-link { margin-top: 1rem; text-align: center; }
}

/* ---------- page head (inner pages) ---------- */

.page-head { background: var(--navy); color: var(--chalk); padding-block: clamp(2.2rem, 6vw, 4rem) 0; }
.page-head .lede { margin-top: 1rem; color: #D9E0E6; }
.page-head a { color: var(--green-light); }
/* A photo behind the page head, under a navy wash so the heading stays legible. */
.page-head.has-photo { position: relative; overflow: hidden; }
.page-head .backdrop { position: absolute; inset: 0; z-index: 0; }
.page-head .backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.page-head .backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(19, 41, 63, 0.88), rgba(19, 41, 63, 0.74)); }
@media (min-width: 46rem) { .page-head .backdrop::after { background: linear-gradient(90deg, rgba(19, 41, 63, 0.94) 0%, rgba(19, 41, 63, 0.72) 55%, rgba(19, 41, 63, 0.5) 100%); } }
.page-head.has-photo > .wrap, .page-head.has-photo .yardline { position: relative; z-index: 1; }
@media (min-width: 56rem) { .page-head.has-mark > .wrap { padding-right: calc(var(--gutter) + 300px); } }

/* ---------- photos ---------- */

picture { display: block; }
picture img { width: 100%; height: auto; }
/* Full-bleed photo between sections. */
.photo-band { margin: 0; position: relative; background: var(--navy); }
.photo-band img { width: 100%; height: auto; max-height: 42rem; object-fit: cover; }
.photo-band figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem var(--gutter) 0.9rem; color: var(--chalk); font-size: 0.9rem; background: linear-gradient(transparent, rgba(12, 28, 44, 0.75)); }
.photo-band figcaption span { display: block; max-width: var(--wrap); margin-inline: auto; }
/* A row of photos. */
.photo-strip { list-style: none; display: grid; gap: 0.75rem; }
@media (min-width: 46rem) { .photo-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } .photo-strip.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.photo-strip img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }
/* A photo in a definition row: the photo takes the left half, the name and text stack on the right. */
.rows.with-photos > div { grid-template-columns: minmax(0, 1fr); padding: 1.6rem 0; }
.rows .row-photo { margin: 0 0 0.9rem; }
.rows .row-photo img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }
.rows.with-photos dt { font-size: 1.35rem; font-stretch: 112%; font-weight: 800; text-transform: uppercase; letter-spacing: 0; }
@media (min-width: 46rem) {
  .rows.with-photos > div { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; column-gap: 2.5rem; align-items: start; }
  .rows.with-photos > div.no-photo { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-template-rows: auto; }
  .rows .row-photo { margin: 0; grid-column: 1; grid-row: 1 / span 2; }
  .rows.with-photos > div:not(.no-photo) dt, .rows.with-photos > div:not(.no-photo) dd { grid-column: 2; }
  .rows.with-photos > div:not(.no-photo) dd { margin-top: 0.3rem; }
}
.figure { margin: 2rem 0 0; }
.figure img { border-radius: 2px; }
.figure figcaption { margin-top: 0.5rem; font-size: 0.9rem; color: var(--text-soft); }

/* Yard-line ticks along the bottom edge: one tall tick every five. */
.yardline {
  height: 22px;
  margin-top: clamp(1.8rem, 5vw, 3rem);
  background:
    repeating-linear-gradient(90deg, var(--silver) 0 2px, transparent 2px 120px) left bottom / 100% 22px no-repeat,
    repeating-linear-gradient(90deg, rgba(159, 170, 181, 0.55) 0 1px, transparent 1px 24px) left bottom / 100% 9px no-repeat;
}

/* ---------- sections ---------- */

.section { padding-block: clamp(2.6rem, 7vw, 4.75rem); }
.section + .section { border-top: 1px solid var(--rule); }
.section.dark { background: var(--navy); color: var(--chalk); border-top: 0; }
.section.dark + .section { border-top: 0; }
.section.white { background: var(--white); }
.section.dark a { color: var(--green-light); }
.section.dark .small { color: #C3CDD6; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; margin-bottom: 1.6rem; }
.section-head p { max-width: var(--measure); }
.section-head a { font-weight: 700; }

.split { display: grid; gap: clamp(1.6rem, 5vw, 4rem); }
@media (min-width: 56rem) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .split.even { grid-template-columns: 1fr 1fr; }
  .split.narrow-first { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
}

/* ---------- home hero ---------- */

.hero { background: var(--navy); color: var(--chalk); padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 2.5rem); overflow: hidden; }
.hero h1 { font-size: clamp(2.5rem, 7vw, 5.1rem); max-width: 16ch; }
.hero-grid { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: end; margin-top: clamp(1.4rem, 3.5vw, 2.4rem); }
@media (min-width: 62rem) { .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.hero .lede { color: #D9E0E6; }

.drill { margin: 0; }
.drill svg { width: 100%; height: auto; border: 1px solid var(--rule-dark); background: #173654; border-radius: 2px; }
.drill figcaption { margin-top: 0.6rem; font-size: 0.9rem; color: #C3CDD6; }
/* The status line is one fixed-height row so the caption never changes
   height while the drill runs. */
.drill-line { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 0.2rem; height: 1.55em; white-space: nowrap; overflow: hidden; }
.drill-status { font-variant-numeric: tabular-nums; font-stretch: 85%; font-weight: 600; color: var(--chalk); overflow: hidden; text-overflow: ellipsis; }
.drill-replay { font: inherit; font-weight: 700; color: var(--green-light); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 0.18em; }
.drill-replay:hover { color: var(--white); }
.drill-replay.waiting { visibility: hidden; }
.field-line { stroke: rgba(245, 247, 246, 0.34); stroke-width: 1.5; }
.field-line.minor { stroke: rgba(245, 247, 246, 0.14); stroke-width: 1; }
.field-hash { stroke: rgba(245, 247, 246, 0.4); stroke-width: 1.5; }
.field-number { fill: rgba(245, 247, 246, 0.32); font-family: "Archivo", Arial, sans-serif; font-stretch: 70%; font-weight: 800; font-size: 34px; text-anchor: middle; }
.dot { fill: var(--chalk); }

/* ---------- events ---------- */

.events { list-style: none; border-top: 2px solid var(--navy); }
.event { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: 0.2rem 1.25rem; padding: 1.05rem 0; border-bottom: 1px solid var(--rule); align-items: start; }
.event[hidden] { display: none; }
.event-date { grid-row: span 2; display: grid; justify-items: start; line-height: 1; font-stretch: 68%; }
.event-month { font-weight: 700; font-size: 1rem; color: var(--green); }
.event-day { font-weight: 800; font-size: 2.5rem; letter-spacing: -0.01em; }
.event-year { display: none; font-weight: 600; font-size: 0.85rem; color: var(--text-soft); margin-top: 0.15rem; }
.event.other-year .event-year { display: block; }
.event-title a { color: inherit; }
.event-title a:hover { color: var(--green); }
.event-meta { color: var(--text-soft); margin-top: 0.15rem; }
.event-note { margin-top: 0.35rem; max-width: var(--measure); }
.event-result { margin-top: 0.35rem; font-weight: 700; color: var(--green); }
.event-type { grid-column: 2; font-size: 0.9rem; font-weight: 600; color: var(--text-soft); display: flex; align-items: center; gap: 0.45rem; }
.event-type::before { content: ""; width: 0.6rem; height: 0.6rem; background: var(--silver); border-radius: 50%; flex: none; }
.type-competition::before { background: var(--navy); }
.type-fundraiser::before { background: var(--green); }
.type-performance::before, .type-concert::before { background: var(--green-light); border: 1px solid var(--green); }
.type-trip::before { background: var(--green-light); border: 1px solid var(--green); }
@media (min-width: 46rem) {
  .event { grid-template-columns: 5.2rem minmax(0, 1fr) 9.5rem; }
  .event-date { grid-row: auto; }
  .event-type { grid-column: 3; justify-self: start; padding-top: 0.2rem; }
}
.events-empty { padding: 1.2rem 0; border-bottom: 1px solid var(--rule); color: var(--text-soft); }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.3rem; }
.filters button { font: inherit; font-weight: 600; font-size: 0.95rem; color: var(--navy); background: transparent; border: 1.5px solid var(--silver); border-radius: 3px; padding: 0.4rem 0.8rem; cursor: pointer; }
.filters button:hover { border-color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--chalk); }

/* ---------- tables ---------- */

.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
caption { text-align: left; font-weight: 700; padding-bottom: 0.6rem; }
th, td { text-align: left; vertical-align: top; padding: 0.8rem 1rem 0.8rem 0; border-bottom: 1px solid var(--rule); }
thead th { font-size: 0.9rem; font-weight: 700; color: var(--text-soft); border-bottom: 2px solid var(--navy); padding-bottom: 0.5rem; }
tbody th { font-weight: 700; }
.results-where { display: block; font-weight: 400; color: var(--text-soft); font-size: 0.95rem; }
.results-date { white-space: nowrap; font-stretch: 80%; font-weight: 700; }
.section.dark th, .section.dark td { border-bottom-color: var(--rule-dark); }
.section.dark thead th { color: #C3CDD6; border-bottom-color: var(--silver); }
.section.dark .results-where { color: #C3CDD6; }

/* ---------- lists of things ---------- */

/* Ruled link list: used for "find your way" and contact routing. */
.ways { list-style: none; display: grid; gap: 0 2.5rem; border-top: 2px solid var(--navy); }
@media (min-width: 46rem) { .ways { grid-template-columns: 1fr 1fr; } }
.ways > li { padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.ways h3 a { color: var(--navy); text-decoration: none; }
.ways h3 a:hover { color: var(--green); text-decoration: underline; }
.ways p { margin-top: 0.35rem; max-width: 32rem; }
.ways .small { margin-top: 0.5rem; }
.section.dark .ways { border-top-color: var(--silver); }
.section.dark .ways > li { border-bottom-color: var(--rule-dark); }
.section.dark .ways h3 a { color: var(--chalk); }

/* Definition-style rows: term on the left, detail on the right. */
.rows { border-top: 2px solid var(--navy); }
.rows > div { display: grid; gap: 0.25rem 2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 46rem) { .rows > div { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.rows dt { font-weight: 700; font-stretch: 105%; }
.rows dd { max-width: var(--measure); }
.rows dd > * + * { margin-top: 0.5em; }
.section.dark .rows { border-top-color: var(--silver); }
.section.dark .rows > div { border-bottom-color: var(--rule-dark); }

/* Big facts: a number with a sentence, used sparingly. */
.facts { list-style: none; display: grid; gap: 1.4rem 2.5rem; }
@media (min-width: 40rem) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.facts strong { display: block; font-stretch: 68%; font-weight: 800; font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 0.95; letter-spacing: -0.01em; }
.facts span { display: block; margin-top: 0.4rem; max-width: 18rem; }

.note { border-left: 4px solid var(--green); padding: 0.2rem 0 0.2rem 1.1rem; max-width: var(--measure); }
.section.dark .note { border-left-color: var(--green-light); }

/* ---------- results archive ---------- */

.archive { list-style: none; }
.archive li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.1rem 1rem; padding: 0.45rem 0; }
.archive li + li { border-top: 1px dashed var(--rule); }
.archive-event { font-weight: 700; }
.archive-date { font-stretch: 80%; font-weight: 600; color: var(--text-soft); white-space: nowrap; }
.archive-result { grid-column: 1 / -1; color: var(--text-soft); }
.archive .won .archive-result { color: var(--green); font-weight: 700; }
.wins { list-style: none; display: grid; gap: 0.9rem 2rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.wins strong { display: block; font-stretch: 68%; font-weight: 800; font-size: 2.4rem; line-height: 1; }
.wins span { display: block; margin-top: 0.25rem; }

/* ---------- staff ---------- */

.staff { list-style: none; display: grid; gap: 0 2.5rem; border-top: 2px solid var(--navy); }
@media (min-width: 46rem) { .staff { grid-template-columns: 1fr 1fr; } }
.staff li { padding: 1.15rem 0; border-bottom: 1px solid var(--rule); }
.staff .role { color: var(--text-soft); }
.staff p + p { margin-top: 0.3rem; }
.staff .has-photo { display: grid; gap: 1rem 1.6rem; align-items: start; }
@media (min-width: 46rem) { .staff .has-photo { grid-template-columns: 10rem minmax(0, 1fr); } }
.staff .has-photo picture { display: block; max-width: 10rem; }
.staff .has-photo img { width: 100%; height: auto; border-radius: 2px; }
.staff .has-photo div p + p { margin-top: 0.6rem; }

/* ---------- London ---------- */

.london-band { background: var(--white); border-block: 1px solid var(--rule); }
.countdown { font-stretch: 68%; font-weight: 800; font-size: clamp(3.4rem, 10vw, 6.5rem); line-height: 0.9; letter-spacing: -0.015em; color: var(--navy); font-variant-numeric: tabular-nums; }
.countdown-label { font-weight: 700; margin-top: 0.5rem; }
.route { margin-top: 0.5rem; overflow-x: auto; }
.route svg { width: 100%; min-width: 40rem; height: auto; }
.route-line { fill: none; stroke: var(--navy); stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; }
.route-stop { fill: var(--white); stroke: var(--navy); stroke-width: 4; }
.route-end { fill: var(--green); stroke: var(--green); }
.route-label { font-family: "Archivo", Arial, sans-serif; font-size: 21px; font-weight: 600; fill: var(--navy); }
.route-label.strong { font-weight: 800; }
.route-band { fill: var(--green); }
.route figcaption { margin-top: 0.6rem; }

.levels { display: grid; gap: clamp(1.6rem, 4vw, 3rem); }
@media (min-width: 46rem) { .levels { grid-template-columns: 1fr 1fr; } }
.levels ul { list-style: none; border-top: 2px solid var(--navy); margin-top: 0.8rem; }
.levels li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--rule); }
.levels li span:last-child { font-stretch: 80%; font-weight: 800; font-variant-numeric: tabular-nums; }

.partners { list-style: none; display: grid; gap: 2rem; border-top: 2px solid var(--navy); padding-top: 1.6rem; }
.partners li { display: grid; gap: 1.2rem 2.5rem; align-items: start; }
@media (min-width: 46rem) { .partners li { grid-template-columns: 20rem minmax(0, 1fr); } }
.partner-logo { display: flex; align-items: center; justify-content: center; background: var(--white); border: 1px solid var(--rule); border-radius: 2px; padding: 1.6rem; }
.partner-logo img { width: 100%; max-width: 17rem; height: auto; }
.partner-level { font-stretch: 80%; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--green); margin-top: -0.4rem; }
.partner-strip { list-style: none; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.partner-strip a { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; height: 100%; padding: 1.6rem 1.2rem; background: var(--white); border: 1px solid var(--rule); border-radius: 2px; text-align: center; text-decoration: none; color: var(--navy); font-weight: 700; }
.partner-strip a:hover { border-color: var(--navy); }
.partner-strip img { width: 11rem; height: auto; }
.partner-strip em { display: block; font-style: normal; font-weight: 500; font-size: 0.88rem; color: var(--text-soft); }
.partner-strip .partner-open a { justify-content: center; border-style: dashed; color: var(--green); }

/* ---------- store ---------- */

.products { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(1rem, 3vw, 2rem); border-top: 2px solid var(--navy); padding-top: 1.6rem; }
@media (min-width: 46rem) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.product { position: relative; display: flex; flex-direction: column; }
.product-shot { aspect-ratio: 1; background: var(--white); border: 1px solid var(--rule); border-radius: 2px; overflow: hidden; margin-bottom: 0.85rem; }
.product-shot img { width: 100%; height: 100%; object-fit: contain; }
/* No photo, or the photo failed to load: show the wolf instead of a blank box. */
.product-shot.no-image { background: var(--chalk) url("wolf-mark-dark.svg") center / 42% auto no-repeat; }
.section.white .product-shot { background-color: var(--chalk); }
.section.white .product-shot.no-image { background-color: var(--white); }
.product-shot.no-image img { display: none; }
.product h3 { font-size: 1.08rem; }
.product h3 a { color: var(--navy); text-decoration: none; }
/* The whole tile is the link. */
.product h3 a::after { content: ""; position: absolute; inset: 0; }
.product:hover h3 a { color: var(--green); text-decoration: underline; }
.product:hover .product-shot { border-color: var(--navy); }
.product-detail { color: var(--text-soft); font-size: 0.95rem; margin-top: 0.2rem; }
.product-note { font-size: 0.92rem; font-weight: 600; margin-top: 0.3rem; }
.product-buy { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; margin-top: auto; padding-top: 0.55rem; }
.product-price { font-stretch: 80%; font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.product-go { font-weight: 700; color: var(--green); text-decoration: underline; text-underline-offset: 0.18em; }

/* ---------- footer ---------- */

.site-footer { background: var(--navy-deep); color: #D9E0E6; padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem; margin-top: 0; font-size: 0.98rem; }
.site-footer a { color: var(--chalk); }
.site-footer a:hover { color: var(--green-light); }
.site-footer h2 { font-size: 1rem; font-stretch: 110%; line-height: 1.3; margin-bottom: 0.6rem; color: var(--white); letter-spacing: 0; }
.site-footer p + p { margin-top: 0.7rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 46rem) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .footer-grid { grid-template-columns: 11rem repeat(3, minmax(0, 1fr)); } }
.footer-brand img { width: 150px; }
.footer-legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule-dark); font-size: 0.88rem; color: #D9E0E6; }
.footer-legal p { max-width: 52rem; }

/* ---------- misc ---------- */

.center-page { padding-block: clamp(4rem, 12vw, 8rem); }
[hidden] { display: none !important; }

@media print {
  .site-header, .site-footer, .filters, .actions, .drill-replay { display: none; }
  body { background: #fff; }
}

/* ---------- display style (site-wide) ---------- */
.page-head h1 { text-transform: uppercase; font-size: clamp(2.4rem, 6.5vw, 4.6rem); }
.page-head .kicker { color: #BFE6CF; font-size: 0.95rem; font-weight: 800; text-shadow: 0 1px 3px rgba(12, 28, 44, 0.8); }
.section-head h2, .prose h2 { text-transform: uppercase; letter-spacing: 0; }
.section.dark .outline, .page-head .outline { -webkit-text-stroke-color: var(--chalk); }
/* Photo tiles that link somewhere, used on inner pages too. */
.link-tiles { list-style: none; display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 46rem) { .link-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.link-tiles a { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 2px; color: var(--white); text-decoration: none; background: var(--navy); }
.link-tiles picture { height: 100%; }
.link-tiles img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.5); transition: filter 0.4s ease, transform 0.6s ease; }
.link-tiles a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 41, 63, 0.1), rgba(19, 41, 63, 0.85)); }
.link-tiles a:hover img { filter: none; transform: scale(1.03); }
.link-tiles .tile-text { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1; }
.link-tiles .tile-text strong { display: block; font-size: 1.15rem; font-stretch: 105%; text-transform: uppercase; letter-spacing: 0.03em; }
.link-tiles .tile-text span { display: block; font-size: 0.92rem; color: #D9E0E6; margin-top: 0.2rem; }
.link-tiles a.plain { display: grid; place-items: center; text-align: center; padding: 1rem; background: var(--green); }
.link-tiles a.plain::after { display: none; }
.link-tiles a.plain.navy { background: var(--navy); }
.link-tiles a.plain .tile-text { position: static; }

/* ---------- home v2 ---------- */

.v2 .kicker { font-weight: 700; font-stretch: 80%; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; color: var(--green); margin-bottom: 0.5rem; }
.v2 .display { font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; }
.v2 .display.small { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.v2 .outline { color: transparent; -webkit-text-stroke: 2px var(--navy); display: block; }
.v2 .button.loud { background: var(--green); border-color: var(--green); color: var(--white); text-transform: uppercase; font-stretch: 90%; letter-spacing: 0.04em; }
.v2 .button.loud:hover { background: var(--navy); border-color: var(--navy); }
.v2 .button.ghost { background: transparent; color: var(--chalk); border-color: var(--chalk); text-transform: uppercase; font-stretch: 90%; letter-spacing: 0.04em; }
.v2 .button.ghost:hover { background: var(--chalk); color: var(--navy); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.v2-hero { position: relative; min-height: min(78vh, 46rem); display: grid; place-items: center; text-align: center; color: var(--chalk); overflow: hidden; background: var(--navy); }
.v2-hero .backdrop { position: absolute; inset: 0; }
.v2-hero .backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.v2-hero .backdrop::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 70% at 50% 45%, rgba(19, 41, 63, 0.55), rgba(19, 41, 63, 0.15) 70%), linear-gradient(180deg, rgba(19, 41, 63, 0.45) 0%, rgba(19, 41, 63, 0.15) 45%, rgba(19, 41, 63, 0.85) 100%); }
.v2-hero-inner { position: relative; z-index: 1; padding-block: 3rem; }
.v2-hero-logo { width: clamp(200px, 32vw, 360px); height: auto; margin: 0 auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.45)); }
.v2-hero-line { margin-top: 1rem; font-stretch: 115%; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; font-size: clamp(1rem, 1.8vw, 1.3rem); }
.v2-hero .actions { justify-content: center; margin-top: 1.4rem; }

/* Event cards on a green band. */
.v2-next { background: var(--green); padding-block: 0 2.5rem; }
.v2-next .wrap { transform: translateY(-1.6rem); }
.event-cards { list-style: none; display: grid; gap: 1rem; }
@media (min-width: 46rem) { .event-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.event-cards .event { display: flex; flex-direction: column; gap: 0.5rem; background: var(--navy); color: var(--chalk); padding: 1.1rem 1.2rem 1.2rem; border: 0; border-radius: 3px; box-shadow: 0 12px 30px rgba(12, 28, 44, 0.25); min-height: 12rem; }
.event-cards .event-date { display: flex; align-items: baseline; gap: 0.4rem; font-stretch: 80%; }
.event-cards .event-month { color: var(--green-light); font-size: 1rem; }
.event-cards .event-day { font-size: 2.2rem; }
.event-cards .event-year { display: none; }
.event-cards .event-title { font-size: 1.15rem; margin-top: auto; }
.event-cards .event-title a { color: var(--chalk); }
.event-cards .event-meta { color: #C3CDD6; font-size: 0.95rem; }
.event-cards .event-note, .event-cards .event-result { display: none; }
.event-cards .event-type { color: var(--green-light); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.event-cards .event-type::before { display: none; }
.v2-next .events-empty { color: var(--chalk); border: 0; text-align: center; }
.v2-more { text-align: center; margin-top: 1.75rem; }
.v2-next .button.quiet { color: var(--white); border-color: var(--white); }
.v2-next .button.quiet:hover { background: var(--white); color: var(--green); }

/* Time-boxed promo strip under the event cards (hidden by data-until once the date passes). */
.v2-promo { background: var(--white); border-bottom: 1px solid var(--rule); padding-block: 2.5rem; }
.v2-promo-grid { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 56rem) { .v2-promo-grid { grid-template-columns: auto minmax(0, 1fr) auto; gap: 2.5rem; } }
.v2-promo-date { display: grid; justify-items: center; align-content: center; min-width: 9rem; padding: 1rem 1.2rem; background: var(--navy); color: var(--chalk); border-radius: 3px; text-align: center; font-stretch: 80%; font-weight: 800; line-height: 1; }
.v2-promo-date span { font-size: 0.9rem; color: var(--green-light); text-transform: uppercase; letter-spacing: 0.06em; }
.v2-promo-date strong { font-size: 2.4rem; margin: 0.3rem 0; }
.v2-promo .kicker { color: var(--green); }
.v2-promo .display.small { margin: 0.2rem 0 0.6rem; }
.v2-promo p:not(.kicker) { max-width: var(--measure); }
.v2-promo .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 56rem) { .v2-promo .actions { flex-direction: column; align-items: stretch; } }

/* Photo and copy, with the photo hanging off a color block. */
.v2-split { padding-block: clamp(3rem, 7vw, 5.5rem); background: var(--chalk); }
.v2-split.alt { background: var(--white); }
.v2-split-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56rem) { .v2-split-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); } .v2-split-grid.reverse { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); align-items: start; } .v2-split-grid.reverse .v2-photo { margin-top: 0.5rem; } }
.v2-photo { margin: 0 1.2rem 1.2rem 0; position: relative; isolation: isolate; }
.v2-photo.offset-right { margin: 0 0 1.2rem 1.2rem; }
.v2-split { overflow-x: clip; }
.v2-photo picture { position: relative; z-index: 1; }
.v2-photo img { border-radius: 2px; aspect-ratio: 4 / 3; object-fit: cover; }
.v2-photo::before { content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem; background: var(--green); z-index: 0; border-radius: 2px; }
.v2-photo.offset-right::before { inset: 1.2rem 1.2rem -1.2rem -1.2rem; }
.v2-copy > * + * { margin-top: 1rem; }
.v2-copy p { max-width: 36rem; }
.countdown-inline .countdown { font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; display: inline; vertical-align: baseline; }
.countdown-inline .countdown-label { display: inline; margin-left: 0.5rem; }

/* Ensemble tiles. */
.v2-tiles { background: var(--navy); }
.tile-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 46rem) { .tile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile-grid a { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; color: var(--white); text-decoration: none; }
.tile-grid picture { height: 100%; }
.tile-grid img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.7) contrast(1.05); transition: filter 0.4s ease, transform 0.6s ease; }
.tile-grid a::after { content: ""; position: absolute; inset: 0; background: var(--navy); mix-blend-mode: multiply; opacity: 0.55; transition: opacity 0.4s ease; }
.tile-grid li:nth-child(2n) a::after { background: var(--green); }
.tile-grid a:hover img, .tile-grid a:focus-visible img { filter: none; transform: scale(1.03); }
.tile-grid a:hover::after, .tile-grid a:focus-visible::after { opacity: 0.25; }
.tile-grid span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; background: var(--chalk); color: var(--navy); font-weight: 800; font-stretch: 95%; text-transform: uppercase; letter-spacing: 0.05em; font-size: clamp(0.75rem, 1.4vw, 0.95rem); padding: 0.55em 0.9em; white-space: nowrap; border-radius: 2px; }

.v2-drill .kicker { color: var(--green-light); }
.v2-drill h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }

.v2-band { background: var(--navy); color: var(--chalk); padding-block: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid var(--rule-dark); }
.v2-band-grid { display: grid; gap: 2.5rem; }
@media (min-width: 56rem) { .v2-band-grid { grid-template-columns: 1fr 1fr; } }
.v2-band .kicker { color: var(--green-light); }
.v2-band h2 { color: var(--chalk); }
.v2-band .outline { -webkit-text-stroke-color: var(--chalk); }
.v2 .display { overflow-wrap: anywhere; }
.v2-hero-inner { max-width: 100%; }
.v2-next .wrap { max-width: calc(100% - 0px); }
.v2-band .button { margin-top: 1.2rem; }

.v2-ways { background: var(--white); padding-block: clamp(2.5rem, 6vw, 4rem); }
.v2-ways .section-head { margin-bottom: 1.2rem; }
.v2-sponsors { background: var(--chalk); padding-block: clamp(2.5rem, 6vw, 4rem); text-align: center; border-top: 1px solid var(--rule); }
.v2-sponsors .display, .v2-sponsors p { margin-inline: auto; }
.v2-sponsors p { max-width: 34rem; margin-top: 0.8rem; }
.v2-sponsors .actions { justify-content: center; }

/* ---------- brand guidelines page ---------- */

.swatches { list-style: none; display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
.swatches li { padding: 1.1rem 1.1rem 1rem; border-radius: 3px; min-height: 9.5rem; display: flex; flex-direction: column; gap: 0.25rem; }
.swatches strong { font-stretch: 105%; font-size: 1.05rem; }
.swatches span { font-stretch: 80%; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.swatches em { font-style: normal; font-size: 0.9rem; line-height: 1.4; margin-top: auto; opacity: 0.9; }
.type-sample { font-size: 1.35rem; line-height: 1.3; margin-bottom: 0.4rem; }
.type-sample.display { font-stretch: 122%; font-weight: 800; font-size: 2rem; line-height: 1.05; letter-spacing: -0.012em; text-transform: uppercase; }
.type-sample.display .outline { display: inline; }
.type-sample.numeral { font-stretch: 68%; font-weight: 800; font-size: 2.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.marks { list-style: none; display: grid; gap: 1.5rem 2rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.marks h3 { margin-top: 0.8rem; }
.marks p { margin-top: 0.35rem; }
.mark-tile { background: var(--white); border: 1px solid var(--rule); border-radius: 3px; display: flex; align-items: center; justify-content: center; padding: 1.25rem; min-height: 12rem; }
.mark-tile.dark { background: var(--navy); border-color: var(--navy); }
.mark-tile img { max-height: 150px; width: auto; }
/* The London stamp where the campaign appears on the site. */
.london-mark { width: clamp(120px, 16vw, 260px); height: auto; }
.page-head .london-mark { position: absolute; right: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); top: 50%; transform: translateY(-50%); z-index: 1; display: none; filter: drop-shadow(0 8px 24px rgba(12, 28, 44, 0.5)); }
@media (min-width: 56rem) { .page-head .london-mark { display: block; } }
.v2-copy .london-mark { width: 128px; margin-bottom: 0.6rem; }
