/* ==========================================================================
   BALAJI ASSOCIATES — Core Stylesheet
   Design system: Deep Navy / Warm Gold / Cream
   Display: Fraunces | Body: IBM Plex Sans | Data: IBM Plex Mono
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root{
  --navy-deep:   #071426;
  --navy:        #0B1E33;
  --navy-soft:   #16283F;
  --navy-line:   rgba(246,241,231,0.12);

  --gold:        #B78A3E;
  --gold-light:  #D9B876;
  --gold-pale:   #EFE0BC;
  --gold-dim:    rgba(183,138,62,0.35);

  --cream:       #F6F1E7;
  --cream-dim:   #EFE7D6;
  --white:       #FFFFFF;

  --ink:         #14202E;
  --ink-muted:   #5C6773;
  --ink-on-navy: #C9D2DC;
  --ink-on-navy-dim: #8B97A4;

  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --container: 1240px;
  --gutter: clamp(24px, 5vw, 80px);

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 28px;

  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --header-h: 92px;
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; margin: 0; padding: 0; }
html{ scroll-behavior: auto; }
html.lenis, html.lenis body{ height: auto; }
.lenis.lenis-smooth{ scroll-behavior: auto !important; }

body{
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; }
button{ font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select{ font: inherit; color: inherit; }
svg{ display: block; }

h1,h2,h3,h4,h5{
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.on-navy h1, .on-navy h2, .on-navy h3, .on-navy h4,
.navy h1, .navy h2, .navy h3, .navy h4,
.page-header h1, .page-header h2, .page-header h3, .page-header h4{ color: var(--cream); }

p{ color: var(--ink-muted); }
.on-navy p, .navy p, .page-header p{ color: var(--ink-on-navy); }

/* Visually hidden (a11y) */
.vh{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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

/* ---------- Layout helpers ---------- */
.container{ max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section{ position: relative; padding: clamp(72px, 10vw, 140px) 0; }
.section.navy, .section.on-navy{ background: var(--navy); }
.section-tight{ padding: clamp(48px, 6vw, 88px) 0; }

.eyebrow{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before{
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
}

.section-head{ max-width: 680px; margin-bottom: clamp(36px, 6vw, 64px); }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2{ font-size: clamp(32px, 4vw, 48px); margin-bottom: 18px; }
.section-head .lede{ font-size: 17px; max-width: 60ch; }

.grid{ display: grid; gap: var(--gutter); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }

.divider{
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  border: none;
  margin: 0;
}
.on-navy .divider, .navy .divider{ background: linear-gradient(90deg, transparent, rgba(183,138,62,0.55), transparent); }

/* ---------- Buttons ---------- */
.btn{
  --btn-fg: var(--cream);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform .45s var(--ease-luxury), background .3s var(--ease-soft), color .3s var(--ease-soft), border-color .3s var(--ease-soft);
  white-space: nowrap;
}
.btn-primary{
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-primary:hover{ background: var(--gold-light); }
.btn-outline{
  border: 1px solid var(--gold-dim);
  color: var(--ink);
  background: transparent;
}
.on-navy .btn-outline, .navy .btn-outline, .cta-band .btn-outline{ color: var(--cream); border-color: rgba(217,184,118,0.4); }
.btn-outline:hover{ border-color: var(--gold); background: rgba(183,138,62,0.08); }
.btn-arrow{ transition: transform .4s var(--ease-luxury); }
.btn:hover .btn-arrow{ transform: translate(3px,-3px); }
.btn.magnetic{ will-change: transform; }

.btn-ghost{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--gold-dim);
  transition: border-color .3s var(--ease-soft), color .3s var(--ease-soft);
}
.on-navy .btn-ghost, .navy .btn-ghost, .hero .btn-ghost, #site-header .btn-ghost{ color: var(--gold-pale); }
.btn-ghost:hover{ border-color: var(--gold); color: var(--gold); }
.btn-ghost svg{ width: 14px; height: 14px; transition: transform .35s var(--ease-luxury); }
.btn-ghost:hover svg{ transform: translateX(3px); }

/* ---------- Splash Screen ---------- */
#splash{
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
#splash.splash-hide{
  pointer-events: none;
}
.splash-particles{ position: absolute; inset: 0; }
.splash-particles span{
  position: absolute;
  width: 2px; height: 2px;
  background: var(--gold-light);
  border-radius: 50%;
  opacity: 0;
}
.splash-seal{
  position: relative;
  width: clamp(72px, 9vw, 96px);
  height: clamp(72px, 9vw, 96px);
  margin: 0 auto 30px;
  opacity: 0;
}
.splash-seal svg{ width: 100%; height: 100%; }
.splash-seal circle, .splash-seal path{
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
}
.splash-wordmark{
  font-family: var(--font-display);
  font-size: clamp(30px, 6vw, 58px);
  color: var(--cream);
  letter-spacing: 0.02em;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.02em;
}
.splash-wordmark .char{ display: inline-block; opacity: 0; transform: translateY(24px); }
.splash-tagline{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
  color: var(--gold);
  margin-top: 16px;
  opacity: 0;
}
.splash-sweep{
  position: absolute; top: 0; left: -40%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(217,184,118,0.14), transparent);
  transform: skewX(-15deg);
}
#skip-intro{
  position: absolute;
  bottom: clamp(24px, 5vw, 48px);
  right: clamp(24px, 5vw, 48px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-on-navy-dim);
  border: 1px solid var(--navy-line);
  padding: 10px 18px;
  border-radius: 999px;
  opacity: 0;
  transition: color .3s, border-color .3s;
}
#skip-intro:hover{ color: var(--gold); border-color: var(--gold-dim); }

/* ---------- Header / Nav ---------- */
#site-header{
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .5s var(--ease-soft), border-color .5s var(--ease-soft), height .4s var(--ease-soft);
  border-bottom: 1px solid transparent;
}
#site-header.scrolled{
  background: rgba(7,20,38,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--navy-line);
  height: 76px;
}
.nav-inner{
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.brand{ display: flex; align-items: center; gap: 12px; }
.brand-mark{ width: 40px; height: 40px; flex-shrink: 0; }
.brand-mark svg{ width: 100%; height: 100%; }
.brand-text{
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--cream);
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.brand-text small{
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links{ display: flex; align-items: center; gap: 40px; }
.nav-links a{
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink-on-navy);
  padding: 6px 0;
}
.nav-links a::after{
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .35s var(--ease-luxury);
}
.nav-links a:hover, .nav-links a[aria-current="page"]{ color: var(--cream); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after{ width: 100%; }

.nav-cta{ display: flex; align-items: center; gap: 22px; margin-left: 32px; }
.nav-cta .btn{ padding: 12px 22px; font-size: 13px; }

.nav-toggle{
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--navy-line);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content: "";
  display: block;
  width: 18px; height: 1px;
  background: var(--cream);
  position: relative;
  transition: transform .3s var(--ease-soft), opacity .3s;
}
.nav-toggle span::before{ position: absolute; top: -6px; }
.nav-toggle span::after{ position: absolute; top: 6px; }

.mobile-nav{
  position: fixed; inset: 0; z-index: 480;
  background: var(--navy-deep);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 32px;
  transform: translateY(-100%);
  transition: transform .55s var(--ease-luxury);
}
.mobile-nav.open{ transform: translateY(0); }
.mobile-nav a{ font-family: var(--font-display); font-size: 28px; color: var(--cream); }
.mobile-nav .nav-cta{ margin-top: 20px; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero-bg{
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 78% 18%, rgba(183,138,62,0.16), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(183,138,62,0.10), transparent 50%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 60%);
}
.hero-seal-watermark{
  position: absolute;
  right: clamp(-120px, -4vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(360px, 42vw, 620px);
  opacity: 0.55;
  pointer-events: none;
}
.hero-inner{
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--gutter);
  align-items: center;
  width: 100%;
  padding: 60px 0 40px;
}
.hero-eyebrow{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow .dot{ width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero h1{
  font-size: clamp(40px, 5.6vw, 74px);
  color: var(--cream);
  overflow: hidden;
}
.hero h1 .line{ display: block; overflow: hidden; }
.hero h1 .line span{ display: inline-block; }
.hero .lede{
  max-width: 46ch;
  font-size: clamp(16px, 1.4vw, 18.5px);
  margin: 26px 0 40px;
  color: var(--ink-on-navy);
}
.hero-ctas{ display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.hero-meta{
  display: flex; gap: 40px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--navy-line);
}
.hero-meta div span{ display: block; }
.hero-meta .num{
  font-family: var(--font-mono);
  font-size: 30px;
  color: var(--gold-light);
}
.hero-meta .lbl{
  font-size: 12px;
  color: var(--ink-on-navy-dim);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.hero-visual{ position: relative; }
.hero-frame{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--navy-line);
  transform: translateY(-24px) scale(1.08);
  z-index: 3;
}
.frame-badge{
  margin-top: 16px;
  background: rgba(7,20,38,0.72);
  backdrop-filter: blur(10px);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex; align-items: center; gap: 14px;
}


.hero-frame img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.frame-badge .badge-seal{ width: 34px; height: 34px; flex-shrink: 0; }
.frame-badge strong{ display: block; font-family: var(--font-display); font-size: 15px; color: var(--cream); }
.frame-badge span{ font-size: 12px; color: var(--ink-on-navy-dim); }

/* ---------- Image Placeholder System ---------- */
/* All real photography is added later by the client — these frames stay
   until swapped for actual <img> tags, and are styled to look intentional
   rather than "broken" so pages remain presentable in the meantime. */
.img-placeholder{
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(135deg, rgba(183,138,62,0.06) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, var(--navy-soft), var(--navy-deep));
  color: var(--gold-pale);
  text-align: center;
  overflow: hidden;
}
.img-placeholder::before{
  content: "";
  position: absolute; inset: 10px;
  border: 1px solid rgba(217,184,118,0.28);
  border-radius: calc(var(--radius-md) - 2px);
}
.img-placeholder .ph-icon{ width: 30px; height: 30px; margin: 0 auto 12px; opacity: 0.8; }
.img-placeholder .ph-label{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 20px;
  color: var(--gold-pale);
  opacity: 0.85;
  max-width: 220px;
}
.img-placeholder .ph-sub{
  display: block; margin-top: 6px;
  font-size: 9.5px; letter-spacing: 0.05em;
  color: var(--ink-on-navy-dim);
  text-transform: none;
}
.img-placeholder.light{
  background:
    repeating-linear-gradient(135deg, rgba(183,138,62,0.05) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #EFE7D6, #E4D9C1);
  color: var(--navy);
}
.img-placeholder.light .ph-label{ color: var(--navy-soft); }
.img-placeholder.light::before{ border-color: rgba(11,30,51,0.15); }

/* ---------- Cards ---------- */
.card{
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  border: 1px solid rgba(11,30,51,0.06);
  transition: transform .5s var(--ease-luxury), box-shadow .5s var(--ease-luxury), border-color .5s;
  will-change: transform;
}
.card:hover{
  box-shadow: 0 30px 60px -20px rgba(11,30,51,0.18);
  border-color: var(--gold-dim);
}

.card .card-icon{
  width: 46px; height: 46px;
  margin-bottom: 26px;
  color: var(--gold);
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.card-photo{
  width: calc(100% + 68px);
  margin: -40px -34px 24px;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}


.card h3{ font-size: 21px; margin-bottom: 12px; }
.card p{ font-size: 14.5px; }
.card .card-link{
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold);
}
.card .card-link svg{ width: 13px; height: 13px; transition: transform .35s var(--ease-luxury); }
.card:hover .card-link svg{ transform: translateX(3px); }

.card-dark{
  background: var(--navy-soft);
  border: 1px solid var(--navy-line);
}
.card-dark h3{ color: var(--cream); }
.card-dark p{ color: var(--ink-on-navy); }

/* Service card (compact, for grids of many items) */
.service-item{
  display: flex; align-items: flex-start; gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(11,30,51,0.08);
}
.on-navy .service-item, .navy .service-item{ border-color: var(--navy-line); }
.service-item .si-num{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  padding-top: 3px;
  flex-shrink: 0;
  width: 32px;
}
.service-item h4{ font-family: var(--font-body); font-weight: 600; font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.on-navy .service-item h4, .navy .service-item h4{ color: var(--cream); }
.service-item p{ font-size: 13.5px; }

/* ---------- Stats ---------- */
.stat-block{ text-align: center; }
.stat-block .stat-num{
  font-family: var(--font-mono);
  font-size: clamp(38px, 5vw, 58px);
  color: var(--gold-light);
  line-height: 1;
}
.stat-block .stat-lbl{
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--ink-on-navy-dim);
}

/* ---------- Timeline ---------- */
.timeline{ position: relative; padding-left: 40px; }
.timeline::before{
  content: "";
  position: absolute; left: 6px; top: 6px; bottom: 6px;
  width: 1px;
  background: var(--gold-dim);
}
.timeline .tl-progress{
  position: absolute; left: 6px; top: 6px;
  width: 1px; height: 0%;
  background: var(--gold);
}
.tl-item{ position: relative; padding-bottom: 52px; }
.tl-item:last-child{ padding-bottom: 0; }
.tl-item::before{
  content: "";
  position: absolute; left: -40px; top: 4px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--gold);
}
.on-navy .tl-item::before, .navy .tl-item::before{ background: var(--navy); }
.tl-year{ font-family: var(--font-mono); font-size: 13px; color: var(--gold); margin-bottom: 8px; display: block; }
.tl-item h4{ font-size: 19px; margin-bottom: 8px; }
.tl-item p{ font-size: 14.5px; max-width: 56ch; }

/* ---------- Testimonials ---------- */
.testimonial-card{
  background: var(--navy-soft);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: 44px;
}
.testimonial-card .quote-mark{ font-family: var(--font-display); font-size: 56px; color: var(--gold); line-height: 0.5; display:block; margin-bottom: 18px; }
.testimonial-card p{ font-size: 17px; color: var(--cream); font-family: var(--font-display); font-weight: 400; line-height: 1.5; }
.testimonial-author{ display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.testimonial-author .ta-avatar{ width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.testimonial-author strong{ display: block; font-size: 14.5px; color: var(--cream); }
.testimonial-author span{ font-size: 12.5px; color: var(--ink-on-navy-dim); }

/* ---------- FAQ ---------- */
.faq-item{ border-bottom: 1px solid rgba(11,30,51,0.1); }
.faq-q{
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink);
}
.faq-q .faq-plus{
  position: relative; width: 20px; height: 20px; flex-shrink: 0;
}
.faq-q .faq-plus::before, .faq-q .faq-plus::after{
  content: ""; position: absolute; background: var(--gold);
}
.faq-q .faq-plus::before{ left: 0; top: 50%; width: 100%; height: 1px; transform: translateY(-50%); }
.faq-q .faq-plus::after{ top: 0; left: 50%; width: 1px; height: 100%; transform: translateX(-50%); transition: transform .35s var(--ease-soft); }
.faq-item.open .faq-plus::after{ transform: translateX(-50%) scaleY(0); }
.faq-a{ max-height: 0; overflow: hidden; transition: max-height .5s var(--ease-soft); }
.faq-a p{ padding: 0 0 26px; max-width: 66ch; font-size: 15px; }

/* ---------- Map ---------- */
.map-card{
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--navy-line);
  position: relative;
  aspect-ratio: 16/9;
}
.map-card iframe{ width: 100%; height: 100%; border: 0; filter: grayscale(0.3) contrast(1.05); }

/* ---------- CTA Band ---------- */
.cta-band{
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 90px);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band .seal-bg{
  position: absolute; top: 50%; left: 50%;
  width: 520px; transform: translate(-50%,-50%);
  opacity: 0.06; pointer-events: none;
}
.cta-band h2{ color: var(--cream); font-size: clamp(30px, 4.5vw, 46px); max-width: 20ch; margin: 0 auto 20px; position: relative; z-index: 1;}
.cta-band p{ max-width: 50ch; margin: 0 auto 36px; position: relative; z-index: 1; }
.cta-band .hero-ctas{ justify-content: center; position: relative; z-index: 1; }

/* ---------- Footer ---------- */
footer{ background: var(--navy-deep); padding: 80px 0 0; border-top: 1px solid var(--navy-line); }
.footer-top{ display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; gap: 50px; padding-bottom: 60px; }
.footer-brand .brand{ margin-bottom: 20px; }
.footer-brand p{ font-size: 14px; max-width: 34ch; margin-bottom: 24px; }
.footer-social{ display: flex; gap: 12px; }
.footer-social a{
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--navy-line);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .3s, background .3s;
}
.footer-social a:hover{ border-color: var(--gold); background: rgba(183,138,62,0.1); }
.footer-social svg{ width: 15px; height: 15px; color: var(--gold-pale); }
.footer-col h5{
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
}
.footer-col ul li{ margin-bottom: 13px; }
.footer-col a{ font-size: 14px; color: var(--ink-on-navy); transition: color .3s; }
.footer-col a:hover{ color: var(--gold-light); }
.footer-col address{ font-style: normal; font-size: 14px; color: var(--ink-on-navy); line-height: 1.8; }
.footer-bottom{
  border-top: 1px solid var(--navy-line);
  padding: 26px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p{ font-size: 12.5px; color: var(--ink-on-navy-dim); }
.footer-bottom-links{ display: flex; gap: 24px; }
.footer-bottom-links a{ font-size: 12.5px; color: var(--ink-on-navy-dim); }
.footer-bottom-links a:hover{ color: var(--gold); }

/* ---------- Forms ---------- */
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field{ margin-bottom: 22px; }
.field label{
  display: block; font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px;
}
.field input, .field textarea{
  width: 100%;
  background: transparent;
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-sm);
  padding: 15px 16px;
  color: var(--cream);
  font-size: 14.5px;
  transition: border-color .3s;
}
.field input::placeholder, .field textarea::placeholder{ color: var(--ink-on-navy-dim); }
.field input:focus, .field textarea:focus{ border-color: var(--gold); outline: none; }
.field-check{ display: flex; align-items: flex-start; gap: 10px; margin-bottom: 26px; }
.field-check input{ margin-top: 4px; accent-color: var(--gold); }
.field-check label{ font-size: 13px; color: var(--ink-on-navy-dim); text-transform: none; letter-spacing: 0; font-family: var(--font-body); }
.form-note{ font-size: 12.5px; color: var(--ink-on-navy-dim); margin-top: 14px; }

/* Light-panel form variant on cream */
.panel-light{ background: var(--white); border-radius: var(--radius-lg); padding: clamp(32px,5vw,50px); border: 1px solid rgba(11,30,51,0.06); }
.panel-light .field label{ color: var(--gold); }
.panel-light .field input, .panel-light .field textarea{ color: var(--ink); border-color: rgba(11,30,51,0.14); }
.panel-light .field input::placeholder, .panel-light .field textarea::placeholder{ color: var(--ink-muted); }

/* ---------- Contact quick-actions ---------- */
.quick-actions{ display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.qa-card{
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--navy-line);
  transition: border-color .3s, transform .4s var(--ease-luxury);
}
.qa-card:hover{ border-color: var(--gold-dim); transform: translateY(-4px); }
.qa-card svg{ width: 24px; height: 24px; color: var(--gold); }
.qa-card strong{ font-size: 14.5px; color: var(--cream); }
.qa-card span{ font-size: 13px; color: var(--ink-on-navy-dim); }

/* ---------- Practice-area / GP page highlight ---------- */
.gp-highlight{
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center;
}
.gp-badge{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--gold-dim);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
}

/* ---------- Utility reveal classes (JS-controlled via GSAP) ---------- */
.reveal-up{ opacity: 0; transform: translateY(40px); }
.reveal-fade{ opacity: 0; }
.reveal-scale{ opacity: 0; transform: scale(0.94); }
.split-line{ overflow: hidden; }

/* Cursor magnetic zone hint */
.magnetic-wrap{ position: relative; display: inline-block; }

/* Scroll progress ring (nav) */
.scroll-ring{ position: relative; width: 34px; height: 34px; }
.scroll-ring svg{ width: 100%; height: 100%; transform: rotate(-90deg); }
.scroll-ring circle{ fill: none; stroke-width: 2; }
.scroll-ring .ring-bg{ stroke: var(--navy-line); }
.scroll-ring .ring-fg{ stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 88; stroke-dashoffset: 88; }

/* ---------- Page header (interior pages) ---------- */
.page-header{
  background: var(--navy);
  padding: calc(var(--header-h) + 90px) 0 90px;
  position: relative;
  overflow: hidden;
}
.page-header .hero-bg{ opacity: 0.9; }
.page-header .breadcrumb{
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  color: var(--ink-on-navy-dim); margin-bottom: 20px; text-transform: uppercase;
  position: relative; z-index: 2;
}
.page-header .breadcrumb a{ color: var(--gold); }
.page-header h1{ font-size: clamp(36px, 5vw, 60px); position: relative; z-index: 2; max-width: 16ch; }
.page-header .lede{ position: relative; z-index: 2; max-width: 55ch; margin-top: 20px; font-size: 17px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-visual{ order: -1; max-width: 420px; margin: 0 auto; }
  .grid-4{ grid-template-columns: repeat(2,1fr); }
  .grid-3{ grid-template-columns: repeat(2,1fr); }
  .footer-top{ grid-template-columns: 1fr 1fr; }
  .gp-highlight{ grid-template-columns: 1fr; }
  .quick-actions{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px){
  .nav-links, .nav-cta{ display: none; }
  .nav-toggle{ display: flex; }
  .grid-2{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .hero-meta{ flex-wrap: wrap; gap: 24px 40px; }
  .hero-seal-watermark{ display: none; }
}
@media (max-width: 640px){
  .grid-3, .grid-4{ grid-template-columns: 1fr; }
  .footer-top{ grid-template-columns: 1fr; gap: 40px; }
  :root{ --header-h: 76px; }
  .quick-actions{ grid-template-columns: 1fr; }
}

.sticky-col{ position: sticky; top: 120px; }

@media (max-width: 860px){
  .sticky-col{ position: static; }
}

@media (max-width: 860px){
    .hero-ctas{ flex-direction: column; align-items: flex-start; gap: 0; }
    .hero-ctas .btn-ghost{ margin-top: 24px; }
}