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

:root {
  --sand: #f5f0e8;
  --white: #fafaf8;
  --ink: #1a1a18;
  --light-ink: #313030;
  --fog: #e8e4dc;
  --kelp: #3d4a3e;
  --ocean: #4a6b7a;
  --salt: #c8c2b4;
  --warm-white: #fdf9f4;
  --accent: #8b7355;

  --mobile: 400px;
  --tablet: 768px;
  --laptop: 1024px;
  --desktop: 1280px;
  --max-width: 1400px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-white);
  color: var(--ink);
  overflow-x: hidden;
}

/* SECTION SHARED */
section:not(.hero) > div, footer > div {
  padding: 7rem 5rem;
  max-width: var(--max-width);
  margin: auto;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--light-ink);
  transition: all 0.3s ease;
}
nav > div {
    max-width: var(--max-width);
    margin: auto;
    padding-left: 5rem;
    padding-right: 5rem;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
  height: 80px;
  width: auto;
  display: block;
  /* filter: drop-shadow(0 2px 10px rgba(0,0,0,0.25)); */
  filter: invert(1);
  /* padding-bottom: 10px; */
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white); text-decoration: none; font-weight: 500;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5), 0 0 20px rgba(0,0,0,0.25);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--sand); }
.nav-cta {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500; color: var(--white); background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.85);
  padding: 0.65rem 1.6rem; cursor: pointer;
  text-decoration: none; transition: background 0.25s, color 0.25s, border-color 0.25s;
  backdrop-filter: blur(4px);
}
.nav-cta:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 102;
}
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.35);
}

/* HERO */
.hero {
  display: flex;
  flex-direction: column;
  padding-top: 0;
  position: relative;
  overflow: hidden;
  align-items: start;
}
.hero-left {
    max-width: var(--max-width);
    margin: auto;
    width: var(--max-width);
}
.hero-left-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 5rem 4rem 5rem;
  position: relative;
  background: var(--warm-white);
  max-width: var(--max-width);
}
.hero-right {
  position: relative; overflow: hidden;
  height: 70vh; min-height: 520px;
  width: 100%;
}
.hero-right-bg {
  display: none;
}
.hero-wave {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 120px; opacity: 0.15;
}
.hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ocean); font-weight: 500; margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.8s ease 0.2s forwards;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 5.5vw, 6rem);
  font-weight: 300; line-height: 1.05;
  color: var(--ink); margin-bottom: 2rem;
  opacity: 0; animation: fadeUp 0.8s ease 0.4s forwards;
}
.hero-title em { 
  font-style: italic;
  color: var(--ocean); }
.hero-body {
  font-size: 1.05rem; line-height: 1.75; color: #4a4a44;
  max-width: 440px; margin-bottom: 3rem; font-weight: 300;
  opacity: 0; animation: fadeUp 0.8s ease 0.6s forwards;
}
.hero-actions {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
}
.btn-primary {
  background: var(--ink); color: var(--white);
  padding: 1rem 2.4rem; font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 500; text-decoration: none;
  transition: background 0.25s; display: inline-block;
}
.btn-primary:hover { background: var(--ocean); }
.btn-ghost {
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding: 1rem 2.4rem;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--ocean); border-color: var(--ocean); }

.hero-image-wrap {
  position: absolute; inset: 0; z-index: 2;
  opacity: 0; animation: fadeIn 1.2s ease 0.5s forwards;
}
.hero-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
  display: block;
}
.hero-photo-fade {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 55%, rgba(0,0,0,0.25) 80%, var(--warm-white) 100%);
  pointer-events: none;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 1s forwards;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1em;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem; font-weight: 300; color: var(--ink); line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--salt);
  margin-top: 0.25rem;
}

/* MARQUEE */
.marquee-strip {
  background: var(--ink); color: var(--white);
  padding: 1rem 0; overflow: hidden; white-space: nowrap;
}

.marquee-inner {
  display: inline-flex; gap: 0; animation: marquee 30s linear infinite;
}

.marquee-item {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0 2.5rem; font-weight: 400; color: rgba(255,255,255,0.7);
}

.marquee-dot {
    color: var(--ocean);
    margin: 0;
}

.section-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ocean); font-weight: 500; margin-bottom: 1.2rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 300; line-height: 1.1; color: var(--ink);
}
.section-title em { font-style: italic; }

/* ABOUT */
.about { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center; margin-top: 5rem;
}
.about-visual {
  position: relative;
}
.about-card {
  background: var(--sand);
  padding: 3rem;
  position: relative;
  border-left: 3px solid var(--ocean);
}
.about-card-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.about-card-attr {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--salt);
}
.about-float {
  position: absolute; right: -2rem; bottom: -2rem;
  background: var(--kelp); color: var(--white);
  padding: 1.5rem 2rem; width: 180px;
}
.about-float-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300; line-height: 1;
}
.about-float-label {
  font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-top: 0.4rem;
}
.about-text p {
  font-size: 1.05rem; line-height: 1.85; color: #4a4a44;
  font-weight: 300; margin-bottom: 1.5rem;
}
.about-values {
  display: flex; gap: 1rem; margin-top: 2.5rem;
}
.value-pill {
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--salt);
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); font-weight: 500;
}

/* OFFERINGS */
.offerings { background: var(--sand); }
.offerings-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: end; margin-bottom: 4rem;
}
.offerings-intro {
  font-size: 1rem; line-height: 1.8; color: #4a4a44; font-weight: 300;
  align-self: end;
}
.offerings-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.offering-card {
  background: var(--white); padding: 2.5rem 2rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s, transform 0.25s;
  cursor: default;
}
.offering-card:hover { border-color: var(--ocean); transform: translateY(-4px); }
.offering-icon {
  width: 36px; height: 36px; margin-bottom: 1.5rem;
  color: var(--ocean);
}
.offering-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 400; color: var(--ink);
  margin-bottom: 0.75rem;
}
.offering-desc {
  font-size: 0.88rem; line-height: 1.7; color: #5a5a54; font-weight: 300;
}

/* COMMUNITY */
.community { background: var(--ink); color: var(--white); }
.community .section-eyebrow { color: var(--ocean); }
.community .section-title { color: var(--white); }
.community-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 6rem; align-items: center; margin-top: 5rem;
}
.community-text p {
  font-size: 1.05rem; line-height: 1.85;
  color: rgba(255,255,255,0.65); font-weight: 300; margin-bottom: 1.5rem;
}
.community-features {
  margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem;
}
.community-feature {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.85rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.8);
}
.community-feature::before {
  content: ''; width: 24px; height: 1px; background: var(--ocean);
  flex-shrink: 0;
}
.community-tiles {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.comm-tile {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2rem 1.5rem;
  transition: background 0.25s;
}
.comm-tile:hover { background: rgba(74,107,122,0.2); }
.comm-tile-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300; color: var(--white); line-height: 1;
}
.comm-tile-label {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-top: 0.5rem;
}

/* COACHES */
.coaches { background: var(--white); }
.coaches-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 4rem;
}
.coaches-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem;
}
.coach-card {
  background: var(--white);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--fog);
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(26, 26, 24, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.coach-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 26, 24, 0.1);
}
.coach-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean), var(--kelp));
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; color: white; font-weight: 300;
  margin: 2.5rem 2.5rem 0;
}
.coach-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--fog);
}
.coach-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.coach-card:hover .coach-img img {
  transform: scale(1.05);
}
.coach-info {
  flex: 1;
  width: 100%;
  padding: 2rem 2.5rem 2.5rem;
}
.coach-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 400; color: var(--ink); margin-bottom: 0.25rem;
}
.coach-role {
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ocean); margin-bottom: 0.75rem;
}
.coach-bio {
  font-size: 0.88rem; line-height: 1.7; color: #5a5a54; font-weight: 300;
}

/* CTA */
.cta-section {
  background: var(--ocean);
  padding: 8rem 5rem;
  text-align: center; position: relative; overflow: hidden;
}
.cta-bg-text {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 20vw; font-weight: 300; color: rgba(255,255,255,0.05);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.cta-section .section-eyebrow { color: rgba(255,255,255,0.6); }
.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 300; color: var(--white); line-height: 1.1;
  margin-bottom: 1.5rem; position: relative;
}
.cta-title em { font-style: italic; }
.cta-body {
  font-size: 1rem; color: rgba(255,255,255,0.75); font-weight: 300;
  max-width: 480px; margin: 0 auto 3rem; line-height: 1.75;
}
.cta-buttons { display: flex; gap: 1.2rem; justify-content: center; position: relative; }
.btn-white {
  background: var(--white); color: var(--ocean);
  padding: 1rem 2.4rem; font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 500; text-decoration: none;
  transition: background 0.25s; display: inline-block;
}
.btn-white:hover { background: var(--sand); }
.btn-outline-white {
  border: 1px solid rgba(255,255,255,0.5); color: var(--white);
  padding: 1rem 2.4rem; font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 500; text-decoration: none;
  transition: background 0.25s; display: inline-block;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

/* FOOTER */
footer {
  background: var(--ink); color: rgba(255,255,255,0.5);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem; margin-bottom: 4rem;
}
.footer-brand img { height: 80px; margin-bottom: 1.2rem; filter: invert(1); }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; font-weight: 300; max-width: 260px; }
.footer-col h4 {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.25); margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  font-size: 0.85rem; color: rgba(255,255,255,0.5); text-decoration: none;
  font-weight: 300; transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem; display: flex; justify-content: space-between;
  font-size: 0.75rem;
}
.footer-location { color: var(--ocean); }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* WAVE DECORATION */
.wave-divider {
  width: 100%; height: 60px; display: block;
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .offerings-grid {
        grid-template-columns: 1fr 1fr;
    }
    .nav-links {
        gap: 1rem;
    }
    .nav-menu {
        gap: 1rem;
    }
}

/* MOBILE (< 768px) */
@media (max-width: 767px) {
  nav > div {
    max-width: unset;
    margin: unset;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .nav-logo img { height: 72px; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100dvh;
    z-index: 101;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: var(--ink);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.6s;
  }
  #site-nav.nav-open .nav-menu {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  #site-nav.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  #site-nav.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  #site-nav.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .nav-links {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .nav-links a {
    font-size: 1rem;
    text-shadow: none;
  }
  .nav-cta { margin-top: 0.25rem; }

  .hero-right {
    height: 50vh;
    min-height: 280px;
  }
  .hero-body { font-size: 1rem; max-width: none; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { text-align: center; }
  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    margin-top: 2rem;
    align-items: center;
    justify-content: center;
  }
  .hero-left {
    width: unset;
  }
  .hero-left-content {
    padding: 2.5rem 1.5rem 3rem;
  }

  section:not(.hero) > div, footer > div { padding: 4rem 1.5rem; }
  .about-grid,
  .offerings-header,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-grid { margin-top: 2.5rem; }
  .about-float {
    position: static;
    margin-top: 1.5rem;
    width: 100%;
    padding: 1rem;
  }
  .about-card {
    padding: 1rem;
  }
  .about-values { flex-wrap: wrap; }
  .offerings-grid {
    grid-template-columns: 1fr;
  }
  .community-grid { gap: 2.5rem; margin-top: 2.5rem; }
  .community-tiles { grid-template-columns: 1fr; }
  .coaches-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .coaches-grid { grid-template-columns: 1fr; }
  .coach-card { flex-direction: column; }

  .cta-section { padding: 5rem 1.5rem; }
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-buttons a { text-align: center; }

  footer { padding: 3rem 1.5rem 2rem; }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

body.nav-menu-open { overflow: hidden; }
