:root {
  --navy: #081D3D;
  --deep-navy: #0E234B;
  --gold: #D4AF37;
  --silver: #C8CDD3;
  --stone: #F2F2F0;
  --teal: #0F7C82;
  --font-display: 'Cinzel', serif;
  --font-sub: 'Montserrat', sans-serif;
  --font-body: 'Lato', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--navy);
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Divider glyph ---------- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 28px auto;
  width: 220px;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to var(--dir, right), transparent, var(--gold));
}
.divider::after { --dir: left; background: linear-gradient(to left, transparent, var(--gold)); }
.divider-star {
  color: var(--gold);
  font-size: 14px;
  line-height: 1;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 29, 61, 0.92);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 29, 61, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}

.nav-wrap {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link img {
  height: 46px;
  width: auto;
}

nav.primary-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
}

.nav-links > li { position: relative; }

.nav-links a {
  font-family: var(--font-sub);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  opacity: 0.85;
  padding: 6px 2px;
  position: relative;
  transition: opacity 0.2s ease;
}
.nav-links > li > a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover,
.nav-links a:focus-visible { opacity: 1; }
.nav-links > li > a:hover::after,
.nav-links > li > a:focus-visible::after { transform: scaleX(1); }
.nav-links a.current { opacity: 1; color: var(--gold); }
.nav-links > li > a.current::after { transform: scaleX(1); }

.caret {
  display: inline-block;
  font-size: 9px;
  margin-left: 4px;
  transition: transform 0.2s ease;
}
.has-dropdown:hover .caret,
.has-dropdown:focus-within .caret { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -18px;
  margin-top: 14px;
  background: var(--deep-navy);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 10px;
  padding: 8px 0;
  min-width: 210px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 0 20px 44px -16px rgba(0,0,0,0.55);
  z-index: 60;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 11px 22px;
  font-size: 14px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.dropdown-menu li a::after { display: none; }
.dropdown-menu li a:hover,
.dropdown-menu li a:focus-visible {
  color: var(--gold);
  background: rgba(212,175,55,0.08);
}

.btn-book {
  font-family: var(--font-sub);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-book:hover,
.btn-book:focus-visible {
  background: transparent;
  color: var(--gold);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 8px;
  color: var(--stone);
  width: 42px;
  height: 38px;
  font-size: 18px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  background-color: var(--navy);
}

.hero-motif {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(760px, 90vw);
  transform: translate(-50%, -50%);
  opacity: 0.16;
  filter: saturate(1.05);
  pointer-events: none;
  animation: motif-breathe 12s ease-in-out infinite;
}

@keyframes motif-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.16; }
  50% { transform: translate(-50%, -50%) scale(1.02); opacity: 0.20; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.eyebrow {
  font-family: var(--font-sub);
  font-size: 15px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  letter-spacing: 0.02em;
  line-height: 1.18;
  color: var(--stone);
  text-transform: uppercase;
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--gold);
  letter-spacing: 0.02em;
}

/* ---------- Founder ---------- */
.founder {
  max-width: 1180px;
  margin: 0 auto;
  padding: 110px 32px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}

.founder-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(212, 175, 55, 0.5);
  padding: 18px;
  border-radius: 2px;
}

.founder-photo-frame::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  pointer-events: none;
  z-index: 1;
}

.founder-photo {
  position: absolute;
  inset: 18px;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  object-fit: cover;
  object-position: center top;
  display: block;
}

.founder-eyebrow {
  font-family: var(--font-sub);
  font-size: 14.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.founder h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--stone);
  margin-bottom: 24px;
  line-height: 1.3;
}

.founder p {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--silver);
  max-width: 46ch;
}

.founder-signoff {
  margin-top: 28px;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.05rem;
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--gold);
  color: var(--navy);
  padding: 90px 32px;
  text-align: center;
  position: relative;
  scroll-margin-top: 88px;
}

.newsletter-inner {
  max-width: 620px;
  margin: 0 auto;
}

.newsletter .eyebrow-dark {
  font-family: var(--font-sub);
  font-size: 14.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(8,29,61,0.65);
  margin-bottom: 16px;
}

.newsletter h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  color: var(--navy);
  margin-bottom: 14px;
}

.newsletter p.sub {
  font-family: var(--font-body);
  font-size: 17px;
  color: rgba(8,29,61,0.78);
  margin-bottom: 34px;
}

/* Clip Arketa’s tall empty page; !important beats embed.js. Heights leave
   the heading + fields + Subscribe visible without an inner scrollbar. */
#formIframe {
  display: block;
  width: 100%;
  height: 152px !important;
  min-height: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
}
@media (max-width: 1024px) {
  #formIframe {
    height: 168px !important;
  }
}
@media (max-width: 640px) {
  #formIframe {
    height: 260px !important;
  }
}
@media (max-width: 480px) {
  #formIframe {
    height: 280px !important;
  }
}

/* ---------- Story & Philosophy ---------- */
.story, .philosophy {
  max-width: 860px;
  margin: 0 auto;
  padding: 100px 32px;
  text-align: center;
}
.story .eyebrow, .philosophy .eyebrow { margin-bottom: 18px; }
.story h2, .philosophy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--stone);
  margin-bottom: 22px;
  font-weight: 600;
}
.story p, .philosophy p {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--silver);
  max-width: 62ch;
  margin: 0 auto 16px;
}
.philosophy .taglines { margin-top: 30px; }
.philosophy .taglines p {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

/* ---------- RSVP / Launch Party ---------- */
.rsvp {
  background: var(--deep-navy);
  padding: 100px 32px;
  text-align: center;
  border-top: 1px solid rgba(212,175,55,0.18);
  border-bottom: 1px solid rgba(212,175,55,0.18);
}
.rsvp-inner { max-width: 640px; margin: 0 auto; }
.rsvp h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  color: var(--stone);
  margin-bottom: 10px;
}
.rsvp .rsvp-date {
  font-family: var(--font-sub);
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
}
.rsvp p.desc {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--silver);
  margin-bottom: 34px;
}
.rsvp .perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 38px;
}
.rsvp .perks span {
  font-family: var(--font-sub);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(212,175,55,0.4);
  color: var(--silver);
  padding: 8px 16px;
  border-radius: 999px;
}
.btn-rsvp {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 15px 36px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-rsvp:hover, .btn-rsvp:focus-visible { background: transparent; color: var(--gold); }

/* ---------- Classes Carousel ---------- */
.classes { padding: 110px 0 120px; }
.classes-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 54px;
  padding: 0 32px;
}
.classes-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  color: var(--stone);
  margin-bottom: 14px;
}
.classes-head p {
  font-family: var(--font-body);
  color: var(--silver);
  font-size: 17px;
}
.carousel-wrap {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.carousel-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.class-card {
  scroll-snap-align: start;
  flex: 0 0 280px;
  background: var(--deep-navy);
  border: 1px solid rgba(212,175,55,0.16);
  border-radius: 4px;
  padding: 30px 26px;
}
a.class-card {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.class-card .badge {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
  font-weight: 700;
}
.badge.energizing { background: rgba(212,175,55,0.16); color: var(--gold); border: 1px solid rgba(212,175,55,0.5); }
.badge.calming { background: rgba(15,124,130,0.18); color: #6fd0d6; border: 1px solid rgba(15,124,130,0.6); }
.badge.balancing { background: rgba(200,205,211,0.12); color: var(--silver); border: 1px solid rgba(200,205,211,0.4); }
.class-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--stone);
  margin-bottom: 12px;
  font-weight: 600;
}
.class-card p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--silver);
}
.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}
.carousel-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.4);
  background: transparent;
  color: var(--stone);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.carousel-btn:hover, .carousel-btn:focus-visible {
  background: rgba(212,175,55,0.12);
  border-color: var(--gold);
}
.classes-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  padding: 0 32px;
}
.classes-cta .btn-book {
  padding: 15px 36px;
}

/* ---------- Grand opening callout ---------- */
.grand-opening {
  text-align: center;
  padding: 64px 32px;
  background: var(--deep-navy);
  border-top: 1px solid rgba(212,175,55,0.18);
  border-bottom: 1px solid rgba(212,175,55,0.18);
}

.grand-opening .eyebrow { margin-bottom: 14px; }

.grand-opening h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  color: var(--stone);
  font-weight: 500;
}

.grand-opening h3 strong {
  color: var(--gold);
  font-weight: 600;
}

/* ---------- Footer ---------- */
footer {
  padding: 70px 32px 34px;
  background: var(--navy);
  border-top: 1px solid rgba(212,175,55,0.15);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(212,175,55,0.15);
}

.footer-brand img { height: 34px; margin-bottom: 16px; }

.footer-brand p {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--silver);
  max-width: 32ch;
}

.footer-col h4 {
  font-family: var(--font-sub);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--silver);
  transition: color 0.2s ease;
}
.footer-col a:hover,
.footer-col a:focus-visible { color: var(--gold); }

.footer-connect ul { list-style: none; }
.footer-connect li { margin-bottom: 14px; }
.footer-connect a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--silver);
  transition: color 0.2s ease;
}
.footer-connect a:hover,
.footer-connect a:focus-visible { color: var(--gold); }
.footer-connect a:hover .connect-icon,
.footer-connect a:focus-visible .connect-icon { border-color: var(--gold); color: var(--gold); }
.connect-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 50%;
  color: var(--gold);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.connect-icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.footer-bottom {
  max-width: 1180px;
  margin: 26px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(200,205,211,0.65);
}

.footer-bottom a { color: rgba(200,205,211,0.65); }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .founder {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 80px 24px;
  }
  .founder-photo-frame {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav-wrap { position: relative; z-index: 2; }
  nav.primary-nav {
    position: fixed;
    top: 62px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px 40px;
    gap: 28px;
    width: 100%;
    height: calc(100dvh - 62px);
    overflow-y: auto;
    background: rgba(8, 29, 61, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  nav.primary-nav.open { transform: translateX(0); }
  .nav-links { flex-direction: column; gap: 8px; width: 100%; }
  .menu-toggle { display: block; }
  .btn-book { order: 2; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 4px 0 4px 16px;
    margin-top: 0;
    display: none;
  }
  .has-dropdown.mobile-open .dropdown-menu { display: block; }
  .has-dropdown.mobile-open .caret { transform: rotate(180deg); }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-motif { animation: none; }
  * { transition: none !important; }
}
