:root {
  --ink: #202020;
  --graphite: #575756;
  --muted: #6e7476;
  --aqua: #2cccd4;
  --aqua-deep: #0c9ea7;
  --rose: #c37a70;
  --sand: #f0ecea;
  --paper: #fffbf9;
  --mist: #f4fbfc;
  --white: #ffffff;
  --line: rgba(32, 32, 32, .1);
  --shadow: 0 24px 70px rgba(32, 32, 32, .12);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
h1, h2, h3, p { margin-top: 0; }

.site-header {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 22px;
  width: min(1240px, calc(100% - 32px));
  min-width: 0;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  color: var(--white);
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand > span:last-child {
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  color: var(--white);
  font-size: 24px;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
}

.desktop-nav a,
.header-phone {
  padding: 10px 0;
  color: rgba(255,255,255,.92);
  white-space: nowrap;
}

.header-phone { font-weight: 900; }

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  background: rgba(255,255,255,.14);
}

.menu-button span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.mobile-menu {
  display: none;
  position: absolute;
  z-index: 30;
  top: 82px;
  left: 16px;
  right: 16px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(32, 32, 32, .94);
  color: var(--white);
  box-shadow: var(--shadow);
}

.mobile-menu a {
  display: block;
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.mobile-menu a:last-child { border-bottom: 0; }

.hero {
  position: relative;
  min-height: 790px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #5fbec7;
}

.hero-bg {
  position: absolute;
  inset: -4% 0 0;
  width: 100%;
  height: 108%;
  object-fit: cover;
  transform: translate3d(0, calc(var(--hero-parallax, 0) * 1px), 0) scale(1.02);
  transition: transform .12s linear;
}

.hero-video { background: url("../images/hero-video-poster.webp") center/cover no-repeat; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 78, 88, .74), rgba(44, 204, 212, .22) 48%, rgba(255,255,255,.08)),
    linear-gradient(0deg, rgba(32,32,32,.34), rgba(32,32,32,.04) 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 170px 0 58px;
  min-width: 0;
}

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

.hero .eyebrow { color: rgba(255,255,255,.88); }

h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(44px, 7.2vw, 98px);
  line-height: .96;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  max-width: 900px;
  margin-bottom: 16px;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.12;
  font-weight: 900;
}

.hero-lead {
  max-width: 720px;
  color: rgba(255,255,255,.92);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions,
.hero-facts,
.season-tabs,
.service-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions { margin: 30px 0 26px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--aqua); color: var(--ink); box-shadow: 0 18px 45px rgba(44,204,212,.28); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: var(--white); background: rgba(255,255,255,.12); }

.season-tabs {
  max-width: 860px;
  align-items: center;
  margin-bottom: 26px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(14px);
}

.season-tabs button {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.season-tabs button.is-active {
  background: var(--white);
  color: var(--ink);
}

.season-tabs span {
  flex: 1 1 260px;
  color: rgba(255,255,255,.92);
  font-size: 14px;
}

.hero-facts > div {
  min-width: 172px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: var(--radius);
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(16px);
}

.hero-facts b,
.stats-grid b {
  display: block;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.hero-facts span,
.stats-grid span { color: rgba(255,255,255,.82); }

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-head {
  max-width: 930px;
  margin-bottom: 34px;
}

.section-head p,
.intro-copy p,
.media-copy p,
.location-copy p,
.lead-copy p,
.cosmos-copy p {
  color: var(--muted);
  font-size: 18px;
}

.intro-grid,
.media-split,
.location,
.lead-section,
.cosmos {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .92fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.image-card,
.media-frame,
.map-card {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
}

.image-card img,
.media-frame img,
.map-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.parallax-card img {
  transform: translateY(calc(var(--card-parallax, 0) * 1px)) scale(1.04);
  transition: transform .12s linear;
}

.mini-points,
.service-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.mini-points span,
.service-badges span {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--graphite);
  font-weight: 800;
  font-size: 14px;
}

.stats-band {
  width: 100%;
  max-width: none;
  padding: 0;
  background: linear-gradient(135deg, #1f7f88, #2cccd4 72%, #bff4f6);
  color: var(--white);
}

.stats-grid {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stats-grid > div {
  padding: 22px;
  border-left: 1px solid rgba(255,255,255,.28);
}

.standard {
  width: 100%;
  max-width: none;
  padding: 96px max(18px, calc((100vw - 1180px) / 2));
  background: var(--sand);
}

.standard-panel {
  max-width: 860px;
  margin-bottom: 28px;
}

.standard-grid,
.scenario-grid,
.feature-grid,
.gallery-grid,
.faq-list,
.wellness-strip,
.partner-grid,
.cosmos-cards {
  display: grid;
  gap: 16px;
}

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

.standard-grid article,
.scenario-grid article,
.faq-list details,
.partner-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.78);
  box-shadow: 0 12px 38px rgba(32,32,32,.07);
}

.standard-grid article span,
.scenario-num {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--aqua-deep);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.standard-grid p,
.scenario-grid p,
.faq-list p { color: var(--muted); }

.scenario-result {
  background: linear-gradient(135deg, #1c777f, #2cccd4) !important;
  color: var(--white);
}

.scenario-result ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.scenario-result li { margin-bottom: 8px; }

.tour-section {
  width: 100%;
  max-width: none;
  padding: 96px max(18px, calc((100vw - 1180px) / 2));
  background: var(--mist);
}

.tour-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #111;
  box-shadow: var(--shadow);
}

.tour-frame > img,
.tour-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.tour-frame iframe {
  height: min(72vh, 680px);
  min-height: 480px;
  border: 0;
  background: #111;
}

.tour-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(32,32,32,.08), rgba(32,32,32,.44));
}

.tour-fallback {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

.media-split {
  width: 100%;
  max-width: none;
  padding: 96px max(18px, calc((100vw - 1180px) / 2));
  background: linear-gradient(135deg, var(--paper), var(--sand));
}

.cosmos {
  width: min(1180px, calc(100% - 36px));
}

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

.cosmos-cards article {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.cosmos-cards img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--mist);
}

.cosmos-cards h3 {
  padding: 18px;
  margin: 0;
  font-size: 20px;
}

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

.distance-list span {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--mist);
}

.distance-list b {
  display: block;
  color: var(--aqua-deep);
}

.wellness {
  width: 100%;
  max-width: none;
  padding: 96px max(18px, calc((100vw - 1180px) / 2));
  background: #edf7f8;
}

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

.wellness-strip article {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.wellness-strip h3,
.wellness-strip p {
  padding: 0 20px;
}

.wellness-strip h3 {
  margin: 18px 0 4px;
  color: var(--aqua-deep);
  font-size: 34px;
}

.wellness-strip p {
  margin-bottom: 22px;
  color: var(--muted);
}

.element-showcase {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #b9eff1;
  box-shadow: var(--shadow);
}

.element-showcase > img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.element-tabs {
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: min(520px, calc(100% - 48px));
  padding: 16px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: var(--radius);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
}

.element-tabs button {
  min-height: 38px;
  margin: 0 6px 8px 0;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  font-weight: 900;
}

.element-tabs button.is-active {
  border-color: var(--aqua);
  background: var(--aqua);
}

.element-tabs p {
  margin: 4px 0 0;
  color: var(--graphite);
}

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

.feature-grid article {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  padding: 22px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--bg) center/cover no-repeat;
}

.feature-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(32,32,32,.04), rgba(20,78,88,.84));
}

.feature-grid h3,
.feature-grid p {
  position: relative;
  z-index: 1;
}

.feature-grid p {
  margin-bottom: 0;
  color: rgba(255,255,255,.86);
}

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

.partner-grid article {
  display: grid;
  min-height: 112px;
  place-items: center;
  text-align: center;
  font-size: 20px;
  font-weight: 900;
}

.gallery-grid {
  grid-template-columns: 1.2fr .9fr .9fr;
}

.gallery-grid img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-grid img:first-child { grid-row: span 2; height: 736px; }

.faq-list { grid-template-columns: 1fr; }
summary { cursor: pointer; font-weight: 900; font-size: 20px; }
details p { margin: 14px 0 0; }

.lead-section {
  width: 100%;
  max-width: none;
  padding: 96px max(18px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(23, 113, 122, .9), rgba(44,204,212,.72)),
    url("../images/prototype-resolution.jpg") center/cover no-repeat;
}

.lead-copy p { color: rgba(255,255,255,.86); }

.lead-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.96);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.lead-form label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #dce6e7;
  border-radius: 6px;
  background: #fbffff;
  color: var(--ink);
  font-size: 16px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px !important;
  height: 1px !important;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.contact-methods input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.contact-methods span {
  display: grid !important;
  place-items: center;
  min-height: 44px;
  margin: 0 !important;
  border: 1px solid #dce6e7;
  border-radius: 6px;
  color: var(--ink) !important;
}

.contact-methods input:checked + span {
  border-color: var(--aqua);
  background: rgba(44,204,212,.16);
}

.check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 13px;
}

.check input { min-height: auto; margin-top: 3px; }
.check span { margin: 0 !important; font-weight: 400 !important; }
.check a { color: var(--aqua-deep); text-decoration: underline; }
.form-status { min-height: 22px; margin: 0; color: var(--aqua-deep); font-weight: 800; }
.form-status.is-error { color: #b33a2b; }

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  padding: 46px max(18px, calc((100vw - 1180px) / 2));
  background: #202020;
  color: rgba(255,255,255,.78);
}

.site-footer .brand { color: var(--white); }
.site-footer .brand-mark { border-color: rgba(255,255,255,.4); }
.site-footer a { display: block; margin: 6px 0; }

.reveal,
.reveal-grid > * {
  opacity: 0;
  transform: translateY(34px) scale(.985);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1);
}

.reveal-grid > *:nth-child(2) { transition-delay: .08s; }
.reveal-grid > *:nth-child(3) { transition-delay: .16s; }
.reveal-grid > *:nth-child(4) { transition-delay: .24s; }
.reveal-grid > *:nth-child(5) { transition-delay: .32s; }
.reveal-grid > *:nth-child(6) { transition-delay: .4s; }

.reveal.is-visible,
.reveal-grid > *.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .desktop-nav { gap: 10px; font-size: 12px; }
  .scenario-grid,
  .feature-grid,
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    top: 14px;
    width: calc(100% - 28px);
    padding: 10px 12px;
  }
  .desktop-nav { display: none; }
  .header-phone { font-size: 14px; }
  .menu-button { display: block; }
  .mobile-menu.is-open { display: block; }
  .hero { min-height: 720px; }
  .hero-content { padding-top: 118px; }
  .intro-grid,
  .media-split,
  .location,
  .lead-section,
  .cosmos { grid-template-columns: 1fr; }
  .stats-grid,
  .standard-grid,
  .wellness-strip,
  .cosmos-cards,
  .gallery-grid,
  .site-footer { grid-template-columns: 1fr 1fr; }
  .lead-section,
  .media-split,
  .tour-section,
  .standard,
  .wellness { padding-top: 72px; padding-bottom: 72px; }
  .gallery-grid img:first-child { grid-row: auto; height: 360px; }
}

@media (max-width: 620px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .brand { font-size: 11px; }
  .brand > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-mark { width: 36px; height: 36px; font-size: 22px; }
  .header-phone { display: none; }
  .hero { min-height: 735px; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(23, 113, 122, .56), rgba(32,32,32,.68)),
      linear-gradient(90deg, rgba(23,113,122,.38), rgba(44,204,212,.08));
  }
  .hero-content {
    width: calc(100% - 36px);
    max-width: calc(100% - 36px);
    padding-bottom: 36px;
  }
  h1 {
    max-width: 100%;
    font-size: clamp(32px, 8.8vw, 42px);
    line-height: 1.02;
    text-transform: none;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  h2 {
    font-size: clamp(25px, 7vw, 32px);
    line-height: 1.08;
  }
  h3 { font-size: 20px; overflow-wrap: anywhere; }
  .section-head p,
  .intro-copy p,
  .media-copy p,
  .location-copy p,
  .lead-copy p,
  .cosmos-copy p {
    font-size: 16px;
    overflow-wrap: anywhere;
  }
  .hero-lead { width: min(100%, 340px); max-width: 340px; font-size: 17px; overflow-wrap: anywhere; }
  .hero-actions .btn {
    flex: 1 1 100%;
    width: 100%;
  }
  .season-tabs { border-radius: var(--radius); }
  .season-tabs button {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    padding: 0 10px;
  }
  .season-tabs span {
    flex-basis: 100%;
    min-width: 0;
  }
  .hero-facts > div { flex: 1 1 100%; }
  .section { padding: 70px 0; }
  .stats-grid,
  .standard-grid,
  .scenario-grid,
  .feature-grid,
  .wellness-strip,
  .partner-grid,
  .cosmos-cards,
  .gallery-grid,
  .site-footer { grid-template-columns: 1fr; }
  .distance-list { grid-template-columns: 1fr; }
  .tour-frame iframe { min-height: 420px; height: 60vh; }
  .tour-overlay .btn,
  .tour-fallback { width: 100%; }
  .element-showcase,
  .element-showcase > img { min-height: 620px; }
  .element-tabs {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
  }
  .gallery-grid img,
  .gallery-grid img:first-child { height: 260px; }
  .contact-methods { grid-template-columns: 1fr; }
}
