/* Frisco Soccer Club — site styles
   Brand gold from live site: #E1C22D
*/

:root {
  --gold: #e1c22d;
  --gold-dark: #c5a820;
  --gold-soft: rgba(225, 194, 45, 0.15);
  --black: #0a0a0a;
  --ink: #16181c;
  --muted: #5a6570;
  --line: #e4e6ea;
  --surface: #f3f4f2;
  --surface-dark: #12151a;
  --white: #ffffff;
  --pitch: #1a3d2e;
  --shadow: 0 10px 30px rgba(10, 10, 10, 0.08);
  --shadow-hover: 0 16px 40px rgba(10, 10, 10, 0.14);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 78px;
  --max: 1120px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
  text-transform: uppercase;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--black);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(225, 194, 45, 0.25);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.brand-text {
  display: none;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
}

.brand-text span {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  font-weight: 500;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.nav-toggle-bars {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: var(--black);
  padding: 1rem;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
  border-bottom: 1px solid rgba(225, 194, 45, 0.2);
}

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

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-nav a {
  display: block;
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--gold);
  background: rgba(225, 194, 45, 0.08);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

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

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

.btn-primary:hover {
  background: var(--gold-dark);
}

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

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

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

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--black);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 18s ease-out forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.35) 0%, rgba(10, 10, 10, 0.55) 45%, rgba(10, 10, 10, 0.88) 100%),
    radial-gradient(ellipse at 50% 70%, rgba(225, 194, 45, 0.22), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4.5rem;
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
  animation: riseIn 0.9s ease both;
}

.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hero-brand img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hero-brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.hero-brand-name span {
  display: block;
  margin-top: 0.35rem;
  color: var(--gold);
  font-size: 0.55em;
  letter-spacing: 0.16em;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  margin-bottom: 0.65rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.hero p {
  font-size: 1.08rem;
  max-width: 34rem;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.scroll-hint:hover {
  color: var(--gold);
}

.scroll-hint--section {
  position: static;
  left: auto;
  bottom: auto;
  transform: none;
  margin: 2rem auto 0;
  color: var(--muted);
}

.scroll-hint--section:hover {
  color: var(--gold-dark);
}

.scroll-hint-chevron {
  width: 14px;
  height: 14px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: rotate(45deg) translate(0, 0);
    opacity: 0.55;
  }
  50% {
    transform: rotate(45deg) translate(4px, 4px);
    opacity: 1;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: 4.5rem 0;
}

#moments,
#blog {
  min-height: min(88vh, 760px);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

#moments > .container,
#blog > .container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#moments {
  padding-bottom: 2rem;
}

#moments .scroll-hint--section,
#blog .scroll-hint--section {
  margin-top: auto;
  padding-top: 1.25rem;
}

.section-header {
  margin-bottom: 2rem;
  max-width: 40rem;
}

#moments .section-header {
  margin-inline: auto;
  text-align: center;
  max-width: 36rem;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 0.6rem;
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.55rem;
}

.section-header p {
  color: var(--muted);
}

.section-dark {
  background:
    linear-gradient(160deg, #10131a 0%, #0a0a0a 55%, #14261c 100%);
  color: var(--white);
}

.section-dark .section-eyebrow {
  color: var(--gold);
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.72);
}

.section-muted {
  background:
    linear-gradient(180deg, var(--surface) 0%, #eceee9 100%);
}

.section-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-cta-row .section-header {
  margin-bottom: 0;
}

/* ---------- Image consistency (homepage fix) ---------- */

.featured-image,
.carousel-image,
.post-thumbnail,
.card-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/* ---------- Gallery / Carousel ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.gallery-grid-spaced {
  margin-top: 1.5rem;
}

.gallery-grid .featured-image {
  height: 280px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--black);
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.carousel {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 min(94%, 520px);
  margin: 0;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--black);
  box-shadow: var(--shadow);
}

.carousel-slide:last-child {
  scroll-snap-align: end;
}

.carousel-slide img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.carousel-btn:hover:not(:disabled) {
  background: var(--gold);
  border-color: var(--gold);
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* ---------- Blog cards ---------- */

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.blog-card-media {
  overflow: hidden;
  background: var(--black);
}

.blog-card-media img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.04);
}

.blog-card-body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}

.blog-tag {
  align-self: flex-start;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-card h3 {
  font-size: 1.45rem;
  margin: 0;
}

.blog-card h3 a:hover {
  color: var(--gold-dark);
}

.blog-card p {
  color: var(--muted);
  flex: 1;
}

.blog-meta {
  font-size: 0.88rem;
  color: var(--muted);
}

.read-more {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
}

.read-more:hover {
  color: var(--gold-dark);
}

/* ---------- Sponsors (homepage preview) ---------- */

.sponsors-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.sponsor-preview-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.sponsor-preview-card:hover {
  border-color: var(--gold);
  background: rgba(225, 194, 45, 0.06);
  transform: translateY(-3px);
}

.sponsor-preview-card img {
  width: 100%;
  height: 88px;
  object-fit: contain;
  margin: 0 auto 0.85rem;
}

.sponsor-preview-card h3 {
  font-size: 1.15rem;
  margin: 0;
  color: var(--white);
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: var(--font-body);
  font-weight: 600;
}

/* ---------- Sponsor directory cards ---------- */

.sponsor-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sponsor-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.sponsor-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1rem;
  min-height: 140px;
}

.sponsor-logo img {
  width: 100%;
  max-width: 220px;
  height: 100px;
  object-fit: contain;
}

.sponsor-content h2 {
  font-size: 1.55rem;
  text-transform: none;
  letter-spacing: 0.01em;
  margin-bottom: 0.4rem;
}

.sponsor-content > p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.sponsor-details p {
  margin-bottom: 0.35rem;
  font-size: 0.98rem;
}

.sponsor-details a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sponsor-details a:hover {
  color: var(--ink);
}

/* ---------- About / team ---------- */

.page-hero {
  padding: 3.5rem 0 2.5rem;
  background:
    linear-gradient(135deg, rgba(10, 10, 10, 0.82), rgba(26, 61, 46, 0.75)),
    url("../images/hero/friscoscteam.jpg") center/cover;
  color: var(--white);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  margin-bottom: 0.4rem;
}

.page-hero p {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.85);
}

.page-hero .section-eyebrow {
  color: var(--gold);
}

.page-hero a.text-gold,
a.text-gold {
  color: var(--gold);
}

.page-hero a.text-gold:hover {
  text-decoration: underline;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr;
}

.team-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center top;
}

.team-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.team-role {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: var(--gold-dark);
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.team-card h3 {
  font-size: 1.35rem;
  text-transform: none;
  letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
}

.team-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* ---------- Blog article ---------- */

.article {
  max-width: 760px;
  margin: 0 auto;
}

.article-hero-image {
  width: 100%;
  height: min(52vw, 420px);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.75rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.article-body {
  font-size: 1.05rem;
}

.article-body h2 {
  font-size: 1.55rem;
  text-transform: none;
  letter-spacing: 0.01em;
  margin-top: 1.75rem;
}

.article-body p {
  margin-bottom: 1.15rem;
  color: var(--ink);
}

.article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.blog-list .blog-card h3 a {
  color: inherit;
}

.intro-block {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.intro-block img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  gap: 2rem;
}

.contact-aside {
  background: var(--surface-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.contact-aside h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.contact-aside p {
  color: rgba(255, 255, 255, 0.75);
}

.contact-aside a {
  color: var(--gold);
}

.contact-aside a:hover {
  text-decoration: underline;
}

.contact-list {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.85rem;
}

.contact-list strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 0.15rem;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 1rem;
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.form-field .error {
  display: none;
  margin-top: 0.35rem;
  color: #b42318;
  font-size: 0.88rem;
}

.form-field .form-hint {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: #b42318;
}

.form-field.is-invalid .error {
  display: block;
}

.form-field.is-invalid .form-hint {
  display: none;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.form-status.is-success {
  display: block;
  background: #e8f5ee;
  color: #0f5132;
}

.form-status.is-error {
  display: block;
  background: #fdecec;
  color: #7a1c1c;
}

.form-status.is-info {
  display: block;
  background: #fff8e1;
  color: #6b5400;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-brand span {
  color: var(--gold);
  font-size: 0.9rem;
}

.footer-nav a,
.social-links a {
  display: inline-block;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.social-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

/* ---------- Reveal motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 639px) {
  .carousel-track {
    gap: 0.2rem;
  }

  .carousel-slide {
    flex: 0 0 94%;
  }

  .carousel-slide img {
    height: 300px;
  }
}

@media (min-width: 640px) {
  .brand-text {
    display: block;
  }

  .sponsors-preview {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .gallery-item img {
    height: 300px;
  }

  .carousel-track {
    gap: 0.25rem;
  }

  .carousel-slide {
    flex: 0 0 min(78%, 480px);
  }

  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }

  .team-card {
    grid-template-columns: 180px 1fr;
  }

  .team-card img {
    height: 100%;
    min-height: 180px;
  }
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    inset: auto;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    padding: 0;
    border: 0;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }

  .site-nav a {
    padding: 0.55rem 0.85rem;
    font-size: 1rem;
  }

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

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

  .gallery-item img {
    height: 260px;
  }

  .sponsor-card {
    grid-template-columns: 240px 1fr;
    padding: 1.5rem;
  }

  .contact-layout {
    grid-template-columns: 0.9fr 1.3fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

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

  .intro-block {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .hero-content {
    padding: 6rem 0 5.5rem;
  }

  .carousel-track {
    gap: 0.25rem;
  }

  .carousel-slide {
    flex: 0 0 min(52%, 480px);
  }
}

@media (min-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-card img {
    height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .hero-media img {
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .scroll-hint-chevron {
    opacity: 1;
  }
}
