:root {
  --cream: #fff4e6;
  --cream-2: #ffe9c8;
  --ink: #241f22;
  --muted: #5f565a;
  --orange: #ff8428;
  --orange-dark: #8d4819;
  --lime: #caff8a;
  --pink: #eb3e9b;
  --blue: #bde9ff;
  --shadow: #3a3033;
  --white: #fffaf2;
  --header-height: 120px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  min-height: 100%;
  margin: 0;
  padding-top: var(--header-height);
  color: var(--ink);
  background: var(--cream);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  overflow-y: visible;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: max(104px, env(safe-area-inset-top));
  z-index: 999;
  background: var(--cream);
  pointer-events: none;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0 !important;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 244, 230, 0.96);
  border-bottom: 4px solid var(--ink);
  backdrop-filter: blur(12px);
  isolation: isolate;
  margin: 0;
}

.site-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -120px;
  left: 0;
  right: 0;
  height: 120px;
  background: rgba(255, 244, 230, 0.98);
}

.brand {
  text-decoration: none;
  font-weight: 1000;
  font-size: clamp(1.6rem, 4vw, 2.7rem);
  letter-spacing: 0.02em;
}

.brand span {
  display: block;
  margin-top: -0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.nav a,
.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border: 4px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 7px 7px 0 var(--shadow);
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  will-change: transform;
}

.nav a {
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border-width: 3px;
  box-shadow: 4px 4px 0 var(--shadow);
  font-size: 0.9rem;
}

.nav a:nth-child(3n + 1) {
  background: var(--cream-2);
}

.nav a:nth-child(3n + 2) {
  background: #fffaf2;
}

.nav a:nth-child(3n) {
  background: #f5ffe8;
}

.nav a:hover,
.button:hover,
button:hover {
  transform: translate(3px, 3px) rotate(-1deg);
  box-shadow: 3px 3px 0 var(--shadow);
}

.nav a:active,
.button:active,
button:active {
  transform: translate(6px, 6px) scale(0.98);
  box-shadow: 1px 1px 0 var(--shadow);
}

.button.primary,
button {
  background: var(--lime);
}

.button.orange {
  background: var(--orange);
}

.hero {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.3rem, 5vw, 5rem);
  background:
    radial-gradient(circle at 88% 16%, rgba(202, 255, 138, 0.95) 0 11rem, transparent 11.2rem),
    linear-gradient(135deg, #ff8428 0%, #f47b29 48%, #d9641d 100%);
  border-bottom: 4px solid var(--ink);
  overflow: hidden;
}

.hero > *,
.section-inner,
.big-card,
.contact-card,
.feature-card,
.stat-card,
.timeline-item {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--orange-dark);
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-weight: 1000;
  line-height: 0.98;
  text-transform: uppercase;
}

h1 {
  max-width: 980px;
  font-size: clamp(3.7rem, 10vw, 8.3rem);
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.no-break {
  white-space: nowrap;
}

h2 {
  font-size: clamp(2.4rem, 6vw, 5.4rem);
}

h3 {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  overflow-wrap: anywhere;
}

p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero p {
  max-width: 820px;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
}

.hero-actions,
.actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.photo-wrap {
  position: relative;
  justify-self: center;
  width: min(100%, 440px);
  aspect-ratio: 4 / 5;
  transition: transform 220ms ease, filter 220ms ease;
}

.photo-wrap:hover {
  transform: translate(3px, 3px) rotate(-1deg);
  filter: saturate(1.05);
}

.photo-wrap:active {
  transform: translate(6px, 6px) scale(0.98);
}

.soccer-page .big-card h2 {
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  letter-spacing: -0.035em;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.photo-wrap::before,
.photo-wrap::after {
  content: "";
  position: absolute;
  border: 4px solid var(--ink);
  animation: bob 5s ease-in-out infinite;
}

.photo-wrap::before {
  inset: -5%;
  border-radius: 2.6rem;
  background: var(--lime);
  box-shadow: 12px 12px 0 var(--shadow);
}

.photo-wrap::after {
  width: 36%;
  height: 28%;
  right: -9%;
  top: 8%;
  border-radius: 999px;
  background: var(--pink);
  animation-delay: -1.6s;
}

.portrait {
  position: absolute;
  inset: 4%;
  z-index: 1;
  width: 92%;
  height: 92%;
  border: 5px solid var(--ink);
  border-radius: 2.1rem;
  object-fit: cover;
  object-position: center 28%;
  box-shadow: 12px 12px 0 var(--shadow);
}

.hero-portrait-card::before {
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.28), rgba(202, 255, 138, 0.92)),
    var(--lime);
}

.badge {
  position: absolute;
  z-index: 2;
  left: -7%;
  bottom: 7%;
  max-width: 250px;
  padding: 0.8rem 1rem;
  border: 4px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 7px 7px 0 var(--shadow);
  font-weight: 1000;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.3rem, 5vw, 5rem);
}

.section.blue {
  background: var(--blue);
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
}

.section.orange {
  background: var(--orange);
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.intro {
  max-width: 920px;
}

.stats-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

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

.stat-card,
.feature-card,
.story-card,
.contact-card {
  border: 4px solid var(--ink);
  border-radius: 2rem;
  background: var(--white);
  box-shadow: 10px 10px 0 var(--shadow);
  padding: clamp(1.2rem, 3vw, 2rem);
  transform-origin: center;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.stat-card:nth-child(4n + 1) {
  background: var(--blue);
}

.stat-card:nth-child(4n + 2) {
  background: var(--lime);
}

.stat-card:nth-child(4n + 3) {
  background: var(--cream-2);
}

.stat-card:nth-child(4n) {
  background: #ffd7ec;
}

.stat-card:hover,
.feature-card:hover,
.story-card:hover,
.contact-card:hover,
.big-card:hover,
.timeline-item:hover,
.tag:hover {
  transform: translate(3px, 3px) rotate(-1deg);
  box-shadow: 3px 3px 0 var(--shadow);
}

.stat-card:active,
.feature-card:active,
.story-card:active,
.contact-card:active,
.big-card:active,
.timeline-item:active,
.tag:active {
  transform: translate(6px, 6px) scale(0.98);
  box-shadow: 1px 1px 0 var(--shadow);
}

.stat-card strong {
  display: block;
  font-size: clamp(2.7rem, 4.5vw, 4.7rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.stat-card span {
  display: block;
  margin-top: 0.7rem;
  font-size: 1.05rem;
  font-weight: 900;
}

.feature-card {
  min-height: 250px;
}

.feature-card:nth-child(2n) {
  background: var(--cream-2);
}

.feature-card:nth-child(3n) {
  background: var(--blue);
}

.feature-card:nth-child(4n) {
  background: var(--lime);
}

.marker {
  width: 92px;
  height: 18px;
  margin-bottom: 1.4rem;
  border: 4px solid var(--ink);
  border-radius: 999px;
  background: var(--pink);
}

.feature-card:nth-child(2n) .marker {
  background: var(--orange);
}

.feature-card:nth-child(3n) .marker {
  background: var(--lime);
}

.timeline {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem;
  border: 4px solid var(--ink);
  border-radius: 1.5rem;
  background: var(--white);
  box-shadow: 7px 7px 0 var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.timeline-item:nth-child(4n + 1) {
  background: var(--blue);
}

.timeline-item:nth-child(4n + 2) {
  background: var(--cream-2);
}

.timeline-item:nth-child(4n + 3) {
  background: var(--lime);
}

.timeline-item:nth-child(4n) {
  background: #ffd7ec;
}

.timeline-item strong {
  color: var(--orange-dark);
  font-size: 1.4rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.big-card {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 4px solid var(--ink);
  border-radius: 2.2rem;
  background: var(--white);
  box-shadow: 12px 12px 0 var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.split .big-card:nth-child(2n + 1) {
  background: var(--blue);
}

.split .big-card:nth-child(2n) {
  background: var(--cream-2);
}

.section.blue .big-card:nth-child(2n + 1),
.section.blue .feature-card:nth-child(3n),
.section.blue .stat-card:nth-child(4n + 1),
.section.blue .timeline-item:nth-child(4n + 1) {
  background: var(--lime);
}

.section.blue .big-card:nth-child(2n),
.section.blue .feature-card:nth-child(2n),
.section.blue .stat-card:nth-child(4n + 3),
.section.blue .timeline-item:nth-child(4n + 2) {
  background: var(--cream-2);
}

.quote-card {
  background: var(--blue);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.tag {
  display: inline-flex;
  padding: 0.5rem 0.9rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-weight: 900;
  transform-origin: center;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
  box-shadow: 4px 4px 0 var(--shadow);
}

.tag:nth-child(4n + 1) {
  background: var(--lime);
}

.tag:nth-child(4n + 2) {
  background: var(--blue);
}

.tag:nth-child(4n + 3) {
  background: var(--cream-2);
}

.tag:nth-child(4n) {
  background: #ffd7ec;
}

.page-hero {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.3rem, 5vw, 5rem);
  background: var(--orange);
  border-bottom: 4px solid var(--ink);
}

.soccer-page .page-hero h1 {
  font-size: clamp(2.6rem, 9.6vw, 6.5rem);
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
  text-wrap: balance;
}

.page-hero .section-inner {
  max-width: 1100px;
}

.about-page .page-hero h1 {
  max-width: 1280px;
  font-size: clamp(3.1rem, 7vw, 6.5rem);
  line-height: 0.96;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.contact-page .contact-card:first-child {
  background: var(--lime);
}

.contact-page .contact-form {
  background: var(--blue);
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  border: 4px solid var(--ink);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.site-footer {
  padding: 2rem clamp(1.3rem, 5vw, 5rem);
  background: var(--ink);
  color: var(--cream);
}

.site-footer p {
  color: var(--cream);
  font-size: 1rem;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-top: 1rem;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  border: 3px solid var(--cream);
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  box-shadow: 5px 5px 0 #000;
  font-weight: 1000;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.instagram-link:nth-child(2) {
  background: var(--lime);
}

.instagram-link:nth-child(3) {
  background: #ffd7ec;
}

.instagram-link:hover {
  transform: translate(2px, 2px) rotate(-1deg);
  box-shadow: 2px 2px 0 #000;
}

.instagram-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.9, 0.2, 1.1);
}

.nav a {
  animation: popIn 420ms cubic-bezier(0.2, 0.9, 0.2, 1.2) both;
}

.nav a:nth-child(2) { animation-delay: 45ms; }
.nav a:nth-child(3) { animation-delay: 90ms; }
.nav a:nth-child(4) { animation-delay: 135ms; }
.nav a:nth-child(5) { animation-delay: 180ms; }
.nav a:nth-child(6) { animation-delay: 225ms; }
.nav a:nth-child(7) { animation-delay: 270ms; }

@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(2deg);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 212px;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .photo-wrap {
    order: -1;
    max-width: 380px;
  }

  .stats-grid,
  .card-grid,
  .card-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 92px;
  }

  .site-header {
    align-items: center;
    flex-direction: row;
    min-height: 88px;
    padding: 0.7rem clamp(1rem, 5vw, 1.4rem);
  }

  body::before {
    height: 118px;
  }

  .menu-toggle {
    display: inline-flex;
    gap: 0.55rem;
    min-height: 44px;
    padding: 0.5rem 0.85rem;
    border-width: 3px;
    background: var(--orange);
    box-shadow: 4px 4px 0 var(--shadow);
    white-space: nowrap;
  }

  .menu-lines {
    display: inline-grid;
    gap: 4px;
  }

  .menu-lines span {
    display: block;
    width: 18px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.7rem);
    left: clamp(1rem, 5vw, 1.4rem);
    right: clamp(1rem, 5vw, 1.4rem);
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    width: auto;
    max-height: min(72vh, 560px);
    padding: 0.9rem;
    border: 4px solid var(--ink);
    border-radius: 1.6rem;
    background: var(--cream);
    box-shadow: 10px 10px 0 var(--shadow);
    opacity: 0;
    overflow-y: auto;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header.nav-open .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav a {
    justify-content: center;
    width: 100%;
    min-height: 48px;
    font-size: 1rem;
    flex: none;
  }

  h1 {
    font-size: clamp(2.5rem, 13.2vw, 4.35rem);
    line-height: 1.02;
  }

  .hero,
  .page-hero,
  .section {
    padding-left: clamp(1rem, 5vw, 1.35rem);
    padding-right: clamp(1rem, 5vw, 1.35rem);
  }

  .hero p {
    font-size: clamp(1.05rem, 5vw, 1.35rem);
    overflow-wrap: anywhere;
  }

  .eyebrow {
    letter-spacing: 0.2em;
    overflow-wrap: anywhere;
  }

  .stats-grid,
  .card-grid,
  .card-grid.three {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .actions {
    flex-direction: column;
    align-items: center;
  }

  .button,
  button {
    width: min(100%, calc(100vw - 3.2rem));
    max-width: 520px;
    margin-right: 8px;
    text-align: center;
  }

  .footer-socials {
    align-items: stretch;
    flex-direction: column;
  }

  .instagram-link {
    justify-content: center;
    width: min(100%, calc(100vw - 3rem));
  }

  .soccer-page .page-hero h1 {
    font-size: clamp(2.05rem, 9.05vw, 3.8rem);
    letter-spacing: -0.015em;
  }

  .about-page .page-hero h1 {
    font-size: clamp(2.25rem, 8.4vw, 3.35rem);
    line-height: 1;
  }

  .stat-card,
  .feature-card,
  .story-card,
  .contact-card,
  .big-card,
  .timeline-item {
    box-shadow: 7px 7px 0 var(--shadow);
  }

  .stat-card:hover,
  .feature-card:hover,
  .story-card:hover,
  .contact-card:hover,
  .big-card:hover,
  .timeline-item:hover,
  .tag:hover {
    transform: translate(3px, 3px) rotate(-1deg);
    box-shadow: 3px 3px 0 var(--shadow);
  }
}

@media (max-width: 430px) {
  :root {
    --header-height: 88px;
  }

  .brand {
    font-size: 2rem;
  }

  .nav a {
    font-size: 0.95rem;
    padding: 0.55rem 0.75rem;
  }

  .hero {
    padding-top: 2.1rem;
  }

  h1 {
    font-size: clamp(2.2rem, 11.6vw, 3.45rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .soccer-page .page-hero h1 {
    font-size: clamp(1.95rem, 8.4vw, 3.1rem);
    line-height: 1.06;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
