@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,600;0,700;0,800;0,900;1,900&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a, input, select { outline-offset: 4px; }
button { cursor: pointer; }
p { line-height: 1.55; margin: 0; }
h1, h2, h3, h4 { margin: 0; }

.public {
  background: #0b0b0e;
  color: #f7f6f7;
  --red: #d71913;
  --red-glow: #ff234c;
  --nav-height: clamp(88px, 12vh, 128px);
  --display-font: "Archivo", -apple-system, BlinkMacSystemFont, "Arial Black", sans-serif;
}

.wrap {
  width: min(1260px, calc(100% - 96px));
  margin-inline: auto;
}

/* Public Sticky Navigation Bar */
.public-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: #09090bf7;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.098);
  min-height: var(--nav-height);
  padding-inline: clamp(22px, 6vw, 128px);
}

.wordmark {
  font-family: var(--display-font);
  font-size: 32px;
  font-weight: 950;
  letter-spacing: -0.095em;
  font-style: italic;
  white-space: nowrap;
}

.wordmark span {
  color: var(--red-glow, #ff234c);
  margin-left: 2px;
}

.public-nav nav, .actions {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 48px);
  flex-wrap: wrap;
}

.public-nav nav a {
  font-family: var(--display-font);
  font-size: 15px;
  color: #e4e0e3;
  text-transform: uppercase;
  font-weight: 750;
  letter-spacing: -0.02em;
  transition: color 0.15s ease;
}

.public-nav nav a:hover, .secondary a:hover, .text-link:hover {
  color: #ff796e;
}

.pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 23px;
  font-size: 15px;
  font-weight: 750;
  font-family: var(--display-font);
  text-transform: uppercase;
  min-height: 46px;
  transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.public-nav > .pill, .hero .pill {
  border-radius: 6px;
  text-transform: uppercase;
}

.public-nav > .pill {
  min-width: 144px;
  flex-shrink: 0;
}

.red {
  background: var(--red);
  color: #ffffff;
}

.glass {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
}

.pill:hover {
  filter: brightness(1.15);
  box-shadow: 0 4px 20px rgba(255, 35, 76, 0.22);
}

/* Hero Section */
.hero {
  min-height: 580px;
  min-height: max(580px, calc(100svh - var(--nav-height)));
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(9, 9, 11, 0.35) 0%, rgba(14, 9, 12, 0.75) 45%, #0b0b0e 100%),
    url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=2000&q=85') center 48% / cover,
    #211921;
}

.hero-inner {
  padding-block: 64px 80px;
}

.hero h1 {
  font-family: var(--display-font);
  font-size: clamp(58px, 6.7vw, 126px);
  color: #ff392c;
  font-weight: 900;
  line-height: 0.87;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.8);
}

.hero h1 em {
  display: block;
  font-style: normal;
  color: inherit;
}

.hero-copy {
  max-width: none;
  margin: clamp(24px, 4vh, 46px) 0 24px;
  color: #ffffff;
  font-size: clamp(16px, 1.9vw, 27px);
  font-weight: 750;
  font-family: var(--display-font);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.hero .actions {
  justify-content: center;
  gap: clamp(12px, 2vw, 32px);
}

.hero .pill {
  min-width: clamp(224px, 20vw, 330px);
  min-height: 50px;
}

.hero .tour {
  color: #181219;
  background: #ffffff;
}

/* Club Strip */
.club-strip {
  background: #141417;
  border-block: 1px solid rgba(255, 255, 255, 0.098);
}

.club-strip .wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-block: 22px;
  color: #ddd4d9;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

/* Sections Common */
.section {
  padding-block: 78px 12px;
  scroll-margin-top: calc(var(--nav-height) + 12px);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.kicker {
  font-family: var(--display-font);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  color: #ff776c;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-head h2 {
  font-family: var(--display-font);
  font-size: clamp(43px, 6vw, 84px);
  letter-spacing: -0.075em;
  line-height: 0.94;
  margin-top: 10px;
  text-transform: uppercase;
  font-weight: 900;
}

.section-head > p {
  max-width: 320px;
  color: #c0b7bd;
  font-size: 15px;
}

/* Zones (Disciplines) */
.zones, .plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.zones article {
  min-height: 320px;
  border-radius: 22px;
  background: linear-gradient(0deg, rgba(9, 9, 11, 0.94) 0%, transparent 74%), var(--photo) center / cover, #272128;
  display: flex;
  align-items: end;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.zones article:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.zones h3, .plans h3 {
  font-family: var(--display-font);
  font-size: 30px;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  font-weight: 900;
}

.zones p, .amenities p, .plans p {
  color: #ddd5db;
  font-size: 14px;
}

/* Amenities */
.amenities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.amenities > div, .plans article, .schedule, .feature-panel {
  background: #161619;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  padding: 24px;
}

.amenities h3 {
  font-family: var(--display-font);
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  font-weight: 800;
}

/* Schedule */
.schedule div {
  padding: 14px 0;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 10px;
  align-items: center;
}

.schedule div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.schedule time, .schedule span, .plans small {
  color: #c5bac2;
  font-size: 13px;
}

.schedule strong {
  font-size: 16px;
  font-weight: 700;
}

.secondary, .text-link {
  display: flex;
  margin-top: 18px;
  color: #ff9c94;
  gap: 22px;
  font-weight: 600;
  font-size: 14px;
}

.secondary a, .text-link {
  cursor: pointer;
  transition: color 0.15s ease;
}

/* Membership Plans */
.plans p {
  margin: 10px 0 20px;
  min-height: 48px;
  font-size: 14px;
}

.plans b {
  font-family: var(--display-font);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.plans .pill {
  display: flex;
  margin-top: 22px;
  width: 100%;
}

.plans .featured {
  border-color: #ef4338;
  background: #281614;
}

/* Public Footer */
.public footer {
  background: #151518;
  margin-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.098);
  scroll-margin-top: 80px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-block: 35px;
}

.footer div:first-child p {
  color: #999097;
  font-size: 13px;
  margin-top: 8px;
}

.footer div:last-child {
  display: grid;
  gap: 9px;
  text-align: right;
  font-size: 14px;
  color: #c9bfca;
}

.footer div:last-child a:hover {
  color: #ffffff;
}

/* Interactive Modal Overlays for Tools */
.studio-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 11, 14, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.studio-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.studio-modal-box {
  background: #161619;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  position: relative;
}

.studio-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.studio-modal-close:hover {
  background: var(--red);
}

/* Responsive Media Queries matching reference */
@media (max-width: 960px) {
  .public { --nav-height: 110px; }
  .public-nav { flex-wrap: wrap; padding: 10px 18px; gap: 6px; }
  .public-nav nav { order: 3; width: 100%; gap: 8px 16px; }
  .public-nav nav a { font-size: clamp(11px, 1.7vw, 14px); }
  .zones, .plans { grid-template-columns: 1fr; }
  .zones article { min-height: 230px; }
  .schedule div { grid-template-columns: 1fr 1.65fr; }
  .schedule span { grid-column: 2; }
  .club-strip .wrap { display: grid; grid-template-columns: 1fr 1fr; }
  .amenities > div, .plans article, .schedule { padding: 18px; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 36px); }
  .public-nav nav { justify-content: space-between; gap: 6px 10px; }
  .public-nav > .pill { min-width: 106px; min-height: 40px; padding: 8px 14px; font-size: 13px; }
  .hero { min-height: max(490px, calc(82svh - var(--nav-height))); }
  .hero-inner { padding-block: 55px; }
  .hero h1 { font-size: clamp(34px, 8.5vw, 56px); }
  .hero .actions { flex-direction: column; align-items: stretch; max-width: 330px; margin-inline: auto; }
  .footer { flex-direction: column; text-align: left; }
  .footer div:last-child { text-align: left; }
}
