/* ============================================================
   VADENZA MUSIC SCHOOL — Brand Stylesheet
   Palette: Ivory / Champagne Gold / Charcoal / Warm Taupe
   Fonts: Cormorant Garamond (display) + Montserrat (body)
   ============================================================ */

:root {
  --ivory: #F8F5F0;
  --ivory-soft: #FBF9F5;
  --champagne: #C8A96B;
  --champagne-dark: #A88A4F;
  --champagne-light: #E0CCA0;
  --charcoal: #2E2E2E;
  --charcoal-soft: #4A4A4A;
  --taupe: #B9A99A;
  --taupe-light: #D9CFC4;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 12px rgba(46, 46, 46, 0.06);
  --shadow-md: 0 12px 36px rgba(46, 46, 46, 0.08);
  --shadow-lg: 0 24px 64px rgba(46, 46, 46, 0.12);
  --transition: 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition-fast: 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
  --max-width: 1280px;
  --content-width: 1080px;
}

/* ------ Reset ------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--ivory);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ------ Typography ------ */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--charcoal);
  line-height: 1.2;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 300; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 300; }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: 1.5rem; }
p { font-size: 1.0625rem; color: var(--charcoal-soft); }
.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--champagne-dark);
  display: inline-block;
  margin-bottom: 1.25rem;
}
.script {
  font-family: 'Italianno', 'Allura', cursive;
  font-weight: 400;
  color: var(--champagne-dark);
  letter-spacing: 0.02em;
}
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem auto;
  max-width: 120px;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--champagne));
}
.divider::after { background: linear-gradient(to left, transparent, var(--champagne)); }
.divider-icon {
  color: var(--champagne);
  font-size: 0.875rem;
}

/* ------ Layout ------ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: var(--content-width); margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; position: relative; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header p { max-width: 600px; margin: 1.25rem auto 0; }

/* ------ Header / Nav ------ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(248, 245, 240, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.site-header.scrolled {
  background: rgba(248, 245, 240, 0.96);
  border-bottom-color: rgba(200, 169, 107, 0.15);
  box-shadow: var(--shadow-sm);
}
.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.brand-name {
  font-family: 'Italianno', cursive;
  font-size: 2.25rem;
  color: var(--charcoal);
  letter-spacing: 0;
}
.brand-sub {
  font-size: 0.6875rem;
  letter-spacing: 0.4em;
  color: var(--champagne-dark);
  text-transform: uppercase;
  margin-top: -4px;
}
.nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  white-space: nowrap;
}
.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--charcoal);
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 1px;
  background: var(--champagne);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--champagne-dark); }
.nav-cta {
  padding: 0.65rem 1.25rem !important;
  border: 1px solid var(--champagne);
  border-radius: 2px;
  letter-spacing: 0.18em !important;
  color: var(--champagne-dark) !important;
}
.nav-cta:hover {
  background: var(--champagne);
  color: var(--white) !important;
}
.nav-cta::after { display: none; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--charcoal);
  transition: all var(--transition-fast);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }

/* ------ Buttons ------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.125rem 2.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--champagne);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--champagne-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(168, 138, 79, 0.25);
}
.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
}
.btn-outline:hover {
  background: var(--charcoal);
  color: var(--ivory);
}
.btn-ghost {
  background: transparent;
  color: var(--champagne-dark);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--champagne);
  border-radius: 0;
}
.btn-ghost:hover { color: var(--charcoal); border-bottom-color: var(--charcoal); }
.btn .arrow { transition: transform var(--transition-fast); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ------ Hero ------ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 0 4rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(200, 169, 107, 0.08), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(185, 169, 154, 0.06), transparent 50%),
    var(--ivory);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.hero-content { max-width: 540px; }
.hero h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.75rem, 5.5vw, 4.75rem);
}
.hero h1 em {
  font-family: 'Italianno', cursive;
  font-style: normal;
  color: var(--champagne-dark);
  font-weight: 400;
  display: inline-block;
  font-size: 1.15em;
  line-height: 0.7;
}
.hero p.lede {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  color: var(--charcoal-soft);
}
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(200, 169, 107, 0.12), rgba(46, 46, 46, 0.04)),
    var(--taupe-light);
  box-shadow: var(--shadow-lg);
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 60%);
}
.hero-visual .placeholder-piano {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Italianno', cursive;
  font-size: 4rem;
  color: rgba(46, 46, 46, 0.25);
}
.hero-frame {
  position: absolute;
  border: 1px solid var(--champagne);
  border-radius: 4px;
  inset: -20px -20px 20px 20px;
  z-index: -1;
  opacity: 0.6;
}

/* Decorative scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--champagne-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.scroll-cue::after {
  content: '';
  width: 1px; height: 40px;
  background: var(--champagne);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(0.3); transform-origin: top; opacity: 0.4; }
}

/* ------ Cards / Features ------ */
.grid {
  display: grid;
  gap: 2rem;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--ivory-soft);
  padding: 3rem 2.5rem;
  border-radius: 4px;
  border: 1px solid rgba(200, 169, 107, 0.15);
  transition: all var(--transition);
  position: relative;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 169, 107, 0.4);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--champagne);
  border-radius: 50%;
  color: var(--champagne-dark);
  margin-bottom: 1.75rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
}
.card h3 { margin-bottom: 1rem; }
.card p { font-size: 1rem; }

/* ------ Pricing Tables ------ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.price-card {
  background: var(--white);
  border: 1px solid rgba(200, 169, 107, 0.2);
  border-radius: 4px;
  padding: 3.5rem 3rem;
  position: relative;
  transition: all var(--transition);
}
.price-card.featured {
  border: 1px solid var(--champagne);
  box-shadow: var(--shadow-md);
}
.price-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--champagne);
  color: var(--white);
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  padding: 0.4rem 1rem;
  border-radius: 2px;
}
.price-card h3 { margin-bottom: 0.5rem; }
.price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 2rem 0;
  font-family: 'Cormorant Garamond', serif;
}
.price-currency { font-size: 1.5rem; color: var(--champagne-dark); }
.price-amount { font-size: 3.5rem; font-weight: 300; color: var(--charcoal); line-height: 1; }
.price-unit { font-size: 0.875rem; color: var(--charcoal-soft); letter-spacing: 0.05em; font-family: 'Montserrat', sans-serif; }
.price-features {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--charcoal-soft);
}
.price-features li::before {
  content: '✦';
  color: var(--champagne);
  font-size: 0.75rem;
  margin-top: 0.4rem;
}

/* ------ Split content ------ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.split.reverse .split-text { order: 2; }
.split-visual {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--taupe-light), var(--champagne-light));
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.split-visual.tall { aspect-ratio: 3 / 4; }
.split-visual .placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Italianno', cursive;
  font-size: 3rem;
  color: rgba(46, 46, 46, 0.3);
}

/* ------ Forms ------ */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 640px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.field label {
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 500;
}
.field input, .field textarea, .field select {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid rgba(46, 46, 46, 0.15);
  border-radius: 2px;
  color: var(--charcoal);
  transition: border var(--transition-fast), box-shadow var(--transition-fast);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--champagne);
  box-shadow: 0 0 0 3px rgba(200, 169, 107, 0.12);
}

/* ------ Testimonials ------ */
.testimonial {
  background: var(--ivory-soft);
  padding: 3rem;
  border-radius: 4px;
  border-left: 2px solid var(--champagne);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px; left: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 7rem;
  color: var(--champagne);
  line-height: 1;
  opacity: 0.3;
}
.testimonial p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}
.testimonial-author {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--champagne-dark);
}

/* ------ Gallery ------ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--taupe-light), var(--champagne-light));
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform var(--transition);
}
.gallery-item:nth-child(odd) {
  background: linear-gradient(135deg, var(--champagne-light), var(--taupe-light));
}
.gallery-item.tall { aspect-ratio: 3 / 4; grid-row: span 1; }
.gallery-item:hover { transform: scale(1.02); }
.gallery-item .placeholder-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Italianno', cursive;
  font-size: 2rem;
  color: rgba(46, 46, 46, 0.3);
}

/* ------ Banner CTA ------ */
.banner-cta {
  background: var(--charcoal);
  color: var(--ivory);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.banner-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(200, 169, 107, 0.18), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(200, 169, 107, 0.1), transparent 50%);
}
.banner-cta > * { position: relative; }
.banner-cta h2 {
  color: var(--ivory);
  margin-bottom: 1rem;
  max-width: 700px;
  margin-inline: auto;
}
.banner-cta h2 em {
  font-family: 'Italianno', cursive;
  font-style: normal;
  color: var(--champagne-light);
  font-size: 1.15em;
}
.banner-cta p {
  color: var(--taupe-light);
  max-width: 540px;
  margin: 0 auto 2.5rem;
}
.banner-cta .btn-primary { background: var(--champagne); }
.banner-cta .btn-outline {
  color: var(--ivory);
  border-color: var(--ivory);
}
.banner-cta .btn-outline:hover {
  background: var(--ivory);
  color: var(--charcoal);
}

/* ------ Footer ------ */
.site-footer {
  background: var(--ivory-soft);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(200, 169, 107, 0.15);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a {
  font-size: 0.9375rem;
  color: var(--charcoal-soft);
}
.footer-col a:hover { color: var(--champagne-dark); }
.footer-brand .brand-name { font-size: 2.5rem; }
.footer-brand p {
  font-size: 0.9375rem;
  margin-top: 1rem;
  max-width: 320px;
}
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(200, 169, 107, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--charcoal-soft);
  letter-spacing: 0.05em;
  flex-wrap: wrap;
  gap: 1rem;
}
.social-links {
  display: flex; gap: 1rem;
}
.social-links a {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(200, 169, 107, 0.4);
  border-radius: 50%;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}
.social-links a:hover {
  background: var(--champagne);
  color: var(--white);
  border-color: var(--champagne);
}

/* ------ Page hero (interior pages) ------ */
.page-hero {
  padding: 12rem 0 5rem;
  background:
    radial-gradient(circle at 70% 30%, rgba(200, 169, 107, 0.08), transparent 60%),
    var(--ivory);
  text-align: center;
}
.page-hero .eyebrow { margin-bottom: 0.5rem; }
.page-hero h1 { margin-bottom: 1.5rem; }
.page-hero p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.0625rem;
}

/* ------ List styled ------ */
.styled-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.styled-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1rem;
  color: var(--charcoal-soft);
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(200, 169, 107, 0.15);
}
.styled-list li:last-child { border-bottom: none; }
.styled-list li::before {
  content: '✦';
  color: var(--champagne);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* ------ Info row (contact) ------ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
.info-item {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid rgba(200, 169, 107, 0.2);
  border-radius: 4px;
  background: var(--ivory-soft);
}
.info-item .eyebrow { margin-bottom: 0.75rem; }
.info-item h4 {
  font-size: 1.125rem;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.info-item p { font-size: 0.95rem; }

/* ------ Animations ------ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Floating musical notes (top-right, scroll-reactive) */
.scroll-notes {
  position: fixed;
  top: 110px;
  right: 28px;
  pointer-events: none;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 44px;
  align-items: center;
}
.scroll-notes .note {
  display: inline-block;
  color: var(--champagne);
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  opacity: 0.55;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.7s ease;
  transform-origin: center;
  will-change: transform, opacity;
  line-height: 1;
  user-select: none;
}
.scroll-notes .note:nth-child(1) { font-size: 18px; align-self: flex-start; }
.scroll-notes .note:nth-child(2) { font-size: 13px; align-self: flex-end; }
.scroll-notes .note:nth-child(3) { font-size: 22px; align-self: center; }
.scroll-notes .note:nth-child(4) { font-size: 11px; align-self: flex-start; margin-left: -4px; }
.scroll-notes .note:nth-child(5) { font-size: 16px; align-self: flex-end; }

/* Tablet: tuck notes under the nav, slightly smaller, away from hamburger */
@media (max-width: 1100px) {
  .scroll-notes {
    top: 90px;
    right: 16px;
    width: 36px;
    gap: 10px;
  }
  .scroll-notes .note:nth-child(1) { font-size: 14px; }
  .scroll-notes .note:nth-child(2) { font-size: 11px; }
  .scroll-notes .note:nth-child(3) { font-size: 18px; }
  .scroll-notes .note:nth-child(4) { font-size: 10px; }
  .scroll-notes .note:nth-child(5) { font-size: 13px; }
}

/* Mobile: even smaller, sit just below the nav, hide the 5th note */
@media (max-width: 768px) {
  .scroll-notes {
    top: 78px;
    right: 10px;
    width: 28px;
    gap: 8px;
  }
  .scroll-notes .note:nth-child(1) { font-size: 12px; }
  .scroll-notes .note:nth-child(2) { font-size: 10px; }
  .scroll-notes .note:nth-child(3) { font-size: 15px; }
  .scroll-notes .note:nth-child(4) { font-size: 9px; }
  .scroll-notes .note:nth-child(5) { display: none; }
}

/* When mobile nav drawer is open, hide notes so they don't poke through */
body.nav-open .scroll-notes { display: none; }

/* Page transition overlay */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--ivory);
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.page-transition.show {
  opacity: 1;
  pointer-events: all;
}

body.loading { overflow: hidden; }
body { animation: fadeInPage 1s ease forwards; }
@keyframes fadeInPage {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ------ Responsive ------ */
@media (max-width: 1100px) {
  /* Switch to mobile hamburger on smaller laptops so the nav never crams */
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--ivory);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 1.75rem;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
    box-shadow: var(--shadow-lg);
    white-space: normal;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 0.9375rem; letter-spacing: 0.16em; }
  .nav-toggle { display: flex; }
  .nav-cta {
    padding: 0.75rem 1.25rem !important;
    align-self: flex-start;
  }
}
@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner, .split { grid-template-columns: 1fr; gap: 3rem; }
  .split.reverse .split-text { order: 0; }
  .split-visual { max-width: 480px; margin: 0 auto; width: 100%; }
}
@media (max-width: 768px) {
  section { padding: 4rem 0; }
  .container, .container-narrow, .nav-wrap { padding: 0 1.25rem; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .info-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .price-card { padding: 2.5rem 2rem; }
  .testimonial { padding: 2rem; }
  .testimonial p { font-size: 1.0625rem; }
  .page-hero { padding: 9rem 0 3rem; }
  .btn-group .btn { width: 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
