/* ===================== DESIGN TOKENS ===================== */
:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.25rem);
  --text-3xl: clamp(2.25rem, 1rem + 3.5vw, 4.25rem);

  /* Spacing (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1180px;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
}

/* ===================== COLOR — Global Advisory palette ===================== */
/* Deep indigo/navy (trust, institutional) + warm bronze/gold accent (global, premium) */
:root,
[data-theme='light'] {
  --color-bg: #f8f7f4;
  --color-surface: #ffffff;
  --color-surface-2: #fbfaf7;
  --color-surface-offset: #f1efe9;
  --color-divider: #e3e0d8;
  --color-border: #d8d4c8;

  --color-text: #171a2b;
  --color-text-muted: #565b72;
  --color-text-faint: #9a9aa8;
  --color-text-inverse: #f8f7f4;

  --color-primary: #1c2a4d;
  --color-primary-hover: #14203c;
  --color-primary-active: #0e1730;
  --color-primary-highlight: #dde2ec;

  --color-accent: #a8763b;
  --color-accent-hover: #8f6330;
  --color-accent-highlight: #ecdfc9;

  --shadow-sm: 0 1px 2px oklch(0.2 0.02 260 / 0.06);
  --shadow-md: 0 6px 20px oklch(0.2 0.02 260 / 0.08);
  --shadow-lg: 0 20px 48px oklch(0.2 0.02 260 / 0.14);
}

[data-theme='dark'] {
  --color-bg: #0e1122;
  --color-surface: #141830;
  --color-surface-2: #171c37;
  --color-surface-offset: #191e3b;
  --color-divider: #262c4a;
  --color-border: #2e3556;

  --color-text: #e9e9f0;
  --color-text-muted: #a3a6bd;
  --color-text-faint: #6b6f8f;
  --color-text-inverse: #171a2b;

  --color-primary: #7c93c9;
  --color-primary-hover: #9bb0dc;
  --color-primary-active: #b3c3e5;
  --color-primary-highlight: #232c4d;

  --color-accent: #d1a463;
  --color-accent-hover: #e3bb80;
  --color-accent-highlight: #3a3020;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 6px 20px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 20px 48px oklch(0 0 0 / 0.5);
}

/* ===================== LAYOUT ===================== */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.header .container {
  max-width: 1400px;
}

section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}

/* ===================== HEADER ===================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-divider);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.header--hidden {
  transform: translateY(-100%);
}
.header--scrolled {
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
  gap: var(--space-6);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text);
  text-decoration: none;
  flex-shrink: 0;
}
.brand__mark {
  width: auto;
  height: 34px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.brand__mark .mark-a { stroke: #0B1F33; stroke-width: 11; fill: none; }
.brand__mark .mark-bar { stroke: #C6A15B; stroke-width: 7; fill: none; }
.brand__mark .mark-g { stroke: #0C6870; stroke-width: 10; fill: none; }
[data-theme='dark'] .brand__mark .mark-a { stroke: #E9E9F0; }
[data-theme='dark'] .brand__mark .mark-bar { stroke: #D9B978; }
[data-theme='dark'] .brand__mark .mark-g { stroke: #4FC3CC; }
.brand__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
}
.brand__name small {
  display: block;
  white-space: normal;
  max-width: 220px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.nav__links {
  display: flex;
  gap: var(--space-3);
}
.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  white-space: nowrap;
}
.nav__links a:hover {
  color: var(--color-text);
}
.nav__actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: var(--space-2);
}
.nav__actions .btn {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}
.icon-btn:hover {
  color: var(--color-text);
  border-color: var(--color-text-faint);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}
.menu-toggle svg {
  width: 22px;
  height: 22px;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
}
.btn--accent {
  background: var(--color-accent);
  color: #fff;
}
.btn--accent:hover {
  background: var(--color-accent-hover);
}
.btn--ghost {
  border: 1px solid var(--color-border);
  color: var(--color-text);
}
.btn--ghost:hover {
  border-color: var(--color-text-faint);
  background: var(--color-surface-offset);
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  padding-block: clamp(var(--space-20), 12vw, var(--space-32)) clamp(var(--space-16), 9vw, var(--space-24));
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
}
[data-theme='dark'] .hero__bg {
  opacity: 0.6;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(var(--space-10), 6vw, var(--space-16));
  align-items: center;
}
.hero__inner {
  max-width: 620px;
}
.hero__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-divider);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 42, 77, 0) 55%, rgba(28, 42, 77, 0.35) 100%);
}
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    order: -1;
    aspect-ratio: 16 / 10;
  }
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-6);
}
.hero__eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-accent);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}
.hero h1 em {
  font-style: normal;
  color: var(--color-primary);
}
[data-theme='dark'] .hero h1 em {
  color: var(--color-accent);
}
.hero p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 620px;
  margin-bottom: var(--space-10);
}
.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Stats strip */
.stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: clamp(var(--space-16), 8vw, var(--space-24));
  padding-top: var(--space-10);
  border-top: 1px solid var(--color-divider);
}
.stat__num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-primary);
}
[data-theme='dark'] .stat__num {
  color: var(--color-accent);
}
.stat__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
  letter-spacing: 0.02em;
}

/* ===================== MARKETS / REGIONS ===================== */
.markets {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.markets__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(var(--space-6), 5vw, var(--space-16));
  flex-wrap: wrap;
  text-align: center;
}
.markets__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  width: 100%;
  margin-bottom: var(--space-6);
  text-align: center;
}
.markets__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
}
.markets__item svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
}
.markets__row--wrap {
  flex-wrap: wrap;
}

/* ===================== SECTION HEADERS ===================== */
.section-head {
  max-width: 640px;
  margin-bottom: clamp(var(--space-10), 6vw, var(--space-16));
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head__eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
  display: block;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.section-head p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

/* ===================== SERVICES ===================== */
.services {
  background: var(--color-surface-2);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-text-faint);
}
.service-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}
[data-theme='dark'] .service-card__icon {
  color: var(--color-accent);
}
.service-card__icon svg {
  width: 22px;
  height: 22px;
}
.service-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  word-break: keep-all;
}
.service-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.badge-soon {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-primary-highlight);
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: var(--space-3);
}
.service-card--soon,
.service-detail--soon {
  border-style: dashed;
  border-color: var(--color-accent);
}
.service-card--soon .badge-soon,
.service-detail--soon .badge-soon {
  align-self: flex-start;
}

/* ===================== APPROACH (steps) ===================== */
.approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-16));
  align-items: start;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.step {
  display: flex;
  gap: var(--space-5);
}
.step__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-accent);
}
.step h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.approach__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-divider);
  box-shadow: var(--shadow-md);
}

/* ===================== QUOTE ===================== */
.quote {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  text-align: center;
}
[data-theme='dark'] .quote {
  background: var(--color-surface-offset);
}
.quote__mark {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-4);
}
.quote p {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: var(--space-6);
  font-weight: 400;
}
.quote__cite {
  font-size: var(--text-sm);
  color: color-mix(in oklab, var(--color-text-inverse) 70%, transparent);
}

/* ===================== CONTACT / CTA ===================== */
.contact {
  background: var(--color-surface-2);
}
.contact__panel {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-10), 6vw, var(--space-16));
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-12);
  box-shadow: var(--shadow-md);
}
.contact__panel h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.contact__panel > div:first-child p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}
.contact__person {
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-4);
  margin-bottom: var(--space-8);
}
.contact__person-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
}
.contact__person-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  margin-top: 2px;
}
.contact__person-tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: 2px;
}
.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.contact__detail {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.contact__detail svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact__detail strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text);
}
.contact__detail span,
.contact__detail a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.contact__detail a:hover {
  color: var(--color-primary);
}
[data-theme='dark'] .contact__detail a:hover {
  color: var(--color-accent);
}
.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.field label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
}
.field input,
.field textarea {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  background: var(--color-bg);
  color: var(--color-text);
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-highlight);
}
.contact__form .btn {
  justify-content: center;
  margin-top: var(--space-2);
}

/* ===================== FOOTER ===================== */
.footer {
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-12);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-6);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.footer__brand svg {
  width: auto;
  height: 30px;
  color: var(--color-primary);
}
.footer__brand svg .mark-a { stroke: #0B1F33; stroke-width: 11; fill: none; }
.footer__brand svg .mark-bar { stroke: #C6A15B; stroke-width: 7; fill: none; }
.footer__brand svg .mark-g { stroke: #0C6870; stroke-width: 10; fill: none; }
[data-theme='dark'] .footer__brand svg .mark-a { stroke: #E9E9F0; }
[data-theme='dark'] .footer__brand svg .mark-bar { stroke: #D9B978; }
[data-theme='dark'] .footer__brand svg .mark-g { stroke: #4FC3CC; }
.footer__brand span {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-text);
}
.footer__meta {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer__langs {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer__langs a {
  color: inherit;
  text-decoration: none;
}
.footer__langs a:hover {
  color: var(--color-text-muted);
}
.footer__langs a.lang-current {
  color: var(--color-accent);
  font-weight: 600;
}

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.4rem 1.3rem 0.4rem 0.65rem;
  height: 34px;
  flex-shrink: 0;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23565b72' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 14px;
}
.lang-select:hover {
  color: var(--color-text);
  border-color: var(--color-text-faint);
}
.lang-select:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ===================== THEME TOGGLE ===================== */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
}

/* ===================== SCROLL REVEAL ===================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== PAGE HERO (interior pages) ===================== */
.page-hero {
  position: relative;
  padding-block: clamp(var(--space-16), 9vw, var(--space-24)) clamp(var(--space-10), 6vw, var(--space-16));
  border-bottom: 1px solid var(--color-divider);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
[data-theme='dark'] .page-hero__bg {
  opacity: 0.6;
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-5);
}
.page-hero__eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-accent);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-5);
}
.page-hero p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 620px;
}
.page-hero__visual {
  position: relative;
  z-index: 1;
  margin-top: clamp(var(--space-10), 6vw, var(--space-14));
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-divider);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 6;
}
.page-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 700px) {
  .page-hero__visual {
    aspect-ratio: 4 / 3;
  }
}

/* ===================== SEGMENT / PARTNER / INSIGHT CARDS ===================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.segment-card,
.partner-card,
.insight-card,
.service-detail {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.segment-card:hover,
.partner-card:hover,
.insight-card:hover,
.service-detail:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-text-faint);
}
.segment-card__icon,
.service-detail__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  flex-shrink: 0;
}
[data-theme='dark'] .segment-card__icon,
[data-theme='dark'] .service-detail__icon {
  color: var(--color-accent);
}
.segment-card__icon svg,
.service-detail__icon svg {
  width: 22px;
  height: 22px;
}
.segment-card h3,
.partner-card h3,
.insight-card h3,
.service-detail h3 {
  font-size: var(--text-lg);
  word-break: keep-all;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.segment-card p,
.partner-card p,
.insight-card p,
.service-detail p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  flex-grow: 1;
}
.service-detail {
  gap: var(--space-2);
}
.service-detail__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  margin-top: var(--space-5);
}
.service-detail__link:hover {
  color: var(--color-accent-hover);
}
.service-detail__link svg {
  width: 15px;
  height: 15px;
  transition: transform var(--transition-interactive);
}
.service-detail__link:hover svg {
  transform: translateX(3px);
}

.partner-card {
  gap: var(--space-3);
}
.partner-card__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-1);
}
.partner-card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.partner-card__name a,
.partner-card p a,
.contact__title a,
.about-grid p a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 3px;
}
.partner-card__name a:hover,
.partner-card p a:hover,
.contact__title a:hover,
.about-grid p a:hover {
  color: var(--color-accent);
}

.pipeline-list {
  list-style: none;
  margin: var(--space-3) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.pipeline-list li {
  position: relative;
  padding-left: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}
.pipeline-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}
.pipeline-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: var(--space-4);
  display: block;
}

.insight-card__tag {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.insight-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-lg);
}

/* ===================== TIMELINE / PROCESS (reused on advisory page) ===================== */
.process-intro {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin-bottom: clamp(var(--space-10), 6vw, var(--space-16));
}
.process-intro p {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  max-width: 780px;
}

/* ===================== CTA BANNER ===================== */
.cta-banner {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  text-align: center;
}
[data-theme='dark'] .cta-banner {
  background: var(--color-surface-offset);
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  margin-bottom: var(--space-3);
}
.cta-banner p {
  color: color-mix(in oklab, var(--color-text-inverse) 75%, transparent);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}
.cta-banner__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}
.cta-banner .btn--ghost {
  border-color: color-mix(in oklab, var(--color-text-inverse) 35%, transparent);
  color: var(--color-text-inverse);
}
.cta-banner .btn--ghost:hover {
  background: color-mix(in oklab, var(--color-text-inverse) 12%, transparent);
}

/* ===================== SECTION helpers ===================== */
.section--tight {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}
.section--surface {
  background: var(--color-surface-2);
}
.section-cta {
  text-align: center;
  margin-top: var(--space-10);
}

/* ===================== DISCLAIMER ===================== */
.disclaimer {
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-8);
}
.disclaimer p {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  max-width: 900px;
  line-height: 1.6;
}

/* ===================== NAV active state ===================== */
.nav__links a[aria-current='page'] {
  color: var(--color-text);
  position: relative;
}
.nav__links a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--color-accent);
}

/* ===================== ABOUT PAGE ===================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-16));
  align-items: start;
}
.about-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-divider);
  box-shadow: var(--shadow-md);
}
.about-values {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-10);
}
.about-value {
  text-align: center;
  padding: var(--space-5) var(--space-3);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
}
.about-value__word {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}
[data-theme='dark'] .about-value__word {
  color: var(--color-accent);
}
.about-value__desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1400px) {
  .nav__actions .btn {
    display: none;
  }
}

@media (max-width: 1300px) {
  .brand__name small {
    display: none;
  }
  .nav {
    gap: var(--space-4);
  }
  .nav__links {
    gap: var(--space-4);
  }
}

@media (max-width: 900px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
  .approach {
    grid-template-columns: 1fr;
  }
  .contact__panel {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--space-8);
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .card-grid--2 {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 761px) {
  .nav__links-cta {
    display: none;
  }
}

@media (max-width: 760px) {
  .nav__links {
    display: none;
  }
  .nav__links-cta {
    margin-top: var(--space-2);
  }
  .nav__links-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .nav__actions .btn {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 480px) {
  .brand__name small {
    display: none;
  }
  .header__inner {
    flex-wrap: nowrap;
    gap: var(--space-3);
  }
  .brand__name {
    font-size: var(--text-base);
  }
}

@media (max-width: 560px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
