/* =========================================================
   GSS LEGAL — REFINED FINTECH-LEGAL SYSTEM
   ========================================================= */

:root {
  /* Brand */
  --ink: #152247;
  --ink-2: #1A2851;
  --ink-3: #22305F;
  --paper: #FAFAF7;
  --paper-2: #F2F1EC;
  --paper-3: #E8E6DD;
  --line: #D8D5CB;
  --line-strong: #B8B4A8;
  --muted: #5A6478;
  --text: #1A1F2C;
  --text-2: #4A5266;

  /* Accents */
  --gold: #ff9c00;
  --gold-2: #e08a00;
  --gold-soft: #fff3d6;
  --accent: #1C93A7;

  /* Type — Plus Jakarta Sans throughout */
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --mono: 'Plus Jakarta Sans', -apple-system, sans-serif;

  /* Spacing */
  --max-w: 1320px;
  --gutter: 32px;
  --section-y: 120px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

[data-density="compact"] {
  --section-y: 88px;
  --gutter: 24px;
}

[data-density="airy"] {
  --section-y: 160px;
  --gutter: 40px;
}

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

html, body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Global rule: headlines bold, body regular */
h1, h2, h3, h4, h5, h6,
.display, .h2, .h3,
.hero-display, .cta-display,
.juris-card-name, .case-card-title,
.process-step-title, .pillar-title,
.insight-card-title, .office-card-city,
.footer-brand-name, .nav-logo-name,
.metrics-num, .hero-stat-num {
  font-weight: 700 !important;
  font-style: normal !important;
}

p, .body, .lede, .hero-sub,
.pillar-body, .process-step-body,
.case-card-meta-val, .insight-card-excerpt,
.footer-brand-desc, .footer-link,
.office-detail, .mega-item-name,
.dropdown-item, .nav-link, .nav-cta,
.juris-card-time, .approach-quote-text,
.btn, .top-util, .hero-meta,
.eyebrow, .mono, .juris-card-license,
.juris-card-status, .case-card-tag,
.case-card-num, .case-card-meta-key,
.process-step-num, .process-step-tag,
.insight-card-meta, .insight-card-tag,
.office-card-country, .office-card-status,
.office-detail-label, .footer-brand-tag,
.footer-col h4, .footer-bottom,
.pillar-num, .practice-tab,
.practice-tab-count, .mega-col-label,
.mega-item-sub, .mega-viewall,
.hero-ticker-track, .hero-stat-label,
.metrics-label, .approach-quote-author,
.nav-logo-tag, .top-util-marker {
  font-weight: 400 !important;
  font-style: normal !important;
}

/* Italic display elements (em) — also regular weight, no italic */
.display em, .h2 em, .hero-display em,
.cta-display em, .juris-card-name em,
.case-card-title em, .metrics-num em,
.hero-stat-num em {
  font-weight: 700 !important;
  font-style: normal !important;
  font-family: var(--sans) !important;
}

body[data-theme="dark"] {
  background: var(--ink);
  color: #EDEAE0;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
img, svg { display: block; max-width: 100%; }
html, body { overflow-x: hidden; }

::selection { background: var(--ink); color: var(--paper); }

/* ── LAYOUT ───────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section-y) 0; }
.section-tight { padding: calc(var(--section-y) * 0.55) 0; }

/* ── TYPE ─────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow.no-tick::before { display: none; }

.display {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.96;
  color: var(--ink);
  font-size: clamp(48px, 7vw, 104px);
}
.display em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--accent);
}

[data-type="all-sans"] .display em {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 300;
  color: var(--accent);
}

[data-type="serif-display"] .display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
}
[data-type="serif-display"] .display em {
  font-style: italic;
  font-family: var(--serif);
}

.h2 {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
  font-size: clamp(32px, 4.2vw, 56px);
}
.h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
[data-type="all-sans"] .h2 em {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 300;
}

.h3 {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.015em;
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.2;
  color: var(--ink);
}

.lede {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--text-2);
  letter-spacing: -0.01em;
  max-width: 60ch;
}

.body { font-size: 15px; line-height: 1.6; color: var(--text-2); }

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── BUTTONS ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn .arr {
  width: 16px; height: 16px;
  transition: transform 0.3s var(--ease);
}
.btn:hover .arr { transform: translateX(3px); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--ink-3); border-color: var(--ink-3); }

.btn-gold {
  background: #ff9c00;
  color: #fff;
  border-color: #ff9c00;
}
.btn-gold:hover { background: #e68a00; border-color: #e68a00; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--paper-2); }

.btn-ghost-light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255,255,255,0.25);
}
.btn-ghost-light:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap 0.25s var(--ease);
}
.btn-link:hover { gap: 12px; }

/* ── ICONS ────────────────────────────────────────── */
.icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-lg { width: 22px; height: 22px; }
.icon-xl { width: 32px; height: 32px; }
.arr { width: 14px; height: 14px; flex-shrink: 0; }

/* ── TOP UTIL ─────────────────────────────────────── */
.top-util {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
}
.top-util-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.top-util-left { display: flex; align-items: center; gap: 18px; }
.top-util-marker {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase;
}
.top-util-marker::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.top-util-right { display: flex; align-items: center; gap: 14px; }
.top-util-link { transition: color 0.2s; display: inline-flex; align-items: center; }
.top-util-link svg { width: 18px; height: 18px; }
.top-util-link:hover { color: var(--gold); }
.top-util-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.15); }

/* ── HEADER ───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  position: relative;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo-mark {
  display: flex;
  align-items: center;
}
.nav-logo-mark svg { height: 32px; width: auto; }
.logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-width: 40px;
  padding: 0 10px;
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
  background: repeating-linear-gradient(135deg, var(--paper-2) 0 6px, transparent 6px 12px);
}
.logo-placeholder-inner {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.nav-logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.nav-logo-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-links > li:has(.mega) { position: static; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text);
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--ink); background: var(--paper-2); }
.nav-chev { width: 10px; height: 10px; opacity: 0.6; transition: transform 0.25s var(--ease); }
.nav-links > li:hover .nav-chev,
.nav-links > li.nav-open .nav-chev { transform: rotate(180deg); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  background: #f99c1c;
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 3px;
  transition: background 0.2s;
}
.nav-cta:hover { background: #e08a10; }
.nav-cta .arr { width: 14px; height: 14px; }

/* Mega menu */
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(1120px, 92vw);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 30px 80px -20px rgba(21,34,71,0.25);
  padding: 16px 28px 28px;
  margin-top: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.25s var(--ease);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  z-index: 200;
}
.nav-links > li:hover .mega,
.nav-links > li.nav-open .mega {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-col-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.mega-col-label .icon { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }
.mega-item {
  display: flex;
  flex-direction: column;
  padding: 9px 10px;
  margin: 0 -10px;
  border-radius: 4px;
  transition: background 0.15s;
  text-decoration: none;
}
.mega-item:hover { background: var(--paper-2); }
.mega-item-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.mega-item-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
.mega-item.coming { opacity: 0.5; pointer-events: none; }
.mega-item.coming .mega-item-name::after {
  content: "Soon";
  display: inline-block;
  margin-left: 8px;
  font-size: 9px;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  color: var(--muted);
  background: var(--paper-2);
  padding: 1px 5px;
  border-radius: 2px;
  vertical-align: middle;
}
.mega-viewall {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.mega-viewall .arr { width: 12px; height: 12px; }

/* Smaller dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 20px 50px -10px rgba(21,34,71,0.2);
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.25s var(--ease);
  z-index: 200;
}
.nav-links > li:hover .dropdown,
.nav-links > li.nav-open .dropdown {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 13.5px;
  color: var(--text);
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.dropdown-item:hover { background: var(--paper-2); color: var(--ink); }
.dropdown-item .icon { width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; }

/* ── HERO ─────────────────────────────────────────── */
.hero {
  position: relative;
  background:
    linear-gradient(to right, rgba(10,22,40,1) 0%, rgba(10,22,40,0.95) 38%, rgba(10,22,40,0.45) 65%, rgba(10,22,40,0.25) 100%),
    url('../images/GSS-Legal-Homepage-Main-Banner.png') right center / auto 100% no-repeat,
    var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 120px 0 100px;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 88px 88px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 80% 60% at 70% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 70% 50%, black 30%, transparent 80%);
}
.hero-glow {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(28,147,167,0.18) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(20px);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 40px;
}
.hero-meta-dot {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta-divider { width: 1px; height: 12px; background: rgba(255,255,255,0.2); }

.hero-display {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
  font-size: clamp(56px, 8.5vw, 132px);
  color: var(--paper);
  max-width: 14ch;
}
.hero-display em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.025em;
}
[data-type="all-sans"] .hero-display em {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 200;
}
[data-type="serif-display"] .hero-display {
  font-family: var(--serif);
  font-weight: 400;
}

.hero-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: end;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-sub {
  font-size: clamp(16px, 1.2vw, 18px);
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  max-width: 50ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
}
.hero-stat-num {
  font-family: var(--sans);
  font-size: 44px;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--paper);
  line-height: 0.9;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.hero-stat-num em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  font-size: 28px;
}
.hero-stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
}

.hero-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  overflow: hidden;
  background: rgba(0,0,0,0.25);
}
.hero-ticker-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: ticker 50s linear infinite;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.hero-ticker-track > span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero-ticker-track > span::before {
  content: "—";
  color: var(--gold);
}
@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ── PRACTICE GRID ────────────────────────────────── */
.practice-section {
  background: var(--paper);
  padding: var(--section-y) 0;
}
.practice-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}
.practice-head-right { padding-bottom: 8px; }

.practice-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
  overflow-x: auto;
}
.practice-tab {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px 18px 0;
  margin-right: 32px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s;
  white-space: nowrap;
  position: relative;
}
.practice-tab .icon { width: 16px; height: 16px; }
.practice-tab:hover { color: var(--ink); }
.practice-tab.active {
  color: var(--ink);
  border-bottom-color: var(--gold);
}
.practice-tab-count {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  background: var(--paper-2);
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

.practice-grid[hidden] { display: none; }
.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.juris-card {
  background: var(--paper);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  transition: background 0.25s var(--ease);
  position: relative;
  text-decoration: none;
  color: inherit;
}
.juris-card:hover { background: var(--paper-2); }
.juris-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: auto;
}
.juris-card-flag {
  font-size: 30px;
  line-height: 1;
  margin-bottom: 24px;
  filter: saturate(0.95);
}
.juris-card-status {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.juris-card-status::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.juris-card-status.coming {
  color: var(--muted);
}
.juris-card-status.coming::before { background: var(--muted); }

.juris-card-name {
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.05;
  margin-bottom: 6px;
}
.juris-card-name em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.juris-card-license {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.juris-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.juris-card-time {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
}
.juris-card-time-label {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.juris-card-arrow {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease);
}
.juris-card-arrow svg { width: 12px; height: 12px; }
.juris-card:hover .juris-card-arrow { transform: translate(2px, -2px); }
.juris-card.coming .juris-card-arrow {
  background: var(--paper-3);
  color: var(--muted);
}

/* ── METRICS BAR ──────────────────────────────────── */
.metrics-bar {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.metrics-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 88px 88px;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  position: relative;
}
.metrics-item {
  background: var(--ink);
  padding: 12px 32px 12px 0;
}
.metrics-item:not(:first-child) { padding-left: 32px; }
.metrics-num {
  font-family: var(--sans);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--paper);
  display: flex;
  align-items: baseline;
}
.metrics-num em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  font-size: 0.55em;
  margin-left: 4px;
}
.metrics-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 16px;
  max-width: 22ch;
}

/* ── APPROACH ─────────────────────────────────────── */
.approach {
  background: var(--paper);
  padding: var(--section-y) 0;
}
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
}
.approach-left .h2 { margin: 16px 0 32px; }
.approach-quote {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.approach-quote-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 16px;
}
.approach-quote-author {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.approach-pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pillar {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: padding-left 0.3s var(--ease);
  position: relative;
}
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar:hover { padding-left: 12px; }
.pillar::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.pillar:hover::after { width: 100%; }
.pillar-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-top: 6px;
}
.pillar-title {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 8px;
}
.pillar-body {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.55;
  max-width: 50ch;
}
.pillar-icon {
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  flex-shrink: 0;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.pillar-icon svg { width: 18px; height: 18px; }
.pillar:hover .pillar-icon {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.approach-quote-full {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.approach-quote-full .approach-quote-text {
  font-size: 26px;
  font-weight: 800;
  max-width: 72ch;
  margin-bottom: 0;
}
.approach-quote-full .approach-quote-author {
  white-space: nowrap;
  flex-shrink: 0;
  text-align: right;
  margin-left: auto;
}

.process-banner {
  margin-top: 64px;
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.process-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,22,40,0.88) 0%, rgba(10,22,40,0.70) 55%, rgba(10,22,40,0.50) 100%);
  pointer-events: none;
}
.process-banner-inner {
  position: relative; z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 56px;
  flex-wrap: wrap;
}
.process-banner-text { flex: 1; min-width: 260px; }
.process-banner-title {
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 800;
  color: var(--paper);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 16px;
}
.process-banner-title em { font-style: normal; color: var(--accent); }
.process-banner-body {
  font-size: 15px;
  color: rgba(255,255,255,0.68);
  line-height: 1.6;
  max-width: 480px;
  margin: 0;
}
.process-banner-cta { flex-shrink: 0; }

/* ── CASES ────────────────────────────────────────── */
.cases-section {
  background: var(--paper-2);
  padding: var(--section-y) 0;
}
.cases-section .h2 em { color: var(--accent); font-style: normal; }
.cases-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; gap: 40px; flex-wrap: wrap; }
.cases-head-right { display: flex; align-items: center; gap: 16px; }
.cases-nav { display: flex; gap: 8px; }
.cases-nav-btn { width: 44px; height: 44px; border: 1px solid var(--line-strong); background: var(--paper); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ink); transition: background 0.2s, border-color 0.2s, color 0.2s; }
.cases-nav-btn:hover:not(:disabled) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cases-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.cases-slider-wrap { overflow: hidden; }
.cases-track { display: flex; transition: transform 0.45s var(--ease); }
.cases-page { flex: 0 0 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cases-dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 32px; }
.cases-dot { height: 8px; width: 8px; border: none; cursor: pointer; background: var(--line-strong); padding: 0; border-radius: 999px; transition: background 0.25s, width 0.25s; }
.cases-dot.active { background: var(--accent); width: 28px; }

.case-card { background: var(--paper); display: flex; flex-direction: row; min-height: 240px; text-decoration: none; color: inherit; transition: box-shadow 0.2s; overflow: hidden; }
.case-card:hover { box-shadow: 0 6px 24px rgba(10,22,40,0.10); }
.case-card-img { flex: 0 0 200px; overflow: hidden; position: relative; }
.case-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.case-card-body { flex: 1; padding: 28px; display: flex; flex-direction: column; min-width: 0; }
.case-card-meta-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.case-card-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--line-strong); padding: 4px 10px; }
.case-card-timeline { font-size: 13px; color: var(--muted); }
.case-card-timeline strong { color: var(--ink); font-weight: 600; }
.case-card-title { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); flex: 1; }
.case-card-title em { color: var(--accent); font-style: normal; }
.case-card-outcome { font-size: 13px; color: var(--text-2); line-height: 1.55; margin-top: 10px; }
.case-card-read { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--ink); }
.case-card-read-icon { width: 36px; height: 36px; background: var(--ink); display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; transition: background 0.2s; }
.case-card-read-icon svg { width: 14px; height: 14px; }
.case-card:hover .case-card-read-icon { background: var(--accent); }

/* ── PROCESS ──────────────────────────────────────── */
.process-section {
  background: var(--ink);
  color: var(--paper);
  padding: var(--section-y) 0;
}
.process-section .h2 { color: var(--paper); }
.process-section .lede { color: rgba(255,255,255,0.7); }

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 0;
  margin-top: 64px;
}
.process-step {
  border-left: 1px solid rgba(255,255,255,0.15);
  padding: 32px 24px 0 28px;
  position: relative;
}
.process-step:first-child { border-left: 0; padding-left: 0; }
.process-step-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 24px;
}
.process-step-title {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 12px;
  line-height: 1.15;
}
.process-step-body {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  margin-bottom: 24px;
}
.process-step-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.process-step-tag svg { width: 12px; height: 12px; flex-shrink: 0; }

/* ── INSIGHTS ─────────────────────────────────────── */
.insights-section {
  background: var(--paper-2);
  padding: var(--section-y) 0;
}
.insights-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
}
.insight-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.insight-card:hover { border-color: var(--ink); }
.insight-card-img {
  position: relative;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.insight-card.featured .insight-card-img { aspect-ratio: 4 / 3; }
.insight-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(
    135deg,
    var(--paper-2) 0px,
    var(--paper-2) 12px,
    var(--paper-3) 12px,
    var(--paper-3) 13px
  );
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.insight-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 20px 20px 0;
}
.insight-card-tag { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.insight-card-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  padding: 12px 20px 20px;
}
.insight-card.featured .insight-card-title {
  font-size: 20px;
}
.insight-card-excerpt {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
  padding: 0 20px 12px;
}
.insight-card-read {
  padding: 0 20px 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.insight-card:hover .insight-card-read { color: var(--accent); }

/* ── OFFICES STRIP ────────────────────────────────── */
.offices-section {
  background: var(--paper);
  padding: var(--section-y) 0 0;
}
.offices-map-wrap {
  width: 100%;
  height: 460px;
  margin-top: 56px;
  overflow: hidden;
  position: relative;
}
.offices-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.offices-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: #1192a6;
}
.offices-strip-card {
  padding: 44px 56px;
  border-right: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #1192a6;
  color: var(--paper);
}
.offices-strip-card.active {
  background: rgba(0,0,0,0.12);
  border-left: 3px solid var(--accent);
  padding-left: calc(56px - 3px);
}
.offices-strip-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.offices-strip-city {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--paper);
  line-height: 1.1;
}
.offices-strip-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.offices-strip-detail {
  display: flex;
  gap: 16px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.8);
  align-items: baseline;
}
.offices-strip-detail-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  min-width: 64px;
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .offices-strip { grid-template-columns: 1fr; }
  .offices-strip-card { padding: 36px 24px; }
}

/* ── CTA ──────────────────────────────────────────── */
.cta-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 580px;
  background: var(--ink);
  padding: 0;
  position: relative;
}
.cta-left {
  background: var(--ink);
  color: var(--paper);
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.cta-right {
  position: relative;
  background: var(--ink-2);
  overflow: hidden;
}
.cta-right-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.cta-stat-card {
  position: absolute;
  top: 50%;
  left: -28px;
  transform: translateY(-50%);
  background: var(--paper);
  color: var(--ink);
  padding: 28px 30px 28px 52px;
  width: 244px;
  box-shadow: 0 16px 56px rgba(0,0,0,0.22);
  z-index: 10;
}
.cta-stat-card-accent {
  width: 28px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 14px;
}
.cta-stat-card-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.04em;
}
.cta-stat-card-label {
  font-size: 12.5px;
  color: var(--text-2);
  margin-top: 10px;
  line-height: 1.55;
}
.cta-display {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.96;
  font-size: clamp(40px, 5vw, 72px);
  color: var(--paper);
  margin: 0 0 32px;
}
.cta-display em {
  color: var(--accent);
  font-style: normal;
}
.cta-section .lede {
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}
@media (max-width: 900px) {
  .cta-section { grid-template-columns: 1fr; padding: 0; }
  .cta-right { display: none; }
  .cta-left { padding: 48px 32px; }
}

/* ── FOOTER ───────────────────────────────────────── */
.site-footer {
  background: #0A1628;
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand-name {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--paper);
  margin-bottom: 8px;
}
.footer-brand-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.footer-brand-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  max-width: 36ch;
  margin-bottom: 28px;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-link {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-link:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a:hover { color: var(--gold); }

/* ── REVEAL ANIMATIONS ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .hero-row { grid-template-columns: 1fr; gap: 48px; }
  .practice-head { grid-template-columns: 1fr; gap: 32px; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: 1fr; gap: 56px; }
  .process-banner-inner { padding: 40px 28px; flex-direction: column; align-items: flex-start; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 1px; }
  .process-step { border-left: 0; border-top: 1px solid rgba(255,255,255,0.15); padding: 32px 0 0; }
  .process-step:nth-child(2) { border-left: 1px solid rgba(255,255,255,0.15); padding-left: 28px; }
  .process-step:nth-child(4) { border-left: 1px solid rgba(255,255,255,0.15); padding-left: 28px; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 48px; }
}
@media (max-width: 720px) {
  :root { --section-y: 80px; --gutter: 20px; }
  .practice-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .offices-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cases-page { grid-template-columns: 1fr; }
  .case-card { flex-direction: column; min-height: auto; }
  .case-card-img { flex: 0 0 180px; }
}

/* ── NAV LOGO ─────────────────────────────────────── */
.nav-logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo-img { display: block; height: 52px; width: auto; transition: opacity 0.2s; }
.site-header.scrolled .nav-logo-img { height: 44px; }
.nav-logo:hover .nav-logo-img { opacity: 0.85; }

/* Nav link base — also catches hardcoded nav-link class */
.nav-links > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text);
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
.nav-links > li > a:hover { color: var(--ink); background: var(--paper-2); }

/* ── FOOTER BRAND + SOCIAL ────────────────────────── */
.footer-brand-mark { display: block; color: #fff; margin-bottom: 24px; max-width: 200px; }
.footer-brand-mark svg { height: 44px; width: auto; max-width: 100%; display: block; filter: brightness(0) invert(1); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; flex-wrap: nowrap; }
.footer-social-link { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; color: rgba(255,255,255,0.45); transition: color 0.2s; text-decoration: none; }
.footer-social-link:hover { color: var(--gold); }
.footer-social-link svg { width: 17px; height: 17px; flex-shrink: 0; }
.footer-social-link.article-social-link svg { color: var(--ink); }

/* ── FOOTER COLUMNS ───────────────────────────────── */
.footer-col h4 {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-link {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-link:hover { color: var(--accent); padding-left: 4px; }
.footer-link--accent { color: var(--accent); }
.footer-link--accent:hover { color: var(--accent); }
.footer-links-list { list-style: none; display: flex; flex-direction: column; }

/* Footer newsletter form */
.footer-newsletter h4 { font-family: var(--sans); font-size: 22px; font-weight: 800; color: #fff; line-height: 1.25; margin: 0 0 20px; letter-spacing: -0.02em; }
.footer-form { display: flex; flex-direction: column; gap: 12px; }
.footer-form-input-row {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 5px 5px 5px 16px;
  gap: 0;
  transition: border-color 0.2s;
}
.footer-form-input-row:focus-within { border-color: rgba(255,255,255,0.55); }
.footer-form-input-row--error { border-color: #c0392b !important; }
.footer-form input[type="email"] {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 9px 12px 9px 0;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  min-width: 0;
}
.footer-form input[type="email"]::placeholder { color: var(--muted); }
.footer-form button {
  background: var(--accent);
  border: none;
  border-radius: 5px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  flex-shrink: 0;
  transition: background 0.2s;
}
.footer-form button:hover { background: var(--gold-2); }
.footer-form button svg { width: 18px; height: 18px; }
.footer-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.4; }
.footer-consent a { color: #fff; }
.footer-consent input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; accent-color: var(--gold); }
.footer-consent--error label { color: #e07070; }
.footer-consent .field-error,
.footer-consent + .field-error { display: block; font-size: 11px; color: #e07070; margin-top: 4px; }
#newsletter-status { font-size: 13px; }
.newsletter-success { color: rgba(255,255,255,0.85); font-size: 14px; }

/* ── MOBILE NAV ───────────────────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

/* Hidden by default — shown as fixed overlay when .is-open added by JS */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--ink);
  color: var(--paper);
  padding: 24px var(--gutter) 40px;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }

.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--paper);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
  margin-bottom: 16px;
  opacity: 0.7;
}
.mobile-menu-close:hover { opacity: 1; }

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.mobile-nav-links li { border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-nav-links a {
  display: block;
  padding: 16px 0;
  font-size: 22px;
  font-weight: 600;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.mobile-nav-links a:hover { color: var(--gold); }

.mobile-cta {
  margin-top: 32px;
  align-self: flex-start;
}

@media (max-width: 1100px) {
  .nav-burger { display: flex; }
}

/* ── JURIS CARD — flag background variant ─────────── */
/* Override dark text when card has a flag image background */
.juris-card.has-bg {
  color: var(--paper);
  overflow: hidden;
}
.juris-card.has-bg .juris-card-name,
.juris-card.has-bg .juris-card-license,
.juris-card.has-bg .juris-card-time,
.juris-card.has-bg .juris-card-time-label { color: var(--paper); }
.juris-card.has-bg .juris-card-foot { border-color: rgba(255,255,255,0.25); }
.juris-card.has-bg:hover { background: transparent; }
.juris-card.has-bg .juris-card-status { color: #22a85a; }
.juris-card.has-bg .juris-card-status::before { background: #22a85a; }
.juris-card.has-bg .juris-card-arrow { background: var(--gold); color: #fff; }
.juris-card.has-bg:hover .juris-card-arrow { background: var(--gold-2); }

/* Ensure card content sits above the gradient overlay */
.juris-card > *:not(div[style]) { position: relative; z-index: 1; }

/* ── VIDEO PLACEHOLDER ────────────────────────────── */
.video-placeholder-section {
  background: var(--paper);
  padding: var(--section-y) 0;
}
.video-placeholder-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.video-placeholder-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.video-placeholder-section[style*="--ink"] .video-placeholder-label { color: rgba(255,255,255,0.45); }
.video-placeholder-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-2);
  background-size: 106%;
  background-position: center;
  cursor: pointer;
}
.video-play-btn {
  width: 72px;
  height: 72px;
  border: 2px solid rgba(255,255,255,0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  transition: background 0.2s, transform 0.2s;
}
.video-play-btn:hover {
  background: rgba(0,0,0,0.55);
  transform: scale(1.06);
}
.video-play-btn svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  margin-left: 4px;
}
.video-placeholder-caption {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── SERVICES ARCHIVE ──────────────────────────────────────────────────────── */

/* Quick-stats bar inside page hero */
.quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
  margin-top: 48px;
}
.quick-stat {
  background: var(--ink);
  padding: 24px 28px;
}
.quick-stat-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}
.quick-stat-value {
  font-size: 28px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--paper); line-height: 1;
}
.quick-stat-sub {
  font-size: 12px; color: rgba(255,255,255,0.55);
  margin-top: 6px;
}

/* Section intro (two-col heading + lede) */
.section-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: end;
}
.section-intro .h2 { margin-top: 16px; }
.section-intro-right { padding-bottom: 8px; }

/* Service cards grid */
.service-cards-section {
  background: var(--paper);
  padding: var(--section-y) 0;
}
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 56px;
}
.service-card {
  background: var(--ink);
  padding: 40px 32px 32px;
  display: flex; flex-direction: column;
  min-height: 320px;
  text-decoration: none; color: var(--paper);
  transition: filter 0.25s var(--ease);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.service-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(rgba(10,22,40,0.78), rgba(10,22,40,0.78));
  z-index: 0;
  transition: background 0.25s var(--ease);
}
.service-card:hover::before { background: linear-gradient(rgba(10,22,40,0.62), rgba(10,22,40,0.62)); }
.service-card > * { position: relative; z-index: 1; }
.service-card:hover { filter: brightness(1.05); }
.service-card-icon {
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--paper);
  margin-bottom: 32px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.service-card-num {
  position: absolute; top: 32px; right: 32px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  color: var(--muted);
}
.service-card-title {
  font-size: 24px; font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.1;
  color: var(--paper); margin-bottom: 12px;
}
.service-card-body {
  font-size: 14px; color: rgba(255,255,255,0.7);
  line-height: 1.55; margin-bottom: auto;
  padding-bottom: 32px;
}
.service-card-foot {
  padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.service-card-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.service-card-tag {
  font-size: 10px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.1); padding: 4px 8px;
  border-radius: 2px;
}
.service-card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--paper);
  white-space: nowrap;
}

/* Engagement fit — two-column section */
.two-col-fit {
  background: var(--paper-2);
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line);
}
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
}
.fit-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px;
}
.fit-card.positive { border-top: 3px solid var(--gold); }
.fit-card.negative { border-top: 3px solid var(--line-strong); }
.fit-card-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 8px;
}
.fit-card.positive .fit-card-label { color: var(--gold); }
.fit-card.negative .fit-card-label { color: var(--muted); }
.fit-card-title {
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 24px;
}
.fit-item {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  display: flex; gap: 14px; align-items: flex-start;
}
.fit-item:first-of-type { border-top: 0; padding-top: 0; }
.fit-icon { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; }
.fit-card.positive .fit-icon { color: #22c55e; }
.fit-card.negative .fit-icon { color: #9ca3af; }
.fit-item-strong {
  display: block;
  font-size: 15px; font-weight: 700; color: var(--ink);
  margin-bottom: 6px;
}
.fit-item-body { font-size: 14px; color: var(--text-2); line-height: 1.55; }

/* Responsive */
@media (max-width: 1100px) {
  .quick-stats { grid-template-columns: repeat(2, 1fr); }
  .service-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col-grid { grid-template-columns: 1fr; }
  .section-intro { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .quick-stats { grid-template-columns: 1fr; }
  .service-cards-grid { grid-template-columns: 1fr; }
}
