/* ===================================================================
   VANGUARD ASCENSION DIGITAL
   Concept: "Ascension" — the page rises; navy gains altitude on scroll.
   =================================================================== */

:root{
  --navy:        #0B1B3A;
  --navy-deep:   #060F24;
  --navy-mid:    #0E2144;
  --gold:        #C9A24B;
  --gold-soft:   #d8b56a;
  --ivory:       #F4F1EA;
  --slate:       #8A97AC;
  --slate-deep:  #33475B;
  --line:        rgba(201,162,75,0.18);
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
}

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

html{ scroll-behavior:smooth; -webkit-font-smoothing:antialiased; }

body{
  background:var(--navy);
  color:var(--ivory);
  font-family:'Inter',system-ui,sans-serif;
  font-weight:300;
  line-height:1.6;
  overflow-x:hidden;
}

/* ---- Ascent progress line (fixed left edge) ---- */
.ascent-track{
  position:fixed; top:0; left:0; width:2px; height:100vh;
  background:rgba(255,255,255,0.04); z-index:200;
}
.ascent-fill{
  position:absolute; bottom:0; left:0; width:100%; height:0%;
  background:linear-gradient(to top, var(--gold), var(--gold-soft));
  box-shadow:0 0 12px rgba(201,162,75,0.5);
}

/* ---- Nav ---- */
.nav{
  position:fixed; top:0; left:0; width:100%; z-index:100;
  padding:26px 0;
  transition:padding .5s var(--ease), background .5s var(--ease), backdrop-filter .5s var(--ease);
}
.nav.scrolled{
  padding:16px 0;
  background:rgba(6,15,36,0.72);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,0.05);
}
.nav-inner{
  max-width:1240px; margin:0 auto; padding:0 40px;
  display:flex; align-items:center; justify-content:space-between;
}
.brand{ display:flex; align-items:center; gap:14px; text-decoration:none; color:var(--ivory); }
.brand-mark-img{
  height:42px; width:auto; flex:none;
  transition:transform .5s var(--ease);
}
.brand:hover .brand-mark-img{ transform:translateY(-3px); }
.brand-name{ font-size:13px; letter-spacing:1.5px; text-transform:uppercase; font-weight:400; }
.brand-name em{ color:var(--gold); font-style:normal; }
.nav-links{ display:flex; align-items:center; gap:38px; }
.nav-links a{
  color:var(--ivory); text-decoration:none; font-size:13px;
  letter-spacing:.5px; opacity:.72; transition:opacity .3s;
}
.nav-links a:hover{ opacity:1; }
.nav-cta{
  border:1px solid var(--line); padding:10px 22px; border-radius:40px;
  opacity:1 !important; color:var(--gold) !important; transition:all .4s var(--ease) !important;
}
.nav-cta:hover{ background:var(--gold); color:var(--navy) !important; border-color:var(--gold); }

/* ---- Buttons ---- */
.btn{
  display:inline-block; text-decoration:none; font-size:14px; letter-spacing:.5px;
  padding:16px 34px; border-radius:40px; font-weight:500;
  transition:transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s;
}
.btn-gold{ background:var(--gold); color:var(--navy); }
.btn-gold:hover{ transform:translateY(-4px); box-shadow:0 14px 34px rgba(201,162,75,0.35); background:var(--gold-soft); }
.btn-ghost{ border:1px solid var(--line); color:var(--ivory); }
.btn-ghost:hover{ transform:translateY(-4px); border-color:var(--gold); color:var(--gold); }
.btn-lg{ padding:20px 46px; font-size:15px; }

/* ---- Eyebrow / shared ---- */
.eyebrow{
  font-size:11px; letter-spacing:3.5px; text-transform:uppercase;
  color:var(--gold); font-weight:500; margin-bottom:24px;
}

/* =========================  HERO  ========================= */
.hero{
  position:relative; min-height:100vh; min-height:100dvh;
  display:flex; flex-direction:column; justify-content:center;
  padding:120px 40px 100px;
  overflow:hidden;
}
.hero-atmosphere{
  position:absolute; inset:0; z-index:0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201,162,75,0.10), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 110%, rgba(201,162,75,0.06), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  animation:atmosphere 14s ease-in-out infinite alternate;
}
@keyframes atmosphere{
  from{ transform:scale(1) translateY(0); opacity:.9; }
  to{ transform:scale(1.08) translateY(-2%); opacity:1; }
}
.hero-inner{ position:relative; z-index:2; max-width:1100px; margin:0 auto; width:100%; }
.hero-title{
  font-family:'Fraunces',serif; font-weight:300;
  font-size:clamp(2.8rem, 8vw, 7rem); line-height:0.98; letter-spacing:-0.02em;
  margin-bottom:36px;
}
.hero-title .line{ display:block; overflow:hidden; }
.hero-title .line > span{ display:block; }
.hero-title .gold{ color:var(--gold); font-style:italic; font-weight:400; }
.hero-sub{
  max-width:560px; font-size:clamp(1rem,1.4vw,1.2rem); color:rgba(244,241,234,0.72);
  line-height:1.7; margin-bottom:44px;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }
.hero-scroll{
  position:absolute; bottom:24px; left:50%; transform:translateX(-50%);
  z-index:2; display:flex; flex-direction:column; align-items:center; gap:12px;
  font-size:11px; letter-spacing:2px; text-transform:uppercase; color:rgba(244,241,234,0.4);
}
.scroll-line{ width:1px; height:50px; background:linear-gradient(var(--gold),transparent); animation:scrollpulse 2s ease-in-out infinite; }
@keyframes scrollpulse{ 0%,100%{ opacity:.3; transform:scaleY(.6);} 50%{ opacity:1; transform:scaleY(1);} }

/* =========================  STATEMENT  ========================= */
.statement{
  min-height:80vh; display:flex; align-items:center; justify-content:center;
  padding:140px 40px; background:var(--navy-deep);
}
.statement-text{
  max-width:1000px; text-align:center;
  font-family:'Fraunces',serif; font-weight:300;
  font-size:clamp(1.8rem,4.5vw,3.6rem); line-height:1.3; letter-spacing:-0.01em;
}
.reveal-word{ display:inline-block; opacity:0.12; transition:opacity .5s var(--ease); }
.reveal-word.lit{ opacity:1; }
.gold-word{ color:var(--gold); }

/* =========================  SERVICES  ========================= */
.services{ padding:160px 40px; max-width:1240px; margin:0 auto; }
.section-head{ max-width:720px; margin-bottom:90px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-title{
  font-family:'Fraunces',serif; font-weight:300;
  font-size:clamp(1.9rem,4vw,3.2rem); line-height:1.12; letter-spacing:-0.02em;
}
.service-list{ border-top:1px solid rgba(255,255,255,0.08); }
.service{
  display:grid; grid-template-columns:80px 1fr 60px; align-items:center; gap:30px;
  padding:44px 20px; border-bottom:1px solid rgba(255,255,255,0.08);
  transition:background .5s var(--ease), padding-left .5s var(--ease);
  cursor:default;
}
.service:hover{ background:rgba(201,162,75,0.03); padding-left:40px; }
.service-index{ font-family:'Fraunces',serif; font-size:1rem; color:var(--gold); opacity:.8; }
.service-body h3{
  font-family:'Fraunces',serif; font-weight:400; font-size:clamp(1.5rem,2.6vw,2.1rem);
  margin-bottom:10px; letter-spacing:-0.01em;
}
.service-body p{ color:rgba(244,241,234,0.6); max-width:560px; font-size:1.02rem; }
.service-arrow{ font-size:1.4rem; color:var(--gold); opacity:0; transform:translateX(-10px); transition:all .5s var(--ease); }
.service:hover .service-arrow{ opacity:1; transform:translateX(0); }

/* =========================  APPROACH  ========================= */
.approach{ background:var(--ivory); color:var(--navy); padding:110px 40px 140px; }
.approach-inner{ max-width:900px; margin:0 auto; }
.approach .eyebrow{ color:var(--slate-deep); }
.approach-title{
  font-family:'Fraunces',serif; font-weight:300; color:var(--navy);
  font-size:clamp(2rem,5vw,4rem); line-height:1.05; letter-spacing:-0.02em; margin-bottom:36px;
}
.approach-title .gold{ color:var(--gold); font-style:italic; font-weight:400; }
.approach-text{
  font-size:clamp(1.05rem,1.5vw,1.28rem); line-height:1.75; color:var(--slate-deep);
  max-width:680px; margin-bottom:64px; font-weight:400;
}
.approach-marks{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; border-top:1px solid rgba(11,27,58,0.12); padding-top:44px; }
.mark{ display:flex; flex-direction:column; gap:6px; }
.mark-k{ font-family:'Fraunces',serif; font-size:1.35rem; color:var(--navy); }
.mark-v{ font-size:.82rem; letter-spacing:1.5px; text-transform:uppercase; color:var(--slate-deep); opacity:.7; }

/* =========================  RESULTS  ========================= */
.results{ padding:170px 40px; max-width:1000px; margin:0 auto; }
.result-card{
  border:1px solid var(--line); border-radius:4px; padding:80px 60px; text-align:center;
  background:linear-gradient(180deg, rgba(201,162,75,0.04), transparent);
}
.result-quote{
  font-family:'Fraunces',serif; font-weight:300; font-style:italic;
  font-size:clamp(1.5rem,3vw,2.4rem); line-height:1.3; margin-bottom:28px; letter-spacing:-0.01em;
}
.result-meta{ color:rgba(244,241,234,0.55); max-width:520px; margin:0 auto; }

/* =========================  CTA  ========================= */
.cta{
  padding:200px 40px; text-align:center;
  background:radial-gradient(ellipse 70% 60% at 50% 50%, rgba(201,162,75,0.10), transparent 65%), var(--navy-deep);
}
.cta-title{ font-family:'Fraunces',serif; font-weight:300; font-size:clamp(2.6rem,7vw,6rem); letter-spacing:-0.02em; margin-bottom:24px; }
.cta-sub{ color:rgba(244,241,234,0.65); max-width:480px; margin:0 auto 48px; font-size:1.1rem; }

/* =========================  FOOTER  ========================= */
.footer{ padding:70px 40px; border-top:1px solid rgba(255,255,255,0.07); }
.footer-inner{ max-width:1240px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:24px; }
.footer-brand{ display:flex; align-items:center; gap:12px; }
.footer-logo{ height:100px; width:auto; opacity:.92; }
.footer-meta{ display:flex; gap:32px; font-size:13px; color:rgba(244,241,234,0.5); flex-wrap:wrap; }
.footer-copy{ font-size:12px; color:rgba(244,241,234,0.35); letter-spacing:.5px; }

/* =========================  REVEAL SYSTEM  ========================= */
.reveal{ opacity:0; transform:translateY(34px); transition:opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in{ opacity:1; transform:translateY(0); }
.hero-title .line > span{ opacity:0; transform:translateY(100%); transition:transform 1.1s var(--ease), opacity 1.1s var(--ease); }
.hero-title .line.in > span{ opacity:1; transform:translateY(0); }

/* stagger via delays set inline-ish */
.hero .reveal:nth-child(1){ transition-delay:.1s; }
.hero-title .line:nth-child(1).in > span{ transition-delay:.15s; }
.hero-title .line:nth-child(2).in > span{ transition-delay:.28s; }
.hero-title .line:nth-child(3).in > span{ transition-delay:.41s; }
.hero-title .line:nth-child(4).in > span{ transition-delay:.54s; }

/* =========================  RESPONSIVE  ========================= */
@media (max-width:820px){
  .nav-inner{ padding:0 24px; }
  .hero{ padding:160px 24px 80px; }
  .services,.results{ padding:100px 24px; }
  .approach{ padding:110px 24px; }
  .statement{ padding:100px 24px; }
  .cta{ padding:130px 24px; }
  .service{ grid-template-columns:50px 1fr; gap:18px; padding:34px 8px; }
  .service-arrow{ display:none; }
  .approach-marks{ grid-template-columns:1fr; gap:22px; }
  .footer-inner{ flex-direction:column; align-items:flex-start; }
}

/* =========================  ACCESSIBILITY  ========================= */
a:focus-visible,.btn:focus-visible{ outline:2px solid var(--gold); outline-offset:4px; }
@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; transition-duration:.01ms !important; }
  .reveal,.hero-title .line > span,.reveal-word{ opacity:1 !important; transform:none !important; }
}

/* ===================================================================
   INNER PAGE STYLES
   =================================================================== */

/* Page hero (shorter than homepage hero) */
.page-hero{
  position:relative; min-height:62vh; display:flex; align-items:center;
  padding:140px 40px 80px; overflow:hidden;
}
.page-hero.short{ min-height:52vh; }
.page-hero-inner{ position:relative; z-index:2; max-width:1000px; margin:0 auto; width:100%; }
.page-title{
  font-family:'Fraunces',serif; font-weight:300;
  font-size:clamp(2.4rem,6vw,5rem); line-height:1.02; letter-spacing:-0.02em; margin-bottom:28px;
}
.page-title .gold{ color:var(--gold); font-style:italic; font-weight:400; }
.page-lead{ max-width:600px; font-size:clamp(1.05rem,1.5vw,1.25rem); color:rgba(244,241,234,0.72); line-height:1.7; }

/* Service detail rows */
.svc-detail{ max-width:1100px; margin:0 auto; padding:40px 40px 120px; }
.svc-row{
  display:grid; grid-template-columns:90px 1fr; gap:40px;
  padding:70px 0; border-top:1px solid rgba(255,255,255,0.08);
}
.svc-num{ font-family:'Fraunces',serif; font-size:1.4rem; color:var(--gold); opacity:.7; }
.svc-content h2{ font-family:'Fraunces',serif; font-weight:300; font-size:clamp(1.9rem,3.5vw,2.8rem); letter-spacing:-0.01em; margin-bottom:22px; }
.svc-desc{ font-size:1.12rem; color:rgba(244,241,234,0.75); max-width:620px; margin-bottom:34px; line-height:1.7; }
.svc-points{ list-style:none; display:grid; gap:14px; max-width:560px; }
.svc-points li{ position:relative; padding-left:26px; color:rgba(244,241,234,0.62); }
.svc-points li::before{ content:"→"; position:absolute; left:0; color:var(--gold); }

/* Tiers */
.tiers{ background:var(--navy-deep); padding:150px 40px; }
.tier-grid{ max-width:1000px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:30px; }
.tier{ border:1px solid var(--line); border-radius:4px; padding:56px 44px; transition:transform .5s var(--ease), background .5s var(--ease); }
.tier:hover{ transform:translateY(-6px); background:rgba(201,162,75,0.03); }
.tier h3{ font-family:'Fraunces',serif; font-weight:400; font-size:1.9rem; margin-bottom:8px; }
.tier-tag{ font-size:.78rem; letter-spacing:2px; text-transform:uppercase; color:var(--gold); margin-bottom:24px; }
.tier-desc{ color:rgba(244,241,234,0.65); line-height:1.7; }

/* Story (light) */
.story{ background:var(--ivory); color:var(--navy); padding:150px 40px 90px; }
.story-inner{ max-width:820px; margin:0 auto; display:grid; gap:64px; }
.story-lead{ font-family:'Fraunces',serif; font-weight:300; font-size:clamp(1.6rem,3vw,2.4rem); line-height:1.3; color:var(--navy); letter-spacing:-0.01em; margin-bottom:20px; }
.story-block p{ color:var(--slate-deep); font-size:1.12rem; line-height:1.8; font-weight:400; }
.story-h{ font-family:'Fraunces',serif; font-weight:400; color:var(--navy); font-size:1.7rem; margin-bottom:18px; }

/* Contact */
.contact-section{ padding:40px 40px 140px; }
.contact-grid{ max-width:1050px; margin:0 auto; display:grid; grid-template-columns:1fr 1.1fr; gap:80px; align-items:start; }
.contact-info h2{ font-family:'Fraunces',serif; font-weight:300; font-size:2.4rem; margin-bottom:20px; letter-spacing:-0.01em; }
.contact-info > p{ color:rgba(244,241,234,0.68); line-height:1.7; margin-bottom:44px; }
.contact-lines{ display:grid; gap:24px; }
.c-line{ display:flex; flex-direction:column; gap:5px; padding-bottom:20px; border-bottom:1px solid rgba(255,255,255,0.08); }
.c-k{ font-size:.75rem; letter-spacing:2px; text-transform:uppercase; color:var(--gold); }
.c-v{ font-size:1.02rem; color:rgba(244,241,234,0.85); }
.contact-form{ display:grid; gap:26px; }
.field{ display:grid; gap:10px; }
.field label{ font-size:.78rem; letter-spacing:1.5px; text-transform:uppercase; color:rgba(244,241,234,0.6); }
.field input, .field textarea{
  background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.12);
  border-radius:4px; padding:15px 18px; color:var(--ivory); font-family:'Inter',sans-serif;
  font-size:1rem; transition:border-color .3s, background .3s;
}
.field input:focus, .field textarea:focus{ outline:none; border-color:var(--gold); background:rgba(201,162,75,0.04); }
.contact-form .btn{ justify-self:start; margin-top:8px; border:none; cursor:pointer; }

@media (max-width:820px){
  .page-hero{ padding:120px 24px 60px; }
  .svc-detail{ padding:20px 24px 80px; }
  .svc-row{ grid-template-columns:1fr; gap:16px; padding:50px 0; }
  .tiers{ padding:100px 24px; }
  .tier-grid{ grid-template-columns:1fr; }
  .story{ padding:100px 24px; }
  .story-inner{ gap:44px; }
  .contact-grid{ grid-template-columns:1fr; gap:50px; }
  .contact-section{ padding:20px 24px 90px; }
}

/* Active nav state */
.nav-links a.active:not(.nav-cta){ opacity:1; color:var(--gold); }

/* Mobile: keep nav links visible (don't hide them) since there's no hamburger menu */
@media (max-width:820px){
  .nav-links{ gap:18px; }
  .nav-links a:not(.nav-cta){ display:inline; font-size:12px; letter-spacing:0.3px; }
  .brand-name{ display:none; }
  .nav-inner{ flex-wrap:wrap; }
}

/* ===================================================================
   HEADER V2 — full logo + hamburger menu
   =================================================================== */

/* Full logo in header */
.brand-logo{
  height:76px; width:auto; display:block;
  transition:transform .5s var(--ease), opacity .3s;
}
.brand:hover .brand-logo{ transform:translateY(-2px); }
.nav.scrolled .brand-logo{ height:60px; }

/* Hamburger button */
.nav-toggle{
  position:relative; z-index:120;
  width:44px; height:44px; background:none; border:none; cursor:pointer;
  display:flex; flex-direction:column; justify-content:center; align-items:flex-end; gap:6px;
  padding:0;
}
.nav-toggle span{
  display:block; height:2px; background:var(--ivory);
  transition:all .4s var(--ease); border-radius:2px;
}
.nav-toggle span:nth-child(1){ width:28px; }
.nav-toggle span:nth-child(2){ width:22px; }
.nav-toggle span:nth-child(3){ width:28px; }
.nav-toggle:hover span{ background:var(--gold); }
.nav-toggle:hover span:nth-child(2){ width:28px; }

/* Open state -> X */
.nav-toggle.open span:nth-child(1){ transform:translateY(8px) rotate(45deg); width:28px; }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); width:28px; }
.nav-toggle.open span{ background:var(--gold); }

/* Full-screen slide-in menu (overrides the old inline nav-links) */
.nav-links{
  position:fixed; top:0; left:0; right:0; bottom:0; width:100vw; height:100vh; height:100dvh;
  z-index:9999;
  background:#060F24;
  flex-direction:column; align-items:center; justify-content:center; gap:8px;
  opacity:0; visibility:hidden; transform:translateY(-12px);
  transition:opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
}
.nav-links::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:
    radial-gradient(ellipse 70% 50% at 50% 20%, rgba(201,162,75,0.08), transparent 60%),
    #060F24;
}
.nav-links.open{ opacity:1; visibility:visible; transform:translateY(0); }
/* keep the toggle above the overlay so the X is clickable */
.nav-toggle{ z-index:10000; }
.nav-links a{
  font-family:'Fraunces',serif; font-size:clamp(1.8rem,5vw,2.6rem); font-weight:300;
  opacity:.6; letter-spacing:-0.01em; padding:10px 0;
  transition:opacity .3s, color .3s, transform .3s;
}
.nav-links a:hover{ opacity:1; color:var(--gold); transform:translateX(6px); }
.nav-links a.active:not(.nav-cta){ opacity:1; color:var(--gold); }
.nav-links .nav-cta{
  margin-top:24px; border:1px solid var(--line); border-radius:40px;
  font-family:'Inter',sans-serif; font-size:1rem; padding:16px 40px; color:var(--gold) !important; opacity:1;
}
.nav-links .nav-cta:hover{ background:var(--gold); color:var(--navy) !important; transform:translateX(0); }

/* stagger menu items in */
.nav-links.open a{ animation:menuItem .6s var(--ease) both; }
.nav-links.open a:nth-child(1){ animation-delay:.08s; }
.nav-links.open a:nth-child(2){ animation-delay:.14s; }
.nav-links.open a:nth-child(3){ animation-delay:.20s; }
.nav-links.open a:nth-child(4){ animation-delay:.26s; }
.nav-links.open a:nth-child(5){ animation-delay:.32s; }
@keyframes menuItem{ from{ opacity:0; transform:translateY(16px);} to{ opacity:.6; transform:translateY(0);} }
.nav-links.open a.active{ animation-fill-mode:both; }

/* Override earlier mobile rule that showed inline links */
@media (max-width:820px){
  .nav-links{ gap:8px; }
  .nav-links a:not(.nav-cta){ display:block; font-size:2rem; letter-spacing:-0.01em; }
  .brand-logo{ height:64px; }
  .brand-name{ display:none; }
  .nav-inner{ flex-wrap:nowrap; }
}

/* ===================================================================
   DESKTOP BALANCE FIXES (wide screens)
   Content was left-hugging on desktop; center and constrain it.
   =================================================================== */
@media (min-width:900px){

  /* Hero: constrain text width and let it breathe, vertically centered block */
  .hero-inner{ max-width:900px; }
  .hero-title{ font-size:clamp(3.5rem,7vw,6.5rem); }
  .hero-sub{ max-width:620px; }

  /* Page heroes: constrain and center the text column */
  .page-hero-inner{ max-width:880px; }
  .page-title{ max-width:900px; }
  .page-lead{ max-width:640px; }

  /* Services section head + rows: tighter measure, better balance */
  .section-head{ max-width:780px; }
  .service{ grid-template-columns:80px 1fr 60px; max-width:1000px; }
  .svc-detail{ max-width:1000px; }
  .svc-row{ grid-template-columns:90px 1fr; }
  .svc-desc, .svc-points{ max-width:640px; }

  /* Statement stays centered (already is) */

  /* Approach / story: center the reading column */
  .approach-inner{ max-width:860px; }
  .story-inner{ max-width:820px; }

  /* Give the whole page a comfortable outer gutter on very wide screens */
  .services, .svc-detail, .results{ padding-left:60px; padding-right:60px; }
}

/* Ultra-wide: cap it so lines never get too long */
@media (min-width:1400px){
  .hero, .page-hero{ padding-left:calc((100vw - 1200px) / 2); padding-right:calc((100vw - 1200px) / 2); }
}

/* ===== CENTERED HERO OPTION (desktop) ===== */
@media (min-width:900px){
  .hero-inner{ text-align:center; margin:0 auto; }
  .hero-inner .eyebrow{ text-align:center; }
  .hero-sub{ margin-left:auto; margin-right:auto; }
  .hero-actions{ justify-content:center; }
  .hero-title{ text-align:center; }
}

/* ===== Inner page desktop balance: center containers, keep readable left-align inside ===== */
@media (min-width:900px){
  /* Center the section heads and give inner pages a centered feel */
  .page-hero-inner{ text-align:center; margin:0 auto; }
  .page-hero-inner .eyebrow{ text-align:center; }
  .page-lead{ margin-left:auto; margin-right:auto; }
  .page-title{ margin-left:auto; margin-right:auto; }

  /* Services intro centered, list stays structured */
  .section-head:not(.center){ text-align:center; margin-left:auto; margin-right:auto; }
  .section-head:not(.center) .section-title{ margin-left:auto; margin-right:auto; }

  /* Contact: center the header area */
  .page-hero.short .page-hero-inner{ text-align:center; }
}

/* ===== FIX: gold text contrast on LIGHT (ivory) sections ===== */
/* Standard gold (#C9A24B) washes out on ivory — use a deeper gold on light backgrounds */
.approach-title .gold,
.story .gold,
.approach.story .gold{
  color:#A67C1A;  /* deeper, richer gold — reads clearly on ivory */
}
/* Also darken any gold accents that sit on the light approach/story sections */
.story .eyebrow,
.approach .eyebrow{ color:#A67C1A; }

/* ===================================================================
   REFINEMENT PASS — centering, uniform backgrounds, footer, scroll
   =================================================================== */

/* 1. Remove scroll indicator entirely (desktop AND mobile) */
.hero-scroll{ display:none !important; }

/* 2. UNIFORM BACKGROUND SCHEME
   Simplify to two consistent backgrounds used deliberately:
   - Primary navy (--navy) for most sections
   - One deep-navy accent (--navy-deep) for statement + CTA (bookends)
   Convert the ivory sections to navy for uniformity. */
.approach, .story{
  background:var(--navy) !important;
  color:var(--ivory) !important;
}
/* Restore correct text colors now that these are dark */
.approach .approach-title{ color:var(--ivory); }
.approach-text{ color:rgba(244,241,234,0.72); }
.approach-marks{ border-top:1px solid rgba(255,255,255,0.1); }
.mark-k{ color:var(--ivory); }
.mark-v{ color:rgba(244,241,234,0.6); }
.story-lead{ color:var(--ivory); }
.story-block p{ color:rgba(244,241,234,0.72); }
.story-h{ color:var(--ivory); }
/* gold stays the bright version now that bg is dark again */
.approach-title .gold, .story .gold, .approach .eyebrow, .story .eyebrow{ color:var(--gold) !important; }

/* 3. CENTER EVERYTHING — heads, body, buttons — all sections, all breakpoints */
.section-head,
.section-head .section-title,
.approach-inner,
.approach-title,
.approach-text,
.story-inner,
.story-block,
.story-lead,
.svc-content,
.svc-desc,
.page-hero-inner,
.page-title,
.page-lead,
.hero-inner,
.cta-inner,
.result-card,
.tier{
  text-align:center !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Center the bullet lists and their items */
.svc-points{ margin-left:auto !important; margin-right:auto !important; display:inline-block; text-align:left; }
.svc-row{ justify-items:center; text-align:center; }
.svc-detail .svc-row{ grid-template-columns:1fr; gap:16px; }
.svc-num{ text-align:center; }

/* Center approach marks row */
.approach-marks{ justify-items:center; text-align:center; }
.mark{ align-items:center; }

/* Center hero + all action buttons */
.hero-actions, .cta-inner, .contact-form{ justify-content:center; }
.hero-actions{ justify-content:center !important; }

/* Center contact section */
.contact-grid{ text-align:center; }
.contact-info, .contact-lines{ margin-left:auto; margin-right:auto; text-align:center; }
.c-line{ align-items:center; }
.contact-form{ margin-left:auto; margin-right:auto; max-width:520px; }
.contact-form .btn{ justify-self:center; }
.field{ text-align:left; }

/* 4. FOOTER — center everything, stack it */
.footer-inner{
  flex-direction:column !important;
  align-items:center !important;
  text-align:center;
  gap:20px;
}
.footer-brand{ justify-content:center; }
.footer-meta{ justify-content:center; text-align:center; }
.footer-copy{ text-align:center; }

/* Center the homepage service list rows (01/02/03) */
.service-list{ max-width:700px; margin-left:auto; margin-right:auto; }
.service{
  grid-template-columns:1fr !important;
  text-align:center; justify-items:center; gap:12px !important;
}
.service:hover{ padding-left:20px; }
.service-index{ text-align:center; }
.service-body{ text-align:center; }
.service-body p{ margin-left:auto; margin-right:auto; }
.service-arrow{ display:none; }

/* ===================================================================
   LAUNCH SEQUENCE (form submission)
   =================================================================== */
.launch-overlay{
  position:fixed; inset:0; z-index:99999;
  background:#060F24;
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden;
  transition:opacity .5s var(--ease), visibility .5s;
}
.launch-overlay::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(ellipse 60% 50% at 50% 60%, rgba(201,162,75,0.10), transparent 65%);
}
.launch-overlay.active{ opacity:1; visibility:visible; }
.launch-stage{
  position:absolute; inset:0; z-index:2;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center;
}

/* Prep text — bigger, on-theme (serif, gold accent glow), stays through countdown */
.launch-prep{
  font-family:'Fraunces',serif; font-weight:300; font-style:italic;
  font-size:clamp(2.6rem,8vw,5rem); color:var(--ivory);
  opacity:0; letter-spacing:-0.02em; line-height:1.05;
  text-shadow:0 0 40px rgba(201,162,75,0.25);
  transition:opacity .6s var(--ease);
}

/* Countdown sits below the prep text */
.launch-count{
  font-family:'Fraunces',serif; font-weight:300;
  font-size:clamp(5rem,16vw,11rem); color:var(--gold);
  height:1.15em; line-height:1; margin-top:30px;
  text-shadow:0 0 50px rgba(201,162,75,0.4);
}
.launch-count span{ display:inline-block; animation:countPop .9s var(--ease); }

/* Rocket — hidden until .launch fires, then flies up and off screen */
.rocket{
  position:absolute; left:50%; bottom:80px;
  transform:translateX(-50%) translateY(0);
  opacity:0; z-index:3; will-change:transform, opacity;
}
.rocket svg{ width:64px; height:96px; display:block; }
.rocket.launch{ animation:rocketTakeoff 3s cubic-bezier(0.5,0,0.7,1) forwards; }
.rocket-flame{
  position:absolute; left:50%; top:88px; transform:translateX(-50%);
  width:18px; height:0; border-radius:0 0 50% 50%;
  background:linear-gradient(to bottom, #C9A24B, #ff9d3c, transparent);
}
.rocket.launch .rocket-flame{ animation:flame .12s ease-in-out infinite alternate; }
/* Bigger rocket on desktop so its ascent is clearly visible on large screens */
@media (min-width:900px){
  .rocket svg{ width:90px; height:135px; }
  .rocket-flame{ top:124px; width:26px; }
}

/* Thank you — centered on screen */
.launch-thanks{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:100%;
  font-family:'Fraunces',serif; font-weight:300;
  font-size:clamp(2.4rem,7vw,4rem); color:var(--ivory);
  opacity:0; letter-spacing:-0.02em; z-index:4;
  transition:opacity .8s var(--ease);
}
.launch-thanks span{
  display:block; font-family:'Inter',sans-serif; font-size:1.05rem; font-weight:300;
  color:rgba(244,241,234,0.6); margin-top:18px; letter-spacing:.5px;
}

@keyframes countPop{ 0%{ opacity:0; transform:scale(1.6);} 30%{ opacity:1; transform:scale(1);} 100%{ opacity:0; transform:scale(.7);} }
@keyframes flame{ from{ height:24px; opacity:.8;} to{ height:44px; opacity:1;} }
@keyframes rocketTakeoff{
  0%{ opacity:0; transform:translateX(-50%) translateY(0) rotate(0); }
  3%{ opacity:1; }
  10%{ transform:translateX(-50%) translateY(6px) rotate(-1.5deg); }   /* brief shudder */
  18%{ transform:translateX(-50%) translateY(0) rotate(0); }
  90%{ opacity:1; }
  100%{ opacity:0; transform:translateX(-50%) translateY(-150vh) rotate(0); }
}
@media (prefers-reduced-motion:reduce){
  .rocket.launch{ animation:none; opacity:0; }
  .launch-count span{ animation:none; }
}

/* ===================================================================
   PRICING CALCULATOR
   =================================================================== */
.calc-section{ padding:20px 40px 120px; }
.calc-wrap{
  max-width:1150px; margin:0 auto;
  display:grid; grid-template-columns:1.35fr 1fr; gap:50px; align-items:start;
}

/* Choices */
.calc-group{ margin-bottom:44px; }
.calc-group-title{
  font-family:'Fraunces',serif; font-weight:400; font-size:1.5rem; color:var(--ivory);
  display:flex; align-items:center; gap:14px; margin-bottom:6px; text-align:left;
}
.calc-num{
  display:inline-grid; place-items:center; width:32px; height:32px; flex:none;
  border:1px solid var(--line); border-radius:50%; color:var(--gold);
  font-family:'Inter',sans-serif; font-size:.95rem; font-weight:500;
}
.calc-group-sub{ color:rgba(244,241,234,0.5); font-size:.95rem; margin:0 0 20px 46px; text-align:left; }

.calc-opt{
  display:flex; align-items:center; gap:18px;
  padding:20px 22px; margin-bottom:12px; border:1px solid rgba(255,255,255,0.1); border-radius:8px;
  cursor:pointer; transition:border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
  text-align:left;
}
.calc-opt:hover{ border-color:rgba(201,162,75,0.4); background:rgba(201,162,75,0.03); }
.calc-opt input{ position:absolute; opacity:0; pointer-events:none; }
.calc-opt::before{
  content:""; width:22px; height:22px; flex:none; border:1.5px solid rgba(255,255,255,0.25);
  border-radius:50%; transition:all .3s var(--ease); position:relative;
}
.calc-opt[data-check]::before{ border-radius:6px; }
.calc-opt:has(input:checked){ border-color:var(--gold); background:rgba(201,162,75,0.06); }
.calc-opt:has(input:checked)::before{
  border-color:var(--gold); background:var(--gold);
  box-shadow:inset 0 0 0 4px #060F24;
}
.calc-opt-body{ flex:1; display:flex; flex-direction:column; gap:5px; }
.calc-opt-name{ font-size:1.08rem; color:var(--ivory); font-weight:500; }
.calc-opt-desc{ font-size:.9rem; color:rgba(244,241,234,0.55); line-height:1.5; }
.calc-opt-price{ font-family:'Fraunces',serif; font-size:1.15rem; color:var(--gold); white-space:nowrap; }
.calc-badge{
  display:inline-block; font-family:'Inter',sans-serif; font-size:.62rem; letter-spacing:1.5px; text-transform:uppercase;
  color:var(--gold); border:1px solid var(--line); border-radius:20px; padding:3px 10px; margin-left:8px; vertical-align:middle;
}
.calc-opt-locked{ cursor:default; border-color:rgba(201,162,75,0.3); background:rgba(201,162,75,0.04); }
.calc-opt-locked::before{ display:none; }

/* Estimate panel */
.calc-estimate{ position:sticky; top:110px; }
.calc-est-inner{
  border:1px solid var(--line); border-radius:12px; padding:34px 30px;
  background:linear-gradient(180deg, rgba(201,162,75,0.05), rgba(255,255,255,0.01));
}
.calc-est-label{ font-size:.72rem; letter-spacing:2.5px; text-transform:uppercase; color:var(--gold); margin-bottom:24px; text-align:center; }
.calc-est-block{ display:flex; justify-content:space-between; align-items:baseline; }
.calc-est-k{ color:rgba(244,241,234,0.7); font-size:.98rem; }
.calc-est-v{ font-family:'Fraunces',serif; font-size:1.9rem; color:var(--ivory); }
.calc-est-note{ font-size:.8rem; color:rgba(244,241,234,0.45); margin:4px 0 22px; text-align:right; }
.calc-est-monthly{ padding-top:20px; border-top:1px solid rgba(255,255,255,0.08); }
.calc-est-monthly .calc-est-v{ color:var(--gold); font-size:2.4rem; }
.calc-est-per{ font-size:1rem; color:rgba(201,162,75,0.6); font-family:'Inter',sans-serif; }

/* Annual toggle */
.calc-annual{ display:flex; align-items:center; gap:12px; margin:22px 0 4px; cursor:pointer; }
.calc-annual input{ position:absolute; opacity:0; pointer-events:none; }
.calc-annual-track{
  width:46px; height:26px; flex:none; border-radius:20px; background:rgba(255,255,255,0.1);
  position:relative; transition:background .3s var(--ease);
}
.calc-annual-thumb{
  position:absolute; top:3px; left:3px; width:20px; height:20px; border-radius:50%;
  background:var(--ivory); transition:transform .3s var(--ease);
}
.calc-annual:has(input:checked) .calc-annual-track{ background:var(--gold); }
.calc-annual:has(input:checked) .calc-annual-thumb{ transform:translateX(20px); background:#060F24; }
.calc-annual-label{ font-size:.92rem; color:rgba(244,241,234,0.8); }
.calc-annual-label strong{ color:var(--gold); font-weight:600; }
.calc-annual-save{ font-size:.85rem; color:var(--gold); margin:8px 0 0; min-height:1.1em; text-align:left; }

/* Phases */
.calc-phases{ margin-top:26px; padding-top:24px; border-top:1px solid rgba(255,255,255,0.08); }
.calc-phases-title{ font-size:.72rem; letter-spacing:2px; text-transform:uppercase; color:rgba(244,241,234,0.5); margin-bottom:16px; text-align:left; }
.calc-phase-list{ display:flex; flex-direction:column; gap:0; }
.calc-phase{
  display:flex; align-items:center; gap:16px; padding:12px 0; position:relative;
  animation:phaseIn .5s var(--ease) both;
}
.calc-phase:not(:last-child)::after{
  content:""; position:absolute; left:15px; top:38px; bottom:-4px; width:1px; background:rgba(201,162,75,0.25);
}
.calc-phase-dot{
  width:32px; height:32px; flex:none; border-radius:50%; border:1px solid var(--line);
  display:grid; place-items:center; color:var(--gold); font-size:.8rem; font-family:'Fraunces',serif;
  background:#060F24; z-index:1;
}
.calc-phase-body{ display:flex; flex-direction:column; gap:2px; }
.calc-phase-name{ color:var(--ivory); font-size:.98rem; }
.calc-phase-when{ color:rgba(244,241,234,0.45); font-size:.8rem; }
@keyframes phaseIn{ from{ opacity:0; transform:translateX(-8px);} to{ opacity:1; transform:translateX(0);} }

.calc-cta{ display:block; text-align:center; margin-top:28px; }
.calc-disclaimer{ font-size:.78rem; color:rgba(244,241,234,0.45); line-height:1.6; margin-top:18px; text-align:center; }

@media (max-width:900px){
  .calc-section{ padding:10px 20px 90px; }
  .calc-wrap{ grid-template-columns:1fr; gap:36px; }
  .calc-estimate{ position:static; }
  .calc-group-title{ font-size:1.3rem; }
  .calc-opt{ padding:16px 16px; gap:12px; }
  .calc-opt-price{ font-size:1rem; }
}

.calc-est-ksub{ font-size:.78rem; color:rgba(244,241,234,0.4); display:block; }
.calc-est-project{ padding-top:16px; margin-top:6px; border-top:1px solid rgba(255,255,255,0.06); }
.calc-est-project .calc-est-v{ font-size:1.5rem; color:var(--gold); }

/* Back-to-site link on the thank-you screen */
.launch-back{
  display:inline-block; margin-top:36px;
  font-family:'Inter',sans-serif; font-size:.9rem; letter-spacing:.5px;
  color:var(--gold); text-decoration:none;
  border:1px solid var(--line); border-radius:40px; padding:12px 30px;
  transition:background .3s var(--ease), color .3s var(--ease);
}
.launch-back:hover{ background:var(--gold); color:var(--navy); }

/* ===================================================================
   CONTRAST FIXES (WCAG AA) — bump low-opacity text on navy for legibility
   =================================================================== */
/* Muted text that was failing contrast on navy backgrounds */
.hero-sub, .page-lead, .approach-text, .story-block p, .service-body p,
.svc-desc, .tier-desc, .result-meta, .cta-sub, .calc-group-sub,
.calc-opt-desc, .calc-est-k{
  color:rgba(244,241,234,0.82) !important;  /* was ~0.55-0.72, now passes AA */
}
/* Very faint notes/disclaimers — raise to a legible level */
.calc-disclaimer, .calc-est-note, .footer-copy, .footer-meta,
.calc-phase-when, .launch-thanks span, .mark-v{
  color:rgba(244,241,234,0.7) !important;   /* was ~0.4-0.45 */
}
/* Nav links slightly brighter for legibility */
.nav-links a{ opacity:0.85; }
/* Footer meta links inherit the brighter color */
.footer-meta a{ color:rgba(244,241,234,0.75); }

/* ===================================================================
   CASE STUDY (Results page)
   =================================================================== */
.casestudy{ max-width:1000px; margin:0 auto; padding:20px 40px 100px; }
.cs-head{ text-align:center; max-width:760px; margin:0 auto 60px; }
.cs-sub{ color:rgba(244,241,234,0.8); font-size:1.1rem; line-height:1.7; margin-top:20px; }
.cs-stats{
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-bottom:70px;
}
.cs-stat{
  text-align:center; padding:40px 20px;
  border:1px solid var(--line); border-radius:10px;
  background:linear-gradient(180deg, rgba(201,162,75,0.05), transparent);
}
.cs-stat-num{ display:block; font-family:'Fraunces',serif; font-size:clamp(2.5rem,5vw,3.5rem); color:var(--gold); line-height:1; margin-bottom:12px; }
.cs-stat-label{ display:block; font-size:.92rem; color:rgba(244,241,234,0.72); line-height:1.4; }
.cs-cols{ display:grid; grid-template-columns:1fr 1fr; gap:50px; margin-bottom:70px; }
.cs-col h3{ font-family:'Fraunces',serif; font-weight:400; font-size:1.5rem; color:var(--gold); margin-bottom:16px; }
.cs-col p{ color:rgba(244,241,234,0.8); line-height:1.7; }
.cs-results{ text-align:center; }
.cs-results h3{ font-family:'Fraunces',serif; font-weight:400; font-size:1.8rem; margin-bottom:36px; }
.cs-result-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px 24px; margin-bottom:50px; }
.cs-r{ display:flex; flex-direction:column; gap:6px; }
.cs-r-change{ font-family:'Fraunces',serif; font-size:1.9rem; color:#7Fc99A; }
.cs-r-metric{ font-size:.85rem; letter-spacing:1px; text-transform:uppercase; color:rgba(244,241,234,0.6); }
.cs-close{ max-width:720px; margin:0 auto; font-family:'Fraunces',serif; font-style:italic; font-size:1.25rem; line-height:1.6; color:var(--ivory); }

@media (max-width:820px){
  .casestudy{ padding:10px 24px 70px; }
  .cs-stats{ grid-template-columns:1fr; gap:16px; margin-bottom:50px; }
  .cs-cols{ grid-template-columns:1fr; gap:36px; margin-bottom:50px; }
  .cs-result-grid{ grid-template-columns:1fr 1fr; gap:26px 16px; }
}

/* Ads custom-quote value + project note in estimate */
.calc-est-v-custom{ font-family:'Fraunces',serif; font-size:1.15rem; color:var(--gold); font-style:italic; }
.calc-est-ads{ padding-top:14px; margin-top:4px; border-top:1px solid rgba(255,255,255,0.06); }
.calc-project-note, .calc-ads-note{ font-size:.78rem; color:rgba(244,241,234,0.6) !important; margin:4px 0 14px; line-height:1.5; text-align:right; }

/* Homepage proof section (real Yaya stats) */
.home-proof{ max-width:820px; margin:0 auto; text-align:center; }
.home-proof-stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-bottom:36px; }
.hp-stat{ display:flex; flex-direction:column; gap:8px; padding:32px 16px; border:1px solid var(--line); border-radius:10px; background:linear-gradient(180deg,rgba(201,162,75,0.05),transparent); }
.hp-num{ font-family:'Fraunces',serif; font-size:clamp(2.2rem,4.5vw,3rem); color:var(--gold); line-height:1; }
.hp-label{ font-size:.88rem; color:rgba(244,241,234,0.72); letter-spacing:.3px; }
.home-proof-caption{ font-size:1.08rem; color:rgba(244,241,234,0.82); line-height:1.7; max-width:640px; margin:0 auto 32px; }
@media (max-width:820px){ .home-proof-stats{ grid-template-columns:1fr; gap:14px; } }

/* Growth & Maintenance included list in calculator */
.calc-included-list{ list-style:none; margin:14px 0 0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:8px 16px; }
.calc-included-list li{ position:relative; padding-left:20px; font-size:.88rem; color:rgba(244,241,234,0.8); }
.calc-included-list li::before{ content:"\2713"; position:absolute; left:0; color:var(--gold); font-weight:bold; }
.calc-opt-locked{ align-items:flex-start; }
.calc-opt-locked .calc-badge{ font-size:.72rem; }

/* Additional services section */
.addl-services{ padding:40px 40px 120px; }
.addl-inner{ max-width:1100px; margin:0 auto; }
.addl-sub{ color:rgba(244,241,234,0.72); font-size:1.05rem; margin-top:16px; }
.addl-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:50px; }
.addl-card{
  border:1px solid var(--line); border-radius:10px; padding:34px 28px;
  background:linear-gradient(180deg, rgba(201,162,75,0.04), transparent);
  transition:transform .5s var(--ease), background .5s var(--ease);
  display:flex; flex-direction:column;
}
.addl-card:hover{ transform:translateY(-5px); background:rgba(201,162,75,0.06); }
.addl-card h3{ font-family:'Fraunces',serif; font-weight:400; font-size:1.35rem; margin-bottom:14px; color:var(--ivory); }
.addl-card p{ color:rgba(244,241,234,0.75); font-size:.95rem; line-height:1.6; flex:1; margin-bottom:20px; }
.addl-price{ font-family:'Fraunces',serif; font-size:1.4rem; color:var(--gold); }

@media (max-width:820px){
  .calc-included-list{ grid-template-columns:1fr; }
  .addl-services{ padding:20px 24px 80px; }
  .addl-grid{ grid-template-columns:1fr; gap:16px; margin-top:36px; }
}
