@import url("/css/fonts.css");
/* Colour roles follow docs/reference/colour-guide.md: one main colour (about half of
   every screen), one secondary (type and light surfaces), one accent kept to the
   main booking buttons (top bar, hero, payment). */
:root {
  /* Egyptian Blue, Ice White, Scarlet Red (chosen 1 Dec 2026) */
  --main: #051f3e; --main-2: #0b2b52; --main-3: #143866;
  --sec: #e9eef4; --sec-2: #d5dee8; --sec-ink: #5a6b80;
  --accent: #ec2f36; --accent-fill: #d91f2a; --on-accent: #ffffff;
}

/* The public site uses the Egyptian Blue dark palette exclusively. */
:root {
  --paper: var(--main); --paper-2: var(--main-2); --card: var(--main-2);
  --ink: var(--sec); --ink-2: color-mix(in oklab, var(--sec) 80%, var(--main));
  --ink-3: color-mix(in oklab, var(--sec) 68%, var(--main));
  --rule: var(--main-3); --seat: var(--sec); --seat-empty: var(--main-3);
  --warn-bg: #3d2a0c; --warn-ink: #ffd08a;
  --display: "Ranade", Arial, sans-serif;
  --text: "Ranade", Arial, sans-serif;
  --max: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: var(--main); color: var(--sec); border-bottom: 1px solid var(--main-3); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.mark { font-family: var(--display); font-weight: 800; font-size: 22px; text-decoration: none; text-transform: uppercase; }
.top nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.top nav a { text-decoration: none; color: color-mix(in oklab, var(--sec) 78%, var(--main)); }
.top nav a:hover { color: var(--sec); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .top nav a:not(.btn) { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  font: 600 15px/1 var(--text); padding: 14px 22px; border-radius: 999px; background: var(--accent-fill); color: var(--on-accent); }
.btn:hover { filter: brightness(1.08); }
.btn.small { padding: 10px 14px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); filter: none; }
.btn[disabled] { cursor: not-allowed; background: transparent; color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--rule); filter: none; }

/* Hero */
.hero { position: relative; background: var(--main); color: var(--sec); }
.hero .facts { border-top-color: var(--sec); }
.hero .facts li { color: color-mix(in oklab, var(--sec) 75%, var(--main)); }
.hero .facts b { color: var(--sec); }
.hero-grid { display: grid; grid-template-columns: 5fr 7fr; min-height: min(78vh, 720px); }
.hero-copy { padding: 64px 40px 48px 0; display: flex; flex-direction: column; justify-content: flex-end; }
.hero h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(76px, 12vw, 176px); line-height: .82; margin: 0 0 28px; }
.hero h1 span { display: block; overflow: hidden; }
.hero h1 span i { display: block; font-style: normal; transform: translateY(105%); animation: rise .9s cubic-bezier(.2, .7, .1, 1) forwards; }
.hero h1 span + span i { animation-delay: .12s; }
@keyframes rise { to { transform: none; } }
.hero .what { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.3; margin: 0 0 28px; max-width: 30ch; }
.hero .what b { font-weight: 700; }
.facts { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(4, auto); border-top: 1px solid var(--ink); }
.facts li { padding: 12px 16px 0 0; font-size: 14px; color: var(--ink-2); }
.facts b { display: block; font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--ink); line-height: 1.1; }
.hero-photo { position: relative; margin-right: calc((100vw - min(100vw, var(--max))) / -2 - 24px); overflow: hidden; background: var(--paper-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 0%; clip-path: inset(0 0 0 100%); animation: wipe 1.1s .15s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
.credit { position: absolute; right: 10px; bottom: 8px; font-size: 11px; color: #fff; opacity: .8; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; margin: 0 -24px; aspect-ratio: 4 / 3; }
  .hero-copy { padding: 32px 0 40px; }
  .facts { grid-template-columns: repeat(2, 1fr); row-gap: 12px; }
}
@media (max-width: 640px) { .hero-photo { margin: 0 -16px; } }

/* Sections: a label column and a content column, ruled */
section.band { border-bottom: 1px solid var(--rule); padding: 72px 0; }
.band .grid { display: grid; grid-template-columns: 3fr 9fr; gap: 40px; }
.band h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(30px, 3.4vw, 44px); line-height: .95; margin: 0; position: sticky; top: 84px; }
.band h2 small { display: block; font: 500 14px/1.4 var(--text); text-transform: none; color: var(--ink-3); margin-top: 12px; }
.lede { font-size: clamp(20px, 2vw, 24px); line-height: 1.4; margin: 0 0 32px; max-width: 40ch; }
@media (max-width: 860px) { .band .grid { grid-template-columns: 1fr; gap: 20px; } .band h2 { position: static; } section.band { padding: 52px 0; } }

.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.rows > li { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.rows > li h3 { margin: 0; font-size: 18px; font-weight: 700; }
.rows > li p { margin: 0; color: var(--ink-2); }
.rows .yr { font-family: var(--display); font-weight: 700; font-size: 22px; }
@media (max-width: 640px) { .rows > li { grid-template-columns: 1fr; gap: 6px; } }

.bio { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.bio figure { margin: 0; }
.bio figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 10%; }
.bio figcaption { font-size: 12px; color: var(--ink-3); margin-top: 8px; }
@media (max-width: 860px) { .bio { grid-template-columns: 1fr; } .bio figure { max-width: 320px; } }

.draft { display: inline-block; font-size: 12px; color: var(--warn-ink); background: var(--warn-bg); padding: 2px 8px; border-radius: 2px; margin-left: 8px; vertical-align: middle; }

/* Timetable */
.tt-head { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; margin-bottom: 20px; color: var(--ink-2); font-size: 15px; }
.tt-head b { color: var(--ink); }
.timetable { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.day { background: var(--card); border-radius: 16px; overflow: hidden; }
.day h3 { margin: 0; padding: 16px 16px 12px; font-family: var(--display); font-size: 20px; text-transform: uppercase; font-weight: 800; }
.slot { padding: 16px; border-top: 1px solid var(--rule); display: grid; gap: 10px; }
.slot .time { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1; }
.slot .local { font-size: 13px; color: var(--ink-3); min-height: 1em; }
.seats { display: flex; gap: 5px; }
.seats i { width: 14px; height: 14px; border-radius: 50%; background: var(--seat-empty); transition: background .3s; }
.seats i.on { background: var(--seat); }
.slot .left { font-size: 14px; color: var(--ink-2); }
.slot.full .time, .slot.closed .time { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 2px; }
.slot.few .left { color: var(--ink); font-weight: 700; }
@media (max-width: 900px) { .timetable { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .timetable { grid-template-columns: 1fr; } .slot { grid-template-columns: 1fr auto; align-items: center; } .slot .btn { grid-row: span 3; } }
.tt-empty { padding: 32px; border: 1px dashed var(--rule); color: var(--ink-2); }

.notice { padding: 14px 18px; background: var(--warn-bg); color: var(--warn-ink); margin: 0 0 24px; border-radius: 3px; }

/* Videos */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video button { all: unset; cursor: pointer; display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000 center / cover no-repeat; }
.video button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 44px; margin: -22px 0 0 -32px; border-radius: 8px; background: rgba(0,0,0,.75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='white'/%3E%3C/svg%3E") center / 26px no-repeat; }
.video button:hover::after { background-color: var(--accent); }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.video p { margin: 10px 0 0; font-size: 14px; color: var(--ink-2); }
.video p b { color: var(--ink); display: block; font-size: 15px; }
@media (max-width: 860px) { .videos { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 26px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); max-width: 65ch; }
.faq details > div p { margin: 0 0 10px; }

.policy { max-width: 68ch; color: var(--ink-2); }
.policy h3 { color: var(--ink); font-size: 17px; margin: 24px 0 6px; }
.policy p, .policy li { margin: 0 0 8px; }

footer { padding: 40px 0 60px; font-size: 13px; color: var(--ink-3); }
footer .wrap { display: grid; gap: 10px; }
footer a { color: var(--ink-2); }

/* Booking dialog */
dialog { border: 0; padding: 0; width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); background: var(--card); color: var(--ink); border-radius: 16px; }
dialog::backdrop { background: rgba(10, 11, 14, .6); }
.dlg { padding: 28px; }
.dlg header { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--rule); padding-bottom: 16px; }
.dlg header h2 { margin: 0; font-family: var(--display); text-transform: uppercase; font-weight: 800; font-size: 28px; line-height: 1; }
.dlg header p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }
.x { all: unset; cursor: pointer; font-size: 28px; line-height: 1; padding: 0 4px; color: var(--ink-2); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .field legend { font-size: 14px; font-weight: 600; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select {
  font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid var(--rule); border-radius: 3px; background: var(--paper); color: var(--ink); width: 100%; }
.field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select { border-radius: 10px; }
.field .err { color: var(--warn-ink); font-size: 13px; min-height: 0; }
.check { display: flex; gap: 10px; align-items: start; font-size: 15px; margin-bottom: 12px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); flex: none; }
fieldset.field { border: 0; padding: 0; margin: 0 0 14px; }
.pay-choice { display: grid; gap: 8px; }
.pay-choice label { display: flex; gap: 10px; align-items: center; border: 1px solid var(--rule); padding: 12px; border-radius: 12px; font-weight: 500; cursor: pointer; }
.pay-choice label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pay-choice small { color: var(--ink-3); display: block; font-weight: 400; }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--ink); padding-top: 14px; margin-top: 6px; }
.total b { font-family: var(--display); font-size: 30px; }
.dlg .btn { width: 100%; margin-top: 16px; padding: 16px; font-size: 16px; }
.fine { font-size: 13px; color: var(--ink-3); margin: 12px 0 0; }
.hp { position: absolute; left: -9999px; }

/* Simple pages (confirmation, demo checkout) */
.page { max-width: 640px; margin: 0 auto; padding: 56px 24px 80px; }
.page h1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 7vw, 64px); line-height: .9; margin: 0 0 20px; }
.page .card { background: var(--card); padding: 24px; border-radius: 16px; margin: 24px 0; }
.page ol, .page ul { padding-left: 20px; }
.spin { width: 22px; height: 22px; border: 3px solid var(--rule); border-top-color: var(--ink); border-radius: 50%; animation: spin 1s linear infinite; display: inline-block; vertical-align: middle; margin-right: 10px; }
@keyframes spin { to { transform: rotate(360deg); } }

section[id] { scroll-margin-top: 64px; }

/* Twelve red buttons would spend the whole accent budget. The slot buttons use the
   main/secondary pair; red stays on the top "Book a place", the hero button and "Continue to payment". */
.slot .btn { background: var(--ink); color: var(--paper); }
.slot .btn:hover { background: var(--accent-fill); color: var(--on-accent); filter: none; }
.slot .btn[disabled] { background: transparent; color: var(--ink-3); }

/* Club badges: drawn roundels in club colours. Put an official badge file at
   /img/badges/<club>.png (square, transparent) and it covers the roundel automatically. */
.career .club { display: flex; gap: 14px; align-items: center; }
.career .badges { display: flex; gap: 6px; flex: none; }
.badge { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c1); color: var(--c2); box-shadow: inset 0 0 0 2px var(--c2), 0 0 0 1px var(--rule);
  font: 800 11px/1 var(--display); }
.badge img { position: absolute; inset: -2px; width: calc(100% + 4px); height: calc(100% + 4px); object-fit: contain; background: var(--paper); border-radius: 50%; }
.career .yr { align-self: center; }
.bio figure img { height: auto; }
.career > li { grid-template-columns: 56px 1fr; align-items: center; }
@media (max-width: 640px) { .career > li { grid-template-columns: 1fr; } }
/* With reduced motion, show the name and photo straight away instead of animating them in. */
@media (prefers-reduced-motion: reduce) {
  .hero h1 span i { transform: none; }
  .hero-photo img { clip-path: none; }
}

/* ---------- Motion and the career band ---------- */

/* Headings rise out of a mask when they come into view. */
.reveal-line > span { display: block; overflow: hidden; padding-bottom: .04em; }
.reveal-line > span > i { display: block; font-style: normal; transform: translateY(110%); transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
.reveal-line > span + span > i { transition-delay: .08s; }
.reveal-line.in > span > i { transform: none; }

/* Photos wipe in from the left. */
.wipe img { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s cubic-bezier(.6, 0, .2, 1); }
.wipe.in img { clip-path: inset(0 0 0 0); }

/* Hero photo drifts slower than the page. */
.hero-photo img { will-change: transform; }

/* The four weeks: big numbers, and a rule that draws under each week. */
.weeks > li { position: relative; align-items: center; }
.weeks > li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.16, 1, .3, 1); }
.weeks > li.in::after { transform: scaleX(1); }
.yr.wk { font: 900 clamp(56px, 7vw, 92px)/.85 var(--display); color: var(--ink); }
.yr.wk small { display: block; font: 600 13px/1.4 var(--text); color: var(--ink-3); }
.weeks > li > p { font-size: 18px; }

/* Career band: pinned while the badges slide past (desktop); swipe on phones. */
.career-band { background: var(--main); color: var(--sec); position: relative; }
.career-pin { position: sticky; top: 0; height: 100vh; min-height: 640px; display: flex; flex-direction: column; justify-content: center; gap: 28px; overflow: hidden; padding: 70px 0 30px; }
.career-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.career-head h2 { font: 900 clamp(48px, 7vw, 104px)/.86 var(--display); text-transform: uppercase; margin: 0; color: var(--sec); }
.stats { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; flex-wrap: wrap; }
.stats li { font-size: 13px; color: color-mix(in oklab, var(--sec) 70%, var(--main)); width: 92px; line-height: 1.3; }
.stats b { display: block; font: 900 clamp(44px, 5vw, 68px)/1 var(--display); color: var(--sec); height: 1em; overflow: hidden; margin-bottom: 4px; }
.stats li:first-child b { color: var(--accent); }
.stats b.odo { display: flex; }
.odo .reel { display: block; transition: transform 1.6s cubic-bezier(.16, 1, .3, 1); }
.odo .reel span { display: block; height: 1em; }

.career-track-wrap { overflow: visible; }
.career-track { list-style: none; margin: 0; padding: 0 0 0 max(24px, calc((100vw - var(--max)) / 2 + 24px)); display: flex; gap: 18px; will-change: transform; }
.club-card { flex: 0 0 290px; min-height: 360px; background: var(--main-2); border-radius: 16px; padding: 30px 26px 26px; position: relative; overflow: hidden; }
.club-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--c1); box-shadow: 0 0 0 1px var(--c2) inset; }
.club-card .yrs { font: 900 44px/1 var(--display); margin: 26px 0 8px; color: var(--sec); }
.club-card h3 { margin: 0 0 8px; font-size: 21px; color: var(--sec); }
.club-card p:last-child { margin: 0; font-size: 14px; line-height: 1.4; color: color-mix(in oklab, var(--sec) 70%, var(--main)); }
.crest { width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: var(--c1); color: var(--c2); box-shadow: inset 0 0 0 4px var(--c2);
  font: 900 32px/1 var(--display); transform: scale(.55) rotate(-12deg); opacity: 0;
  transition: transform .9s cubic-bezier(.34, 1.56, .64, 1), opacity .5s ease; }
.club-card.in .crest { transform: none; opacity: 1; }
.crest:has(img) { background: #f4f6f9; box-shadow: none; }
.crest:has(img) span { display: none; }
.crest img { width: 76%; height: 76%; object-fit: contain; }
.career-progress { height: 2px; background: var(--main-3); border-radius: 2px; overflow: hidden; }
.career-progress i { display: block; height: 100%; width: 100%; background: var(--sec); transform: scaleX(0); transform-origin: left; }

@media (max-width: 800px), (prefers-reduced-motion: reduce) {
  .career-pin { position: static; height: auto; min-height: 0; padding: 56px 0 40px; }
  .career-track-wrap { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .career-track-wrap::-webkit-scrollbar { display: none; }
  .career-track { padding-right: 24px; transform: none !important; }
  .club-card { scroll-snap-align: start; flex-basis: 220px; }
  .career-progress { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-line > span > i, .crest, .wipe img { transform: none; opacity: 1; clip-path: none; transition: none; }
  .weeks > li::after { transform: scaleX(1); transition: none; }
}
@media (max-width: 800px) { .club-card .yrs { font-size: 34px; white-space: nowrap; } .club-card { flex-basis: 240px; min-height: 0; } .crest { width: 120px; height: 120px; } }

/* ---------- More pictures ---------- */

/* Career cards: a picture (or the club's colour) on top, the badge overlapping it. */
.club-card { padding: 0 0 24px; }
.club-card::before { display: none; }
.club-card .media { height: 240px; background: var(--main-3); overflow: hidden; position: relative; }
/* People photos sit at the top of the frame and are never zoomed, so no head is cut off. */
.club-card .media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; filter: saturate(.9); }
.club-card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, color-mix(in oklab, var(--main-2) 85%, transparent)); }
.club-card .media.plain { background: linear-gradient(135deg, var(--c1), color-mix(in oklab, var(--c1) 55%, var(--main))); }
.club-card .media.plain::after { background: radial-gradient(circle at 80% 20%, color-mix(in oklab, var(--c2) 30%, transparent), transparent 60%); }
.club-card .crest { margin: -42px 0 0 22px; position: relative; z-index: 1; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.club-card .crest:has(img) { box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.club-card .yrs, .club-card h3, .club-card p:last-child { padding: 0 24px; }
.club-card .yrs { margin-top: 18px; }

/* Bio photo grid */
.bio { grid-template-columns: 1fr 1fr; }
.bio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bio-grid figure { margin: 0; position: relative; overflow: hidden; border-radius: 16px; background: var(--paper-2); }
.bio-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bio-grid .g-tall { aspect-ratio: 3 / 4; }
.bio-grid .g-tall img { object-position: 50% 0%; }
.bio-grid .g-wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.bio-grid figcaption { position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(5, 31, 62, .72); padding: 4px 9px; border-radius: 999px; }
@media (max-width: 860px) { .bio { grid-template-columns: 1fr; } }

/* Full-width photo band */
.photo-band { position: relative; height: min(78vh, 720px); min-height: 420px; overflow: hidden; background: var(--main); color: #fff; }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 22% 0%; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 35%, rgba(5, 31, 62, .82) 75%); }
.photo-band .wrap { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end; text-align: right; padding-bottom: 56px; }
.photo-band p { font: 900 clamp(48px, 8vw, 120px)/.86 var(--display); text-transform: uppercase; margin: 0 0 14px; }
.photo-band p > span + span > i { color: var(--accent); }
.photo-band small { font-size: 12px; opacity: .8; }
@media (max-width: 700px) {
  .photo-band { height: 70vh; }
  .photo-band img { object-position: 12% 0%; }
  .photo-band::after { background: linear-gradient(180deg, transparent 30%, rgba(5, 31, 62, .88) 80%); }
  .photo-band .wrap { align-items: flex-start; text-align: left; }
}

/* ---------- Booking calls to action ---------- */
.hero-live { display: flex; align-items: center; gap: 10px; font-size: 15px; margin: 0 0 18px; color: color-mix(in oklab, var(--sec) 80%, var(--main)); }
.hero-live b { color: var(--sec); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 70%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 0; }
.hero-ctas .btn { padding: 16px 26px; font-size: 16px; }
.btn.ghost-light { background: transparent; color: var(--sec); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--sec) 60%, transparent); }
.btn.ghost-light:hover { background: var(--sec); color: var(--main); filter: none; }

.cta-strip { background: var(--main); color: var(--sec); padding: 34px 0; border-top: 1px solid var(--main-3); }
.cta-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; }
.cta-strip p { margin: 0; font: 900 clamp(26px, 3.2vw, 40px)/1.02 var(--display); text-transform: uppercase; max-width: 26ch; }
.cta-strip p b { color: var(--accent); font-weight: 900; }
.cta-live { display: block; font: 500 14px/1.4 var(--text); text-transform: none; margin-top: 8px; color: color-mix(in oklab, var(--sec) 75%, var(--main)); }
.cta-live b { color: var(--sec) !important; }
.cta-strip .btn { padding: 18px 30px; font-size: 17px; }

.book-bar { position: fixed; z-index: 30; left: 50%; bottom: 16px; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 16px;
  background: var(--main); color: var(--sec); padding: 8px 8px 8px 20px; border-radius: 999px; box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
  font-size: 14px; white-space: nowrap; transition: transform .45s cubic-bezier(.16, 1, .3, 1); border: 1px solid var(--main-3); }
.book-bar.show { transform: translate(-50%, 0); }
.book-bar .btn { padding: 12px 20px; }
@media (max-width: 640px) { .book-bar { left: 12px; right: 12px; transform: translateY(140%); justify-content: space-between; } .book-bar.show { transform: none; } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

/* The Falcons badge is a tall oval: give it more of the circle. */
.crest img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; }
.crest img[src*="arabian-falcons"] { inset: 6%; width: 88%; height: 88%; }

/* Club photos: shown whole (no head, ball or feet cut off), over a soft blurred copy of
   the same picture so every card is filled. The badge sits below the photo, not on it. */
.club-card .media { height: 250px; background: var(--main-3); }
.club-card .media::before { content: ""; position: absolute; inset: -20px; background: var(--bg) center / cover no-repeat; filter: blur(18px) brightness(.7); }
.club-card .media::after { display: none; }
.club-card .media img { position: relative; object-fit: contain; object-position: 50% 50%; filter: none; }
.club-card .crest { margin: 18px 0 0 22px; width: 96px; height: 96px; }
.club-card .yrs { margin-top: 14px; }
@media (max-width: 800px) { .club-card .crest { width: 84px; height: 84px; } .club-card .media { height: 220px; } }
/* Bio photos: whole picture over a blurred copy, so no head is ever cut off. */
.bio-grid figure::before { content: ""; position: absolute; inset: -20px; background: var(--bg) center / cover no-repeat; filter: blur(16px) brightness(.75); }
.bio-grid img { position: relative; object-fit: contain !important; object-position: 50% 50% !important; }
.bio-grid img { position: absolute !important; inset: 0; width: 100%; height: 100% !important; }
.bio-grid figcaption { z-index: 1; }

/* Hero slideshow: four coaching photos fade from one to the next. Always anchored at the
   top of the photo so his head is never cut off; no zoom. */
.hero-photo .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; overflow: hidden; }
.hero-photo .slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transform: none !important; }
/* Wide match photos: shown whole over a blurred copy, so no head or ball is cut off. */
.hero-photo .slide.fit::before { content: ""; position: absolute; inset: -30px; background: var(--bg) center / cover no-repeat; filter: blur(22px) brightness(.6); }
.hero-photo .slide.fit img { object-fit: contain; object-position: 50% 50%; }
.hero-photo .slide.on { opacity: 1; }
.slide-bars { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; gap: 6px; z-index: 2; }
.slide-bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .35); position: relative; overflow: hidden; }
.slide-bars i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.slide-bars i.done::after { transform: scaleX(1); }
.slide-bars i.now::after { transform: scaleX(1); transition: transform 5s linear; }
@media (max-width: 900px) { .hero-photo { aspect-ratio: 1 / 1; } }

/* Photo quality and responsive presentation. Keep the complete original frame. */
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; background: var(--sec); color: var(--main); padding: 12px 20px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.top nav { align-items: center; }
.top nav a.btn { color: var(--on-accent); }
.hero-grid { grid-template-columns: 1fr 1fr; min-height: 700px; }
.hero-copy { padding: 48px 40px 48px 0; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 28px; color: var(--sec-2); }
.hero h1 { font-size: clamp(88px, 11vw, 156px); }
.hero .what { font-size: clamp(20px, 1.9vw, 24px); }
.hero .facts { grid-template-columns: repeat(4, 1fr); border-top-color: var(--main-3); gap: 8px; }
.hero .facts li { padding-right: 0; }
.hero .facts b { font-size: 34px; margin-bottom: 6px; }
.hero-live { display: block; line-height: 1.7; font-size: 14px; }
.hero-photo { margin-right: 0; background: var(--main-2); }
.hero-photo .slide { bottom: 88px; }
.hero-photo .slide::before { content: ""; position: absolute; inset: -24px; background: var(--bg) center / cover no-repeat; filter: blur(22px) brightness(.45); }
.hero-photo .slide img, .hero-photo .slide.fit img { object-fit: contain; object-position: 50% 0%; clip-path: none; animation: none; will-change: auto; }
.photo-controls { position: absolute; inset: auto 0 0; min-height: 88px; padding: 14px 16px; background: var(--main-2); display: flex; align-items: center; justify-content: space-between; gap: 12px; z-index: 3; }
.photo-caption { margin: 0; font-size: 14px; line-height: 1.4; }
.photo-caption small { display: block; color: var(--sec-2); font-size: 12px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.photo-actions { display: flex; gap: 4px; }
.photo-actions button, .career-controls button { font: 500 14px/1 var(--text); border: 1px solid #60748b; color: var(--sec); background: transparent; border-radius: 6px; min-height: 44px; padding: 10px; cursor: pointer; }
.photo-actions button:hover, .career-controls button:hover { background: var(--main-3); }
.career-controls button:disabled { opacity: .4; cursor: default; }
.day { border: 1px solid var(--rule); }
.day h3 { font-size: 26px; padding: 20px 16px 16px; }
.slot .time { font-size: 30px; }
.slot .local { font-size: 14px; }
.slot .btn { min-height: 44px; }
.photo-band { display: grid; grid-template-columns: 3fr 2fr; align-items: center; height: auto; min-height: 0; max-width: 1600px; margin: 0 auto; }
.photo-band img { position: static; width: 100%; height: auto; object-fit: contain; }
.photo-band::after { display: none; }
.photo-band .wrap { padding: 40px; align-items: flex-start; text-align: left; justify-content: center; }
.photo-band p { font-size: clamp(48px, 6vw, 88px); }
.photo-band p > span + span > i, .stats li:first-child b, .cta-strip p b { color: var(--sec); }
.photo-band small { font-size: 14px; }
.weeks > li::after { background: var(--ink); }
.career-pin { position: static; height: auto; min-height: 0; padding: 64px 0 36px; gap: 32px; }
.career-head { width: 100%; }
.career-track-wrap { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: max(24px, calc((100vw - var(--max)) / 2 + 24px)); scrollbar-width: thin; scrollbar-color: #60748b var(--main); padding-bottom: 16px; }
.career-track { transform: none; padding-right: max(24px, calc((100vw - var(--max)) / 2 + 24px)); will-change: auto; }
.club-card { scroll-snap-align: start; flex-basis: 290px; border: 1px solid var(--main-3); }
.club-card .media { height: 250px; }
.club-card .media img { object-position: 50% 0%; }
.career-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }
.career-controls p { font-size: 14px; margin: 0; color: var(--sec-2); }
.career-controls > div { display: flex; gap: 8px; }
.stats li { font-size: 14px; }
.stats b.odo { display: block; }
.bio-grid figcaption { position: relative; left: auto; bottom: auto; margin: 0; border-radius: 0; font-size: 13px; padding: 8px 10px; background: var(--main-2); }
.bio-grid figure { display: flex; flex-direction: column; aspect-ratio: auto; }
.bio-grid img { position: relative !important; flex: 1; min-height: 0; height: 200px !important; }
.bio-grid .g-wide img { height: 220px !important; }
.bio-grid figure::before { inset: 0; }
.bio-grid img { object-position: 50% 0% !important; }
footer { font-size: 14px; }
.field input:focus, .field select:focus { outline-color: var(--ink); }
.video button:hover::after { background-color: var(--main-3); }
.reveal-line > span > i { transform: none; }
.wipe img { clip-path: none; }
.crest { opacity: 1; transform: none; }
@media (max-width: 1000px) and (min-width: 901px) { .photo-controls { flex-wrap: wrap; } .hero-photo .slide { bottom: 122px; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1fr; min-height: 0; gap: 24px; }
  .hero-copy { padding: 36px 0; }
  .hero h1 { font-size: clamp(80px, 12vw, 120px); }
  .hero-photo { order: 0; margin: 0; aspect-ratio: auto; }
  .hero .facts { grid-template-columns: repeat(2, 1fr); }
  .photo-controls { flex-direction: column; align-items: flex-start; }
  .hero-photo .slide { bottom: 122px; }
  .photo-band { grid-template-columns: 1fr; }
  .photo-band .wrap { width: 100%; padding: 30px 24px; }
  .photo-band p { font-size: 56px; }
}
@media (max-width: 640px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 32px 0; }
  .hero h1 { font-size: clamp(82px, 24vw, 136px); }
  .hero h1 span { display: inline-block; margin-right: .1em; }
  .eyebrow { margin-bottom: 22px; }
  .hero .facts { grid-template-columns: repeat(4, 1fr); margin-bottom: 20px; }
  .hero .facts li { font-size: 13px; }
  .hero .facts b { font-size: 30px; }
  .hero .what { max-width: 36ch; }
  .hero-photo { order: 0; margin: 0 -16px; height: 510px; }
  .hero-photo .slide { bottom: 88px; }
  .photo-controls { flex-direction: row; align-items: center; }
  .photo-caption { max-width: 150px; }
  .photo-band .wrap { padding: 28px 16px; }
  .photo-band p { font-size: 48px; }
  .slot { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .slot .time, .slot .local, .slot .seats, .slot .left { grid-column: 1; }
  .slot .btn { grid-column: 2; grid-row: 1 / 5; }
  .career-head { gap: 24px; }
  .stats { gap: 18px; }
  .stats li { width: 64px; font-size: 13px; }
  .club-card { flex-basis: 270px; }
  .career-controls { align-items: flex-start; }
  .career-controls p { max-width: 16ch; }
  .book-bar { bottom: max(12px, env(safe-area-inset-bottom)); }
  .dlg { padding: 22px; }
  .bio figure { max-width: none; }
}
@media (max-width: 360px) { .photo-controls { padding: 10px; gap: 6px; } .photo-actions button { padding: 8px; font-size: 13px; } }

#main { scroll-margin-top: 60px; }
.hero-photo .slide.fit img { object-position: 50% 50%; }

/* Programme at a glance: football illustrations and readable audience cards. */
.section-intro { display: grid; grid-template-columns: 1fr 1.35fr; gap: 48px; align-items: end; margin-bottom: 32px; }
.band .section-intro h2, .booking-heading h2 { position: static; font-size: clamp(48px, 6vw, 80px); line-height: .9; }
.section-intro > p { margin: 0; max-width: 54ch; color: var(--ink-2); font-size: 19px; }
.audience-grid, .week-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.audience-card { background: var(--main-2); border: 1px solid var(--main-3); border-radius: 14px; overflow: hidden; }
.audience-art { height: 150px; display: grid; place-items: center; background: var(--main-3); border-bottom: 1px solid #345172; }
.audience-art img { width: 220px; height: 140px; }
.audience-copy { padding: 24px; }
.card-kicker { font-size: 13px; font-weight: 600; letter-spacing: .045em; text-transform: uppercase; color: #b8c9dd; margin: 0 0 12px; }
.audience-copy h3, .week-copy h3 { font: 800 36px/.98 var(--display); text-transform: uppercase; margin: 0 0 16px; }
.audience-copy > p:last-child, .week-copy > p:last-child { font-size: 16px; color: var(--ink-2); margin: 0; line-height: 1.6; }
#weeks { background: #082544; }
.week-card { border: 1px solid #345172; border-radius: 14px; overflow: hidden; background: var(--main); display: flex; flex-direction: column; }
.week-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 20px 20px 0; }
.week-label { font: 800 28px/1 var(--display); text-transform: uppercase; }
.week-duration { font-size: 13px; color: #b8c9dd; }
.week-art { width: 100%; height: 150px; margin: 12px 0; }
.week-copy { padding: 0 24px 28px; }
.week-copy h3 { min-height: 2em; }
.weeks-note { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 24px; }
.weeks-note p { margin: 0; font-size: 16px; color: var(--ink-2); }
.weeks-note .draft { flex-shrink: 0; margin: 0; font-size: 13px; }

/* A dedicated booking area with explicit price, dates and checkout steps. */
section.booking-section { padding: 80px 0; }
.booking-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.booking-heading h2 { margin: 0 0 20px; }
.booking-heading > div > p:last-child { margin: 0; font-size: 17px; color: var(--ink-2); max-width: 42ch; }
.booking-price { text-align: right; flex-shrink: 0; border-left: 1px solid #345172; padding-left: 36px; }
.booking-price > span { font: 800 72px/1 var(--display); }
.booking-price p { font-size: 14px !important; margin: 8px 0 0 !important; }
.booking-panel { border: 1px solid #45617e; border-radius: 18px; overflow: hidden; background: var(--main-2); box-shadow: 0 16px 36px #0002; }
.booking-steps { display: flex; list-style: none; gap: 28px; margin: 0; padding: 20px 28px; background: var(--main-3); border-bottom: 1px solid #45617e; }
.booking-steps li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #c2d0e0; }
.booking-steps li[aria-current] { color: var(--sec); font-weight: 700; }
.booking-steps span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #7e94ad; border-radius: 50%; font-size: 14px; }
.booking-steps [aria-current] span { background: var(--sec); color: var(--main); border-color: var(--sec); }
.booking-body { padding: 28px; }
.booking-section .tt-head { margin-bottom: 24px; gap: 10px 24px; font-size: 15px; }
.booking-section .day { background: var(--main); border: 1px solid #345172; border-radius: 10px; }
.booking-section .day h3 { background: #143866; font-size: 30px; padding: 18px; }
.day h3 small { font: 400 14px/1.5 var(--text); display: block; text-transform: none; color: #c2d0e0; margin-top: 5px; }
.booking-section .slot { padding: 18px; gap: 12px; border-top: 1px solid #345172; }
.booking-section .slot .time { font-size: 36px; }
.booking-section .slot .btn { background: var(--accent-fill); color: var(--on-accent); border-radius: 7px; font-size: 15px; }
.booking-section .slot .btn:hover { background: var(--accent); }
.booking-section .slot .btn:disabled { background: transparent; color: var(--ink-3); }
.booking-section .seats { gap: 6px; }
.booking-section .seats i { width: 12px; height: 12px; border-radius: 3px; }
.booking-footer { padding: 24px 28px; border-top: 1px solid #345172; display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; }
.booking-footer p { font-size: 14px; color: #c2d0e0; margin: 0; }
.booking-footer b { display: block; margin-bottom: 6px; color: var(--sec); }
.booking-footer a { display: inline-block; text-underline-offset: 3px; margin-top: 6px; }
@media (max-width: 1050px) { .audience-grid, .week-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .week-copy h3 { min-height: 0; } }
@media (max-width: 860px) { .section-intro { grid-template-columns: 1fr; gap: 24px; } .booking-heading { align-items: start; } .booking-price { padding-left: 24px; } .booking-heading h2 { font-size: 64px; } }
@media (max-width: 640px) {
  .section-intro { gap: 20px; margin-bottom: 24px; }
  .section-intro > p { font-size: 17px; }
  .audience-grid, .week-grid { grid-template-columns: 1fr; gap: 14px; }
  .audience-card { display: grid; grid-template-columns: 96px 1fr; }
  .audience-art { height: 100%; border: 0; border-right: 1px solid #345172; }
  .audience-art img { width: 96px; height: 100px; }
  .audience-copy { padding: 22px 18px; }
  .audience-copy h3 { font-size: 32px; margin-bottom: 12px; }
  .audience-copy .card-kicker { font-size: 12px; }
  .week-card { display: grid; grid-template-columns: 100px 1fr; }
  .week-top { grid-column: 1 / -1; padding: 18px 20px; background: var(--main-2); border-bottom: 1px solid #345172; }
  .week-art { width: 100px; height: 100px; margin: 16px 0 0; }
  .week-copy { padding: 24px 20px 24px 0; }
  .week-copy h3 { font-size: 32px; }
  .weeks-note { flex-direction: column; align-items: flex-start; gap: 12px; }
  .booking-heading { flex-direction: column; align-items: stretch; gap: 24px; }
  .booking-heading h2 { font-size: 64px; }
  .booking-price { border: 0; border-top: 1px solid #345172; padding: 20px 0 0; display: flex; align-items: center; gap: 20px; text-align: left; }
  .booking-price > span { font-size: 64px; }
  .booking-price p { margin: 0 !important; }
  .booking-steps { padding: 16px; gap: 12px; justify-content: space-between; }
  .booking-steps li { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 13px; }
  .booking-body { padding: 20px 14px; }
  .booking-section .tt-head { flex-direction: column; margin-bottom: 20px; }
  .booking-section .slot { padding: 16px 12px; gap: 8px 10px; }
  .booking-section .slot .btn { padding: 13px; }
  .booking-footer { padding: 20px; grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Phone polish (1 Dec 2026) ---------- */
/* Small labels in sentence case, no letter spacing: spaced capitals read as machine made. */
.card-kicker, .eyebrow { text-transform: none !important; letter-spacing: 0 !important; font-weight: 600; }

@media (max-width: 640px) {
  /* Illustrated cards: picture above the words, so the text gets the full width. */
  .audience-card, .week-card { grid-template-columns: 1fr !important; }
  .audience-card .audience-art { border-right: 0 !important; border-bottom: 1px solid var(--rule); padding: 14px 18px !important; justify-content: flex-start !important; }
  .audience-card .audience-art img, .week-card .week-art { width: 120px !important; height: auto !important; }
  .week-card .week-art { margin: 14px 18px 0 !important; justify-self: start; }
  .week-card > *, .audience-card > * { grid-column: 1 / -1 !important; }

  /* Timetable: one tight row per slot (time, Dubai time and places on the left, button on
     the right) so the whole week fits in far less scrolling. */
  .timetable .day h3 { padding: 12px 16px !important; }
  .timetable .day .slot { display: grid !important; grid-template-columns: 1fr auto !important; column-gap: 12px !important; row-gap: 1px !important; padding: 12px 16px !important; align-items: center; }
  .timetable .day .slot > .time { grid-column: 1; font-size: 26px !important; }
  .timetable .day .slot > .local, .timetable .day .slot > .left { grid-column: 1; font-size: 13px !important; margin: 0 !important; }
  .timetable .day .slot > .seats { display: none !important; }
  .timetable .day .slot > .btn { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
}
@media (max-width: 640px) { .week-card .week-copy { padding: 4px 18px 20px !important; } }

/* Dealing with agents */
.agent-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: agent; }
.agent-grid li { background: var(--main-2); border: 1px solid var(--main-3); border-top: 3px solid #b8c9dd; border-radius: 14px; padding: 24px; counter-increment: agent; }
.agent-grid li::before { content: counter(agent, decimal-leading-zero); display: block; font: 800 20px/1 var(--display); color: #b8c9dd; margin-bottom: 14px; }
.agent-grid h3 { font: 800 28px/1 var(--display); text-transform: uppercase; margin: 0 0 12px; }
.agent-grid p { margin: 0; font-size: 16px; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 1050px) { .agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .agent-grid { grid-template-columns: 1fr; gap: 12px; } .agent-grid li { padding: 20px; } .agent-grid h3 { font-size: 24px; } }
