:root {
  --ink: #15324a;
  --muted: #617081;
  --sea: #16a6c8;
  --deep-sea: #087795;
  --sun: #f5c748;
  --coral: #ef6f5e;
  --leaf: #3c9b6f;
  --sand: #f8eed2;
  --paper: #fffaf0;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(21, 50, 74, .18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  width: min(1120px, calc(100% - 28px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 18px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 12px 38px rgba(21, 50, 74, .16);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img:first-child {
  width: clamp(120px, 17vw, 190px);
}

.brand img:last-child {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.main-nav a,
.nav-cta {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a:hover,
.nav-cta:hover {
  background: rgba(22, 166, 200, .12);
}

.nav-cta {
  background: var(--sun);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 140px 20px 32px;
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 37, 55, .82), rgba(5, 37, 55, .34) 58%, rgba(5, 37, 55, .1)),
    linear-gradient(0deg, rgba(5, 37, 55, .72), rgba(5, 37, 55, 0) 46%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  margin: 0 auto 92px;
  color: var(--white);
}

.eyebrow,
.section-kicker,
.age-label {
  margin: 0 0 12px;
  color: var(--sun);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(52px, 11vw, 128px);
  line-height: .88;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 600px;
  margin: 22px 0 0;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 700;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.button.primary {
  color: #173048;
  background: var(--sun);
  box-shadow: 0 15px 34px rgba(245, 199, 72, .26);
}

.button.secondary {
  color: var(--white);
  background: var(--deep-sea);
}

.button.ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .62);
  background: rgba(255, 255, 255, .12);
}

.hero-strip {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 22px;
  width: min(1120px, calc(100% - 40px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-strip span {
  padding: 16px 18px;
  border-radius: 16px;
  color: var(--white);
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.intro-grid,
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.experience-text h2,
.contact h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1;
  letter-spacing: 0;
}

.intro p,
.section-heading p,
.contact p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.facts {
  display: grid;
  gap: 12px;
}

.facts article {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 14px;
  padding: 18px;
  border-left: 5px solid var(--sea);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(21, 50, 74, .08);
}

.facts strong {
  color: var(--deep-sea);
}

.calendar-section {
  padding-top: 0;
}

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

.week-card {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid rgba(8, 119, 149, .14);
  box-shadow: 0 12px 30px rgba(21, 50, 74, .09);
}

.week-card span {
  color: var(--deep-sea);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.week-card strong {
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.05;
}

.week-card.extra {
  color: var(--white);
  background: linear-gradient(135deg, var(--coral), var(--deep-sea));
  border-color: transparent;
}

.week-card.extra span {
  color: var(--sun);
}

.tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 34px;
  padding: 6px;
  border-radius: 999px;
  background: #e6f4f4;
}

.tab-button {
  min-width: 130px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.tab-button.active {
  color: var(--white);
  background: var(--deep-sea);
}

.activity-panels {
  margin-top: 18px;
}

.activity-panel {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
  padding: clamp(24px, 5vw, 46px);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(22, 166, 200, .13), rgba(245, 199, 72, .16)),
    var(--white);
  box-shadow: var(--shadow);
}

.panel-copy h3 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

.panel-copy p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.activity-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-list li {
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(8, 119, 149, .16);
  font-weight: 750;
}

.activity-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.swim-focus {
  padding-top: 0;
}

.swim-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(22px, 5vw, 54px);
  align-items: center;
  padding: clamp(24px, 5vw, 46px);
  border-radius: 22px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(8, 119, 149, .96), rgba(22, 166, 200, .88)),
    url("https://images.unsplash.com/photo-1530549387789-4c1017266635?auto=format&fit=crop&w=1400&q=80") center / cover;
  box-shadow: var(--shadow);
}

.swim-card h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
}

.swim-card p:last-child {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 750;
}

.experience-band {
  padding: 70px max(20px, calc((100vw - 1120px) / 2));
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(8, 119, 149, .96), rgba(60, 155, 111, .88)),
    url("https://images.unsplash.com/photo-1473116763249-2faaef81ccda?auto=format&fit=crop&w=1600&q=80") center / cover;
}

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

.experience-text span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--sun);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.experience-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.experience-cards article {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .18);
}

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

.experience-cards h3 {
  margin: 0;
  padding: 16px;
  font-size: 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 12px;
  margin-top: 34px;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(21, 50, 74, .12);
}

.gallery .wide {
  grid-column: span 2;
  grid-row: span 2;
}

.contact {
  padding: 72px 20px;
  background: linear-gradient(180deg, var(--paper), #e9f7f8);
}

.contact-card {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: clamp(26px, 5vw, 52px);
  border-radius: 24px;
  color: var(--white);
  background: linear-gradient(135deg, #15324a, #087795 58%, #3c9b6f);
  box-shadow: var(--shadow);
}

.contact-card p {
  color: rgba(255, 255, 255, .82);
}

.contact-actions {
  min-width: 260px;
  justify-content: flex-end;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 34px;
  color: var(--muted);
}

.site-footer div {
  display: grid;
}

.site-footer a {
  font-weight: 800;
  color: var(--deep-sea);
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .brand img:first-child {
    width: 150px;
  }

  .brand img:last-child {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 22px;
  }

  .hero-content {
    margin-bottom: 22px;
  }

  .hero-strip,
  .intro-grid,
  .section-heading,
  .activity-panel,
  .swim-card,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(1120px, 100%);
    transform: none;
    margin: 0 auto;
  }

  .hero-strip span {
    padding: 11px 13px;
    font-size: 14px;
  }

  .activity-list,
  .experience-cards,
  .week-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery .wide {
    grid-column: auto;
    grid-row: auto;
  }

  .contact-actions {
    min-width: 0;
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .site-header {
    top: 10px;
    width: calc(100% - 18px);
    gap: 8px;
    border-radius: 14px;
  }

  .brand {
    gap: 6px;
  }

  .brand img:first-child {
    width: 118px;
  }

  .brand img:last-child {
    width: 36px;
    height: 36px;
  }

  .nav-cta {
    padding: 9px 11px;
  }

  .hero {
    min-height: auto;
    padding-inline: 14px;
  }

  .hero h1 {
    font-size: clamp(46px, 15vw, 62px);
    line-height: .92;
  }

  .hero-copy {
    font-size: 19px;
  }

  .button {
    width: 100%;
  }

  .section {
    width: min(100% - 24px, 1120px);
    padding: 64px 0;
  }

  .facts article {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .tabs {
    display: grid;
  }

  .tab-button {
    min-width: 0;
  }

  .activity-panel {
    padding: 22px;
    border-radius: 16px;
  }
}
