/* ============================================================
   ESCEM — Everton Supporters Club East Midlands
   Royal blue / deep navy, condensed display type, matchday feel.
   ============================================================ */

/* GT Pressura — the body font Everton use on evertonfc.com.
   Their "regular" file is the Light cut, paired with Bold for emphasis. */
/* WOFF2 first — a third of the size, which is the difference between the
   right font appearing instantly and a second of Arial Narrow on mobile
   data. TTF stays behind it for anything that can't read WOFF2. */
@font-face {
  font-family: "GT Pressura";
  src: url("../assets/fonts/gt-pressura-500.woff2") format("woff2"),
       url("../assets/fonts/gt-pressura-500.ttf") format("truetype");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GT Pressura";
  src: url("../assets/fonts/gt-pressura-700.woff2") format("woff2"),
       url("../assets/fonts/gt-pressura-700.ttf") format("truetype");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Everton Kit";
  src: url("../assets/fonts/everton-kit.woff2") format("woff2"),
       url("../assets/fonts/everton-kit.otf") format("opentype"),
       url("../assets/fonts/everton-kit.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #060b1f;
  --navy-900: #0a1230;
  --navy-800: #101b42;
  --navy-700: #16245a;
  --royal:    #003399;   /* Everton royal blue */
  --royal-hi: #2456d6;
  --sky:      #7ea6ff;
  --white:    #ffffff;
  --paper:    #f4f6fb;
  --ink:      #101b42;
  --gold:     #c9a24b;

  --font-display: "Everton Kit", "Arial Narrow", sans-serif;
  --font-body: "GT Pressura", "Inter", "Helvetica Neue", sans-serif;
  --font-cond: "GT Pressura", "Inter", "Helvetica Neue", sans-serif;

  --container: 1180px;
  --radius: 14px;
  --shadow-lg: 0 24px 60px -24px rgba(6, 11, 31, .45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

/* ---------- Type ---------- */

.section__kicker {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .32em;
  color: var(--royal);
  display: inline-block;
  margin-bottom: 18px;
}
.section__kicker--light { color: var(--sky); }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(50px, 6.7vw, 82px);
  line-height: .94;
  letter-spacing: .01em;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 26px;
}
.section__title--light { color: var(--white); }

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

.btn {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .14em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn--solid {
  background: var(--white);
  color: var(--navy-900);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .55);
}
.btn--solid:hover {
  transform: translateY(-2px);
  background: var(--royal-hi);
  color: var(--white);
}
.btn--ghost {
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, .55);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--white);
  background: rgba(255, 255, 255, .1);
}
.btn--lg { padding: 17px 36px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(6, 11, 31, .92), rgba(6, 11, 31, .78));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav__crest { width: 52px; height: 52px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.nav__brand-text strong {
  font-family: var(--font-display);
  font-size: 27px;
  letter-spacing: .06em;
  color: var(--white);
}
.nav__brand-text small {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .34em;
  color: var(--sky);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a:not(.btn) {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--white);
  transition: right .22s ease;
}
.nav__links a:not(.btn):hover { color: var(--white); }
.nav__links a:not(.btn):hover::after { right: 0; }
.btn--nav { padding: 11px 22px; font-size: 13px; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__burger span {
  width: 26px; height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav--open .nav__burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav--open .nav__burger span:nth-child(2) { opacity: 0; }
.nav--open .nav__burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  background: var(--navy-950);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../assets/hero-stadium.png") center 30% / cover no-repeat;
  animation: heroDrift 22s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.02) translateY(0); }
  to   { transform: scale(1.1) translateY(-14px); }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 11, 31, .78) 0%, rgba(6, 11, 31, .32) 40%, rgba(6, 11, 31, .88) 100%),
    linear-gradient(100deg, rgba(0, 51, 153, .55) 0%, rgba(0, 51, 153, 0) 55%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px 24px;
  width: 100%;
}
.hero__kicker {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .38em;
  color: var(--sky);
  margin-bottom: 18px;
  display: inline-block;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(68px, 11.6vw, 158px);
  line-height: .9;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .005em;
  text-shadow: 0 12px 50px rgba(0, 0, 0, .45);
}
.hero__title span { display: block; }
.hero__sub {
  max-width: 520px;
  margin: 26px 0 36px;
  font-size: clamp(17.5px, 1.9vw, 20.5px);
  font-weight: 500;
  color: rgba(255, 255, 255, .88);
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 90px;
  background: linear-gradient(180deg, transparent, var(--navy-950));
  z-index: 1;
}

/* ---------- Ticker ---------- */

.ticker {
  background: var(--royal);
  color: var(--white);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .15);
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  padding: 13px 0;
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: tickerScroll 30s linear infinite;
}
.ticker__track span {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: .12em;
  white-space: nowrap;
}
.ticker__turret {
  flex: none;
  width: 23px;
  height: 37px;
  background-color: var(--sky);
  -webkit-mask: url("../assets/turret.png") center / contain no-repeat;
          mask: url("../assets/turret.png") center / contain no-repeat;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}

/* ---------- About ---------- */

.about { background: var(--paper); position: relative; }
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}
.about__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -24px rgba(6, 11, 31, .35);
}
.about__copy p:not(.section__kicker) { margin-bottom: 16px; font-size: 18.5px; color: #3a4468; }
.about__badges {
  width: 100%;
  margin-top: 72px;
}

/* ---------- Fixtures ---------- */

.fixtures {
  background:
    linear-gradient(165deg, rgba(6, 11, 31, .96) 0%, rgba(11, 26, 82, .93) 50%, rgba(6, 11, 31, .96) 100%),
    url("../assets/photo-banners.jpg") center 35% / cover no-repeat;
  position: relative;
  overflow: hidden;
}
.fixtures__note, .membership__note {
  max-width: 520px;
  font-size: 18.5px;
  margin-bottom: 48px;
}
.fixtures__note { color: rgba(255, 255, 255, .75); }

.fixtures__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  position: relative;
  z-index: 2;
}

.fixture {
  background: linear-gradient(170deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.fixture:hover {
  transform: translateY(-6px);
  border-color: rgba(126, 166, 255, .5);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.fixture__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fixture__comp {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.fixture__pill {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .14em;
  padding: 5px 12px;
  border-radius: 999px;
}
.fixture__pill.on-sale    { background: rgba(64, 190, 120, .16); color: #63e6a4; border: 1px solid rgba(99, 230, 164, .35); }
.fixture__pill.last-seats { background: rgba(255, 176, 46, .14); color: #ffc95e; border: 1px solid rgba(255, 201, 94, .4); animation: pillPulse 1.6s ease-in-out infinite; }
.fixture__pill.sold-out   { background: rgba(255, 92, 92, .12); color: #ff8f8f; border: 1px solid rgba(255, 143, 143, .35); }
.fixture__pill.soon       { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .65); border: 1px solid rgba(255, 255, 255, .25); }
.fixture__pill.members    { background: rgba(126, 166, 255, .14); color: var(--sky); border: 1px solid rgba(126, 166, 255, .4); }
@keyframes pillPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 201, 94, .35); }
  50%      { box-shadow: 0 0 0 6px rgba(255, 201, 94, 0); }
}

.fixture__match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}
.fixture__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.fixture__team img { height: 64px; width: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.5)); }
.fixture__team span {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.25;
}
.fixture__vs {
  font-family: var(--font-display);
  font-size: 32px;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .45);
}
.fixture__date {
  text-align: center;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: .06em;
  color: var(--white);
  border-top: 1px dashed rgba(255, 255, 255, .18);
  padding-top: 16px;
}
.fixture__date small {
  display: block;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .55);
  margin-top: 4px;
}
.fixture .btn { margin-top: auto; }
.fixture .btn--solid.is-disabled {
  background: rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .5);
  pointer-events: none;
  box-shadow: none;
}

/* ---------- How it works ---------- */

.how {
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.how__turret {
  position: absolute;
  right: -160px; top: 0; bottom: 0;
  width: 440px;
  background-color: var(--royal);
  -webkit-mask: url("../assets/turret.png") right center / contain no-repeat;
          mask: url("../assets/turret.png") right center / contain no-repeat;
  pointer-events: none;
}
.how .container { position: relative; }
.how__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 46px;
  counter-reset: step;
}
.how__steps li {
  position: relative;
  background: var(--paper);
  border: 1px solid #e3e8f4;
  border-radius: var(--radius);
  padding: 78px 26px 28px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.how__steps li:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -28px rgba(16, 27, 66, .4);
}
.how__num {
  position: absolute;
  top: -14px; right: 10px;
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px #dbe3f5;
  pointer-events: none;
}
.how__steps h3 {
  font-family: var(--font-display);
  font-size: 27px;
  letter-spacing: .04em;
  color: var(--royal);
  margin-bottom: 10px;
}
.how__steps p { color: #3a4468; font-size: 17px; }

/* ---------- Gallery ---------- */

.gallery { background: var(--white); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 14px;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -26px rgba(6, 11, 31, .4);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 51, 153, .28), rgba(6, 11, 31, .42));
  mix-blend-mode: multiply;
  transition: opacity .35s ease;
}
.gallery__item:hover::after { opacity: 0; }
.gallery__item:hover img { transform: scale(1.05); }

/* ---------- Membership ---------- */

.membership {
  background: linear-gradient(200deg, var(--navy-900), var(--navy-950));
}
.membership__intro { text-align: center; }
.membership__note { color: rgba(255, 255, 255, .75); }
.membership .membership__note { margin-left: auto; margin-right: auto; }
.membership__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 440px));
  gap: 26px;
  justify-content: center;
}
.plan {
  background: linear-gradient(170deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.plan--featured {
  background: linear-gradient(170deg, rgba(36, 86, 214, .45), rgba(0, 51, 153, .25));
  border-color: rgba(126, 166, 255, .55);
}
.plan__flag {
  position: absolute;
  top: -13px; left: 28px;
  background: var(--gold);
  color: var(--navy-950);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .14em;
  padding: 6px 14px;
  border-radius: 999px;
}
.plan__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(255, 255, 255, .2);
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.plan__head h3 {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: .06em;
  color: var(--white);
}
.plan__price {
  font-family: var(--font-display);
  font-size: 54px;
  color: var(--white);
  line-height: 1;
}
.plan__price span {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
  margin-left: 4px;
}
.plan__features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}
.plan__features li {
  color: rgba(255, 255, 255, .85);
  font-size: 17px;
  padding: 8px 0 8px 30px;
  position: relative;
}
.plan__features li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(126, 166, 255, .18);
  border: 1px solid rgba(126, 166, 255, .5);
}
.plan__features li::after {
  content: "";
  position: absolute;
  left: 5px; top: 17px;
  width: 6px; height: 3.5px;
  border-left: 2px solid var(--sky);
  border-bottom: 2px solid var(--sky);
  transform: rotate(-45deg);
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(6, 11, 31, .55) 0%, rgba(6, 11, 31, 0) 55%),
    linear-gradient(115deg, var(--navy-950) 30%, var(--navy-800) 75%, var(--royal) 130%);
  padding: 190px 0 90px;
  overflow: hidden;
}
.page-hero__turret {
  position: absolute;
  right: -130px; top: 0; bottom: -40px;
  width: 380px;
  background-color: rgba(126, 166, 255, .16);
  -webkit-mask: url("../assets/turret.png") right center / contain no-repeat;
          mask: url("../assets/turret.png") right center / contain no-repeat;
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(56px, 8.4vw, 110px);
  line-height: .9;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .005em;
}
.page-hero__sub {
  max-width: 520px;
  margin-top: 24px;
  font-size: clamp(17.5px, 1.9vw, 20px);
  font-weight: 500;
  color: rgba(255, 255, 255, .85);
}

.nav__links a.is-active:not(.btn) { color: var(--white); }
.nav__links a.is-active:not(.btn)::after { right: 0; }

/* ---------- About page ---------- */

.btn--royal {
  background: var(--royal);
  color: var(--white);
  box-shadow: 0 10px 30px -14px rgba(0, 51, 153, .7);
}
.btn--royal:hover {
  transform: translateY(-2px);
  background: var(--royal-hi);
}

.stats {
  background: var(--royal);
  border-top: 1px solid rgba(255, 255, 255, .15);
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  padding: 44px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 62px);
  line-height: 1;
  color: var(--white);
}
.stat__sym {
  /* The kit font has no % glyph, so symbols fall back to Inter */
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: .62em;
}
.stat__label {
  display: block;
  margin-top: 8px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .28em;
  color: var(--sky);
}

.matchday {
  background:
    linear-gradient(165deg, rgba(6, 11, 31, .96) 0%, rgba(11, 26, 82, .93) 50%, rgba(6, 11, 31, .96) 100%),
    url("../assets/photo-coach-trees.jpg") center 40% / cover no-repeat;
}
.matchday__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 46px;
}
.matchday__step {
  background: linear-gradient(170deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  transition: transform .2s ease, border-color .2s ease;
}
.matchday__step:hover {
  transform: translateY(-6px);
  border-color: rgba(126, 166, 255, .5);
}
.matchday__num {
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(126, 166, 255, .55);
  margin-bottom: 16px;
}
.matchday__step h3 {
  font-family: var(--font-display);
  font-size: 25px;
  letter-spacing: .04em;
  color: var(--white);
  margin-bottom: 8px;
}
.matchday__step p { color: rgba(255, 255, 255, .75); font-size: 16.5px; }

.official { background: var(--white); }
.official__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}
.official__copy p:not(.section__kicker) { margin-bottom: 16px; font-size: 18.5px; color: #3a4468; }
.official__actions { margin-top: 28px; }
.official__media { position: relative; }
.official__media > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -24px rgba(6, 11, 31, .35);
}
.official__fsa {
  position: absolute;
  right: 18px; bottom: 18px;
  background: var(--navy-950);
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 0 14px 30px -14px rgba(6, 11, 31, .6);
}
.official__fsa img { height: 40px; width: auto; }

.cta {
  position: relative;
  background: linear-gradient(200deg, var(--navy-900), var(--navy-950));
  padding: 96px 0;
  overflow: hidden;
  text-align: center;
}
.cta__turret {
  position: absolute;
  left: -130px; top: 0; bottom: -40px;
  width: 380px;
  background-color: rgba(126, 166, 255, .1);
  -webkit-mask: url("../assets/turret.png") left center / contain no-repeat;
          mask: url("../assets/turret.png") left center / contain no-repeat;
  pointer-events: none;
}
.cta__inner { position: relative; }
.cta__sub {
  max-width: 460px;
  margin: 0 auto 36px;
  font-size: 18.5px;
  color: rgba(255, 255, 255, .8);
}
.cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Fixture list (tickets & travel / membership) ---------- */

.btn--sm { padding: 11px 24px; font-size: 13px; }

.fixtures--light { background: var(--white); }
.fixtures--light .fixtures__note { color: #5a6386; }

/* Featured "next trip" block (first fixture, opt-in via data-featured) */
.fixnext {
  margin-top: 46px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 44px;
  padding: 38px 42px;
  background: var(--white);
  border: 1px solid #e3e8f4;
  border-left: 5px solid var(--royal);
  border-radius: var(--radius);
  box-shadow: 0 28px 55px -34px rgba(6, 11, 31, .4);
  position: relative;
}
/* Stacked on-sale cards sit closer together than the first one does
   to the heading above it. */
.fixnext + .fixnext { margin-top: 22px; }
.fixnext__tag {
  position: absolute;
  top: -14px; left: 30px;
  background: var(--royal);
  color: var(--white);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .22em;
  padding: 6px 16px;
  border-radius: 999px;
}
.fixnext__badges {
  display: flex;
  align-items: center;
  gap: 22px;
}
.fixnext__badges img {
  height: 88px;
  width: auto;
  filter: drop-shadow(0 8px 18px rgba(6, 11, 31, .25));
}
.fixnext__vs {
  font-family: var(--font-display);
  font-size: 34px;
  color: transparent;
  -webkit-text-stroke: 1.5px #c6cfe4;
}
.fixnext__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.fixnext__teams {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1;
  letter-spacing: .02em;
  color: var(--ink);
  text-transform: uppercase;
}
.fixnext__date {
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1.1;
  color: var(--royal);
}
.fixnext__meta {
  margin-top: 6px;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .16em;
  color: #8b93b3;
}
.fixnext .btn.is-disabled {
  background: #e6e9f2;
  color: #9aa1bd;
  pointer-events: none;
  box-shadow: none;
}

.fixlist {
  margin-top: 40px;
  border-top: 1px solid #e3e8f4;
}
.fixnext + .fixlist { margin-top: 26px; border-top: 0; }
.fixlist__row {
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px 28px;
  padding: 24px 4px;
  border-bottom: 1px solid #e3e8f4;
}
.fixlist__date {
  font-family: var(--font-display);
  font-size: 27px;
  letter-spacing: .04em;
  color: var(--ink);
  line-height: 1;
}
.fixlist__match {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.fixlist__match img { height: 38px; width: auto; filter: drop-shadow(0 4px 10px rgba(6,11,31,.2)); }
.fixlist__teams {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .08em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fixlist__teams em {
  font-style: normal;
  color: var(--royal);
  margin: 0 4px;
}
.fixlist__meta {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .16em;
  color: #8b93b3;
  text-align: right;
}
.fixlist .btn.is-disabled {
  background: #e6e9f2;
  color: #9aa1bd;
  pointer-events: none;
  box-shadow: none;
}

.how--paper { background: var(--paper); }
.how--paper .how__steps li { background: var(--white); border-color: #e6ebf6; }

/* ---------- Pickup route ---------- */

.route {
  list-style: none;
  margin-top: 46px;
  position: relative;
}
.route::before {
  content: "";
  position: absolute;
  left: 21px; top: 12px; bottom: 12px;
  border-left: 2px dashed #ccd4e8;
}
.route li {
  position: relative;
  padding: 0 0 34px 68px;
}
.route li:last-child { padding-bottom: 0; }
.route__num {
  position: absolute;
  left: 0; top: -4px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--royal);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -10px rgba(0, 51, 153, .6);
}
.route h3 {
  font-family: var(--font-display);
  font-size: 25px;
  letter-spacing: .04em;
  color: var(--ink);
  text-transform: uppercase;
}
.route p { color: #3a4468; font-size: 17px; margin-top: 4px; }
.route__note {
  margin-top: 40px;
  padding: 18px 22px;
  background: rgba(0, 51, 153, .07);
  border-left: 3px solid var(--royal);
  border-radius: 0 10px 10px 0;
  color: #3a4468;
  font-size: 17px;
}
.route__note a { color: var(--royal); font-weight: 600; }

/* ---------- Small print ---------- */

.smallprint {
  list-style: none;
  margin-top: 26px;
}
.smallprint li {
  position: relative;
  padding: 7px 0 7px 26px;
  color: #3a4468;
  font-size: 16.5px;
}
.smallprint li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--royal);
}

/* ---------- Legal pages ---------- */

.page-hero--compact { padding: 165px 0 64px; }
.page-hero--compact .page-hero__title { font-size: clamp(44px, 6.4vw, 84px); }

.legal { background: var(--paper); }
.legal__body { max-width: 800px; }
.legal__body h2 {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: .03em;
  color: var(--royal);
  text-transform: uppercase;
  margin: 44px 0 14px;
}
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  margin: 22px 0 8px;
}
.legal__body p { margin-bottom: 14px; font-size: 17.5px; color: #3a4468; }
.legal__body ul { margin: 0 0 16px 20px; }
.legal__body li { font-size: 17.5px; color: #3a4468; padding: 3px 0; }
.legal__body li::marker { color: var(--royal); }
.legal__body a { color: var(--royal); font-weight: 600; }
.legal__updated {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8b93b3;
  margin-bottom: 34px;
}

/* ---------- Merch ---------- */

.merch { background: var(--paper); }
.merch__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.merch__filter {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--ink);
  background: transparent;
  border: 1.5px solid #ccd4e8;
  border-radius: 999px;
  padding: 10px 22px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.merch__filter:hover { border-color: var(--royal); color: var(--royal); }
.merch__filter.is-active {
  background: var(--royal);
  border-color: var(--royal);
  color: var(--white);
}
.merch__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 18px 40px -28px rgba(6, 11, 31, .35);
  transition: transform .22s ease, box-shadow .22s ease;
}
.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(6, 11, 31, .5);
}
.product__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--paper);
  overflow: hidden;
}
.product__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .3s ease, transform .3s ease;
}
.product__media .product__alt { opacity: 0; }
.product:hover .product__alt { opacity: 1; }
.product:hover .product__media img:first-child { transform: scale(1.04); }
.product__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px 20px;
}
.product__type {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .24em;
  color: #8b93b3;
}
.product__name {
  font-family: var(--font-display);
  font-size: 23px;
  letter-spacing: .03em;
  color: var(--ink);
  line-height: 1.05;
}
.product__price {
  margin-top: 4px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 15px;
  color: var(--royal);
}
.merch__note {
  margin-top: 48px;
  font-size: 16.5px;
  color: #6a7394;
}
.merch__note a { color: var(--royal); font-weight: 600; }

.membership__under18 {
  margin-top: 34px;
  text-align: center;
  color: rgba(255, 255, 255, .75);
  font-size: 17px;
}
.membership__under18 a { color: var(--sky); font-weight: 600; }

/* ---------- Sponsors ---------- */

.sponsors { background: var(--white); padding: 64px 0; }
.sponsors__label {
  text-align: center;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .32em;
  color: #8b93b3;
  margin-bottom: 34px;
}
.sponsors__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(30px, 6vw, 80px);
  flex-wrap: wrap;
}
.sponsors__row img {
  height: 44px;
  width: auto;
  filter: grayscale(1) opacity(.55);
  transition: filter .2s ease, transform .2s ease;
}
.sponsors__row a:hover img { filter: none; transform: scale(1.05); }

/* ---------- Footer ---------- */

.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, .8);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr .9fr .9fr 1.2fr;
  gap: 56px;
  padding-top: 104px;
  padding-bottom: 88px;
}
.footer__brand img { width: 96px; }
.footer__motto {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--gold);
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links h4 {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: .14em;
  color: var(--sky);
  margin-bottom: 6px;
}
.footer__links a {
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
  font-size: 16.5px;
  transition: color .15s ease, transform .15s ease;
}
.footer__links a:hover { color: var(--white); transform: translateX(3px); }
.footer__note p { font-size: 16px; color: rgba(255, 255, 255, .55); }
.footer__fsa { display: inline-block; margin-top: 18px; }
.footer__fsa img {
  height: 46px;
  width: auto;
  opacity: .75;
  transition: opacity .2s ease;
}
.footer__fsa:hover img { opacity: 1; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 26px 0; }
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .5);
}

/* ---------- Member area (auth + account) ---------- */

.member { background: var(--paper); min-height: 60vh; }
.authbox { max-width: 460px; margin: 0 auto; }
.authbox__card {
  background: var(--white);
  border: 1px solid #e3e8f4;
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: 0 24px 55px -34px rgba(6, 11, 31, .35);
}

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #5a6386;
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  font-size: 16px;
  font-family: var(--font-body);
  border: 1.5px solid #d5dcec;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
}
.field textarea { resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--royal);
  box-shadow: 0 0 0 3px rgba(0, 51, 153, .12);
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.field--row .field { margin-bottom: 0; }

.form-error {
  background: rgba(192, 57, 43, .08);
  border: 1px solid rgba(192, 57, 43, .3);
  color: #b03225;
  font-size: 14.5px;
  padding: 11px 14px;
  border-radius: 9px;
  margin-bottom: 16px;
}
.form-ok {
  background: rgba(0, 51, 153, .07);
  border: 1px solid rgba(0, 51, 153, .2);
  color: var(--royal);
  font-size: 14.5px;
  padding: 11px 14px;
  border-radius: 9px;
  margin-bottom: 16px;
}
.form-note { color: #5a6386; font-size: 14.5px; margin-top: 20px; text-align: center; }
.form-note a { color: var(--royal); font-weight: 600; }
.btn--full { width: 100%; margin-top: 26px; }

/* Account dashboard */
.account__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.panel {
  background: var(--white);
  border: 1px solid #e3e8f4;
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 24px;
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.panel__title {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: .03em;
  color: var(--ink);
  text-transform: uppercase;
}
.summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 28px; }
.summary div span {
  display: block;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8b93b3;
  margin-bottom: 3px;
}
.summary div p { font-size: 16px; color: var(--ink); }

.member-list { display: grid; gap: 14px; }
.member-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid #e6ebf6;
  border-radius: 12px;
  background: var(--paper);
}
.member-card__name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .02em;
  color: var(--ink);
  text-transform: uppercase;
}
.member-card__meta { font-size: 14px; color: #5a6386; margin-top: 2px; }
.pill {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .12em;
  padding: 4px 11px;
  border-radius: 999px;
  text-transform: uppercase;
}
.pill--active  { background: rgba(64,190,120,.16); color: #1c8b4e; border: 1px solid rgba(64,190,120,.4); }
.pill--pending { background: rgba(201,162,75,.16); color: #9a7620; border: 1px solid rgba(201,162,75,.4); }
.pill--u18     { background: rgba(0,51,153,.1); color: var(--royal); border: 1px solid rgba(0,51,153,.25); }
.pill--you     { background: #eef1f8; color: #5a6386; border: 1px solid #d5dcec; }
.pill--gap     { background: rgba(201,162,75,.16); color: #9a7620; border: 1px solid rgba(201,162,75,.4); }

/* ---- Finish setting up ----
   Sits above everything else on the account page until every person on
   the account has full details. Gold rather than red: it's a job to
   finish, not a problem. */
.setup {
  border: 2px solid var(--gold);
  box-shadow: 0 10px 30px rgba(201,162,75,.16);
}
.setup__intro {
  color: #5a6386;
  font-size: 16px;
  line-height: 1.55;
  margin: -6px 0 22px;
  max-width: 62ch;
}
.setup__card {
  border: 1px solid #dfe4f0;
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
  background: #fbfcfe;
}
.setup__card:last-child { margin-bottom: 0; }
.setup__card-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e6eaf3;
}
.setup__who {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--ink);
}
.setup__sub { font-size: 14px; color: #5a6386; }
.setup__hint { font-size: 14px; color: #5a6386; margin: -8px 0 18px; line-height: 1.5; }
.setup__msg:not(:empty) { margin-bottom: 14px; }
.member-card--gap { border-color: rgba(201,162,75,.5); background: rgba(201,162,75,.05); }

/* Booking stays visibly shut rather than vanishing, so it's clear the
   button is there and why it won't go yet. */
.btn.is-disabled {
  opacity: .45;
  pointer-events: none;
}
.member-card__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
/* Cancel a paid membership — deliberately plain and obvious, not alarming. */
.btn--cancel {
  background: var(--white);
  color: #b03225;
  border: 1.5px solid #e3b5af;
}
.btn--cancel:hover {
  background: #b03225;
  border-color: #b03225;
  color: var(--white);
  transform: translateY(-1px);
}
.linkbtn {
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-cond); font-weight: 700; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; color: #b03225;
}
.member-empty { color: #5a6386; font-size: 15.5px; padding: 6px 0 2px; }
.member-add { margin-top: 22px; padding-top: 24px; border-top: 1px dashed #d5dcec; }

/* ---------- Booking page ---------- */

/* Booking page starts straight under the fixed nav (no hero).
   Two classes so the responsive .section rule can't undercut it and
   tuck the first card behind the fixed header. */
.section.member--flush { padding-top: 132px; }

.book-fixture {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid #e3e8f4;
  border-left: 5px solid var(--royal);
  border-radius: var(--radius);
  margin-bottom: 26px;
}
.book-fixture__badges { display: flex; align-items: center; gap: 16px; }
.book-fixture__badges img {
  height: 64px; width: auto;
  filter: drop-shadow(0 6px 14px rgba(6, 11, 31, .2));
}
.book-fixture__vs {
  font-family: var(--font-display);
  font-size: 26px;
  color: transparent;
  -webkit-text-stroke: 1.5px #c6cfe4;
}
.book-fixture__title {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: .02em;
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1;
}
.book-fixture__meta { font-family: var(--font-cond); font-weight: 600; font-size: 12px; letter-spacing: .14em; color: #8b93b3; text-transform: uppercase; margin-top: 6px; }

.book-switch {
  margin: -14px 0 26px;
  font-size: 14.5px;
  color: #8b93b3;
}
.book-switch a { color: var(--royal); font-weight: 600; }

.book-person { padding: 22px 0; border-top: 1px solid #e6ebf6; }
.book-person:first-child { border-top: 0; }
.book-person__head {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px;
}
.book-person__name {
  font-family: var(--font-display); font-size: 23px; letter-spacing: .02em;
  color: var(--ink); text-transform: uppercase;
}
.book-person__age { font-size: 13px; color: #8b93b3; }
.book-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 10px 0;
}
.book-row__label { display: flex; align-items: center; gap: 10px; font-size: 15.5px; color: var(--ink); }
.book-row__label input[type=checkbox] { width: 18px; height: 18px; }
.book-row select { max-width: 340px; padding: 10px 13px; font-size: 15px; font-family: var(--font-body); border: 1.5px solid #d5dcec; border-radius: 9px; background: var(--white); }
.book-row__price { font-family: var(--font-cond); font-weight: 700; font-size: 15px; color: var(--royal); white-space: nowrap; }
.book-note { font-size: 13.5px; color: #8b7a2a; background: rgba(201,162,75,.1); border: 1px solid rgba(201,162,75,.3); border-radius: 8px; padding: 8px 12px; margin-top: 6px; }

.book-summary {
  position: sticky; bottom: 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  background: var(--white); border: 1px solid #e3e8f4;
  border-radius: var(--radius); padding: 22px 26px; margin-top: 8px;
  box-shadow: 0 -10px 30px -20px rgba(6,11,31,.3);
}
.book-summary__total { font-family: var(--font-display); font-size: 30px; color: var(--ink); }
.book-summary__total span { font-size: 13px; font-family: var(--font-cond); font-weight: 700; letter-spacing: .1em; color: #8b93b3; display: block; text-transform: uppercase; }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg { animation: none; }
  .ticker__track { animation-duration: 90s; }
}

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

@media (max-width: 1020px) {
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .official__grid { grid-template-columns: 1fr; gap: 48px; }
  .matchday__steps { grid-template-columns: repeat(2, 1fr); }
  .fixlist__row { grid-template-columns: 150px minmax(0, 1fr) auto auto; gap: 12px 18px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .merch__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .how__steps { grid-template-columns: 1fr; }
  .membership__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}

@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .section.member--flush { padding-top: 118px; }

  .nav__burger { display: flex; }
  .nav__links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: rgba(6, 11, 31, .97);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px 34px;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    transform: translateY(-130%);
    transition: transform .28s ease;
  }
  .nav--open .nav__links { transform: translateY(0); }
  .nav__links a:not(.btn) { font-size: 17px; }

  .hero__content { padding-top: 150px; padding-bottom: 80px; }
  .page-hero { padding: 150px 0 64px; }
  .gallery__grid { grid-template-columns: 1fr; }
  .merch__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product__name { font-size: 20px; }
  .matchday__steps { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(3, 1fr); gap: 34px 16px; }
  .fixlist__row { grid-template-columns: 1fr auto; }
  .fixlist__date { grid-column: 1 / -1; }
  .fixlist__meta { grid-column: 1 / -1; text-align: left; order: 5; }
  .fixnext { grid-template-columns: 1fr; gap: 26px; padding: 34px 28px 30px; }
  .fixnext__badges img { height: 68px; }
  .fixnext .btn { justify-self: start; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
}

/* When a game's next deadline lands — the ticket ballot cut-off, or the
   coach the night before. Members plan around these, so they sit on the
   card rather than being buried in the small print. */
.fixture__deadline {
  display: block;
  margin-top: 6px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .06em;
}
.fixnext__deadline {
  display: block;
  margin-top: 8px;
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gold);
}



/* ============================================================
   Committee portal — the back room.
   ============================================================ */
.section.member--admin { padding-top: 28px; }

.admhead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.admhead__meta { color: var(--sky); font-size: 14px; margin-top: 10px; }

/* Sticky tab rail, so the whole portal is one screen with five views.
   Sits just under the fixed site nav. */
.admtabs-wrap {
  position: sticky;
  top: 82px;
  z-index: 50;
  padding: 10px 0 18px;
  background: linear-gradient(180deg, var(--paper) 78%, rgba(244, 246, 251, 0));
}
.admtabs {
  display: flex;
  gap: 6px;
  background: var(--white);
  border: 1px solid #dfe4f0;
  border-radius: 999px;
  padding: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 8px 24px -18px rgba(6, 11, 31, .35);
}
.admtabs button {
  flex: none;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: #5a6386;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.admtabs button:hover { color: var(--royal); }
.admtabs button.is-active { background: var(--royal); color: var(--white); }
.admtabs__n {
  font-size: 11px;
  background: rgba(0, 51, 153, .1);
  color: var(--royal);
  border-radius: 999px;
  padding: 2px 8px;
}
.admtabs button.is-active .admtabs__n { background: rgba(255, 255, 255, .22); color: var(--white); }

.admpanel { display: none; }
.admpanel.is-active { display: block; }

/* ---- Stat tiles ---- */
.statrow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.admstat {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #dfe4f0;
  border-radius: var(--radius);
  padding: 18px 18px 16px 22px;
}
.admstat::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--royal);
}
.admstat[data-goto] { cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.admstat[data-goto]:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -18px rgba(6, 11, 31, .4); }
.admstat__n {
  display: block;
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1;
  color: var(--ink);
}
.admstat__label {
  display: block;
  margin-top: 7px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: #5a6386;
}
.admstat--good::before { background: #1c8b4e; }
.admstat--warn::before { background: var(--gold); }
.admstat--warn { background: rgba(201, 162, 75, .07); }
.admstat--warn .admstat__n { color: #9a7620; }

.admwarn {
  background: rgba(201, 162, 75, .1);
  border: 1px solid rgba(201, 162, 75, .45);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 20px;
}
.admwarn .linkbtn { color: var(--royal); font-weight: 700; margin-left: 6px; }

/* ---- Overview: next trip spotlight + latest activity ---- */
.ov {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 20px;
  align-items: start;
}
.ov__side { margin-bottom: 0; }
.spot {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 85% -20%, rgba(36, 86, 214, .55) 0%, rgba(36, 86, 214, 0) 55%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
  border-radius: var(--radius);
  padding: 30px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.spot__tag {
  display: inline-block;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--sky);
  margin-bottom: 20px;
}
.spot__badges { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.spot__badges img { height: 62px; width: auto; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .5)); }
.spot__vs {
  font-family: var(--font-display);
  font-size: 26px;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .4);
}
.spot__teams { font-family: var(--font-display); font-size: 30px; letter-spacing: .02em; }
.spot__meta { font-family: var(--font-cond); font-weight: 600; font-size: 12px; letter-spacing: .14em; color: rgba(255, 255, 255, .75); margin: 8px 0 18px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.spot__deadlines { display: grid; gap: 6px; font-size: 14px; color: rgba(255, 255, 255, .85); margin-bottom: 20px; }
.spot__meter-label { display: flex; justify-content: space-between; font-size: 13px; color: rgba(255, 255, 255, .8); margin-bottom: 7px; }
.spot__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.spot__btn { border-color: rgba(255, 255, 255, .5); }
.spot__btn:disabled { opacity: .4; pointer-events: none; }

.meter { height: 8px; background: #e6eaf3; border-radius: 999px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--royal); border-radius: 999px; transition: width .4s ease; }
.meter--light { background: rgba(255, 255, 255, .18); }
.meter--light i { background: var(--gold); }

/* ---- Game cards ---- */
.gamegrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 18px;
}
.gamecard {
  background: var(--white);
  border: 1px solid #dfe4f0;
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gamecard__head { display: flex; align-items: center; gap: 14px; }
.gamecard__head > div { flex: 1; min-width: 0; }
.gamecard__head .tag { flex: none; }
.gamecard__badges { display: flex; align-items: center; gap: 6px; flex: none; }
.gamecard__badges img { height: 40px; width: auto; }
.gamecard__teams { font-family: var(--font-display); font-size: 19px; color: var(--ink); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gamecard__date { font-size: 13px; color: #5a6386; margin-top: 2px; }
.gamecard__deadlines { display: grid; gap: 4px; font-size: 13px; color: #5a6386; }
.gamecard__nums { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: #5a6386; margin-bottom: 7px; }
.gamecard__nums strong { color: var(--ink); }
.gamecard__money { font-weight: 700; color: var(--royal); }
.gamecard__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.gamecard__actions .btn:disabled { opacity: .35; pointer-events: none; }

/* ---- Toolbars over tables ---- */
.admbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.admbar input[type="search"] {
  flex: 1;
  min-width: 220px;
  font: inherit;
  font-size: 15px;
  padding: 12px 16px;
  border: 1px solid #c6cfe4;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
}
.admbar input[type="search"]:focus { outline: 2px solid var(--royal-hi); outline-offset: 1px; border-color: var(--royal-hi); }
.admbar select {
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid #c6cfe4;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
}
.admbar__ghost { color: var(--royal); border-color: #c6cfe4; }

/* ---- Tables ---- */
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.adm { width: 100%; border-collapse: collapse; font-size: 14px; white-space: nowrap; }
table.adm th {
  position: sticky;
  top: 0;
  background: var(--white);
  text-align: left;
  font-family: var(--font-cond);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #5a6386;
  padding: 10px 16px 10px 0;
  border-bottom: 2px solid #dfe4f0;
}
table.adm td { padding: 12px 16px 12px 0; border-bottom: 1px solid #eef1f8; color: var(--ink); }
table.adm tbody tr:hover { background: #fbfcfe; }

.tag {
  display: inline-block;
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef1f8;
  color: #5a6386;
  border: 1px solid #d5dcec;
}
.tag--both   { background: rgba(64, 190, 120, .16); color: #1c8b4e; border-color: rgba(64, 190, 120, .4); }
.tag--coach-only, .tag--soon, .tag--warn { background: rgba(201, 162, 75, .16); color: #9a7620; border-color: rgba(201, 162, 75, .4); }
.tag--closed, .tag--past { background: #f1f2f6; color: #8b93b3; border-color: #e2e5ee; }

.adm-empty {
  padding: 36px 24px;
  text-align: center;
  color: #5a6386;
  font-size: 15px;
  background: #fbfcfe;
  border: 1px dashed #d5dcec;
  border-radius: var(--radius);
}

/* ---- Activity ---- */
.activity { list-style: none; margin: 0; padding: 0; }
.activity__day {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #8b93b3;
  padding: 20px 0 8px;
  border-bottom: 2px solid #dfe4f0;
}
.activity__item {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: baseline;
  padding: 11px 0 11px 18px;
  border-bottom: 1px solid #eef1f8;
  font-size: 14px;
}
.activity__item::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c6cfe4;
}
.activity__item--booking::before { background: #1c8b4e; }
.activity__item--booking-pending::before { background: var(--gold); }
.activity__item--membership::before { background: var(--royal); }
.activity__item--signup::before { background: var(--sky); }
.activity__when { color: #8b93b3; font-size: 13px; }
.activity__what { color: var(--ink); }
.activity__who { color: #5a6386; font-size: 13px; }
.activity__item--booking-pending .activity__what { color: #9a7620; }
.activity--mini .activity__day { display: none; }

.admtoast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  max-width: min(420px, calc(100vw - 44px));
  box-shadow: 0 18px 40px -18px rgba(6, 11, 31, .45);
  animation: toastIn .22s ease;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* Committee link in the footer, only shown to a committee member. */
.footer__committee { display: none; }
.footer__committee.is-visible { display: inline; }

@media (max-width: 900px) {
  .ov { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .admtabs-wrap { top: 70px; }
  .activity__item { grid-template-columns: 44px 1fr; }
  .activity__who { grid-column: 2; }
  .spot { padding: 24px; }
  .spot__teams { font-size: 24px; }
}

/* "Show more" at the foot of the payment and booking lists. */
.member-more {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--royal);
  background: none;
  border: 1px dashed #c6cfe4;
  border-radius: 12px;
  padding: 12px;
  width: 100%;
  cursor: pointer;
}
.member-more:hover { background: #f2f5fb; }

/* ============================================================
   Mobile pass — thumbs, not cursors.
   ============================================================ */
@media (max-width: 860px) {
  /* Text links get a real touch target without shifting the layout. */
  .linkbtn { padding: 10px 4px; margin: -8px 0; }
  .form-note a { display: inline-block; padding: 6px 2px; margin: -4px 0; }
  .footer__links a { padding: 5px 0; }
  /* Links inside body copy (email addresses, the constitution) — same
     treatment; inline-block also keeps an email address on one line. */
  .section p a:not(.btn), .section li a:not(.btn) {
    display: inline-block;
    padding: 5px 2px;
    margin: -4px -1px;
  }
}

@media (max-width: 720px) {
  /* ---- Committee portal ---- */
  /* Toolbar: search takes its own row, the filter and buttons share
     the next, everything big enough to hit on a bus. */
  .admbar input[type="search"] { flex: 1 1 100%; min-width: 0; }
  .admbar select { flex: 1 1 100%; }
  .admbar .btn { flex: 1 1 40%; padding-top: 12px; padding-bottom: 12px; }

  /* Tables still scroll sideways, but the name column holds still so
     you always know whose row you're reading. */
  table.adm { font-size: 13px; }
  table.adm th, table.adm td { padding-right: 12px; }
  table.adm th:first-child, table.adm td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: var(--white);
    max-width: 44vw;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 8px 0 10px -8px rgba(6, 11, 31, .18);
  }
  table.adm th:first-child { z-index: 3; }
  table.adm tbody tr:hover td:first-child { background: #fbfcfe; }

  .statrow { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .admstat { padding: 14px 14px 13px 18px; }
  .admstat__n { font-size: 30px; }
  .gamegrid { grid-template-columns: 1fr; }
  .spot__actions .btn, .gamecard__actions .btn { flex: 1 1 auto; }
  .admhead .btn { margin-bottom: 2px; }
}

@media (max-width: 560px) {
  /* Member, payment and booking cards: name on top, actions underneath,
     instead of fighting for one row. */
  .member-card { flex-direction: column; align-items: stretch; gap: 12px; }
  .member-card__actions { justify-content: flex-start; }

  /* Paired form fields stack — two 160px columns is nobody's idea of
     somewhere to type an email address. */
  .field--row { grid-template-columns: 1fr; gap: 0; }
  .field--row .field { margin-bottom: 16px; }

  .account__head { flex-wrap: wrap; gap: 12px; }
}

/* Band picker on the game cards */
.gamecard__band { display: inline-flex; align-items: center; gap: 6px; }
.gamecard__band select {
  font: inherit;
  font-size: 13px;
  padding: 4px 8px;
  border: 1px solid #c6cfe4;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}
