:root {
  color-scheme: light;
  --ink: #17221d;
  --muted: #59685f;
  --paper: #f7f4ee;
  --paper-strong: #fffdf8;
  --line: rgba(23, 34, 29, 0.14);
  --blue: #315c78;
  --blue-paper: #f2f7fa;
  --blue-soft: #dfeaf1;
  --blue-deep: #173b52;
  --rust: #9d5b35;
  --gold: #d7b56d;
  --shadow: 0 24px 80px rgba(23, 59, 82, 0.14);
  --nav-height: 84px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--blue-deep);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--blue-deep);
}

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

a {
  color: inherit;
}

.app-shell {
  position: relative;
  min-height: 100vh;
  background: var(--blue-deep);
}

.app-shell::before {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 19;
  height: calc(var(--nav-height) + env(safe-area-inset-top, 0px));
  background: var(--blue-deep);
  content: "";
  pointer-events: none;
}

.site-main,
.reader-article {
  display: block;
  background: var(--blue-paper);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--nav-height);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding-block: calc(10px + env(safe-area-inset-top, 0px)) 10px;
  padding-inline: calc(32px + env(safe-area-inset-left, 0px)) calc(32px + env(safe-area-inset-right, 0px));
  color: #fffdf8;
  background: var(--blue-deep);
  border-bottom: 1px solid rgba(255, 253, 248, 0.16);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: calc(var(--nav-height) - 20px);
  text-decoration: none;
}

.brand img {
  width: auto;
  height: calc(var(--nav-height) - 20px);
  max-height: 72px;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 999px;
  color: #fffdf8;
  background: rgba(255, 253, 248, 0.1);
  font: inherit;
  cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: rgba(255, 253, 248, 0.18);
  outline: none;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.nav-link,
.language-option {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 253, 248, 0.76);
  font: inherit;
  font-size: 0.92rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.nav-link {
  padding: 12px 14px;
}

.nav-link.active,
.nav-link:hover,
.nav-link:focus-visible,
.language-option.active,
.language-option:hover,
.language-option:focus-visible {
  color: #fffdf8;
  background: rgba(255, 253, 248, 0.14);
  outline: none;
}

.language-selector {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.08);
}

.language-option {
  padding: 8px 10px;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-height));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  background: var(--blue-deep);
  color: #fffdf8;
}

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

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(23, 59, 82, 0.9), rgba(23, 59, 82, 0.5), rgba(23, 59, 82, 0.16));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 48px));
  align-self: center;
  margin: 0 auto 120px 8%;
  padding: 64px 0;
  animation: rise-in 700ms ease both;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.04;
}

h1 {
  font-size: 5rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 1.55rem;
}

p {
  line-height: 1.72;
}

.hero-lead {
  margin: 20px 0 0;
  font-size: 1.45rem;
  line-height: 1.45;
}

.hero-copy p:not(.eyebrow, .hero-lead) {
  max-width: 620px;
  color: rgba(255, 253, 248, 0.86);
  font-size: 1.05rem;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #fffdf8;
  background: var(--blue-deep);
}

.button.secondary {
  color: #fffdf8;
  border: 1px solid rgba(255, 253, 248, 0.58);
}

.hero-strip {
  position: absolute;
  right: 32px;
  bottom: 28px;
  left: 32px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-tile {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  min-height: 112px;
  padding: 10px;
  background: rgba(255, 253, 248, 0.88);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-tile img {
  width: 96px;
  height: 92px;
  object-fit: cover;
}

.hero-tile h2 {
  margin-top: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.hero-tile p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.section {
  width: 100%;
  margin: 0;
  padding: 92px max(24px, calc((100% - 1160px) / 2));
}

.section-tone-light {
  background: var(--blue-paper);
}

.section-tone-semi {
  background: var(--blue-soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.1rem;
}

.about-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
}

.text-column {
  max-width: 780px;
}

.text-column p {
  color: var(--muted);
}

.sport-line {
  color: var(--blue-deep);
  font-weight: 800;
}

.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}

.person {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr);
  gap: 32px;
  align-items: start;
}

.person img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.person .role {
  color: var(--blue-deep);
  font-weight: 800;
}

.person p:not(.role) {
  color: var(--muted);
}

.facility-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.feature-image {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.services-section {
  border-top: 1px solid var(--line);
}

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

.service {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr);
  gap: 32px;
  align-items: start;
}

.service img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-section {
  padding-inline: 24px;
}

.gallery-section .section-heading {
  width: min(1160px, 100%);
  margin-inline: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 12px;
  width: min(1280px, 100%);
  margin: 0 auto;
}

.gallery-grid figure {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
}

.gallery-grid figure:first-child {
  grid-row: span 2;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.gallery-grid img:hover {
  transform: scale(1.035);
}

.gallery-grid figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 14px 16px;
  color: #fffdf8;
  font-weight: 800;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(16, 31, 25, 0.78));
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-grid {
  display: grid;
  gap: 16px;
}

.contact-item {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.contact-item h3 {
  font-family: inherit;
  font-size: 1.25rem;
}

.contact-note {
  max-width: 52rem;
  padding: 14px 16px;
  color: var(--blue-deep);
  background: rgba(216, 184, 112, 0.22);
  border-left: 4px solid var(--gold);
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  max-width: 100%;
  margin-top: 10px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-strong);
  color: var(--blue-deep);
  font-weight: 800;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.contact-button:hover,
.contact-button:focus-visible {
  background: var(--blue-deep);
  color: #fffdf8;
  outline: none;
  transform: translateY(-1px);
}

.contact-button span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon-link i {
  width: 1.1em;
  text-align: center;
}

.resources-section {
  padding-top: 30px;
}

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

.resource {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  color: var(--ink);
  background: var(--paper-strong);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.resource img {
  width: 96px;
  height: 72px;
  object-fit: cover;
}

.resource small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.site-footer {
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 48px 24px;
  color: #fffdf8;
  background: var(--blue-deep);
  border-top: 1px solid rgba(255, 253, 248, 0.16);
  text-align: center;
}

.site-footer img {
  width: 90px;
  margin-bottom: 8px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 253, 248, 0.78);
  line-height: 1.4;
}

.not-found {
  min-height: 60vh;
  display: grid;
  align-content: center;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  :root {
    --nav-height: 76px;
  }

  .site-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    padding-block: calc(10px + env(safe-area-inset-top, 0px)) 10px;
    padding-inline: calc(24px + env(safe-area-inset-left, 0px)) calc(24px + env(safe-area-inset-right, 0px));
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav-links {
    display: none;
    grid-column: 1 / -1;
    order: 3;
  }

  .site-nav > .language-selector {
    display: none;
  }

  .site-nav.menu-open {
    align-items: start;
  }

  .site-nav.menu-open .nav-links {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 4px;
    padding-top: 8px;
    overflow: visible;
  }

  .site-nav.menu-open .nav-link {
    padding: 14px 12px;
    border-radius: 8px;
  }

  .site-nav.menu-open > .language-selector {
    display: inline-flex;
    grid-column: 1 / -1;
    order: 4;
    justify-self: start;
    margin-top: 4px;
  }

  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-copy {
    margin: 0 auto 320px 24px;
  }

  .hero-strip,
  .about-section,
  .team-grid,
  .facility-section,
  .contact-section,
  .resource-list {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    right: 24px;
    left: 24px;
  }

  .person,
  .service {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  :root {
    --nav-height: 72px;
  }

  .site-nav {
    padding-block: calc(10px + env(safe-area-inset-top, 0px)) 10px;
    padding-inline: calc(16px + env(safe-area-inset-left, 0px)) calc(16px + env(safe-area-inset-right, 0px));
    gap: 12px;
  }

  .hero {
    min-height: 920px;
  }

  .hero-copy {
    width: calc(100% - 32px);
    margin: 0 auto 420px;
    padding-top: 40px;
  }

  h1 {
    font-size: 2.85rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-lead {
    font-size: 1.2rem;
  }

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

  .section {
    width: 100%;
    padding: 66px 16px;
  }

  .gallery-section {
    padding-inline: 16px;
  }

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

  .gallery-grid figure:first-child {
    grid-row: auto;
  }
}

@media print {
  @page {
    margin: 0.55in;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  body {
    min-width: 0;
    color: #111;
    background: #fff;
    font-size: 11pt;
    orphans: 3;
    widows: 3;
  }

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

  img {
    max-height: 4.5in;
    object-fit: contain !important;
  }

  .site-nav {
    display: none;
  }

  .app-shell::before {
    display: none;
  }

  .app-shell,
  .site-main,
  .reader-article {
    min-height: 0;
    background: #fff;
  }

  .hero,
  .section,
  .site-footer {
    break-inside: avoid-page;
    break-inside: avoid;
    page-break-inside: avoid;
    color: #111;
    background: #fff;
  }

  .hero {
    min-height: 0;
    padding: 0 0 0.35in;
    overflow: visible;
  }

  .hero-media,
  .hero-media::after {
    position: static;
    background: none;
  }

  .hero-media::after {
    display: none;
  }

  .hero-media img {
    width: 100%;
    height: auto;
    max-height: 3.75in;
    margin-bottom: 0.25in;
  }

  .hero-copy {
    width: auto;
    margin: 0;
    padding: 0;
  }

  .hero-copy p:not(.eyebrow, .hero-lead) {
    color: #333;
  }

  .hero-strip,
  .about-section,
  .facility-section,
  .contact-section,
  .resource-list,
  .gallery-grid,
  .person,
  .service {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    position: static;
    margin-top: 0.25in;
  }

  .hero-tile,
  .person,
  .service,
  .gallery-grid figure,
  .contact-item,
  .resource {
    break-inside: avoid-page;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .section {
    padding: 0.35in 0;
  }

  .section + .section,
  .site-footer {
    border-top: 1px solid #ccc;
  }

  .section-heading {
    break-after: avoid-page;
    break-after: avoid;
    page-break-after: avoid;
    margin-bottom: 0.16in;
  }

  h1,
  h2,
  h3 {
    break-after: avoid-page;
    break-after: avoid;
    page-break-after: avoid;
  }

  .eyebrow,
  .sport-line,
  .person .role,
  .contact-note,
  .contact-button {
    color: #111;
  }

  .button,
  .contact-button,
  .resource {
    border: 1px solid #999;
    background: #fff;
    color: #111;
  }

  .gallery-grid figure {
    min-height: 0;
  }

  .gallery-grid figcaption {
    position: static;
    color: #111;
    background: none;
    padding: 0.08in 0 0;
  }

  .site-footer {
    padding: 0.35in 0 0;
    text-align: left;
  }

  .site-footer p {
    color: #333;
  }
}
