/* =====================================================
   TOKENS
===================================================== */
:root {
  --cream:        #FAFAF8;
  --cream-mid:    #F5F1EA;
  --cream-border: #E8E4DC;
  --dark:         #1C1A18;
  --mid:          #6A6A6A;
  --light-mid:    #9A9A9A;
  --burgundy:     #7A1F2B;
  --burgundy-dk:  #5C1720;
  --gold:         #C8A36A;
  --gold-lt:      #D9BC8F;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t:        all 0.35s var(--ease);

  --max-w:       1240px;
  --pad-x:       32px;
  --section-gap: 112px;
  --radius:      20px;
  --radius-pill: 999px;
}

/* =====================================================
   RESET
===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: 0; background: none; cursor: pointer; font: inherit; }

/* =====================================================
   LAYOUT
===================================================== */
.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* =====================================================
   TYPE UTILITIES
===================================================== */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow--dark { color: var(--burgundy); }
.body-text {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.75;
  font-weight: 400;
}

/* =====================================================
   BUTTONS
===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  height: 52px;
  padding: 0 30px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  background: rgba(210, 176, 120, 0.40);
  filter: blur(18px);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: -1;
  pointer-events: none;
  text-decoration: none;
}
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); }

.btn--fill {
  background: var(--burgundy);
  color: #fff;
  border-color: var(--burgundy);
  box-shadow: 0 10px 28px -10px rgba(122,31,43,.45);
}
.btn--fill:hover {
  background: var(--burgundy-dk);
  border-color: var(--burgundy-dk);
  box-shadow: 0 18px 40px -10px rgba(122,31,43,.55);
  text-decoration: none;
}
.btn--outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--cream-border);
}
.btn--outline:hover { background: var(--dark); color: #fff; border-color: var(--dark); text-decoration: none; }

.btn--price {
  background: rgba(255,255,255,.14);
  color: #fff;
  border-color: rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
}
.btn--price:hover { background: #fff; color: var(--burgundy); border-color: #fff; text-decoration: none; }

.btn--ghost-light {
  background: rgba(255,255,255,.14);
  color: #fff;
  border-color: rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
}
.btn--ghost-light:hover { background: #fff; color: var(--burgundy); border-color: #fff; text-decoration: none; }

.btn--lg { height: 60px; padding: 0 38px; font-size: 14.5px; }
.btn--sm { height: 44px; padding: 0 24px; font-size: 12px; }

.btn .arrow { transition: transform 0.35s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); text-decoration: none; }

/* =====================================================
   REVEAL ANIMATION
===================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.26s; }
[data-reveal-delay="4"] { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* =====================================================
   GRAIN TEXTURE
===================================================== */
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* =====================================================
   HERO
===================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(28,26,24,.62) 0%, rgba(28,26,24,.30) 50%, rgba(28,26,24,.70) 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}
.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s var(--ease-out) forwards;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(52px, 10vw, 112px);
  text-transform: uppercase;
  color: var(--burgundy);
  letter-spacing: -0.01em;
  line-height: 0.93;
  max-width: 860px;
  opacity: 0;
  animation: fadeUp 0.9s 0.35s var(--ease-out) forwards;
}
.hero__title .accent { color: var(--gold-lt); }
.hero__sub {
  margin-top: 22px;
  font-size: clamp(15px, 1.6vw, 17px);
  color: rgba(255,255,255,.80);
  max-width: 480px;
  line-height: 1.65;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s var(--ease-out) forwards;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
  opacity: 0;
  animation: fadeUp 0.9s 0.65s var(--ease-out) forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* =====================================================
   MARQUEE STRIP
===================================================== */
.marquee-wrap {
  background: var(--burgundy);
  overflow: hidden;
  position: relative;
  z-index: 3;
  height: 45px;
  display: flex;
  align-items: center;
}
.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrap::before { left: 0; background: linear-gradient(90deg, var(--burgundy), transparent); }
.marquee-wrap::after  { right: 0; background: linear-gradient(270deg, var(--burgundy), transparent); }

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  will-change: transform;
  gap: 0;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  flex-shrink: 0;
}
.marquee-text {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  white-space: nowrap;
}
.marquee-text strong { color: var(--gold-lt); font-weight: 700; }
.marquee-pill {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--burgundy);
  background: var(--gold-lt);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

/* =====================================================
   SECTION 1: CLASS FORMATS
===================================================== */
.class-formats {
  padding-block: var(--section-gap);
  background: var(--cream);
}
.class-formats__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.class-formats__head .section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 4.2vw, 52px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  margin-top: 14px;
  margin-bottom: 14px;
  color: var(--dark);
}
.class-formats__head .section-title em { font-style: normal; color: var(--burgundy); }
.class-formats__head .sub { font-weight: 300; color: var(--light-mid); }

.class-formats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.format-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 28px 28px;
  color: #fff;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.format-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -16px rgba(28,26,24,.20);
}
.format-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform 0.6s var(--ease);
}
.format-card:hover .format-card__bg { transform: scale(1.05); }

.format-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,26,24,0.1) 0%, rgba(28,26,24,0.7) 100%);
  z-index: 1;
}
.format-card__content {
  position: relative;
  z-index: 2;
}
.format-card__content a { transition: color 0.25s; }
.format-card__content a:hover { color: var(--gold-lt); text-decoration: none; }

.format-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-bottom: 8px;
  color: #fff;
}
.format-card__desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  font-weight: 300;
  max-width: 280px;
  min-height: 80px;
}
.format-card__top-tag {
  position: absolute;
  top: 24px;
  display: inline-block;
  margin-top: 0;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark);
  padding: 2px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,0.05);
}

@media (max-width: 860px) {
  .class-formats__grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .format-card { min-height: 340px; }
}
@media (max-width: 600px) {
  .format-card { padding: 24px 20px 20px; min-height: 300px; }
}

/* =====================================================
   SECTION 2: BENEFITS
===================================================== */
.benefits {
  padding-block: var(--section-gap);
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.benefits::before {
  content: '';
  position: absolute;
  right: -10%;
  top: -10%;
  width: 50%;
  height: 70%;
  background: radial-gradient(circle, rgba(200,163,106,.08), transparent 65%);
  pointer-events: none;
  filter: blur(50px);
}
.benefits .eyebrow { color: var(--gold); }
.benefits__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 80px;
  margin-top: 0px;
  position: relative;
  z-index: 1;
}
.benefits__heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 4.2vw, 52px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  margin-top: 14px;
}
.benefits__heading em { font-style: normal; color: var(--gold); }
.benefits__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,.80);
  line-height: 1.5;
}
.benefit-item:first-child { border-top: 1px solid rgba(255,255,255,.06); }
.benefit-item__icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(200,163,106,.12);
  border: 1px solid rgba(200,163,106,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--gold);
}
.benefit-item__icon img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

@media (max-width: 860px) {
  .benefits__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* =====================================================
   SECTION 3: PRICING
===================================================== */
.pricing {
  padding-block: var(--section-gap);
  background: var(--cream-mid);
}
.pricing__head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}
.pricing__head .section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 4.2vw, 52px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  margin-top: 14px;
  margin-bottom: 14px;
  color: var(--dark);
}
.pricing__head .section-title em { font-style: normal; color: var(--burgundy); }
.pricing__head .sub { font-weight: 300; }

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pricing-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px 28px;
  text-align: center;
  border: 1px solid var(--cream-border);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease), border-color 0.35s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(28,26,24,.08);
  border-color: var(--gold);
}
.pricing-card--featured {
  border-color: var(--burgundy);
  background: #fff;
  position: relative;
}
.pricing-card--featured::before {
  content: 'Best Value';
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--burgundy);
  color: #fff;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}
.pricing-card__name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--light-mid);
}
.pricing-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  color: var(--dark);
  margin: 6px 0 2px;
  letter-spacing: -0.02em;
}
.pricing-card__price small {
  font-size: 13px;
  font-weight: 400;
  color: var(--light-mid);
}
.pricing-card__note {
  font-size: 11px;
  color: var(--light-mid);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  font-weight: 300;
}

@media (max-width: 860px) {
  .pricing__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 540px) {
  .pricing__grid { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; }
}

/* =====================================================
   SECTION 4: COMMUNITY
===================================================== */
.community {
  padding-block: var(--section-gap);
  background: var(--cream);
}
.community__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.community__image {
  border-radius: var(--radius);
  overflow: hidden;
}
.community__image img {
  width: 100%;
  aspect-ratio: 5/5;
  object-fit: cover;
  display: block;
  transition: transform 1.4s var(--ease);
}
.community__image:hover img { transform: scale(1.04); }

.community__heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 4.2vw, 48px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  margin-top: 14px;
}
.community__heading em { font-style: normal; color: var(--burgundy); }
.community__body { margin-top: 18px; }

@media (max-width: 860px) {
  .community__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* =====================================================
   SECTION 5: GET IN TOUCH
===================================================== */
.get-in-touch {
  padding-block: var(--section-gap);
  background: var(--cream-mid);
}
.get-in-touch__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}
.get-in-touch__head {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.get-in-touch__heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 4.2vw, 52px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  margin-top: 14px;
}
.get-in-touch__heading em { font-style: normal; color: var(--burgundy); }
.get-in-touch__body {
  margin-top: 18px;
  max-width: 420px;
}
.get-in-touch__social {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.get-in-touch__map-social {
  display: flex;
  gap: 12px;
}
.get-in-touch__map-social a {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--dark);
  text-decoration: none;
  transition: .3s;
}
.get-in-touch__map-social a:hover {
  transform: translateY(-3px);
  border-color: var(--burgundy);
}
.get-in-touch__map-social a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.get-in-touch__map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  background: var(--cream-border);
  position: relative;
}
.get-in-touch__map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-border);
  color: var(--light-mid);
  font-size: 14px;
  flex-direction: column;
  gap: 8px;
}
.get-in-touch__map-header {
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}
.get-in-touch__map-brand h3 {
  margin: 0;
  font-family: var(--font-body);
  color: var(--burgundy);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.get-in-touch__map-brand p {
  color: var(--light-mid);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.get-in-touch__map-frame {
  width: 90%;
  height: 250px;
}
.get-in-touch__map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.get-in-touch__map-footer {
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(0,0,0,.08);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--light-mid);
}
.get-in-touch__map-footer p {
  letter-spacing: 0.06em;
}

@media (max-width: 860px) {
  .get-in-touch__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* =====================================================
   STICKY BOTTOM CTA (mobile)
===================================================== */
.sticky-bottom {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  display: none;
  background: var(--burgundy);
  color: #fff;
  padding: 15px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 18px 44px -12px rgba(80,15,30,.55);
  transform: translateY(120%);
  transition: transform 0.35s var(--ease-out);
  text-decoration: none;
}
.sticky-bottom.show { transform: none; }

/* =====================================================
   SCROLLBAR
===================================================== */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--burgundy); border-radius: 9px; border: 2px solid var(--cream); }
::-webkit-scrollbar-thumb:hover { background: var(--burgundy-dk); }
::selection { background: var(--burgundy); color: #fff; }

/* =====================================================
   RESPONSIVE GLOBAL
===================================================== */
@media (max-width: 600px) {
  :root {
    --section-gap: 72px;
    --pad-x: 20px;
  }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 320px; }
  .sticky-bottom { display: block; }
  body { padding-bottom: 76px; }
}