:root {
  --ink: #172026;
  --muted: #5f6f78;
  --line: #dbe5e2;
  --paper: #fbfdfb;
  --mist: #edf6f0;
  --field: #1f7a4d;
  --field-dark: #105338;
  --sun: #f5b544;
  --clay: #b44a35;
  --navy: #183957;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(18, 42, 34, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(16, 55, 42, 0.98);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 253, 251, 0.96);
  box-shadow: 0 1px 22px rgba(22, 41, 35, 0.12);
  backdrop-filter: blur(14px);
}

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

.brand-logo {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.22));
}

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

.brand strong {
  font-size: 0.96rem;
  line-height: 1.2;
}

.brand small {
  color: currentColor;
  font-size: 0.76rem;
  opacity: 0.74;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--sun);
  color: #251500;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: calc(94vh - 76px);
  min-height: calc(94svh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 31, 23, 0.9) 0%, rgba(8, 31, 23, 0.72) 38%, rgba(8, 31, 23, 0.2) 72%),
    linear-gradient(0deg, rgba(8, 31, 23, 0.5), rgba(8, 31, 23, 0.04) 42%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: clamp(44px, 8vh, 88px) 0 clamp(56px, 9vh, 100px) clamp(18px, 6vw, 80px);
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sun);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 5.2vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.hero-content p {
  max-width: 650px;
  font-size: clamp(1rem, 1.6vw, 1.24rem);
  color: rgba(255, 255, 255, 0.86);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.primary {
  background: var(--sun);
  color: #241500;
}

.secondary {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-info {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-info h3 {
  margin-bottom: 10px;
}

.contact-info p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-info p:last-child {
  margin-bottom: 0;
}

.section {
  padding: clamp(72px, 9vw, 132px) clamp(18px, 5vw, 72px);
}

.intro-grid,
.split,
.coach,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
}

.intro-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.stats-band div {
  min-height: 174px;
  padding: clamp(24px, 4vw, 46px);
  background: var(--field-dark);
  color: var(--white);
}

.stats-band strong,
.stats-band span {
  display: block;
}

.stats-band strong {
  margin-bottom: 10px;
  color: var(--sun);
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1;
}

.stats-band span {
  color: rgba(255, 255, 255, 0.82);
}

.section-heading {
  max-width: 830px;
  margin-bottom: 38px;
}

.section-heading p,
.split p,
.coach-copy p,
.contact-content p {
  color: var(--muted);
  font-size: 1.06rem;
}

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

.feature-card,
.pathway article {
  min-height: 245px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(25, 48, 40, 0.06);
}

.feature-card p,
.pathway p {
  color: var(--muted);
}

.icon,
.pathway span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 34px;
  margin-bottom: 20px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--mist);
  color: var(--field-dark);
  font-weight: 800;
}

.muted {
  background: var(--mist);
}

.rugby-heading {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
}

.rugby-heading img {
  width: 128px;
  height: 128px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(18, 42, 34, 0.16));
}

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

.service-list {
  display: grid;
  gap: 12px;
}

.service-list div {
  display: grid;
  grid-template-columns: minmax(140px, 0.34fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.service-list span,
.credentials li {
  color: var(--muted);
}

.note {
  margin-top: 28px;
  padding-left: 18px;
  border-left: 4px solid var(--sun);
  font-weight: 700;
}

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

.coach .section-kicker {
  color: var(--sun);
}

.coach-copy p,
.credentials li {
  color: rgba(255, 255, 255, 0.78);
}

.credentials {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.credentials ul {
  margin: 0;
  padding-left: 20px;
}

.credentials li + li {
  margin-top: 10px;
}

.contact {
  padding: clamp(72px, 9vw, 132px) clamp(18px, 5vw, 72px);
  background: var(--field);
  color: var(--white);
}

.contact .section-kicker {
  color: var(--sun);
}

.contact-content p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #f8fbfa;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(245, 181, 68, 0.38);
  border-color: var(--sun);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.fallback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding-top: 4px;
  font-size: 0.92rem;
  font-weight: 800;
}

.fallback-actions a {
  color: var(--field-dark);
}

.contact .secondary {
  background: transparent;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: #101c18;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

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

  .intro-grid,
  .split,
  .coach,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1280px) {
  .hero-content {
    max-width: 800px;
  }

  .section-heading {
    max-width: 900px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 76px;
  }

  .site-header {
    min-height: 70px;
    padding: 11px 18px;
  }

  .brand strong {
    font-size: clamp(0.78rem, 3.2vw, 0.86rem);
  }

  .brand-logo {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: calc(88vh - 70px);
    min-height: calc(88svh - 70px);
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 31, 23, 0.92), rgba(8, 31, 23, 0.62)),
      linear-gradient(0deg, rgba(8, 31, 23, 0.6), rgba(8, 31, 23, 0.08));
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 46px 18px 58px;
  }

  .hero-actions,
  .contact-actions {
    gap: 10px;
  }

  .rugby-heading {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
  }

  .rugby-heading img {
    width: 88px;
    height: 88px;
  }

  .stats-band,
  .feature-grid,
  .pathway {
    grid-template-columns: 1fr;
  }

  .service-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 8px;
  }
}

@media (max-width: 520px) {
  .section,
  .contact {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.3rem);
  }

  .hero-content p,
  .section-heading p,
  .split p,
  .coach-copy p,
  .contact-content p {
    font-size: 1rem;
  }

  .feature-card,
  .pathway article,
  .credentials,
  .contact-form,
  .contact-info {
    padding: 20px;
  }

  .rugby-heading {
    grid-template-columns: 1fr;
  }

  .rugby-heading img {
    width: 104px;
    height: 104px;
  }
}

@media (max-width: 380px) {
  .brand {
    gap: 9px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .hero-content {
    width: calc(100% - 28px);
    margin: 34px 14px 42px;
  }

  .eyebrow,
  .section-kicker {
    font-size: 0.72rem;
  }

  .button {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-height: 680px) and (min-width: 761px) {
  .hero {
    min-height: 620px;
  }

  .hero-content {
    margin-top: 42px;
    margin-bottom: 48px;
  }
}
