/* ============================================================
   GEMMA ASSOCIATES — main.css
   Navy #0d1b3e · Gold #c9a84c · Clean Minimal
   ============================================================ */

/* ── Variables ── */
:root {
  --navy:        #0d1b3e;
  --navy-80:     rgba(13,27,62,.8);
  --navy-mid:    #162347;
  --navy-deep:   #091429;
  --gold:        #c9a84c;
  --gold-light:  #e8d5a3;
  --gold-pale:   #f9f3e3;
  --gold-dim:    rgba(201,168,76,.12);
  --white:       #ffffff;
  --off-white:   #fafaf8;
  --gray-50:     #f7f7f5;
  --gray-100:    #f0efeb;
  --gray-200:    #e2e0d8;
  --gray-400:    #9a9488;
  --gray-600:    #5a5650;
  --text:        #1a1814;
  --text-muted:  #6b6760;
  --sh-sm:       0 1px 4px rgba(13,27,62,.06);
  --sh-md:       0 4px 20px rgba(13,27,62,.09);
  --sh-lg:       0 16px 48px rgba(13,27,62,.14);
  --sh-gold:     0 8px 32px rgba(201,168,76,.18);
  --r-sm:        3px;
  --r-md:        6px;
  --r-lg:        12px;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;
  --max-w:       1160px;
  --section-pad: 72px;
}



/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; margin: 0; padding: 0; }
body { font-family: var(--font-sans); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.6; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }
ul { list-style: none; }
button, input, select, textarea { font-family: var(--font-sans); }
button { cursor: pointer; border: none; background: none; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ── Layout ── */
.g-container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }

/* ── Typography ── */
.serif { font-family: var(--font-serif); }
.gold-text { color: var(--gold); }

/* ============================================================
   HEADER
   ============================================================ */
.g-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: background .35s, box-shadow .35s;
}
.g-header.scrolled {
  background: var(--navy-deep);
  box-shadow: 0 1px 0 rgba(201,168,76,.2);
}
.g-header-inner {
  display: flex; align-items: center; height: 80px; gap: 0;
}

/* Logo */
.g-logo {
  display: flex; align-items: center; gap: 10px;
  margin-right: 56px; flex-shrink: 0; text-decoration: none;
}
/* WordPress custom logo sizing */
.g-logo img,
.g-logo .custom-logo,
.g-logo .custom-logo-link img {
  height: 72px !important;
  width: auto !important;
  max-height: 72px !important;
  max-width: 220px !important;
  display: block;
  object-fit: contain;
}
.g-logo .custom-logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
}
.g-logo-text {
  display: flex; flex-direction: column; line-height: 1.15;
}
.g-logo-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: .5px;
}
.g-logo-sub {
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

/* Nav */
.g-nav { flex: 1; }
.g-nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
.g-nav-item { position: relative; }
.g-nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px;
  font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,.78);
  letter-spacing: .2px;
  border-radius: var(--r-sm);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.g-nav-link:hover, .g-nav-item.is-active > .g-nav-link {
  color: var(--gold-light);
  background: rgba(255,255,255,.07);
}
.g-nav-item.is-active > .g-nav-link {
  color: var(--gold);
}

/* Dropdown */
.g-submenu {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--navy-deep);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--r-md);
  padding: 8px;
  min-width: 220px;
  opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: all .25s cubic-bezier(.16,1,.3,1);
  list-style: none;
  box-shadow: var(--sh-lg);
}
.g-nav-item:hover > .g-submenu {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.g-nav-item:hover > .g-nav-link svg {
  transform: rotate(180deg);
}
.g-sub-link {
  display: block; padding: 9px 14px;
  font-size: 13px; color: rgba(255,255,255,.65);
  border-radius: var(--r-sm);
  transition: all .2s;
}
.g-sub-link:hover { color: var(--gold-light); background: rgba(255,255,255,.06); }

/* Header actions */
.g-header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.g-btn-ghost {
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--r-sm);
  font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,.75);
  transition: all .2s;
  white-space: nowrap;
}
.g-btn-ghost:hover { border-color: rgba(201,168,76,.6); color: var(--gold-light); background: rgba(201,168,76,.06); }
.g-btn-gold {
  padding: 9px 22px;
  background: var(--gold);
  border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600;
  color: var(--navy-deep);
  transition: all .2s;
  white-space: nowrap;
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
}
.g-btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: var(--sh-gold); }

/* Hamburger */
.g-hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.g-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--gold-light); border-radius: 2px; transition: all .3s; }
.g-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.g-hamburger.is-open span:nth-child(2) { opacity: 0; }
.g-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   BUTTONS (global)
   ============================================================ */
.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px;
  background: var(--gold); color: var(--navy-deep);
  border-radius: var(--r-sm); font-size: 14px; font-weight: 600;
  border: none; cursor: pointer; transition: all .25s;
  letter-spacing: .2px;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--sh-gold); }
.btn-gold-sm { padding: 9px 22px; font-size: 13px; }

.btn-gold-job {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 22px;
  background: #ffffff; color: #000000;
  border-radius: var(--r-sm); font-size: 13px; font-weight: 600;
  border: 1px solid var(--gold); cursor: pointer; transition: all .25s;
  letter-spacing: .2px;
}
.btn-gold-job:hover { background: var(--gold); color: #ffffff; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 30px;
  background: transparent; color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: var(--r-sm); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all .25s;
}
.btn-outline:hover { background: var(--gold-dim); }
.btn-outline-white {
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.3);
}
.btn-outline-white:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }

.btn-text {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 500; color: var(--gold);
  transition: gap .2s;
}
.btn-text:hover { gap: 10px; }

/* ============================================================
   HERO — Homepage
   ============================================================ */

.g-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.g-hero-bg-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.04) 1px, transparent 1px);
  background-size: 64px 64px;
}
.g-hero-bg-radial {
  position: absolute; right: -10%; top: -20%;
  width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(201,168,76,.08) 0%, transparent 65%);
  pointer-events: none;
}
.g-hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 480px;
  gap: 80px; align-items: center;
}
.g-hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 500; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 24px;
}
.g-hero-eyebrow::before {
  content: ''; width: 32px; height: 1px; background: var(--gold); flex-shrink: 0;
}
.g-hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -.5px;
  margin-bottom: 24px;
}
.g-hero-heading em {
  font-style: italic;
  color: var(--gold);
}
.g-hero-sub {
  font-size: 16px; font-weight: 300;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 40px;
}
.g-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.g-hero-stats {
  display: flex; gap: 32px; margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(201,168,76,.15);
}
.g-hero-stat-num {
  font-family: var(--font-serif);
  font-size: 36px; font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.g-hero-stat-lbl {
  font-size: 12px; font-weight: 400;
  color: rgba(255,255,255,.45);
  letter-spacing: .5px;
}


/* ============================================================
   HERO
   ============================================================ */
.g-hero {
  background: var(--navy-deep);
  position: relative;
  width: 100%;
  display: block;
  overflow: hidden;
}
.g-hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.g-hero-bg-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.03) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ── Outer wrapper: 60% text | 40% image ── */
.g-hero-outer {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px 40px 0;
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 0;
  align-items: flex-end;
  min-height: calc(100vh - 80px);
  box-sizing: border-box;
}

/* ── Left 60%: text, vertically centered ── */
.g-hero-content {
  max-width: none;
  padding-right: 48px;
  padding-bottom: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.g-hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 500; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px;
}
.g-hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); flex-shrink: 0; }
.g-hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 400; color: #fff;
  line-height: 1.08; letter-spacing: -.5px; margin-bottom: 20px;
}
.g-hero-heading em { font-style: italic; color: var(--gold); }
.g-hero-sub {
  font-size: 16px; font-weight: 300;
  color: rgba(255,255,255,.58); line-height: 1.75;
  margin-bottom: 32px; max-width: 400px;
}
.g-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.g-hero-stats {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 32px;
  border-top: 1px solid rgba(201,168,76,.15);
}
.g-hero-stat-num {
  font-family: var(--font-serif);
  font-size: 32px; font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 4px;
}
.g-hero-stat-lbl { font-size: 12px; font-weight: 300; color: rgba(255,255,255,.38); }

/* ── Right: card (kept for back-compat but hidden in new layout) ── */
.g-hero-card-wrap { display: none; }

/* ══════════════════════════════════════════════
   ACTIVE MANDATES BAR — 3 cards, 2 items each
   ══════════════════════════════════════════════ */
.g-hero-mandates-bar {
  position: relative;
  z-index: 2;
  background: var(--navy-deep);
  border-top: 1px solid rgba(201,168,76,.18);
  padding: 28px 40px 36px;
}
.g-hero-mandates-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.g-hero-mandates-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}

/* 3-card grid */
.g-hero-mandates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

/* Each card wraps 2 mandate items */
.g-mandate-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,168,76,.14);
  border-radius: 10px;
  overflow: hidden;
}

/* Each row inside a card */
.g-hero-mandate-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.g-hero-mandate-item:last-child { border-bottom: none; }
.g-hero-mandate-item:nth-child(n+7) { display: none; }

.g-hero-mandate-body { flex: 1; min-width: 0; }

.g-hero-card {
  background: rgba(13,27,62,.7);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.g-hero-card-title {
  font-size: 10px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.g-hero-card-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.05);
}
.g-hero-card-item:last-of-type { border-bottom: none; }
.g-hero-card-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0; margin-top: 5px;
}
.g-hero-card-role { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.9); margin-bottom: 3px; }
.g-hero-card-company { font-size: 11px; color: rgba(255,255,255,.35); }
.g-hero-card-badge {
  margin-left: auto; flex-shrink: 0;
  font-size: 9px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 3px 9px; border-radius: 20px;
  white-space: nowrap;
}
.g-hero-card-badge--exec {
  background: rgba(201,168,76,.14); color: var(--gold);
}
.g-hero-card-badge--prof {
  background: rgba(255,255,255,.07); color: rgba(255,255,255,.5);
}
.g-hero-card-footer {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid rgba(201,168,76,.1);
  font-size: 11px; color: rgba(255,255,255,.28);
  display: flex; align-items: center; justify-content: space-between;
}

/* ── Right 40%: people image — flush bottom, tall ── */
.g-hero-people {
  position: relative;
  width: 100%;
  height: 580px;
  align-self: flex-end;
  overflow: visible;
  z-index: 3;
}
.g-hero-people::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 120px;
  background: linear-gradient(to right, var(--navy-deep), transparent);
  z-index: 4;
  pointer-events: none;
}
.g-person-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.g-person-slide.is-active { opacity: 1; }
.g-person-slide img {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: auto;
  max-width: 140%;
  object-fit: contain;
  object-position: bottom center;
  mix-blend-mode: lighten;
}
.g-slide-dots {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 7px;
  pointer-events: all; z-index: 6;
}
.g-slide-dot {
  width: 24px; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,.2);
  border: none; cursor: pointer; padding: 0;
  transition: background .3s, width .3s;
}
.g-slide-dot.is-active { background: var(--gold); width: 40px; }

@media (max-width: 1024px) {
  .g-hero-people { height: 380px; }
}
@media (max-width: 860px) {
  .g-hero-outer { grid-template-columns: 1fr; padding-top: 120px; }
  .g-hero-content { padding-right: 0; }
  .g-hero-people { display: none; }
  .g-hero-mandates-grid { grid-template-columns: 1fr 1fr; }
  .g-mandate-card:nth-child(3) { display: none; }
}
@media (max-width: 560px) {
  .g-hero-mandates-grid { grid-template-columns: 1fr; }
  .g-mandate-card:nth-child(3) { display: none; }
  .g-mandate-card:nth-child(2) { display: none; }
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.g-page-hero {
  background: var(--navy-deep);
  padding: 140px 0 72px;
  position: relative; overflow: hidden;
}
.g-page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.g-page-hero-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.g-page-hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold); flex-shrink: 0; }
.g-page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 400; color: var(--white);
  line-height: 1.12; letter-spacing: -.3px;
  margin-bottom: 16px;
}
.g-page-hero-sub {
  font-size: 16px; font-weight: 300;
  color: rgba(255,255,255,.55);
  line-height: 1.7; max-width: 560px;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.g-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.g-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold); flex-shrink: 0; }
.g-eyebrow--center { justify-content: center; }
.g-eyebrow--center::before, .g-eyebrow--center::after { content: ''; width: 24px; height: 1px; background: var(--gold); flex-shrink: 0; }
.g-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400; color: var(--navy);
  line-height: 1.2; letter-spacing: -.2px;
  margin-bottom: 16px;
}
.g-title--white { color: var(--white); }
.g-title em { font-style: italic; color: var(--gold); }
.g-sub {
  font-size: 16px; font-weight: 300;
  color: var(--text-muted); line-height: 1.75;
  max-width: 540px;
}
.g-sub--white { color: rgba(255,255,255,.55); }
.g-section-head { margin-bottom: 56px; }
.g-section-head--center { text-align: center; }
.g-section-head--center .g-sub { margin: 0 auto; }
.g-section-head--split {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 32px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.g-section { padding: var(--section-pad) 0; }
.g-section--white { background: var(--white); }
.g-section--off { background: var(--off-white); }
.g-section--navy { background: var(--navy-deep); }
.g-section--navy-mid { background: var(--navy); }
.g-section--gold-pale { background: var(--gold-pale); }

/* ============================================================
   SERVICES / SOLUTIONS CARDS
   ============================================================ */
.g-services-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; background: var(--gray-200);
  align-items: stretch;
}
.g-service-card {
  background: var(--off-white);
  padding: 40px 36px;
  display: flex; flex-direction: row; gap: 28px;
  position: relative; overflow: hidden;
}
.g-service-card::before { display: none; }
.g-service-card-left {
  display: flex; flex-direction: column; align-items: center;
  padding-top: 4px; flex-shrink: 0;
}
.g-service-num {
  font-family: var(--font-serif);
  font-size: 52px; font-weight: 300;
  color: rgba(201,168,76,.2);
  line-height: 1;
}
.g-service-num-bar {
  width: 2px; flex: 1;
  background: rgba(201,168,76,.2);
  margin: 12px 0; min-height: 60px;
}
.g-service-card-right {
  flex: 1; display: flex; flex-direction: column;
}
.g-service-title {
  font-family: var(--font-serif);
  font-size: 26px; font-weight: 400;
  color: var(--navy); margin-bottom: 10px;
  line-height: 1.15;
}
.g-service-desc {
  font-size: 13.5px; font-weight: 300;
  color: var(--text-muted); line-height: 1.7;
  margin-bottom: 20px;
}
.g-service-list { list-style: none; flex: 1; }
.g-service-list li {
  font-size: 13px; color: var(--gray-600);
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: center; gap: 10px;
}
.g-service-list li::before {
  content: '';
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}
.g-service-list li:last-child { border-bottom: none; }


/* ============================================================
   HERO SLIDESHOW
   ============================================================ */
.g-hero-slideshow {
  position: absolute; inset: 0;
  z-index: 1; pointer-events: none;
}
.g-hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(.4,0,.2,1);
}
.g-hero-slide.is-active { opacity: 1; }

/* Dark overlay so text stays readable over photos */
.g-hero-slide-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    105deg,
    rgba(9,20,41,.92) 0%,
    rgba(9,20,41,.75) 38%,
    rgba(9,20,41,.3)  60%,
    rgba(9,20,41,.65) 100%
  );
  pointer-events: none;
}

/* Hero inner — 3 col when images present */


/* When no slides uploaded — collapse center column */
.g-hero-slide-center:empty,
.g-hero-slide-center:not(:has(.g-slide-dot)) {
  display: none;
}
.g-hero-inner:not(:has(.g-hero-slide-center .g-slide-dot)) {
  grid-template-columns: 1fr 420px;
}

/* Slide dots */
.g-hero-slide-center {
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 8px;
}
.g-slide-dots {
  display: flex; gap: 8px;
}
.g-slide-dot {
  width: 28px; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,.25);
  border: none; cursor: pointer; padding: 0;
  transition: background .3s, width .3s;
}
.g-slide-dot.is-active {
  background: var(--gold);
  width: 48px;
}
/* ============================================================
   STAT BAR
   ============================================================ */
.g-stats-bar {
  display: grid; grid-template-columns: repeat(5,1fr);
  gap: 10px;
  padding: 32px 40px;
  background: var(--off-white);
  border-top: 3px solid var(--gold);
}
.g-stat {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-top: 2px solid var(--gold);
  border-radius: var(--r-md);
  padding: 20px 16px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.g-stat-num {
  font-family: var(--font-serif);
  font-size: 36px; font-weight: 300;
  color: var(--navy); line-height: 1;
}
.g-stat-label {
  font-size: 11px; font-weight: 400;
  color: var(--text-muted);
  letter-spacing: .04em; line-height: 1.4;
}

/* ============================================================
   JOB CARDS
   ============================================================ */
.g-jobs-grid { display: flex; flex-direction: column; gap: 12px; }
.g-job-card {
  display: grid; grid-template-columns: 1fr auto;
  gap: 24px; align-items: center;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 2px solid var(--gold);
  border-radius: var(--r-md);
  transition: background .2s;
}
.g-job-card:hover { background: var(--gold-pale); }
.g-job-title {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 400;
  color: var(--navy); margin-bottom: 8px; line-height: 1.3;
}
.g-job-title a { color: inherit; transition: color .2s; }
.g-job-title a:hover { color: var(--gold); }
.g-job-meta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.g-job-tag {
  font-size: 12px; font-weight: 400; color: var(--text-muted);
  display: flex; align-items: center; gap: 5px;
}
.g-job-tag::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.g-job-level {
  display: inline-block; font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px;
  background: var(--gold-dim); color: var(--gold);
}
.g-job-aside { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.g-job-salary { font-family: var(--font-serif); font-size: 17px; color: var(--navy); }

/* ============================================================
   INSIGHTS / BLOG CARDS
   ============================================================ */
.g-insights-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; align-items: start; }
.g-insight-card {
  background: var(--white); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all .3s;
}
.g-insight-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: transparent; }
.g-insight-img {
  height: 200px; position: relative;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  overflow: hidden; display: flex; align-items: flex-end;
}
.g-insight-card--featured .g-insight-img { height: 260px; }
.g-insight-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.g-insight-img-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,20,41,.9) 0%, transparent 55%); }
.g-insight-cat {
  position: relative; z-index: 2; margin: 0 0 14px 18px;
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 3px 10px;
  border-radius: 20px; background: var(--gold); color: var(--navy-deep);
}
.g-insight-body { padding: 22px; }
.g-insight-title {
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 400;
  color: var(--navy); line-height: 1.35; margin-bottom: 12px;
}
.g-insight-card--featured .g-insight-title { font-size: 22px; }
.g-insight-title a { color: inherit; transition: color .2s; }
.g-insight-title a:hover { color: var(--gold); }
.g-insight-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; font-weight: 300; }
.g-insight-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--gray-400); }
.g-insight-av {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold-dim); border: 1px solid rgba(201,168,76,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--gold);
}

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.g-testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.g-testi-card {
  padding: 28px 26px;
  border: 1px solid rgba(201,168,76,.15);
  border-radius: var(--r-lg);
  position: relative;
  transition: border-color .3s;
}
.g-testi-card:hover { border-color: rgba(201,168,76,.4); }
.g-testi-quote-mark {
  font-family: var(--font-serif);
  font-size: 64px; line-height: .8;
  color: var(--gold); opacity: .3;
  margin-bottom: 16px;
}
.g-testi-text {
  font-family: var(--font-serif);
  font-size: 17px; font-weight: 300; font-style: italic;
  color: rgba(255,255,255,.75); line-height: 1.7;
  margin-bottom: 24px;
}
.g-testi-author { display: flex; align-items: center; gap: 12px; }
.g-testi-av {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 500; color: var(--gold);
  overflow: hidden; flex-shrink: 0;
}
.g-testi-name { font-size: 14px; font-weight: 500; color: var(--white); margin-bottom: 2px; }
.g-testi-role { font-size: 12px; color: rgba(255,255,255,.4); }

/* ============================================================
   NEWSLETTER / CTA STRIP
   ============================================================ */
.g-cta-strip {
  padding: 72px 0;
  background: var(--navy);
  border-top: 1px solid rgba(201,168,76,.12);
  border-bottom: 1px solid rgba(201,168,76,.12);
}
.g-cta-strip-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 48px; flex-wrap: wrap;
}
.g-cta-strip-title {
  font-family: var(--font-serif);
  font-size: 34px; font-weight: 400;
  color: var(--white); margin-bottom: 8px;
}
.g-cta-strip-sub { font-size: 15px; font-weight: 300; color: rgba(255,255,255,.5); }
.g-nl-form { display: flex; gap: 10px; min-width: 380px; }
.g-nl-input {
  flex: 1; padding: 12px 16px;
  border: 1px solid rgba(201,168,76,.25);
  background: rgba(255,255,255,.05);
  border-radius: var(--r-sm); font-size: 14px;
  color: var(--white); outline: none;
  transition: border-color .2s;
}
.g-nl-input::placeholder { color: rgba(255,255,255,.35); }
.g-nl-input:focus { border-color: var(--gold); }

/* ============================================================
   FOOTER
   ============================================================ */
.g-footer { background: var(--navy-deep); }
.g-footer-main { padding: 72px 0 56px; }
.g-footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; }
.g-footer-brand { }
.g-footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.g-footer-logo-name { font-family: var(--font-serif); font-size: 18px; color: var(--gold); letter-spacing: .5px; }
.g-footer-logo-sub { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.4); }
.g-footer-desc { font-size: 14px; font-weight: 300; color: rgba(255,255,255,.4); line-height: 1.75; margin: 18px 0 22px; max-width: 240px; }
.g-footer-contact { font-size: 13px; color: rgba(255,255,255,.35); margin-bottom: 6px; }
.g-footer-contact a { color: rgba(255,255,255,.35); transition: color .2s; }
.g-footer-contact a:hover { color: var(--gold); }
.g-footer-social { display: flex; gap: 8px; margin-top: 18px; }
.g-social-btn {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  border: 1px solid rgba(201,168,76,.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4); font-size: 11px; font-weight: 600;
  letter-spacing: .5px; transition: all .2s;
}
.g-social-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }
.g-footer-col h4 {
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,.45);
  margin-bottom: 18px;
}
.g-footer-col a {
  display: block; font-size: 13.5px; font-weight: 300;
  color: rgba(255,255,255,.35); margin-bottom: 10px;
  transition: color .2s;
}
.g-footer-col a:hover { color: var(--gold-light); }
.g-footer-bottom {
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.05);
}
.g-footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; }
.g-footer-copy { font-size: 12px; color: rgba(255,255,255,.25); }
.g-footer-legal { display: flex; gap: 20px; }
.g-footer-legal a { font-size: 12px; color: rgba(255,255,255,.25); transition: color .2s; }
.g-footer-legal a:hover { color: var(--gold); }

/* ============================================================
   INNER PAGE LAYOUT
   ============================================================ */
.g-inner { padding: 72px 0 96px; background: var(--off-white); }
.g-inner-grid { display: grid; grid-template-columns: 1fr 300px; gap: 48px; }
.g-inner-main { }
.g-inner-sidebar .widget { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--r-lg); padding: 24px; margin-bottom: 18px; }
.g-inner-sidebar .widget-title { font-family: var(--font-serif); font-size: 17px; font-weight: 400; color: var(--navy); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--gray-100); }

/* ============================================================
   PROSE (blog / single)
   ============================================================ */
.g-prose { font-size: 16px; line-height: 1.85; color: var(--text); font-weight: 300; max-width: 740px; }
.g-prose h2 { font-family: var(--font-serif); font-size: 28px; font-weight: 400; color: var(--navy); margin: 40px 0 14px; }
.g-prose h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 400; color: var(--navy); margin: 28px 0 12px; }
.g-prose p { margin-bottom: 20px; }
.g-prose ul, .g-prose ol { padding-left: 24px; margin-bottom: 20px; }
.g-prose ul { list-style: none; }
.g-prose ul li { position: relative; padding-left: 18px; margin-bottom: 8px; }
.g-prose ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.g-prose ol li { list-style: decimal; margin-bottom: 8px; }
.g-prose a { color: var(--gold); text-decoration: underline; }
.g-prose blockquote { border-left: 3px solid var(--gold); padding: 16px 24px; background: var(--gold-pale); border-radius: 0 var(--r-md) var(--r-md) 0; margin: 28px 0; font-family: var(--font-serif); font-size: 18px; font-style: italic; color: var(--navy); }
.g-prose img { border-radius: var(--r-lg); margin: 28px 0; }

/* ============================================================
   BLOG POST CARDS
   ============================================================ */
.g-post-card {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 0; background: var(--white);
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--gray-100);
  margin-bottom: 20px; transition: all .3s;
}
.g-post-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); border-color: transparent; }
.g-post-card-img { height: 100%; min-height: 200px; overflow: hidden; background: var(--navy); position: relative; }
.g-post-card-img img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .4s; }
.g-post-card:hover .g-post-card-img img { transform: scale(1.04); }
.g-post-card-body { padding: 28px 32px; }
.g-post-cat { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.g-post-title { font-family: var(--font-serif); font-size: 22px; font-weight: 400; color: var(--navy); line-height: 1.3; margin-bottom: 10px; }
.g-post-title a { color: inherit; transition: color .2s; }
.g-post-title a:hover { color: var(--gold); }
.g-post-exc { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 18px; font-weight: 300; }
.g-post-meta { font-size: 12px; color: var(--gray-400); display: flex; gap: 14px; align-items: center; }

/* ============================================================
   FORMS
   ============================================================ */
.g-form { display: flex; flex-direction: column; gap: 16px; }
.g-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.g-form-group { display: flex; flex-direction: column; gap: 6px; }
.g-form-group label { font-size: 13px; font-weight: 500; color: var(--navy); letter-spacing: .2px; }
.g-form-group input,
.g-form-group select,
.g-form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm); font-size: 14px;
  color: var(--text); background: var(--white);
  outline: none; transition: border-color .2s;
  font-family: var(--font-sans);
}
.g-form-group input:focus,
.g-form-group select:focus,
.g-form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,.1); }
.g-form-check label { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--text-muted); line-height: 1.5; cursor: pointer; font-weight: 400; }
.g-form-check input[type=checkbox] { margin-top: 2px; accent-color: var(--gold); flex-shrink: 0; }
.g-form-msg { font-size: 14px; padding: 12px 16px; border-radius: var(--r-sm); display: none; margin-top: 6px; }
.g-form-msg--ok { background: #f0faf5; color: #166534; border: 1px solid #bbf7d0; display: block; }
.g-form-msg--err { background: #fff0ed; color: #c0392b; display: block; }

/* ============================================================
   INFO CARDS (sidebar/job details)
   ============================================================ */
.g-info-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--r-lg); padding: 24px; }
.g-info-card + .g-info-card { margin-top: 16px; }
.g-info-card h3 { font-family: var(--font-serif); font-size: 18px; font-weight: 400; color: var(--navy); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--gray-100); }
.g-detail-list { list-style: none; }
.g-detail-list li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--gray-50); font-size: 14px; gap: 14px; }
.g-detail-list li:last-child { border-bottom: none; }
.g-detail-list strong { color: var(--text-muted); font-weight: 400; }
.g-detail-list span { font-weight: 500; color: var(--navy); text-align: right; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.g-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,.35); margin-bottom: 14px; flex-wrap: wrap; }
.g-breadcrumb a { color: rgba(255,255,255,.35); transition: color .2s; }
.g-breadcrumb a:hover { color: var(--gold); }
.g-breadcrumb span { color: var(--gold); }

/* ============================================================
   PAGINATION
   ============================================================ */
.g-pagination { display: flex; gap: 6px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.g-pagination a, .g-pagination span { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: var(--r-sm); border: 1px solid var(--gray-200); font-size: 14px; color: var(--text-muted); transition: all .2s; }
.g-pagination a:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }
.g-pagination .current { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); font-weight: 600; }

/* ============================================================
   SEARCH FORM
   ============================================================ */
.g-search-form { display: flex; border: 1.5px solid var(--gray-200); border-radius: var(--r-sm); overflow: hidden; }
.g-search-form input { flex: 1; padding: 11px 14px; border: none; outline: none; font-size: 14px; color: var(--text); }
.g-search-form button { padding: 11px 18px; background: var(--navy); color: var(--gold-light); border: none; font-size: 13px; font-weight: 500; cursor: pointer; transition: background .2s; }
.g-search-form button:hover { background: var(--navy-deep); }

/* ============================================================
   NO RESULTS
   ============================================================ */
.g-no-results { text-align: center; padding: 72px 32px; }
.g-no-results h3 { font-family: var(--font-serif); font-size: 26px; font-weight: 400; color: var(--navy); margin-bottom: 10px; }
.g-no-results p { color: var(--text-muted); margin-bottom: 24px; }

/* ============================================================
   WP ALIGNMENTS
   ============================================================ */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  :root { --section-pad: 72px; }
  .g-hero-inner { grid-template-columns: 1fr; max-width: 640px; }
  .g-hero-visual { display: none; }
  .g-hero-stats { gap: 24px; }
  .g-insights-grid { grid-template-columns: 1fr 1fr; }
  .g-testi-grid { grid-template-columns: 1fr 1fr; }
  .g-services-grid { grid-template-columns: 1fr; }
  .g-footer-grid { grid-template-columns: 1fr 1fr; }
  .g-stats-bar { grid-template-columns: repeat(3, 1fr); padding: 16px 24px; }
  .g-stat:nth-child(n) { border-right: none; }
}
@media (max-width: 860px) {
  :root { --section-pad: 56px; }
  .g-inner-grid { grid-template-columns: 1fr; }
  .g-insights-grid { grid-template-columns: 1fr; }
  .g-testi-grid { grid-template-columns: 1fr; }
  .g-cta-strip-inner { flex-direction: column; gap: 24px; }
  .g-nl-form { min-width: unset; width: 100%; }
  .g-post-card { grid-template-columns: 1fr; }
  .g-section-head--split { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .g-container { padding: 0 20px; }
  .g-nav { display: none; }
  .g-nav.is-open {
    display: block;
    position: absolute; top: 80px; left: 0; right: 0;
    background: var(--navy-deep);
    border-top: 1px solid rgba(201,168,76,.15);
    padding: 12px;
    box-shadow: var(--sh-lg);
  }
  .g-nav.is-open .g-nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .g-nav.is-open .g-nav-link { padding: 12px 14px; }
  .g-nav.is-open .g-submenu { position: static; opacity: 1; pointer-events: all; transform: none; box-shadow: none; border: none; background: rgba(255,255,255,.04); margin: 4px 0 4px 16px; }
  .g-hamburger { display: flex; }
  .g-btn-ghost { display: none; }
  .g-hero { padding: 120px 0 60px; }
  .g-hero-heading { font-size: 38px; }
  .g-hero-stats { flex-wrap: wrap; gap: 20px; }
  .g-jobs-grid .g-job-card { grid-template-columns: 1fr; }
  .g-job-aside { align-items: flex-start; flex-direction: row; flex-wrap: wrap; border-top: 1px solid var(--gray-100); padding-top: 12px; margin-top: 8px; }
  .g-stats-bar { grid-template-columns: 1fr 1fr; }
  .g-footer-grid { grid-template-columns: 1fr; }
  .g-footer-bottom-inner { flex-direction: column; gap: 10px; text-align: center; }
  .g-form-row { grid-template-columns: 1fr; }
  .g-header-actions .g-btn-gold { padding: 8px 14px; font-size: 12px; }
}

/* ============================================================
   CUSTOM OVERRIDES — added via Additional CSS bake-in
   ============================================================ */

/* Logo size */
.g-logo img,
.custom-logo-link img {
  height: 72px !important;
  width: auto !important;
}

/* Hero — no forced min-height override, let grid breathe */
.g-hero {
  min-height: unset;
  padding-bottom: 0;
}
.g-hero-outer {
  padding-top: 100px;
  padding-bottom: 0;
  min-height: unset;
}

/* Hide slideshow dots */
.g-slide-dots { display: none; }
