/* ==========================================================================
   Jeydak Business Solution — public site
   Depends on brand.css for tokens. Bootstrap 5 provides the grid and a few
   utilities; everything visual below is ours.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: var(--lh-base);
  font-feature-settings: 'kern', 'liga', 'cv11';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text);
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); }
h4 { font-size: var(--fs-h4); line-height: var(--lh-snug); }
h5 { font-size: var(--fs-h5); line-height: var(--lh-snug); }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-text); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--navy-700); }
img, svg, video { max-width: 100%; height: auto; display: block; }
hr { border: 0; border-top: 1px solid var(--border); margin: var(--sp-6) 0; }

::selection { background: var(--navy-800); color: #fff; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--sp-4); top: -100px; z-index: var(--z-toast);
  background: var(--navy-800); color: #fff; padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius); font-weight: 600; transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--sp-4); color: #fff; }

.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }

/* --------------------------------------------------------------------------
   2. Layout primitives
   -------------------------------------------------------------------------- */
.container-jbs { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: var(--container-wide); }
.container-narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy-900); color: var(--text-invert); }
.section--dark h1, .section--dark h2, .section--dark h3,
.section--dark h4, .section--dark h5 { color: #fff; }
.section--dark p { color: var(--text-invert-soft); }
.section--brand { background: var(--navy-800); color: var(--text-invert); }

/* Signature survey-grid motif ------------------------------------------- */
.grid-motif { position: relative; isolation: isolate; }
.grid-motif::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 78%);
}

.stack > * + * { margin-top: var(--sp-4); }
.grid { display: grid; gap: var(--sp-5); }
.grid--1 { grid-template-columns: minmax(0, 1fr); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.grid--sidebar { grid-template-columns: minmax(0, 1fr); gap: var(--sp-8); }
@media (min-width: 992px) { .grid--sidebar { grid-template-columns: minmax(0, 1fr) 320px; } }
@media (min-width: 992px) { .grid--sidebar-left { grid-template-columns: 280px minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   3. Section furniture
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 var(--sp-3);
  display: flex; align-items: center; gap: var(--sp-2);
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--accent); flex: none; }
.section--dark .eyebrow, .section--brand .eyebrow { color: var(--gold-300); }
.section--dark .eyebrow::before, .section--brand .eyebrow::before { background: var(--gold-500); }
.eyebrow--center { justify-content: center; }

.section-head { max-width: 720px; margin-bottom: var(--sp-8); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-soft); font-size: var(--fs-lg); }
.section--dark .section-head p { color: var(--text-invert-soft); }

.rule-gold { width: 56px; height: 2px; background: var(--accent); border: 0; margin: var(--sp-4) 0 var(--sp-5); }
.section-head--center .rule-gold { margin-inline: auto; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--navy-800);
  --btn-fg: #fff;
  --btn-bd: var(--navy-800);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: var(--fs-base); font-weight: 600; line-height: 1;
  padding: 0.95rem 1.6rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg);
  cursor: pointer; text-align: center; text-decoration: none;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease),
              background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(0); }
.btn i { font-size: 1.1em; }

.btn--gold { --btn-bg: var(--gold-500); --btn-bd: var(--gold-500); --btn-fg: #2E1F04; }
.btn--gold:hover { --btn-bg: var(--gold-600); --btn-bd: var(--gold-600); box-shadow: var(--shadow-gold); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy-800); --btn-bd: var(--border); }
.btn--outline:hover { --btn-bd: var(--navy-800); --btn-bg: var(--navy-050); }

.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,0.3); }
.btn--ghost-light:hover { --btn-bg: rgba(255,255,255,0.09); --btn-bd: rgba(255,255,255,0.55); }

.btn--white { --btn-bg: #fff; --btn-fg: var(--navy-800); --btn-bd: #fff; }
.btn--sm { padding: 0.6rem 1.05rem; font-size: var(--fs-sm); }
.btn--lg { padding: 1.1rem 2rem; font-size: var(--fs-lg); }
.btn--block { display: flex; width: 100%; }

.btn-arrow { position: relative; }
.btn-arrow i { transition: transform var(--dur) var(--ease); }
.btn-arrow:hover i { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-weight: 600; color: var(--accent-text);
}
.link-arrow i { transition: transform var(--dur) var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

.link-underline { position: relative; }
.link-underline::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
  background: currentColor; transition: width var(--dur) var(--ease);
}
.link-underline:hover::after { width: 100%; }

/* --------------------------------------------------------------------------
   5. Pills, chips, badges
   -------------------------------------------------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.34rem 0.66rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg-alt); color: var(--text-soft);
  /* Short codes such as ISO 45001 must not break mid-label, but a chip can
     never be allowed to push past its card either — editable content will
     eventually be longer than whatever fits today. */
  white-space: nowrap;
  max-width: 100%; min-width: 0;
  overflow: hidden; text-overflow: ellipsis;
}
/* Practice names are phrases, so let them wrap rather than truncate. */
.chip--practice { white-space: normal; overflow-wrap: anywhere; line-height: 1.35; }
.chip--gold { background: var(--gold-050); border-color: var(--gold-100); color: var(--gold-700); }
.chip--practice { background: var(--practice-soft); border-color: transparent; color: var(--practice-dark); align-self: flex-start; }
.chip--dark { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); color: #E3BE74; }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

.pill {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: var(--fs-xs); font-weight: 600;
  padding: 0.28rem 0.66rem; border-radius: var(--radius-pill);
  background: var(--bg-alt); color: var(--text-soft);
}
.pill--new, .pill--open, .pill--active, .pill--confirmed, .pill--won, .pill--paid, .pill--hired { background: var(--success-soft); color: var(--success); }
.pill--pending, .pill--contacted, .pill--waitlist, .pill--part_paid, .pill--shortlisted { background: var(--warning-soft); color: var(--warning); }
.pill--lost, .pill--cancelled, .pill--rejected, .pill--closed, .pill--unpaid { background: var(--danger-soft); color: var(--danger); }
.pill--proposal_sent, .pill--interviewing, .pill--full, .pill--received { background: var(--info-soft); color: var(--info); }

/* --------------------------------------------------------------------------
   6. Header, top bar, navigation
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy-900); color: var(--text-invert-soft);
  font-size: var(--fs-sm); height: var(--topbar-h);
  display: flex; align-items: center;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); width: 100%; }
.topbar__contact { display: flex; gap: var(--sp-5); align-items: center; flex-wrap: wrap; }
.topbar a { color: var(--text-invert-soft); display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar a:hover { color: var(--gold-300); }
.topbar__links { display: flex; gap: var(--sp-4); align-items: center; }
@media (max-width: 991px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow); background: var(--bg); }
.site-header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5);
}
.brand-mark { display: inline-flex; align-items: center; gap: var(--sp-3); flex: none; }
.brand-mark img { height: 46px; width: auto; }
.brand-mark__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-mark__name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--text); letter-spacing: -0.01em; }
.brand-mark__tag { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }
@media (max-width: 380px) { .brand-mark__text { display: none; } }

.nav { display: flex; align-items: center; gap: var(--sp-1); }
@media (max-width: 1199px) { .nav { display: none; } }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.6rem 0.85rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: var(--fs-base); color: var(--text-soft);
  transition: color var(--dur-fast) var(--ease);
}
.nav__link::after {
  content: ''; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.25rem;
  height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link i { font-size: 0.9em; transition: transform var(--dur-fast) var(--ease); }
.nav__item.is-open .nav__link i { transform: rotate(180deg); }

.header__actions { display: flex; align-items: center; gap: var(--sp-3); flex: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: transparent; color: var(--text-soft); cursor: pointer; font-size: 1.15rem;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.icon-btn:hover { background: var(--bg-alt); color: var(--text); border-color: var(--navy-300); }
.nav-toggle { display: none; }
@media (max-width: 1199px) { .nav-toggle { display: inline-grid; } .header__actions .btn { display: none; } }

/* Mega menu -------------------------------------------------------------- */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface); border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  z-index: var(--z-mega);
}
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); padding-block: var(--sp-7); }
@media (max-width: 1199px) { .mega { display: none; } }
.mega__col-title {
  font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase; color: var(--text-mute); margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-2); border-bottom: 1px solid var(--border-soft);
}
.mega__link { display: flex; gap: var(--sp-3); padding: var(--sp-3); border-radius: var(--radius); transition: background-color var(--dur-fast) var(--ease); }
.mega__link:hover { background: var(--bg-alt); }
.mega__icon {
  flex: none; width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: var(--radius-sm); background: var(--practice-soft, var(--gold-050));
  color: var(--practice, var(--gold-700)); font-size: 1.15rem;
}
.mega__label { display: block; font-weight: 600; color: var(--text); font-size: var(--fs-base); }
.mega__desc { display: block; font-size: var(--fs-sm); color: var(--text-mute); line-height: 1.5; margin-top: 2px; }
.mega__feature { background: var(--bg-alt); border-radius: var(--radius-lg); padding: var(--sp-5); }

/* Mobile drawer ---------------------------------------------------------- */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(400px, 88vw); z-index: var(--z-modal);
  background: var(--surface); border-left: 1px solid var(--border);
  transform: translateX(100%); transition: transform var(--dur-slow) var(--ease);
  display: flex; flex-direction: column; overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--border-soft); }
.drawer__body { padding: var(--sp-5); flex: 1; }
.drawer__link { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-4) 0; border-bottom: 1px solid var(--border-soft); font-weight: 600; color: var(--text); font-size: var(--fs-lg); }
.drawer__sub { padding-left: var(--sp-4); }
.drawer__sub a { display: block; padding: var(--sp-2) 0; color: var(--text-soft); font-size: var(--fs-base); font-weight: 500; }
.drawer__foot { padding: var(--sp-5); border-top: 1px solid var(--border-soft); display: grid; gap: var(--sp-3); }
.scrim {
  position: fixed; inset: 0; background: rgba(0, 11, 32, 0.55); z-index: var(--z-overlay);
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur);
  backdrop-filter: blur(2px);
}
.scrim.is-open { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-900); color: #fff;
  min-height: min(88vh, 820px);
  display: flex; align-items: center;
  padding-block: clamp(4rem, 10vw, 8rem);
}
.hero__media { position: absolute; inset: 0; z-index: 1; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(0,15,43,0.96) 0%, rgba(0,15,43,0.86) 42%, rgba(1,28,70,0.62) 100%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image:
    linear-gradient(rgba(199,149,56,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199,149,56,0.10) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  mask-image: radial-gradient(ellipse 70% 80% at 75% 50%, #000 0%, transparent 72%);
  animation: gridDrift 42s linear infinite;
}
@keyframes gridDrift { to { background-position: var(--grid-size) var(--grid-size); } }
@media (prefers-reduced-motion: reduce) { .hero__grid { animation: none; } }
.hero__inner { position: relative; z-index: 3; width: 100%; }
.hero__content { max-width: 720px; }
.hero h1 { font-size: var(--fs-hero); color: #fff; margin-bottom: var(--sp-5); }
.hero__lead { font-size: var(--fs-lg); color: var(--text-invert-soft); max-width: 56ch; margin-bottom: var(--sp-6); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--sp-6); margin-top: var(--sp-8); padding-top: var(--sp-6); border-top: 1px solid rgba(255,255,255,0.14); }
.hero__stat-value { font-family: var(--font-mono); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; color: #fff; line-height: 1; }
.hero__stat-label { font-size: var(--fs-sm); color: var(--navy-300); margin-top: 0.35rem; }

/* Page hero -------------------------------------------------------------
   Almost no inner page has photography, so a flat navy block was doing all
   the work. The treatment below has to look deliberate with no image at all:
   a practice-tinted glow, a blueprint grid, a ghosted subject glyph, and a
   gold rule where the hero meets the page. An image, when there is one,
   simply layers underneath. */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: #fff;
  padding-block: clamp(3.25rem, 7vw, 5.5rem);
  background:
    radial-gradient(78% 120% at 88% 0%, color-mix(in srgb, var(--practice, var(--gold-500)) 26%, transparent), transparent 62%),
    linear-gradient(155deg, var(--navy-700) -10%, var(--navy-800) 45%, var(--navy-900) 100%);
}
.page-hero--tall { padding-block: clamp(4rem, 9vw, 7rem); }

/* Gold rule along the bottom edge, so the band closes instead of stopping. */
.page-hero::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; z-index: 3;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--practice, var(--gold-500)) 90%, transparent),
    var(--gold-500) 42%, transparent 92%);
}

.page-hero__media { position: absolute; inset: 0; z-index: 0; opacity: 0.3; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* With a photo behind it the copy needs its own scrim to stay readable. */
.page-hero--photo .page-hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy-900) 4%, rgba(0, 15, 43, 0.72) 46%, rgba(0, 15, 43, 0.34));
}

/* Blueprint grid, fading in from the right. */
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(199,149,56,0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199,149,56,0.075) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  mask-image: linear-gradient(100deg, transparent 38%, #000 100%);
  pointer-events: none;
}

/* Oversized subject glyph. Hidden on narrow screens where it would collide
   with the copy, and never shown when there is a photograph. */
.page-hero__glyph {
  position: absolute; z-index: 1; right: -0.1em; top: 50%;
  transform: translateY(-50%);
  font-size: clamp(11rem, 22vw, 17rem); line-height: 1;
  color: color-mix(in srgb, var(--practice, var(--gold-500)) 22%, transparent);
  pointer-events: none; user-select: none;
}
@media (max-width: 991px) { .page-hero__glyph { display: none; } }

.page-hero__inner { position: relative; z-index: 2; max-width: 800px; }
.page-hero h1 { color: #fff; margin-bottom: var(--sp-3); }
.page-hero__lead { font-size: var(--fs-lg); color: var(--text-invert-soft); max-width: 62ch; margin-bottom: 0; }

/* Facts row — dates, durations, locations. Keeps detail pages from opening
   on a title and nothing else. */
.page-hero__meta {
  list-style: none; margin: var(--sp-5) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.page-hero__meta li {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.34rem 0.7rem; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.8125rem; color: var(--text-invert-soft);
}
.page-hero__meta i { color: var(--gold-300); font-size: 0.9375rem; }

.page-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--sp-6); }

/* Breadcrumbs ------------------------------------------------------------ */
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; font-size: var(--fs-sm); margin-bottom: var(--sp-4); }
.crumbs a, .crumbs span { color: var(--text-invert-soft); }
.crumbs a:hover { color: var(--gold-300); }
.crumbs li { display: flex; align-items: center; gap: 0.4rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.crumbs [aria-current] { color: var(--gold-300); }
.crumbs__sep { opacity: 0.45; }
.crumbs--light a, .crumbs--light span { color: var(--text-mute); }
.crumbs--light a:hover { color: var(--accent-text); }

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--navy-300); }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; gap: var(--sp-3); }
.card__title { font-size: var(--fs-h5); margin: 0; }
.card__title a { color: var(--text); }
.card__title a:hover { color: var(--accent-text); }
.card__text { color: var(--text-soft); font-size: var(--fs-base); margin: 0; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--border-soft); margin-top: auto; }
.card__meta { font-size: var(--fs-sm); color: var(--text-mute); display: flex; gap: var(--sp-3); flex-wrap: wrap; }

.card--rule { border-top: 3px solid var(--practice, var(--accent)); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.card--flat { border: 0; background: var(--bg-alt); }
.card--flat:hover { box-shadow: var(--shadow); }

.card-icon {
  width: 52px; height: 52px; display: grid; place-items: center; flex: none;
  border-radius: var(--radius); font-size: 1.5rem;
  background: var(--practice-soft, var(--gold-050)); color: var(--practice, var(--gold-700));
  transition: transform var(--dur) var(--ease);
}
.card:hover .card-icon { transform: translateY(-2px) scale(1.04); }

/* Service card ----------------------------------------------------------- */
.service-card { padding: var(--sp-6); gap: var(--sp-4); }
.service-card__head { display: flex; align-items: flex-start; gap: var(--sp-4); min-width: 0; }
.service-card__head .chip { min-width: 0; }
.service-card__standards { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

/* Practice panel — see section 20, which supersedes the original flat card. */

/* Stat / metric ---------------------------------------------------------- */
.stat { text-align: center; padding: var(--sp-5) var(--sp-3); }
.stat__value { font-family: var(--font-mono); font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; line-height: 1; color: var(--text); letter-spacing: -0.02em; }
.section--dark .stat__value { color: #fff; }
.stat__label { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--text-mute); }
.section--dark .stat__label { color: var(--navy-300); }
.stat__rule { width: 28px; height: 2px; background: var(--accent); margin: var(--sp-3) auto 0; }

/* Logo rail -------------------------------------------------------------- */
.logo-rail { overflow: hidden; position: relative; padding-block: var(--sp-4); }
.logo-rail::before, .logo-rail::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.logo-rail::before { left: 0; background: linear-gradient(90deg, var(--bg-alt), transparent); }
.logo-rail::after { right: 0; background: linear-gradient(270deg, var(--bg-alt), transparent); }
.logo-rail__track { display: flex; gap: var(--sp-8); align-items: center; width: max-content; animation: railScroll 38s linear infinite; }
.logo-rail:hover .logo-rail__track { animation-play-state: paused; }
@keyframes railScroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-rail__track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; } }
.logo-rail img { height: 44px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.62; transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.logo-rail img:hover { filter: grayscale(0); opacity: 1; }
.logo-rail__name { font-family: var(--font-display); font-weight: 600; color: var(--text-mute); white-space: nowrap; font-size: var(--fs-lg); transition: color var(--dur) var(--ease); }
.logo-rail__name:hover { color: var(--text); }

/* --------------------------------------------------------------------------
   9. Forms
   -------------------------------------------------------------------------- */
.field { margin-bottom: var(--sp-5); }
.field__label { display: block; font-weight: 600; font-size: var(--fs-base); margin-bottom: var(--sp-2); color: var(--text); }
.field__label .req { color: var(--danger); }
.field__hint { font-size: var(--fs-sm); color: var(--text-mute); margin-top: var(--sp-2); }
.field__error { font-size: var(--fs-sm); color: var(--danger); margin-top: var(--sp-2); display: flex; align-items: center; gap: 0.35rem; }

.input, .select, .textarea {
  width: 100%; font-family: inherit; font-size: var(--fs-base); color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0.85rem 1rem; transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  appearance: none;
}
.textarea { min-height: 150px; resize: vertical; line-height: 1.65; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7688' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--navy-300); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(10, 46, 107, 0.12);
}
.input.is-invalid, .select.is-invalid, .textarea.is-invalid { border-color: var(--danger); }
.input::placeholder, .textarea::placeholder { color: var(--text-mute); }

.check { display: flex; gap: var(--sp-3); align-items: flex-start; cursor: pointer; padding: var(--sp-2) 0; }
.check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--navy-700); cursor: pointer; }
.check span { font-size: var(--fs-base); color: var(--text-soft); }

.option-card {
  display: flex; gap: var(--sp-3); align-items: flex-start; cursor: pointer;
  padding: var(--sp-4); border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.option-card:hover { border-color: var(--navy-300); background: var(--bg-alt); }
.option-card input { margin-top: 3px; accent-color: var(--navy-700); }
.option-card:has(input:checked) { border-color: var(--navy-700); background: var(--navy-050); box-shadow: 0 0 0 1px var(--navy-700); }
.option-card__title { font-weight: 600; display: block; }
.option-card__desc { font-size: var(--fs-sm); color: var(--text-mute); display: block; margin-top: 2px; }

.file-drop {
  border: 2px dashed var(--border); border-radius: var(--radius-lg); padding: var(--sp-7);
  text-align: center; background: var(--bg-alt); cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.file-drop:hover, .file-drop.is-drag { border-color: var(--navy-700); background: var(--navy-050); }
.file-drop i { font-size: 2rem; color: var(--text-mute); }

.form-grid { display: grid; gap: 0 var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.form-grid--full { grid-column: 1 / -1; }

/* Multi-step ------------------------------------------------------------- */
.steps { display: flex; gap: var(--sp-2); margin-bottom: var(--sp-6); counter-reset: step; }
.step { flex: 1; }
.step__bar { height: 4px; border-radius: 2px; background: var(--border); transition: background-color var(--dur) var(--ease); }
.step.is-done .step__bar, .step.is-current .step__bar { background: var(--accent); }
.step__label { font-size: var(--fs-xs); font-family: var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-mute); margin-top: var(--sp-2); }
.step.is-current .step__label { color: var(--accent-text); }
.step-panel { display: none; }
.step-panel.is-active { display: block; animation: fadeUp var(--dur-slow) var(--ease); }

/* Alerts ----------------------------------------------------------------- */
.alert {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5); border-radius: var(--radius);
  border-left: 3px solid; margin-bottom: var(--sp-5); font-size: var(--fs-base);
}
.alert i { font-size: 1.15rem; margin-top: 1px; flex: none; }
.alert span { flex: 1; }
.alert__close { background: none; border: 0; font-size: 1.25rem; line-height: 1; color: inherit; opacity: 0.5; cursor: pointer; }
.alert__close:hover { opacity: 1; }
.alert--success { background: var(--success-soft); border-color: var(--success); color: var(--success); }
.alert--error   { background: var(--danger-soft);  border-color: var(--danger);  color: var(--danger); }
.alert--warning { background: var(--warning-soft); border-color: var(--warning); color: var(--warning); }
.alert--info    { background: var(--info-soft);    border-color: var(--info);    color: var(--info); }

/* --------------------------------------------------------------------------
   10. Accordion, tabs, timeline, filters
   -------------------------------------------------------------------------- */
.accordion { border-top: 1px solid var(--border); }
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__trigger {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-5) 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: var(--fs-h5); font-weight: 600; color: var(--text);
}
.accordion__trigger:hover { color: var(--accent-text); }
.accordion__icon { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); font-size: 1rem; transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.accordion__item.is-open .accordion__icon { transform: rotate(45deg); background: var(--accent); color: #2E1F04; border-color: var(--accent); }
.accordion__panel { overflow: hidden; height: 0; transition: height var(--dur) var(--ease); }
.accordion__inner { padding-bottom: var(--sp-5); color: var(--text-soft); max-width: 72ch; }

.tabs { display: flex; gap: var(--sp-1); border-bottom: 1px solid var(--border); overflow-x: auto; margin-bottom: var(--sp-6); }
.tabs__btn {
  padding: var(--sp-3) var(--sp-4); background: none; border: 0; border-bottom: 2px solid transparent;
  font-weight: 600; color: var(--text-mute); cursor: pointer; white-space: nowrap; font-size: var(--fs-base);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.tabs__btn:hover { color: var(--text); }
.tabs__btn.is-active { color: var(--text); border-color: var(--accent); }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; animation: fadeUp var(--dur-slow) var(--ease); }

.timeline { position: relative; padding-left: var(--sp-7); }
.timeline::before { content: ''; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 1px; background: var(--border); }
.timeline__item { position: relative; padding-bottom: var(--sp-7); }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute; left: calc(var(--sp-7) * -1); top: 2px; width: 28px; height: 28px;
  border-radius: 50%; background: var(--surface); border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--accent-text); font-size: 0.85rem;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.timeline__item.is-visible .timeline__dot { border-color: var(--accent); background: var(--gold-050); }
.timeline__year { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.1em; color: var(--accent-text); text-transform: uppercase; }

.filter-bar {
  display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center;
  padding: var(--sp-4); background: var(--bg-alt); border-radius: var(--radius-lg); margin-bottom: var(--sp-7);
}
.filter-bar .select, .filter-bar .input { width: auto; min-width: 190px; flex: 1 1 190px; background: var(--surface); }
.filter-pills { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.filter-pill {
  padding: 0.5rem 1rem; border-radius: var(--radius-pill); border: 1px solid var(--border);
  background: var(--surface); color: var(--text-soft); font-size: var(--fs-sm); font-weight: 600; cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.filter-pill:hover { border-color: var(--navy-300); color: var(--text); }
.filter-pill.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.empty-state { text-align: center; padding: var(--sp-10) var(--sp-5); color: var(--text-mute); }
.empty-state i { font-size: 2.5rem; opacity: 0.4; }
.empty-state h3 { margin-top: var(--sp-4); color: var(--text-soft); }

/* Pagination ------------------------------------------------------------- */
.pagination { display: flex; flex-wrap: wrap; gap: var(--sp-2); justify-content: center; margin-top: var(--sp-8); }
.pagination a, .pagination strong, .pagination span {
  min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding-inline: 0.75rem;
  border: 1px solid var(--border); border-radius: var(--radius); font-weight: 600; font-size: var(--fs-base);
  color: var(--text-soft); background: var(--surface); transition: all var(--dur-fast) var(--ease);
}
.pagination a:hover { border-color: var(--navy-700); color: var(--text); }
.pagination strong, .pagination .active a { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

/* --------------------------------------------------------------------------
   11. Article / rich text
   -------------------------------------------------------------------------- */
.prose { max-width: 74ch; font-size: var(--fs-md); color: var(--text-soft); line-height: var(--lh-loose); }
.prose > * + * { margin-top: var(--sp-4); }
.prose h2 { font-size: var(--fs-h3); color: var(--text); margin-top: var(--sp-8); padding-bottom: var(--sp-3); position: relative; }
.prose h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 48px; height: 2px; background: var(--accent); }
.prose h3 { font-size: var(--fs-h4); color: var(--text); margin-top: var(--sp-6); }
.prose h4 { font-size: var(--fs-h5); color: var(--text); margin-top: var(--sp-5); }
.prose ul, .prose ol { padding-left: 1.35rem; display: grid; gap: 0.6rem; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--navy-700); }
.prose strong { color: var(--text); font-weight: 600; }
.prose blockquote {
  margin: var(--sp-6) 0; padding: var(--sp-5) var(--sp-6);
  background: var(--gold-050); border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: var(--fs-lg); color: var(--text);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose img { border-radius: var(--radius-lg); margin-block: var(--sp-6); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-base); margin-block: var(--sp-5); }
.prose th, .prose td { padding: var(--sp-3) var(--sp-4); border: 1px solid var(--border); text-align: left; }
.prose th { background: var(--bg-alt); font-weight: 600; color: var(--text); }
.prose code { font-family: var(--font-mono); font-size: 0.9em; background: var(--bg-alt); padding: 0.15em 0.4em; border-radius: 4px; }

.article-meta { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; font-size: var(--fs-sm); color: var(--text-mute); }
.article-meta__dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.5; }

.toc { position: sticky; top: calc(var(--header-h) + var(--sp-5)); padding: var(--sp-5); background: var(--bg-alt); border-radius: var(--radius-lg); }
.toc__title { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--text-mute); margin-bottom: var(--sp-4); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; }
.toc a { display: block; padding: 0.4rem 0 0.4rem var(--sp-4); border-left: 2px solid var(--border); color: var(--text-soft); font-size: var(--fs-base); transition: all var(--dur-fast) var(--ease); }
.toc a:hover, .toc a.is-active { border-color: var(--accent); color: var(--text); }

.read-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--accent); z-index: var(--z-toast); width: 0; transition: width 80ms linear; }

.share { display: flex; gap: var(--sp-2); align-items: center; }
.share a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-soft); }
.share a:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

/* --------------------------------------------------------------------------
   12. Specific components
   -------------------------------------------------------------------------- */
/* Testimonial styling now lives in section 25 (.voice-card). */
.avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; background: var(--navy-100); display: grid; place-items: center; font-weight: 600; color: var(--navy-700); font-size: var(--fs-sm); }

.person-card { text-align: left; }
.person-card__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy-100); position: relative; }
.person-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform var(--dur-slow) var(--ease); filter: grayscale(0.15); }
.person-card:hover .person-card__photo img { transform: scale(1.04); filter: grayscale(0); }
.person-card__role { font-size: var(--fs-sm); color: var(--accent-text); font-weight: 600; }
.person-card__creds { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-mute); letter-spacing: 0.03em; }

.value-card { cursor: default; padding: var(--sp-6); height: 100%; }
.value-card__num { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--gold-500); letter-spacing: 0.1em; }

/* Closing call to action. Used on the homepage, on the shared partial that
   ends most inner pages, and as a page-builder block, so the base carries the
   treatment and the modifiers only adjust scale. */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(199, 149, 56, 0.16), transparent 58%),
    linear-gradient(140deg, var(--navy-800), var(--navy-900) 70%);
  color: #fff; border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
/* Gold hairline across the top edge, fading out to the left. */
.cta-band::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 3;
  background: linear-gradient(90deg, transparent, var(--gold-500) 45%, var(--gold-300));
}
.cta-band__inner { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: var(--sp-6); align-items: center; justify-content: space-between; }
.cta-band__text { max-width: 620px; }
.cta-band h2 { color: #fff; }
.cta-band__title--sm { font-size: var(--fs-h3); }
.cta-band p { color: var(--text-invert-soft); margin-bottom: 0; }
.cta-band::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(199,149,56,0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(199,149,56,0.09) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  mask-image: radial-gradient(ellipse 60% 100% at 100% 50%, #000, transparent 70%);
}

/* The action stack was repeated as an inline style in three files. */
.cta-band__actions { display: flex; flex-direction: column; gap: 0.75rem; min-width: 230px; }
.cta-band__actions .btn { justify-content: center; }

.cta-band--inline { margin-bottom: var(--sp-7); }

/* Homepage: the objection to a discovery call is cost and commitment, so
   answer both before the button rather than after the click. */
.cta-band--home .cta-band__text { max-width: 640px; }
.cta-band__points {
  list-style: none; margin: var(--sp-5) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.6rem var(--sp-5);
}
.cta-band__points li {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.8125rem; color: var(--text-invert-soft);
}
.cta-band__points i { color: var(--gold-300); font-size: 1rem; }

.cta-band__direct {
  margin: 0.35rem 0 0; text-align: center;
  font-size: 0.8125rem; color: var(--navy-300);
}
.cta-band__direct a {
  display: inline-block; color: #fff; font-weight: 600;
  border-bottom: 1px solid rgba(199, 149, 56, 0.5);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.cta-band__direct a:hover { color: var(--gold-300); border-color: var(--gold-300); }

@media (max-width: 575px) {
  .cta-band__actions { min-width: 0; width: 100%; }
}

.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.stat-strip > * { background: var(--surface); }

.standards-strip { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }
.standard-chip {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 0.75rem 1.15rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); font-family: var(--font-mono); font-size: var(--fs-sm);
  letter-spacing: 0.03em; color: var(--text-soft); font-weight: 500;
  transition: all var(--dur-fast) var(--ease);
}
.standard-chip:hover { border-color: var(--accent); color: var(--text); background: var(--gold-050); transform: translateY(-2px); }

.course-row { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; justify-content: space-between; padding: var(--sp-5); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); transition: border-color var(--dur-fast) var(--ease); }
.course-row:hover { border-color: var(--navy-300); }
.course-row__date { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 76px; padding: var(--sp-3); background: var(--navy-050); border-radius: var(--radius); flex: none; }
.course-row__day { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 600; line-height: 1; color: var(--navy-800); }
.course-row__mon { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-mute); margin-top: 3px; }
.seats-bar { height: 5px; border-radius: 3px; background: var(--border); overflow: hidden; width: 120px; }
.seats-bar__fill { height: 100%; background: var(--success); border-radius: 3px; }
.seats-bar__fill.is-low { background: var(--warning); }
.seats-bar__fill.is-full { background: var(--danger); }

.download-card { display: flex; gap: var(--sp-4); align-items: flex-start; padding: var(--sp-5); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); transition: all var(--dur) var(--ease); }
.download-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.download-card__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--radius); background: var(--gold-050); color: var(--gold-700); font-size: 1.4rem; flex: none; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--sp-3); }
.gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--bg-alt); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.gallery a:hover img { transform: scale(1.07); }

.metric-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--sp-5); padding: var(--sp-5); background: var(--bg-alt); border-radius: var(--radius-lg); }
.metric__value { font-family: var(--font-mono); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; color: var(--navy-800); line-height: 1; }
.metric__label { font-size: var(--fs-sm); color: var(--text-mute); margin-top: 0.4rem; }

/* --------------------------------------------------------------------------
   13. Footer and floating chrome
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: var(--text-invert-soft); padding-top: var(--sp-10); position: relative; overflow: hidden; }
.site-footer::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(199,149,56,0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(199,149,56,0.055) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  mask-image: linear-gradient(180deg, #000, transparent 60%);
}
.site-footer > * { position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: var(--sp-7); padding-bottom: var(--sp-8); }
.footer-grid > :first-child { grid-column: span 1; }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); } }
.footer__title { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--gold-300); margin-bottom: var(--sp-4); }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer__list a { color: var(--text-invert-soft); font-size: var(--fs-base); }
.footer__list a:hover { color: #fff; }
.footer__contact { display: grid; gap: var(--sp-3); font-size: var(--fs-base); }
.footer__contact div { display: flex; gap: var(--sp-3); align-items: flex-start; }
.footer__contact i { color: var(--gold-500); margin-top: 3px; flex: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-block: var(--sp-5); display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between; align-items: center; font-size: var(--fs-sm); }
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.social { display: flex; gap: var(--sp-2); }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius-sm); color: var(--text-invert-soft); }
.social a:hover { background: var(--gold-500); border-color: var(--gold-500); color: #2E1F04; }

.newsletter-form { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.newsletter-form .input { flex: 1 1 200px; background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); color: #fff; }
.newsletter-form .input::placeholder { color: var(--navy-300); }

.float-actions { position: fixed; right: var(--sp-5); bottom: var(--sp-5); z-index: var(--z-header); display: grid; gap: var(--sp-3); }
.float-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-800); color: #fff; font-size: 1.35rem; box-shadow: var(--shadow-lg);
  border: 0; cursor: pointer; transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.float-btn:hover { transform: translateY(-3px) scale(1.05); color: #fff; }
.float-btn--wa { background: #25D366; color: #04331A; }
.float-btn--top { opacity: 0; visibility: hidden; }
.float-btn--top.is-visible { opacity: 1; visibility: visible; }

.cookie-bar {
  position: fixed; left: var(--sp-5); right: var(--sp-5); bottom: var(--sp-5); z-index: var(--z-toast);
  max-width: 640px; margin-inline: auto; padding: var(--sp-5);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); display: none; gap: var(--sp-4); align-items: center; flex-wrap: wrap;
}
.cookie-bar.is-visible { display: flex; }
.cookie-bar p { font-size: var(--fs-sm); color: var(--text-soft); flex: 1 1 260px; margin: 0; }

/* --------------------------------------------------------------------------
   14. Motion utilities
   -------------------------------------------------------------------------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

.skeleton { background: linear-gradient(90deg, var(--bg-alt) 25%, var(--border-soft) 50%, var(--bg-alt) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   15. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .topbar, .site-footer, .float-actions, .cookie-bar, .drawer, .scrim, .btn { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding-block: 1rem; }
  a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: 9pt; color: #555; }
}

/* Lightbox ----------------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: var(--z-modal);
  background: rgba(0, 11, 32, 0.92); display: grid; place-items: center;
  padding: var(--sp-6); cursor: zoom-out; animation: fadeIn var(--dur) var(--ease);
}
.lightbox img { max-width: min(1100px, 92vw); max-height: 88vh; object-fit: contain; border-radius: var(--radius); }
.lightbox__close { position: absolute; top: var(--sp-5); right: var(--sp-5); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); background: transparent; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lightbox__close:hover { background: rgba(255,255,255,0.12); }

/* Spinner ------------------------------------------------------------------ */
.ti-loader-2 { animation: spin 900ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   16. Homepage hero — split layout with an animated SVG showcase
   ========================================================================== */
.hero--split {
  min-height: min(94vh, 900px);
  padding-block: clamp(3rem, 7vw, 6rem);
  isolation: isolate;
}

/* Layered background: navy base, gold aurora, survey grid, vignette --------- */
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--navy-900); }
.hero__bg::before {
  content: ''; position: absolute; inset: -20%;
  background:
    radial-gradient(38% 44% at 78% 22%, rgba(199, 149, 56, 0.20), transparent 70%),
    radial-gradient(34% 40% at 18% 78%, rgba(20, 65, 141, 0.55), transparent 72%),
    radial-gradient(30% 36% at 62% 88%, rgba(30, 122, 90, 0.18), transparent 70%);
  animation: auroraDrift 24s ease-in-out infinite alternate;
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(199, 149, 56, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 149, 56, 0.09) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  mask-image: radial-gradient(ellipse 92% 78% at 70% 45%, #000 12%, transparent 76%);
  animation: gridDrift 46s linear infinite;
}
@keyframes auroraDrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

.hero__layout {
  position: relative; z-index: 2;
  display: grid; gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
@media (min-width: 1024px) { .hero__layout { grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); } }

/* Content ----------------------------------------------------------------- */
.hero__content { max-width: 640px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.42rem 0.9rem 0.42rem 0.5rem;
  border: 1px solid rgba(199, 149, 56, 0.38); border-radius: var(--radius-pill);
  background: rgba(199, 149, 56, 0.10);
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-300);
  margin-bottom: var(--sp-5);
}
.hero__badge b {
  display: inline-grid; place-items: center; width: 20px; height: 20px;
  border-radius: 50%; background: var(--gold-500); color: #2E1F04; font-size: 0.7rem;
}
.hero h1 .hl {
  color: var(--gold-300); position: relative; white-space: nowrap;
}
.hero h1 .hl::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0.08em; height: 0.42em;
  background: linear-gradient(90deg, rgba(199, 149, 56, 0.32), rgba(199, 149, 56, 0.05));
  border-radius: 3px; z-index: -1;
}
@media (max-width: 560px) { .hero h1 .hl { white-space: normal; } }

.hero__proof { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-6); }
.hero__proof span {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.34rem 0.72rem; border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--navy-300);
}
.hero__proof i { color: var(--gold-500); font-size: 0.9rem; }

/* Visual ------------------------------------------------------------------ */
.hero__visual { position: relative; display: grid; place-items: center; min-height: 420px; }
@media (max-width: 1023px) { .hero__visual { min-height: 360px; margin-top: var(--sp-4); } }
@media (max-width: 620px)  { .hero__visual { display: none; } }

.hero-stage {
  position: relative; width: 100%; max-width: 560px; aspect-ratio: 520 / 460;
}
.hero-slide {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  opacity: 0; transform: translateX(38px) scale(0.965);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero-slide.is-leaving { opacity: 0; transform: translateX(-38px) scale(0.965); }
.hero-slide svg { width: 100%; height: auto; overflow: visible; }

/* Caption card beneath the artwork ---------------------------------------- */
.hero-caption {
  position: absolute; left: 50%; bottom: -0.5rem; transform: translateX(-50%);
  width: min(420px, 92%); padding: 1rem 1.25rem;
  background: rgba(1, 28, 70, 0.72); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.13); border-radius: var(--radius-lg);
  box-shadow: 0 20px 46px rgba(0, 8, 26, 0.5);
}
.hero-caption__label {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--practice, var(--gold-300));
}
.hero-caption__label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--practice, var(--gold-500)); flex: none; }
.hero-caption h2 { font-size: 1.0625rem; color: #fff; margin: 0.4rem 0 0.25rem; letter-spacing: -0.01em; }
.hero-caption p { font-size: 0.8125rem; color: var(--navy-300); margin: 0; line-height: 1.55; }

/* Progress dots ----------------------------------------------------------- */
.hero-dots { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 0.6rem; z-index: 3; }
@media (max-width: 1023px) { .hero-dots { top: auto; bottom: -3.2rem; right: 50%; transform: translateX(50%); grid-auto-flow: column; } }
.hero-dot {
  width: 10px; height: 10px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.35); background: transparent;
  transition: all var(--dur) var(--ease); position: relative;
}
.hero-dot:hover { border-color: var(--gold-300); }
.hero-dot.is-active { background: var(--gold-500); border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(199, 149, 56, 0.18); }

/* Floating credential chips ----------------------------------------------- */
.hero-chip {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.85rem; border-radius: var(--radius);
  background: rgba(1, 28, 70, 0.82); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.06em; color: #fff;
  box-shadow: 0 12px 30px rgba(0, 8, 26, 0.45);
  white-space: nowrap;
}
.hero-chip i { color: var(--gold-500); font-size: 0.95rem; }
.hero-chip--a { top: 4%;  left: -2%;  animation: chipFloat 7s ease-in-out infinite; }
.hero-chip--b { top: 30%; right: -4%; animation: chipFloat 9s ease-in-out infinite reverse; }
.hero-chip--c { bottom: 22%; left: -5%; animation: chipFloat 8s ease-in-out infinite 1.2s; }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

/* Scroll cue -------------------------------------------------------------- */
.hero__cue {
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); z-index: 3;
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.4rem;
  font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--navy-300);
}
.hero__cue span { display: block; width: 1px; height: 34px; background: linear-gradient(var(--gold-500), transparent); }
@media (max-width: 1023px) { .hero__cue { display: none; } }

/* SVG artwork motion ------------------------------------------------------ */
.ha-spin      { transform-origin: center; animation: haSpin 9s linear infinite; }
.ha-spin-slow { transform-origin: center; animation: haSpin 68s linear infinite; }
@keyframes haSpin { to { transform: rotate(360deg); } }

.ha-float      { animation: haFloat 6s ease-in-out infinite; }
.ha-float-slow { animation: haFloat 8.5s ease-in-out infinite 0.8s; }
@keyframes haFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.ha-pulse { transform-origin: center; animation: haPulse 3.4s ease-out infinite; }
@keyframes haPulse { 0% { transform: scale(0.86); opacity: 0.75; } 70% { transform: scale(1.16); opacity: 0; } 100% { opacity: 0; } }

.ha-blink { animation: haBlink 1.7s ease-in-out infinite; }
@keyframes haBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.is-active .ha-draw      { stroke-dasharray: 620; stroke-dashoffset: 620; animation: haDraw 1.9s var(--ease) 0.25s forwards; }
.is-active .ha-draw-tick { stroke-dasharray: 40;  stroke-dashoffset: 40;  animation: haDraw 0.55s var(--ease) 1.1s forwards; }
.is-active .ha-draw-line { stroke-dasharray: 460; stroke-dashoffset: 460; animation: haDraw 2.1s var(--ease) 0.3s forwards; }
@keyframes haDraw { to { stroke-dashoffset: 0; } }

.is-active .ha-fade-in { opacity: 0; animation: haFade 1.4s var(--ease) 1.1s forwards; }
@keyframes haFade { to { opacity: 1; } }

.is-active .ha-arc { animation: haArc 2.2s var(--ease) 0.35s forwards; }
@keyframes haArc { to { stroke-dashoffset: 120; } }

.is-active .ha-needle { transform-origin: center; transform: rotate(-118deg); animation: haNeedle 2.3s var(--ease) 0.35s forwards; }
@keyframes haNeedle { to { transform: rotate(66deg); } }

.is-active .ha-check-1 { opacity: 0; animation: haPop 0.5s var(--ease) 0.7s forwards; }
.is-active .ha-check-2 { opacity: 0; animation: haPop 0.5s var(--ease) 1.05s forwards; }
.is-active .ha-check-3 { opacity: 0; animation: haPop 0.5s var(--ease) 1.4s forwards; }
@keyframes haPop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero__bg::before, .hero__bg::after,
  .ha-spin, .ha-spin-slow, .ha-float, .ha-float-slow, .ha-pulse, .ha-blink,
  .hero-chip--a, .hero-chip--b, .hero-chip--c { animation: none !important; }
  .is-active .ha-draw, .is-active .ha-draw-tick, .is-active .ha-draw-line { stroke-dashoffset: 0; animation: none; }
  .is-active .ha-fade-in, .is-active .ha-check-1, .is-active .ha-check-2, .is-active .ha-check-3 { opacity: 1; animation: none; }
  .is-active .ha-arc { stroke-dashoffset: 120; animation: none; }
  .is-active .ha-needle { transform: rotate(66deg); animation: none; }
  .hero-slide { transition: opacity 0.01ms; }
}

/* --------------------------------------------------------------------------
   16b. Hero density pass
   Scoped to .hero--split so the inner page heroes are untouched.
   -------------------------------------------------------------------------- */
.hero--split {
  min-height: auto;
  padding-block: clamp(2.25rem, 4vw, 3.75rem);
}
.hero--split .hero__layout { gap: clamp(1.75rem, 3vw, 3rem); align-items: center; }

/* Headline: smaller, tighter, and held to a readable measure ---------------- */
.hero--split h1 {
  font-size: clamp(1.75rem, 2.9vw, 2.75rem);
  line-height: 1.16;
  margin-bottom: var(--sp-3);
  max-width: 17ch;
}
@media (max-width: 1023px) { .hero--split h1 { max-width: 22ch; } }

.hero--split .hero__badge { margin-bottom: var(--sp-4); }
.hero--split .hero__lead {
  font-size: var(--fs-md);
  max-width: 50ch;
  margin-bottom: var(--sp-4);
}
.hero--split .hero__proof { gap: 0.4rem; margin-bottom: var(--sp-5); }
.hero--split .hero__cta { gap: var(--sp-3); }
.hero--split .btn--lg { padding: 0.85rem 1.5rem; font-size: var(--fs-base); }

/* Stats: one divided strip rather than loose floating columns --------------- */
.hero--split .hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0;
  margin-top: var(--sp-6);
  padding-top: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.hero--split .hero__meta > div {
  padding: 0.8rem 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.10);
}
.hero--split .hero__meta > div:first-child { border-left: 0; }
@media (max-width: 640px) {
  .hero--split .hero__meta > div:nth-child(odd) { border-left: 0; }
  .hero--split .hero__meta > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.10); }
}
.hero--split .hero__stat-value { font-size: clamp(1.25rem, 1.9vw, 1.6rem); letter-spacing: -0.01em; }
.hero--split .hero__stat-label { font-size: 0.75rem; margin-top: 0.2rem; line-height: 1.35; }

/* Visual column: pulled in so it does not create dead space ----------------- */
.hero--split .hero__visual { min-height: 0; }
.hero-stage { max-width: 470px; }
.hero-caption { bottom: 0.25rem; width: min(380px, 94%); padding: 0.8rem 1rem; }
.hero-caption h2 { font-size: 0.9375rem; margin: 0.3rem 0 0.2rem; }
.hero-caption p { font-size: 0.75rem; }
.hero-dots { right: -0.25rem; }
.hero-chip { padding: 0.45rem 0.7rem; font-size: 0.625rem; }
.hero-chip--a { top: 0; left: 0; }
.hero-chip--b { top: 28%; right: -2%; }
.hero-chip--c { bottom: 16%; left: -2%; }

/* The scroll cue only earns its space on a tall viewport ------------------- */
.hero__cue { display: none; }
@media (min-width: 1024px) and (min-height: 820px) { .hero__cue { display: inline-flex; bottom: 0.9rem; } }

/* Keep a long stat label from wrapping to three lines and breaking the strip */
.hero--split .hero__stat-label {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   17. Client trust rail
   Reads as a designed row of client marks whether or not logo files have been
   uploaded: without a logo each client gets a monogram tile.
   ========================================================================== */
.client-rail-section { padding-block: clamp(1.75rem, 3vw, 2.75rem); }

.client-rail__head {
  display: flex; align-items: center; gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}
.client-rail__head p {
  margin: 0; flex: none;
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  color: var(--text-mute); text-align: center;
}
.client-rail__rule { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
@media (max-width: 620px) { .client-rail__head p { font-size: 0.6875rem; } }

/* Marquee ------------------------------------------------------------------ */
.logo-rail__track { display: flex; align-items: stretch; gap: 0; width: max-content; }
.logo-rail__group { display: flex; align-items: stretch; gap: var(--sp-4); padding-right: var(--sp-4); }

.logo-rail::before, .logo-rail::after { width: 120px; }
.logo-rail::before { background: linear-gradient(90deg, var(--bg-alt) 20%, transparent); }
.logo-rail::after  { background: linear-gradient(270deg, var(--bg-alt) 20%, transparent); }

/* Client chip -------------------------------------------------------------- */
.client-chip {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.7rem 1.15rem 0.7rem 0.7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  white-space: nowrap;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.logo-rail:hover .client-chip { border-color: var(--border); }
.client-chip:hover { border-color: var(--gold-500); transform: translateY(-3px); box-shadow: var(--shadow); }

.client-chip__mark {
  flex: none; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--navy-800); color: var(--gold-300);
  font-family: var(--font-mono); font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.02em;
  position: relative; overflow: hidden;
}
.client-chip__mark::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(199, 149, 56, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 149, 56, 0.16) 1px, transparent 1px);
  background-size: 11px 11px;
}
.client-chip__mark--img { background: var(--bg-alt); padding: 0.35rem; }
.client-chip__mark--img::after { display: none; }
.client-chip__mark img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.client-chip:hover .client-chip__mark img { filter: grayscale(0); opacity: 1; }

.client-chip__body { display: flex; flex-direction: column; line-height: 1.25; }
.client-chip__body strong { font-size: 0.9375rem; font-weight: 600; color: var(--text); letter-spacing: -0.005em; }
.client-chip__body small { font-size: 0.6875rem; color: var(--text-mute); margin-top: 0.15rem; font-family: var(--font-mono); letter-spacing: 0.04em; }

/* Without motion, drop the marquee and centre the set on one line ---------- */
@media (prefers-reduced-motion: reduce) {
  .logo-rail__track { flex-wrap: wrap; width: 100%; justify-content: center; gap: var(--sp-3); }
  .logo-rail__group:not(:first-child) { display: none; }
  .logo-rail__group { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .logo-rail::before, .logo-rail::after { display: none; }
}

/* Service card with a picture ---------------------------------------------- */
.service-card { padding: 0; gap: 0; }
.service-card__body { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5); flex: 1; }
.service-card:not(.service-card--media) .service-card__body { padding: var(--sp-6); }
.service-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(1, 28, 70, 0.55));
}
.service-card__icon {
  position: absolute; left: var(--sp-4); bottom: var(--sp-4); z-index: 2;
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: var(--radius-sm); font-size: 1.2rem;
  background: var(--practice, var(--gold-500)); color: #fff;
  box-shadow: 0 8px 20px rgba(0, 8, 26, 0.35);
}
.service-card__more { font-size: 0.9375rem; color: var(--practice, var(--accent-text)); margin-top: auto; }
.service-card__standards { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

/* A service with no picture gets a branded panel, not an empty placeholder -- */
.service-card__media--blank {
  display: grid; place-items: center;
  background:
    radial-gradient(120% 120% at 80% 10%, color-mix(in srgb, var(--practice, var(--gold-500)) 26%, transparent), transparent 70%),
    var(--navy-800);
}
.service-card__media--blank::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(199, 149, 56, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 149, 56, 0.10) 1px, transparent 1px);
  background-size: 26px 26px;
}
.service-card__media--blank::after { background: none; }
.service-card__glyph {
  position: relative; z-index: 1;
  font-size: 3.4rem; color: #fff; opacity: 0.22;
  transition: transform var(--dur-slow) var(--ease), opacity var(--dur) var(--ease);
}
.service-card:hover .service-card__glyph { transform: scale(1.08); opacity: 0.32; }

/* ==========================================================================
   18. Footer
   ========================================================================== */
.site-footer { padding-top: 0; }
.site-footer::before { mask-image: linear-gradient(180deg, #000, transparent 75%); }

/* Contact strip ------------------------------------------------------------ */
.footer-contact {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: clamp(2rem, 4vw, 3.25rem);
}
.footer-contact__card {
  display: flex; align-items: center; gap: var(--sp-4);
  padding: 1.25rem 1.4rem;
  background: var(--navy-900);
  color: var(--text-invert-soft);
  transition: background-color var(--dur) var(--ease);
}
.footer-contact__card:hover { background: #061a3d; color: #fff; }
.footer-contact__icon {
  flex: none; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: var(--radius);
  background: rgba(199, 149, 56, 0.13); color: var(--gold-300);
  font-size: 1.25rem;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.footer-contact__card:hover .footer-contact__icon { background: var(--gold-500); color: #2E1F04; }
.footer-contact__card small { display: block; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy-300); }
.footer-contact__card strong { display: block; font-size: 0.9375rem; font-weight: 600; color: #fff; margin-top: 0.2rem; line-height: 1.35; }
.footer-contact__go { margin-left: auto; color: var(--navy-300); font-size: 1.05rem; transition: transform var(--dur) var(--ease), color var(--dur) var(--ease); }
.footer-contact__card:hover .footer-contact__go { color: var(--gold-300); transform: translate(3px, -3px); }

/* Main grid ---------------------------------------------------------------- */
.footer-grid {
  display: grid; gap: var(--sp-7);
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.7fr repeat(4, 1fr); gap: var(--sp-8); } }

.footer-brand > img { margin-bottom: var(--sp-4); }
.footer-brand p { font-size: 0.9375rem; max-width: 42ch; color: var(--text-invert-soft); }

.footer-creds { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: var(--sp-5) 0; }
.footer-creds span {
  font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.08em;
  padding: 0.3rem 0.55rem; border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-300);
}

.footer__title {
  position: relative; padding-bottom: 0.6rem; margin-bottom: var(--sp-4);
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: #fff;
}
.footer__title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--gold-500); }
.footer__list a { position: relative; display: inline-block; transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.footer__list a:hover { color: #fff; transform: translateX(3px); }

/* Newsletter --------------------------------------------------------------- */
.footer-news {
  display: grid; gap: var(--sp-5); align-items: center;
  grid-template-columns: minmax(0, 1fr);
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(199, 149, 56, 0.14), transparent 65%),
    rgba(255, 255, 255, 0.03);
}
@media (min-width: 900px) { .footer-news { grid-template-columns: 1.15fr 1fr; gap: var(--sp-7); } }
.footer-news__text { display: flex; gap: var(--sp-4); align-items: flex-start; }
.footer-news__icon {
  flex: none; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: var(--radius);
  background: var(--gold-500); color: #2E1F04; font-size: 1.3rem;
}
.footer-news h2 { font-size: 1.0625rem; color: #fff; margin: 0 0 0.35rem; }
.footer-news p { font-size: 0.875rem; color: var(--text-invert-soft); margin: 0; }
.newsletter-form .input { height: 48px; }
.newsletter-form .input:focus { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(199, 149, 56, 0.18); }

/* Bottom bar --------------------------------------------------------------- */
.footer-bottom {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-block: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  align-items: center; justify-content: space-between;
  font-size: var(--fs-sm);
}
.footer-bottom__legal { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; }
.footer-bottom__legal a { color: var(--text-invert-soft); }
.footer-bottom__legal a:hover { color: var(--gold-300); }
.footer-bottom__reg { font-family: var(--font-mono); font-size: 0.6875rem; color: var(--navy-300); }
.footer-top {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.9rem; border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16); color: var(--text-invert-soft);
  font-size: var(--fs-sm); font-weight: 600;
  transition: all var(--dur-fast) var(--ease);
}
.footer-top:hover { border-color: var(--gold-500); color: var(--gold-300); }
.footer-top i { transition: transform var(--dur) var(--ease); }
.footer-top:hover i { transform: translateY(-2px); }

.footer-note {
  font-size: 0.75rem; color: var(--navy-300);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem); margin: 0; max-width: 96ch;
}

/* ==========================================================================
   19. Header
   ========================================================================== */
.topbar {
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: height var(--dur) var(--ease), opacity var(--dur) var(--ease);
  overflow: hidden;
}
.topbar__contact { gap: var(--sp-5); }
.topbar__hours, .topbar__creds { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--navy-300); }
.topbar__creds { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.06em; color: var(--gold-300); }
.topbar__creds i { color: var(--gold-500); }
@media (max-width: 1200px) { .topbar__hours { display: none; } }
.topbar__portal {
  padding: 0.22rem 0.7rem; border-radius: var(--radius-pill);
  border: 1px solid rgba(199, 149, 56, 0.35); background: rgba(199, 149, 56, 0.10); color: var(--gold-300) !important;
}
.topbar__portal:hover { background: var(--gold-500); border-color: var(--gold-500); color: #2E1F04 !important; }

/* Collapse the top bar once the page scrolls, giving the nav more room ------ */
body.is-scrolled .topbar { height: 0; opacity: 0; border-bottom-color: transparent; }

.site-header {
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}
.site-header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199, 149, 56, 0.45), transparent);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.site-header.is-stuck::after { opacity: 1; }
.site-header__inner { transition: height var(--dur) var(--ease); }
.site-header.is-stuck .site-header__inner { height: 64px; }
.brand-mark img { transition: height var(--dur) var(--ease); }
.site-header.is-stuck .brand-mark img { height: 38px; }

/* Navigation --------------------------------------------------------------- */
.nav__link {
  border-radius: var(--radius-pill);
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.nav__link::after { display: none; }
.nav__link:hover { background: var(--bg-alt); }
.nav__link.is-active { color: var(--text); background: var(--navy-050); }
.nav__link.is-active::before {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: -0.35rem; width: 18px; height: 2px; border-radius: 2px; background: var(--gold-500);
}
.nav__item.is-open > .nav__link { background: var(--bg-alt); color: var(--text); }

/* Mega menu ---------------------------------------------------------------- */
.mega { border-top: 1px solid var(--gold-100); }
.mega__grid { grid-template-columns: repeat(4, 1fr) 0.9fr; gap: var(--sp-5); padding-block: var(--sp-6); }
@media (max-width: 1320px) { .mega__grid { grid-template-columns: repeat(4, 1fr); } .mega__promo { display: none; } }
.mega__col { border-right: 1px solid var(--border-soft); padding-right: var(--sp-4); }
.mega__col:last-of-type { border-right: 0; }
.mega__link { align-items: flex-start; }
.mega__link:hover .mega__icon { background: var(--practice, var(--gold-500)); color: #fff; }
.mega__icon { transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }

/* Optional photo in place of the icon. Slightly larger than the icon bezel so
   the subject is legible, with a practice-coloured ring rather than a border
   so the three columns still read as a set. */
.mega__icon--photo {
  width: 48px; height: 48px; padding: 0; overflow: hidden;
  border-radius: var(--radius); background: var(--practice-soft, var(--gold-050));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--practice, var(--gold-500)) 30%, transparent);
}
.mega__icon--photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform var(--dur) var(--ease);
}
/* Keep the photo a photo on hover; the icon bezel fill would tint it. */
.mega__link:hover .mega__icon--photo { background: var(--practice-soft, var(--gold-050)); }
.mega__link:hover .mega__icon--photo img { transform: scale(1.08); }

@media (prefers-reduced-motion: reduce) {
  .mega__link:hover .mega__icon--photo img { transform: none; }
}


/* =========================================================================
   27. SIDEBAR ENQUIRY FORM
   Sits in a 320px sidebar on every service, standard, sector, project and
   insight page. It was a flat grey box; it is the conversion point on those
   pages, so it now reads as a card with a header, and answers the two things
   a visitor wants to know before typing — how fast the reply comes, and
   whether they can just phone instead.
   ========================================================================= */
.enquiry-card {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
/* Practice-coloured cap, inherited from the page it sits on. */
.enquiry-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 2;
  background: linear-gradient(90deg, var(--practice, var(--gold-500)), color-mix(in srgb, var(--practice, var(--gold-500)) 25%, transparent));
}

.enquiry-card__head {
  display: flex; gap: var(--sp-3); align-items: flex-start;
  padding: var(--sp-5) var(--sp-5) var(--sp-4);
  background: linear-gradient(180deg, var(--practice-soft, var(--gold-050)), transparent);
  border-bottom: 1px solid var(--border-soft);
}
.enquiry-card__mark {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: var(--radius); font-size: 1.15rem;
  background: var(--surface); color: var(--practice, var(--gold-700));
  border: 1px solid var(--border-soft); box-shadow: var(--shadow-sm);
}
.enquiry-card__title { font-size: 1.0625rem; margin: 0 0 0.2rem; line-height: 1.3; }
.enquiry-card__text { font-size: 0.8125rem; color: var(--text-soft); margin: 0; line-height: 1.55; }

.enquiry-card__form { padding: var(--sp-5); }
/* Tighter than the full-width forms — this lives in a narrow column. */
.enquiry-card__form .field { margin-bottom: var(--sp-4); }
.enquiry-card__form .field__label { font-size: 0.8125rem; margin-bottom: 0.35rem; }
.enquiry-card__form .input, .enquiry-card__form .textarea { font-size: 0.9375rem; }
.enquiry-card__form .textarea { min-height: 104px; }

.enquiry-card__consent {
  padding: var(--sp-3); border-radius: var(--radius);
  background: var(--bg-alt); border: 1px solid var(--border-soft);
}
.enquiry-card__consent span { font-size: 0.75rem; line-height: 1.5; }
.enquiry-card__consent input { width: 17px; height: 17px; }

.enquiry-card__submit { margin-top: var(--sp-4); }

.enquiry-card__promise {
  display: flex; align-items: center; justify-content: center; gap: 0.35rem;
  margin: var(--sp-3) 0 0; font-size: 0.75rem; color: var(--text-mute);
}
.enquiry-card__promise i { color: var(--practice, var(--gold-700)); font-size: 0.9375rem; }

.enquiry-card__direct {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: var(--bg-alt); border-top: 1px solid var(--border-soft);
  font-size: 0.8125rem; color: var(--text-mute);
}
.enquiry-card__direct > span { width: 100%; }
.enquiry-card__call, .enquiry-card__whatsapp {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-weight: 600; font-size: 0.875rem; color: var(--text);
}
.enquiry-card__call i { color: var(--practice, var(--gold-700)); }
.enquiry-card__call:hover { color: var(--practice-dark, var(--gold-700)); }
.enquiry-card__whatsapp { color: #1F8A4C; }
.enquiry-card__whatsapp:hover { color: #146637; }

/* Keep it in view while the reader works down a long detail page. */
@media (min-width: 992px) {
  .enquiry-sticky { position: sticky; top: calc(var(--header-h, 76px) + var(--sp-5)); }
}

.mega__promo {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  padding: var(--sp-5); border-radius: var(--radius-lg); overflow: hidden;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(199, 149, 56, 0.30), transparent 62%),
    var(--navy-800);
  color: #fff;
}
.mega__promo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(199, 149, 56, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 149, 56, 0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 80% 80% at 100% 0%, #000, transparent 70%);
}
.mega__promo-eyebrow {
  font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-300);
}
.mega__promo h2 { font-size: 1.0625rem; color: #fff; margin: 0.45rem 0 0.4rem; }
.mega__promo p { font-size: 0.8125rem; color: var(--text-invert-soft); margin: 0 0 var(--sp-4); line-height: 1.55; }
.mega__promo .btn { align-self: flex-start; position: relative; z-index: 1; }
.mega__promo-link { position: absolute; inset: 0; z-index: 2; }

/* Inline search ------------------------------------------------------------ */
.header-search {
  border-top: 1px solid var(--border-soft);
  background: var(--surface);
  animation: fadeUp var(--dur) var(--ease);
}
.header-search__form { display: flex; align-items: center; gap: var(--sp-3); padding-block: var(--sp-4); }
.header-search__form > i { font-size: 1.35rem; color: var(--text-mute); flex: none; }
.header-search__form input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  font-family: var(--font-display); font-size: var(--fs-lg); color: var(--text);
}
.header-search__form input::placeholder { color: var(--text-mute); font-weight: 400; }
.header-search__hints {
  display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center;
  padding-bottom: var(--sp-4); font-size: var(--fs-sm);
}
.header-search__hints span { color: var(--text-mute); font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; }
.header-search__hints a {
  padding: 0.3rem 0.7rem; border-radius: var(--radius-pill);
  border: 1px solid var(--border); color: var(--text-soft); font-size: var(--fs-sm);
}
.header-search__hints a:hover { border-color: var(--accent); background: var(--gold-050); color: var(--accent-text); }

/* Drawer ------------------------------------------------------------------- */
.drawer__link.is-active { color: var(--accent-text); }
.drawer__sub a { display: flex; align-items: center; gap: 0.6rem; }
.drawer__sub a i { color: var(--practice, var(--accent-text)); }
.drawer__extra { display: grid; gap: 0.2rem; margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--border-soft); }
.drawer__extra a { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0; color: var(--text-soft); font-size: var(--fs-base); }
.drawer__extra i { color: var(--accent-text); }
.drawer__contact { display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: center; font-size: var(--fs-sm); }
.drawer__contact a { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--text-soft); }

@media (max-width: 1199px) { .header__cta { display: none; } }
@media (max-width: 420px)  { .header__actions [data-theme-toggle] { display: none; } }

/* ==========================================================================
   20. Practice areas section
   ========================================================================== */
.practice-grid {
  display: grid; gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  align-items: stretch;
}

.practice-panel {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.practice-panel::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; z-index: 3;
  background: linear-gradient(90deg, var(--practice), color-mix(in srgb, var(--practice) 25%, transparent));
  transform: scaleX(0.22); transform-origin: left;
  transition: transform var(--dur-slow) var(--ease);
}
.practice-panel:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--practice) 45%, var(--border));
}
.practice-panel:hover::before { transform: scaleX(1); }

/* Card image. Practices have their own featured_image; where none is set,
   img_tag() drops in the branded placeholder and the practice-tinted veil
   below keeps the three panels visually distinct from one another. */
.practice-panel__media {
  position: relative; display: block; flex: none; overflow: hidden;
  aspect-ratio: 3 / 2; background: var(--practice-soft);
}
.practice-panel__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.practice-panel:hover .practice-panel__media img { transform: scale(1.05); }
.practice-panel__media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(165deg,
    color-mix(in srgb, var(--practice) 30%, transparent),
    transparent 46%,
    rgba(0, 15, 43, 0.5) 100%);
}

.practice-panel__num {
  position: absolute; top: var(--sp-4); right: var(--sp-5); z-index: 2;
  font-family: var(--font-mono); font-size: 2.5rem; font-weight: 500; line-height: 1;
  color: #fff; opacity: 0.5; letter-spacing: -0.03em;
  transition: opacity var(--dur) var(--ease);
}
.practice-panel:hover .practice-panel__num { opacity: 0.85; }

/* The icon straddles the media and the body, tying the two together. */
.practice-panel__icon {
  position: absolute; left: var(--sp-5); bottom: calc(var(--sp-5) * -0.5); z-index: 2;
  width: 54px; height: 54px; display: grid; place-items: center;
  border-radius: var(--radius); font-size: 1.6rem;
  background: var(--surface); color: var(--practice);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.practice-panel:hover .practice-panel__icon {
  background: var(--practice); color: #fff;
  border-color: var(--practice); transform: translateY(-3px);
}

.practice-panel__body {
  position: relative; display: flex; flex-direction: column; flex: 1;
  padding: calc(var(--sp-5) + 1.1rem) var(--sp-5) var(--sp-5);
}
/* Soft practice wash in the corner of the body, replacing the old ::after
   which now belongs to the image. */
.practice-panel__body::before {
  content: ''; position: absolute; right: -25%; top: -20%; width: 60%; aspect-ratio: 1;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--practice) 14%, transparent), transparent 68%);
  opacity: 0; transition: opacity var(--dur-slow) var(--ease);
}
.practice-panel:hover .practice-panel__body::before { opacity: 1; }

.practice-panel__title { position: relative; z-index: 1; font-size: var(--fs-h4); margin: 0 0 var(--sp-2); }
.practice-panel__text { position: relative; z-index: 1; font-size: 0.9375rem; color: var(--text-soft); margin: 0; }

.practice-panel__chips { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: var(--sp-4); }
.practice-panel__chips span {
  font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.05em;
  padding: 0.26rem 0.5rem; border-radius: var(--radius-sm);
  background: var(--practice-soft); color: var(--practice-dark);
}

.practice-panel__list { position: relative; z-index: 1; list-style: none; margin: var(--sp-4) 0 0; padding: 0; display: grid; gap: 0.5rem; }
.practice-panel__list li { display: flex; gap: var(--sp-2); font-size: 0.875rem; color: var(--text-soft); line-height: 1.5; }
.practice-panel__list i { color: var(--practice); margin-top: 0.2rem; flex: none; font-size: 0.95rem; }

.practice-panel__foot {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  margin-top: auto; padding-top: var(--sp-5);
}
.practice-panel__count {
  font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-mute);
  padding-top: var(--sp-4); border-top: 1px solid var(--border-soft); flex: 1;
}
.practice-panel__go {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.9375rem; font-weight: 600; color: var(--practice);
  padding-top: var(--sp-4); border-top: 1px solid var(--border-soft);
}
.practice-panel__go i { transition: transform var(--dur) var(--ease); }
.practice-panel:hover .practice-panel__go i { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .practice-panel:hover { transform: none; }
  .practice-panel:hover .practice-panel__media img,
  .practice-panel:hover .practice-panel__icon { transform: none; }
}

/* Integration strip -------------------------------------------------------- */
.practice-sum {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-5); margin-top: var(--sp-6);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-lg); position: relative; overflow: hidden;
  background:
    radial-gradient(90% 160% at 0% 0%, rgba(199, 149, 56, 0.16), transparent 60%),
    var(--navy-800);
  color: #fff;
}
.practice-sum::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(199, 149, 56, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 149, 56, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 70% 100% at 100% 50%, #000, transparent 72%);
}
.practice-sum__text { display: flex; gap: var(--sp-5); align-items: center; flex: 1 1 460px; position: relative; z-index: 1; }
.practice-sum__marks { display: flex; align-items: center; gap: 0.4rem; flex: none; }
.practice-sum__marks i {
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 9px; font-size: 1rem;
  background: color-mix(in srgb, var(--practice, var(--gold-500)) 22%, transparent);
  color: var(--practice, var(--gold-300));
  border: 1px solid color-mix(in srgb, var(--practice, var(--gold-500)) 40%, transparent);
}
.practice-sum__plus { font-family: var(--font-mono); color: var(--navy-300); margin: 0 0.15rem; }
.practice-sum__one { background: var(--gold-500) !important; color: #2E1F04 !important; border-color: var(--gold-500) !important; }
.practice-sum h3 { font-size: 1.0625rem; color: #fff; margin: 0 0 0.35rem; }
.practice-sum p { font-size: 0.875rem; color: var(--text-invert-soft); margin: 0; max-width: 62ch; }
.practice-sum .btn { position: relative; z-index: 1; flex: none; }
@media (max-width: 620px) { .practice-sum__marks { display: none; } }

/* ==========================================================================
   21. Standards section
   ========================================================================== */
.standards-grid {
  display: grid; gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(min(238px, 100%), 1fr));
}

/* Family tones: gold for ISO, teal for lender frameworks, green for Ghanaian
   regulation, amber for sector frameworks. */
.standard-card[data-tone="gold"]        { --tone: var(--gold-500);   --tone-dark: var(--gold-700);        --tone-soft: var(--gold-050); }
.standard-card[data-tone="quality"]     { --tone: var(--quality);    --tone-dark: var(--quality-dark);    --tone-soft: var(--quality-soft); }
.standard-card[data-tone="environment"] { --tone: var(--environment);--tone-dark: var(--environment-dark);--tone-soft: var(--environment-soft); }
.standard-card[data-tone="safety"]      { --tone: var(--safety);     --tone-dark: var(--safety-dark);     --tone-soft: var(--safety-soft); }

.standard-card {
  position: relative; display: flex; flex-direction: column;
  padding: var(--sp-5) var(--sp-5) var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.standard-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--tone);
  transform: scaleY(0.35); transform-origin: top;
  transition: transform var(--dur-slow) var(--ease);
}
.standard-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--tone) 45%, var(--border));
}
.standard-card:hover::before { transform: scaleY(1); }

.standard-card__top { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.standard-card__icon {
  flex: none; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: var(--radius-sm); font-size: 1.15rem;
  background: var(--tone-soft); color: var(--tone-dark);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.standard-card:hover .standard-card__icon { background: var(--tone); color: #fff; }
.standard-card__family {
  font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-mute); line-height: 1.35;
}

.standard-card__code {
  font-family: var(--font-mono); font-size: 1.0625rem; font-weight: 500;
  color: var(--text); letter-spacing: -0.01em; line-height: 1.25;
}
.standard-card__title {
  font-size: 0.875rem; color: var(--text-soft); line-height: 1.5;
  margin-top: 0.35rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.standard-card__go {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: auto; padding-top: var(--sp-4);
  font-size: 0.8125rem; font-weight: 600; color: var(--tone-dark);
  opacity: 0; transform: translateY(4px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.standard-card:hover .standard-card__go { opacity: 1; transform: none; }
@media (hover: none) { .standard-card__go { opacity: 1; transform: none; } }
.standard-card__go i { transition: transform var(--dur) var(--ease); }
.standard-card:hover .standard-card__go i { transform: translateX(3px); }

.standards-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-4); margin-top: var(--sp-6);
  padding-top: var(--sp-5); border-top: 1px solid var(--border);
}
.standards-foot p {
  margin: 0; font-size: 0.875rem; color: var(--text-mute);
  display: flex; align-items: flex-start; gap: 0.5rem; max-width: 74ch;
}
.standards-foot i { color: var(--accent-text); margin-top: 0.15rem; flex: none; }

/* ==========================================================================
   22. Selected work
   ========================================================================== */
.section-head--split {
  display: flex; flex-wrap: wrap; gap: var(--sp-5);
  align-items: flex-end; justify-content: space-between; max-width: none;
}
.section-head--split > div { max-width: 640px; }

/* Three case studies across one row on desktop, two on tablet, one stacked on
   phones. Equal-height tracks so the cards line up whatever the copy length. */
.work-grid { display: grid; gap: var(--sp-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px)  { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.work-grid { grid-auto-rows: 1fr; }

.work-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.work-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--practice) 40%, var(--border));
}

.work-card__media { position: relative; display: block; overflow: hidden; background: var(--navy-050); aspect-ratio: 16 / 10; flex: none; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.05); }
.work-card__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 15, 43, 0.35) 0%, transparent 34%, rgba(0, 15, 43, 0.62) 100%);
}

.work-card__tag {
  position: absolute; top: var(--sp-4); left: var(--sp-4); z-index: 2;
  font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.3rem 0.6rem; border-radius: var(--radius-sm);
  background: var(--practice); color: #fff;
}
.work-card__client {
  position: absolute; left: var(--sp-4); bottom: var(--sp-4); z-index: 2;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.7rem 0.35rem 0.35rem; border-radius: var(--radius-pill);
  background: rgba(1, 28, 70, 0.78); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.75rem; font-weight: 600; color: #fff;
}
.work-card__client b, .work-card__client img {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--gold-500); color: #2E1F04;
  font-family: var(--font-mono); font-size: 0.5625rem; font-weight: 500;
}
.work-card__client img { object-fit: contain; background: #fff; padding: 2px; }

.work-card__body { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5); flex: 1; }
.work-card__chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.work-card__title { font-size: var(--fs-h5); margin: 0; line-height: 1.3; }
.work-card__title a { color: var(--text); }
.work-card__title a:hover { color: var(--practice); }
.work-card__text { font-size: 0.9375rem; color: var(--text-soft); margin: 0; }

/* Outcomes carry the argument, so give them real weight ------------------- */
.work-card__metrics {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: var(--sp-3); margin: 0; margin-top: auto;
  padding: var(--sp-4); border-radius: var(--radius);
  background: var(--practice-soft);
}
.work-card__metrics dt {
  font-family: var(--font-mono); font-size: 1rem; font-weight: 500;
  color: var(--practice-dark); line-height: 1.15; letter-spacing: -0.01em;
}
.work-card__metrics dd { margin: 0.25rem 0 0; font-size: 0.75rem; color: var(--text-soft); line-height: 1.4; }

.work-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem var(--sp-3);
  margin-top: auto; padding-top: var(--sp-4); border-top: 1px solid var(--border-soft);
}
.work-card__where {
  display: inline-flex; align-items: center; gap: 0.35rem; min-width: 0;
  font-size: var(--fs-sm); color: var(--text-mute);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.work-card__go { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; font-weight: 600; color: var(--practice); white-space: nowrap; }
.work-card__go i { transition: transform var(--dur) var(--ease); }
.work-card:hover .work-card__go i { transform: translateX(4px); }


/* =========================================================================
   23. WHY ORGANISATIONS CHOOSE US
   Dark band. The claim is "credentialled practitioners", so the proof — named
   leads with their letters, and the professional bodies behind them — carries
   the section rather than a paragraph asserting it.
   ========================================================================= */
.why-section { overflow: hidden; }
.why-layout { display: grid; gap: var(--sp-7); align-items: start; }
@media (min-width: 992px) {
  .why-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--sp-8); }
}
.why-intro > h2 { margin-bottom: var(--sp-4); }
.why-lead { font-size: 1.0625rem; line-height: 1.7; max-width: 46ch; }

/* Named leads ------------------------------------------------------------- */
.why-leads { list-style: none; margin: var(--sp-6) 0 0; padding: 0; display: grid; gap: var(--sp-3); }
.why-lead-card {
  display: flex; gap: var(--sp-4); align-items: flex-start;
  padding: var(--sp-4); border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.why-lead-card:hover { border-color: color-mix(in srgb, var(--gold-500) 45%, transparent); background: rgba(255, 255, 255, 0.06); }

.why-lead-card__face {
  flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center;
  background: var(--navy-700); border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 3px rgba(199, 149, 56, 0.16);
}
.why-lead-card__face img { width: 100%; height: 100%; object-fit: cover; }
.why-lead-card__face span { font-family: var(--font-mono); font-size: 0.875rem; color: var(--gold-300); }

.why-lead-card__text { min-width: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.why-lead-card__name { font-weight: 600; color: #fff; line-height: 1.3; }
.why-lead-card__name:hover { color: var(--gold-300); }
.why-lead-card__role { font-size: 0.8125rem; color: var(--navy-300); line-height: 1.4; }
.why-lead-card__creds { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.35rem; }
.cred-chip {
  font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.04em;
  padding: 0.16rem 0.42rem; border-radius: var(--radius-sm);
  background: rgba(199, 149, 56, 0.14); color: var(--gold-300);
  border: 1px solid rgba(199, 149, 56, 0.26);
}

.why-actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-top: var(--sp-6); }

/* Reason cards ------------------------------------------------------------ */
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
@media (min-width: 560px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.why-card {
  position: relative; overflow: hidden;
  padding: var(--sp-5); border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
/* Gold wash that sweeps in from the corner on hover. */
.why-card::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 100% 0%, rgba(199, 149, 56, 0.16), transparent 62%);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.why-card:hover { transform: translateY(-4px); border-color: rgba(199, 149, 56, 0.38); background: rgba(255, 255, 255, 0.055); }
.why-card:hover::before { opacity: 1; }
.why-card > * { position: relative; z-index: 1; }

.why-card__num {
  position: absolute; top: var(--sp-4); right: var(--sp-5); z-index: 1;
  font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.26);
}
.why-card__icon {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: var(--radius); margin-bottom: var(--sp-4);
  background: rgba(199, 149, 56, 0.13);
  border: 1px solid rgba(199, 149, 56, 0.28);
  color: var(--gold-300); font-size: 1.375rem;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.why-card:hover .why-card__icon { background: rgba(199, 149, 56, 0.22); transform: scale(1.06); }
.why-card__title { font-size: 1.0625rem; margin: 0 0 0.4rem; color: #fff; line-height: 1.3; }
.why-card__text { font-size: 0.875rem; margin: 0; line-height: 1.6; color: var(--text-invert-soft); }

/* Accreditation strip ----------------------------------------------------- */
.why-creds {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4) var(--sp-6);
  margin-top: var(--sp-7); padding-top: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.why-creds__label {
  display: inline-flex; align-items: center; gap: 0.45rem; margin: 0;
  font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-300); white-space: nowrap;
}
.why-creds__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
}
.why-creds__list li {
  display: flex; flex-direction: column; gap: 0.1rem;
  padding: 0.5rem 0.85rem; border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color var(--dur) var(--ease);
}
.why-creds__list li:hover { border-color: rgba(199, 149, 56, 0.4); }
.why-creds__list b { font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 500; color: #fff; letter-spacing: 0.03em; }
.why-creds__list span { font-size: 0.6875rem; color: var(--navy-300); }

@media (prefers-reduced-motion: reduce) {
  .why-card:hover, .why-card:hover .why-card__icon { transform: none; }
}


/* =========================================================================
   24. SECTOR INDEX
   Seven sectors will never divide neatly into a card grid, and identical
   labelled tiles say nothing. A directory of rows scales to any number, and
   gives each sector room for the line of copy already written for it.
   ========================================================================= */
.sector-layout { display: grid; gap: var(--sp-6); align-items: start; }
@media (min-width: 992px) {
  .sector-layout { grid-template-columns: minmax(0, 0.72fr) minmax(0, 2fr); gap: var(--sp-8); }
  .sector-intro { position: sticky; top: calc(var(--header-h, 76px) + var(--sp-6)); }
}
.sector-intro h2 { font-size: var(--fs-h3); margin-bottom: var(--sp-3); }
.sector-intro p { color: var(--text-soft); margin-bottom: var(--sp-4); }

.sector-index { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
@media (min-width: 768px) { .sector-index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2) var(--sp-3); } }

.sector-row {
  position: relative; height: 100%;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start; gap: var(--sp-4);
  padding: var(--sp-4); border-radius: var(--radius-lg);
  border: 1px solid transparent; background: var(--navy-050);
  color: var(--text);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
/* Gold rule that grows down the left edge on hover. */
.sector-row::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 3px; height: 0;
  border-radius: 0 3px 3px 0; background: var(--gold-500);
  transform: translateY(-50%);
  transition: height var(--dur) var(--ease);
}
.sector-row:hover, .sector-row:focus-visible {
  background: #fff; border-color: var(--border); transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}
.sector-row:hover::before, .sector-row:focus-visible::before { height: 62%; }

.sector-row__icon {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: var(--radius); font-size: 1.25rem;
  background: #fff; border: 1px solid var(--border-soft); color: var(--accent-text);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.sector-row:hover .sector-row__icon {
  background: var(--gold-500); border-color: var(--gold-500); color: #2E1F04;
}

.sector-row__text { min-width: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.sector-row__title { font-weight: 600; font-size: 1rem; line-height: 1.3; }
.sector-row:hover .sector-row__title { color: var(--accent-text); }
.sector-row__desc { font-size: 0.8125rem; color: var(--text-soft); line-height: 1.5; }
.sector-row__meta {
  display: flex; flex-wrap: wrap; gap: 0.3rem 0.85rem; margin-top: 0.35rem;
  font-size: 0.6875rem; color: var(--text-mute);
}
.sector-row__meta b { font-family: var(--font-mono); font-weight: 500; color: var(--text-soft); }

.sector-row__go {
  align-self: center; font-size: 1rem; color: var(--text-mute);
  opacity: 0; transform: translateX(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.sector-row:hover .sector-row__go, .sector-row:focus-visible .sector-row__go {
  opacity: 1; transform: translateX(0); color: var(--accent-text);
}
/* Touch devices never hover, so keep the affordance visible there. */
@media (hover: none) { .sector-row__go { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .sector-row:hover, .sector-row:focus-visible { transform: none; }
  .sector-row__go { transform: none; }
}


/* =========================================================================
   25. CLIENT VOICES
   Testimonials on a consultancy site are evidence, so the attribution matters
   as much as the quote: named person, role, employer, and the client logo
   where one has been uploaded. auto-fit keeps one or two quotes centred
   rather than stranded against a three-column track.
   ========================================================================= */
.voices-section .section-head p { color: var(--text-soft); }

.voices-grid {
  display: grid; gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  align-items: stretch;
  max-width: 1120px; margin-inline: auto;
}

.voice-card {
  position: relative; overflow: hidden; margin: 0; height: 100%;
  display: flex; flex-direction: column; gap: var(--sp-4);
  padding: var(--sp-6); padding-top: var(--sp-7);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
/* Gold hairline that draws across the top edge on hover. */
.voice-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-slow) var(--ease);
}
.voice-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--gold-500) 32%, var(--border));
}
.voice-card:hover::after { transform: scaleX(1); }

.voice-card__mark {
  position: absolute; top: -0.75rem; right: var(--sp-5); z-index: 0;
  font-family: var(--font-display); font-size: 6rem; line-height: 1;
  color: var(--gold-100); pointer-events: none; user-select: none;
}
.voice-card > *:not(.voice-card__mark) { position: relative; z-index: 1; }

.voice-card__rating { display: flex; gap: 0.15rem; font-size: 0.875rem; color: var(--gold-500); }
.voice-card__rating .is-off { color: var(--navy-100); }

.voice-card__text {
  margin: 0; font-size: var(--fs-lg); line-height: 1.65; color: var(--text);
  /* Balanced ragging keeps short quotes from ending on a single orphan word. */
  text-wrap: pretty;
}

.voice-card__author {
  display: flex; align-items: center; gap: var(--sp-3);
  margin-top: auto; padding-top: var(--sp-4);
  border-top: 1px solid var(--border-soft);
}
.voice-card__who { min-width: 0; display: flex; flex-direction: column; gap: 0.1rem; }
.voice-card__who strong { font-size: 0.9375rem; line-height: 1.3; }
.voice-card__who > span { font-size: 0.8125rem; color: var(--text-mute); line-height: 1.4; }
.voice-card__logo {
  margin-left: auto; flex: none; width: auto; height: 26px; max-width: 84px;
  object-fit: contain; object-position: right center;
  opacity: 0.55; filter: grayscale(1);
  transition: opacity var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.voice-card:hover .voice-card__logo { opacity: 1; filter: grayscale(0); }

@media (prefers-reduced-motion: reduce) {
  .voice-card:hover { transform: none; }
  .voice-card::after { transition: none; }
}


/* =========================================================================
   26. INSIGHTS
   Posts carry no photography yet, so three identical placeholder images would
   read as a mistake. The category's colour_key themes each card instead, which
   also tells the reader at a glance whether a piece is safety, environment or
   quality before they read the label.
   ========================================================================= */
.insight-section .section-head p { color: var(--text-soft); margin-bottom: 0; }

.insight-grid { display: grid; gap: var(--sp-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px)  { .insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .insight-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.insight-grid { grid-auto-rows: 1fr; }

.insight-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.insight-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--practice) 38%, var(--border));
}

.insight-card__media {
  position: relative; display: block; flex: none; overflow: hidden;
  aspect-ratio: 16 / 9; background: var(--practice-soft);
}
.insight-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.insight-card:hover .insight-card__media img { transform: scale(1.05); }
/* Practice-tinted veil so a placeholder still carries the category's colour. */
.insight-card__media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, color-mix(in srgb, var(--practice) 26%, transparent), transparent 58%);
}
.insight-card__flag {
  position: absolute; top: var(--sp-3); left: var(--sp-3); z-index: 2;
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.28rem 0.6rem; border-radius: var(--radius-sm);
  background: var(--navy-900); color: #fff;
  font-family: var(--font-mono); font-size: 0.625rem;
  letter-spacing: 0.1em; text-transform: uppercase;
}

.insight-card__body { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5); flex: 1; }

.insight-card__top {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.4rem var(--sp-3);
}
.insight-card__cat {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; font-weight: 600; color: var(--practice-dark);
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* Small practice-coloured dot instead of a chip, so the row stays light. */
.insight-card__cat::before {
  content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: var(--practice);
}
.insight-card__read {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-family: var(--font-mono); font-size: 0.6875rem; color: var(--text-mute); white-space: nowrap;
}

.insight-card__title { font-size: 1.0625rem; margin: 0; line-height: 1.35; }
.insight-card__title a { color: var(--text); }
.insight-card__title a:hover { color: var(--practice-dark); }
.insight-card__text { font-size: 0.875rem; color: var(--text-soft); margin: 0; line-height: 1.6; }

.insight-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem var(--sp-3);
  margin-top: auto; padding-top: var(--sp-4); border-top: 1px solid var(--border-soft);
}
.insight-card__by { display: inline-flex; align-items: center; gap: 0.5rem; min-width: 0; font-size: 0.8125rem; color: var(--text-soft); }
.insight-card__by img, .insight-card__by b {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; object-fit: cover;
  background: var(--practice-soft); color: var(--practice-dark);
  font-family: var(--font-mono); font-size: 0.5625rem; font-weight: 500;
}
.insight-card__by > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.insight-card__date { font-size: 0.75rem; color: var(--text-mute); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .insight-card:hover { transform: none; }
  .insight-card:hover .insight-card__media img { transform: none; }
}


/* =========================================================================
   28. COMPLIANCESEEK — DIGITAL COMPLIANCE
   The platform is a separate product, so it gets its own visual register:
   a dark band, a product chrome around the video, and a feature strip. It
   sits straight after the integrated-system band so it reads as the answer
   to "what keeps the system alive", not as an advert.
   ========================================================================= */

/* Hero badge -------------------------------------------------------------- */
.hero-product {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  margin-top: var(--sp-5); padding: 0.6rem 0.9rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #fff; max-width: 25rem;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.hero-product:hover { border-color: var(--gold-500); background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); color: #fff; }
.hero-product__tag {
  flex: none; padding: 0.16rem 0.44rem; border-radius: var(--radius-sm);
  background: var(--gold-500); color: #2E1F04;
  font-family: var(--font-mono); font-size: 0.5625rem;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.hero-product__text { display: flex; flex-direction: column; gap: 0.05rem; min-width: 0; }
.hero-product__text strong { font-size: 0.875rem; line-height: 1.3; }
.hero-product__text span { font-size: 0.75rem; color: var(--navy-300); line-height: 1.4; }
.hero-product > i { margin-left: auto; color: var(--gold-300); flex: none; }

/* Section ----------------------------------------------------------------- */
.cseek-layout { display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 992px) { .cseek-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--sp-8); } }
.cseek-lead { font-size: 1.0625rem; line-height: 1.7; max-width: 46ch; }

/* The two-brand relationship, stated once and briefly. */
.cseek-chain {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem var(--sp-3);
  margin-top: var(--sp-5); font-size: 0.8125rem; color: var(--text-invert-soft);
}
.cseek-chain span {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.34rem 0.7rem; border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.13); background: rgba(255, 255, 255, 0.05);
}
.cseek-chain span.is-product { border-color: rgba(199, 149, 56, 0.45); color: var(--gold-300); }
.cseek-chain > i { color: var(--gold-500); }
.cseek-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }

/* Video poster, dressed as a product window ------------------------------- */
.cseek-player {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: none; border: 0; padding: 0; color: inherit; font: inherit;
}
.cseek-player__frame {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 16 / 10; border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--navy-900);
  box-shadow: 0 26px 60px rgba(0, 8, 26, 0.5);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.cseek-player:hover .cseek-player__frame { transform: translateY(-4px); border-color: rgba(199, 149, 56, 0.5); }
.cseek-player__frame img { width: 100%; height: 100%; object-fit: cover; display: block; padding-top: 26px; }
.cseek-player__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 15, 43, 0.25), rgba(0, 15, 43, 0.6));
}
/* Fake browser chrome across the top, so it reads as software. */
.cseek-player__chrome {
  position: absolute; top: 0; left: 0; right: 0; height: 26px; z-index: 2;
  display: flex; align-items: center; gap: 5px; padding-inline: 10px;
  background: rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.cseek-player__chrome i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); }
.cseek-player__play {
  position: absolute; inset: 0; z-index: 3; display: grid; place-items: center;
}
.cseek-player__play i {
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
  background: var(--gold-500); color: #2E1F04; font-size: 1.75rem;
  box-shadow: 0 0 0 10px rgba(199, 149, 56, 0.18);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.cseek-player:hover .cseek-player__play i { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(199, 149, 56, 0.22); }
.cseek-player__caption { display: block; margin-top: var(--sp-4); }
.cseek-player__caption strong { display: block; color: #fff; font-size: 0.9375rem; }
.cseek-player__caption span { display: block; font-size: 0.8125rem; color: var(--navy-300); line-height: 1.55; margin-top: 0.15rem; }

/* Feature strip ----------------------------------------------------------- */
.cseek-features {
  list-style: none; margin: var(--sp-7) 0 0; padding: var(--sp-6) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid; gap: var(--sp-5); grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 620px)  { .cseek-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cseek-features { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cseek-features li { display: flex; flex-direction: column; gap: 0.3rem; }
.cseek-features__icon {
  display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 0.35rem;
  border-radius: var(--radius); font-size: 1.15rem;
  background: rgba(199, 149, 56, 0.13); border: 1px solid rgba(199, 149, 56, 0.28); color: var(--gold-300);
}
.cseek-features strong { color: #fff; font-size: 0.9375rem; }
.cseek-features li > span:last-child { font-size: 0.8125rem; color: var(--text-invert-soft); line-height: 1.55; }

/* Lightbox ---------------------------------------------------------------- */
.videobox {
  position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center;
  padding: var(--sp-5); background: rgba(0, 8, 26, 0.88);
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.videobox.is-open { opacity: 1; visibility: visible; }
.videobox__inner { position: relative; width: min(1040px, 100%); aspect-ratio: 16 / 9; }
.videobox__inner iframe { width: 100%; height: 100%; border: 0; border-radius: var(--radius-lg); background: #000; }
.videobox__close {
  position: absolute; top: -3rem; right: 0; width: 40px; height: 40px;
  display: grid; place-items: center; cursor: pointer;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 1.15rem;
}
.videobox__close:hover { background: var(--gold-500); border-color: var(--gold-500); color: #2E1F04; }

@media (prefers-reduced-motion: reduce) {
  .hero-product:hover, .cseek-player:hover .cseek-player__frame,
  .cseek-player:hover .cseek-player__play i { transform: none; }
}
