/* ========================================
   Run Capital Partners - Premium Redesign
   ======================================== */

:root {
  --gold: #c9a84c;
  --gold-light: #e0c874;
  --gold-dark: #8a6f2e;
  --gold-glow: rgba(201, 168, 76, 0.3);
  --dark: #080808;
  --dark-2: #111111;
  --dark-3: #1a1a1a;
  --dark-4: #222222;
  --cream: #f5f0e8;
  --cream-2: #ebe4d8;
  --white: #ffffff;
  --gray-100: #f7f7f7;
  --gray-200: #e5e5e5;
  --gray-400: #999;
  --gray-600: #666;
  --gray-800: #333;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* Aliases matching the canonical template (amc-style.css) so
     sport-wealth.html and nasdaq-listings.html resolve var(--serif)
     etc. without needing to load amc-style.css. */
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gold-warm: #a8882f;
  --ink: #0a0a0a;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: var(--dark);
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

/* ---- Layout ---- */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.split__right {
  padding-top: 44px;
}

/* ---- Nav ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s var(--ease-out-expo);
}

.nav::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  opacity: 0.55;
}

.nav--scrolled {
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 1px 0 rgba(201,168,76,0.1);
}

.nav--scrolled::after {
  opacity: 0.75;
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: var(--white);
}

.nav__logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.nav__logo-text {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  white-space: nowrap;
  text-transform: uppercase;
}

.nav__logo-icon {
  color: var(--gold);
  font-size: 20px;
  filter: drop-shadow(0 0 8px var(--gold-glow));
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out-expo);
}

.nav__links a:hover {
  color: var(--white);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white) !important;
  padding: 10px 36px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: all 0.3s !important;
  box-shadow: 0 2px 12px rgba(201,168,76,0.2);
}

.nav__cta::after {
  display: none !important;
}

.nav__cta:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important;
  box-shadow: 0 4px 20px rgba(201,168,76,0.35) !important;
  transform: translateY(-1px);
}

/* Language switcher */
.nav__lang {
  margin-left: 8px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 100px;
  background: transparent;
  font-family: 'Cinzel', var(--font-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
}

.lang-switch:hover {
  border-color: var(--gold);
}

.lang-switch__opt {
  transition: color 0.3s;
  color: rgba(255,255,255,0.5);
}

.lang-switch__opt--active {
  color: var(--gold);
}

.lang-switch__sep {
  opacity: 0.35;
  color: var(--gold);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.nav__toggle--active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle--active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle--active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Hero ---- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% 40%, rgba(201,168,76,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(201,168,76,0.04) 0%, transparent 50%),
    linear-gradient(180deg, rgba(8,8,8,1) 0%, rgba(8,8,8,0.95) 100%);
}

/* Animated grid lines */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridShift 20s linear infinite;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 50%, black 0%, transparent 100%);
}

@keyframes gridShift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(80px, 80px); }
}

/* Floating orb */
.hero__bg::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 60%);
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 20px) scale(1.05); }
  66% { transform: translate(20px, -15px) scale(0.95); }
}

/* Canvas for particles */
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.6;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 180px 24px 80px;
}

.hero__content--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.hero__text {
  min-width: 0;
}

.hero__content--split .hero__stats {
  grid-column: 1 / -1;
  margin-top: 32px;
}

.hero__visual {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  margin-top: -60px;
  opacity: 0;
  animation: heroFadeUp 1.2s var(--ease-out-expo) 0.6s forwards;
}

.hero__network {
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(201, 168, 76, 0.15));
}

.hero__visual {
  position: relative;
}

.hero__skyline-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 80px rgba(201,168,76,0.1);
  mask-image: radial-gradient(ellipse 110% 100% at 50% 50%, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: radial-gradient(ellipse 110% 100% at 50% 50%, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  position: relative;
}


.hero__city-back {
  animation: citySway 16s ease-in-out infinite;
}

.hero__city-mid {
  animation: citySway 20s ease-in-out infinite 1s;
}

.hero__city-spire {
  transform-origin: 206px 460px;
  transform-box: fill-box;
  animation: spireGlow 6s ease-in-out infinite;
}

.hero__city-pulses circle:first-child {
  transform-origin: 206px 14px;
  transform-box: fill-box;
  animation: signalRing 3s ease-out infinite;
}

.hero__city-pulses circle:nth-child(2) {
  animation: twinkle 3.5s ease-in-out infinite 0.5s;
}

.hero__city-pulses circle:nth-child(3) {
  animation: twinkle 4s ease-in-out infinite 1.8s;
}

@keyframes citySway {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes spireGlow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(224, 200, 116, 0.35)); }
  50% { filter: drop-shadow(0 0 18px rgba(224, 200, 116, 0.6)); }
}

@keyframes signalRing {
  0% { r: 6; opacity: 0.9; }
  100% { r: 26; opacity: 0; }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.hero__eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s var(--ease-out-expo) 0.2s forwards;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 680px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 1s var(--ease-out-expo) 0.4s forwards;
}

.hero__title .gold,
.section__title .gold,
.service-hero__title .gold,
span.gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--gold);
}

.hero__sub {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s var(--ease-out-expo) 0.6s forwards;
}

.hero__locations {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s var(--ease-out-expo) 0.7s forwards;
}

.hero__loc-pill {
  display: inline-block;
  padding: 8px 24px;
  border: 1.5px solid rgba(201,168,76,0.5);
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  margin-bottom: 72px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s var(--ease-out-expo) 0.8s forwards;
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  padding-top: 44px;
  border-top: 1px solid rgba(201,168,76,0.15);
  opacity: 0;
  animation: heroFadeUp 0.8s var(--ease-out-expo) 1s forwards;
  text-align: center;
}

.hero__stat {
  position: relative;
}

.hero__stat::after {
  content: '';
  position: absolute;
  right: -28px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: rgba(201,168,76,0.15);
}

.hero__stat:last-child::after {
  display: none;
}

.hero__stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--dark);
}

.hero__stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ---- Buttons ---- */

.btn {
  display: inline-block;
  padding: 15px 36px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s var(--ease-out-expo);
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: 0 2px 16px rgba(201,168,76,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn--outline {
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--white);
  background: rgba(201,168,76,0.05);
  box-shadow: 0 0 24px rgba(201,168,76,0.1);
}

.btn--outline[href*="linkedin"] {
  background: transparent;
  border-color: #0A66C2;
  color: #0A66C2;
}
.btn--outline[href*="linkedin"]:hover {
  background: rgba(10,102,194,0.1);
  border-color: #0A66C2;
  color: #0A66C2;
  box-shadow: 0 0 24px rgba(10,102,194,0.2);
}

.btn--full {
  width: 100%;
  text-align: center;
}

/* ---- Trust Bar (scrolling) ---- */

.trust-bar {
  background: var(--dark-2);
  padding: 28px 0;
  border-top: 1px solid rgba(201,168,76,0.08);
  border-bottom: 1px solid rgba(201,168,76,0.08);
  overflow: hidden;
}

.trust-bar__label {
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}

.trust-bar__track {
  display: flex;
  animation: scroll 25s linear infinite;
  width: max-content;
}

.trust-bar__logos {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-right: 64px;
  flex-shrink: 0;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trust-bar__logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.trust-bar__logo img:hover {
  opacity: 1;
}

.trust-bar__logo.partner-logo {
  display: inline-flex;
  align-items: center;
  color: var(--gold) !important;
  opacity: 1;
  transition: color 0.3s;
}

.trust-bar__logo.partner-logo:hover {
  color: var(--gold-light) !important;
}

.partner-logo svg text,
.partner-logo svg > rect,
.partner-logo svg > circle,
.partner-logo svg > line,
.partner-logo svg > path,
.partner-logo svg > g > rect,
.partner-logo svg > g > circle,
.partner-logo svg > g > line,
.partner-logo svg > g > path {
  fill: currentColor;
}

.partner-logo svg text {
  stroke: none;
}

.partner-logo svg > rect[stroke],
.partner-logo svg > line[stroke],
.partner-logo svg > path[stroke] {
  stroke: currentColor;
}

.partner-logo svg {
  height: 44px;
  width: auto;
  display: block;
}

.partner-logo--img img {
  height: 44px;
  width: auto;
  display: block;
  filter: none !important;
  opacity: 1 !important;
}

.trust-bar__logo {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: color 0.3s;
}

.trust-bar__logo:hover {
  color: var(--gold);
}

/* ---- Sections ---- */

.section {
  padding: 120px 0;
  position: relative;
}

.section--light {
  background: var(--white);
}

.section--dark {
  background: var(--dark);
}

.section--dark-alt {
  background: var(--dark-2);
}

.section--cream {
  background: var(--cream);
}

.section__eyebrow {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section__eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.section__eyebrow--light {
  color: var(--gold-light);
}

.section__eyebrow--light::before {
  background: var(--gold-light);
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(42px, 5.5vw, 68px);
  font-weight: 600;
  line-height: 1.12;
  color: var(--gray-800);
  margin-bottom: 24px;
}

.section__title--light {
  color: var(--white);
}

.section__intro {
  font-size: 17px;
  color: var(--gray-600);
  max-width: 600px;
  margin-bottom: 56px;
  line-height: 1.8;
}

.section--dark .section__intro {
  color: rgba(255,255,255,0.45);
}

.text-lg {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ---- About ---- */

.about__badges {
  display: flex;
  gap: 20px;
  margin-top: 36px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--cream);
  border-radius: 12px;
  flex: 1;
  border: 1px solid rgba(201,168,76,0.1);
  transition: all 0.3s;
}

.badge:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(201,168,76,0.08);
}

.badge__icon {
  font-size: 28px;
  color: var(--gold);
  filter: drop-shadow(0 0 6px var(--gold-glow));
}

.badge strong {
  display: block;
  font-size: 14px;
}

.badge span {
  font-size: 12px;
  color: var(--gray-600);
}

.badge__nasdaq-logo {
  width: 80px;
  height: auto;
}

/* ---- Services ---- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Center the last row when 2 orphan cards */
.services-grid .service-card:nth-child(4) {
  grid-column: 1 / 2;
}

.services-grid .service-card:nth-child(5) {
  grid-column: 2 / 3;
}

.service-card {
  background: linear-gradient(160deg, rgba(201,168,76,0.08) 0%, rgba(201,168,76,0.03) 30%, var(--dark-3) 100%);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 16px;
  padding: 36px;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
  transition: opacity 0.4s;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(201,168,76,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(201,168,76,0.08);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__number {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 20px;
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.service-card__entity {
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.service-card p {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card__list {
  list-style: none;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 16px;
}

.service-card__list li {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  padding: 7px 0;
  padding-left: 18px;
  position: relative;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.service-card:hover .service-card__list li::before {
  width: 12px;
}

/* ---- Service icon (shared by featured + compact cards) ---- */
.service-card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  color: var(--gold);
  display: block;
  position: relative;
  z-index: 1;
}
.service-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(201,168,76,0.25));
  transition: transform 0.4s var(--ease-out-expo), filter 0.4s;
}
.service-featured:hover .service-card__icon svg,
.service-compact:hover .service-card__icon svg {
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(0 4px 14px rgba(201,168,76,0.45));
}
.service-featured > .service-card__icon {
  grid-column: 1;
  grid-row: 1;
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
}

/* Skyscraper visual on right of featured card */
.service-featured__visual {
  grid-column: 2;
  grid-row: 1 / span 10;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
  max-height: 180px;
  overflow: hidden;
}

.service-featured__visual svg {
  width: 100%;
  max-width: 160px;
  height: 100%;
  max-height: 180px;
  filter: drop-shadow(0 0 24px rgba(201,168,76,0.15));
}

@media (max-width: 900px) {
  .service-featured__visual {
    grid-column: 1;
    grid-row: auto;
    max-height: 200px;
    margin-top: 16px;
  }
  .service-featured__visual svg {
    max-width: 200px;
    max-height: 200px;
  }
}

/* ---- Featured service card (Asset Management) ---- */

.service-featured {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
  margin: 0 auto 20px;
  max-width: 640px;
  background: linear-gradient(160deg, rgba(201,168,76,0.08) 0%, rgba(201,168,76,0.03) 30%, var(--dark-3) 100%);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s var(--ease-out-expo);
}

.service-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(201,168,76,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.service-featured:hover {
  border-color: rgba(201,168,76,0.4);
  border-left-color: var(--gold-light);
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.45), 0 0 48px rgba(201,168,76,0.1);
}

.service-featured__meta {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 0;
}

.service-featured__number {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.service-featured__entity {
  font-size: 12px;
  color: var(--gold);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.service-featured__title {
  grid-column: 1;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-top: 6px;
  margin-bottom: 6px;
  line-height: 1.2;
}

.service-featured__body {
  grid-column: 1;
  color: rgba(255,255,255,0.6);
  font-size: 12.5px;
  line-height: 1.55;
  margin-bottom: 10px;
  max-width: 340px;
}

.service-featured__list {
  grid-column: 1;
  grid-row: auto;
  align-self: start;
  list-style: none;
  padding: 6px 0 6px 14px;
  border-left: 1px solid rgba(201,168,76,0.2);
  margin: 0 0 10px;
}

.service-featured__list li {
  font-size: 11.5px;
  color: rgba(255,255,255,0.7);
  padding: 2px 0 2px 12px;
  position: relative;
  letter-spacing: 0.01em;
}

.service-featured__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.service-featured:hover .service-featured__list li::before {
  width: 14px;
}

.service-featured__cta {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 4px;
  transition: gap 0.3s var(--ease-out-expo);
}

.service-featured:hover .service-featured__cta {
  gap: 16px;
}

/* ---- Compact service cards (2x2 grid) ---- */

.services-grid--compact {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Override the 3-col orphan placement for compact layout */
.services-grid--compact .service-card:nth-child(4),
.services-grid--compact .service-card:nth-child(5) {
  grid-column: auto;
}

.service-compact {
  display: flex;
  flex-direction: column;
  padding: 32px 36px;
  background: linear-gradient(160deg, rgba(201,168,76,0.05) 0%, rgba(201,168,76,0.02) 30%, var(--dark-3) 100%);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s var(--ease-out-expo);
}

.service-compact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
  transition: opacity 0.4s;
}

.service-compact:hover {
  border-color: rgba(201,168,76,0.28);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 30px rgba(201,168,76,0.06);
}

.service-compact:hover::before {
  opacity: 0.8;
}

.service-compact__number {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  position: absolute;
  top: 24px;
  right: 28px;
  letter-spacing: 0.05em;
  opacity: 0.75;
}

.service-compact__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.25;
}

.service-compact__entity {
  font-size: 11px;
  color: var(--gold);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.service-compact__body {
  color: rgba(255,255,255,0.55);
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-compact__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: gap 0.3s var(--ease-out-expo);
}

.service-compact:hover .service-compact__cta {
  gap: 14px;
  color: var(--gold-light);
}

/* ---- Service Detail Pages ---- */

.service-hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
  padding-top: 72px;
}

/* Service hero layout with illustration */
.service-hero__layout {
  display: flex;
  align-items: center;
  gap: 64px;
  justify-content: space-between;
}

.service-hero__text {
  flex: 1;
  min-width: 0;
}

.service-hero__illustration {
  flex: 0 0 280px;
  width: 280px;
  height: 280px;
  color: var(--gold);
  filter: drop-shadow(0 0 28px rgba(201,168,76,0.25));
  opacity: 0.95;
}

.service-hero__illustration svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 900px) {
  .service-hero__layout { flex-direction: column; align-items: flex-start; gap: 32px; }
  .service-hero__illustration { flex-basis: 200px; width: 200px; height: 200px; align-self: center; }
}

/* Feature lists with gold icon markers */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

.feature-list--dark li { color: rgba(255,255,255,0.65); }

.feature-list li svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Section dividers */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto;
  max-width: 480px;
  padding: 40px 0 20px;
  color: var(--gold);
}

.section-divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.5), transparent);
}

.section-divider svg {
  color: var(--gold);
  filter: drop-shadow(0 0 6px var(--gold-glow));
}

/* Feature highlight block */
.feature-highlight {
  margin: 56px auto 0;
  max-width: 640px;
  padding: 44px 32px;
  text-align: center;
  background: linear-gradient(160deg, rgba(201,168,76,0.08) 0%, rgba(201,168,76,0.02) 100%);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 16px;
  position: relative;
}

.feature-highlight::before,
.feature-highlight::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.feature-highlight::before { top: 0; }
.feature-highlight::after { bottom: 0; }

.feature-highlight__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-highlight__icon svg { width: 100%; height: 100%; }

.feature-highlight__num {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.05;
  margin-bottom: 8px;
}

.feature-highlight__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.feature-highlight--light {
  background: var(--white);
  border-color: rgba(201,168,76,0.25);
  box-shadow: 0 12px 40px rgba(0,0,0,0.04);
}

.feature-highlight--light .feature-highlight__label { color: var(--gold-dark); }

/* Process step icon (circle with icon alongside number) */
.process-step__badge {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  opacity: 0.85;
}

.process-step__badge svg { width: 20px; height: 20px; }

.service-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 30%, rgba(201,168,76,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(201,168,76,0.04) 0%, transparent 50%),
    linear-gradient(180deg, rgba(8,8,8,1) 0%, rgba(8,8,8,0.97) 100%);
}

.service-hero__content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 24px 80px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.3s;
}

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

.breadcrumb__sep {
  color: rgba(201,168,76,0.4);
  font-size: 10px;
}

.breadcrumb__current {
  color: var(--gold);
  font-weight: 600;
}

.service-hero__eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.service-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.service-hero__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  max-width: 680px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.service-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.service-stats {
  display: flex;
  gap: 40px;
  padding-top: 28px;
  margin-top: 32px;
  border-top: 1px solid rgba(201,168,76,0.2);
  flex-wrap: wrap;
}

.service-stats__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-stats__num {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-stats__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-600);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.process-step {
  padding: 36px 36px 32px;
  background: linear-gradient(160deg, rgba(201,168,76,0.06) 0%, rgba(201,168,76,0.02) 30%, var(--dark-3) 100%);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
  transition: height 0.4s var(--ease-out-expo);
}

.process-step:hover {
  border-color: rgba(201,168,76,0.25);
  transform: translateY(-3px);
}

.process-step:hover::before {
  height: 100%;
}

.process-step__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1;
}

.process-step__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.process-step p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.capability-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: 14px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.capability-card:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}

/* Capability cards on dark sections — black with gold border */
.section--dark .capability-card,
.section--dark-alt .capability-card {
  background: #0f0f0f;
  border: 1px solid rgba(201,168,76,0.28);
}
.section--dark .capability-card:hover,
.section--dark-alt .capability-card:hover {
  background: #141414;
  border-color: var(--gold);
  box-shadow: 0 14px 36px rgba(0,0,0,0.35), 0 0 0 1px rgba(201,168,76,0.25);
  transform: translateY(-4px);
}
.section--dark .capability-card__title,
.section--dark-alt .capability-card__title {
  color: var(--gold);
}
.section--dark .capability-card p,
.section--dark-alt .capability-card p {
  color: rgba(255,255,255,0.65);
}
.section--dark .capability-card__link,
.section--dark-alt .capability-card__link {
  color: var(--gold);
}

/* Global expertise card overrides (bio pages) */
.expertise-card { border: 1px solid rgba(201,168,76,0.25) !important; }
.expertise-card::before { height: 100% !important; }
.expertise-card__title { color: var(--gold) !important; }
.cred-card { border: 2px solid var(--gold) !important; }

.capability-card__title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 10px;
}

.capability-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

.capability-card__link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 20px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-warm, #a8882f);
  transition: transform 0.3s ease, color 0.3s ease;
}

.capability-card:hover .capability-card__link {
  color: var(--gold, #c9a84c);
  transform: translateX(4px);
}

.service-cta {
  text-align: center;
  padding: 40px 0;
}

.service-cta__title {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: clamp(36px, 6vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: #fff;
  margin-bottom: 40px;
}

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

.service-cta__sub {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.service-cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.service-cta__btn {
  display: inline-block;
  padding: 20px 44px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #141414;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 40px rgba(201,168,76,0.2);
}

.service-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 56px rgba(201,168,76,0.3);
}

.service-cta__back {
  display: inline-block;
  padding: 20px 40px;
  background: transparent;
  color: #f7f3ea;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid rgba(247,243,234,0.3);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-cta__back:hover {
  border-color: var(--gold-warm);
  background: rgba(201,168,76,0.08);
  color: #f7f3ea;
}

@media (max-width: 768px) {
  .process-grid,
  .capability-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-hero {
    min-height: auto;
  }
  .service-hero__content {
    padding: 80px 20px 52px;
  }
  .service-hero__title {
    font-size: 34px;
    line-height: 1.15;
  }
  .service-hero__sub {
    font-size: 15px;
  }
  .service-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .service-hero__actions .btn {
    text-align: center;
  }
  .service-stats {
    gap: 16px;
    flex-wrap: nowrap;
  }
  .service-stats__num {
    font-size: 16px;
  }
  .service-stats__label {
    font-size: 9px;
  }
  .process-step {
    padding: 28px 24px 26px;
  }
  .capability-card {
    padding: 24px;
  }
  .service-cta__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .breadcrumb {
    font-size: 11px;
    gap: 8px;
    margin-bottom: 28px;
  }
  .insights-header {
    align-items: flex-start;
  }
  .article-hero__meta {
    font-size: 11px;
    gap: 10px;
  }
  .article-hero__deck {
    font-size: 17px;
  }
  .legal-hero__sub {
    font-size: 15px;
  }
}

/* ---- Custodian Institutions ---- */

.custodians {
  margin-top: 96px;
  padding-top: 64px;
  border-top: 1px solid rgba(201,168,76,0.15);
  position: relative;
}

.custodians::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: var(--gold);
}

.custodians__header {
  text-align: center;
  margin-bottom: 56px;
}

.custodians__header .section__eyebrow {
  justify-content: center;
  display: inline-flex;
}

.custodians__title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 500;
  color: var(--dark);
  line-height: 1.3;
  max-width: 680px;
  margin: 16px auto 0;
}

.custodians__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px 56px;
  max-width: 1100px;
  margin: 0 auto;
}

.custodian-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 180px;
  height: 80px;
  color: var(--gold);
  opacity: 0.9;
  transition: all 0.3s var(--ease-out-expo);
  overflow: hidden;
}

.custodian-logo:hover {
  opacity: 1;
  color: var(--gold-light);
  transform: translateY(-2px);
}

.custodian-logo svg,
.custodian-logo--img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.custodian-logo--img img[src*="citi"] {
  transform: scale(0.6);
}

.custodian-logo--img img[src*="safra-sarasin"] {
  transform: scale(1.2);
}

.custodian-logo--img img[src*="pictet"] {
  transform: scale(0.8);
}

@media (max-width: 900px) {
  .custodians__grid {
    gap: 24px 40px;
  }
}

/* ---- Group Structure ---- */

.group-diagram {
  text-align: center;
  position: relative;
}

.group-parent {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

/* Parent: RCP Group crest card */
.group-card.group-card--parent {
  background: linear-gradient(135deg, #050505 0%, var(--dark-3) 100%);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 16px;
  padding: 36px 56px 32px;
  min-width: 480px;
  position: relative;
  overflow: hidden;
  text-align: center;
  align-items: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 60px rgba(201,168,76,0.05), inset 0 1px 0 rgba(201,168,76,0.15);
}

.group-card--parent::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.7;
}

.group-card--parent::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.5), transparent);
}

.group-card__lockup {
  display: inline-flex;
  align-items: center;
  align-self: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 22px;
}

.group-card__crest-img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 16px rgba(201,168,76,0.35));
}

.group-card__lockup-text {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.group-card--parent .group-card__loc--parent {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 500;
  color: #ffffff;
}

.group-card--parent h3 {
  font-family: 'Cinzel', var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin: 0;
  text-transform: uppercase;
  line-height: 1.1;
  white-space: nowrap;
}

.group-card__tag {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.5);
  margin: 0;
  display: block;
}

.group-card__loc--parent {
  display: inline-block;
  margin-top: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  background: transparent;
  padding: 8px 16px;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 100px;
}

/* Connecting line */
.group-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, rgba(201,168,76,0.6), rgba(201,168,76,0.1));
  margin: 0 auto;
  position: relative;
}

.group-line::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(201,168,76,0.6);
}

.group-children {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 16px;
}

/* Horizontal connector across all 4 cards */
.group-children::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.5) 20%, rgba(201,168,76,0.5) 80%, transparent);
}

/* Vertical drops to each card */
.group-children > .group-card::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  width: 1px;
  height: 8px;
  background: rgba(201,168,76,0.5);
}

/* Subsidiary cards */
.group-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fafaf6 100%);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 14px;
  padding: 36px 26px 26px;
  text-align: left;
  transition: all 0.45s var(--ease-out-expo);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

a.group-card {
  cursor: pointer;
}

.group-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
}

.group-card:hover {
  border-color: rgba(201,168,76,0.5);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.08), 0 0 40px rgba(201,168,76,0.06);
}

.group-card:hover::after {
  opacity: 1;
}

.group-card__num {
  display: none;
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.08em;
  opacity: 0.5;
}

.group-card h4 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--dark);
  line-height: 1.25;
  margin-top: 8px;
}

.group-card p {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 18px;
  flex-grow: 1;
}

.group-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(201,168,76,0.15);
  margin-top: auto;
}

.group-card__cta {
  display: block;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.3s;
}

.group-card:hover .group-card__cta {
  color: var(--gold-light);
}

.group-card__loc {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin: 0;
}

.group-card__reg {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold-dark);
  font-style: italic;
}

.group-card__reg--badge {
  align-self: flex-start;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(201,168,76,0.22) 0%, rgba(201,168,76,0.12) 100%);
  border: 1px solid rgba(201,168,76,0.55);
  color: var(--gold-dark);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 10px;
}

/* External / spinoff card */
.group-card--external {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background: linear-gradient(160deg, #d4b45a 0%, #a88a44 45%, #5a4820 100%);
  border-color: rgba(201,168,76,0.45);
}

.group-card--external:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
}

.group-card__badge {
  position: absolute;
  top: auto;
  left: auto;
  bottom: 22px;
  right: 22px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--gold);
  padding: 4px 10px;
  border-radius: 100px;
}


/* ---- Team ---- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
}

.team-grid--full {
  gap: 28px;
  margin-top: 48px;
  display: none;
  flex-wrap: wrap;
  justify-content: center;
}

.team-grid--full.team-grid--visible {
  display: flex;
}

.team-grid--full .team-card {
  flex: 0 0 calc((100% - 4 * 28px) / 5);
  max-width: calc((100% - 4 * 28px) / 5);
}

@media (max-width: 980px) {
  .team-grid--full .team-card {
    flex: 0 0 calc((100% - 2 * 28px) / 3);
    max-width: calc((100% - 2 * 28px) / 3);
  }
}

@media (max-width: 640px) {
  .team-grid--full .team-card {
    flex: 0 0 calc((100% - 28px) / 2);
    max-width: calc((100% - 28px) / 2);
  }
}

.team-expand {
  text-align: center;
  margin-top: 48px;
}

.team-expand__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--dark);
  padding: 14px 36px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(201, 168, 76, 0.28);
  transition: all 0.3s var(--ease-out-expo);
}

.team-expand__btn:hover {
  background: var(--gold-light, #e8cd7a);
  border-color: var(--gold-light, #e8cd7a);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 168, 76, 0.4);
}

.team-expand__btn--active {
  background: var(--gold);
  color: var(--dark);
}

.team-card {
  text-align: center;
  transition: transform 0.4s var(--ease-out-expo);
}

.team-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.team-card:hover {
  transform: translateY(-8px);
}

.team-card__photo {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gray-200), var(--cream-2));
  margin: 0 auto 24px;
  position: relative;
  box-shadow: 0 0 0 2px rgba(201,168,76,0.5);
  overflow: hidden;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-card__photo::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  opacity: 0.5;
  transition: opacity 0.4s;
  z-index: 1;
}

.team-card:hover .team-card__photo::before {
  opacity: 1;
}

.team-card__photo::after {
  content: 'View full profile';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}

.team-card:hover .team-card__photo::after {
  opacity: 1;
}

.team-card--no-profile .team-card__photo::after { content: none; }
.team-card--no-profile { cursor: default; }
.team-card__photo--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #faf5e8, #ede2c8);
}
.team-card__photo--initials span {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 56px;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.team-card__name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.team-card__cta {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.6;
  transition: opacity 0.3s;
}

.team-card:hover .team-card__cta {
  opacity: 1;
}

.team-card__bio {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ---- Luxembourg ---- */

.lux-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.lux-item {
  padding: 28px;
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
  border-radius: 14px;
  border: 1px solid rgba(201,168,76,0.06);
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.lux-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s var(--ease-out-expo);
}

.lux-item:hover {
  border-color: rgba(201,168,76,0.15);
}

.lux-item:hover::before {
  height: 100%;
}

.lux-item h4 {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 18px;
  margin-bottom: 10px;
}

.lux-item p {
  color: rgba(255,255,255,0.45);
  font-size: 14px;
  line-height: 1.7;
}

/* ---- Insights ---- */

.insights-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.insights-header__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  transition: gap 0.3s var(--ease-out-expo), color 0.3s;
}

.insights-header__link:hover {
  color: var(--gold);
  gap: 16px;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Magazine-style insight cards */
.insight-card--magazine {
  display: flex !important;
  flex-direction: column;
  padding: 0 !important;
  background: #fdfaf2 !important;
  border: 1px solid rgba(201,168,76,0.18) !important;
  border-radius: 16px !important;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.insight-card--magazine:hover {
  transform: translateY(-6px);
  border-color: rgba(201,168,76,0.4) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1), 0 0 32px rgba(201,168,76,0.08);
}

.insight-card__cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0d0a06;
  display: flex;
  align-items: center;
  justify-content: center;
}

.insight-card__cover svg,
.insight-card__cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.insight-card__cover img[src*="eterna"],
.insight-card__cover img[src*="maha-keo"] {
  object-fit: cover;
  background: #000;
}


.insight-card--magazine:hover .insight-card__cover img {
  transform: scale(1.04);
}

.insight-card__cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}

.insight-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark);
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  padding: 5px 12px;
  border-radius: 100px;
  z-index: 2;
}

.insight-card__body {
  padding: 26px 28px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.insight-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 14px;
}

.insight-card__meta .insight-card__date {
  color: var(--gold-dark);
  font-weight: 600;
}

.insight-card__dot { opacity: 0.4; }

.insight-card__read-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-600);
}

.insight-card__read-time svg { color: var(--gold); }

.insight-card--magazine .insight-card__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark);
  margin: 0 0 10px;
}

.insight-card__excerpt {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0 0 22px;
  flex-grow: 1;
}

.insight-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(201,168,76,0.15);
}

.insight-author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(201,168,76,0.25);
}
img.author-avatar {
  object-fit: cover;
  background: none;
}

.author-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.author-name strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

.author-name span {
  font-size: 11px;
  color: var(--gray-600);
  margin-top: 2px;
}

.insight-card--magazine .insight-card__cta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  transition: gap 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.insight-card--magazine:hover .insight-card__cta {
  gap: 10px;
}

/* original */
.insight-card {
  display: flex;
  flex-direction: column;
  padding: 36px;
  background: var(--cream);
  border-radius: 16px;
  transition: all 0.4s var(--ease-out-expo);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.insight-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 36px;
  right: 36px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.insight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
  border-color: rgba(201,168,76,0.15);
}

.insight-card:hover::after {
  opacity: 1;
}

.insight-card__date {
  font-size: 11px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.insight-card__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.insight-card__author {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.insight-card > p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.insight-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: auto;
  transition: gap 0.3s var(--ease-out-expo), color 0.3s;
}

.insight-card:hover .insight-card__cta {
  gap: 14px;
  color: var(--gold);
}

/* ---- Article pages ---- */

.article-hero {
  background: var(--dark);
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

.article-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 70% 20%, rgba(201,168,76,0.06) 0%, transparent 60%),
    linear-gradient(180deg, rgba(8,8,8,1) 0%, rgba(8,8,8,0.97) 100%);
}

.article-hero__content {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 100px 48px 60px;
}

.article-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
}

.article-hero__date {
  color: var(--gold);
  font-weight: 600;
}

.article-hero__sep {
  color: rgba(201,168,76,0.4);
}

.article-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.article-hero__deck {
  font-size: 19px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 32px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  max-width: 820px;
}

.article-hero__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(201,168,76,0.15);
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.article-hero__author strong {
  color: var(--white);
  font-weight: 600;
}

.article-body {
  padding: 72px 0;
  background: var(--white);
}

.article-body__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.article-body p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray-800);
  margin-bottom: 24px;
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--gray-800);
  margin-top: 48px;
  margin-bottom: 20px;
  line-height: 1.25;
}

.article-body h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--gray-800);
  margin-top: 36px;
  margin-bottom: 14px;
}

.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 28px;
  margin: 32px 0;
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  color: var(--gray-800);
  line-height: 1.6;
}

.article-body ul, .article-body ol {
  margin: 0 0 24px 20px;
  padding-left: 20px;
}

.article-body li {
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray-800);
  margin-bottom: 10px;
}

.article-footer {
  padding: 56px 0 72px;
  background: var(--cream);
  text-align: center;
}

.article-footer__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: gap 0.3s var(--ease-out-expo), color 0.3s;
}

.article-footer__back:hover {
  gap: 16px;
  color: var(--gold);
}

@media (max-width: 768px) {
  .article-hero__content {
    padding: 80px 20px 48px;
  }
  .article-body {
    padding: 56px 0;
  }
  .article-body p,
  .article-body li {
    font-size: 16px;
  }
  .article-body h2 {
    font-size: 24px;
  }
}

/* ---- Article hero layout ---- */
.article-hero__layout {
  display: block;
}
.article-hero__text { min-width: 0; }
.article-hero__visual { display: none; }

@media (max-width: 768px) {
  .article-hero__content { padding: 100px 24px 60px; }
}

/* ---- Article tags ---- */
.article-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.tag-pill {
  display: inline-block;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 999px;
}

/* ---- Pull quote ---- */
.pull-quote {
  padding: 40px 60px;
  margin: 48px 0;
  border-left: 3px solid var(--gold);
  background: rgba(201,168,76,0.04);
  position: relative;
}
.pull-quote svg { color: var(--gold); opacity: 0.7; }
.pull-quote p {
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: italic;
  line-height: 1.5;
  color: var(--dark);
  margin: 16px 0 0;
}
@media (max-width: 768px) {
  .pull-quote { padding: 28px 28px; margin: 32px 0; }
  .pull-quote p { font-size: 19px; }
}

/* ---- Section divider ---- */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 56px auto 40px;
  max-width: 480px;
  color: var(--gold);
}
.section-divider span {
  display: block;
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-divider svg {
  color: var(--gold);
  filter: drop-shadow(0 0 6px var(--gold-glow));
  flex-shrink: 0;
}

/* ---- Insight card enhancements ---- */
.insight-card__cover {
  position: relative;
  height: 160px;
  margin: -36px -36px 24px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.insight-card__cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.18) 0%, transparent 70%);
}
.insight-card__cover svg {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  color: var(--gold);
  filter: drop-shadow(0 0 14px rgba(201,168,76,0.4));
}

.insight-card__tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.insight-card__tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 999px;
}

.insight-card__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 11px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.insight-card__reading-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.insight-card__reading-time svg { color: var(--gold); }

.insight-card__author-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(201,168,76,0.25);
}
.author-avatar--lg {
  width: 44px;
  height: 44px;
  font-size: 14px;
}
.insight-card__author-row .insight-card__author {
  margin-bottom: 0;
}

/* Hero author with avatar */
.article-hero__author {
  align-items: center;
}
.article-hero__author .author-avatar--lg {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--dark);
}
.article-hero__author-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* ---- Global focus (a11y) ---- */

/* Uniform focus ring for anything keyboard-navigable that doesn't already have a bespoke one */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Links inside bright/cream content: darken focus ring slightly for better contrast */
.section--light a:focus-visible,
.section--cream a:focus-visible,
.legal-content a:focus-visible,
.article-body a:focus-visible {
  outline-color: var(--gold-dark);
}

/* Respect reduce-motion: strip transitions that drive motion, keep color/opacity */
@media (prefers-reduced-motion: reduce) {
  .hero__network-nodes circle,
  .hero__network-lines line,
  .hero__city-back,
  .hero__city-mid,
  .hero__city-spire,
  .hero__city-pulses circle,
  .trust-bar__track {
    animation: none !important;
  }
}

/* ---- Skip to content (a11y) ---- */

.skip-link {
  position: absolute;
  top: -9999px;
  left: -9999px;
  background: var(--gold);
  color: var(--dark);
  padding: 10px 20px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  z-index: 2000;
  opacity: 0;
}

.skip-link:focus {
  position: absolute;
  top: 12px;
  left: 12px;
  opacity: 1;
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* ---- Bio back-nav ---- */

.bio-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  margin-bottom: 28px;
  padding: 8px 0;
  transition: gap 0.3s var(--ease-out-expo), color 0.3s;
}

.bio-back-link:hover {
  color: var(--gold-light);
  gap: 16px;
}

.bio-back-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---- Legal pages ---- */

.legal-hero {
  background: var(--dark);
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

.legal-hero__content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 100px 24px 60px;
}

.legal-hero__meta {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
}

.legal-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.legal-hero__sub {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 640px;
}

.legal-body {
  padding: 64px 0 80px;
  background: var(--white);
}

.legal-body__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
  padding: 20px 0;
  border-top: 1px solid rgba(201,168,76,0.25);
}

.legal-toc__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 16px;
}

.legal-toc ol {
  list-style: none;
  counter-reset: toc;
  padding: 0;
  margin: 0;
}

.legal-toc li {
  counter-increment: toc;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 10px;
  position: relative;
  padding-left: 28px;
}

.legal-toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
  font-family: var(--font-serif);
}

.legal-toc a {
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-toc a:hover {
  color: var(--gold-dark);
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--gray-800);
  margin-top: 40px;
  margin-bottom: 16px;
  scroll-margin-top: 96px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
  margin-top: 28px;
  margin-bottom: 10px;
}

.legal-content p,
.legal-content li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-800);
}

.legal-content p {
  margin-bottom: 18px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 18px 20px;
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content strong {
  color: var(--gray-800);
  font-weight: 600;
}

.legal-placeholder {
  background: rgba(201,168,76,0.08);
  border-left: 3px solid var(--gold);
  padding: 4px 10px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: var(--gold-dark);
  font-weight: 600;
  border-radius: 2px;
}

.legal-note {
  margin-top: 48px;
  padding: 24px 28px;
  background: var(--cream);
  border-radius: 12px;
  border-left: 3px solid var(--gold);
}

.legal-note__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 10px;
}

.legal-note p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-800);
  margin: 0;
}

@media (max-width: 960px) {
  .legal-body__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .legal-toc {
    position: static;
    padding: 20px;
    background: var(--cream);
    border-radius: 12px;
    border-top: none;
  }
}

@media (max-width: 768px) {
  .legal-hero__content {
    padding: 80px 20px 48px;
  }
  .legal-body {
    padding: 48px 0;
  }
}

/* ---- Contact ---- */

.contact-offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

.contact-office {
  padding: 16px;
  border-radius: 10px;
  border: 1px solid rgba(201,168,76,0.1);
  transition: border-color 0.3s;
}

.contact-office:hover {
  border-color: var(--gold);
}

.contact-office strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--dark);
}

.contact-office p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.5;
}

.contact-info {
  font-size: 14px;
  color: var(--gray-600);
}

.contact-info strong {
  color: var(--gray-800);
}

.contact-form {
  background: var(--white);
  padding: 44px;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 8px 40px rgba(0,0,0,0.04);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  transition: all 0.3s;
  background: var(--gray-100);
  color: var(--gray-800);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form-group--check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-group--check input {
  width: auto;
  margin-top: 3px;
}

.form-group--check label {
  font-size: 12px;
  font-weight: 400;
  color: var(--gray-600);
  margin-bottom: 0;
  text-transform: none;
  letter-spacing: 0;
}

/* ---- Footer ---- */

.footer {
  background: var(--dark);
  padding: 80px 0 32px;
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(201,168,76,0.08);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer__brand .nav__logo-text {
  display: block;
  margin-top: 4px;
}

.footer__legal {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.7;
  margin-top: 16px;
  color: rgba(255,255,255,0.62);
  max-width: 340px;
  font-weight: 400;
  letter-spacing: 0.005em;
}
.footer__disclaimer {
  font-size: 12px;
  margin-top: 10px;
  color: rgba(255,255,255,0.42);
  font-style: italic;
}

.footer__email {
  display: inline-block;
  margin-top: 18px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(201,168,76,0.35);
  padding-bottom: 2px;
  transition: border-color 0.25s, color 0.25s;
}
.footer__email:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.footer__col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.footer__col ul {
  list-style: none;
}

.footer__col li {
  margin-bottom: 10px;
}

.footer__col a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer__col a:hover {
  color: var(--gold);
}

.footer-offices { list-style: none; padding: 0; margin: 0; }
.footer-office {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-office__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
  flex-shrink: 0;
  margin-top: 7px;
}
.footer-office__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-office__city {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.01em;
}
.footer-office__tag {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(201,168,76,0.7);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 3px;
  padding: 1px 6px;
  margin-left: 4px;
  vertical-align: middle;
}
.footer-office__addr {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ---- Animations ---- */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered card animations */
.service-card.fade-in:nth-child(1) { transition-delay: 0s; }
.service-card.fade-in:nth-child(2) { transition-delay: 0.1s; }
.service-card.fade-in:nth-child(3) { transition-delay: 0.2s; }
.service-card.fade-in:nth-child(4) { transition-delay: 0.3s; }
.service-card.fade-in:nth-child(5) { transition-delay: 0.4s; }

.service-compact.fade-in:nth-child(1) { transition-delay: 0s; }
.service-compact.fade-in:nth-child(2) { transition-delay: 0.1s; }
.service-compact.fade-in:nth-child(3) { transition-delay: 0.2s; }
.service-compact.fade-in:nth-child(4) { transition-delay: 0.3s; }

.process-step.fade-in:nth-child(1) { transition-delay: 0s; }
.process-step.fade-in:nth-child(2) { transition-delay: 0.1s; }
.process-step.fade-in:nth-child(3) { transition-delay: 0.2s; }
.process-step.fade-in:nth-child(4) { transition-delay: 0.3s; }

.capability-card.fade-in:nth-child(1) { transition-delay: 0s; }
.capability-card.fade-in:nth-child(2) { transition-delay: 0.08s; }
.capability-card.fade-in:nth-child(3) { transition-delay: 0.16s; }
.capability-card.fade-in:nth-child(4) { transition-delay: 0.24s; }

.insight-card.fade-in:nth-child(1) { transition-delay: 0s; }
.insight-card.fade-in:nth-child(2) { transition-delay: 0.12s; }
.insight-card.fade-in:nth-child(3) { transition-delay: 0.24s; }

.team-card.fade-in:nth-child(1) { transition-delay: 0s; }
.team-card.fade-in:nth-child(2) { transition-delay: 0.08s; }
.team-card.fade-in:nth-child(3) { transition-delay: 0.16s; }
.team-card.fade-in:nth-child(4) { transition-delay: 0.24s; }
.team-card.fade-in:nth-child(5) { transition-delay: 0.32s; }

/* Gold shimmer on section titles */
.section__title--light {
  position: relative;
  display: inline-block;
}

/* ---- Responsive ---- */

@media (max-width: 1100px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(8,8,8,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(201,168,76,0.1);
  }
  .nav__links--open {
    display: flex;
  }
  .nav__links a::after {
    display: none;
  }
  .nav__links a {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    padding: 4px 0;
  }
  .nav__toggle {
    display: flex;
  }
  .nav__logo-text {
    font-size: 16px;
    letter-spacing: 0.04em;
  }
  .nav__logo-img {
    height: 44px;
  }
  .nav__logo {
    gap: 12px;
  }
  .lang-switch {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 12px;
  }
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-featured {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px;
  }

  .service-featured__list {
    grid-column: 1;
    grid-row: auto;
    padding: 20px 0 0 0;
    border-left: none;
    border-top: 1px solid rgba(201,168,76,0.2);
  }

  .service-featured__title {
    font-size: 28px;
  }

  .group-children {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid--full {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .services-grid--compact {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-featured {
    padding: 32px 24px;
  }

  .service-featured__title {
    font-size: 24px;
  }

  .service-featured__meta {
    gap: 14px;
  }

  .service-featured__number {
    font-size: 30px;
  }

  .service-compact {
    padding: 26px 24px;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(8,8,8,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(201,168,76,0.1);
  }

  .nav__links--open {
    display: flex;
  }

  .nav__links a::after {
    display: none;
  }

  .nav__links a {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    padding: 4px 0;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__logo-text {
    font-size: 14px;
    letter-spacing: 0.04em;
  }

  .nav__logo-img {
    height: 40px;
  }

  .nav__logo {
    gap: 10px;
  }

  /* Hero mobile */
  .hero__content {
    padding: 100px 20px 60px;
  }

  .hero__content--split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__visual {
    order: -1;
    max-width: 280px;
    margin: 0 auto;
  }

  .hero__network {
    max-width: 280px;
    opacity: 0.8;
  }

  .hero__title {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 18px;
  }

  .hero__title br {
    display: none;
  }

  .hero__sub {
    font-size: 14px;
    margin-bottom: 28px;
    line-height: 1.7;
  }

  .hero__eyebrow {
    font-size: 11px;
    margin-bottom: 20px;
  }

  .hero__actions {
    flex-direction: column;
    margin-bottom: 48px;
  }

  .hero__actions .btn {
    text-align: center;
    padding: 14px 24px;
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: 0;
    padding-top: 32px;
  }

  .hero__stat {
    flex: 0 0 50%;
    padding: 12px 0;
  }

  .hero__stat::after {
    display: none;
  }

  .hero__stat-num {
    font-size: 28px;
  }

  .hero__stat-label {
    font-size: 11px;
  }

  #heroCanvas {
    opacity: 0.3;
  }

  /* Trust bar */
  .trust-bar {
    padding: 20px 0;
  }

  .trust-bar__logo {
    font-size: 15px;
  }

  .trust-bar__logos {
    gap: 40px;
    padding-right: 40px;
  }

  /* Sections */
  .section {
    padding: 64px 0;
  }

  .section__title {
    font-size: 32px;
  }

  .section__title br {
    display: none;
  }

  .section__eyebrow {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .section__eyebrow::before {
    width: 20px;
  }

  .section__intro {
    font-size: 15px;
    margin-bottom: 36px;
  }

  /* About */
  .text-lg {
    font-size: 16px;
  }

  .about__badges {
    flex-direction: column;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services-grid .service-card:nth-child(4),
  .services-grid .service-card:nth-child(5) {
    grid-column: auto;
  }

  .service-card {
    padding: 28px;
  }

  .service-card__number {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .service-card__title {
    font-size: 20px;
  }

  /* Group */
  .group-card--parent {
    min-width: auto;
    width: 100%;
  }

  .group-children {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .group-children::before {
    display: none;
  }

  .group-children .group-card::before {
    display: none;
  }

  .group-children .group-card {
    padding: 20px 14px 16px;
  }

  .group-card h4 {
    font-size: 20px;
    font-weight: 700;
  }

  .group-card p {
    font-size: 12px;
  }

  /* Team */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .team-grid--full {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .team-card__photo {
    width: 100px;
    height: 100px;
  }

  .team-card__name {
    font-size: 16px;
  }

  .team-card__bio {
    font-size: 12px;
    line-height: 1.5;
  }

  .team-grid--scroll {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 24px !important;
    padding: 0 20px 16px 40px !important;
    margin: 0 -40px !important;
    max-width: none !important;
    justify-content: flex-start !important;
  }
  .team-grid--scroll .team-card {
    flex: 0 0 160px;
    min-width: 160px;
    scroll-snap-align: start;
    text-align: center;
  }
  .team-grid--scroll .team-card__photo {
    width: 140px;
    height: 140px;
    margin: 0 auto;
  }
  .team-grid--scroll .team-card__name {
    font-size: 15px;
    white-space: nowrap;
  }
  .team-grid--scroll .team-card__role {
    font-size: 10px;
    letter-spacing: 0.15em;
  }
  .team-grid--scroll::-webkit-scrollbar {
    display: none;
  }

  .two-col-team-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px 24px !important;
    max-width: none !important;
    padding: 0 20px;
    margin: 0 !important;
  }
  .two-col-team-grid .team-card__photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 12px;
  }
  .two-col-team-grid .team-card__name {
    font-size: 14px;
  }

  .three-col-team-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px 8px !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 -20px !important;
    justify-items: center;
  }
  .three-col-team-grid .team-card__photo {
    width: 100px;
    height: 100px;
    margin: 0 auto 10px;
  }
  .three-col-team-grid .team-card__name {
    font-size: 13px;
  }
  .three-col-team-grid .team-card__role {
    font-size: 9px;
  }

  .five-team-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px 24px !important;
    max-width: none !important;
    padding: 0 20px;
    margin: 0 !important;
  }
  .five-team-grid .team-card__photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 12px;
  }
  .five-team-grid .team-card__name {
    font-size: 14px;
  }
  .five-team-grid .team-card:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .threedots-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    overflow-x: visible !important;
    gap: 16px !important;
    margin-top: 32px !important;
  }
  .threedots-grid .threedots-card {
    min-width: 0;
  }

  /* Luxembourg */
  .lux-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lux-item {
    padding: 22px;
  }

  .lux-item h4 {
    font-size: 16px;
  }

  /* Insights */
  .insights-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .insight-card {
    padding: 28px;
  }

  .insight-card__title {
    font-size: 18px;
  }

  /* Contact */
  .contact-offices {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .contact-office {
    padding: 14px;
  }

  .contact-office strong {
    font-size: 13px;
  }

  .contact-office p {
    font-size: 12px;
  }

  .contact-form {
    padding: 24px;
    border-radius: 12px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 16px; /* prevents iOS zoom on focus */
  }

  /* Footer */
  .footer {
    padding: 48px 0 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__legal {
    max-width: 100%;
  }

  .footer__col h4 {
    margin-bottom: 12px;
  }

  .footer__col li {
    margin-bottom: 8px;
  }

  .footer__bottom {
    padding-top: 20px;
    font-size: 12px;
  }

  /* Fix: Reduce space above Get in Touch on main page */
  #contact {
    padding-top: 60px !important;
  }

  /* Fix: Reduce space above Run Capital Group / By the numbers */
  .numbers-section {
    padding: 60px 0 !important;
  }

  /* Fix: Center office texts */
  .v2r-office {
    text-align: center;
  }

  /* Fix: Reduce space below Nasdaq card and above Who We Serve */
  .v2-services-section {
    padding-bottom: 40px !important;
  }
  .who-serve {
    padding-top: 40px !important;
  }

  /* Fix: Reduce space below email us directly */
  .rcp-form__note {
    margin-bottom: 0 !important;
  }
  #contact {
    padding-bottom: 40px !important;
  }

  /* Fix: Group Holding card visible */
  .group-card.group-card--parent {
    padding: 24px 20px 20px !important;
    min-width: auto !important;
  }
  .group-card--parent h3 {
    font-size: 16px !important;
  }
  .group-card__crest-img {
    width: 56px !important;
    height: 56px !important;
  }

  /* Fix: Service cards - disable hover on mobile, click opens directly */
  .v2-service:hover {
    background: var(--v2-cream, #f7f3ea) !important;
    color: inherit !important;
  }
  .v2-service:hover .v2-service__num { color: inherit !important; }
  .v2-service:hover p { color: inherit !important; }
  .v2-service:hover .v2-service__entity-name { color: inherit !important; }
  .v2-service:hover .v2-service__entity-reg { color: inherit !important; }
  .v2-service:hover .v2-service__link { color: inherit !important; }
}

@media (max-width: 480px) {
  .bio-cta__links {
    width: 100%;
  }
  .bio-cta__links .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
    box-sizing: border-box;
  }

  .hero__title {
    font-size: 28px;
  }

  .hero__content {
    padding: 92px 16px 48px;
  }

  .hero__stats {
    gap: 0;
  }

  .hero__stat-num {
    font-size: 24px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .team-grid--full {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .team-card__photo {
    width: 120px;
    height: 120px;
  }

  .group-children {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-offices {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__col:not(.footer__col--offices) {
    display: none;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer__bottom div {
    justify-content: center;
    flex-wrap: wrap;
  }

  .section {
    padding: 52px 0;
  }

  .container {
    padding: 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__eyebrow, .hero__title, .hero__sub, .hero__actions, .hero__stats {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }

  .trust-bar__track {
    animation: none;
  }

  #heroCanvas {
    display: none;
  }

  .hero__flowlines,
  .hero__orb {
    animation: none !important;
  }

  .hero__flowlines .fl-line,
  .hero__orb * {
    animation: none !important;
  }
}

/* ============================================================
   Hero v2 — cinematic motion layer
   Flowing-line background + orbital right-side visual + shimmer
   ============================================================ */

/* Full-width flowing lines (absolute inside .hero) */
.hero__flowlines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}

.fl-line {
  stroke-dasharray: 120 220;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 6px rgba(224, 200, 116, 0.25));
  animation: flFlow 14s linear infinite;
}
.fl-line--1 { animation-duration: 13s; }
.fl-line--2 { animation-duration: 17s; animation-delay: -3s; }
.fl-line--3 { animation-duration: 21s; animation-delay: -7s; }
.fl-line--4 { animation-duration: 25s; animation-delay: -11s; }
.fl-line--5 { animation-duration: 19s; animation-delay: -5s; }

@keyframes flFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -340; }
}

/* Orbital right-side visual */
.hero__orb {
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 0 60px rgba(201, 168, 76, 0.18));
}

.hero__orb-ring--outer {
  transform-origin: 50% 50%;
  transform-box: view-box;
  animation: orbSpin 80s linear infinite;
}

.hero__orb-rot {
  transform-origin: 50% 50%;
  transform-box: view-box;
}
.hero__orb-rot--a { animation: orbSpin 26s linear infinite; }
.hero__orb-rot--b { animation: orbSpin 38s linear infinite reverse; }
.hero__orb-rot--c { animation: orbSpin 48s linear infinite; }

.hero__orb-dot {
  filter: drop-shadow(0 0 6px rgba(224, 200, 116, 0.8));
}

.hero__orb-waves path {
  stroke-dasharray: 60 160;
  animation: waveFlow 8s linear infinite;
}
.hero__orb-wave--1 { animation-duration: 7s; }
.hero__orb-wave--2 { animation-duration: 11s; animation-delay: -2s; }
.hero__orb-wave--3 { animation-duration: 15s; animation-delay: -5s; }

@keyframes waveFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -220; }
}

@keyframes orbSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero__orb-center circle:first-child {
  filter: drop-shadow(0 0 10px rgba(224, 200, 116, 0.8));
}

.hero__orb-pulse {
  transform-origin: 50% 50%;
  transform-box: view-box;
  animation: orbPulse 2.6s ease-out infinite;
}

@keyframes orbPulse {
  0%   { r: 6;  opacity: 0.9; stroke-width: 1.2; }
  100% { r: 50; opacity: 0;   stroke-width: 0.3; }
}

/* Upgrade .hero__visual stacking so it sits above flowlines */
.hero__visual {
  position: relative;
  z-index: 2;
}

.hero__content { z-index: 2; }
#heroCanvas    { z-index: 1; }

/* Shimmer sweep across the .gold spans inside the hero headline */
.hero__title .gold {
  background: linear-gradient(
    110deg,
    #a8882f 0%,
    #c9a84c 25%,
    #f3dd8e 45%,
    #ffe9a0 50%,
    #f3dd8e 55%,
    #c9a84c 75%,
    #a8882f 100%
  );
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 6s ease-in-out 1.6s infinite;
}

@keyframes goldShimmer {
  0%, 15%   { background-position: 100% 0; }
  50%       { background-position: 0% 0; }
  85%, 100% { background-position: -100% 0; }
}

/* Small drift on the floating orb glow for extra life */
.hero__bg::after {
  animation: float 10s ease-in-out infinite, pulseGlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

/* ---- Contact form (homepage) ---- */
.rcp-form {
  background: #fff;
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: 8px;
  padding: 44px 44px 40px;
  box-shadow: 0 8px 32px rgba(10,10,10,0.04);
  position: relative;
}
.rcp-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}
.rcp-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.rcp-form__row .rcp-form__field { margin-bottom: 0; }
.rcp-form__label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-600, #666);
}
.rcp-form__label em {
  color: var(--gold, #c9a84c);
  font-style: normal;
  margin-left: 2px;
}
.rcp-form input[type="text"],
.rcp-form input[type="email"],
.rcp-form select,
.rcp-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--dark, #0a0a0a);
  background: #fafaf6;
  border: 1px solid rgba(10,10,10,0.12);
  border-radius: 4px;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.rcp-form select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23c9a84c' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}
.rcp-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
  font-family: inherit;
}
.rcp-form input:focus,
.rcp-form select:focus,
.rcp-form textarea:focus {
  outline: none;
  border-color: var(--gold, #c9a84c);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.rcp-form input::placeholder,
.rcp-form textarea::placeholder { color: rgba(10,10,10,0.35); }

.rcp-form__check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 4px 0 18px;
  padding: 14px 16px;
  background: rgba(10,10,10,0.03);
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.rcp-form__check:hover {
  border-color: rgba(201,168,76,0.35);
}
.rcp-form__check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 1px;
  border: 1.5px solid rgba(10,10,10,0.3);
  border-radius: 3px;
  background: var(--white);
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.rcp-form__check input[type="checkbox"]:hover {
  border-color: var(--gold);
}
.rcp-form__check input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}
.rcp-form__check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0px;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.rcp-form__check input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.rcp-form__check-label {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.55;
  color: rgba(10,10,10,0.72);
  font-weight: 400;
}
.rcp-form__check-label strong {
  font-weight: 600;
  color: rgba(10,10,10,0.9);
}
.rcp-form__check-label em {
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
  margin-left: 4px;
}

.rcp-form__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.rcp-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--dark, #0a0a0a);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 18px 36px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.22s ease, transform 0.18s ease, box-shadow 0.22s ease;
}
.rcp-form__submit:hover:not(:disabled) {
  background: var(--gold-warm, #c9a84c);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.25);
}
.rcp-form__submit:disabled { opacity: 0.6; cursor: not-allowed; }
.rcp-form__submit-arrow { transition: transform 0.22s ease; }
.rcp-form__submit:hover:not(:disabled) .rcp-form__submit-arrow { transform: translateX(3px); }
.rcp-form__note {
  font-size: 12.5px;
  color: var(--gray-600, #666);
  margin: 0;
}
.rcp-form__note a {
  color: var(--gold-warm, #c9a84c);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.3);
}
.rcp-form__note a:hover { color: var(--gold, #c9a84c); }

.rcp-form__status {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 13.5px;
  line-height: 1.5;
  display: none;
}
.rcp-form__status.is-success { display: block; }
.rcp-form__status.is-error {
  display: block;
  background: rgba(198,40,40,0.06);
  border: 1px solid rgba(198,40,40,0.2);
  color: #c62828;
}

.rcp-form.is-submitted { background: transparent; border: none; box-shadow: none; padding: 40px 0; }
.rcp-form.is-submitted .rcp-form__row,
.rcp-form.is-submitted .rcp-form__field,
.rcp-form.is-submitted .rcp-form__foot { display: none; }
.rcp-form.is-submitted .rcp-form__status {
  margin-top: 0;
  padding: 56px 32px 48px;
  text-align: center;
  background: transparent;
  border: none;
  color: inherit;
}
.rcp-form__success-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 50%;
  margin-bottom: 28px;
  position: relative;
}
.rcp-form__success-mark::before,
.rcp-form__success-mark::after {
  content: '';
  position: absolute;
  background: var(--gold-warm, #c9a84c);
  border-radius: 1px;
}
.rcp-form__success-mark::before {
  width: 2px; height: 10px;
  transform: rotate(-45deg);
  top: 26px; left: 18px;
}
.rcp-form__success-mark::after {
  width: 2px; height: 18px;
  transform: rotate(45deg);
  top: 18px; left: 27px;
}
.rcp-form__success-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.6vw, 40px);
  font-weight: 500;
  color: var(--dark, #0a0a0a);
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  font-style: italic;
}
.rcp-form__success-text {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--gray-600, #666);
  margin: 0 auto;
  max-width: 440px;
}

@media (max-width: 640px) {
  .rcp-form { padding: 28px 22px 26px; }
  .rcp-form__row { grid-template-columns: 1fr; gap: 0; }
  .rcp-form__row .rcp-form__field { margin-bottom: 18px; }
  .rcp-form__foot { flex-direction: column; align-items: stretch; text-align: center; }
  .rcp-form__submit { justify-content: center; }
}

/* Compact contact section on every team profile page */
.section:has(> .container.bio-cta) {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}
.bio-cta {
  padding: 24px 0 !important;
}
