/* ============================================================================
   Perth Partners — visual system
   A Lagos firm at the seam of finance and engineering. The page is built like
   a private ledger: ink on parchment, hairline rules, mono indices, gold used
   as a gilt edge rather than a fill. Display type carries the "compounding"
   voice (Spectral); mono carries the "engineered" voice (Space Mono).
   Brand: Burgundy #631928 · Gold #C8A960
   ========================================================================== */

:root {
  /* Brand (locked) */
  --burgundy: #631928;
  --burgundy-mid: #7A2233;
  --burgundy-deep: #3E0E18;
  --burgundy-ink: #2A0A11;
  --gold: #C8A960;
  --gold-soft: #E0CA94;
  --gold-ink: #8C6E2C;          /* accessible gold for text on paper */

  /* Ink & parchment */
  --ink: #1C1315;
  --ink-soft: #4B4042;
  --ink-mute: #847A7B;
  --paper: #FBF8F3;
  --paper-2: #F4EDE2;
  --paper-3: #ECE2D3;
  --white: #FFFFFF;

  /* Lines */
  --line: rgba(28, 19, 21, 0.14);
  --line-soft: rgba(28, 19, 21, 0.08);
  --line-gold: rgba(200, 169, 96, 0.55);
  --line-on-dark: rgba(255, 255, 255, 0.16);

  /* Type */
  --font-display: 'Spectral', Georgia, 'Times New Roman', serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Metrics */
  --container: 1180px;
  --gutter: 28px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.45s var(--ease);

  --shadow-sm: 0 1px 2px rgba(42, 10, 17, 0.04);
  --shadow-md: 0 22px 50px -28px rgba(42, 10, 17, 0.30);
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, fieldset { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 500; line-height: 1.12; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--burgundy); color: var(--gold-soft); }

:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--burgundy); color: #fff; padding: 12px 18px;
  font-family: var(--font-mono); font-size: 12px; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ── Custom icons ──────────────────────────────────────────────────────── */
.pp-ico { width: 1em; height: 1em; flex-shrink: 0; }
.pp-ico .pp-node { fill: var(--gold); stroke: none; }

/* ── Shared utilities: index label + rules ────────────────────────────── */
.index-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--burgundy);
}
.index-label::before {
  content: ""; width: 26px; height: 1px; background: var(--gold); flex-shrink: 0;
}
.index-label.gold { color: var(--gold); }
.index-label.center { justify-content: center; }

.rule { height: 1px; background: var(--line); transform-origin: left center; width: 100%; }
.rule.gold { background: var(--line-gold); }
.rule.on-dark { background: var(--line-on-dark); }

/* ── Reveal / motion gating ───────────────────────────────────────────── */
.js:not(.reduced-motion) .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.active,
.js:not(.reduced-motion) .reveal.active { opacity: 1; transform: none; }

.js:not(.reduced-motion) .rule-draw { transform: scaleX(0); transition: transform 1.1s var(--ease); }
.rule-draw.active,
.js:not(.reduced-motion) .rule-draw.active { transform: scaleX(1); }

/* ── Sections ─────────────────────────────────────────────────────────── */
.section, .section-padding { padding: clamp(76px, 9vw, 132px) 0; position: relative; }
.section--alt, .section-padding.bg-white { background: var(--paper-2); }
.section--ink, .bg-burgundy-dark {
  background: var(--burgundy-deep); color: rgba(255, 255, 255, 0.82);
}
.section--tight { padding: clamp(56px, 6vw, 84px) 0; }

.section-head { max-width: 680px; margin: 0 0 clamp(44px, 5vw, 68px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .index-label { justify-content: center; }
.section-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(29px, 4vw, 46px); letter-spacing: -0.018em; line-height: 1.08;
  margin: 20px 0 0;
}
.section-title em { font-style: italic; color: var(--burgundy); }
.section--ink .section-title, .section--ink .section-title em { color: #fff; }
.section--ink .section-title em { color: var(--gold); }
.section-lede {
  font-size: 18px; color: var(--ink-mute); margin-top: 18px; max-width: 56ch;
}
.section--ink .section-lede { color: rgba(255, 255, 255, 0.7); }
.section-head.center .section-lede { margin-left: auto; margin-right: auto; }

/* Legacy aliases still used by some pages */
.section-header { text-align: center; max-width: 700px; margin: 0 auto clamp(44px, 5vw, 64px); }
.section-header h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.018em; margin: 18px 0 14px;
}
.section-header p { font-size: 17px; color: var(--ink-mute); }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn-primary, .btn-ghost, .btn-ghost-dark, .btn-burgundy, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-mono); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 15px 26px; border-radius: var(--radius); border: 1px solid transparent;
  transition: transform var(--t), background var(--t), color var(--t), border-color var(--t), box-shadow var(--t);
}
.btn-ico { width: 16px; height: 16px; transition: transform var(--t); }
.btn-primary:hover .btn-ico, .btn-ghost:hover .btn-ico, .btn-ghost-dark:hover .btn-ico { transform: translateX(4px); }

.btn-primary {
  background: var(--burgundy); color: #fff; border-color: var(--burgundy);
  box-shadow: inset 0 0 0 1px rgba(200, 169, 96, 0);
}
.btn-primary:hover {
  background: var(--burgundy-deep); transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(62, 14, 24, 0.6), inset 0 0 0 1px var(--line-gold);
}
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--burgundy); color: var(--burgundy); transform: translateY(-2px); }

.btn-ghost-dark { background: transparent; color: #fff; border-color: var(--line-on-dark); }
.btn-ghost-dark:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* legacy */
.btn-burgundy { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }
.btn-burgundy:hover { background: var(--burgundy-deep); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: #fff; border-color: var(--line-on-dark); }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.link-arrow, .btn-text-link {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--burgundy);
  padding-bottom: 4px; position: relative;
}
.link-arrow::after, .btn-text-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.link-arrow:hover::after, .btn-text-link:hover::after { transform: scaleX(1); }
.link-arrow .pp-ico { width: 15px; height: 15px; transition: transform var(--t); }
.link-arrow:hover .pp-ico { transform: translateX(4px); }

/* Legacy badge-pill → mono index chip */
.badge-pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
}
.badge-pill::before { content: ""; width: 24px; height: 1px; background: var(--gold); }
.badge-pill.dark { color: var(--burgundy); }
.badge-pill.dark::before { background: var(--gold); }

/* ── Header ───────────────────────────────────────────────────────────── */
.main-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 22px 0; transition: padding var(--t), background var(--t), box-shadow var(--t), border-color var(--t);
  border-bottom: 1px solid transparent;
}
.main-header.scrolled {
  padding: 12px 0; background: rgba(251, 248, 243, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line); box-shadow: var(--shadow-sm);
}
.header-bar { display: flex; align-items: center; gap: 32px; }

.brand-logo { display: inline-flex; align-items: center; gap: 13px; }
.logo-mark { display: inline-grid; grid-template-columns: repeat(3, 5px); gap: 3px; align-items: end; height: 26px; }
.logo-mark span { background: #fff; border-radius: 1px; transition: background var(--t); }
.logo-mark span:nth-child(1) { height: 13px; }
.logo-mark span:nth-child(2) { height: 19px; background: var(--gold); }
.logo-mark span:nth-child(3) { height: 26px; }
.logo-text {
  font-family: var(--font-display); font-weight: 600; font-size: 16.5px;
  letter-spacing: 0.01em; line-height: 1; color: #fff; transition: color var(--t);
}
.logo-text small {
  display: block; font-family: var(--font-mono); font-size: 8.5px; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
  margin-top: 5px;
}
.main-header.scrolled .logo-text { color: var(--ink); }
.main-header.scrolled .logo-mark span:nth-child(1),
.main-header.scrolled .logo-mark span:nth-child(3) { background: var(--burgundy); }
.main-header.scrolled .logo-text small { color: var(--gold-ink); }

.desktop-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-link {
  position: relative; font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, 0.82);
  background: none; border: none; padding: 6px 0; display: inline-flex; align-items: center; gap: 6px;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
  background: var(--gold); transition: right var(--t);
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { right: 0; }
.main-header.scrolled .nav-link { color: var(--ink-soft); }
.main-header.scrolled .nav-link:hover, .main-header.scrolled .nav-link.active { color: var(--burgundy); }
.chevron { width: 13px; height: 13px; transition: transform var(--t); }
.nav-dropdown { position: relative; }
.nav-dropdown:hover .chevron { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 8px; min-width: 280px;
  opacity: 0; pointer-events: none; transition: opacity var(--t), transform var(--t); z-index: 10;
}
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu {
  opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.dropdown-item { display: flex; gap: 14px; align-items: flex-start; padding: 13px 15px; border-radius: var(--radius); transition: background var(--t); }
.dropdown-item:hover, .dropdown-item.active { background: var(--paper-2); }
.dd-code {
  font-family: var(--font-mono); font-weight: 700; font-size: 13px; color: var(--gold-ink);
  border: 1px solid var(--line-gold); border-radius: 3px; width: 26px; height: 26px;
  display: grid; place-items: center; flex-shrink: 0;
}
.dropdown-item b { display: block; font-family: var(--font-display); font-size: 15.5px; font-weight: 600; color: var(--ink); }
.dropdown-item i { display: block; font-style: normal; font-size: 12.5px; color: var(--ink-mute); margin-top: 2px; }

.header-actions { display: flex; align-items: center; gap: 22px; }
.portal-link { font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, 0.78); }
.portal-link:hover { color: var(--gold); }
.main-header.scrolled .portal-link { color: var(--ink-soft); }
.main-header.scrolled .portal-link:hover { color: var(--burgundy); }
.header-btn {
  font-family: var(--font-mono); font-weight: 700; font-size: 11.5px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--burgundy-deep); background: var(--gold);
  padding: 11px 18px; border-radius: var(--radius); border: 1px solid var(--gold);
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.header-btn:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(200, 169, 96, 0.8); }

/* ── Hamburger + mobile nav ───────────────────────────────────────────── */
.hamburger-menu { display: none; background: none; border: none; padding: 8px; margin-left: auto; }
.hamburger-box { width: 24px; height: 14px; display: block; position: relative; }
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  width: 24px; height: 1.5px; background: #fff; position: absolute; left: 0; transition: transform 0.2s var(--ease), background 0.2s;
}
.main-header.scrolled .hamburger-inner,
.main-header.scrolled .hamburger-inner::before,
.main-header.scrolled .hamburger-inner::after { background: var(--ink); }
.hamburger-inner { top: 50%; transform: translateY(-50%); }
.hamburger-inner::before, .hamburger-inner::after { content: ""; }
.hamburger-inner::before { top: -7px; }
.hamburger-inner::after { top: 7px; }
.hamburger-menu.open .hamburger-inner { background: transparent !important; }
.hamburger-menu.open .hamburger-inner::before { transform: translateY(7px) rotate(45deg); background: var(--ink); }
.hamburger-menu.open .hamburger-inner::after { transform: translateY(-7px) rotate(-45deg); background: var(--ink); }

.mobile-nav-overlay {
  position: fixed; inset: 0; background: var(--paper); z-index: 90;
  padding: 110px var(--gutter) 48px; opacity: 0; pointer-events: none;
  transform: translateY(-10px); transition: opacity var(--t), transform var(--t); overflow-y: auto;
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: auto; transform: none; }
.mobile-menu { display: flex; flex-direction: column; max-width: 460px; margin: 0 auto; }
.mobile-eyebrow {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-ink); padding-bottom: 20px; margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.mobile-link {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--font-display); font-weight: 500; font-size: 30px; color: var(--ink);
  padding: 18px 0; border-bottom: 1px solid var(--line-soft);
}
.mobile-link i { font-family: var(--font-mono); font-style: normal; font-size: 13px; color: var(--gold-ink); font-weight: 700; }
.mobile-link.active { color: var(--burgundy); }
.mobile-btn {
  margin-top: 28px; text-align: center; font-family: var(--font-mono); font-weight: 700;
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--burgundy); color: #fff; padding: 17px; border-radius: var(--radius);
}

/* ── HERO ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(200, 169, 96, 0.16) 0%, transparent 45%),
    linear-gradient(160deg, var(--burgundy-ink) 0%, var(--burgundy-deep) 48%, var(--burgundy) 130%);
  padding: calc(var(--gutter) + 120px) 0 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 88px);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 64px; align-items: end; padding-bottom: clamp(56px, 7vw, 92px); }

.hero-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(44px, 7vw, 84px); line-height: 1.0; letter-spacing: -0.025em;
  margin: 26px 0 0; color: #fff;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-sub { font-size: clamp(17px, 1.6vw, 19.5px); line-height: 1.6; color: rgba(255, 255, 255, 0.78); margin: 26px 0 0; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Hero ledger aside */
.hero-ledger { border-top: 1px solid var(--line-on-dark); }
.ledger-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--line-on-dark); transition: padding-left var(--t);
}
.ledger-row:hover { padding-left: 8px; }
.ledger-code { font-family: var(--font-mono); font-weight: 700; font-size: 12px; color: var(--gold); }
.ledger-name { font-family: var(--font-display); font-size: 18px; color: #fff; }
.ledger-desc { font-size: 12.5px; color: rgba(255,255,255,0.55); font-family: var(--font-mono); letter-spacing: 0.02em; }
.ledger-row .pp-ico { width: 18px; height: 18px; color: var(--gold); opacity: 0; transform: translateX(-6px); transition: opacity var(--t), transform var(--t); }
.ledger-row:hover .pp-ico { opacity: 1; transform: none; }

.hero-rule { position: relative; z-index: 2; }
.hero-foot {
  position: relative; z-index: 2; display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 16px; padding: 18px 0 22px; font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5);
}
.hero-foot span { display: inline-flex; align-items: center; gap: 10px; }
.hero-foot b { color: var(--gold); font-weight: 700; }

/* Hero load sequence */
.js:not(.reduced-motion) [data-hero] .hero-rise { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js:not(.reduced-motion) [data-hero].loaded .hero-rise { opacity: 1; transform: none; }
[data-hero] .hero-rise:nth-child(1) { transition-delay: 0.05s; }
[data-hero] .hero-rise:nth-child(2) { transition-delay: 0.15s; }
[data-hero] .hero-rise:nth-child(3) { transition-delay: 0.25s; }
[data-hero] .hero-rise:nth-child(4) { transition-delay: 0.35s; }
.js:not(.reduced-motion) [data-hero] .hero-ledger { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease) 0.3s, transform 0.8s var(--ease) 0.3s; }
.js:not(.reduced-motion) [data-hero].loaded .hero-ledger { opacity: 1; transform: none; }

/* ── Interior page hero ───────────────────────────────────────────────── */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(120% 90% at 88% -10%, rgba(200, 169, 96, 0.16) 0%, transparent 45%),
    linear-gradient(160deg, var(--burgundy-ink) 0%, var(--burgundy-deep) 50%, var(--burgundy) 135%);
  padding: calc(var(--gutter) + 132px) 0 0;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 88px);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-inner { max-width: 900px; padding-bottom: clamp(48px, 6vw, 76px); }
.page-hero h1 {
  font-family: var(--font-display); font-weight: 500; color: #fff;
  font-size: clamp(40px, 6.2vw, 72px); line-height: 1.02; letter-spacing: -0.024em; margin-top: 24px;
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero p { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.55; color: rgba(255,255,255,0.78); margin-top: 24px; max-width: 60ch; }
.page-hero .hero-actions { margin-top: 32px; }
.page-hero-foot {
  position: relative; z-index: 2; display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between;
  padding: 18px 0 22px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
}
.page-hero-foot b { color: var(--gold); font-weight: 700; }

/* ── Catalog (indexed service rows — the ledger centrepiece) ───────────── */
.catalog { border-top: 1px solid var(--line); }
.catalog-row {
  display: grid; grid-template-columns: 150px 1fr; gap: clamp(24px, 4vw, 64px);
  padding: clamp(34px, 4vw, 56px) 0; border-bottom: 1px solid var(--line); align-items: start;
  transition: background var(--t);
}
.catalog-row:hover { background: linear-gradient(90deg, rgba(200,169,96,0.05), transparent 60%); }
.catalog-aside { display: flex; flex-direction: column; gap: 16px; }
.catalog-aside .pp-ico { width: 32px; height: 32px; color: var(--burgundy); transition: transform var(--t); }
.catalog-row:hover .catalog-aside .pp-ico { transform: translateY(-3px); }
.catalog-code { font-family: var(--font-mono); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; color: var(--gold-ink); }
.catalog-body h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(23px, 2.7vw, 31px); letter-spacing: -0.012em; }
.catalog-body > p { color: var(--ink-mute); font-size: 16px; margin: 12px 0 24px; max-width: 62ch; }
.catalog-body .spec-list { max-width: 560px; margin-bottom: 26px; }

/* Prose block (about story) */
.prose-2col { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.prose-2col .index-label { margin-bottom: 18px; }
.prose-2col h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.018em; line-height: 1.1; }
.prose-body p { font-size: 17px; color: var(--ink-soft); margin-bottom: 20px; }
.prose-body p:last-child { margin-bottom: 0; }
.prose-body .drop { font-family: var(--font-display); font-size: 20px; color: var(--ink); }

/* Pull-quote */
.pullquote { max-width: 900px; margin: 0 auto; text-align: center; }
.pullquote blockquote { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 3.4vw, 38px); line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); }
.pullquote blockquote em { font-style: italic; color: var(--burgundy); }
.pullquote .pq-attr { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); margin-top: 26px; }

/* Legacy hero (interior pages not yet rebuilt) */
.hero-section {
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(200, 169, 96, 0.16) 0%, transparent 45%),
    linear-gradient(160deg, var(--burgundy-ink) 0%, var(--burgundy-deep) 48%, var(--burgundy) 130%);
  color: #fff; position: relative; overflow: hidden;
  padding: calc(var(--gutter) + 150px) 0 clamp(80px, 9vw, 120px);
}
.hero-section.short-hero { padding-bottom: clamp(56px, 6vw, 84px); }
.hero-centered-content { max-width: 820px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.hero-centered-content h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(38px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.022em; color: #fff; margin: 22px 0 22px; }
.hero-centered-content h1 span { color: var(--gold); font-style: italic; }
.hero-centered-content p { font-size: clamp(16px, 2vw, 19px); color: rgba(255,255,255,0.78); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-centered-content .hero-actions { justify-content: center; }

/* ── Practice cards (home) ────────────────────────────────────────────── */
.practice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.practice-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(34px, 3.4vw, 48px); display: flex; flex-direction: column;
  position: relative; overflow: hidden; transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.practice-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease);
}
.practice-card:hover { border-color: var(--line-gold); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.practice-card:hover::before { transform: scaleX(1); }
.practice-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.practice-num { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--gold-ink); letter-spacing: 0.1em; }
.practice-ico { width: 30px; height: 30px; color: var(--burgundy); }
.practice-card h3 { font-family: var(--font-display); font-size: clamp(23px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.01em; }
.practice-card > p { color: var(--ink-mute); font-size: 15.5px; margin: 12px 0 26px; }
.practice-list { list-style: none; margin: 0 0 30px; }
.practice-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: 14.5px; color: var(--ink); }
.practice-list li .pp-ico { width: 16px; height: 16px; color: var(--gold-ink); margin-top: 3px; }
.practice-cta { margin-top: auto; }

/* ── Feature split ────────────────────────────────────────────────────── */
.split-section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split-section-grid.reverse { direction: rtl; }
.split-section-grid.reverse > * { direction: ltr; }
.split-content h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -0.018em; margin: 18px 0 16px; }
.split-content p { color: var(--ink-mute); font-size: 16.5px; margin-bottom: 24px; }
.split-bullets, .spec-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-bottom: 32px; }
.split-bullets li, .spec-list li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; font-weight: 500; color: var(--ink); font-family: var(--font-mono); letter-spacing: 0.01em; }
.split-bullets li::before, .spec-list li::before {
  content: ""; width: 7px; height: 7px; border: 1px solid var(--gold-ink); background: var(--gold); flex-shrink: 0; transform: rotate(45deg);
}

/* Ledger graphic card (replaces floating circle art) */
.split-graphic-wrapper { position: relative; display: flex; justify-content: center; }
.graphic-bg-circle { display: none; }
.graphic-art-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px; width: 100%; max-width: 340px; position: relative; transition: transform var(--t), box-shadow var(--t);
  box-shadow: var(--shadow-sm);
}
.graphic-art-card::before { content: ""; position: absolute; top: 14px; left: 14px; right: 14px; bottom: 14px; border: 1px solid var(--line-soft); pointer-events: none; border-radius: 2px; }
.graphic-art-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gac-circle { width: 64px; height: 64px; border: 1px solid var(--line-gold); border-radius: 50%; color: var(--burgundy); display: grid; place-items: center; margin-bottom: 22px; position: relative; }
.gac-circle svg { width: 30px; height: 30px; }
.graphic-art-card h4 { font-family: var(--font-display); font-weight: 600; }
.gac-line { height: 1px; background: var(--line); margin-top: 18px; position: relative; overflow: hidden; }
.gac-line::after { content: ""; position: absolute; inset: 0 30% 0 0; background: var(--gold); }

/* ── Figures / stats ──────────────────────────────────────────────────── */
.figures, .stats-values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); margin-top: 8px; }
.figure, .stat-val-item { padding: 38px 28px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-align: left; }
.figure:nth-child(4n), .stat-val-item:nth-child(4n) { border-right: none; }
.figure-num, .stat-val-num { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 5vw, 62px); line-height: 1; color: var(--burgundy); letter-spacing: -0.02em; }
.figure-label, .stat-val-label { font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-top: 14px; }
.section--ink .figures { border-top-color: var(--line-on-dark); }
.section--ink .figure { border-color: var(--line-on-dark); }
.section--ink .figure-num { color: var(--gold); }
.section--ink .figure-label { color: rgba(255,255,255,0.55); }

/* ── Service / value / industry cards ─────────────────────────────────── */
.services-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.services-list-grid.two-cols { grid-template-columns: repeat(2, 1fr); }
.services-list-grid.three-cols { grid-template-columns: repeat(3, 1fr); }
.service-item-card { background: var(--paper); padding: clamp(30px, 3vw, 42px); transition: background var(--t); position: relative; }
.service-item-card:hover { background: var(--white); }
.sic-icon { width: 46px; height: 46px; color: var(--burgundy); display: grid; place-items: start; margin-bottom: 24px; }
.sic-icon svg, .sic-icon .pp-ico { width: 28px; height: 28px; }
.sic-title { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.sic-text { font-size: 14.5px; color: var(--ink-mute); }
.service-item-card .sic-num { position: absolute; top: 26px; right: 28px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--gold-ink); letter-spacing: 0.08em; }

/* ── Creed (replaces fake testimonial) ────────────────────────────────── */
.creed { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.creed-aside .index-label { margin-bottom: 18px; }
.creed-aside h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.015em; }
.creed-aside p { color: var(--ink-mute); margin-top: 16px; font-size: 15.5px; }
.creed-list { list-style: none; }
.creed-item { padding: 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 22px; }
.creed-item:last-child { border-bottom: 1px solid var(--line); }
.creed-mark { font-family: var(--font-mono); font-weight: 700; font-size: 13px; color: var(--gold-ink); padding-top: 5px; }
.creed-item h4 { font-family: var(--font-display); font-size: 21px; font-weight: 600; margin-bottom: 6px; }
.creed-item p { font-size: 15px; color: var(--ink-mute); }

/* ── Industries (legacy grid markup) ──────────────────────────────────── */
.tech-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-tag {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 400; letter-spacing: 0.02em;
  color: var(--ink); padding: 10px 16px; border: 1px solid var(--line); border-radius: 2px; transition: var(--t);
}
.tech-tag:hover { border-color: var(--line-gold); color: var(--burgundy); }

/* ── Insights ─────────────────────────────────────────────────────────── */
.insights-grid, .insights-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.insight-card, .insight-item-card { background: var(--paper); padding: clamp(28px, 2.8vw, 40px); display: flex; flex-direction: column; transition: background var(--t); }
.insight-card:hover, .insight-item-card:hover { background: var(--white); }
.insight-card-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.insight-tag, .iic-badge { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--burgundy); }
.insight-card-meta time { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-mute); }
.insight-card h3, .iic-title { font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 12px; }
.insight-card p, .iic-excerpt { font-size: 14.5px; color: var(--ink-mute); margin-bottom: 24px; flex-grow: 1; }

/* Newsletter */
.newsletter-block {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  background: var(--burgundy-deep); color: #fff; border-radius: var(--radius); padding: clamp(36px, 4vw, 60px); position: relative; overflow: hidden;
}
.newsletter-content h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 3vw, 34px); color: #fff; margin: 16px 0 12px; }
.newsletter-content p { color: rgba(255,255,255,0.72); font-size: 15.5px; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1; min-width: 200px; background: rgba(255,255,255,0.06); border: 1px solid var(--line-on-dark);
  color: #fff; padding: 14px 16px; border-radius: var(--radius); font-family: var(--font-body); font-size: 14.5px; transition: var(--t);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-form input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,0.1); }

/* ── Contact ──────────────────────────────────────────────────────────── */
.contact-layout, .contact-split-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 5vw, 80px); }
.contact-info-column h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.contact-info-column > p { color: var(--ink-mute); margin-bottom: 36px; }
.contact-info-block { display: flex; flex-direction: column; gap: 4px; margin-bottom: 36px; border-top: 1px solid var(--line); }
.contact-info-item { display: flex; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cii-icon { width: 40px; height: 40px; border: 1px solid var(--line-gold); border-radius: 50%; color: var(--burgundy); display: grid; place-items: center; flex-shrink: 0; }
.cii-icon svg, .cii-icon .pp-ico { width: 19px; height: 19px; }
.contact-info-item strong { display: block; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 3px; }
.contact-info-item a, .contact-info-item span { font-family: var(--font-display); font-size: 17px; color: var(--ink); }
.contact-info-item a:hover { color: var(--burgundy); }
.contact-hours { border-top: 1px solid var(--line); padding-top: 26px; }
.contact-hours h4 { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 12px; }
.contact-hours p { font-size: 14.5px; color: var(--ink-mute); }

.contact-form-column { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3vw, 44px); }
.contact-form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3vw, 44px); }
.form-row, .form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 9px; }
.form-group .optional { color: var(--gold-ink); }
.form-group input, .form-group select, .form-group textarea, .form-control {
  width: 100%; background: var(--paper); border: 1px solid var(--line); color: var(--ink);
  border-radius: var(--radius); padding: 13px 15px; font-family: var(--font-body); font-size: 15px; transition: var(--t);
}
.form-group input::placeholder, .form-group textarea::placeholder, .form-control::placeholder { color: var(--ink-mute); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus, .form-control:focus {
  outline: none; border-color: var(--gold-ink); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-gold);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.btn-primary.full-width, .form-btn-submit.full-width, .full-width { width: 100%; }
.form-btn-submit { width: 100%; background: var(--burgundy); color: #fff; border: 1px solid var(--burgundy); border-radius: var(--radius); padding: 15px; font-family: var(--font-mono); font-weight: 700; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; transition: var(--t); }
.form-btn-submit:hover { background: var(--burgundy-deep); transform: translateY(-2px); }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq-accordion-wrapper { max-width: 820px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); transition: var(--t); }
.faq-question { padding: 26px 8px; display: flex; justify-content: space-between; align-items: center; gap: 24px; cursor: pointer; user-select: none; }
.faq-question h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); transition: color var(--t); }
.faq-item:hover .faq-question h3, .faq-item.open .faq-question h3 { color: var(--burgundy); }
.faq-icon-box { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; color: var(--burgundy); display: grid; place-items: center; flex-shrink: 0; transition: var(--t); }
.faq-icon-box svg, .faq-icon-box .pp-ico { width: 13px; height: 13px; transition: transform var(--t); }
.faq-item.open .faq-icon-box { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }
.faq-item.open .faq-icon-box svg, .faq-item.open .faq-icon-box .pp-ico { transform: rotate(135deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-answer-inner { padding: 0 8px 28px; font-size: 15.5px; color: var(--ink-mute); max-width: 64ch; }

/* ── Closing CTA + footer ─────────────────────────────────────────────── */
.closing-cta { background: var(--burgundy-deep); color: #fff; padding: clamp(72px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.closing-cta::before { content: ""; position: absolute; inset: 0; opacity: 0.5; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 88px); }
.closing-cta-inner { position: relative; z-index: 2; max-width: 760px; }
.closing-cta-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.05; letter-spacing: -0.02em; color: #fff; margin: 22px 0 18px; }
.closing-cta-text { color: rgba(255,255,255,0.74); font-size: 17.5px; max-width: 58ch; margin-bottom: 36px; }
.closing-cta-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.closing-cta .btn-ghost-dark { letter-spacing: 0.02em; text-transform: none; font-family: var(--font-display); font-size: 16px; }

.main-footer { background: var(--burgundy-ink); color: rgba(255, 255, 255, 0.6); padding: clamp(64px, 7vw, 96px) 0 32px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-on-dark); }
.footer-logo .logo-text { color: #fff; }
.footer-logo .logo-mark span:nth-child(1), .footer-logo .logo-mark span:nth-child(3) { background: #fff; }
.brand-description { margin: 22px 0 26px; max-width: 38ch; line-height: 1.6; }
.social-links { display: flex; gap: 10px; }
.social-icon { width: 38px; height: 38px; border: 1px solid var(--line-on-dark); border-radius: 50%; color: rgba(255,255,255,0.7); display: grid; place-items: center; transition: var(--t); }
.social-icon:hover { background: var(--burgundy); border-color: var(--burgundy); color: #fff; transform: translateY(-2px); }
.social-icon svg { width: 16px; height: 16px; }
.footer-links-col h5 { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.footer-links-col a { display: block; color: rgba(255,255,255,0.6); padding: 8px 0; transition: var(--t); }
.footer-links-col a:hover { color: var(--gold); padding-left: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 30px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; color: rgba(255,255,255,0.45); }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a:hover { color: var(--gold); }

.back-to-top { position: fixed; bottom: 26px; right: 26px; width: 46px; height: 46px; border-radius: 50%; background: var(--burgundy); color: #fff; border: 1px solid var(--burgundy); display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(10px); transition: var(--t); z-index: 80; }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover { background: var(--gold); color: var(--burgundy-deep); border-color: var(--gold); }
.back-to-top svg { width: 18px; height: 18px; }

/* ── Article (single insight) ─────────────────────────────────────────── */
.article-head { max-width: 760px; }
.article-body { max-width: 720px; margin: 0 auto; font-size: 18px; color: var(--ink-soft); line-height: 1.75; }
.article-body > *:first-child { margin-top: 0; }
.article-body h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.015em; margin: 1.6em 0 0.5em; color: var(--ink); }
.article-body h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.4vw, 24px); margin: 1.4em 0 0.5em; color: var(--ink); }
.article-body p { margin: 0 0 1.3em; }
.article-body a { color: var(--burgundy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-gold); }
.article-body a:hover { text-decoration-color: var(--burgundy); }
.article-body ul, .article-body ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.article-body li { margin-bottom: 0.5em; }
.article-body blockquote { margin: 1.6em 0; padding: 6px 0 6px 24px; border-left: 2px solid var(--gold); font-family: var(--font-display); font-style: italic; font-size: 1.15em; color: var(--ink); }
.article-body img { border-radius: var(--radius); margin: 1.4em 0; }
.article-body code { font-family: var(--font-mono); font-size: 0.88em; background: var(--paper-2); padding: 2px 6px; border-radius: 3px; }
.article-body pre { background: var(--burgundy-ink); color: #f3ead6; padding: 18px 20px; border-radius: var(--radius); overflow-x: auto; margin: 1.4em 0; }
.article-body pre code { background: none; padding: 0; color: inherit; }
.article-foot { max-width: 720px; margin: 56px auto 0; }
.article-foot .rule { margin-bottom: 24px; }
.article-foot p { font-family: var(--font-display); font-size: 18px; color: var(--ink); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ── Public form status banners ───────────────────────────────────────── */
.form-banner { border-radius: var(--radius); padding: 14px 18px; margin-bottom: 22px; font-size: 15px; border: 1px solid; }
.form-banner.ok { background: #e7f3ec; border-color: #b6dcc4; color: #2f7a4f; }
.form-banner.err { background: #fce8e8; border-color: #e3b3b3; color: #7a1f1f; }
.hp-field { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* ── Floating WhatsApp ────────────────────────────────────────────────── */
.wa-float {
  position: fixed; left: 24px; bottom: 24px; z-index: 85;
  display: flex; align-items: center; height: 54px; background: #25D366; color: #fff;
  border-radius: 27px; overflow: hidden; box-shadow: 0 10px 26px -8px rgba(37, 211, 102, 0.55);
  transition: box-shadow var(--t), transform var(--t);
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.7); }
.wa-float .pp-ico { width: 26px; height: 26px; margin: 0 14px; flex: none; }
.wa-label {
  font-family: var(--font-mono); font-weight: 700; font-size: 12px; letter-spacing: 0.04em;
  white-space: nowrap; max-width: 0; opacity: 0; padding-right: 0;
  transition: max-width var(--t), opacity 0.25s var(--ease), padding var(--t);
}
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { max-width: 160px; opacity: 1; padding-right: 20px; }

/* ── Cookie notice ────────────────────────────────────────────────────── */
.cookie-bar {
  position: fixed; left: 50%; bottom: 24px; z-index: 95;
  width: calc(100% - 48px); max-width: 600px;
  display: flex; align-items: center; gap: 18px;
  background: var(--ink); color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px; padding: 15px 18px;
  box-shadow: 0 22px 50px -20px rgba(0, 0, 0, 0.55);
  opacity: 0; transform: translateX(-50%) translateY(14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.cookie-bar p { margin: 0; font-size: 13.5px; line-height: 1.5; }
.cookie-bar a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.cookie-accept {
  flex: none; font-family: var(--font-mono); font-weight: 700; font-size: 12px;
  letter-spacing: 0.04em; text-transform: uppercase; background: var(--gold); color: var(--burgundy-ink);
  border: none; border-radius: 5px; padding: 11px 18px; cursor: pointer; transition: background var(--t);
}
.cookie-accept:hover { background: var(--gold-soft); }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .desktop-nav, .header-actions { display: none; }
  .hamburger-menu { display: block; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; align-items: start; }
  .practice-grid, .split-section-grid, .creed, .contact-layout, .contact-split-grid, .newsletter-block { grid-template-columns: 1fr; gap: 40px; }
  .split-section-grid.reverse { direction: ltr; }
  .figures, .stats-values-grid { grid-template-columns: repeat(2, 1fr); }
  .figure:nth-child(4n), .stat-val-item:nth-child(4n) { border-right: 1px solid var(--line); }
  .figure:nth-child(2n), .stat-val-item:nth-child(2n) { border-right: none; }
  .services-list-grid, .services-list-grid.three-cols { grid-template-columns: repeat(2, 1fr); }
  .insights-grid, .insights-list-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .prose-2col { grid-template-columns: 1fr; gap: 28px; }
  .catalog-row { grid-template-columns: 1fr; gap: 20px; }
  .catalog-aside { flex-direction: row; align-items: center; gap: 18px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .hero-title { font-size: clamp(38px, 12vw, 52px); }
  .practice-grid, .services-list-grid, .services-list-grid.two-cols, .services-list-grid.three-cols, .insights-grid, .insights-list-grid { grid-template-columns: 1fr; }
  .figures, .stats-values-grid { grid-template-columns: 1fr; }
  .figure, .stat-val-item { border-right: none !important; }
  .split-bullets, .spec-list, .form-row, .form-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-foot { font-size: 10.5px; }
  .cookie-bar { flex-direction: column; align-items: stretch; gap: 12px; text-align: left; bottom: 16px; }
  .cookie-accept { width: 100%; padding: 12px; }
  body.cookie-open .wa-float { bottom: 150px; }
  .wa-float { left: 16px; bottom: 16px; }
}
