:root {
  --brand: #0636a8;
  --brand-deep: #111827;
  --accent: #00a6b5;
  --warm: #e15b3f;
  --ink: #172033;
  --muted: #647083;
  --line: #dce3ea;
  --paper: #ffffff;
  --soft: #f3f7fa;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
}

.page-top-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 227, 234, 0.85);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(220px, 46vw);
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: #394456;
  font-size: 14px;
  white-space: nowrap;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand);
  border-color: var(--brand);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.86fr);
  align-items: stretch;
  padding-top: 72px;
  background: #071120;
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 13, 26, 0.25), rgba(6, 13, 26, 0.04) 58%, rgba(6, 13, 26, 0.16)),
    linear-gradient(0deg, rgba(6, 13, 26, 0.24), rgba(6, 13, 26, 0));
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 72px 0 0;
  z-index: 0;
  display: block;
  opacity: 1;
}

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

.hero-media.hero-video-sequence {
  overflow: hidden;
  background: #03101d;
}

.hero-media.hero-video-sequence::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #020814;
  opacity: 0;
  transition: opacity 500ms ease;
  pointer-events: none;
}

.hero-media.hero-video-sequence.is-fading::before {
  opacity: 0.74;
}

.hero-bg-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transform: scale(1.018);
  transition: opacity 1100ms ease, transform 6200ms ease;
  will-change: opacity, transform;
}

.hero-bg-frame.is-active {
  opacity: 1;
  animation: athleteFrameMotionA 4200ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-bg-frame.motion-b.is-active {
  animation-name: athleteFrameMotionB;
}

.hero-bg-frame.motion-c.is-active {
  animation-name: athleteFrameMotionC;
}

.hero-bg-frame.motion-d.is-active {
  animation-name: athleteFrameMotionD;
}

.hero-video-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 500ms ease;
  will-change: opacity;
}

.hero-video-layer.is-active {
  opacity: 1;
}

.hero-media.hero-video-sequence.is-image-fallback .hero-video-layer {
  opacity: 0;
  visibility: hidden;
}

.hero-media.hero-video-sequence::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(2, 8, 18, 0.76), rgba(2, 8, 18, 0.52) 32%, rgba(2, 8, 18, 0.14) 61%, rgba(2, 8, 18, 0.04)),
    linear-gradient(0deg, rgba(2, 8, 18, 0.56), rgba(2, 8, 18, 0.12) 44%, rgba(2, 8, 18, 0.04));
  pointer-events: none;
}

.hero-brand {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  align-self: end;
  padding: 0 clamp(22px, 6vw, 84px) clamp(46px, 8vh, 86px);
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 5.8vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
  max-width: 980px;
  overflow-wrap: break-word;
}

.hero h1 span {
  display: block;
}

.hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 1.7vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-quick-menu {
  display: none;
}

.floating-home-link {
  display: none;
}

@keyframes heroBrandPulse {
  0% {
    opacity: 0.3;
    filter: brightness(0.68);
  }

  46% {
    opacity: 0.96;
    filter: brightness(1.25);
  }

  100% {
    opacity: 0.78;
    filter: brightness(1);
  }
}

@keyframes athleteFrameMotionA {
  from {
    transform: scale(1.032) translate3d(-0.6%, 0, 0);
  }

  to {
    transform: scale(1.072) translate3d(0.5%, -0.5%, 0);
  }
}

@keyframes athleteFrameMotionB {
  from {
    transform: scale(1.035) translate3d(0.5%, -0.2%, 0);
  }

  to {
    transform: scale(1.07) translate3d(-0.6%, -0.5%, 0);
  }
}

@keyframes athleteFrameMotionC {
  from {
    transform: scale(1.03) translate3d(0, -0.4%, 0);
  }

  to {
    transform: scale(1.068) translate3d(0, 0.4%, 0);
  }
}

@keyframes athleteFrameMotionD {
  from {
    transform: scale(1.034) translate3d(-0.4%, -0.3%, 0);
  }

  to {
    transform: scale(1.072) translate3d(0.4%, 0.2%, 0);
  }
}

@keyframes heroLightPass {
  0%,
  100% {
    opacity: 0;
    transform: translate3d(-24%, -1%, 0) rotate(8deg);
  }

  34% {
    opacity: 0.76;
  }

  70% {
    opacity: 0.24;
    transform: translate3d(22%, -2%, 0) rotate(8deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media.hero-video-sequence::before,
  .hero-bg-frame.is-active,
  body.home-page .hero-brand.is-pulsing {
    animation: none;
  }
}

.button,
.feature-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 700;
}

.button--primary {
  background: var(--accent);
  color: #fff;
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #fff;
}

.button--light {
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--line);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip div {
  min-height: 118px;
  padding: 28px clamp(18px, 3vw, 42px);
  background: #fff;
}

.proof-strip b {
  display: block;
  color: var(--brand);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.proof-strip span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 4vw, 64px);
  scroll-margin-top: 72px;
}

.section--muted {
  background: var(--soft);
}

.section--split {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
}

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

.section-heading--center {
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  color: var(--brand-deep);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.14;
}

.section-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
}

.about-section {
  background: linear-gradient(135deg, #f6fbff 0%, #fff 46%, #eef7fb 100%);
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.about-media {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #dbe7f4;
  box-shadow: var(--shadow);
}

.about-media img {
  display: block;
  width: 100%;
  height: clamp(360px, 38vw, 520px);
  object-fit: cover;
  object-position: center center;
}

.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 18, 36, 0) 42%, rgba(5, 18, 36, 0.78) 100%);
  pointer-events: none;
}

.about-media__caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  color: #fff;
}

.about-media__caption span {
  display: block;
  color: #5ee9f2;
  font-weight: 800;
  font-size: 13px;
}

.about-media__caption b {
  display: block;
  margin-top: 6px;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.18;
}

.about-content {
  display: grid;
  gap: 24px;
}

.about-copy {
  display: grid;
  gap: 18px;
  color: #334155;
  font-size: 17px;
  line-height: 1.82;
}

.about-copy p {
  margin: 0;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.about-feature-grid div {
  min-height: 118px;
  padding: 18px;
  border: 1px solid rgba(201, 215, 231, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 26px rgba(8, 39, 82, 0.06);
}

.about-feature-grid b {
  display: block;
  color: var(--brand);
  font-size: 18px;
  line-height: 1.25;
}

.about-feature-grid span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.leaders-section {
  background: linear-gradient(180deg, var(--soft) 0%, #fff 100%);
}

.leader-grid {
  display: grid;
  grid-template-columns: 1.14fr 1fr 1fr;
  gap: 18px;
}

.leader-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}

.leader-card--primary {
  border-color: rgba(6, 54, 168, 0.28);
  box-shadow: var(--shadow);
}

.leader-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  background: #dce3ea;
}

.leader-photo--an {
  object-position: center center;
}

.leader-photo--liang {
  object-position: center top;
}

.leader-photo--huang {
  object-position: center top;
}

.leader-card__body {
  padding: 22px;
}

.leader-role {
  margin: 0 0 6px;
  color: var(--warm);
  font-weight: 800;
  font-size: 13px;
}

.leader-card h3 {
  margin: 0 0 14px;
  color: var(--brand-deep);
  font-size: 28px;
  line-height: 1.18;
}

.leader-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.business-grid,
.coach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.business-card,
.coach-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.business-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.business-card div {
  padding: 20px;
}

.business-card span,
.project-card span,
.activity-card span,
.coach-card span {
  color: var(--warm);
  font-weight: 800;
  font-size: 13px;
}

.business-card h3,
.project-card h3,
.activity-card h3,
.coach-card h3 {
  margin: 6px 0 8px;
  color: var(--brand-deep);
  font-size: 22px;
  line-height: 1.24;
}

.business-card p,
.project-card p,
.activity-card p,
.coach-card p {
  margin: 0;
  color: var(--muted);
}

.project-section .section-heading {
  max-width: 860px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.project-card {
  display: grid;
  overflow: hidden;
  min-height: 340px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.project-card--featured {
  grid-column: span 2;
}

.project-card > img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.project-card--featured img {
  height: 250px;
}

.project-card > div:not(.venue-gallery) {
  padding: 20px;
}

.project-card h3 {
  font-size: 21px;
}

.project-card .venue-gallery {
  position: relative;
  height: 210px;
  overflow: hidden;
  padding: 0;
  background: #dbe7f4;
}

.venue-gallery__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateX(-100%);
  transition:
    opacity 0.34s ease,
    transform 0.34s ease;
  will-change: opacity, transform;
}

.venue-gallery__slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: translateX(0);
  animation: venueSlide 0.34s ease;
}

.venue-gallery__control {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.62);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.venue-gallery__control--prev {
  left: 10px;
}

.venue-gallery__control--next {
  right: 10px;
}

.project-card .venue-gallery__dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 2;
  display: flex;
  gap: 6px;
  padding: 0;
  transform: translateX(-50%);
}

.venue-gallery__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  cursor: pointer;
}

.venue-gallery__dot.is-active {
  width: 18px;
  background: #fff;
}

@keyframes venueSlide {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.coach-toolbar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: -14px 0 28px;
}

.filter-button {
  min-width: 108px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.filter-button.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.coach-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  min-height: 178px;
}

.coach-card.is-hidden {
  display: none;
}

.coach-card img {
  width: 118px;
  height: 100%;
  object-fit: cover;
}

.coach-card div {
  padding: 18px;
}

.coach-card h3 {
  margin-top: 4px;
}

.h5-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.feature-link {
  border: 1px solid var(--brand);
  color: var(--brand);
  background: #fff;
}

.feature-link:hover,
.feature-link:focus-visible {
  background: var(--brand);
  color: #fff;
  outline: none;
}

.activity-section {
  background: #fff;
}

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

.activity-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.activity-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.activity-card > div:not(.activity-gallery) {
  padding: 20px;
}

.activity-card h3 {
  font-size: 22px;
}

.activity-gallery {
  display: grid;
  height: 230px;
  overflow: hidden;
  padding: 0;
  background: #dbe7f4;
}

.activity-gallery--community {
  grid-template-columns: 1.12fr 0.88fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.activity-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-gallery--community img:first-child {
  grid-row: span 2;
}

.activity-card--dark {
  background: #151a23;
  color: #fff;
}

.activity-card--dark h3 {
  color: #fff;
}

.activity-card--dark p {
  color: rgba(255, 255, 255, 0.72);
}

.competition-section {
  background: linear-gradient(180deg, #f2f7fb 0%, #fff 100%);
}

.competition-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.9fr);
  gap: 18px;
}

.competition-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.07);
}

.competition-card--results {
  grid-row: span 2;
}

.competition-card img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: #dbe7f4;
}

.competition-card--results img {
  height: 380px;
  object-position: center top;
}

.competition-card__body {
  padding: 22px;
}

.competition-card__body > span {
  color: var(--warm);
  font-weight: 800;
  font-size: 13px;
}

.competition-card h3 {
  margin: 8px 0 12px;
  font-size: 24px;
}

.result-list {
  display: grid;
  gap: 10px;
}

.result-list p,
.competition-card p {
  margin: 0;
  color: var(--muted);
}

.result-list b {
  display: inline-block;
  min-width: 54px;
  margin-right: 8px;
  color: var(--brand);
}

.service-tags,
.partner-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.service-tags span,
.partner-cloud span {
  border: 1px solid rgba(6, 54, 168, 0.18);
  border-radius: 999px;
  padding: 7px 10px;
  background: #f6f9ff;
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
}

.competition-quote {
  margin-top: 16px !important;
  color: var(--ink) !important;
  font-weight: 800;
}

.swim-info-section {
  background: #fff;
}

.swim-info-section .section-heading {
  max-width: 860px;
  margin: 0 auto;
}

.swim-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 42px auto 0;
}

.swim-info-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(0, 166, 181, 0.09), rgba(255, 255, 255, 0) 48%),
    #fff;
}

.swim-info-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(0, 166, 181, 0.12);
  color: var(--accent);
  font-weight: 900;
}

.swim-info-card h3 {
  margin: 22px 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.swim-info-card a {
  color: var(--brand);
}

.swim-info-card p {
  margin: 0;
  color: var(--muted);
}

.swim-info-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.geo-page {
  background: #f6f8fb;
}

.geo-page .site-header {
  position: sticky;
}

.geo-main {
  padding-top: 0;
}

.geo-hero {
  padding: clamp(56px, 8vw, 92px) clamp(18px, 5vw, 72px);
  background: #101827;
  color: #fff;
}

.geo-hero__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.geo-hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
}

.geo-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.geo-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 76px) clamp(18px, 4vw, 36px);
}

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

.geo-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.geo-card h2,
.geo-card h3 {
  margin: 0 0 12px;
  line-height: 1.25;
}

.geo-card p,
.geo-card li,
.geo-card dd {
  color: var(--muted);
}

.geo-card dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.geo-card dt {
  color: var(--ink);
  font-weight: 800;
}

.geo-card dd {
  margin: 4px 0 0;
}

.geo-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.geo-note {
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
}

.geo-page .site-footer {
  background: #fff;
}

.news-section {
  padding-top: clamp(46px, 6vw, 76px);
  padding-bottom: clamp(42px, 5vw, 70px);
  background: linear-gradient(180deg, #fff 0%, #f7fbfd 100%);
  border-bottom: 1px solid var(--line);
}

.news-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: 34px;
}

.news-highlight {
  padding: 24px;
  border-radius: 8px;
  background: #151a23;
  color: #fff;
}

.news-highlight span {
  display: block;
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
}

.news-highlight b {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  line-height: 1.22;
}

.news-highlight p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.news-grid.is-rotator {
  position: relative;
  display: block;
}

.news-card {
  position: relative;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #f8fbfd 100%);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.news-grid.is-rotator .news-card {
  display: none;
  min-height: 198px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 24px;
}

.news-grid.is-rotator .news-card.is-active {
  display: grid;
  animation: newsSlide 0.32s ease;
}

.news-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand);
}

.news-card__category {
  color: var(--warm);
  font-weight: 800;
  font-size: 13px;
}

.news-card h3 {
  margin: 12px 0 10px;
  color: var(--brand-deep);
  font-size: 21px;
  line-height: 1.28;
}

.news-card p {
  margin: 0;
  color: var(--muted);
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: auto;
  padding-top: 22px;
  color: #7a8696;
  font-size: 13px;
}

.news-card__link {
  display: inline-flex;
  width: fit-content;
  margin-top: 16px;
  color: var(--brand);
  font-weight: 800;
}

.news-grid.is-rotator .news-card__category,
.news-grid.is-rotator .news-card h3,
.news-grid.is-rotator .news-card p,
.news-grid.is-rotator .news-card__meta {
  grid-column: 1 / 2;
}

.news-grid.is-rotator .news-card__link {
  grid-column: 2 / 3;
  grid-row: 2 / 4;
  align-self: center;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(6, 54, 168, 0.18);
  border-radius: 8px;
  background: #fff;
}

@keyframes newsSlide {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 320px;
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  background: #151a23;
  color: #fff;
}

.contact-copy h2 {
  color: #fff;
}

.contact-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.contact-copy dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 0;
}

.contact-copy dl div {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 16px;
}

.contact-copy dt {
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

.contact-copy dd {
  margin: 6px 0 0;
  font-size: 18px;
  overflow-wrap: anywhere;
}

.contact-qr {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-qr img {
  width: 210px;
  border-radius: 8px;
}

.contact-qr p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer img {
  width: 42px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--muted);
  font-size: 13px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--brand);
  outline: none;
}

@media (max-width: 1080px) {
  .leader-grid,
  .news-grid,
  .project-grid,
  .activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .business-grid,
  .coach-grid,
  .swim-info-grid,
  .geo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  body {
    font-size: 15px;
  }

  body.home-page .site-header {
    display: none;
  }

  .site-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .brand {
    width: min(186px, 58vw);
  }

  .nav-toggle {
    position: fixed;
    top: 10px;
    right: 16px;
    z-index: 40;
    display: inline-flex !important;
    background: var(--brand);
    border-color: var(--brand);
    box-shadow: 0 8px 20px rgba(6, 54, 168, 0.22);
  }

  .nav-toggle span {
    background: #fff;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 16px 14px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    white-space: normal;
  }

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

  .site-nav a {
    padding: 12px 0;
  }

  .hero {
    min-height: 90vh;
    min-height: 90svh;
    padding-top: 64px;
  }

  body.home-page .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 0;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(3, 10, 24, 0.18) 0%, rgba(3, 10, 24, 0.44) 34%, rgba(3, 10, 24, 0.78) 62%, rgba(3, 10, 24, 0.92) 100%),
      linear-gradient(90deg, rgba(3, 10, 24, 0.72), rgba(3, 10, 24, 0.36) 58%, rgba(3, 10, 24, 0.18));
  }

  .hero-media {
    inset: 64px 0 0;
    display: block;
  }

  body.home-page .hero-media {
    inset: 0;
  }

  .hero-media img {
    filter: saturate(0.92) brightness(0.86);
    object-position: 56% center;
  }

  .hero-bg-frame {
    background-position: center top;
  }

  .hero-bg-frame.is-active {
    transform: scale(1.045);
  }

  .hero-video-layer {
    object-position: center center;
  }

  .hero-media.hero-video-sequence::after {
    background:
      linear-gradient(180deg, rgba(3, 10, 24, 0.03) 0%, rgba(3, 10, 24, 0.2) 34%, rgba(3, 10, 24, 0.62) 68%, rgba(3, 10, 24, 0.86) 100%),
      linear-gradient(90deg, rgba(3, 10, 24, 0.42), rgba(3, 10, 24, 0.2) 58%, rgba(3, 10, 24, 0.04));
  }

  body.home-page .hero-brand {
    position: absolute;
    top: max(16px, env(safe-area-inset-top));
    left: 18px;
    z-index: 3;
    display: inline-flex;
    width: min(164px, 42vw);
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 0.74;
    transition: top 0.55s ease, width 0.55s ease, opacity 0.55s ease;
    pointer-events: none;
  }

  body.home-page .hero[data-brand-position="middle-left"] .hero-brand {
    top: max(86px, calc(env(safe-area-inset-top) + 72px));
    width: min(150px, 39vw);
  }

  body.home-page .hero-brand img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.72));
  }

  body.home-page .hero-brand.is-pulsing {
    animation: heroBrandPulse 1400ms ease both;
  }

  .hero-copy {
    align-self: end;
    padding: 0 18px 28px;
  }

  .hero .eyebrow {
    color: #2dd9e8;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.62);
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.16;
    max-width: 100%;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.74), 0 1px 2px rgba(0, 0, 0, 0.72);
  }

  .hero p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.64;
    color: rgba(255, 255, 255, 0.94);
    overflow-wrap: anywhere;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.78);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
  }

  .hero-actions .button {
    min-height: 44px;
    padding: 0 12px;
    font-size: 14px;
  }

  .hero-quick-menu {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
  }

  .hero-quick-menu a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: rgba(3, 10, 24, 0.36);
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(8px);
  }

  .hero-quick-menu a:first-child {
    border-color: rgba(45, 217, 232, 0.72);
    color: #2dd9e8;
  }

  .hero .button--primary {
    box-shadow: 0 14px 30px rgba(0, 162, 176, 0.34);
  }

  .hero .button--ghost {
    background: rgba(3, 10, 24, 0.28);
    border-color: rgba(255, 255, 255, 0.82);
  }

  body.home-page .floating-home-link {
    position: fixed;
    right: 16px;
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 45;
    display: inline-flex;
    min-width: 58px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(45, 217, 232, 0.5);
    border-radius: 999px;
    background: rgba(3, 10, 24, 0.84);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
    backdrop-filter: blur(12px);
  }

  body.home-page .floating-home-link::before {
    content: "↑";
    margin-right: 4px;
    color: #2dd9e8;
    font-size: 14px;
  }

  body.home-page .floating-home-link.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .proof-strip {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 16px 18px;
    background: #f4f8fb;
    border-bottom: 1px solid rgba(213, 224, 235, 0.9);
  }

  .proof-strip div {
    min-height: 96px;
    padding: 18px 16px;
    border: 1px solid rgba(214, 224, 234, 0.92);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(8, 39, 82, 0.06);
  }

  .proof-strip b {
    font-size: clamp(27px, 7.6vw, 36px);
  }

  .proof-strip span {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.35;
  }

  .section,
  .contact-section {
    padding: 56px 18px;
    scroll-margin-top: 64px;
  }

  body.home-page .section,
  body.home-page .contact-section {
    scroll-margin-top: 12px;
  }

  .section--split,
  .about-panel,
  .about-copy,
  .leader-grid,
  .business-grid,
  .project-grid,
  .coach-grid,
  .swim-info-grid,
  .activity-grid,
  .competition-grid,
  .geo-grid,
  .news-shell,
  .news-grid,
  .contact-section,
  .contact-copy dl {
    grid-template-columns: 1fr;
  }

  .section-heading--center {
    text-align: left;
  }

  .about-section {
    padding-top: 48px;
    padding-bottom: 50px;
  }

  .about-panel {
    gap: 22px;
  }

  .about-media img {
    height: 260px;
  }

  .about-media__caption {
    left: 16px;
    right: 16px;
    bottom: 14px;
  }

  .about-content {
    gap: 18px;
  }

  .about-copy {
    font-size: 15px;
    line-height: 1.78;
  }

  .about-feature-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-feature-grid div {
    min-height: 0;
    padding: 15px 16px;
  }

  .business-card img,
  .project-card > img,
  .project-card--featured img,
  .activity-card > img {
    height: 210px;
  }

  .project-card,
  .project-card--featured,
  .activity-card--wide,
  .competition-card--results {
    grid-column: auto;
    grid-row: auto;
  }

  .competition-card img,
  .competition-card--results img {
    height: 230px;
  }

  .coach-card {
    grid-template-columns: 106px minmax(0, 1fr);
    min-height: 166px;
  }

  .coach-card img {
    width: 106px;
  }

  .coach-card div {
    padding: 15px;
  }

  .coach-card h3 {
    font-size: 20px;
  }

  .news-highlight {
    padding: 22px;
  }

  .contact-qr {
    justify-self: start;
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 26px;
  }

  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px 14px 16px;
  }

  .proof-strip div {
    min-height: 92px;
    padding: 16px 14px;
    border-radius: 8px;
  }

  .proof-strip b {
    font-size: clamp(25px, 7.4vw, 30px);
  }

  .proof-strip span {
    font-size: 13px;
  }

  .button,
  .feature-link {
    width: 100%;
  }

  .coach-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .coach-card img {
    width: 96px;
  }

  .news-card {
    min-height: 0;
  }

  .news-grid.is-rotator .news-card {
    min-height: 248px;
    grid-template-columns: 1fr;
  }

  .news-grid.is-rotator .news-card__link {
    grid-column: 1 / 2;
    grid-row: auto;
    align-self: start;
    margin-top: 10px;
  }
}
