/* =========================================================================
   Bala & Co., Chartered Accountants — Design System
   Navy Blue + Gold Theme
   ========================================================================= */

:root {
  --navy-dark:    #071528;
  --navy:         #0D2247;
  --navy-mid:     #163568;
  --navy-light:   #1E4A8A;
  --navy-soft:    rgba(13, 34, 71, 0.08);
  --gold:         #C8960C;
  --gold-bright:  #E8AE14;
  --gold-deep:    #A67B0A;
  --gold-soft:    rgba(200, 150, 12, 0.10);
  --gold-glow:    rgba(200, 150, 12, 0.22);
  --saffron:      #E8821A;
  --bg:           #F8F9FC;
  --bg-alt:       #EEF1F8;
  --surface:      #FFFFFF;
  --surface-2:    #F4F6FB;
  --text:         #0D1B2A;
  --text-light:   #FFFFFF;
  --muted:        #4A5568;
  --border:       rgba(13, 34, 71, 0.10);
  --border-gold:  rgba(200, 150, 12, 0.30);
  --border-strong: rgba(13, 34, 71, 0.18);
  --shadow-xs:    0 2px 8px rgba(7, 21, 40, 0.06);
  --shadow-sm:    0 4px 16px rgba(7, 21, 40, 0.10);
  --shadow:       0 12px 40px rgba(7, 21, 40, 0.14);
  --shadow-lg:    0 32px 80px rgba(7, 21, 40, 0.20);
  --glow-gold:    0 8px 32px rgba(200, 150, 12, 0.35);
  --glow-navy:    0 8px 32px rgba(13, 34, 71, 0.40);
  --r-xs: 6px;
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --max:  1220px;
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body:    'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
}

/* ── Reset ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-dark);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.65rem, 2.7vw, 2.35rem); }
h3 { font-size: 1.26rem; letter-spacing: -0.008em; }

p { letter-spacing: -0.003em; }

/* Hero headline gets a subtle navy-to-gold gradient for a premium focal point */
.hero-content h1 {
  background: linear-gradient(100deg, var(--navy-dark) 35%, var(--navy) 55%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@supports not (background-clip: text) {
  .hero-content h1 { color: var(--navy-dark); }
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--text-light);
  padding: 0.8rem 1.2rem;
  border-radius: 0 0 var(--r-xs) 0;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* ── Utility ─────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.9rem;
  position: relative;
  padding-left: 1.6rem;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.15rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
}

.section-title { margin-bottom: 1.1rem; }
.section-intro {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 62ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 0.94rem;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  color: var(--text-light);
  box-shadow: var(--glow-navy);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary {
  background: var(--surface);
  color: var(--navy);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: var(--navy-dark);
  box-shadow: var(--glow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.section { padding: 5.5rem 0; }
.section-soft { background: var(--bg-alt); }
.section-shell { display: flex; flex-direction: column; gap: 3.2rem; }

.section-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  align-items: end;
}
.section-side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--r);
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow-xs);
  align-self: stretch;
}
.section-side-label {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.section-side-note { color: var(--muted); font-size: 0.94rem; }
.section-side-list { display: flex; flex-direction: column; gap: 0.55rem; }
.section-side-list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.94rem;
}
.section-side-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-gold); }

/* ── Reveal Animation ────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1.visible { transition-delay: 0.08s; }
.reveal-delay-2.visible { transition-delay: 0.16s; }
.reveal-delay-3.visible { transition-delay: 0.24s; }

/* ── Loader ──────────────────────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 30%, var(--navy-mid), var(--navy-dark));
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-box {
  position: relative;
  text-align: center;
  max-width: 100%;
  padding: clamp(1.8rem, 6vw, 2.8rem) clamp(1.3rem, 6vw, 3rem);
  box-sizing: border-box;
  animation: loader-box-in 0.6s ease both;
}

.loader-emblem-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(164px, 36vw, 214px);
  height: clamp(164px, 36vw, 214px);
  margin: 0 auto clamp(1.5rem, 3.8vw, 2.1rem);
}
.loader-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.loader-ring-track { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 2.5; }
.loader-ring-progress {
  fill: none;
  stroke: var(--gold-bright);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 402.12;
  stroke-dashoffset: 402.12;
  transition: stroke-dashoffset 0.1s linear;
}
.loader-emblem-img {
  position: relative;
  z-index: 2;
  display: block;
  width: clamp(112px, 26vw, 146px);
  height: auto;
  border-radius: var(--r);
  background: var(--surface);
  padding: 7px;
  box-shadow: var(--shadow-lg);
}
.loader-percent {
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.5);
  font-variant-numeric: tabular-nums;
}
.loader-text {
  margin-top: 1.15rem;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  white-space: nowrap;
}
.loader-tagline {
  margin-top: 0.25rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

@keyframes loader-box-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .loader-box { animation: none; }
  .loader-ring-progress { transition: none; }
}

/* ── Scroll Progress ─────────────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1001;
  background: transparent;
}
.scroll-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  transition: width 0.1s linear;
}

/* ── Header / Nav ────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248, 249, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-xs);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem 1.5rem;
}

.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-logo-wrap {
  display: inline-flex;
  border-radius: var(--r-xs);
  overflow: hidden;
  flex-shrink: 0;
}
.brand-logo-wrap img { border-radius: var(--r-xs); object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--navy-dark);
}
.brand-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}

.nav-right { display: flex; align-items: center; gap: 1.3rem; }
.site-nav { display: flex; align-items: center; gap: 1.15rem; }
.site-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  padding: 0.3rem 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.site-nav a:hover, .site-nav a.active { color: var(--gold-deep); }
.site-nav a:hover::after, .site-nav a.active::after { width: 100%; }

.header-actions, .header-tools { display: flex; align-items: center; gap: 1rem; }
.header-cta {
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  color: var(--text-light);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.65rem 1.2rem;
  border-radius: var(--r-sm);
  white-space: nowrap;
  box-shadow: var(--glow-navy);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.header-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xs);
  width: 42px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.menu-btn svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 4rem 0 3rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 60%, var(--bg-alt) 100%);
  overflow: hidden;
}
.hero-bg-shape {
  position: absolute;
  top: -20%;
  right: -12%;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}
.hero-content h1 { margin-bottom: 1.1rem; }
.hero-lead { color: var(--muted); font-size: 1.06rem; max-width: 56ch; margin-bottom: 1.8rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.4rem; }

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border);
}
.hero-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.hero-metric span { font-size: 0.82rem; color: var(--muted); line-height: 1.35; }

.hero-panel {
  background: linear-gradient(160deg, var(--navy), var(--navy-dark));
  color: var(--text-light);
  border-radius: var(--r-lg);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 0%, rgba(200,150,12,0.18), transparent 60%);
  pointer-events: none;
}
.panel-kicker {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0.7rem;
}
.hero-panel h2 { color: var(--text-light); font-size: 1.35rem; margin-bottom: 0.9rem; }
.panel-intro { color: rgba(255,255,255,0.78); font-size: 0.92rem; margin-bottom: 1.5rem; }

.hero-panel-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-bottom: 1.6rem; }
.hero-panel-chip {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(232,174,20,0.25);
  border-radius: var(--r-sm);
  padding: 0.8rem 1rem;
}
.hero-panel-chip strong { display: block; font-size: 0.86rem; color: var(--gold-bright); margin-bottom: 0.2rem; }
.hero-panel-chip span { font-size: 0.76rem; color: rgba(255,255,255,0.7); }

.hero-stack { display: flex; flex-direction: column; gap: 0.8rem; }
.hero-stack-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-sm);
  padding: 0.9rem 1.1rem;
}
.hero-stack-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy-dark);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  padding: 0.22rem 0.6rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}
.hero-stack-card p { font-size: 0.85rem; color: rgba(255,255,255,0.85); line-height: 1.45; }

.hero-ribbon {
  position: relative;
  z-index: 1;
  margin-top: 2.8rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  padding-top: 1.8rem;
  border-top: 1px dashed var(--border-strong);
}
.hero-ribbon-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  flex-shrink: 0;
}
.hero-ribbon-items { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hero-ribbon-items span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
}

/* ── Stats Strip ─────────────────────────────────────────────────────── */
.stats { background: var(--navy-dark); padding: 2.6rem 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
.stat { border-right: 1px solid rgba(255,255,255,0.1); }
.stat:last-child { border-right: none; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 0.3rem;
}
.stat-label { font-size: 0.82rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.75); }

/* ── About / Story ───────────────────────────────────────────────────── */
.story-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.6rem; align-items: start; }
.story-copy-card p + p { margin-top: 1rem; }
.story-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.story-panel-kicker {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
}
.story-list { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.4rem; }
.story-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.story-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-deep);
  font-weight: 700;
}
.story-panel-note {
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
}
.story-panel-note strong { display: block; color: var(--navy); font-size: 0.9rem; margin-bottom: 0.3rem; }
.story-panel-note p { font-size: 0.86rem; color: var(--muted); }

.advantage-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.advantage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.8rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.advantage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-gold); }
.advantage-index {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 0.6rem;
}
.advantage-card h3 { margin-bottom: 0.5rem; font-size: 1.08rem; }
.advantage-card p { color: var(--muted); font-size: 0.9rem; }

/* ── Focus / Client Fit ──────────────────────────────────────────────── */
.focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.focus-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--r);
  padding: 1.6rem;
}
.focus-card h3 { font-size: 1.02rem; margin-bottom: 0.6rem; }
.focus-card p { color: var(--muted); font-size: 0.88rem; }

/* ── Services ────────────────────────────────────────────────────────── */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.service-card { padding: 1.9rem; position: relative; }
.service-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, var(--navy-mid), var(--navy-dark));
  margin-bottom: 1.1rem;
  box-shadow: var(--glow-navy);
}
.service-badge-symbol { font-size: 1.35rem; color: var(--gold-bright); }
.service-badge-finance,
.service-badge-advisory { background: linear-gradient(150deg, var(--gold), var(--gold-deep)); box-shadow: var(--glow-gold); }
.service-badge-finance .service-badge-symbol,
.service-badge-advisory .service-badge-symbol { color: var(--navy-dark); }

.service-card-top { margin-bottom: 0.6rem; }
.service-card-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.3rem;
}
.service-card-top h3 { font-size: 1.12rem; }
.service-card > p { color: var(--muted); font-size: 0.9rem; margin: 0.6rem 0 1rem; }
.service-points { display: flex; flex-direction: column; gap: 0.5rem; }
.service-points li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.84rem;
  color: var(--muted);
}
.service-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.service-detail-grid { display: flex; flex-direction: column; gap: 0.8rem; }
.service-detail {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.service-detail summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-dark);
  font-size: 1.02rem;
}
.service-detail summary::-webkit-details-marker { display: none; }
.detail-chip {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  flex-shrink: 0;
  position: relative;
  transition: transform 0.25s ease, background 0.25s ease;
}
.detail-chip::before, .detail-chip::after {
  content: '';
  position: absolute;
  background: var(--gold-deep);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.detail-chip::before { width: 10px; height: 2px; }
.detail-chip::after { width: 2px; height: 10px; transition: opacity 0.2s ease; }
.service-detail[open] summary { border-bottom: 1px solid var(--border); background: var(--surface-2); }
.service-detail[open] .detail-chip { background: var(--gold); }
.service-detail[open] .detail-chip::before, .service-detail[open] .detail-chip::after { background: var(--navy-dark); }
.service-detail[open] .detail-chip::after { opacity: 0; }
.detail-body { padding: 1.4rem 1.6rem 1.6rem; }
.detail-body > p { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.9rem; }
.detail-list { display: flex; flex-direction: column; gap: 0.55rem; }
.detail-list li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.detail-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 0.82rem;
}
.service-detail-note { text-align: center; color: var(--muted); font-size: 0.85rem; font-style: italic; }

.service-note-box {
  margin-top: 1rem;
  padding: 2rem;
  background: var(--bg-alt);
  border-radius: var(--r);
  border: 1px solid var(--border);
}
.service-note-box p { font-size: 0.88rem; color: var(--muted); font-style: italic; margin-bottom: 1rem; }
.service-note-box strong { font-style: normal; color: var(--navy-dark); }

/* ── Privacy Cluster ─────────────────────────────────────────────────── */
.privacy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.privacy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.6rem;
  border-bottom: 3px solid var(--navy);
}
.privacy-card h3 { font-size: 1rem; margin-bottom: 0.6rem; }
.privacy-card p { color: var(--muted); font-size: 0.88rem; }
.positioning-note {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: rgba(255,255,255,0.9);
  border-radius: var(--r);
  padding: 1.6rem 1.8rem;
  font-size: 0.9rem;
  line-height: 1.6;
}
.positioning-note strong { color: var(--gold-bright); display: block; margin-bottom: 0.4rem; }

/* ── Process ─────────────────────────────────────────────────────────── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.process-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.8rem;
  position: relative;
}
.process-number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-light);
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.process-card h3 { font-size: 1.04rem; margin-bottom: 0.5rem; }
.process-card p { color: var(--muted); font-size: 0.88rem; }

/* ── Leadership / Partners ───────────────────────────────────────────── */
.leaders-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.leader-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--r);
  padding: 2rem;
}
.leader-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.4rem;
}
.leader-card h3 { margin-bottom: 0.5rem; }
.leader-credentials { font-size: 0.86rem; color: var(--navy); font-weight: 600; margin-bottom: 0.8rem; }
.leader-card > p:not(.leader-label):not(.leader-credentials):not(.leader-focus) { color: var(--muted); font-size: 0.92rem; margin-bottom: 1rem; }
.leader-focus { font-size: 0.86rem; color: var(--navy); font-weight: 600; border-top: 1px solid var(--border); padding-top: 0.9rem; }

.credential-strip { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2rem; }
.credential-chip {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--border-gold);
  padding: 0.5rem 1rem;
  border-radius: 20px;
}
.section-link { margin-top: 1.6rem; }

/* ── Contact ─────────────────────────────────────────────────────────── */
.contact-shell { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.6rem; align-items: start; }
.contact-card-info {
  margin: 1.4rem 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--r);
  padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow-xs);
}
.contact-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy-dark);
  margin-bottom: 0.45rem;
}
.contact-card-meta {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 0.9rem;
}
.contact-card-address { display: flex; gap: 0.65rem; align-items: flex-start; }
.contact-card-address svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-card-address span { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }
.contact-chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.6rem; }
.contact-chip {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
}
.direct-contact-list { display: flex; flex-wrap: wrap; gap: 1rem; }
.direct-contact-item {
  flex: 1 1 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.9rem 1.1rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.direct-contact-item:hover { border-color: var(--gold); transform: translateY(-2px); }
.direct-contact-label { display: block; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.25rem; }
.direct-contact-item strong { font-size: 0.94rem; color: var(--navy-dark); }

.contact-form-card, .contact-direct-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
}
.form-panel-head { margin-bottom: 1.4rem; }
.form-panel-head h3 { font-size: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin-bottom: 1rem; }
.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xs);
  background: var(--surface-2);
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
  background: var(--surface);
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-submit { width: 100%; justify-content: center; margin-top: 0.4rem; }
.form-hint { font-size: 0.78rem; color: var(--muted); margin-top: 0.8rem; text-align: center; }

/* ── Careers ─────────────────────────────────────────────────────────── */
.career-card {
  background: linear-gradient(160deg, var(--navy), var(--navy-dark));
  border-radius: var(--r-xl);
  padding: 3rem;
  color: var(--text-light);
}
.career-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; }
.career-copy h2 { color: var(--text-light); }
.career-copy p { color: rgba(255,255,255,0.78); margin-top: 1rem; }
.career-highlight {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 2rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.career-label { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-bright); }
.career-contact-name { font-weight: 700; font-size: 1.05rem; }
.career-highlight a { color: var(--gold-bright); font-weight: 600; }
.career-process-head { margin-bottom: 1.2rem; }
.career-process-label { font-weight: 700; color: var(--gold-bright); font-size: 0.9rem; margin-bottom: 0.4rem; }
.career-process-note { color: rgba(255,255,255,0.7); font-size: 0.86rem; }
.career-process { display: flex; flex-direction: column; gap: 1rem; }
.career-process-step { display: flex; gap: 1rem; align-items: flex-start; }
.career-step-number {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
}
.career-step-copy strong { display: block; font-size: 0.92rem; margin-bottom: 0.2rem; }
.career-step-copy span { font-size: 0.82rem; color: rgba(255,255,255,0.7); }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.82); padding: 4rem 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo-wrap { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.footer-logo-img, .footer-brand-image, .footer-brand-badge img {
  border-radius: var(--r-xs);
  background: var(--surface);
  padding: 3px;
}
.footer-brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--text-light); }
.footer-brand-sub { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-bright); }
.footer-desc, .footer-note { font-size: 0.86rem; line-height: 1.6; margin-bottom: 1rem; color: rgba(255,255,255,0.68); }
.footer-icai {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-bright);
  border: 1px solid rgba(232,174,20,0.35);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
}
.footer-col-title, .footer-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--text-light);
  margin-bottom: 1.1rem;
  font-weight: 700;
}
.footer-links-list, .footer-links, .footer-contact { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links-list a, .footer-links a, .footer-contact a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.68);
  transition: color 0.2s ease;
}
.footer-links-list a:hover, .footer-links a:hover, .footer-contact a:hover { color: var(--gold-bright); }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.9rem; }
.footer-contact-label { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 0.2rem; }
.footer-contact-item a, .footer-contact-item p { font-size: 0.88rem; color: rgba(255,255,255,0.82); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 1.6rem 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ── Services Quick-View Drawer ──────────────────────────────────────── */
.services-drawer {
  --sd-tab-w: 46px;
  --sd-panel-w: 300px;
  position: fixed;
  bottom: 7rem;
  right: calc(-1 * var(--sd-panel-w));
  z-index: 940;
  display: flex;
  align-items: flex-end;
  transition: right 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}
.services-drawer.open { right: 0; }

.services-drawer-tab {
  flex-shrink: 0;
  width: var(--sd-tab-w);
  height: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  background: linear-gradient(160deg, var(--navy-light), var(--navy));
  color: var(--text-light);
  border: none;
  border-radius: var(--r) 0 0 var(--r);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  touch-action: manipulation;
  padding: 1rem 0;
}
.services-drawer-tab:hover { box-shadow: var(--glow-gold), var(--shadow-lg); }
.services-drawer-arrow {
  width: 17px;
  height: 17px;
  stroke: var(--gold-bright);
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.services-drawer.open .services-drawer-arrow { transform: rotate(180deg); }
.services-drawer-tab-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.services-drawer-panel {
  width: var(--sd-panel-w);
  max-height: 74vh;
  overflow-y: auto;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  padding: 1.6rem 1.5rem 1.4rem;
  box-sizing: border-box;
}
.services-drawer-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.3rem;
}
.services-drawer-title { font-size: 1.15rem; margin-bottom: 1rem; }
.services-drawer-list { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.2rem; }
.services-drawer-list a {
  display: block;
  padding: 0.7rem 0.8rem;
  border-radius: var(--r-xs);
  border: 1px solid var(--border);
  touch-action: manipulation;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.services-drawer-list a:hover { border-color: var(--border-gold); background: var(--gold-soft); transform: translateX(-2px); }
.services-drawer-list strong { display: block; font-size: 0.86rem; color: var(--navy-dark); margin-bottom: 0.2rem; }
.services-drawer-list span { display: block; font-size: 0.76rem; color: var(--muted); line-height: 1.4; }
.services-drawer-cta { width: 100%; justify-content: center; font-size: 0.86rem; padding: 0.75rem 1rem; }

@media (max-width: 640px) {
  .services-drawer { --sd-panel-w: min(78vw, 280px); bottom: 6rem; }
  .services-drawer-panel { max-height: 58vh; }
}

/* ── Social Float (LinkedIn) ─────────────────────────────────────────── */
.social-float {
  position: fixed;
  left: 1.6rem;
  bottom: 1.6rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  box-shadow: var(--shadow);
  opacity: 0.8;
  z-index: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}
.social-float:hover { opacity: 1; transform: translateY(-3px) scale(1.06); box-shadow: var(--glow-gold), var(--shadow-lg); }
.social-float:active { transform: translateY(-1px) scale(0.97); }
.social-float svg { width: 20px; height: 20px; fill: var(--gold-bright); }

/* ── Back to Top ─────────────────────────────────────────────────────── */
.to-top {
  position: fixed;
  bottom: 1.6rem;
  right: 1.6rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  color: var(--text-light);
  border: none;
  padding: 0;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: scale(0.55) translateY(14px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  z-index: 900;
  cursor: pointer;
}
.to-top.visible { opacity: 1; transform: scale(1) translateY(0); pointer-events: auto; }
.to-top:hover { box-shadow: var(--glow-gold), var(--shadow-lg); transform: scale(1.08); }
.to-top:active { transform: scale(0.94); }

.to-top-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}
.to-top-ring-track { fill: none; stroke: rgba(255,255,255,0.2); stroke-width: 2.5; }
.to-top-ring-progress {
  fill: none;
  stroke: var(--gold-bright);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 125.66;
  stroke-dashoffset: 125.66;
  transition: stroke-dashoffset 0.1s linear;
}

.to-top-arrow {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  stroke: var(--text-light);
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: to-top-bob 2.2s ease-in-out infinite;
}
@keyframes to-top-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
  .to-top-arrow { animation: none; }
}

/* ── Services Page Specific ──────────────────────────────────────────── */
.page-hero, .services-page-hero {
  padding: 4.5rem 0 3rem;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  text-align: left;
}
.cred-chip {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--border-gold);
  padding: 0.4rem 1rem;
  border-radius: 20px;
}

.services-list-section { padding: 4rem 0 5.5rem; }
.services-list-section .container { display: flex; flex-direction: column; gap: 1.6rem; }
.service-full-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.2rem;
  scroll-margin-top: 6.5rem;
}
.service-full-head { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.6rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--border); }
.service-full-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold-bright);
  background: linear-gradient(150deg, var(--navy-mid), var(--navy-dark));
  box-shadow: var(--glow-navy);
}
.service-full-title h2 { font-size: 1.3rem; margin-bottom: 0.2rem; }
.service-full-title span { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-deep); }
.service-full-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.2rem; }
.service-full-desc p { color: var(--muted); font-size: 0.93rem; margin-bottom: 0.9rem; }
.service-full-points h4 { font-family: var(--font-body); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); margin-bottom: 0.8rem; }

/* ── Squad Page Specific ─────────────────────────────────────────────── */
.team-summary-strip { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.8rem; }
.squad-section { padding: 3.2rem 0; }
.squad-section:nth-child(even) { background: var(--bg-alt); }
.squad-section-head { margin-bottom: 2rem; }
.squad-section-title { font-size: 1.5rem; position: relative; padding-bottom: 0.8rem; }
.squad-section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
}
.squad-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.squad-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--r);
  padding: 1.8rem;
}
.squad-role { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.5rem; }
.squad-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.squad-card > p:not(.squad-role) { color: var(--muted); font-size: 0.88rem; margin-bottom: 0.6rem; }
.team-cta-card {
  background: linear-gradient(160deg, var(--navy), var(--navy-dark));
  color: rgba(255,255,255,0.85);
  border-radius: var(--r-lg);
  padding: 2.4rem;
  text-align: center;
}
.team-cta-card p { margin-bottom: 1rem; max-width: 70ch; margin-left: auto; margin-right: auto; }
.team-cta-card a:not(.btn) { color: var(--gold-bright); font-weight: 600; }
.team-cta-card .btn { margin-top: 0.8rem; }

/* ── Section Dot Navigation ──────────────────────────────────────────── */
.section-dots {
  position: fixed;
  right: 1.6rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 850;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.section-dot {
  position: relative;
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-dot span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy-light);
  opacity: 0.35;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
  display: block;
}
.section-dot::before {
  content: attr(data-label);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--navy-dark);
  color: var(--text-light);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-xs);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.section-dot:hover::before { opacity: 1; transform: translateY(-50%) translateX(0); }
.section-dot:hover span { opacity: 0.7; transform: scale(1.15); }
.section-dot.active span { opacity: 1; background: var(--gold); transform: scale(1.35); }

/* ── Page-Transition Flash ───────────────────────────────────────────── */
.nav-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: var(--navy-dark);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
}
.nav-transition-overlay.flash { opacity: 0.55; }

/* ── 3D Tilt Cards ───────────────────────────────────────────────────── */
.tilt {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.tilt.tilting { transition: transform 0.08s linear; }
/* JS drives the hover transform for tilt-enabled cards; suppress any base
   :hover lift (e.g. .card:hover) so it can't fight the tilt transform. */
.tilt:hover { transform: none; box-shadow: var(--shadow); }
.tilt.tilting:hover { box-shadow: var(--shadow-lg); }

/* ── Hero 3D Orbs & Ring ─────────────────────────────────────────────── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  filter: blur(2px);
}
.hero-orb-1 {
  width: 130px;
  height: 130px;
  top: 12%;
  right: 22%;
  background: radial-gradient(circle at 32% 28%, var(--gold-bright), var(--gold-deep) 70%);
  opacity: 0.55;
  box-shadow: 0 20px 60px rgba(200,150,12,0.35);
  animation: orb-float-1 9s ease-in-out infinite;
}
.hero-orb-2 {
  width: 70px;
  height: 70px;
  top: 55%;
  right: 8%;
  background: radial-gradient(circle at 32% 28%, var(--navy-light), var(--navy-dark) 75%);
  opacity: 0.5;
  box-shadow: 0 16px 40px rgba(13,34,71,0.35);
  animation: orb-float-2 7s ease-in-out infinite;
}
.hero-ring {
  position: absolute;
  top: 8%;
  right: 14%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  background: conic-gradient(from 0deg, var(--gold-bright), transparent 20%, transparent 80%, var(--gold-bright));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  opacity: 0.45;
  animation: ring-spin 16s linear infinite;
}
@keyframes orb-float-1 {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-14px, 22px, 0) rotate(12deg); }
}
@keyframes orb-float-2 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(12px, -18px, 0); }
}
@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb, .hero-ring { animation: none; }
  .tilt { transition: none; }
  .reveal { transition: opacity 0.4s ease; transform: none; }
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .section-dots { display: none; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { order: -1; }
  .hero-orb-1, .hero-orb-2, .hero-ring { display: none; }
  .advantage-grid, .focus-grid, .service-grid, .privacy-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .squad-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid, .contact-shell, .career-grid { grid-template-columns: 1fr; }
  .section-top-grid { grid-template-columns: 1fr; align-items: start; }
  .service-full-body { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Collapse the nav to the hamburger menu earlier than the general content
   breakpoint — 8 nav items + logo + CTA don't fit a single row below ~1080px,
   and letting them squeeze in-between just wraps text mid-link/mid-button. */
@media (max-width: 1080px) {
  .nav-right .site-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 1.5rem 1.2rem;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }
  .nav-right .site-nav.open { opacity: 1; transform: translateY(0); visibility: visible; }
  .site-nav a { width: 100%; padding: 0.8rem 0; border-bottom: 1px solid var(--border); white-space: normal; }
  .menu-btn { display: flex; }
  .header-cta { display: none; }
}

@media (max-width: 780px) {
  .section { padding: 3.6rem 0; }
  .hero-metrics { grid-template-columns: 1fr; gap: 0.9rem; }
  .stats-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 1.2rem; }
  .stat:last-child { border-bottom: none; padding-bottom: 0; }
  .advantage-grid, .focus-grid, .service-grid, .privacy-grid, .process-grid, .leaders-grid, .squad-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .career-card { padding: 2rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-ribbon { flex-direction: column; align-items: flex-start; }
}
