:root {
  --white: #ffffff;
  --off-white: #f7f5f0;
  --black: #111111;
  --grey: #777777;
  --soft-beige: #d8c7a3;
  --border: rgba(17, 17, 17, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

h1,
h2,
h3,
.logo,
.footer-logo {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.05;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(4rem, 11vw, 8.75rem);
  letter-spacing: 0.08em;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 5vw, 4.75rem);
}

h3 {
  margin-bottom: 16px;
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease, padding 200ms ease;
}

.site-header.scrolled,
.site-header.menu-active {
  color: var(--black);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.site-header.scrolled {
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  position: relative;
  z-index: 22;
  font-size: 1.2rem;
  letter-spacing: 0.16em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a:not(.nav-button) {
  opacity: 0.84;
  transition: opacity 180ms ease;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-button {
  padding: 10px 16px;
  border: 1px solid currentColor;
}

.menu-toggle {
  position: relative;
  z-index: 22;
  display: none;
  padding: 8px 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 120px 20px 80px;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  background: var(--black);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(17, 17, 17, 0.24) 78%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.eyebrow,
.section-label {
  margin-bottom: 20px;
  color: var(--soft-beige);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-kicker {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  letter-spacing: 0.04em;
}

.hero-text {
  max-width: 660px;
  margin: 0 auto 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button-dark {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.button-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.button-outline {
  color: var(--black);
  border-color: var(--black);
}

.section {
  padding: clamp(88px, 12vw, 150px) 0;
}

.section-muted,
.section-contact {
  background: var(--off-white);
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 850px;
  text-align: center;
}

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

.lead {
  margin-bottom: 0;
  color: var(--grey);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.card-grid {
  display: grid;
  gap: 20px;
}

.four-columns {
  grid-template-columns: repeat(4, 1fr);
}

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

.card,
.membership-card {
  min-height: 280px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--border);
}

.card-number {
  display: block;
  margin-bottom: 46px;
  color: var(--soft-beige);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.card p,
.membership-card p,
.membership-card li {
  color: var(--grey);
}

.membership-card {
  min-height: 420px;
}

.membership-card.featured {
  border-color: var(--soft-beige);
  box-shadow: 0 24px 70px rgba(17, 17, 17, 0.07);
}

.membership-card ul {
  padding: 22px 0 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.membership-card li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
}

.membership-card li::before {
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--soft-beige);
  border-radius: 50%;
  content: "";
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 52px;
}

.network-grid div {
  display: grid;
  min-height: 96px;
  place-items: center;
  color: var(--grey);
  background: var(--off-white);
  border: 1px solid var(--border);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.section-contact {
  text-align: center;
}

.section-contact .lead {
  margin-bottom: 34px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: center;
  margin-top: 36px;
  color: var(--grey);
}

.contact-details a {
  color: var(--black);
}

.site-footer {
  padding: 44px 20px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--black);
  text-align: center;
}

.site-footer p {
  margin-bottom: 8px;
}

.footer-logo {
  color: var(--white);
  font-size: 1.4rem;
  letter-spacing: 0.16em;
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .four-columns,
  .three-columns,
  .network-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-nav {
    gap: 16px;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 18px 20px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 90px 24px 40px;
    color: var(--black);
    background: var(--white);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 200ms ease, transform 200ms ease;
  }

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

  .nav-button {
    margin-top: 10px;
  }

  .hero {
    min-height: 100svh;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 5.2rem);
  }

  .four-columns,
  .three-columns,
  .network-grid {
    grid-template-columns: 1fr;
  }

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

  .card,
  .membership-card {
    min-height: auto;
    padding: 28px;
  }

  .card-number {
    margin-bottom: 28px;
  }

  .button-row,
  .button-row.centered {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .contact-details {
    flex-direction: column;
  }
}
