/* ============================================================
   KIMA & PARTNERS — Premium Law Firm Stylesheet
   Design Direction: Luxury Legal Editorial · African Corporate
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ── CSS Variables ── */
:root {
  /* Color Palette */
  --navy:        #0c1526;
  --navy-mid:    #152040;
  --navy-light:  #1e2f57;
  --gold:        #b8962e;
  --gold-light:  #d4af5a;
  --gold-dim:    #8a6e1e;
  --ivory:       #f5f0e8;
  --ivory-warm:  #ede8dc;
  --charcoal:    #2c3040;
  --slate:       #4a5068;
  --mist:        #9aa0b8;
  --white:       #ffffff;
  --off-white:   #fafaf8;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing scale */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;
  --space-2xl: 11rem;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast:   0.18s var(--ease-out);
  --t-mid:    0.35s var(--ease-out);
  --t-slow:   0.6s  var(--ease-out);

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(12,21,38,0.10);
  --shadow-lift: 0 12px 40px rgba(12,21,38,0.18);

  /* Border */
  --border-thin: 1px solid rgba(184,150,46,0.22);
  --radius-sm: 4px;
  --radius-md: 8px;

  /* Layout */
  --max-w: 1240px;
  --nav-h: 84px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--charcoal);
  background: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--gold);
  color: var(--navy);
  padding: 0.5rem 1rem;
  font-weight: 600;
  z-index: 9999;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

/* ── Utility ── */
.container {
  width: min(var(--max-w), 100% - 3rem);
  margin-inline: auto;
}
.container--narrow {
  width: min(860px, 100% - 3rem);
  margin-inline: auto;
}

.gold-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: var(--space-md);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy);
}

.section-heading--light { color: var(--ivory); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  transition: var(--t-mid);
  cursor: pointer;
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
}
.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,150,46,0.3);
}

.btn--outline {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(245,240,232,0.4);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(12,21,38,0.3);
}
.btn--outline-dark:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
}
.btn--navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(12,21,38,0.3);
}

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--t-mid), box-shadow var(--t-mid), height var(--t-mid);
}

.site-nav.scrolled {
  background: rgba(12, 21, 38, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
  height: 68px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-logo__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1;
}

.nav-logo__tagline {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--t-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--t-mid);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: var(--t-mid);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  position: fixed;
  top: 0; right: 0;
  width: min(380px, 100vw);
  height: 100vh;
  background: var(--navy);
  border-left: 1px solid rgba(184,150,46,0.15);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 2rem) 2.5rem 2.5rem;
  transform: translateX(100%);
  transition: transform var(--t-mid);
  overflow-y: auto;
}

.nav-mobile.open { transform: translateX(0); }

.nav-mobile a {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--ivory);
  padding: 1rem 0;
  border-bottom: var(--border-thin);
  display: block;
  transition: color var(--t-fast), padding-left var(--t-mid);
}
.nav-mobile a:hover { color: var(--gold); padding-left: 0.5rem; }

.nav-mobile .nav-mobile__contact {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-mobile .nav-mobile__contact a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--mist);
  border: none;
  padding: 0;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-mid);
}
.nav-overlay.open { opacity: 1; pointer-events: all; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding-bottom: var(--space-xl);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-color: var(--navy);
}

.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(12,21,38,0.7) 0%,
    rgba(12,21,38,0.4) 40%,
    rgba(12,21,38,0.85) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero__eyebrow::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  max-width: 780px;
  margin-bottom: 1.75rem;
}

.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300;
  color: rgba(245,240,232,0.78);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 2.5rem; right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 1;
}

.hero__scroll::after {
  content: '';
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, rgba(184,150,46,0.6), transparent);
  display: block;
}

/* Stats bar */
.hero__stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  background: rgba(12,21,38,0.85);
  border-top: var(--border-thin);
  backdrop-filter: blur(8px);
}

.hero__stats-inner {
  display: flex;
  justify-content: space-around;
  padding: 1.75rem 0;
}

.stat {
  text-align: center;
  flex: 1;
  padding: 0 1rem;
  border-right: var(--border-thin);
}
.stat:last-child { border-right: none; }

.stat__number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--gold-light);
  line-height: 1;
  display: block;
}

.stat__label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  margin-top: 0.35rem;
  display: block;
}

/* ── Section generic ── */
section { padding: var(--space-xl) 0; }

/* Intro section */
.intro {
  background: var(--white);
  padding: var(--space-xl) 0;
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.intro__text p {
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.intro__quote {
  position: relative;
  background: var(--navy);
  padding: 3rem 2.5rem;
  color: var(--ivory);
}

.intro__quote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 9rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.25;
  position: absolute;
  top: 2rem; left: 1.5rem;
}

.intro__quote blockquote {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}

.intro__quote cite {
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ── Values ── */
.values {
  background: var(--ivory);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5px;
  background: var(--gold);
  border: 1.5px solid var(--gold);
  margin-top: var(--space-lg);
}

.value-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  transition: background var(--t-mid);
}

.value-card:hover {
  background: var(--navy);
}

.value-card:hover .value-card__title,
.value-card:hover .value-card__text { color: var(--ivory); }
.value-card:hover .value-card__icon { color: var(--gold); }

.value-card__icon {
  color: var(--navy);
  margin-bottom: 1.25rem;
  transition: color var(--t-mid);
}

.value-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.75rem;
  transition: color var(--t-mid);
}

.value-card__text {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.7;
  transition: color var(--t-mid);
}

/* ── Services ── */
.services { background: var(--off-white); }

.services__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: 1rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: var(--border-thin);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--t-mid), transform var(--t-mid);
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--t-mid);
}

.service-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}
.service-card:hover::before { width: 100%; }

.service-card__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(12,21,38,0.07);
  line-height: 1;
  margin-bottom: 1rem;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.service-card__text {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-card__link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--t-fast);
}
.service-card__link:hover { gap: 0.75rem; }

/* ── Practice Areas Full Page ── */
.practice-hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.practice-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 100%, rgba(184,150,46,0.12) 0%, transparent 70%);
}

.practice-hero .container { position: relative; z-index: 1; }
.practice-hero .section-heading { color: var(--ivory); margin-top: 0.5rem; }

.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1px;
  background: var(--ivory-warm);
  border: 1px solid var(--ivory-warm);
  margin-top: var(--space-lg);
}

.practice-item {
  background: var(--white);
  padding: 2.25rem 2rem;
  border-left: 3px solid transparent;
  transition: border-color var(--t-mid), background var(--t-mid);
}

.practice-item:hover {
  border-color: var(--gold);
  background: #fefcf7;
}

.practice-item__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.practice-item__desc {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.65;
}

/* ── Team ── */
.team-section { background: var(--white); }

.team__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.team__header .gold-line { margin-inline: auto; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--off-white);
  border: var(--border-thin);
  overflow: hidden;
  transition: box-shadow var(--t-mid), transform var(--t-mid);
}

.team-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-6px);
}

.team-card__photo {
  aspect-ratio: 4/3;
  background: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.team-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.team-card:hover .team-card__photo img { transform: scale(1.05); }

.team-card__initials {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(245,240,232,0.4);
}

.team-card__body {
  padding: 1.75rem;
}

.team-card__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.team-card__role {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.team-card__bio {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  background: rgba(12,21,38,0.07);
  color: var(--navy-light);
  border-radius: var(--radius-sm);
}

/* ── Insights / Blog ── */
.insights { background: var(--ivory); }

.insights__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: 1rem;
}

.insights__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.insight-card {
  background: var(--white);
  border: var(--border-thin);
  overflow: hidden;
  transition: box-shadow var(--t-mid), transform var(--t-mid);
}
.insight-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}

.insight-card--featured {
  grid-row: 1 / 3;
}

.insight-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--navy-mid);
}

.insight-card--featured .insight-card__img { aspect-ratio: 4/3; }

.insight-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.insight-card:hover .insight-card__img img { transform: scale(1.04); }

.insight-card__body { padding: 1.75rem; }

.insight-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.insight-card__cat {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.insight-card__date {
  font-size: 0.75rem;
  color: var(--mist);
}

.insight-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.75rem;
  transition: color var(--t-fast);
}
.insight-card:hover .insight-card__title { color: var(--gold-dim); }

.insight-card--featured .insight-card__title { font-size: 1.7rem; }

.insight-card__excerpt {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.7;
}

/* ── CTA Band ── */
.cta-band {
  background: var(--navy);
  padding: var(--space-lg) 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 300px; height: 100%;
  background: linear-gradient(90deg, rgba(184,150,46,0.1), transparent);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
}

.cta-band__text .section-label { margin-bottom: 0.5rem; }

.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.2;
}

.cta-band__actions { display: flex; gap: 1rem; flex-wrap: wrap; flex-shrink: 0; }

/* ── About Page ── */
.about-hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 6rem) 0 5rem;
  position: relative;
  overflow: hidden;
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  background: url('../img/hero.jpg') center/cover;
  opacity: 0.12;
}

.about-hero .section-heading { color: var(--ivory); margin-top: 0.5rem; max-width: 640px; }

.about-philosophy {
  background: var(--white);
  padding: var(--space-xl) 0;
}

.about-philosophy__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.about-philosophy__img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--navy-mid);
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.about-philosophy__img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.philosophy-item {
  border-top: var(--border-thin);
  padding: 1.75rem 0;
}

.philosophy-item:last-child { border-bottom: var(--border-thin); }

.philosophy-item__label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.philosophy-item__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.philosophy-item__text {
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.8;
}

/* Partners section */
.partners { background: var(--navy); }

.partners__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: var(--space-md);
}

.partner-card {
  border: var(--border-thin);
  padding: 2rem;
  transition: border-color var(--t-mid), background var(--t-mid);
}
.partner-card:hover {
  border-color: var(--gold-light);
  background: rgba(184,150,46,0.05);
}

.partner-card__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}

.partner-card__desc {
  font-size: 0.88rem;
  color: var(--mist);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.partner-card__link {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--t-fast);
}
.partner-card__link:hover { gap: 0.75rem; }

/* ── Blog ── */
.blog-hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
}
.blog-hero .section-heading { color: var(--ivory); margin-top: 0.5rem; }

.blog-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: var(--space-md) 0;
}

.filter-btn {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--ivory-warm);
  background: transparent;
  color: var(--slate);
  cursor: pointer;
  transition: var(--t-fast);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

/* ── Article Page ── */
.article-hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 5rem) 0 4rem;
  position: relative;
  overflow: hidden;
}

.article-hero__bg {
  position: absolute;
  inset: 0;
  background: url('../img/hero.jpg') center/cover;
  opacity: 0.15;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--mist);
  margin-bottom: 1.5rem;
  position: relative;
}

.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--mist); }

.article-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ivory);
  max-width: 760px;
  position: relative;
}

.article-body {
  background: var(--white);
  padding: var(--space-lg) 0;
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--charcoal);
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
}

.article-content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}

.article-content p { margin-bottom: 1.5rem; }

.article-content strong { font-weight: 600; color: var(--navy); }

.article-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 1.25rem 2rem;
  margin: 2rem 0;
  background: var(--ivory);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--navy-mid);
}

/* ── Contact ── */
.contact-hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
  position: relative;
  overflow: hidden;
}
.contact-hero .section-heading { color: var(--ivory); margin-top: 0.5rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.contact-info__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 1.75rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: var(--border-thin);
}

.contact-detail__icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail__label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 0.35rem;
}

.contact-detail__value {
  font-size: 0.95rem;
  color: var(--charcoal);
}

/* Contact Form */
.contact-form {
  background: var(--navy);
  padding: 2.5rem;
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(184,150,46,0.25);
  color: var(--ivory);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color var(--t-fast);
  outline: none;
  border-radius: 0;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(154,160,184,0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group select option { background: var(--navy); }
.form-group textarea { resize: vertical; min-height: 140px; }

.form-notice {
  font-size: 0.75rem;
  color: var(--mist);
  margin-top: 0.75rem;
  line-height: 1.6;
}

/* ── Recruitment ── */
.recruitment-hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
  position: relative;
  overflow: hidden;
}
.recruitment-hero .section-heading { color: var(--ivory); margin-top: 0.5rem; }

.why-join__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: var(--space-lg);
}

.why-card {
  padding: 2.25rem;
  background: var(--white);
  border-top: 2px solid var(--gold);
  transition: box-shadow var(--t-mid);
}
.why-card:hover { box-shadow: var(--shadow-lift); }

.why-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.why-card__text {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.7;
}

/* ── 404 ── */
.error-page {
  min-height: 100svh;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.error-page__num {
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 14rem);
  font-weight: 300;
  color: rgba(184,150,46,0.15);
  line-height: 1;
  display: block;
}

.error-page__title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--ivory);
  margin-bottom: 1rem;
}

.error-page__text {
  color: var(--mist);
  margin-bottom: 2rem;
  max-width: 420px;
}

/* ── Footer ── */
.site-footer {
  background: var(--navy);
  border-top: var(--border-thin);
  padding: var(--space-lg) 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: var(--space-lg);
  border-bottom: var(--border-thin);
}

.footer__brand p {
  font-size: 0.88rem;
  color: var(--mist);
  line-height: 1.75;
  margin-top: 1rem;
  max-width: 280px;
}

.footer__col-title {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links a {
  font-size: 0.88rem;
  color: var(--mist);
  transition: color var(--t-fast), padding-left var(--t-mid);
}
.footer__links a:hover { color: var(--ivory); padding-left: 4px; }

.footer__contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.footer__contact-line svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__contact-line span {
  font-size: 0.85rem;
  color: var(--mist);
  line-height: 1.6;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy {
  font-size: 0.75rem;
  color: rgba(154,160,184,0.6);
}

.footer__legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer__legal-links a {
  font-size: 0.75rem;
  color: rgba(154,160,184,0.6);
  transition: color var(--t-fast);
}
.footer__legal-links a:hover { color: var(--ivory); }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-mid), transform var(--t-mid);
  z-index: 900;
}

.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: translateY(-3px); }

/* ── Scroll Animations ── */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Page Header (internal pages) ── */
.page-header {
  background: var(--navy);
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(184,150,46,0.08) 0%, transparent 70%);
}

.page-header .container { position: relative; z-index: 1; }
.page-header .section-heading { color: var(--ivory); margin-top: 0.5rem; }
.page-header .section-label { color: var(--gold-light); }

/* ── cta-band__text (missing variant) ── */
.cta-band__text { flex: 1; }

/* ── Team full cards ── */
.team-full-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
  padding: 3rem 0;
  border-bottom: var(--border-thin);
}
.team-full-card:first-child { border-top: var(--border-thin); }

.team-full-card__photo {
  aspect-ratio: 3/4;
  background: var(--navy-mid);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-full-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.team-full-card__initials {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.team-full-card__body { padding: 0.5rem 0; }
.team-full-card__role {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.team-full-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.team-full-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.team-full-card__tags span {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(184,150,46,0.1);
  color: var(--gold);
  padding: 0.3em 0.75em;
  border: 1px solid rgba(184,150,46,0.25);
}
.team-full-card__bio {
  color: var(--slate);
  line-height: 1.85;
  font-size: 0.95rem;
}
.team-full-card__bio p + p { margin-top: 1rem; }

.consultant-section {
  background: var(--off-white);
  padding: var(--space-xl) 0;
}

/* ── Expertise page service detail ── */
.service-detail {
  padding: var(--space-xl) 0;
  border-bottom: var(--border-thin);
}
.service-detail:nth-child(even) { background: var(--off-white); }

.service-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.service-detail:nth-child(even) .service-detail__grid {
  direction: rtl;
}
.service-detail:nth-child(even) .service-detail__grid > * {
  direction: ltr;
}
.service-detail__img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.service-detail__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-detail:hover .service-detail__img img { transform: scale(1.03); }

.service-detail__label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.service-detail__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.service-detail__items {
  list-style: none;
  margin-top: 1.25rem;
}
.service-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(184,150,46,0.12);
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.6;
}
.service-item::before {
  content: '→';
  color: var(--gold);
  flex-shrink: 0;
  font-size: 0.85rem;
  margin-top: 0.05em;
}

/* ── Licence grid on expertise page ── */
.license-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}
.license-tag {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--mist);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(184,150,46,0.2);
  padding: 0.5em 1.1em;
  transition: all var(--t-fast);
}
.license-tag:hover {
  color: var(--gold-light);
  border-color: var(--gold);
  background: rgba(184,150,46,0.08);
}

/* ── Blog cards (used on index insight section) ── */
.blog-card {
  background: var(--white);
  border: var(--border-thin);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--t-mid), transform var(--t-mid);
}
.blog-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}
.blog-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card__img img { transform: scale(1.04); }
.blog-card__body {
  padding: 1.5rem 1.75rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.blog-card__cat {
  font-size: 0.64rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.blog-card__date {
  font-size: 0.78rem;
  color: var(--mist);
}
.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.75rem;
  flex: 1;
}
.blog-card__excerpt {
  font-size: 0.87rem;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.blog-card__link {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  transition: gap var(--t-fast);
}
.blog-card:hover .blog-card__link { gap: 0.75rem; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .intro__grid { grid-template-columns: 1fr; }
  .insights__grid { grid-template-columns: 1fr; }
  .insight-card--featured { grid-row: auto; }
  .about-philosophy__grid { grid-template-columns: 1fr; }
  .about-philosophy__img { position: static; aspect-ratio: 16/9; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 70px; }

  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }

  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .hero__stats-inner { flex-wrap: wrap; gap: 0; }
  .stat { width: 50%; border-right: none; border-bottom: var(--border-thin); }
  .stat:nth-child(odd) { border-right: var(--border-thin); }

  .form-row { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }

  .services__header { flex-direction: column; align-items: flex-start; }
  .insights__header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2.5rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* Responsive: team cards */
@media (max-width: 860px) {
  .team-full-card {
    grid-template-columns: 1fr;
  }
  .team-full-card__photo {
    aspect-ratio: 16/9;
    max-height: 320px;
  }
  .service-detail__grid {
    grid-template-columns: 1fr;
    direction: ltr !important;
  }
  .service-detail:nth-child(even) .service-detail__grid {
    direction: ltr;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
