
/* =========================================================
   CRESTMONT FC — AVENOR DIGITAL STUDIO
   Brand: Midnight Navy / Royal Blue / Championship Gold
   Typography: Sora / Inter
   ========================================================= */

/* 01. RESET & DESIGN TOKENS
   ========================================================= */

:root {
  --navy: #101D35;
  --navy-light: #182944;
  --royal: #243F68;
  --gold: #C6A15B;
  --gold-light: #D9BB7C;
  --ivory: #F5F3ED;
  --white: #FFFFFF;
  --ink: #172033;
  --muted: #737B88;
  --muted-light: #AAB2BF;
  --line-light: rgba(16, 29, 53, 0.14);
  --line-dark: rgba(245, 243, 237, 0.15);

  --font-heading: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;

  --container: 1200px;
  --header-height: 88px;

  --transition: 250ms ease;
  --shadow: 0 18px 50px rgba(16, 29, 53, 0.12);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  min-width: 320px;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--gold);
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.dark {
  background: var(--navy);
  color: var(--ivory);
}

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.2px;
  line-height: 1.5;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

h2 {
  margin-top: 17px;
  font-size: clamp(34px, 4.4vw, 58px);
}

p {
  color: var(--muted);
}

.dark p {
  color: var(--muted-light);
}

/* 02. ACCESSIBILITY
   ========================================================= */

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  transform: translateY(-150%);
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

/* 03. HEADER & NAVIGATION
   ========================================================= */

.site-header {
  position: absolute;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(16, 29, 53, 0.25);
  color: var(--white);
  transition:
    background var(--transition),
    box-shadow var(--transition);
}

.site-header.scrolled {
  position: fixed;
  background: rgba(16, 29, 53, 0.97);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
}

.brand-name {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.brand-name span {
  color: var(--gold);
}

.primary-navigation {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 30px;
}

.primary-navigation a {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: color var(--transition);
}

.primary-navigation a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold);
  content: "";
  transition: transform var(--transition);
}

.primary-navigation a:hover,
.primary-navigation a:focus-visible {
  color: var(--gold-light);
}

.primary-navigation a:hover::after,
.primary-navigation a:focus-visible::after {
  transform: scaleX(1);
}

.primary-navigation .nav-cta {
  padding: 11px 17px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  transition:
    background var(--transition),
    color var(--transition);
}

.primary-navigation .nav-cta:hover {
  background: var(--gold);
  color: var(--navy);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  background: var(--white);
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* 04. BUTTONS & TEXT LINKS
   ========================================================= */

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 25px;
  border: 1px solid transparent;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-align: center;
  text-transform: uppercase;
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  border-color: var(--gold-light);
  background: var(--gold-light);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.65);
  background: transparent;
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  transition:
    gap var(--transition),
    color var(--transition);
}

.text-link:hover {
  gap: 16px;
  color: var(--gold-light);
}

/* 05. HERO
   ========================================================= */

.hero {
  position: relative;
  display: flex;
  min-height: 760px;
  min-height: min(850px, 100svh);
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.hero-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(10, 22, 42, 0.94) 0%,
      rgba(10, 22, 42, 0.77) 45%,
      rgba(10, 22, 42, 0.35) 100%
    ),
    linear-gradient(
      0deg,
      rgba(10, 22, 42, 0.75) 0%,
      transparent 45%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 110px;
}

.hero h1 {
  max-width: 850px;
  margin-top: 24px;
  font-size: clamp(58px, 9.5vw, 118px);
  line-height: 0.99;
  letter-spacing: -0.075em;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero-content > p {
  max-width: 520px;
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 35px;
}

.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 100px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

/* 06. CLUB INTRODUCTION
   ========================================================= */

.club-intro {
  background: var(--ivory);
}

.club-intro-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: end;
  gap: 90px;
}

.club-intro h2 {
  color: var(--navy);
}

.club-intro-copy {
  max-width: 490px;
}

.club-intro-copy p {
  font-size: 15px;
  line-height: 1.95;
}

.club-intro-copy .text-link {
  margin-top: 24px;
}

.club-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 85px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.club-stats > div {
  display: flex;
  min-height: 130px;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 20px 25px;
  border-right: 1px solid var(--line-light);
}

.club-stats > div:first-child {
  padding-left: 0;
}

.club-stats > div:last-child {
  border-right: 0;
}

.club-stats strong {
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: clamp(23px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -1.5px;
}

.club-stats span {
  color: var(--muted);
  font-size: 11px;
}

/* 07. SECTION HEADINGS
   ========================================================= */

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 390px;
  font-size: 13px;
  line-height: 1.9;
}

.section-heading > .text-link {
  margin-bottom: 8px;
}

.dark .section-heading h2,
.dark h2 {
  color: var(--ivory);
}

/* 08. FIRST TEAM FEATURE
   ========================================================= */

.team-feature {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: var(--royal);
}

.team-feature > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.team-feature::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 22, 42, 0.92),
    rgba(10, 22, 42, 0.2)
  );
  content: "";
}

.team-feature-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 390px;
  max-width: 600px;
  justify-content: center;
  flex-direction: column;
  padding: 55px;
}

.team-feature-content > span {
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.team-feature-content h3 {
  margin-top: 18px;
  color: var(--white);
  font-size: clamp(29px, 4vw, 46px);
}

.team-feature-content p {
  max-width: 380px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

/* 09. PLAYER CARDS
   ========================================================= */

.squad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 35px;
}

.player-card {
  min-width: 0;
}

.player-image {
  position: relative;
  aspect-ratio: 0.82;
  overflow: hidden;
  background: var(--royal);
}

.player-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75);
  transition:
    transform 600ms ease,
    filter 400ms ease;
}

.player-card:hover .player-image img {
  transform: scale(1.055);
  filter: saturate(1);
}

.player-number {
  position: absolute;
  right: 14px;
  bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.35);
}

.player-info {
  padding-top: 17px;
}

.player-info > span {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.player-info h3 {
  margin-top: 5px;
  color: var(--white);
  font-size: 18px;
  letter-spacing: -0.6px;
}

.demo-note {
  margin-top: 35px;
  color: var(--muted-light);
  font-size: 10px;
  line-height: 1.7;
}

/* 10. FIXTURES
   ========================================================= */

.fixtures-section {
  background: var(--ivory);
}

.fixtures-section h2 {
  color: var(--navy);
}

.season-label {
  padding: 10px 15px;
  border: 1px solid var(--line-light);
  color: var(--royal);
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.fixture-list {
  border-top: 1px solid var(--line-light);
}

.fixture-card {
  padding: 25px 0;
  border-bottom: 1px solid var(--line-light);
  transition: padding var(--transition);
}

.fixture-card:hover {
  padding-right: 10px;
  padding-left: 10px;
}

.fixture-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 10px;
}

.fixture-meta time {
  color: var(--royal);
  font-weight: 700;
}

.fixture-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
  padding: 24px 0 17px;
}

.fixture-team {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--navy);
}

.fixture-team.opponent {
  justify-content: flex-end;
  text-align: right;
}

.fixture-team strong {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.club-badge {
  display: grid;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid var(--gold);
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
}

.opponent-badge {
  border-color: var(--royal);
  background: var(--royal);
  color: var(--white);
}

.fixture-vs {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
}

.fixture-status {
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

/* 11. CLUB STORY & HONOURS
   ========================================================= */

.honours-section {
  background:
    radial-gradient(
      circle at 85% 50%,
      rgba(36, 63, 104, 0.45),
      transparent 42%
    ),
    var(--navy);
}

.honours-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: 100px;
}

.honours-grid > div:first-child > p {
  max-width: 440px;
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.9;
}

.honours-grid .text-link {
  margin-top: 25px;
}

.honours-display {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.honour-item {
  display: flex;
  min-height: 210px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-right: 1px solid var(--line-dark);
  text-align: center;
}

.honour-item:last-child {
  border-right: 0;
}

.honour-symbol {
  margin-bottom: 13px;
  color: var(--gold);
  font-size: 27px;
}

.honour-item strong {
  color: var(--ivory);
  font-family: var(--font-heading);
  font-size: 39px;
  font-weight: 800;
}

.honour-item > span:last-child {
  margin-top: 5px;
  color: var(--muted-light);
  font-size: 10px;
}

/* 12. ACADEMY INTRODUCTION
   ========================================================= */

.academy-section {
  background: var(--ivory);
}

.academy-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 85px;
}

.academy-image {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  background: var(--royal);
}

.academy-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.academy-image::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(10, 22, 42, 0.8));
  content: "";
}

.academy-image > span {
  position: absolute;
  z-index: 1;
  bottom: 25px;
  left: 25px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.academy-content h2 {
  color: var(--navy);
}

.academy-content > p {
  max-width: 460px;
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.9;
}

.academy-content .btn {
  margin-top: 30px;
}

/* 13. ACADEMY PROGRAMMES
   ========================================================= */

.academy-programmes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.academy-programme {
  min-height: 235px;
  padding: 28px 23px;
  border-right: 1px solid var(--line-dark);
  transition: background var(--transition);
}

.academy-programme:first-child {
  padding-left: 0;
}

.academy-programme:last-child {
  padding-right: 0;
  border-right: 0;
}

.academy-programme:hover {
  background: rgba(255, 255, 255, 0.035);
}

.academy-programme > span {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

.academy-programme h3 {
  margin-top: 28px;
  color: var(--ivory);
  font-size: 36px;
}

.academy-programme p {
  margin-top: 13px;
  font-size: 11px;
  line-height: 1.8;
}

/* 14. TRIALS
   ========================================================= */

.trials-section {
  background: var(--ivory);
}

.trials-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 100px;
}

.trials-grid h2 {
  color: var(--navy);
}

.trials-grid > div:first-child > p {
  max-width: 430px;
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.9;
}

.trials-grid .btn {
  margin-top: 28px;
}

.trials-details {
  border-top: 1px solid var(--line-light);
}

.trials-details > div {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line-light);
}

.trials-details span {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
}

.trials-details strong {
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
}

/* 15. NEWS
   ========================================================= */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.news-card {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  padding: 27px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.025);
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: rgba(198, 161, 91, 0.6);
  background: rgba(255, 255, 255, 0.05);
}

.news-card > span {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.1px;
}

.news-card h3 {
  margin-top: 28px;
  color: var(--ivory);
  font-size: 20px;
  line-height: 1.4;
}

.news-card p {
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.8;
}

/* 16. CONTACT
   ========================================================= */

.contact-section {
  background: var(--ivory);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 100px;
}

.contact-content h2 {
  color: var(--navy);
}

.contact-content > p {
  max-width: 420px;
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.9;
}

.contact-details {
  display: grid;
  gap: 22px;
  margin-top: 48px;
  padding-top: 27px;
  border-top: 1px solid var(--line-light);
}

.contact-details > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-details span {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.contact-details strong {
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 51px;
  padding: 13px 15px;
  border: 1px solid rgba(16, 29, 53, 0.2);
  border-radius: 0;
  outline: none;
  background: rgba(255, 255, 255, 0.55);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 12px;
  transition:
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.field textarea {
  min-height: 135px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #969CA5;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.12);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #B84747;
}

.field-error {
  color: #B13B3B;
  font-size: 11px;
  line-height: 1.5;
}

.contact-form .btn {
  align-self: flex-start;
  min-width: 180px;
  margin-top: 3px;
}

.form-status {
  min-height: 20px;
  color: var(--royal);
  font-size: 12px;
}

#form-disclaimer {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

/* 17. FOOTER
   ========================================================= */

.site-footer {
  padding: 65px 0 25px;
  background: var(--navy);
  color: var(--ivory);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-bottom: 45px;
}

.footer-main > p {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-align: right;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  color: var(--muted-light);
  font-size: 10px;
}

.footer-bottom a {
  color: var(--gold);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

.site-footer > .container > .demo-note {
  margin-top: 20px;
  color: rgba(245, 243, 237, 0.48);
  font-size: 9px;
}

/* 18. RESPONSIVE — TABLETS
   ========================================================= */

@media (max-width: 1050px) {
  :root {
    --header-height: 78px;
  }

  .container {
    width: min(var(--container), calc(100% - 48px));
  }

  .primary-navigation {
    gap: 18px;
  }

  .primary-navigation a {
    font-size: 10px;
  }

  .club-intro-grid,
  .honours-grid,
  .academy-grid,
  .trials-grid,
  .contact-grid {
    gap: 55px;
  }

  .squad-grid {
    gap: 15px;
  }

  .player-info h3 {
    font-size: 15px;
  }
}

@media (max-width: 800px) {
  .section {
    padding: 85px 0;
  }

  .club-intro-grid,
  .honours-grid,
  .academy-grid,
  .trials-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .club-intro-copy {
    max-width: 620px;
  }

  .club-stats {
    margin-top: 55px;
  }

  .squad-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 18px;
  }

  .honours-grid {
    gap: 45px;
  }

  .academy-image {
    min-height: 390px;
  }

  .academy-programmes {
    grid-template-columns: repeat(2, 1fr);
  }

  .academy-programme {
    min-height: 205px;
    padding: 25px;
    border-bottom: 1px solid var(--line-dark);
  }

  .academy-programme:first-child {
    padding-left: 25px;
  }

  .academy-programme:nth-child(2) {
    border-right: 0;
  }

  .academy-programme:nth-child(3) {
    padding-left: 25px;
    border-bottom: 0;
  }

  .academy-programme:last-child {
    border-bottom: 0;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card {
    min-height: 190px;
  }

  .contact-grid {
    gap: 50px;
  }
}

/* 19. RESPONSIVE — MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 1002;
  }

  .primary-navigation {
    position: fixed;
    z-index: 1001;
    inset: 0;
    display: flex;
    height: 100svh;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    gap: 0;
    padding: 110px 40px 50px;
    transform: translateX(100%);
    background: var(--navy);
    visibility: hidden;
    transition:
      transform 350ms ease,
      visibility 350ms ease;
  }

  .primary-navigation.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .primary-navigation a {
    width: 100%;
    padding: 17px 0;
    border-bottom: 1px solid var(--line-dark);
    color: var(--ivory);
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
  }

  .primary-navigation a:not(.nav-cta)::after {
    display: none;
  }

  .primary-navigation .nav-cta {
    width: fit-content;
    margin-top: 25px;
    padding: 13px 20px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 12px;
  }
}

/* 20. RESPONSIVE — SMALL MOBILE
   ========================================================= */

@media (max-width: 560px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: calc(100% - 38px);
  }

  .section {
    padding: 70px 0;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
    font-size: 22px;
  }

  .brand-name {
    font-size: 14px;
  }

  .hero {
    min-height: 760px;
    min-height: 100svh;
  }

  .hero-bg img {
    object-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(10, 22, 42, 0.88),
        rgba(10, 22, 42, 0.52)
      ),
      linear-gradient(
        0deg,
        rgba(10, 22, 42, 0.72),
        transparent 65%
      );
  }

  .hero-content {
    padding-top: 95px;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(55px, 15vw, 78px);
  }

  .hero-content > p {
    max-width: 360px;
    margin-top: 20px;
    font-size: 13px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 11px;
    margin-top: 28px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    margin-top: 65px;
    font-size: 8px;
  }

  h2 {
    font-size: clamp(34px, 10vw, 45px);
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
  }

  .section-heading > p {
    font-size: 12px;
  }

  .club-intro-grid {
    gap: 25px;
  }

  .club-stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 42px;
  }

  .club-stats > div {
    min-height: 100px;
    padding: 16px;
    border-bottom: 1px solid var(--line-light);
  }

  .club-stats > div:first-child {
    padding-left: 16px;
  }

  .club-stats > div:nth-child(2) {
    border-right: 0;
  }

  .club-stats > div:nth-child(3),
  .club-stats > div:nth-child(4) {
    border-bottom: 0;
  }

  .club-stats strong {
    font-size: 25px;
  }

  .team-feature,
  .team-feature-content {
    min-height: 330px;
  }

  .team-feature-content {
    padding: 27px;
  }

  .team-feature-content h3 {
    font-size: 31px;
  }

  .squad-grid {
    gap: 24px 13px;
    margin-top: 25px;
  }

  .player-info {
    padding-top: 12px;
  }

  .player-info h3 {
    font-size: 14px;
  }

  .player-info > span {
    font-size: 8px;
  }

  .player-number {
    right: 9px;
    bottom: 8px;
    font-size: 38px;
  }

  .fixture-card {
    padding: 20px 0;
  }

  .fixture-meta {
    flex-direction: column;
    gap: 4px;
    font-size: 9px;
  }

  .fixture-teams {
    gap: 8px;
    padding: 19px 0 14px;
  }

  .fixture-team {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .fixture-team.opponent {
    align-items: flex-end;
  }

  .fixture-team strong {
    font-size: 9px;
    line-height: 1.5;
  }

  .club-badge {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .fixture-vs {
    font-size: 10px;
  }

  .fixture-status {
    font-size: 9px;
  }

  .honours-display {
    grid-template-columns: 1fr 1fr;
  }

  .honour-item {
    min-height: 165px;
  }

  .honour-item strong {
    font-size: 31px;
  }

  .academy-image {
    min-height: 300px;
  }

  .academy-image > span {
    bottom: 17px;
    left: 17px;
    font-size: 8px;
  }

  .academy-programmes {
    grid-template-columns: 1fr 1fr;
  }

  .academy-programme {
    min-height: 205px;
    padding: 20px 14px;
  }

  .academy-programme:first-child,
  .academy-programme:nth-child(3) {
    padding-left: 14px;
  }

  .academy-programme h3 {
    margin-top: 22px;
    font-size: 31px;
  }

  .academy-programme p {
    font-size: 10px;
  }

  .trials-details > div {
    min-height: 68px;
  }

  .news-card {
    min-height: 185px;
    padding: 22px;
  }

  .news-card h3 {
    margin-top: 20px;
    font-size: 18px;
  }

  .contact-form {
    gap: 17px;
  }

  .contact-form .btn {
    width: 100%;
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 30px;
  }

  .footer-main > p {
    font-size: 8px;
    text-align: left;
  }

  .footer-bottom {
    align-items: flex-start;
    font-size: 9px;
  }
}

/* 21. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}