:root {
  --bg-dark: #171616;
  --bg-smoke: #f5f5f5;
  --text-dark: #3d2b1f;
  --text-light: #f7f5f2;
  --accent-red: #e93d3d;
  --accent-tan: #c08552;
  --accent-brown: #6b4f3b;
  --accent-blue: #155eef;
  --border-dark: rgba(0, 0, 0, 0.85);
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.14);
  --container-width: 1170px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--text-dark);
  background: #fff;
}

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

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

button {
  font: inherit;
}

input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg-dark);
  border-top: 10px solid var(--accent-tan);
  border-bottom: 10px solid var(--accent-tan);
}

.header-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 112px;
}

.brand img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

.site-nav a,
.button {
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-red);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 32px;
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-outline {
  color: var(--accent-red);
  background: transparent;
  border: 3px solid var(--accent-red);
}

.button-outline:hover,
.button-outline:focus-visible {
  background: rgba(233, 61, 61, 0.08);
}

.button-solid {
  color: var(--text-light);
  background: var(--accent-red);
  border: 1px solid #fff;
}

.button-solid:hover,
.button-solid:focus-visible {
  background: #d42f2f;
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 48px;
  height: 48px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 6px 0;
  background: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(23, 22, 22, 0.82) 0%, rgba(23, 22, 22, 0.68) 36%, rgba(23, 22, 22, 0.42) 100%),
    url("/assets/worldcup-hero.jpg") center center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.38));
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: clamp(540px, 70vh, 760px);
  display: flex;
  align-items: flex-end;
  padding: 120px 0;
}

.hero-copy {
  width: min(100%, 760px);
  color: #fff;
}

.hero-copy h1 {
  margin: 0 0 28px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3.1rem, 4.8vw, 4.6rem);
  line-height: 0.98;
  font-weight: 500;
  text-wrap: balance;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-copy p {
  width: min(100%, 540px);
  margin: 0 0 18px;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
}

.training-section {
  padding: 100px 0;
  background: var(--bg-smoke);
  border-top: 10px solid var(--accent-tan);
  border-bottom: 10px solid var(--accent-tan);
}

.training-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.02fr) minmax(420px, 1.48fr);
  align-items: center;
  gap: 48px;
}

.training-visual {
  background: linear-gradient(180deg, #232222, #0f0f0f);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-soft);
}

.training-visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.training-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--accent-blue);
}

.training-copy h2 {
  margin: 10px 0 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.6rem, 4.4vw, 3.75rem);
  line-height: 1;
  font-weight: 600;
  color: #000;
}

.divider {
  width: min(220px, 50%);
  height: 1px;
  margin: 26px 0 28px;
  background: var(--accent-brown);
}

.training-copy p {
  width: min(100%, 680px);
  margin: 0 0 20px;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.7;
}

.training-copy .button {
  margin-top: 10px;
  align-self: center;
}

.pitch-deck-section {
  padding: 100px 0;
  background:
    radial-gradient(circle at top left, rgba(21, 94, 239, 0.14), transparent 36%),
    linear-gradient(180deg, #ffffff, #f8f6f2);
}

.pitch-deck-card {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 520px);
  gap: 40px;
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
  background: #fff;
  border: 1px solid rgba(61, 43, 31, 0.14);
  box-shadow: var(--shadow-soft);
}

.pitch-deck-copy h2 {
  margin: 10px 0 18px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  line-height: 1;
  color: #000;
}

.pitch-deck-copy p {
  margin: 0 0 16px;
  font-size: 1.08rem;
  line-height: 1.7;
}

.pitch-deck-note {
  color: rgba(61, 43, 31, 0.76);
}

.pitch-deck-form {
  display: grid;
  gap: 14px;
}

.pitch-deck-form input {
  width: 100%;
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid rgba(61, 43, 31, 0.2);
  border-radius: 16px;
  background: #fff;
  color: var(--text-dark);
}

.pitch-deck-form input:focus-visible {
  outline: 3px solid rgba(21, 94, 239, 0.18);
  outline-offset: 2px;
  border-color: var(--accent-blue);
}

.pitch-deck-form .button {
  width: 100%;
}

.pitch-deck-form .button:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.pitch-deck-status {
  min-height: 1.5em;
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.5;
}

.pitch-deck-status[data-state="success"] {
  color: #087443;
}

.pitch-deck-status[data-state="error"] {
  color: #b42318;
}

.pitch-deck-status[data-state="pending"] {
  color: var(--accent-blue);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  border-top: 10px solid var(--accent-tan);
  padding: 82px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: start;
}

.footer-logo {
  width: min(260px, 68%);
}

.footer-legal {
  width: min(100%, 520px);
  margin: 28px 0 0;
  font-size: 0.96rem;
  line-height: 1.75;
}

.footer-legal a {
  text-decoration: underline;
}

.footer-social-block h3 {
  margin: 12px 0 18px;
  font-family: "Manrope", sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: var(--accent-red);
  color: var(--accent-red);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  padding-top: 34px;
  text-align: center;
  font-size: 0.95rem;
}

.reveal,
.reveal-left,
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    opacity: 0;
    transform: translateY(28px);
    animation: fadeUp 800ms ease forwards;
  }

  .hero-copy > *:nth-child(1) {
    animation-delay: 120ms;
  }

  .hero-copy > *:nth-child(2) {
    animation-delay: 260ms;
  }

  .hero-copy > *:nth-child(3) {
    animation-delay: 380ms;
  }
}

@media (max-width: 980px) {
  .header-shell {
    grid-template-columns: auto auto;
    gap: 16px;
    min-height: 96px;
    padding: 14px 0;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 24px;
    right: 24px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 24px;
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  }

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

  .header-cta {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .training-grid,
  .footer-grid,
  .pitch-deck-card {
    grid-template-columns: 1fr;
  }

  .footer-logo {
    width: min(220px, 58%);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 30px, var(--container-width));
  }

  .site-header {
    border-top-width: 8px;
    border-bottom-width: 8px;
  }

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

  .button {
    min-height: 48px;
    padding: 0 24px;
    font-size: 1rem;
  }

  .hero-inner {
    min-height: 500px;
    padding: 84px 0 72px;
  }

  .hero-copy p {
    width: 100%;
  }

  .training-section {
    padding: 56px 0;
  }

  .pitch-deck-section {
    padding: 56px 0;
  }

  .training-grid {
    gap: 28px;
  }

  .training-copy {
    align-items: flex-start;
    text-align: left;
  }

  .divider {
    width: 100%;
    margin: 20px 0 24px;
  }

  .training-copy .button {
    align-self: flex-start;
  }

  .site-footer {
    padding-top: 52px;
  }

  .footer-grid {
    gap: 32px;
  }

  .footer-logo {
    width: 180px;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
