/*
 * Dance Amadis — Static Site CSS
 * All values sourced from Phase 4 CSS forensics of danceamadis.com
 * CSS bundles analyzed: kdgax25g, lybfur85 (Oxygen base), mav2c5ky (site-specific)
 * Updated: April 11, 2026 — matched to production computed styles via JS extraction
 */

/* =============================================
   1. GOOGLE FONTS IMPORT
   Sourced from: <link> in homepage <head>
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Martel+Sans:wght@100;200;300;400;500;600;700;800;900&family=Alegreya+Sans:wght@100;300;400;500;700;800;900&family=Qwigley&display=swap');

/* =============================================
   2. CSS RESET / BASE
   Sourced from: css2 (lybfur85) Oxygen base
   ============================================= */
*, *::before, *::after { box-sizing: border-box; }

html { line-height: 1.15; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  margin: 0;
  font-size: 16px;
  color: rgba(64, 64, 64, 1); /* #404040 — sourced from css2 body{color} */
  font-family: 'Martel Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: rgb(24, 7, 0);    /* dark bg eliminates white gaps between sections */
  overflow-x: hidden;                  /* prevent nav from creating horizontal scroll */
}

h1, h2, h3, h4, h5, h6 { margin: 0; }
figure { margin: 1em 40px; }
img { border-style: none; max-width: 100%; }
a { background-color: transparent; text-decoration: none; }

/* =============================================
   3. LAYOUT UTILITIES
   Sourced from: css2 Oxygen base
   Max-width: 1120px (sourced: all .ct-section-inner-wrap maxWidth computed = 1120px)
   ============================================= */
.ct-section-inner-wrap {
  margin-left: auto;
  margin-right: auto;
  height: 100%;
  max-width: 1120px;
  padding-left: 20px;
  padding-right: 20px;
}

/* =============================================
   4. HEADER
   Source: #section-10-4 {bg:#000, padding:30px 20px, maxWidth:1120px}
   Production: header overlays hero (transparent), turns opaque+sticky on scroll
   ============================================= */
.site-header {
  background-color: transparent;           /* transparent over hero on load */
  padding: 0;
  position: absolute;                      /* overlay hero, not push it down */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.5s ease;  /* smooth transition to opaque on scroll */
}

/* No sticky header on homepage — header scrolls away with the page (matches production) */

/* Internal pages — header overlays hero via negative margin (matches production) */
.site-header.header-opaque {
  position: relative;
  background-color: transparent;
  margin-bottom: -100px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;                       /* full viewport width — NOT constrained to 1120px */
  padding: 10px 20px;               /* 10px top+bottom + 80px logo = 100px total (matches production) */
}

.header-left {
  flex: 0 0 auto;                    /* logo takes its natural width */
  display: flex;
  align-items: center;
}

.header-right {
  flex: 1;                           /* takes all remaining space */
  display: flex;
  align-items: center;
  justify-content: flex-end;         /* everything pushed right */
  gap: 0;                            /* nav handles its own spacing */
}

.site-logo img { height: auto; max-height: 80px; }  /* larger logo — matches production */

/* =============================================
   5. NAVIGATION
   Source: css2 .oxy-nav-menu-* rules
   Computed: font-family Martel Sans, 12px, 400, white,
             padding 22px 24px, letter-spacing 1px, text-transform uppercase
   ============================================= */
.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  flex-wrap: nowrap;                  /* NEVER wrap — single line */
  white-space: nowrap;
}

.nav-menu li a {
  color: rgba(255, 255, 255, 0.7);   /* production: inactive links are 70% white */
  font-family: 'Martel Sans', sans-serif;
  font-size: 12px;            /* sourced: production computed 12px */
  font-weight: 400;
  text-decoration: none;
  padding: 22px 10px;         /* 10px horizontal — fits 9 items on desktop */
  letter-spacing: 1px;        /* sourced: computed 1px */
  text-transform: uppercase;  /* sourced: computed uppercase */
  border-style: solid;
  border-width: 0;
  border-color: transparent;
  transition-property: background-color, color, border-color;
  transition-timing-function: ease-in-out;
  transition-duration: 0.3s;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.nav-menu li a:hover,
.nav-menu li.current a {
  color: rgb(255, 255, 255);          /* active/hover: full white (production) */
  border-color: currentColor;
  border-top-width: 2px;              /* overline, not underline — matches production */
}

/* Social icons in header — inline after nav, horizontal */
.header-social {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-left: 10px;                 /* small gap after last nav link */
  flex-shrink: 0;
}
.header-social a {
  color: #ffffff;
  display: flex;
  align-items: center;
  font-size: 14px;
  width: 28px;
  height: 28px;
  justify-content: center;
}
.header-social a:hover { opacity: 0.8; }

/* =============================================
   6. HAMBURGER / MOBILE NAV
   Source: css2 .oxy-nav-menu-open, .oxy-menu-toggle
   ============================================= */
.hamburger { display: none; cursor: pointer; background: none; border: none; padding: 8px; }
.hamburger-line {
  display: block; width: 24px; height: 2px;
  background: #ffffff; margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.mobile-nav-overlay {
  display: none;
  position: fixed; top: 0; right: 0; left: 0; bottom: 0;
  background-color: #ffffff; /* sourced: css2 .oxy-nav-menu.oxy-nav-menu-open */
  z-index: 2147483642;
  align-items: center; justify-content: center; flex-direction: column;
  overflow: auto;
}
.mobile-nav-overlay.open { display: flex; }

.mobile-nav-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none; cursor: pointer; font-size: 28px; color: #000;
}

.mobile-nav-list {
  list-style: none; margin: 0; padding: 2em 0; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.mobile-nav-list li a {
  color: #000000; font-family: 'Martel Sans', sans-serif;
  font-size: 20px; padding: 12px 20px; display: block;
  text-align: center;
}

/* =============================================
   7. BUTTONS
   Source: Production computed styles — extracted via JS
   .btn-outline: transparent bg, white text, 1px border rgba(255,255,255,0.5)
               border-radius 100px, padding 18px 36px
               Alegreya Sans 18px/900, letter-spacing 2px
   .btn-primary: #13c5df bg, white text, no border
               same padding/radius/font
   ============================================= */
.btn-outline {
  color: #ffffff;
  background-color: transparent;
  border: 1px solid rgba(255,255,255,0.5); /* sourced: computed border */
  border-radius: 100px;                    /* sourced: computed borderRadius */
  padding: 18px 36px;                      /* sourced: computed padding */
  font-family: 'Alegreya Sans', sans-serif;/* sourced: computed fontFamily */
  font-size: 18px;                         /* sourced: computed fontSize */
  font-weight: 900;                        /* sourced: computed fontWeight */
  letter-spacing: 2px;                     /* sourced: computed letterSpacing */
  text-transform: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease-in-out;
}

.btn-outline:hover {
  color: #180700;
  background-color: #ffffff;
  border-color: rgba(255,255,255,0.5);
}

.btn-primary {
  color: #ffffff;
  background-color: #13c5df;              /* sourced: computed rgb(19,197,223) */
  border: none;
  border-radius: 100px;                   /* sourced: computed borderRadius */
  padding: 18px 36px;                     /* sourced: computed padding */
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease-in-out;
}
.btn-primary:hover { background-color: #0fb0c8; color: #ffffff; }

/* =============================================
   8. HERO SECTION
   Source: #section-2-19 computed styles
   height: 568px (not 100vh), bg: home-slide_rev.jpg cover 50% 0% fixed
   inner: padding 170px 20px 200px, maxWidth 1120px
   ============================================= */
.hero-section {
  background-image: url('../images/home-slide_rev.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 0%;              /* sourced: computed */
  background-color: #180700;                 /* fallback */
  min-height: 100vh;                         /* fill viewport — production hero fills the screen */
  overflow: hidden;                          /* sourced: computed */
  text-align: center;
  display: flex;
  align-items: center;                        /* vertically center content in 100vh hero */
  justify-content: center;
}

.hero-content {
  padding: 100px 20px 60px;     /* header is ~90px, content centered below it */
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1120px;             /* sourced: computed inner maxWidth */
}

/* H1 — sourced: #headline-3-19 {Alegreya Sans; 28px; weight:300; letter-spacing:12px; mb:30px} */
.hero-title {
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 28px;
  font-weight: 300;
  color: #ffffff;
  letter-spacing: 12px;        /* sourced: CLAUDE.md handoff says 12px */
  padding-left: 12px;          /* compensate letter-spacing on last char for visual centering */
  text-transform: uppercase;
  margin: 0 0 30px 0;
  -webkit-font-smoothing: antialiased;
}

/* PALM COAST row — sourced: #div_block-16-19 flex row centered, mb:10px */
.hero-location-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  margin-bottom: 10px;
  width: 100%;
  max-width: 1120px;
  gap: 0;                            /* no gap between line — text — wave */
}

/* Left line — sourced: #image-41-19 {width:320px; height:1px} */
.hero-left-line {
  flex: 1;                           /* stretch to fill available space */
  height: 1px;
  display: block;
  object-fit: contain;
  object-position: right center;     /* line grows from the right toward text */
}

/* PALM COAST — sourced: #text_block-18-19 {Martel Sans; 30px; weight:500; ls:20px; lh:1.1; mt:12px} */
.hero-location {
  font-family: 'Martel Sans', sans-serif;
  color: #ffffff;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 20px;
  line-height: 1.1;
  margin: 0;
  white-space: nowrap;
  padding: 0 18px;                   /* spacing between line and text */
}

/* Right wave — sourced: #image-22-19 {width:320px} */
.hero-right-wave {
  flex: 0 0 auto;                    /* natural size, no stretch */
  max-width: 320px;
  display: block;
}

/* "Dance Amadis" brand — sourced: #text_block-5-19 {font-size:240px, Qwigley} */
.hero-brand {
  font-family: 'Qwigley', cursive;
  font-size: clamp(80px, 18.75vw, 240px);
  color: #ffffff;
  line-height: 1;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* Tagline — sourced: #text_block-7-19 {ls:5px; weight:800; mb:30px; font:Martel Sans 18px} */
.hero-tagline {
  font-family: 'Martel Sans', sans-serif;
  color: #ffffff;
  font-size: 18px;              /* sourced: CLAUDE.md handoff */
  letter-spacing: 5px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 30px 0;
  max-width: 768px;
  -webkit-font-smoothing: antialiased;
}

/* CTA row — sourced: #div_block-10-19 {flex row center, mt:60px} */
.hero-ctas {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 60px;
  flex-wrap: wrap;
}

/* =============================================
   9. ABOUT / FEATURES SECTION ("Bringing Music to Motion")
   Source: #about-dance-amadis — bg #180700, height ~975px
   Inner padding: 75px 20px (from section inner wrap)
   Layout: web-banner (728x90) + two columns (648px / 432px)
   ============================================= */
.about-features-section {
  background-color: #180700;
  padding: 40px 20px 75px;
}

.about-features-inner {
  max-width: 1120px;
  margin: 0 auto;
}

/* Web banner image at top of section — left-aligned per production */
.web-banner {
  display: block;
  max-width: 728px;
  height: auto;
  margin: 0 0 40px;
}

/* Two-column layout: left 60% (features), right 40% (about + image) */
.about-features-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.about-features-left {
  flex: 0 0 60%;      /* ~648px of 1080px usable */
  max-width: 60%;
  padding-right: 32px;
}

.about-features-right {
  flex: 0 0 40%;      /* ~432px of 1080px usable */
  max-width: 40%;
  background-color: rgba(35, 26, 21, 0.6);
  border-radius: 12px;
  padding: 0 0 32px 0;
  overflow: hidden;
}

/* "Bringing Music to Motion" heading — Alegreya Sans 60px/900, ls:6px, left-aligned */
.about-features-heading {
  font-family: 'Alegreya Sans', sans-serif;
  font-size: clamp(36px, 5vw, 60px); /* 60px desktop, scales down */
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin: 0 0 8px 0;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  position: relative;
  z-index: 1;
}

/* "DANCE AMADIS" watermark — production: large faded text behind heading area */
.about-features-label {
  font-family: 'Alegreya Sans', sans-serif;
  color: rgb(47, 32, 26);
  font-size: 60px;
  font-weight: 900;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin: -50px 0 0 0;
  opacity: 1;
  line-height: 1;
  position: relative;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* Features 2x2 grid */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 24px;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.feature-item {
  flex: 1 1 45%;
  max-width: 48%;
  color: #ffffff;
}

/* Feature icons — production SVGs rendered as WebP, pink #ff668d */
.feature-icon {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  object-fit: contain;
}

.feature-item p {
  font-family: 'Martel Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #ffffff;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Right column about block */
.about-block-image {
  width: 100%;
  display: block;
  margin-bottom: 20px;
}

.about-block-title {
  font-family: 'Qwigley', cursive;
  font-size: 48px;              /* sourced: h3 "DANCE AMADIS" = Qwigley 48px/400 */
  font-weight: 400;
  color: #ffffff;
  margin: 0 0 16px 0;
  padding: 0 24px;
  -webkit-font-smoothing: antialiased;
}

.about-features-right .btn-outline {
  margin-left: 36px;
}

.about-block-body {
  font-family: 'Martel Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 24px;
  padding: 0 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-left: 36px;           /* sourced: #text_block-441-19 padding-left:36px */
  padding-right: 36px;
}

/* =============================================
   10. INSTRUCTORS CTA BAND
   Source: #section-42-19 — gradient + dance_tone_gradient.jpg
   Computed: padding 180px 40px, maxWidth 1120px, bg-size auto/cover
   H2: Qwigley 96px/500, center
   ============================================= */
.instructors-cta {
  background-image:
    linear-gradient(rgb(24, 7, 0), rgba(0, 0, 0, 0) 50%, rgb(24, 7, 0) 100%),
    url('../images/dance_tone_gradient.jpg');
  background-size: auto, cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-color: #180700;
  padding: 180px 40px;          /* sourced: computed inner padding */
  text-align: center;
  color: #ffffff;
}

.instructors-cta h2 {
  font-family: 'Qwigley', cursive; /* sourced: computed Qwigley */
  font-size: clamp(60px, 8vw, 96px); /* sourced: computed 96px */
  font-weight: 500;                   /* sourced: computed 500 (not 700) */
  text-transform: none;               /* Qwigley — no uppercase */
  letter-spacing: normal;
  margin-bottom: 16px;
  color: #ffffff;
}

/* Decorative waveform between heading and text */
.wave-center {
  display: block;
  margin: 0 auto 20px;
  max-width: 156px;
  height: auto;
  opacity: 0.9;
}

.instructors-cta p {
  font-family: 'Martel Sans', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #ffffff;
  max-width: 680px;
  margin: 0 auto 28px;
}

/* =============================================
   11. OUR CLASSES SECTION
   Source: #section-567-19 — wave-back bg, contain, 50% 0%
   Computed: padding 120px 20px, maxWidth 1120px, height ~1720px
   H2: Qwigley 96px/500, center
   Quote: inside this section (Martha Graham)
   ============================================= */
.classes-section {
  background-color: #180700;
  padding: 120px 20px;
  overflow: hidden;
}

.classes-section-header { text-align: center; margin-bottom: 48px; }
.classes-section-header h2 {
  font-family: 'Qwigley', cursive;   /* sourced: computed Qwigley */
  font-size: clamp(60px, 8vw, 96px); /* sourced: computed 96px */
  font-weight: 500;
  color: #ffffff;
  text-transform: none;
  letter-spacing: normal;
}

/* Timeline layout — [title+image | line+dot | text] centered */
.classes-timeline {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
}

/* Single vertical brown line — centered, z-index 2 so it renders ON TOP of dots */
.classes-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #2f201a;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-row {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: center;
  gap: 0;
  margin-bottom: 60px;
  position: relative;
}

.timeline-left {
  text-align: right;
  padding-right: 32px;
}

.class-number {
  font-family: 'Martel Sans', sans-serif;
  color: #2f201a;
  font-size: 98px;
  font-weight: 900;
  line-height: 0.9;
  margin: 0;
}

.class-title {
  font-family: 'Alegreya Sans', sans-serif;
  color: #ffffff;
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 16px 0;
}

.timeline-image {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  margin-left: auto;
  border-radius: 8px;
}

/* Brown timeline dot — large, z-index 1 so the line (z-index 2) passes over it */
.timeline-dot {
  width: 24px;
  height: 24px;
  background-color: #4a3830;
  border: 3px solid #5a4840;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  justify-self: center;
}

.timeline-right {
  padding-left: 32px;
}

.timeline-right p {
  font-family: 'Martel Sans', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #ffffff;
  margin: 0;
}

/* =============================================
   12. QUOTE SECTION (inside Classes or standalone)
   Source: Martha Graham quote — inside section-567-19 on prod
   ============================================= */
.quote-section {
  background-color: #180700;
  padding: 40px 20px;
  text-align: center;
  max-width: 1120px;
  margin: 40px auto 0;
}

.quote-text {
  font-family: 'Alegreya Sans', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-style: italic;
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto 12px;
  line-height: 1.6;
}

.quote-author {
  font-family: 'Martel Sans', sans-serif;
  font-size: 0.85rem;
  color: #a29b99;                    /* sourced: css3 secondary text */
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* =============================================
   13. PHILOSOPHY SECTION
   Source: #section-376-19 — bg #180700, no bg image
   Computed: padding 75px 20px, maxWidth 1120px
   Two columns: left text, right image (dance_amadis.jpg 392x392)
   H3: "Dance Philosophy" = Qwigley 72px/400
   H2: "ABOUT DANCE AMADIS" = Alegreya Sans 60px/900, ls:6px
   ============================================= */
.philosophy-section {
  background-color: #180700;
  padding: 75px 20px;
}

.philosophy-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

/* LEFT: card with image + title + body */
.philosophy-card {
  flex: 0 0 40%;
  max-width: 432px;
  background-color: rgba(35, 26, 21, 0.6);
  border-radius: 4px;
  overflow: hidden;
}

.philosophy-card-image {
  width: 100%;
  height: auto;
  display: block;
}

.philosophy-title {
  font-family: 'Qwigley', cursive;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 400;
  color: #ffffff;
  margin: 0;
  padding: 20px 24px 8px;
  -webkit-font-smoothing: antialiased;
}

.philosophy-card-body {
  font-family: 'Martel Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  padding: 0 24px 24px;
  margin: 0;
}

/* RIGHT: heading + watermark + quote + button */
.philosophy-text {
  flex: 1 1 0;
  position: relative;
}

.philosophy-heading {
  font-family: 'Alegreya Sans', sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin: 0 0 20px 0;
  line-height: 1.15;
  position: relative;
  z-index: 1;
  -webkit-font-smoothing: antialiased;
}

/* BALLROOM watermark behind the heading */
.philosophy-watermark {
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 100px;
  font-weight: 900;
  color: rgb(47, 32, 26);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin: -80px 0 0 0;
  line-height: 1;
  position: relative;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* Generic section body text */
.section-label {
  font-family: 'Martel Sans', sans-serif;
  color: #ff668d;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  -webkit-font-smoothing: antialiased;
}

.section-heading {
  font-family: 'Martel Sans', sans-serif;
  color: #ffffff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  -webkit-font-smoothing: antialiased;
}

.section-body {
  font-family: 'Martel Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =============================================
   14. CTA SECTION (Results Guaranteed)
   Source: #section-53-19 — footer-contact-img-wide.jpg
   Computed: bg-size auto 100%, bg-position 50% 50%, padding 180px 40px
   H2: Qwigley 96px/500, center
   ============================================= */
.cta-section {
  background-image: url('../images/footer-contact-img-wide.jpg');
  background-size: auto 100%;           /* sourced: computed (not cover) */
  background-position: 50% 50%;         /* sourced: computed */
  background-repeat: no-repeat;
  background-color: #180700;
  padding: 180px 40px;                  /* sourced: computed inner padding */
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Vignette overlay matching production dark-edge effect */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(24, 7, 0, 0.85) 100%);
  z-index: 1;
}

.cta-content { position: relative; z-index: 2; }

.cta-section h2 {
  font-family: 'Qwigley', cursive;       /* sourced: computed Qwigley */
  font-size: clamp(60px, 8vw, 96px);     /* sourced: computed 96px */
  font-weight: 500;
  color: #ffffff;
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 16px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.cta-section p {
  font-family: 'Martel Sans', sans-serif;
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 28px;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* =============================================
   15. FOOTER
   Source: #section-10-4 — bg #000, height 196px
   ============================================= */
.site-footer {
  background-color: #000000;
  padding: 40px 20px 24px;
  color: #ffffff;
}

.footer-inner {
  max-width: 1120px;                    /* sourced: 1120px */
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
}

.footer-logo img { max-height: 50px; height: auto; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.footer-nav a {
  color: #ffffff;
  font-family: 'Martel Sans', sans-serif;
  font-size: 13px;
  padding: 4px 8px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-nav a:hover { opacity: 0.7; }

.footer-social { display: flex; gap: 10px; }
.footer-social a { color: #ffffff; font-size: 18px; }
.footer-social a:hover { opacity: 0.7; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-family: 'Martel Sans', sans-serif;
  font-size: 12px;
  color: #a29b99;
}

.footer-bottom a { color: #a29b99; text-decoration: none; }

/* =============================================
   16. WAVE DECORATIONS
   Source: musicteacher.oxy.host images (downloaded locally)
   ============================================= */
.wave-decoration-left {
  display: block;
  width: 100%; max-width: 696px; height: 2px;
  background-image: url('../images/left-line@2x.png');
  background-size: contain; background-repeat: no-repeat;
  margin: 16px auto;
}

.wave-decoration-right {
  display: block;
  width: 100%; max-width: 696px; height: 80px;
  background-image: url('../images/right-wave@2x.png');
  background-size: contain; background-repeat: no-repeat;
  margin: 16px auto;
}

.wave-decoration-center {
  display: block;
  width: 100%; max-width: 392px; height: 80px;
  background-image: url('../images/wave-center@2x.png');
  background-size: contain; background-repeat: no-repeat;
  margin: 16px auto;
}

/* =============================================
   17. SOCIAL ICON COLORS
   Source: css3 social icon styles
   ============================================= */
.social-facebook { color: #3b5998; }
.social-facebook:hover { color: #5b79b8; }
.social-instagram { color: #c32aa3; }
.social-instagram:hover { color: #e34ac3; }
.social-twitter { color: #00b6f1; }
.social-twitter:hover { color: #20d6ff; }

/* =============================================
   18. FORM STYLES (Contact page)
   Source: css3 Gravity Forms overrides
   ============================================= */
.contact-form input,
.contact-form textarea,
.contact-form select {
  background-color: #180700;
  border: 1px solid #412D25;
  border-radius: 16px;
  color: #ffffff;
  font-family: 'Martel Sans', sans-serif;
  font-size: 16px;
  padding: 12px 16px;
  width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #ffffff;
  opacity: 0.6;
}

.contact-form textarea { min-height: 150px; resize: vertical; }

/* Hidden honeypot field */
.contact-form .hp-field { display: none !important; }

/* =============================================
   19. INTERNAL PAGE STYLES
   Generic dark-bg page sections for non-homepage pages
   ============================================= */
.page-section {
  background-color: #180700;
  padding: 80px 20px;
  color: #ffffff;
}

.page-section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.page-hero {
  background-color: #180700;
  padding: 100px 20px 60px;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Qwigley', cursive;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 16px;
}

.page-hero p {
  font-family: 'Martel Sans', sans-serif;
  font-size: 18px;
  color: #ffffff;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Content area */
.page-content {
  background-color: #180700;
  padding: 60px 20px;
}

.page-content-inner {
  max-width: 1120px;
  margin: 0 auto;
  color: #ffffff;
}

.page-content-inner h2 {
  font-family: 'Alegreya Sans', sans-serif;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.page-content-inner h3 {
  font-family: 'Martel Sans', sans-serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.page-content-inner p {
  font-family: 'Martel Sans', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-content-inner a { color: #13c5df; text-decoration: underline; }
.page-content-inner a:hover { color: #0fb0c8; }

.page-content-inner ul,
.page-content-inner ol {
  color: #ffffff;
  font-family: 'Martel Sans', sans-serif;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  padding-left: 24px;
}

/* Checklist items (Benefits page) */
.checklist-icon { color: #ff668d; margin-right: 8px; }
.checklist-text { color: #3b3c38; font-size: 18px; font-weight: 400; line-height: 1.4; }

/* Genre cards (Dance Genres page) */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.genre-card {
  background-color: rgba(255,255,255,0.05);
  padding: 24px;
  text-align: center;
  transition: transform 0.3s ease;
}

.genre-card:hover { transform: translateY(-4px); }

.genre-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}

.genre-card h3 {
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
  max-width: 1120px;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.3s;
}

.gallery-grid img:hover { opacity: 0.85; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.9);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }
.lightbox img { max-width: 90%; max-height: 90vh; }

.lightbox-close {
  position: absolute; top: 20px; right: 30px;
  color: #fff; font-size: 36px; cursor: pointer;
  background: none; border: none;
}

.lightbox-prev,
.lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: #fff; font-size: 36px; cursor: pointer;
  background: none; border: none; padding: 20px;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Video grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.video-card { background-color: rgba(255,255,255,0.05); overflow: hidden; }
.video-card .video-thumb {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  cursor: pointer;
  overflow: hidden;
}
.video-card .video-thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.video-card .video-thumb .play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px; background: rgba(0,0,0,0.7);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px;
}
.video-card h3 { padding: 16px; font-size: 16px; color: #ffffff; }

/* Blog listing */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1120px;
  margin: 0 auto;
}

.blog-card {
  background-color: rgba(255,255,255,0.05);
  padding: 32px;
}

.blog-card h3 {
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 24px; font-weight: 700; color: #ffffff;
  margin-bottom: 12px;
}

.blog-card p {
  font-family: 'Martel Sans', sans-serif;
  font-size: 16px; color: rgba(255,255,255,0.8);
  line-height: 1.6; margin-bottom: 16px;
}

.blog-card a.read-more { color: #13c5df; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }

/* Blog post / newsletter pages */
.blog-post-content {
  max-width: 800px;
  margin: 0 auto;
}

.blog-post-content img {
  width: 100%;
  height: auto;
  margin: 20px 0;
}

/* =============================================
   20. RESPONSIVE BREAKPOINTS
   Source: css3 breakpoints at 1120px, 991px, 767px, 479px
   ============================================= */
/* ── NAV COLLAPSE BREAKPOINT ──────────────────────────────
   At ≤1120px, 9 nav items can't fit across the header.
   Switch to hamburger — same overlay as the 767px mobile menu.
   ─────────────────────────────────────────────────────── */
@media (max-width: 1120px) {
  .nav-menu { display: none; }
  .header-social { display: none; }
  .hamburger { display: block; }
}

@media (max-width: 1120px) {
  .about-features-left { flex: 1 1 100%; max-width: 100%; padding-right: 0; }
  .about-features-right { flex: 1 1 100%; max-width: 100%; margin-top: 40px; }
  .philosophy-inner { flex-wrap: wrap; }
  .philosophy-card { flex: 1 1 100%; max-width: 100%; }
  .philosophy-text { flex: 1 1 100%; }
}

@media (max-width: 991px) {
  .philosophy-inner { flex-direction: column; }
  .timeline-row { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .timeline-left { text-align: center; padding-right: 0; }
  .timeline-image { margin: 0 auto; }
  .timeline-right { padding-left: 0; }
  .timeline-dot { display: none; }
  .classes-timeline::before { display: none; }
  .about-features-columns { flex-direction: column; }
}

@media (max-width: 767px) {
  /* Header — hamburger already triggered at ≤1120px; these are retained for specificity */
  .header-inner { flex-wrap: nowrap; }
  .header-left { flex: 0 0 auto; padding: 12px 0; }
  .header-right { flex: 1; justify-content: flex-end; }

  /* Hero — header is absolute, so hero padding-top must clear it on mobile too */
  .hero-section { min-height: auto; }
  .hero-content { padding: 120px 20px 80px; }
  .hero-title { font-size: 20px; margin-bottom: 18px; letter-spacing: 6px; padding-left: 6px; }
  .hero-left-line { flex: 1; max-width: 60px; }
  .hero-right-wave { max-width: 60px; }
  .hero-location { font-size: 18px; letter-spacing: 8px; }
  .hero-tagline { font-size: 14px; letter-spacing: 3px; }
  .hero-ctas { flex-direction: column; margin-top: 24px; }

  /* About/Features */
  .about-features-section { padding: 40px 20px; }
  .features-grid { flex-direction: column; }
  .feature-item { max-width: 100%; flex: 1 1 100%; }
  .about-block-body { padding-left: 0; padding-right: 0; }

  /* Instructors */
  .instructors-cta { padding: 80px 20px; }

  /* Classes */
  .classes-section { padding: 60px 20px; }

  /* Philosophy */
  .philosophy-section { padding: 40px 20px; }
  .philosophy-text { max-width: 100%; }

  /* CTA */
  .cta-section { padding: 80px 20px; }

  /* Buttons - slightly smaller on mobile */
  .btn-outline, .btn-primary { padding: 14px 28px; font-size: 16px; }

  /* Footer */
  .footer-top { flex-direction: column; align-items: center; text-align: center; }
  .footer-nav { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* =============================================
   21. BACK-TO-TOP BUTTON
   Source: Production — position fixed, transition 200ms linear
   border: #cccccc, icon: #1f2029, bg: white
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  cursor: pointer;
  background: #ffffff;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  padding: 0;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 200ms linear, transform 200ms linear;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top svg { display: block; }

/* =============================================
   22. SMOOTH SCROLL (html)
   ============================================= */
html { scroll-behavior: smooth; }

@media (max-width: 479px) {
  .hero-content { padding: 80px 16px 60px; }
  .cta-section { padding: 60px 20px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
}
