:root {
  --blue: #0057ff;
  --blue-dark: #062b89;
  --navy: #031a46;
  --deep-navy: #020918;
  --cyan: #00d4ff;
  --gold: #ffe66d;
  --pink: #ff4d9d;
  --white: #ffffff;
  --paper: #f7f4ea;
  --mist: #eaf4ff;
  --ink: #071426;
  --muted: #556171;
  --line: #071426;
  --shadow: 10px 10px 0 #071426;
  --soft-shadow: 0 22px 50px rgba(3, 26, 70, 0.2);
  --display-font: "Arial Black", Impact, Inter, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(0, 87, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(0, 87, 255, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
  font-family: Inter, Arial, sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
}

body::before {
  content: "UP THE CLAPHAM • INTER CLAPHAM • SOUTH LONDON FOOTBALL • ";
  position: fixed;
  right: -110px;
  bottom: 36px;
  z-index: 1;
  width: 520px;
  padding: 8px 18px;
  color: var(--navy);
  background: var(--gold);
  border: 3px solid var(--line);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  transform: rotate(-8deg);
  pointer-events: none;
}

body[data-page="shop"]::before {
  display: none;
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(16px, 4vw, 48px);
  color: var(--white);
  background: rgba(3, 26, 70, 0.94);
  border-bottom: 4px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--line);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--white);
  font-size: 1.04rem;
  font-weight: 900;
  line-height: 1;
}

.brand small {
  width: max-content;
  margin-top: 5px;
  padding: 2px 7px;
  color: var(--navy);
  background: var(--gold);
  border: 2px solid var(--line);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 900;
}

.site-nav a {
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 8px 10px;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--navy);
  background: var(--cyan);
  border-color: var(--line);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  border: 3px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--navy);
  background: var(--gold);
  box-shadow: 4px 4px 0 var(--line);
  font: inherit;
  font-weight: 900;
}

.section-band,
.section {
  width: 100%;
  padding: clamp(44px, 6.4vw, 86px) clamp(18px, 4.5vw, 64px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  align-items: center;
  gap: clamp(30px, 6vw, 76px);
  min-height: calc(100vh - 84px);
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 87, 255, 0.95), rgba(3, 26, 70, 0.96)),
    var(--blue);
}

.hero::before,
.page-hero::before,
.join-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background:
    repeating-linear-gradient(-12deg, transparent 0 18px, rgba(255, 255, 255, 0.22) 18px 22px),
    radial-gradient(circle at 84% 18%, var(--gold), transparent 24%),
    radial-gradient(circle at 14% 80%, var(--cyan), transparent 28%);
  pointer-events: none;
}

.hero::after {
  content: "2026/27 DROP";
  position: absolute;
  right: clamp(14px, 4vw, 60px);
  bottom: clamp(18px, 5vw, 54px);
  padding: 10px 16px;
  color: var(--navy);
  background: var(--gold);
  border: 4px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-size: clamp(1rem, 2vw, 1.8rem);
  font-weight: 900;
  transform: rotate(-4deg);
}

.hero-content,
.hero-crest,
.page-hero > *,
.join-section > * {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 840px;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  border: 3px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--navy);
  background: var(--gold);
  box-shadow: 4px 4px 0 var(--line);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
}

h1 {
  margin-bottom: 24px;
  max-width: 980px;
  font-family: var(--display-font);
  font-size: clamp(3.8rem, 8.8vw, 7.6rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.78;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-family: var(--display-font);
  font-size: clamp(2.3rem, 5.6vw, 5.6rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.82;
  text-transform: uppercase;
}

h3 {
  color: var(--navy);
  font-family: var(--display-font);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 0.98;
}

.hero-copy {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2.15vw, 1.55rem);
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 3px solid var(--line);
  border-radius: 999px;
  padding: 14px 20px;
  box-shadow: 5px 5px 0 var(--line);
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--line);
}

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

.button-secondary {
  color: var(--navy);
  background: var(--white);
}

.section-button {
  margin-top: 30px;
}

.hero-crest {
  justify-self: center;
  width: min(420px, 76vw);
  padding: 18px;
  border: 5px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 16px 16px 0 rgba(255, 230, 109, 0.95), 28px 28px 0 var(--line);
  transform: rotate(4deg);
}

.hero-crest img {
  border-radius: 50%;
}

.page-hero {
  position: relative;
  width: 100%;
  padding: clamp(56px, 8vw, 112px) clamp(18px, 4.5vw, 64px);
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(3, 26, 70, 0.96), rgba(0, 87, 255, 0.94)),
    var(--blue);
}

body[data-page="shop"] .page-hero {
  background:
    radial-gradient(circle at 78% 38%, rgba(255, 230, 109, 0.5), transparent 22%),
    linear-gradient(135deg, rgba(0, 87, 255, 0.98), rgba(2, 9, 24, 0.94)),
    var(--blue);
}

body[data-page="culture"] .page-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 77, 157, 0.5), transparent 20%),
    linear-gradient(135deg, rgba(3, 26, 70, 0.96), rgba(0, 87, 255, 0.9)),
    var(--blue);
}

body[data-page="club"] .page-hero,
body[data-page="records"] .page-hero {
  background:
    radial-gradient(circle at 78% 28%, rgba(0, 212, 255, 0.46), transparent 22%),
    linear-gradient(135deg, rgba(2, 9, 24, 0.96), rgba(3, 26, 70, 0.94)),
    var(--navy);
}

body[data-page="join"] .page-hero,
body[data-page="contact"] .page-hero {
  background:
    radial-gradient(circle at 82% 26%, rgba(255, 230, 109, 0.46), transparent 22%),
    linear-gradient(135deg, rgba(0, 87, 255, 0.96), rgba(3, 26, 70, 0.94)),
    var(--blue);
}

.page-hero h1,
.page-hero p {
  max-width: 1050px;
}

.page-hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
}

.page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  font-weight: 800;
}

.page-join {
  min-height: calc(100vh - 84px);
}

.section {
  max-width: 1280px;
  margin: 0 auto;
  min-width: 0;
}

.section-muted {
  max-width: none;
  background:
    linear-gradient(135deg, rgba(255, 230, 109, 0.9), rgba(0, 212, 255, 0.3)),
    var(--mist);
  border-top: 4px solid var(--line);
  border-bottom: 4px solid var(--line);
}

.section-muted > * {
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
}

.home-drop-section {
  max-width: none;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(2, 9, 24, 0.96), rgba(3, 26, 70, 0.9)),
    var(--deep-navy);
  border-top: 4px solid var(--line);
  border-bottom: 4px solid var(--line);
}

.home-drop-section > * {
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
}

.home-drop-section h2 {
  color: var(--white);
}

.home-drop-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.home-drop-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.drop-card {
  position: relative;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 4px solid var(--line);
  border-radius: 10px;
  padding: clamp(20px, 3vw, 32px);
  color: var(--navy);
  background:
    linear-gradient(135deg, rgba(255, 230, 109, 0.98), rgba(0, 212, 255, 0.88)),
    var(--gold);
  box-shadow: var(--shadow);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.drop-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background:
    repeating-linear-gradient(-16deg, transparent 0 18px, var(--line) 18px 21px);
}

.drop-card::after {
  content: "INTER";
  position: absolute;
  top: 18px;
  right: -8px;
  color: rgba(3, 26, 70, 0.12);
  font-family: var(--display-font);
  font-size: clamp(3.6rem, 8vw, 8rem);
  font-weight: 900;
  line-height: 0.8;
  transform: rotate(-6deg);
}

.drop-card:hover {
  transform: translate(-4px, -4px) rotate(-0.5deg);
  box-shadow: 16px 16px 0 var(--line);
}

.drop-card > * {
  position: relative;
  z-index: 2;
}

.drop-card span {
  width: max-content;
  max-width: 100%;
  margin-bottom: 12px;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--white);
  background: var(--blue);
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.drop-card strong {
  display: block;
  max-width: 12ch;
  font-family: var(--display-font);
  font-size: clamp(1.75rem, 2.5vw, 3rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.86;
  text-transform: uppercase;
}

.drop-card p {
  max-width: 34ch;
  margin: 16px 0 0;
  color: var(--navy);
  font-weight: 850;
}

.drop-card-large {
  min-height: 320px;
  background:
    linear-gradient(135deg, rgba(0, 87, 255, 0.94), rgba(3, 26, 70, 0.94)),
    var(--blue);
  color: var(--white);
}

.drop-card-large span {
  color: var(--navy);
  background: var(--gold);
}

.drop-card-large strong {
  font-size: clamp(2rem, 4.7vw, 5rem);
  line-height: 0.8;
}

.drop-card-large p {
  color: rgba(255, 255, 255, 0.86);
}

.shop-callout::after,
body[data-page="culture"] .culture-grid::after {
  content: "UP THE CLAPHAM";
  position: absolute;
  right: clamp(16px, 5vw, 70px);
  bottom: 18px;
  color: rgba(0, 87, 255, 0.08);
  font-family: var(--display-font);
  font-size: clamp(3.6rem, 9vw, 9rem);
  font-weight: 900;
  line-height: 0.8;
  pointer-events: none;
}

.shop-callout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(360px, 560px);
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vw, 72px);
  max-width: none;
  min-height: clamp(520px, 48vw, 680px);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 36%, rgba(255, 230, 109, 0.42), transparent 24%),
    linear-gradient(135deg, rgba(0, 87, 255, 0.96), rgba(3, 26, 70, 0.94)),
    var(--blue);
  border-top: 4px solid var(--line);
  border-bottom: 4px solid var(--line);
}

.shop-callout > * {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.shop-callout-copy {
  max-width: 620px;
}

.shop-callout h2 {
  color: var(--white);
}

.shop-callout .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

.shop-callout-image {
  margin: 0;
  overflow: hidden;
  border: 5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 14px 14px 0 var(--line);
  transform: rotate(1.5deg);
}

.shop-callout-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.home-video-section {
  overflow: hidden;
}

.video-feature {
  display: grid;
  gap: 16px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border: 5px solid var(--line);
  border-radius: 10px;
  background: var(--navy);
  box-shadow: 14px 14px 0 var(--blue);
}

.video-frame::before {
  content: "";
  display: block;
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.league-table-section {
  overflow: hidden;
}

.league-table-card {
  margin: 0;
  overflow-x: auto;
  overflow-y: hidden;
  border: 5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 14px 14px 0 var(--line);
  -webkit-overflow-scrolling: touch;
}

.league-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  color: var(--navy);
}

.league-table caption {
  padding: 18px 20px;
  color: var(--white);
  background: var(--navy);
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  font-weight: 900;
  line-height: 0.95;
  text-align: left;
  text-transform: uppercase;
}

.league-table th,
.league-table td {
  border-bottom: 3px solid rgba(7, 20, 38, 0.12);
  padding: 16px 14px;
  font-weight: 900;
  text-align: center;
}

.league-table thead th {
  color: var(--white);
  background: var(--blue);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.league-table tbody th {
  min-width: 260px;
  text-align: left;
}

.league-table tbody tr:nth-child(even) {
  background: var(--mist);
}

.league-table tbody tr.is-inter {
  background: var(--gold);
  box-shadow: inset 8px 0 0 var(--blue);
}

.league-table tbody tr.is-inter th::after {
  content: "Inter";
  display: inline-flex;
  margin-left: 10px;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 4px 7px;
  color: var(--white);
  background: var(--blue);
  font-size: 0.68rem;
  line-height: 1;
  vertical-align: middle;
  text-transform: uppercase;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(22px, 5vw, 54px);
}

.final-cta .section-heading {
  margin-bottom: 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
  min-width: 0;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.24rem);
  font-weight: 760;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
}

.text-link {
  display: inline;
  color: var(--blue-dark);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.stats-grid,
.squad-grid,
.partner-grid,
.contact-grid,
.culture-layout,
.culture-grid,
.value-grid,
.profile-grid,
.check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stat-card,
.squad-card,
.partner-card,
.contact-card,
.culture-card,
.timeline-card,
.value-card,
.profile-card,
.empty-state,
.fixture-card,
.result-card,
.join-panel {
  border: 4px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.stat-card,
.result-card,
.fixture-card,
.squad-card,
.culture-card,
.timeline-card,
.value-card,
.profile-card,
.empty-state,
.join-panel,
.contact-card {
  padding: clamp(20px, 3vw, 30px);
}

.stat-card,
.value-card,
.timeline-card,
.contact-card,
.culture-card,
.empty-state,
.partner-card {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.stat-card:hover,
.value-card:hover,
.timeline-card:hover,
.contact-card:hover,
.culture-card:hover,
.empty-state:hover,
.partner-card:hover {
  transform: translate(-3px, -3px) rotate(-0.5deg);
  box-shadow: 14px 14px 0 var(--line);
}

.stat-card:nth-child(2n),
.culture-card:nth-child(2n),
.value-card:nth-child(2n),
.timeline-card:nth-child(2n),
.contact-card:nth-child(2n) {
  background: var(--mist);
}

.stat-card:nth-child(3n),
.culture-card:nth-child(3n),
.value-card:nth-child(3n),
.timeline-card:nth-child(3n),
.contact-card:nth-child(3n) {
  background: #fff6b7;
}

.stat-card span,
.squad-card span,
.fixture-card span,
.contact-card span,
.culture-card span,
.timeline-card span,
.value-card span,
.card-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--white);
  background: var(--blue);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.match-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 20px;
  max-width: 1280px;
}

.featured-result {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(3, 26, 70, 0.94), rgba(0, 87, 255, 0.9)),
    var(--blue);
}

.featured-result .card-label,
.featured-result dt {
  color: var(--navy);
  background: var(--gold);
}

.scoreline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.scoreline span {
  font-weight: 900;
  text-transform: uppercase;
}

.scoreline span:last-child {
  text-align: right;
}

.scoreline strong {
  color: var(--gold);
  font-size: clamp(3rem, 9vw, 6.8rem);
  font-weight: 900;
  line-height: 0.8;
  white-space: nowrap;
}

.match-details {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.match-details div {
  margin: 0;
}

.match-details dt {
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.match-details dd {
  margin: 2px 0 0;
  font-weight: 850;
}

.fixture-list {
  display: grid;
  gap: 14px;
}

.fixture-card strong,
.squad-card strong,
.contact-card strong,
.culture-card strong,
.timeline-card strong,
.profile-card strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.fixture-card p,
.squad-card p,
.culture-card p,
.timeline-card p,
.value-card p,
.profile-card p,
.contact-card p,
.empty-state p,
.join-panel p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 760;
}

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

.archive-player-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.archive-player-card {
  border: 4px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.archive-player-card summary {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  cursor: pointer;
  list-style: none;
}

.archive-player-card summary::-webkit-details-marker {
  display: none;
}

.archive-player-card summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 3px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold);
  box-shadow: 3px 3px 0 var(--line);
  font-weight: 900;
}

.archive-player-card[open] summary::after {
  content: "-";
}

.archive-player-card summary strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.archive-player-card summary small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.archive-player-totals {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 0 14px 14px;
}

.archive-player-totals div {
  border: 3px solid var(--line);
  border-radius: 10px;
  padding: 9px 8px;
  color: var(--navy);
  background: var(--mist);
  text-align: center;
}

.archive-player-totals dt,
.archive-player-totals dd {
  margin: 0;
  font-weight: 900;
}

.archive-player-totals dt {
  font-size: 0.66rem;
  text-transform: uppercase;
}

.archive-player-totals dd {
  font-size: 1.25rem;
  line-height: 1;
}

.archive-player-breakdown {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-top: 3px solid rgba(7, 20, 38, 0.16);
}

.archive-player-breakdown > div {
  display: grid;
  gap: 8px;
}

.archive-player-breakdown span {
  color: var(--navy);
  font-weight: 900;
  text-transform: uppercase;
}

.archive-player-breakdown dl {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.archive-player-breakdown dl div {
  display: grid;
  border: 2px solid rgba(7, 20, 38, 0.2);
  border-radius: 8px;
  padding: 6px;
  text-align: center;
}

.archive-player-breakdown dt,
.archive-player-breakdown dd {
  margin: 0;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 900;
}

.season-squad-list {
  display: grid;
  gap: 18px;
}

.season-squad-panel {
  border: 4px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.season-squad-panel summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 87, 255, 0.96), rgba(3, 26, 70, 0.94)),
    var(--blue);
  cursor: pointer;
  list-style: none;
}

.season-squad-panel summary::-webkit-details-marker {
  display: none;
}

.season-squad-panel summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 3px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold);
  box-shadow: 4px 4px 0 var(--line);
  font-size: 1.5rem;
  font-weight: 900;
}

.season-squad-panel[open] summary::after {
  content: "-";
}

.season-squad-panel summary span {
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 0.82;
  text-transform: uppercase;
}

.season-squad-panel summary strong {
  justify-self: end;
  color: var(--navy);
  background: var(--gold);
  border: 3px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
  box-shadow: 4px 4px 0 var(--line);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.season-source {
  padding: 16px clamp(18px, 3vw, 28px) 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.season-player-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
}

.season-player-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 3px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  min-width: 0;
  background: var(--mist);
}

.season-player-card:nth-child(3n) {
  background: #fff6b7;
}

.season-player-card strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.player-silhouette {
  position: relative;
  width: 58px;
  height: 58px;
  border: 3px solid var(--line);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 30%, var(--navy) 0 18%, transparent 19%),
    radial-gradient(ellipse at 50% 88%, var(--blue) 0 39%, transparent 40%),
    var(--white);
  box-shadow: 4px 4px 0 var(--line);
}

.season-player-card .player-stat-list {
  margin-top: 8px;
}

.season-player-card .player-stat-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 2px solid rgba(7, 20, 38, 0.16);
  padding: 7px 0 0;
}

.season-player-card dt,
.season-player-card dd {
  margin: 0;
  color: var(--navy);
  font-weight: 900;
}

.season-stats-archive {
  display: grid;
  gap: 18px;
}

.league-table-archive {
  display: grid;
  gap: 18px;
}

.historical-league-table-wrap {
  overflow-x: auto;
  margin: clamp(18px, 3vw, 28px);
  border: 3px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}

.historical-league-table {
  min-width: 840px;
}

.season-record-list {
  display: grid;
  gap: 18px;
}

.record-leader-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
}

.record-leader-card {
  border: 3px solid var(--line);
  border-radius: 10px;
  padding: clamp(16px, 2.4vw, 22px);
  color: var(--navy);
  background: var(--mist);
  box-shadow: 7px 7px 0 var(--line);
}

.record-leader-card:nth-child(2n) {
  background: #fff6b7;
}

.record-leader-card span {
  display: inline-flex;
  margin-bottom: 12px;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--white);
  background: var(--blue);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.record-leader-card strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.55rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.record-leader-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 900;
}

.season-stats-table-wrap {
  overflow-x: auto;
  margin: clamp(18px, 3vw, 28px);
  border: 3px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}

.season-stats-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  color: var(--navy);
}

.season-stats-table th,
.season-stats-table td {
  border-bottom: 2px solid rgba(7, 20, 38, 0.12);
  padding: 11px 10px;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
}

.season-stats-table thead th {
  color: var(--white);
  background: var(--blue);
  text-transform: uppercase;
}

.season-stats-table tbody th {
  min-width: 220px;
  text-align: left;
}

.season-stats-table tbody tr:nth-child(even) {
  background: var(--mist);
}

.culture-layout {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  align-items: stretch;
}

.culture-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.culture-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3.5vw, 3.35rem);
}

body[data-page="culture"] .culture-grid {
  position: relative;
}

body[data-page="culture"] .culture-card:nth-child(1) {
  transform: rotate(-1deg);
}

body[data-page="culture"] .culture-card:nth-child(2) {
  background: var(--gold);
  transform: rotate(1deg);
}

body[data-page="culture"] .culture-card:nth-child(3) {
  background: var(--mist);
}

body[data-page="culture"] .culture-card:nth-child(4) {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 87, 255, 0.96), rgba(3, 26, 70, 0.94)),
    var(--blue);
}

body[data-page="culture"] .culture-card:nth-child(4) h2,
body[data-page="culture"] .culture-card:nth-child(4) p {
  color: var(--white);
}

.culture-card .text-link {
  display: inline-block;
  margin-top: 18px;
}

.photo-gallery-section {
  max-width: none;
  overflow: hidden;
}

.photo-gallery-section > * {
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
}

.gallery-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.gallery-arrow,
.gallery-lightbox-close,
.gallery-lightbox-nav {
  border: 3px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: var(--gold);
  box-shadow: 5px 5px 0 var(--line);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.gallery-arrow {
  min-height: 48px;
  padding: 12px 18px;
}

.photo-gallery {
  display: grid;
  grid-auto-columns: minmax(280px, 31vw);
  grid-auto-flow: column;
  gap: 18px;
  max-width: none;
  margin-right: calc(clamp(18px, 4.5vw, 64px) * -1);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px clamp(18px, 4.5vw, 64px) 24px 0;
  scroll-padding-left: clamp(18px, 4.5vw, 64px);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery-slide {
  position: relative;
  display: block;
  overflow: hidden;
  border: 4px solid var(--line);
  border-radius: 10px;
  padding: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  scroll-snap-align: start;
  cursor: pointer;
  transform: rotate(-0.5deg);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.gallery-slide:nth-child(2n) {
  transform: rotate(0.75deg);
}

.gallery-slide:hover,
.gallery-slide:focus-visible {
  transform: translate(-3px, -3px) rotate(0deg);
  box-shadow: 14px 14px 0 var(--line);
  outline: none;
}

.gallery-slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

body.has-gallery-lightbox {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  padding: clamp(16px, 4vw, 44px);
  background: rgba(2, 9, 24, 0.94);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-close {
  position: absolute;
  top: clamp(14px, 3vw, 28px);
  right: clamp(14px, 3vw, 28px);
  z-index: 2;
  padding: 12px 18px;
}

.gallery-lightbox-nav {
  min-width: 72px;
  min-height: 54px;
  padding: 12px 18px;
}

.gallery-lightbox-frame {
  display: grid;
  gap: 12px;
  justify-items: center;
  margin: 0;
  min-width: 0;
}

.gallery-lightbox-frame img {
  max-width: 100%;
  max-height: min(78vh, 860px);
  border: 5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 14px 14px 0 var(--blue);
  object-fit: contain;
}

.gallery-lightbox-frame figcaption {
  border: 3px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--navy);
  background: var(--gold);
  box-shadow: 4px 4px 0 var(--line);
  font-weight: 900;
}

.club-archive-section {
  overflow: hidden;
}

.club-archive-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  align-items: stretch;
  gap: 18px;
}

.club-archive-strip img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 4px solid var(--line);
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.club-archive-strip img:nth-child(1) {
  transform: rotate(-1deg);
}

.club-archive-strip img:nth-child(2) {
  transform: rotate(1deg);
}

.club-archive-strip img:nth-child(3) {
  transform: rotate(-0.5deg);
}

.instagram-embed {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.instagram-embed img {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 420px;
  object-fit: cover;
  object-position: top;
  border: 4px solid var(--line);
  border-radius: 10px;
  box-shadow: 8px 8px 0 var(--blue);
}

.instagram-card .instagram-embed img {
  aspect-ratio: 16 / 9;
  max-height: 320px;
}

.home-culture-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding-top: clamp(46px, 6vw, 76px);
  padding-bottom: clamp(50px, 6.5vw, 86px);
}

.home-culture-section .section-heading {
  max-width: 900px;
  margin-bottom: 28px;
}

.home-culture-section h2 {
  max-width: 12ch;
  font-size: clamp(3rem, 5vw, 5rem);
}

.home-culture-copy {
  min-width: 0;
}

.home-culture-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 14px 14px 0 var(--line);
  transform: rotate(-1.5deg);
}

.home-culture-image::before {
  content: "SOCIALS";
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  border: 3px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--navy);
  background: var(--gold);
  box-shadow: 4px 4px 0 var(--line);
  font-size: 0.76rem;
  font-weight: 900;
}

.home-culture-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

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

.value-card span {
  color: var(--navy);
  background: var(--gold);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.details-list dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.details-list div {
  padding: 20px;
  border: 4px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 7px 7px 0 var(--line);
}

.details-list div:nth-child(2n) {
  background: var(--mist);
}

body[data-page="club"] .details-list div,
body[data-page="records"] .empty-state,
body[data-page="squad"] .empty-state {
  background:
    linear-gradient(135deg, rgba(255, 230, 109, 0.96), rgba(255, 255, 255, 0.92)),
    var(--gold);
}

body[data-page="records"] .empty-state,
body[data-page="squad"] .empty-state {
  max-width: 980px;
}

.details-list dt,
.compact-details dt {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.details-list dd,
.compact-details dd {
  margin: 4px 0 0;
  color: var(--navy);
  font-weight: 900;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-chip {
  border: 3px solid var(--line);
  border-radius: 999px;
  padding: 11px 14px;
  color: var(--navy);
  background: var(--white);
  box-shadow: 4px 4px 0 var(--line);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
}

.filter-chip.active {
  color: var(--white);
  background: var(--blue);
}

.empty-state {
  max-width: 820px;
  background: var(--gold);
}

.empty-state h2 {
  font-size: clamp(2.1rem, 5.2vw, 5rem);
}

.plain-list,
.check-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list {
  display: grid;
  gap: 10px;
}

.plain-list li,
.check-grid li {
  padding: 15px 16px;
  border: 3px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  box-shadow: 4px 4px 0 var(--line);
  font-weight: 900;
}

.plain-list li:nth-child(2n),
.check-grid li:nth-child(2n) {
  background: var(--cyan);
}

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

.kit-shop-section {
  position: relative;
  max-width: none;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 87, 255, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(0, 87, 255, 0.06) 1px, transparent 1px),
    var(--paper);
  background-size: 26px 26px;
}

.kit-shop-heading {
  max-width: 880px;
}

.kit-shop-section > * {
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
}

.kit-shop-section::after {
  content: "OFFICIAL SHOP";
  position: absolute;
  top: 60px;
  right: clamp(18px, 5vw, 72px);
  color: rgba(0, 87, 255, 0.08);
  font-family: var(--display-font);
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 900;
  line-height: 0.8;
  pointer-events: none;
}

.inter-clapham-shopify-collection {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.inter-clapham-shopify-collection iframe,
.shopify-buy-frame {
  width: 100% !important;
  max-width: 100% !important;
}

.shopify-loading,
.shopify-collection-error {
  color: var(--navy);
  font-weight: 900;
}

.shopify-loading,
.shopify-collection-error {
  margin: 0 0 24px;
  padding: 18px;
  border: 4px solid var(--line);
  border-radius: 10px;
  background: var(--gold);
  box-shadow: var(--shadow);
}

.shopify-collection-error {
  color: #8b1e1e;
  background: #fff1f1;
}

.application-form {
  max-width: 1080px;
  border: 4px solid var(--line);
  border-radius: 10px;
  padding: clamp(18px, 4vw, 34px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.application-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 900;
}

.application-form input,
.application-form textarea {
  width: 100%;
  border: 3px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  font-weight: 760;
}

.application-form input:focus,
.application-form textarea:focus {
  outline: 4px solid var(--gold);
}

.application-form textarea {
  resize: vertical;
}

.form-wide {
  grid-column: 1 / -1;
}

.checkbox-label {
  align-content: start;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 52px;
}

.checkbox-label input {
  width: auto;
}

.application-form .button {
  margin-top: 22px;
}

.form-note {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 850;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0;
}

.footer-links a,
.light-link {
  color: var(--gold);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.join-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: center;
  gap: 34px;
  color: var(--white);
  max-width: none;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(3, 26, 70, 0.95), rgba(0, 87, 255, 0.9)),
    var(--blue);
}

.join-section > * {
  max-width: 780px;
}

.join-section h2,
.join-section h3 {
  color: var(--white);
}

.join-section p {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.join-panel {
  color: var(--ink);
  background: var(--gold);
}

.join-panel h3 {
  color: var(--navy);
}

.join-panel p {
  color: var(--navy);
}

.join-panel .button {
  margin-top: 20px;
  width: 100%;
}

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

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  color: var(--navy);
  background: var(--mist);
  font-size: 1.1rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

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

body[data-page="contact"] .contact-card {
  min-height: 230px;
}

body[data-page="contact"] .contact-card strong {
  font-size: clamp(1.45rem, 3vw, 2.45rem);
}

body[data-page="join"] .check-grid li {
  min-height: 76px;
  display: flex;
  align-items: center;
}

a.contact-card:hover {
  transform: translate(-3px, -3px) rotate(-0.5deg);
  box-shadow: 14px 14px 0 var(--line);
}

.site-footer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: clamp(30px, 5vw, 58px) clamp(18px, 5vw, 72px);
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--deep-navy), var(--navy) 55%, var(--blue-dark)),
    var(--deep-navy);
  border-top: 4px solid var(--line);
}

.site-footer::after {
  content: "UP THE CLAPHAM";
  position: absolute;
  right: clamp(16px, 5vw, 72px);
  bottom: -0.1em;
  color: rgba(255, 255, 255, 0.08);
  font-size: clamp(3rem, 9vw, 9rem);
  font-weight: 900;
  line-height: 0.8;
  pointer-events: none;
}

.site-footer img,
.site-footer > div {
  position: relative;
  z-index: 2;
}

.site-footer img {
  width: 66px;
  height: 66px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--line);
}

.site-footer strong {
  display: block;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 760;
}

@keyframes tickerPulse {
  0%,
  100% {
    transform: rotate(-8deg) translateY(0);
  }

  50% {
    transform: rotate(-8deg) translateY(-5px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  body::before {
    animation: tickerPulse 4s ease-in-out infinite;
  }
}

@media (max-width: 980px) {
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-drop-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    font-size: 0.8rem;
  }
}

@media (max-width: 860px) {
  body::before {
    display: none;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    padding: 14px 18px 20px;
  }

  .brand {
    grid-column: 1;
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 2;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 12px 18px;
    font-size: 1.1rem;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 460px);
    min-height: 56px;
    border-color: rgba(255, 255, 255, 0.25);
    padding: 13px 18px;
    text-align: center;
  }

  .hero,
  .shop-callout,
  .home-culture-section,
  .match-layout,
  .join-section,
  .details-list dl,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .shop-callout {
    min-height: auto;
  }

  .hero::after {
    position: relative;
    right: auto;
    bottom: auto;
    width: max-content;
    max-width: 100%;
    margin-top: 8px;
  }

  .drop-card,
  .drop-card-large {
    min-height: 260px;
  }

  .drop-card strong {
    max-width: 12ch;
  }

  .shop-callout-image {
    transform: none;
  }

  .home-culture-image {
    transform: none;
  }

  .shop-callout::after,
  .kit-shop-section::after,
  body[data-page="culture"] .culture-grid::after {
    display: none;
  }

  .hero-crest {
    width: min(300px, 72vw);
    box-shadow: 10px 10px 0 rgba(255, 230, 109, 0.95), 18px 18px 0 var(--line);
  }

  .stats-grid,
  .squad-grid,
  .archive-player-grid,
  .record-leader-grid,
  .partner-grid,
  .contact-grid,
  .culture-layout,
  .culture-grid,
  .value-grid,
  .profile-grid,
  .season-player-grid,
  .check-grid,
  .timeline,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .split-heading {
    display: block;
  }

  .photo-gallery {
    grid-auto-columns: minmax(260px, 78vw);
  }

  .club-archive-strip {
    grid-template-columns: 1fr;
  }

  .club-archive-strip img {
    min-height: 220px;
    transform: none;
  }

  .gallery-lightbox {
    grid-template-columns: 1fr 1fr;
    align-content: center;
    padding: 72px 16px 22px;
  }

  .gallery-lightbox-frame {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .gallery-lightbox-nav {
    grid-row: 2;
    width: 100%;
  }

  .gallery-lightbox-nav-prev {
    grid-column: 1;
  }

  .gallery-lightbox-nav-next {
    grid-column: 2;
  }

  .scoreline {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .scoreline span:last-child {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .brand {
    gap: 10px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand strong {
    font-size: 0.86rem;
  }

  .brand small {
    font-size: 0.62rem;
  }

  .hero-actions,
  .cta-actions,
  .button {
    width: 100%;
  }

  .section-band,
  .section {
    padding: 38px 18px 40px 16px;
  }

  .page-hero {
    padding: 48px 18px 50px 16px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(2.75rem, 13vw, 3.75rem);
    line-height: 0.84;
  }

  .page-hero h1 {
    font-size: clamp(2.35rem, 10.6vw, 3.1rem);
    line-height: 0.88;
  }

  h2 {
    font-size: clamp(1.95rem, 10vw, 2.8rem);
    line-height: 0.9;
  }

  .hero-copy {
    font-size: 0.98rem;
    max-width: 30ch;
  }

  .hero {
    gap: 22px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .button {
    min-height: 48px;
    padding: 12px 16px;
    font-size: 0.78rem;
  }

  .hero-crest {
    width: min(220px, 58vw);
    padding: 10px;
    box-shadow: 7px 7px 0 rgba(255, 230, 109, 0.95), 13px 13px 0 var(--line);
  }

  .hero::after {
    font-size: 0.82rem;
    padding: 8px 10px;
    box-shadow: 5px 5px 0 var(--line);
  }

  .page-hero p:not(.eyebrow),
  .section-heading p:not(.eyebrow) {
    max-width: 32ch;
  }

  .home-drop-grid {
    gap: 16px;
  }

  .drop-card,
  .drop-card-large {
    min-height: auto;
    padding: 18px;
  }

  .drop-card::after {
    font-size: 3rem;
  }

  .drop-card strong,
  .drop-card-large strong {
    max-width: 12ch;
    font-size: clamp(1.8rem, 9vw, 2.45rem);
    line-height: 0.86;
  }

  .home-culture-section h2 {
    max-width: none;
    font-size: clamp(1.95rem, 10vw, 2.8rem);
  }

  .shop-callout-image {
    box-shadow: 6px 6px 0 var(--line);
  }

  .video-frame,
  .league-table-card {
    box-shadow: 6px 6px 0 var(--blue);
  }

  .league-table {
    min-width: 680px;
  }

  .league-table caption {
    padding: 14px 14px;
  }

  .league-table th,
  .league-table td {
    padding: 12px 9px;
    font-size: 0.86rem;
  }

  .league-table tbody th {
    min-width: 190px;
  }

  .shop-callout-image img {
    aspect-ratio: 1 / 1;
  }

  .home-culture-image {
    box-shadow: 6px 6px 0 var(--line);
  }

  .home-culture-image img {
    aspect-ratio: 5 / 4;
  }

  .drop-card p {
    margin-top: 12px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .plain-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .archive-player-card summary {
    grid-template-columns: 54px minmax(0, 1fr) auto;
    padding: 12px;
  }

  .archive-player-totals,
  .archive-player-breakdown dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .season-squad-panel summary {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 16px;
  }

  .season-squad-panel summary span {
    font-size: clamp(1.65rem, 9vw, 2.35rem);
  }

  .season-squad-panel summary strong {
    display: none;
  }

  .season-squad-panel summary::after {
    width: 38px;
    height: 38px;
  }

  .season-player-grid {
    gap: 12px;
    padding: 16px;
  }

  .season-player-card {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .player-silhouette {
    width: 50px;
    height: 50px;
  }

  .gallery-actions {
    width: 100%;
    gap: 10px;
  }

  .gallery-arrow {
    flex: 1;
  }

  .photo-gallery {
    grid-auto-columns: minmax(250px, 84vw);
    gap: 14px;
    padding-bottom: 18px;
  }

  .gallery-slide {
    box-shadow: 6px 6px 0 var(--line);
    transform: none;
  }

  .gallery-slide:nth-child(2n) {
    transform: none;
  }

  .gallery-lightbox-frame img {
    max-height: 64vh;
    box-shadow: 7px 7px 0 var(--blue);
  }

  .plain-list li,
  .check-grid li {
    border-width: 3px;
    border-radius: 18px;
    padding: 11px 12px;
    font-size: 0.82rem;
    line-height: 1.12;
  }

  .culture-card h2 {
    font-size: clamp(1.55rem, 7.8vw, 2.15rem);
    line-height: 0.92;
  }

  .instagram-embed img {
    max-height: 300px;
    box-shadow: 5px 5px 0 var(--blue);
  }

  .instagram-card .instagram-embed img {
    max-height: 220px;
  }

  body[data-page="culture"] .culture-card:nth-child(1),
  body[data-page="culture"] .culture-card:nth-child(2) {
    transform: none;
  }

  .stat-card,
  .squad-card,
  .partner-card,
  .contact-card,
  .culture-card,
  .timeline-card,
  .value-card,
  .profile-card,
  .empty-state,
  .fixture-card,
  .result-card,
  .join-panel,
  .application-form {
    box-shadow: 6px 6px 0 var(--line);
  }
}
