/*
Theme Name: SMG Theme
Author: You
Version: 1.0
*/


/* ============================================================
   SAINZ MUSIC GROUP — Design Tokens
   Color:  #FAF8F4 ivory bg · #0B1426 deep navy · #1B2C4A navy-light
           #D4AF37 antique gold · #3D4F6B muted navy-slate · #E8E2D5 card
   Type:   Fraunces (display) · Inter (body) · JetBrains Mono (data)
   ============================================================ */

:root{
  --ivory:        #FAF8F4;
  --ivory-deep:    #F3EFE6;
  --navy:          #0B1426;
  --navy-light:    #1B2C4A;
  --navy-slate:    #3D4F6B;
  --gold:          #C8972B;
  --gold-light:    #D4AF37;
  --gold-pale:     #E8D9AE;
  --card:          #EFEAE0;
  --line:          rgba(11,20,38,0.12);
  --line-gold:     rgba(200,151,43,0.35);

  --font-display:  'Fraunces', 'Georgia', serif;
  --font-body:     'Inter', -apple-system, sans-serif;
  --font-mono:     'JetBrains Mono', monospace;

  --max-width:     1240px;
  --radius:        2px;

  --ease:          cubic-bezier(0.16, 1, 0.3, 1);
}

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

html{ scroll-behavior:smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
}

body{
  font-family:var(--font-body);
  background:var(--ivory);
  color:var(--navy);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

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

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

ul, ol{ list-style:none; }

button{ font-family:inherit; cursor:pointer; border:none; background:none; }

input, select, textarea{ font-family:inherit; font-size:1rem; }

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

/* ============================================================
   GRAIN OVERLAY — subtle premium texture
   ============================================================ */
.grain-overlay{
  position:fixed; inset:0; pointer-events:none; z-index:9999;
  opacity:0.025; mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   TYPE SCALE
   ============================================================ */
h1, h2, h3{
  font-family:var(--font-display);
  font-weight:600;
  letter-spacing:-0.01em;
  color:var(--navy);
}

h2{ font-size:clamp(2rem, 1.4rem + 2.4vw, 3.1rem); line-height:1.12; font-weight:500; }
h3{ font-size:1.2rem; font-weight:600; margin-bottom:0.4rem; }

p{ color:var(--navy-slate); }

.eyebrow{
  display:inline-flex; align-items:center; gap:0.5rem;
  font-family:var(--font-mono);
  font-size:0.72rem;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:1.1rem;
  font-weight:500;
}
.eyebrow-dot{
  width:6px; height:6px; border-radius:50%;
  background:var(--gold-light);
  display:inline-block;
}
.eyebrow-light{ color:var(--gold-light); }

.section-head{ max-width:640px; margin-bottom:3.5rem; }
.section-head h2{ margin-top:0.2rem; }
.section-head-light .eyebrow{ color:var(--gold-light); }

.section-inner{
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 2.5rem;
}

section{ position:relative; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:0.95rem 2.1rem;
  font-size:0.92rem;
  font-weight:600;
  letter-spacing:0.01em;
  border-radius:var(--radius);
  transition:transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  white-space:nowrap;
}
.btn-primary{
  background:var(--navy);
  color:var(--ivory);
  box-shadow:0 1px 0 rgba(212,175,55,0.4) inset;
}
.btn-primary:hover{
  background:var(--gold-light);
  color:var(--navy);
  transform:translateY(-2px);
  box-shadow:0 12px 24px -10px rgba(200,151,43,0.55);
}
.btn-ghost{
  background:transparent;
  color:var(--navy);
  border:1px solid var(--line);
}
.btn-ghost:hover{
  border-color:var(--navy);
  transform:translateY(-2px);
}
.btn:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background:rgba(250,248,244,0.0);
  border-bottom:1px solid rgba(11,20,38,0);
  transition:background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.site-header.scrolled{
  background:rgba(250,248,244,0.85);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  max-width:var(--max-width);
  margin:0 auto;
  padding:1.4rem 2.5rem;
  display:flex; align-items:center; justify-content:space-between;
}

.logo-mark{ display:flex; align-items:center; gap:0.7rem; }
.logo-glyph{
  font-family:var(--font-display);
  font-size:1.5rem; font-weight:600;
  width:38px; height:38px;
  display:flex; align-items:center; justify-content:center;
  background:var(--navy); color:var(--gold-light);
  border-radius:50%;
  flex-shrink:0;
}
.logo-text{
  font-family:var(--font-display);
  font-size:1.05rem; font-weight:600; letter-spacing:0.04em;
  color:var(--navy);
  display:flex; flex-direction:column; line-height:1.15;
}
.logo-sub{
  font-family:var(--font-mono);
  font-size:0.56rem; font-weight:500; letter-spacing:0.18em;
  color:var(--navy-slate); text-transform:uppercase;
}

.main-nav{ display:flex; align-items:center; gap:2.1rem; }
.main-nav a{
  font-size:0.9rem; font-weight:500; color:var(--navy-slate);
  position:relative; transition:color 0.25s var(--ease);
}
.main-nav a:not(.nav-cta)::after{
  content:''; position:absolute; left:0; right:0; bottom:-6px; height:1px;
  background:var(--gold); transform:scaleX(0); transform-origin:left;
  transition:transform 0.3s var(--ease);
}
.main-nav a:not(.nav-cta):hover{ color:var(--navy); }
.main-nav a:not(.nav-cta):hover::after{ transform:scaleX(1); }

.nav-cta{
  padding:0.6rem 1.3rem;
  background:var(--navy); color:var(--ivory) !important;
  border-radius:var(--radius);
  transition:background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav-cta:hover{ background:var(--gold-light); color:var(--navy) !important; transform:translateY(-2px); }

.nav-toggle{
  display:none; flex-direction:column; gap:5px; width:28px;
}
.nav-toggle span{
  display:block; height:2px; width:100%; background:var(--navy);
  transition:transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative;
  min-height:100vh;
  display:flex; align-items:center;
  padding:8rem 0 4rem;
  background:linear-gradient(180deg, var(--ivory) 0%, var(--ivory) 70%, var(--ivory-deep) 100%);
  overflow:hidden;
}
.hero-bg{ position:absolute; inset:0; z-index:0; }
.hero-waveform{
  position:absolute; bottom:0; left:0; width:100%; height:46%;
  opacity:0.9;
}
#waveformPath{
  fill:none; stroke:var(--navy); stroke-width:1.4; opacity:0.13;
}
.hero-grid-lines{
  position:absolute; inset:0;
  background-image:
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size:80px 100%;
  opacity:0.35;
  mask-image:linear-gradient(180deg, transparent, rgba(0,0,0,0.5) 60%, transparent);
}

.hero-inner{
  position:relative; z-index:1;
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 2.5rem;
  max-width:780px;
}
.hero-eyebrow{ opacity:0; animation:fadeUp 0.8s var(--ease) 0.1s forwards; }
.hero-heading{
  font-size:clamp(2.6rem, 1.6rem + 4.6vw, 4.6rem);
  line-height:1.06;
  font-weight:500;
  margin-bottom:1.6rem;
  opacity:0; animation:fadeUp 0.9s var(--ease) 0.25s forwards;
}
.hero-heading em{
  font-style:italic; color:var(--gold);
  font-weight:500;
}
.hero-sub{
  font-size:1.18rem;
  max-width:600px;
  margin-bottom:2.4rem;
  color:var(--navy-slate);
  opacity:0; animation:fadeUp 0.9s var(--ease) 0.4s forwards;
}
.hero-actions{
  display:flex; gap:1rem; flex-wrap:wrap;
  opacity:0; animation:fadeUp 0.9s var(--ease) 0.55s forwards;
}

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

.hero-scroll-cue{
  position:absolute; bottom:2.4rem; left:2.5rem; z-index:1;
  display:flex; flex-direction:column; align-items:center; gap:0.6rem;
  opacity:0; animation:fadeUp 0.9s var(--ease) 0.9s forwards;
}
.hero-scroll-cue span{
  font-family:var(--font-mono); font-size:0.65rem; letter-spacing:0.14em;
  color:var(--navy-slate); text-transform:uppercase;
  writing-mode:vertical-rl;
}
.scroll-line{
  width:1px; height:46px; background:linear-gradient(180deg, var(--gold), transparent);
  animation:scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse{
  0%, 100%{ opacity:0.3; } 50%{ opacity:1; }
}

@media (max-width:760px){
  .hero-scroll-cue{ display:none; }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar{
  background:var(--navy);
  padding:3.2rem 0;
}
.stats-inner{
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 2.5rem;
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:2rem;
}
.stat-item{ display:flex; flex-direction:column; gap:0.3rem; flex:1; min-width:140px; }
.stat-number{
  font-family:var(--font-mono);
  font-size:2.4rem; font-weight:500;
  color:var(--gold-light);
  letter-spacing:-0.02em;
}
.stat-label{
  font-size:0.82rem; color:rgba(250,248,244,0.65);
  letter-spacing:0.02em;
}
.stat-divider{ width:1px; height:48px; background:rgba(250,248,244,0.15); }
@media (max-width:760px){ .stat-divider{ display:none; } }

/* ============================================================
   ABOUT
   ============================================================ */
.about{ padding:7rem 0; }
.about-grid{
  display:grid; grid-template-columns:0.85fr 1.15fr; gap:5rem; align-items:start;
}
.about-frame{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 30px 60px -25px rgba(11,20,38,0.35);
}
.about-graphic{ width:100%; height:auto; display:block; }
.about-frame-label{
  position:absolute; bottom:1.4rem; left:1.4rem;
  font-family:var(--font-mono); font-size:0.72rem; letter-spacing:0.1em;
  color:rgba(250,248,244,0.75); text-transform:uppercase;
}
.about-frame-label span{ color:var(--gold-light); font-weight:600; }

.about-content h2{ margin-bottom:1.4rem; }
.about-lead{
  font-size:1.15rem; color:var(--navy);
  margin-bottom:1.2rem;
}
.about-content > p:not(.about-lead){ margin-bottom:2.2rem; }

.about-points{ display:flex; flex-direction:column; gap:1.8rem; }
.about-points li{ display:flex; gap:1.4rem; align-items:flex-start; }
.point-mark{
  font-family:var(--font-mono); font-size:0.8rem; color:var(--gold);
  border:1px solid var(--line-gold); border-radius:50%;
  width:32px; height:32px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
}
.about-points h3{ font-size:1.05rem; margin-bottom:0.3rem; }
.about-points p{ font-size:0.94rem; }

@media (max-width:900px){
  .about-grid{ grid-template-columns:1fr; gap:3rem; }
  .about-frame{ max-width:380px; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services{ padding:7rem 0; background:var(--ivory-deep); }
.services-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:1.6rem;
}
.service-card{
  background:var(--ivory);
  border:1px solid var(--line);
  padding:2.4rem 2rem;
  border-radius:var(--radius);
  transition:transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.service-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 48px -24px rgba(11,20,38,0.18);
  border-color:var(--line-gold);
}
.service-icon{
  width:46px; height:46px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:1.4rem;
  color:var(--gold);
}
.service-icon svg{ width:100%; height:100%; }
.service-card h3{ font-size:1.1rem; }
.service-card p{ font-size:0.92rem; }

@media (max-width:900px){ .services-grid{ grid-template-columns:repeat(2, 1fr); } }
@media (max-width:620px){ .services-grid{ grid-template-columns:1fr; } }

/* ============================================================
   PROCESS
   ============================================================ */
.process{
  padding:7rem 0;
  background:var(--navy);
  color:var(--ivory);
}
.process h2{ color:var(--ivory); }
.process-steps{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:1.6rem;
  counter-reset:none;
}
.process-step{
  position:relative;
  padding:1.8rem 1.6rem 1.6rem;
  border-top:1px solid rgba(250,248,244,0.18);
}
.process-num{
  display:block;
  font-family:var(--font-mono); font-size:0.85rem; color:var(--gold-light);
  margin-bottom:1rem;
}
.process-step h3{ color:var(--ivory); font-size:1.05rem; }
.process-step p{ color:rgba(250,248,244,0.62); font-size:0.92rem; }

@media (max-width:900px){ .process-steps{ grid-template-columns:repeat(2, 1fr); } }
@media (max-width:560px){ .process-steps{ grid-template-columns:1fr; } }

/* ============================================================
   PARTNERS / MARQUEE
   ============================================================ */
.partners{ padding:4.5rem 0; background:var(--ivory); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.partners-eyebrow{ display:flex; justify-content:center; text-align:center; width:100%; margin-bottom:2.2rem; }
.partners-marquee{ overflow:hidden; position:relative; }
.partners-marquee::before, .partners-marquee::after{
  content:''; position:absolute; top:0; bottom:0; width:80px; z-index:2;
}
.partners-marquee::before{ left:0; background:linear-gradient(90deg, var(--ivory), transparent); }
.partners-marquee::after{ right:0; background:linear-gradient(270deg, var(--ivory), transparent); }
.marquee-track{
  display:flex; gap:4rem; width:max-content;
  animation:marquee 38s linear infinite;
}
.marquee-track span{
  font-family:var(--font-display); font-size:1.5rem; font-weight:500;
  color:var(--navy-slate); opacity:0.55; white-space:nowrap;
  transition:opacity 0.3s var(--ease), color 0.3s var(--ease);
}
.marquee-track span:hover{ opacity:1; color:var(--navy); }
@keyframes marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ============================================================
   ROSTER / CASE STUDY
   ============================================================ */
.roster{ padding:7rem 0; }
.case-study{
  display:grid; grid-template-columns:1.3fr 1fr; gap:0;
  background:var(--navy);
  border-radius:var(--radius);
  overflow:hidden;
}
.case-content{
  padding:3.5rem;
  position:relative;
}
.case-quote-mark{
  font-family:var(--font-display);
  font-size:4.5rem; color:var(--gold-light); opacity:0.35;
  line-height:1; margin-bottom:-1rem;
}
.case-text{
  font-family:var(--font-display);
  font-size:1.5rem; font-weight:400; font-style:italic;
  color:var(--ivory); line-height:1.4; margin-bottom:1.6rem;
}
.case-attribution{
  font-family:var(--font-mono); font-size:0.78rem;
  color:rgba(250,248,244,0.6); letter-spacing:0.02em;
}
.case-metrics{
  background:var(--navy-light);
  display:flex; flex-direction:column; justify-content:center;
  padding:3.5rem 2.5rem;
  gap:1.8rem;
}
.metric{ display:flex; flex-direction:column; gap:0.2rem; }
.metric-number{
  font-family:var(--font-mono); font-size:2.1rem; font-weight:500;
  color:var(--gold-light);
}
.metric-label{ font-size:0.82rem; color:rgba(250,248,244,0.6); }

@media (max-width:820px){
  .case-study{ grid-template-columns:1fr; }
  .case-content{ padding:2.6rem; }
  .case-text{ font-size:1.25rem; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq{ padding:7rem 0; background:var(--ivory-deep); }
.faq-grid{
  display:grid; grid-template-columns:0.8fr 1.2fr; gap:4rem; align-items:start;
}
.faq-sub{ margin-top:1.4rem; font-size:0.95rem; }
.faq-sub a{ color:var(--gold); font-weight:600; border-bottom:1px solid var(--line-gold); }

.faq-item{ border-bottom:1px solid var(--line); }
.faq-question{
  width:100%; display:flex; align-items:center; justify-content:space-between;
  padding:1.5rem 0; text-align:left;
  font-family:var(--font-display); font-size:1.08rem; font-weight:500;
  color:var(--navy);
}
.faq-icon{
  position:relative; width:18px; height:18px; flex-shrink:0; margin-left:1.5rem;
}
.faq-icon::before, .faq-icon::after{
  content:''; position:absolute; background:var(--navy);
  transition:transform 0.3s var(--ease), background 0.3s var(--ease);
}
.faq-icon::before{ top:50%; left:0; width:100%; height:1.5px; transform:translateY(-50%); }
.faq-icon::after{ left:50%; top:0; width:1.5px; height:100%; transform:translateX(-50%); }
.faq-question[aria-expanded="true"] .faq-icon::after{ transform:translateX(-50%) rotate(90deg); opacity:0; }
.faq-question[aria-expanded="true"] .faq-icon::before{ background:var(--gold); }

.faq-answer{
  max-height:0; overflow:hidden;
  transition:max-height 0.4s var(--ease);
}
.faq-answer p{ padding:0 0 1.5rem; font-size:0.96rem; max-width:560px; }

@media (max-width:820px){
  .faq-grid{ grid-template-columns:1fr; gap:2.2rem; }
}

/* ============================================================
   CONTACT / APPLICATION FORM
   ============================================================ */
.contact{ padding:7rem 0 6rem; background:var(--navy); color:var(--ivory); }
.contact-grid{
  display:grid; grid-template-columns:0.9fr 1.1fr; gap:4.5rem;
}
.contact-intro h2{ color:var(--ivory); margin-bottom:1.2rem; }
.contact-lead{ color:rgba(250,248,244,0.68); font-size:1.05rem; margin-bottom:2.4rem; max-width:420px; }
.contact-direct{
  border-top:1px solid rgba(250,248,244,0.18);
  padding-top:1.6rem;
}
.contact-direct-label{
  font-family:var(--font-mono); font-size:0.7rem; letter-spacing:0.12em;
  color:rgba(250,248,244,0.5); text-transform:uppercase; margin-bottom:0.5rem;
}
.contact-direct a{
  font-family:var(--font-display); font-size:1.3rem; color:var(--gold-light);
  border-bottom:1px solid transparent; transition:border-color 0.3s var(--ease);
}
.contact-direct a:hover{ border-color:var(--gold-light); }

.application-form{
  background:var(--ivory);
  padding:2.6rem;
  border-radius:var(--radius);
  display:flex; flex-direction:column; gap:1.4rem;
}
.form-row{ display:flex; flex-direction:column; gap:0.5rem; }
.form-row-split{ display:grid; grid-template-columns:1fr 1fr; gap:1.2rem; }
.form-row-split > div{ display:flex; flex-direction:column; gap:0.5rem; }

label{
  font-size:0.78rem; font-weight:600; letter-spacing:0.03em;
  color:var(--navy); text-transform:uppercase;
}
input, select, textarea{
  padding:0.85rem 1rem;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--ivory);
  color:var(--navy);
  transition:border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
input:focus, select:focus, textarea:focus{
  outline:none; border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(200,151,43,0.15);
}
textarea{ resize:vertical; font-family:inherit; }

.btn-submit{ width:100%; margin-top:0.6rem; }
.form-note{
  font-size:0.85rem; min-height:1.2rem;
  color:var(--gold);
}

@media (max-width:820px){
  .contact-grid{ grid-template-columns:1fr; gap:2.6rem; }
  .form-row-split{ grid-template-columns:1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{ background:var(--navy); color:var(--ivory); padding-top:5rem; }
.footer-inner{
  max-width:var(--max-width); margin:0 auto; padding:0 2.5rem 3.5rem;
  display:grid; grid-template-columns:1.2fr 2fr; gap:4rem;
}
.logo-mark-footer .logo-text{ color:var(--ivory); }
.footer-brand p{ color:rgba(250,248,244,0.55); margin:1.2rem 0 1.6rem; font-size:0.92rem; max-width:300px; }
.footer-social{ display:flex; gap:0.8rem; }
.footer-social a{
  width:36px; height:36px; border:1px solid rgba(250,248,244,0.2);
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-family:var(--font-mono); font-size:0.7rem; color:rgba(250,248,244,0.7);
  transition:border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.footer-social a:hover{ border-color:var(--gold-light); color:var(--gold-light); }

.footer-nav{ display:grid; grid-template-columns:repeat(3, 1fr); gap:2rem; }
.footer-col h4{
  font-family:var(--font-mono); font-size:0.74rem; letter-spacing:0.1em;
  text-transform:uppercase; color:rgba(250,248,244,0.45); margin-bottom:1.1rem; font-weight:500;
}
.footer-col a{
  display:block; color:rgba(250,248,244,0.7); font-size:0.92rem;
  margin-bottom:0.75rem; transition:color 0.25s var(--ease);
}
.footer-col a:hover{ color:var(--gold-light); }

.footer-bottom{
  border-top:1px solid rgba(250,248,244,0.12);
  padding:1.6rem 2.5rem;
  text-align:center;
}
.footer-bottom p{ color:rgba(250,248,244,0.45); font-size:0.82rem; }

@media (max-width:760px){
  .footer-inner{ grid-template-columns:1fr; gap:2.4rem; }
  .footer-nav{ grid-template-columns:repeat(3, 1fr); gap:1.2rem; }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top{
  position:fixed; bottom:2rem; right:2rem; z-index:900;
  width:48px; height:48px; border-radius:50%;
  background:var(--navy); color:var(--gold-light);
  display:flex; align-items:center; justify-content:center;
  font-size:1.1rem;
  opacity:0; visibility:hidden; transform:translateY(10px);
  transition:opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
  box-shadow:0 12px 24px -10px rgba(11,20,38,0.4);
}
.back-to-top.visible{ opacity:1; visibility:visible; transform:translateY(0); }
.back-to-top:hover{ background:var(--gold-light); color:var(--navy); }

/* ============================================================
   SCROLL REVEAL (JS-driven)
   ============================================================ */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible{ opacity:1; transform:translateY(0); }

/* ============================================================
   RESPONSIVE NAV (MOBILE)
   ============================================================ */
@media (max-width:900px){
  .nav-toggle{ display:flex; }
  .main-nav{
    position:fixed; top:0; right:0; height:100vh; width:min(320px, 80vw);
    background:var(--ivory);
    flex-direction:column; align-items:flex-start;
    padding:7rem 2.5rem 2rem;
    transform:translateX(100%);
    transition:transform 0.4s var(--ease);
    box-shadow:-20px 0 50px -20px rgba(11,20,38,0.25);
    gap:1.8rem;
  }
  .main-nav.open{ transform:translateX(0); }
  .nav-cta{ margin-top:1rem; }
}

/* ============================================================
   GENERAL RESPONSIVE
   ============================================================ */
@media (max-width:600px){
  .section-inner{ padding:0 1.4rem; }
  .header-inner{ padding:1.1rem 1.4rem; }
  h2{ font-size:clamp(1.7rem, 1.3rem + 4vw, 2.4rem); }
  .about, .services, .process, .roster, .faq, .contact{ padding:4.5rem 0; }
}
