/* SPORTI — Modern HTML5 redesign | Author: CF VD RMN */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,650;9..144,700&family=Sora:wght@300;400;500;600;700&display=swap");

:root {
  --navy: #1b2148;
  --navy-deep: #0e1228;
  --navy-mid: #2a3170;
  --gold: #c9a24a;
  --gold-soft: #e4c878;
  --ink: #141824;
  --muted: #5a6278;
  --line: rgba(27, 33, 72, 0.12);
  --paper: #f4f6fa;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(14, 18, 40, 0.18);
  --radius: 4px;
  --nav-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
  --max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(201, 162, 74, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(42, 49, 112, 0.1), transparent 50%),
    var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s;
}

.site-header.is-scrolled {
  background: rgba(14, 18, 40, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.site-header__inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  min-width: 0;
}

.brand img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  padding: 0.15rem;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.brand__tag {
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  opacity: 0.8;
  text-transform: uppercase;
  max-width: 16rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.06);
}

.nav__cta {
  margin-left: 0.35rem;
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  font-weight: 600 !important;
}

.nav__cta:hover {
  background: var(--gold-soft) !important;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--white);
  transition: transform 0.25s var(--ease);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-deep);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 18s var(--ease) infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.12); }
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 18, 40, 0.45) 0%, rgba(14, 18, 40, 0.35) 40%, rgba(14, 18, 40, 0.88) 100%),
    linear-gradient(90deg, rgba(14, 18, 40, 0.55), transparent 65%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 4rem) 0 4.5rem;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin: 0 0 1rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 500;
  max-width: 28ch;
  margin: 0 0 0.85rem;
  line-height: 1.25;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.3s forwards;
}

.hero__lead {
  max-width: 42ch;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 1.75rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.45s forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.6s forwards;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn--gold:hover {
  background: var(--gold-soft);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--solid {
  background: var(--navy);
  color: var(--white);
}

.btn--solid:hover {
  background: var(--navy-mid);
}

/* ——— Sections ——— */
.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section--dark {
  background: var(--navy-deep);
  color: var(--white);
}

.section--band {
  background:
    linear-gradient(135deg, rgba(27, 33, 72, 0.04), rgba(201, 162, 74, 0.08)),
    var(--white);
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 650;
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 22ch;
  color: var(--navy);
}

.section--dark .section__title {
  color: var(--white);
}

.section__text {
  max-width: 58ch;
  color: var(--muted);
  margin: 0 0 1.5rem;
  font-size: 1.02rem;
}

.section--dark .section__text {
  color: rgba(255, 255, 255, 0.78);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split--reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split__media {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.split__media img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.campus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.campus-tile {
  position: relative;
  min-height: 18rem;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.campus-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
  z-index: -2;
}

.campus-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(14, 18, 40, 0.9));
  z-index: -1;
}

.campus-tile:hover img {
  transform: scale(1.06);
}

.campus-tile__body {
  position: absolute;
  inset: auto 0 0;
  padding: 1.5rem;
}

.campus-tile h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 0.35rem;
}

.campus-tile p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  max-width: 34ch;
}

.service-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.service-row h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0;
  color: var(--navy);
}

.service-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.service-visual figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-visual figure:hover img {
  transform: scale(1.05);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.75rem;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  grid-column: span 4;
  aspect-ratio: 4 / 3;
}

.gallery-grid figure:nth-child(1),
.gallery-grid figure:nth-child(6) {
  grid-column: span 6;
  aspect-ratio: 16 / 10;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.3s;
  filter: saturate(0.95);
}

.gallery-grid figure:hover img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.faq-list {
  max-width: 48rem;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 0;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--gold);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p,
.faq-item ul {
  margin: 0 0 1.15rem;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-panel {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.contact-panel h3 {
  font-family: var(--font-display);
  margin: 0 0 1rem;
  color: var(--navy);
  font-size: 1.6rem;
}

.contact-panel dl {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.contact-panel dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.contact-panel dd {
  margin: 0.2rem 0 0;
  color: var(--ink);
}

.contact-panel iframe {
  width: 100%;
  height: 220px;
  border: 0;
  margin-top: 1.25rem;
  filter: grayscale(0.2) contrast(1.05);
}

.form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
}

.form input,
.form textarea,
.form select {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius);
  color: var(--ink);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: 2px solid rgba(201, 162, 74, 0.45);
  border-color: var(--gold);
}

.page-hero {
  position: relative;
  min-height: 42svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-deep);
}

.page-hero__media {
  position: absolute;
  inset: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 18, 40, 0.35), rgba(14, 18, 40, 0.85));
}

.page-hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 3rem) 0 2.75rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin: 0 0 0.5rem;
  line-height: 1.05;
}

.page-hero p {
  margin: 0;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.84);
}

.notice {
  background: rgba(201, 162, 74, 0.14);
  border-block: 1px solid rgba(201, 162, 74, 0.35);
  color: var(--navy);
  padding: 0.75rem 0;
  font-size: 0.92rem;
  text-align: center;
}

.notice strong {
  color: var(--navy-deep);
}

.prose {
  max-width: 65ch;
}

.prose h2 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.65rem;
  margin: 2rem 0 0.75rem;
}

.prose p {
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  padding-top: 1rem;
  border-top: 2px solid var(--gold);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section--dark .stat strong {
  color: var(--gold-soft);
}

.section--dark .stat span {
  color: rgba(255, 255, 255, 0.7);
}

/* ——— Footer ——— */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
}

.site-footer h2,
.site-footer h3 {
  font-family: var(--font-display);
  color: var(--white);
  margin: 0 0 1rem;
}

.site-footer p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  max-width: 58ch;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.site-footer a:hover {
  color: var(--gold-soft);
}

.footer-meta {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-disclaimer {
  width: 100%;
  background: rgba(201, 162, 74, 0.12);
  border: 1px solid rgba(201, 162, 74, 0.3);
  color: var(--gold-soft);
  padding: 0.85rem 1rem;
  margin-bottom: 0.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    background: rgba(14, 18, 40, 0.97);
    padding: 1rem;
    gap: 0.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .split,
  .split--reverse,
  .campus-grid,
  .contact-grid,
  .footer-grid,
  .service-row,
  .stats {
    grid-template-columns: 1fr;
  }

  .service-row {
    gap: 0.5rem;
  }

  .gallery-grid figure,
  .gallery-grid figure:nth-child(1),
  .gallery-grid figure:nth-child(6) {
    grid-column: span 6;
  }

  .brand__tag {
    display: none;
  }
}

@media (max-width: 640px) {
  .gallery-grid figure,
  .gallery-grid figure:nth-child(1),
  .gallery-grid figure:nth-child(6) {
    grid-column: span 12;
  }

  .service-visual {
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding-bottom: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media img { animation: none; }
  .reveal,
  .hero__brand,
  .hero__headline,
  .hero__lead,
  .hero__actions {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}
