/* ===========================================================
   GLOBAL SPECIALTY — globalspecialtyllc.com
   Aesthetic: Editorial diplomatic luxury
   Palette:   Deep Green / Royal Blue / Sovereign Gold
   ============================================================ */

:root {
  /* Brand colors — pulled from the logo */
  --gs-green:        #0d6e44;       /* primary deep green */
  --gs-green-light:  #1f8a5c;
  --gs-green-deep:   #064a2c;
  --gs-blue:         #134a8e;       /* royal blue */
  --gs-blue-deep:    #0b2d5e;
  --gs-blue-rich:    #08234a;
  --gs-gold:         #C9A02F;       /* sovereign gold accent */
  --gs-gold-light:   #E0B947;

  /* Neutrals */
  --ink:             #0a1622;
  --ink-soft:        #2a3441;
  --paper:           #fbfaf6;
  --paper-warm:      #f4f1ea;
  --paper-cream:     #efeae0;
  --rule:            #d9d3c5;
  --muted:           #6a7280;

  /* Type */
  --serif:  'Cormorant Garamond', 'Georgia', serif;
  --sans:   'Inter', -apple-system, sans-serif;
  --script: 'Caveat', cursive;

  --radius:    4px;
  --radius-lg: 12px;
  --container: 1280px;
  --gutter:    clamp(20px, 4vw, 64px);
}

/* Scoped reset — everything lives inside .gs-site so the stylesheet can never
   leak into the WordPress admin bar, the theme, or other plugins. */
.gs-site,
.gs-site *,
.gs-site *::before,
.gs-site *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.gs-page {
  margin: 0;
  padding: 0;
  background: var(--paper);
  overflow-x: hidden;
}

.gs-site {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.gs-site em { font-family: var(--serif); font-style: italic; font-weight: 500; }

.gs-site a { color: inherit; text-decoration: none; }

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

/* Keyboard skip link */
.gs-skip {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--gs-green); color: #fff;
  padding: 12px 20px; font-size: 14px; font-weight: 600;
  border-radius: 0 0 var(--radius) 0;
}
.gs-skip:focus { left: 0; }

/* Visible focus ring for keyboard users */
.gs-site a:focus-visible,
.gs-site button:focus-visible {
  outline: 2px solid var(--gs-gold);
  outline-offset: 3px;
}

/* ============ SHARED ============ */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gs-green);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.section-eyebrow.light { color: var(--gs-gold); }
.section-eyebrow.centered { justify-content: center; width: 100%; }
.eyebrow-line {
  width: 36px; height: 1px;
  background: var(--gs-gold);
  display: inline-block;
}
.section-eyebrow.light .eyebrow-line { background: var(--gs-gold); }

.section-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section-headline.centered { text-align: center; max-width: 18ch; margin: 0 auto; }
.section-headline em { color: var(--gs-green); }
.text-accent { color: var(--gs-blue); font-family: var(--serif); font-style: italic; font-weight: 500; }

.section-sub {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 400;
}
.section-sub.centered { text-align: center; max-width: 60ch; margin: 28px auto 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary {
  background: var(--gs-green);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--gs-green-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -10px rgba(13, 110, 68, 0.55);
}
.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-full { width: 100%; margin-top: 8px; }

/* ============ NAVIGATION ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--gutter);
  background: rgba(251, 250, 246, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}
.nav::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gs-blue) 0%, var(--gs-green) 50%, var(--gs-gold) 100%);
}
.nav.scrolled {
  border-bottom-color: var(--rule);
  background: rgba(251, 250, 246, 0.95);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-brand { display: flex; align-items: center; gap: 14px; }
.nav-logo { height: 56px; width: auto; }
.nav-wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.nav-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.nav-tag {
  font-family: var(--script);
  font-size: 14px;
  color: var(--gs-blue);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.2s;
}
.nav-links a:not(.nav-cta):hover { color: var(--gs-green); }
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gs-green);
  transition: width 0.3s;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  padding: 11px 22px;
  border: 1px solid var(--gs-green);
  border-radius: var(--radius);
  color: var(--gs-green);
  transition: all 0.3s;
}
.nav-cta:hover {
  background: var(--gs-green);
  color: var(--paper);
}
.nav-menu {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav-menu span {
  width: 26px; height: 2px;
  background: var(--ink);
  transition: all 0.3s;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px var(--gutter) 80px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  max-width: var(--container);
  margin: 0 auto;
  align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(13, 110, 68, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 110, 68, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.hero-glow {
  position: absolute;
  top: 18%; right: -8%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(19, 74, 142, 0.12), transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gs-green);
  text-transform: uppercase;
  margin-bottom: 32px;
  padding: 8px 16px;
  background: rgba(13, 110, 68, 0.06);
  border: 1px solid rgba(13, 110, 68, 0.18);
  border-radius: 100px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--gs-gold);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 6.5vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 32px;
}
.hero-headline em { color: var(--gs-blue); font-weight: 500; }
.hero-accent {
  color: var(--gs-green);
  font-style: italic;
  font-family: var(--serif);
  font-weight: 500;
  position: relative;
  display: inline-block;
}
.hero-accent::after {
  content: '';
  position: absolute;
  bottom: 0.12em; left: 0;
  width: 100%; height: 4px;
  background: var(--gs-gold);
  opacity: 0.4;
  transform: scaleX(0);
  transform-origin: left;
  animation: underline 1.2s 1s forwards cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes underline { to { transform: scaleX(1); } }

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}
.scroll-line {
  width: 60px; height: 1px;
  background: linear-gradient(to right, var(--gs-gold), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -30%;
  width: 30%; height: 100%;
  background: var(--gs-gold);
  animation: scroll-pulse 2.5s infinite;
}
@keyframes scroll-pulse {
  to { left: 100%; }
}

/* Hero right side — map on a rich blue panel so dark map areas blend into blue */
.hero-side {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.hero-map {
  width: 100%;
  max-width: 460px;
  position: relative;
  --gs-parallax: 0px;
  animation: float 9s ease-in-out infinite;
  will-change: transform;
}
@keyframes float {
  0%, 100% { transform: translateY(var(--gs-parallax)); }
  50%      { transform: translateY(calc(var(--gs-parallax) - 10px)); }
}
.map-panel {
  position: relative;
  padding: 0;
}
.map-panel img {
  width: 100%;
  height: auto;
  display: block;
}
.map-tagline {
  text-align: center;
  margin-top: -6px;
  font-family: var(--script);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  color: var(--gs-blue);
}
.map-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gs-green);
  text-transform: uppercase;
}
.map-caption-dot {
  width: 6px; height: 6px;
  background: var(--gs-gold);
  border-radius: 50%;
  animation: pulse 2.5s infinite;
}

.hero-quote {
  position: relative;
  padding: 24px 28px 24px 36px;
  background: var(--paper-warm);
  border-left: 2px solid var(--gs-gold);
  max-width: 420px;
}
.quote-mark {
  position: absolute;
  top: -8px; left: 14px;
  font-family: var(--serif);
  font-size: 70px;
  color: var(--gs-green);
  line-height: 1;
  opacity: 0.6;
}
.hero-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.hero-quote em { color: var(--gs-green); font-weight: 600; }

/* ============ MARQUEE ============ */
.marquee {
  background: var(--ink);
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.marquee-track {
  display: flex;
  gap: 50px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--paper);
}
.marquee-track span { display: inline-flex; align-items: center; }
.marquee .dot { color: var(--gs-gold); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ STATS ============ */
.stats {
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px var(--gutter) 60px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px 40px;
  margin-top: 60px;
  position: relative;
}
.stats-grid::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 25%;
  width: 1px;
  background: var(--rule);
}
.stats-grid::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 75%;
  width: 1px;
  background: var(--rule);
}
.stat { position: relative; }
.stat:nth-child(2)::before, .stat:nth-child(4)::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -20px;
  width: 1px;
  background: transparent;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 6.5rem);
  font-weight: 400;
  color: var(--gs-green);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--gs-green) 0%, var(--gs-green-light) 50%, var(--gs-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

/* ============ ABOUT ============ */
.about {
  background: var(--paper-warm);
  padding: 140px var(--gutter);
  position: relative;
}
.about::before {
  content: 'AFRICA';
  position: absolute;
  top: 30px; right: 5%;
  font-family: var(--serif);
  font-size: clamp(8rem, 18vw, 16rem);
  font-weight: 400;
  color: var(--gs-green);
  opacity: 0.04;
  letter-spacing: -0.05em;
  pointer-events: none;
  line-height: 1;
}
.about-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  position: relative;
}
.about-left { position: sticky; top: 120px; align-self: start; }
.about-right p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.about-right .lede {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.45;
  border-left: 2px solid var(--gs-gold);
  padding-left: 24px;
  margin-bottom: 36px;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.tag {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gs-blue);
  background: rgba(19, 74, 142, 0.06);
  border: 1px solid rgba(19, 74, 142, 0.15);
  border-radius: 100px;
  transition: all 0.25s;
}
.tag:hover {
  background: var(--gs-blue);
  color: var(--paper);
  border-color: var(--gs-blue);
}

/* ============ APPROACH ============ */
.approach {
  padding: 140px var(--gutter);
  background: var(--paper);
}
.approach-inner {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  margin-top: 80px;
  border: 1px solid var(--rule);
}
.pillar {
  background: var(--paper);
  padding: 48px 32px;
  text-align: left;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.pillar:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-4px);
  z-index: 2;
  box-shadow: 0 24px 60px -20px rgba(8, 35, 74, 0.5);
}
.pillar:hover .pillar-num { color: var(--gs-gold); }
.pillar:hover h3 { color: var(--paper); }
.pillar:hover p { color: rgba(251, 250, 246, 0.75); }
.pillar-num {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--gs-gold);
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  transition: color 0.3s;
}
.pillar h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.15;
  transition: color 0.3s;
}
.pillar p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  transition: color 0.3s;
}

/* ============ SERVICES ============ */
.services {
  padding: 140px var(--gutter);
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.services::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(13, 110, 68, 0.25), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.services::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(19, 74, 142, 0.25), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.services-inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.services-header { margin-bottom: 80px; }
.services .section-eyebrow { color: var(--gs-gold); }
.services .section-eyebrow .eyebrow-line { background: var(--gs-gold); }
.services .section-headline { color: var(--paper); }
.services .section-headline em { color: var(--gs-gold-light); }

.practice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.practice {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.practice::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: linear-gradient(to bottom, var(--gs-green), var(--gs-gold));
  transition: height 0.5s;
}
.practice:hover { background: rgba(255, 255, 255, 0.05); transform: translateY(-4px); }
.practice:hover::before { height: 100%; }
.practice-alt::before { background: linear-gradient(to bottom, var(--gs-blue), var(--gs-gold)); }

.practice-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gs-gold);
  margin-bottom: 24px;
}
.practice-title {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.1;
}
.practice-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
  color: rgba(251, 250, 246, 0.7);
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.practice-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.practice-list li {
  display: flex;
  gap: 14px;
}
.li-marker {
  font-family: var(--serif);
  color: var(--gs-gold);
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1.4;
}
.practice-list strong {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--paper);
  margin-bottom: 4px;
}
.practice-list p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(251, 250, 246, 0.6);
}
.gov-roster {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  text-align: center;
}
.gov-roster-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gs-gold);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.gov-roster-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 400;
  color: var(--paper);
}
.gov-roster-list span { transition: color 0.25s; }
.gov-roster-list span:not(.gov-dot):hover { color: var(--gs-gold-light); }
.gov-dot { color: var(--gs-gold); opacity: 0.6; }

/* ============ PORTFOLIO ============ */
.portfolio {
  padding: 140px var(--gutter);
  background: var(--paper);
}
.portfolio-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.portfolio .section-headline { margin-bottom: 80px; }

.portfolio-list { border-top: 1px solid var(--rule); }
.case {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--rule);
  transition: padding 0.4s;
  position: relative;
}
.case::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(to right, var(--gs-green), var(--gs-gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.case:hover { padding-left: 24px; }
.case:hover::before { transform: scaleX(1); }
.case-num {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--gs-gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.case-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gs-green);
  margin-bottom: 14px;
}
.case-year {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gs-gold);
}
.case-client { color: var(--ink-soft); }
.case-sep { color: var(--gs-gold); }
.case h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 14px;
}
.case p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 75ch;
}

/* ============ LEADERSHIP ============ */
.leadership {
  padding: 140px var(--gutter);
  background: var(--paper-warm);
  position: relative;
}
.leadership-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.leadership-portrait {
  position: sticky;
  top: 120px;
}
.portrait-frame {
  aspect-ratio: 4/5;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(8, 35, 74, 0.35);
  background: linear-gradient(135deg, var(--gs-green-deep), var(--gs-blue-deep));
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.portrait-frame:hover img { transform: scale(1.04); }
.portrait-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 45, 94, 0.30) 0%, transparent 45%);
  pointer-events: none;
}
.portrait-corner {
  position: absolute;
  width: 48px; height: 48px;
  z-index: 2;
}
.portrait-corner.tl { top: 18px; left: 18px; border-top: 2px solid var(--gs-gold); border-left: 2px solid var(--gs-gold); }
.portrait-corner.br { bottom: 18px; right: 18px; border-bottom: 2px solid var(--gs-gold); border-right: 2px solid var(--gs-gold); }
.portrait-caption {
  margin-top: 24px;
  text-align: left;
}
.caption-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gs-gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.caption-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
}

.leadership-bio p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.leadership-bio em { color: var(--gs-blue); }
.bio-creds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.cred-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gs-green);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.cred-value {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink);
  line-height: 1.35;
}
.bio-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--rule);
}
.skill-chip {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gs-green);
  background: rgba(13, 110, 68, 0.06);
  border: 1px solid rgba(13, 110, 68, 0.18);
  border-radius: 100px;
  transition: all 0.25s;
}
.skill-chip:hover {
  background: var(--gs-green);
  color: var(--paper);
  border-color: var(--gs-green);
}

/* ============ AFFILIATIONS ============ */
.affiliations {
  padding: 110px var(--gutter);
  background: var(--paper);
  border-top: 1px solid var(--rule);
}
.affiliations-inner {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}
.affil-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 64px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.affil {
  background: var(--paper);
  padding: 48px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.affil:hover {
  background: var(--paper-warm);
  transform: translateY(-4px);
}
.affil-mark {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--paper);
  width: 86px; height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gs-green), var(--gs-blue));
  margin-bottom: 24px;
  box-shadow: 0 12px 28px -12px rgba(8, 35, 74, 0.5);
  position: relative;
}
.affil-mark::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--gs-gold);
  opacity: 0.5;
}
.affil-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 10px;
}
.affil-role {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ============ CONTACT ============ */
.contact {
  padding: 140px var(--gutter);
  background: linear-gradient(135deg, var(--gs-blue-rich) 0%, var(--gs-blue-deep) 50%, var(--gs-green-deep) 100%);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.contact-bg {
  position: absolute; inset: 0;
  opacity: 0.6;
}
.contact-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201, 160, 47, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 160, 47, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 80%);
}
.contact-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.contact-headline {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.contact-headline em { color: var(--gs-gold-light); font-weight: 500; }
.contact-script {
  font-family: var(--script);
  font-size: 0.85em;
  color: var(--gs-gold);
  font-weight: 500;
}
.contact-sub {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.5;
  color: rgba(251, 250, 246, 0.75);
  max-width: 45ch;
}

.contact-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--ink);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--gs-blue), var(--gs-green), var(--gs-gold));
}
.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.card-logo { height: 56px; width: auto; }
.card-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.1;
}
.card-tag {
  font-family: var(--script);
  font-size: 16px;
  color: var(--gs-blue);
}
.card-divider {
  height: 1px;
  background: var(--rule);
  margin-bottom: 24px;
}
.card-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.card-row:last-of-type { border-bottom: none; }
.card-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gs-green);
  text-transform: uppercase;
  padding-top: 3px;
}
.card-value {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
}
.card-value.link {
  color: var(--gs-blue);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.card-value.link:hover { border-bottom-color: var(--gs-blue); }

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px var(--gutter) 0;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-logo {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.footer-tag {
  font-family: var(--script);
  font-size: 18px;
  color: var(--gs-gold);
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-head {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gs-gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.footer-col a, .footer-col span {
  font-size: 14px;
  color: rgba(251, 250, 246, 0.65);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--paper); }
.footer-base {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(251, 250, 246, 0.5);
}
.footer-script {
  font-family: var(--script);
  color: var(--gs-gold);
  font-size: 16px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-menu { display: flex; }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 120px;
    min-height: auto;
    gap: 48px;
  }
  .hero-side { order: -1; }
  .hero-map { max-width: 480px; }
  .hero-quote { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid::before, .stats-grid::after { display: none; }
  .about-inner, .leadership-grid, .contact-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .about-left, .leadership-portrait { position: static; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .practice-grid { grid-template-columns: 1fr; }
  .affil-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .case { grid-template-columns: 80px 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .nav-wordmark .nav-tag { display: none; }
  .nav-logo { height: 38px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .pillars { grid-template-columns: 1fr; }
  .affil-grid { grid-template-columns: 1fr; }
  .bio-creds { grid-template-columns: 1fr; gap: 18px; }
  .footer-nav { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; gap: 12px; text-align: center; }
  .card-row { grid-template-columns: 1fr; gap: 4px; }
  .contact-card { padding: 28px 24px; }
  .case { grid-template-columns: 1fr; gap: 8px; }
  .case-num { font-size: 2.5rem; }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s, transform 0.8s;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================================
   WORDPRESS COMPATIBILITY LAYER
   Added for the plugin build. Keeps the fixed navigation clear
   of the admin bar and neutralises common theme interference.
   =========================================================== */

/* Admin bar offset (logged-in users only) */
body.admin-bar .gs-site .nav { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .gs-site .nav { top: 46px; }
}

/* Anchor scroll offset so fixed nav never covers section headings */
.gs-site section[id],
.gs-site [id^="gs-"] { scroll-margin-top: 110px; }

/* Neutralise theme container padding when embedded via shortcode */
.gs-site { width: 100%; max-width: 100%; }
.gs-site p:last-child { margin-bottom: 0; }

/* Print-friendly fallback */
@media print {
  .gs-site .nav,
  .gs-site .marquee,
  .gs-site .hero-scroll,
  .gs-site .hero-actions { display: none !important; }
  .gs-site { background: #fff; }
}

/* ===========================================================
   MOTION PREFERENCES
   Honours the operating-system "reduce motion" setting.
   =========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gs-site *,
  .gs-site *::before,
  .gs-site *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .gs-site .marquee-track { animation: none !important; transform: none !important; }
  .gs-site .hero-map { animation: none !important; transform: none !important; }
  .gs-site .reveal { opacity: 1 !important; transform: none !important; }
}
