/* ==========================================================================
   MERIDIAN HEALTH ADVISORY — STYLESHEET
   UAE Healthcare Consulting — Premium Consulting-Grade Design System

   TABLE OF CONTENTS
   01. Font Face + Tokens
   02. Reset & Base
   03. Typography
   04. Layout Utilities
   05. Buttons
   06. Header & Navigation
   07. Hero
   08. Section Frame / Eyebrow / Dividers
   09. Cards (Services, Industries, Insights, Values)
   10. Stats / Counters
   11. Approach / Timeline
   12. Testimonials
   13. Forms
   14. Footer
   15. Animations
   16. Page Specific — About
   17. Page Specific — Services
   18. Page Specific — Insights
   19. Page Specific — Contact
   20. Accessibility & Motion
   21. Responsive
   ========================================================================== */


/* ==========================================================================
   01. FONT FACE + DESIGN TOKENS
   Meedori Sans is the brand typeface for logo + body copy. Because a custom
   font file is not bundled with this template, we declare the family name
   here so that dropping licensed Meedori Sans .woff2 files into /fonts and
   uncommenting the @font-face block below will activate it instantly.
   Until then, the stack falls back to a geometric humanist sans that shares
   Meedori's proportions, so the layout will not shift when the real font
   is installed.
   ========================================================================== */

/*
@font-face {
  font-family: 'Meedori Sans';
  src: url('fonts/MeedoriSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Meedori Sans';
  src: url('fonts/MeedoriSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Meedori Sans';
  src: url('fonts/MeedoriSans-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Meedori Sans';
  src: url('fonts/MeedoriSans-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
*/

:root {
  /* ---- Brand palette (per brief) ---- */
  --color-ink: #1b1c1c;              /* primary background */
  --color-ink-raised: #232424;       /* panel / card background */
  --color-ink-raised-2: #2a2b2b;     /* hover / elevated panel */
  --color-hairline: rgba(253, 238, 121, 0.14);
  --color-hairline-strong: rgba(253, 238, 121, 0.28);

  --color-gold-dark: #ac8400;
  --color-gold-light: #fdee79;
  --gradient-gold: linear-gradient(120deg, #ac8400 0%, #d4ac2b 45%, #fdee79 100%);
  --gradient-gold-soft: linear-gradient(120deg, rgba(172,132,0,0.16), rgba(253,238,121,0.10));

  --color-paper: #f6f5f1;            /* off-white for light panels */
  --color-text: #ece9e1;             /* primary text on dark */
  --color-text-muted: #a9a8a2;       /* secondary text on dark */
  --color-text-faint: #77766f;       /* tertiary text on dark */
  --color-text-on-paper: #1b1c1c;
  --color-text-on-paper-muted: #55564f;

  /* ---- Typography ---- */
  --font-brand: 'Meedori Sans', 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Meedori Sans', 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-data: 'Meedori Sans', 'Inter', system-ui, sans-serif;

  /* ---- Spacing scale ---- */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6rem;
  --space-9: 8rem;

  /* ---- Layout ---- */
  --container-max: 1240px;
  --container-pad: 1.5rem;
  --radius-sm: 2px;
  --radius-md: 3px;

  /* ---- Motion ---- */
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur-med: 420ms;
  --dur-slow: 900ms;

  /* ---- Elevation ---- */
  --shadow-card: 0 1px 0 rgba(253,238,121,0.06), 0 20px 40px -24px rgba(0,0,0,0.65);
  --shadow-lift: 0 1px 0 rgba(253,238,121,0.10), 0 30px 60px -20px rgba(0,0,0,0.75);
}


/* ==========================================================================
   02. RESET & BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

button { cursor: pointer; background: none; border: none; }

input, textarea, select { background: transparent; }

h1, h2, h3, h4, h5, p { margin: 0; }


/* ==========================================================================
   03. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-brand);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.h0 {
  font-size: clamp(2.6rem, 6vw, 5.1rem);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -0.025em;
}

.h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 400;
  line-height: 1.18;
}

.h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  font-weight: 500;
  line-height: 1.3;
}

.body-lg {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.7;
  color: var(--color-text-muted);
  font-weight: 300;
}

.body-md {
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 350;
}

.body-sm { font-size: 0.875rem; color: var(--color-text-muted); }

.text-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-data);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--gradient-gold);
  display: inline-block;
}

.eyebrow--center { justify-content: center; }
.eyebrow--center::before { display: none; }

.lede { max-width: 62ch; }


/* ==========================================================================
   04. LAYOUT UTILITIES
   ========================================================================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section {
  padding: var(--space-9) 0;
  position: relative;
}

.section--tight { padding: var(--space-7) 0; }

.section--paper {
  background: var(--color-paper);
  color: var(--color-text-on-paper);
}

.section--paper h1, .section--paper h2, .section--paper h3, .section--paper h4 {
  color: var(--color-text-on-paper);
}

.section--raised { background: var(--color-ink-raised); }

.section-head {
  max-width: 720px;
  margin-bottom: var(--space-6);
}

.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.grid {
  display: grid;
  gap: var(--space-5);
}

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

.hr-gold {
  height: 1px;
  border: none;
  background: var(--color-hairline);
  margin: 0;
}

.stack { display: flex; flex-direction: column; }
.cluster { display: flex; align-items: center; }


/* ==========================================================================
   05. BUTTONS
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-data);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--dur-fast) var(--ease-standard);
  white-space: nowrap;
}

.btn svg { width: 14px; height: 14px; transition: transform var(--dur-fast) var(--ease-standard); }

.btn--primary {
  background: var(--gradient-gold);
  color: #1b1c1c;
  border: 1px solid transparent;
}

.btn--primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -10px rgba(172,132,0,0.55);
}

.btn--primary:hover svg { transform: translateX(3px); }

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-hairline-strong);
}

.btn--ghost:hover {
  border-color: var(--color-gold-light);
  color: var(--color-gold-light);
  transform: translateY(-1px);
}

.btn--ghost:hover svg { transform: translateX(3px); }

.btn--on-paper {
  color: var(--color-text-on-paper);
  border-color: rgba(27,28,28,0.22);
}

.btn--on-paper:hover { border-color: var(--color-gold-dark); color: var(--color-gold-dark); }

.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.72rem; }

.btn--block { width: 100%; justify-content: center; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-data);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--dur-fast) var(--ease-standard), gap var(--dur-fast) var(--ease-standard);
}

.text-link:hover { border-color: var(--color-gold-light); gap: 0.7rem; }

.text-link svg { width: 12px; height: 12px; }


/* ==========================================================================
   06. HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(27, 28, 28, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-med) var(--ease-standard), background var(--dur-med) var(--ease-standard);
}

.site-header.is-scrolled {
  border-bottom-color: var(--color-hairline);
  background: rgba(27, 28, 28, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-brand);
  letter-spacing: 0.01em;
}

.brand-mark { width: 30px; height: 30px; flex-shrink: 0; }

.brand-word {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text);
  line-height: 1.1;
}

.brand-word small {
  display: block;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-top: 3px;
}

/* Wordmark logo lockup (header) */
.brand-logo {
  height: 26px;
  width: auto;
  display: block;
  transition: opacity var(--dur-fast) var(--ease-standard);
}

.brand:hover .brand-logo { opacity: 0.88; }

/* Wordmark logo lockup (footer, larger) */
.footer-brand .brand-logo { height: 34px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-links a {
  position: relative;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  padding: 0.4rem 0;
  transition: color var(--dur-fast) var(--ease-standard);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--gradient-gold);
  transition: right var(--dur-med) var(--ease-standard);
}

.nav-links a:hover { color: var(--color-text); }
.nav-links a:hover::after { right: 0; }

.nav-links a.is-active { color: var(--color-gold-light); }
.nav-links a.is-active::after { right: 0; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Nav CTA is a slightly smaller variant of .btn--primary — same gold fill, black text */
.nav-cta .btn--primary {
  padding: 0.62rem 1.1rem;
  font-size: 0.72rem;
}

.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--color-text);
  transition: all var(--dur-fast) var(--ease-standard);
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


/* ==========================================================================
   07. HERO
   ========================================================================== */

.hero {
  position: relative;
  padding: calc(84px + var(--space-8)) 0 var(--space-8);
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 82% -10%, rgba(172,132,0,0.16), transparent 60%),
    var(--color-ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-7);
  align-items: center;
}

.hero-copy .eyebrow { margin-bottom: var(--space-4); }

.hero-copy h1 { margin-bottom: var(--space-4); }

.hero-copy .body-lg { margin-bottom: var(--space-6); }

.hero-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }

.hero-visual { position: relative; aspect-ratio: 1 / 1; will-change: transform; }

.hero-meta {
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-hairline);
}

.hero-meta-item { flex: 1; }

.hero-meta-value {
  font-family: var(--font-data);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-meta-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-top: 0.35rem;
}

/* Signature hero graphic: orbiting meridian network (right side) */
.meridian-graphic { width: 100%; height: 100%; overflow: visible; }
.meridian-graphic .ring { fill: none; stroke: var(--color-hairline-strong); stroke-width: 1; }
.meridian-graphic .ring-anim { transform-origin: center; animation: spin-slow 60s linear infinite; }
.meridian-graphic .ring-anim-rev { transform-origin: center; animation: spin-slow-rev 80s linear infinite; }
.meridian-graphic .node { fill: var(--color-gold-light); }
.meridian-graphic .node-dim { fill: var(--color-gold-dark); opacity: 0.7; }
.meridian-graphic .link { stroke: url(#gold-line); stroke-width: 1; opacity: 0.55; }

@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes spin-slow-rev { to { transform: rotate(-360deg); } }

/* Dotted route line — subtle background accent behind the hero text */
.hero-dotted-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-dotted-route path {
  fill: none;
  stroke: var(--color-gold-light);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-dasharray: 2 10;
  opacity: 0.18;
  animation: route-draw 3.5s linear infinite;
}

.hero-dotted-route circle {
  fill: var(--color-gold-light);
  opacity: 0.22;
  animation: route-pulse 3s ease-in-out infinite;
}

.hero-dotted-route circle:nth-of-type(2) { animation-delay: 1s; }

.hero-copy, .hero-visual { position: relative; z-index: 1; }

@keyframes route-draw { to { stroke-dashoffset: -24; } }

@keyframes route-pulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.6; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-dotted-route path, .hero-dotted-route circle { animation: none; }
}


/* ==========================================================================
   07b. CAPABILITY STRIP
   Thin brand strip echoing the "OPERATIONS | HR | QUALITY | PROJECT
   MANAGEMENT" mark from the Wayfind brand guide.
   ========================================================================== */

.capability-strip {
  border-top: 1px solid var(--color-hairline);
  border-bottom: 1px solid var(--color-hairline);
  background: var(--color-ink);
  padding: var(--space-3) 0;
}

.capability-strip p {
  text-align: center;
  font-family: var(--font-data);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  opacity: 0.9;
}

.capability-strip span { color: var(--color-text-faint); margin: 0 0.6em; }


/* ==========================================================================
   09b. PORTFOLIO — LOGO WALL & MARQUEE
   ========================================================================== */

.logo-marquee {
  overflow: hidden;
  border-top: 1px solid var(--color-hairline);
  border-bottom: 1px solid var(--color-hairline);
  padding: var(--space-6) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  width: max-content;
  animation: marquee-scroll 34s linear infinite;
}

.logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }

.logo-marquee-track img {
  height: 34px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.9;
  filter: grayscale(0%);
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-hairline);
  border: 1px solid var(--color-hairline);
}

.logo-tile {
  background: var(--color-paper);
  min-height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  transition: transform var(--dur-med) var(--ease-standard), box-shadow var(--dur-med) var(--ease-standard);
}

.logo-tile:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: var(--shadow-lift);
  z-index: 2;
  position: relative;
}

.logo-tile img {
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
}

.portfolio-lede { max-width: 66ch; }

.engagement-note {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  margin-top: var(--space-5);
  font-size: 0.85rem;
  color: var(--color-text-faint);
}

.engagement-note .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gradient-gold);
  flex-shrink: 0;
}


/* ==========================================================================
   09c. HOME PAGE — PHOTO FEATURE
   ========================================================================== */

.photo-feature {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-hairline);
  position: relative;
  aspect-ratio: 4/5;
}

.photo-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease-standard);
}

.photo-feature:hover img { transform: scale(1.035); }

.photo-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(27,28,28,0.55), transparent 40%);
  pointer-events: none;
}


/* ==========================================================================
   06b. HEADER — CALL US TAB
   ========================================================================== */

.call-us {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-data);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #1b1c1c;
  background: var(--gradient-gold);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.9rem;
  transition: transform var(--dur-fast) var(--ease-standard), filter var(--dur-fast) var(--ease-standard);
  white-space: nowrap;
}

.call-us:hover { filter: brightness(1.08); transform: translateY(-1px); }
.call-us svg { width: 13px; height: 13px; stroke: #1b1c1c; flex-shrink: 0; }


/* ==========================================================================
   08. SECTION FRAME / PAGE HEADER (interior pages)
   ========================================================================== */

.page-header {
  padding: calc(84px + var(--space-7)) 0 var(--space-7);
  background:
    radial-gradient(ellipse 800px 420px at 12% 0%, rgba(172,132,0,0.14), transparent 62%),
    var(--color-ink);
  border-bottom: 1px solid var(--color-hairline);
  position: relative;
  overflow: hidden;
}

.page-header .container { position: relative; z-index: 1; }

.weaving-arrows-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.weaving-arrows-bg path {
  animation: weave-drift 9s ease-in-out infinite;
}

.weaving-arrows-bg path:nth-child(2) { animation-duration: 11s; animation-delay: -2s; }
.weaving-arrows-bg path:nth-child(3) { animation-duration: 13s; animation-delay: -5s; }

@keyframes weave-drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(14px); }
}

@media (prefers-reduced-motion: reduce) {
  .weaving-arrows-bg path { animation: none; }
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.78rem;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}

.breadcrumb a { color: var(--color-text-faint); transition: color var(--dur-fast); }
.breadcrumb a:hover { color: var(--color-gold-light); }


/* ==========================================================================
   09. CARDS
   ========================================================================== */

.card {
  background: var(--color-ink-raised);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  transition: transform var(--dur-med) var(--ease-standard), border-color var(--dur-med) var(--ease-standard), box-shadow var(--dur-med) var(--ease-standard);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--color-hairline-strong);
  box-shadow: var(--shadow-lift);
}

.card-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-hairline-strong);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
}

.card-icon svg { width: 22px; height: 22px; stroke: var(--color-gold-light); }

.card h3 { margin-bottom: var(--space-2); }

.card p { color: var(--color-text-muted); font-size: 0.94rem; }

.card-num {
  font-family: var(--font-data);
  font-size: 0.72rem;
  color: var(--color-text-faint);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
  display: block;
}

/* Why choose us cards */
.reason-card { text-align: left; }

/* Industry pill grid */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--color-hairline); border: 1px solid var(--color-hairline); }

.industry-tile {
  background: var(--color-ink);
  padding: var(--space-5) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: background var(--dur-fast) var(--ease-standard);
  min-height: 168px;
  justify-content: space-between;
}

.industry-tile:hover { background: var(--color-ink-raised); }

.industry-tile svg { width: 26px; height: 26px; stroke: var(--color-gold-light); }

.industry-tile h4 { font-family: var(--font-brand); font-size: 0.98rem; font-weight: 500; }

.industry-tile p { font-size: 0.82rem; color: var(--color-text-faint); }

/* Approach / methodology steps */
.approach-list { display: flex; flex-direction: column; }

.approach-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-hairline);
}

.approach-item:last-child { border-bottom: 1px solid var(--color-hairline); }

.approach-index {
  font-family: var(--font-data);
  font-size: 0.85rem;
  color: var(--color-gold-light);
  letter-spacing: 0.05em;
  padding-top: 0.2rem;
}

.approach-item h3 { margin-bottom: var(--space-2); }
.approach-item p { max-width: 60ch; }

/* Testimonials */
.testimonial-card {
  background: var(--color-ink-raised);
  border: 1px solid var(--color-hairline);
  padding: var(--space-6);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-quote-mark {
  font-family: var(--font-brand);
  font-size: 3rem;
  line-height: 1;
  color: var(--color-gold-dark);
  margin-bottom: var(--space-3);
}

.testimonial-card p.quote {
  color: var(--color-text);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: var(--space-5);
}

.testimonial-attrib { display: flex; align-items: center; gap: var(--space-3); border-top: 1px solid var(--color-hairline); padding-top: var(--space-4); }

.attrib-mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-hairline-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-data);
  font-size: 0.8rem;
  color: var(--color-gold-light);
  flex-shrink: 0;
}

.attrib-name { font-size: 0.9rem; font-weight: 500; color: var(--color-text); }
.attrib-role { font-size: 0.78rem; color: var(--color-text-faint); }


/* ==========================================================================
   10. STATS / COUNTERS
   ========================================================================== */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--color-hairline);
  border-bottom: 1px solid var(--color-hairline);
}

.stat {
  padding: var(--space-6) var(--space-4);
  text-align: center;
  border-left: 1px solid var(--color-hairline);
}

.stat:first-child { border-left: none; }

.stat-value {
  font-family: var(--font-data);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stat-label {
  margin-top: var(--space-2);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}


/* ==========================================================================
   11. CTA BAND
   ========================================================================== */

.cta-band {
  position: relative;
  padding: var(--space-8) 0;
  background: var(--color-ink-raised);
  border-top: 1px solid var(--color-hairline);
  border-bottom: 1px solid var(--color-hairline);
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 300px at 90% 50%, rgba(253,238,121,0.08), transparent 70%);
  pointer-events: none;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.cta-band h2 { max-width: 32ch; }


/* ==========================================================================
   12. FOOTER
   ========================================================================== */

.site-footer {
  background: #151515;
  border-top: 1px solid var(--color-hairline);
  padding: var(--space-8) 0 var(--space-4);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr 0.85fr 0.9fr;
  gap: var(--space-6);
  padding-bottom: var(--space-7);
}

.footer-brand .brand { margin-bottom: var(--space-4); }

.footer-brand p { color: var(--color-text-faint); font-size: 0.88rem; max-width: 32ch; }

.footer-social { display: flex; gap: var(--space-3); margin-top: var(--space-5); }

.footer-social a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-hairline-strong);
  border-radius: 50%;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}

.footer-social a:hover { border-color: var(--color-gold-light); background: rgba(253,238,121,0.06); }

.footer-social svg { width: 15px; height: 15px; stroke: var(--color-gold-light); }

.footer-col h4 {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }

.footer-col a { font-size: 0.88rem; color: var(--color-text-muted); transition: color var(--dur-fast); }

.footer-col a:hover { color: var(--color-gold-light); }

.footer-contact li { font-size: 0.88rem; color: var(--color-text-muted); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-hairline);
  font-size: 0.78rem;
  color: var(--color-text-faint);
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer-legal { display: flex; gap: var(--space-4); }
.footer-legal a:hover { color: var(--color-gold-light); }


/* ==========================================================================
   14b. PRELOADER
   Full-screen brand intro shown once per browser session, using the
   Wayfind logo-reveal animation supplied by the brand team.
   ========================================================================== */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #202121;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s var(--ease-standard), visibility 0.6s var(--ease-standard);
}

.preloader img {
  width: min(80vw, 550px);
  height: auto;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Prevent a scrollbar flash behind the preloader on first paint */
body.preload-lock { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
}


/* ==========================================================================
   15. ANIMATIONS / SCROLL REVEAL
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-standard), transform 0.8s var(--ease-standard);
}

[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

.back-to-top {
  position: fixed;
  right: var(--space-4);
  bottom: var(--space-4);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-ink-raised-2);
  border: 1px solid var(--color-hairline-strong);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--dur-med) var(--ease-standard);
  z-index: 400;
}

.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { border-color: var(--color-gold-light); }
.back-to-top svg { width: 16px; height: 16px; stroke: var(--color-gold-light); }


/* ==========================================================================
   16. PAGE SPECIFIC — ABOUT
   ========================================================================== */

.value-card { display: flex; gap: var(--space-4); align-items: flex-start; }

.value-index {
  font-family: var(--font-data);
  font-size: 0.78rem;
  color: var(--color-gold-light);
  border: 1px solid var(--color-hairline-strong);
  border-radius: 50%;
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}

.mv-card {
  padding: var(--space-6);
  border: 1px solid var(--color-hairline);
  background: var(--color-ink-raised);
  border-radius: var(--radius-md);
  height: 100%;
}

.mv-card svg { width: 28px; height: 28px; stroke: var(--color-gold-light); margin-bottom: var(--space-4); }

.leader-quote {
  border-left: 2px solid var(--color-gold-dark);
  padding-left: var(--space-5);
  font-weight: 300;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.6;
  color: var(--color-text);
}


/* ==========================================================================
   17. PAGE SPECIFIC — SERVICES
   ========================================================================== */

.service-block {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-hairline);
}

.service-block:last-of-type { border-bottom: 1px solid var(--color-hairline); }

.service-block-head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
  max-width: 900px;
}

.service-block-head .card-icon { flex-shrink: 0; margin-bottom: 0; }

.service-block-head h2 {
  font-family: var(--font-brand);
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: var(--space-2);
}

.service-block-head p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}


.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.service-detail-col h4 {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.service-detail-col ul { display: flex; flex-direction: column; gap: 0.65rem; }

.service-detail-col li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.service-detail-col li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 5px; height: 1px;
  background: var(--color-gold-light);
}

/* Sub-discipline divider — splits Professional/Facility Licensing into clear sequential sections */
.discipline-divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-8) 0;
}

.discipline-divider::before,
.discipline-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-hairline);
}

.discipline-divider span {
  font-family: var(--font-data);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  white-space: nowrap;
}

/* Large section heading within a discipline (e.g. "Professional Licensing") */
.subsection-title {
  font-family: var(--font-brand);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.subsection-eyebrow {
  font-family: var(--font-data);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 0.5rem;
  display: block;
}

/* Large, prominent photo banner — replaces the old small photo-panel on this page */
.photo-banner {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-hairline);
  margin: var(--space-6) 0;
}

.photo-banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  display: block;
}

/* Redesigned Growth & Digital / track cards — bigger, more visual than the old subtrack-card */
.track-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.track-card {
  background: var(--color-ink-raised);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: transform var(--dur-med) var(--ease-standard), border-color var(--dur-med) var(--ease-standard), box-shadow var(--dur-med) var(--ease-standard);
}

.track-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-hairline-strong);
  box-shadow: var(--shadow-lift);
}

.track-card .card-icon { margin-bottom: var(--space-4); }

.track-card h3 {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.track-card p { color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.6; }

/* Audit / compliance highlight cards — used for ADHICS / JAWDA content */
.audit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin: var(--space-5) 0 var(--space-6);
}

.audit-card {
  border: 1px solid var(--color-hairline);
  border-left: 2px solid var(--color-gold-dark);
  border-radius: var(--radius-sm);
  padding: var(--space-5);
  background: var(--color-ink);
}

.audit-card h5 {
  font-family: var(--font-brand);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.audit-card p { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.6; }

/* Nested sub-track structure — used within Licensing Services and Healthcare Facility Startup */
.service-intro {
  color: var(--color-text-muted);
  max-width: 70ch;
  margin-bottom: var(--space-6);
}

.subtrack-group { margin-top: var(--space-6); }

.subtrack-group + .subtrack-group {
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-hairline);
}

.subtrack-heading {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.subtrack-heading h3 {
  font-family: var(--font-brand);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-gold-light);
}

.subtrack-heading .eyebrow-mini {
  font-family: var(--font-data);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

.subtrack-desc {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  max-width: 66ch;
  margin-bottom: var(--space-4);
}

.subtrack-group--nested {
  margin-top: var(--space-5);
  padding-left: var(--space-5);
  border-left: 2px solid var(--color-hairline-strong);
}

.subtrack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.subtrack-card {
  background: var(--color-ink);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  transition: border-color var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
}

.subtrack-card:hover {
  border-color: var(--color-hairline-strong);
  transform: translateY(-3px);
}

.subtrack-card h5 {
  font-family: var(--font-brand);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.subtrack-card p {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.service-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: var(--space-6);
}

.filter-chip {
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid var(--color-hairline-strong);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  transition: all var(--dur-fast) var(--ease-standard);
}

.filter-chip:hover, .filter-chip.is-active {
  border-color: var(--color-gold-light);
  color: var(--color-gold-light);
  background: rgba(253,238,121,0.06);
}


/* ==========================================================================
   18. PAGE SPECIFIC — INSIGHTS
   ========================================================================== */

.insight-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-hairline);
  margin-bottom: var(--space-8);
}

.insight-visual {
  aspect-ratio: 4/3;
  background: var(--color-ink-raised);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.insight-visual svg { width: 44%; opacity: 0.9; }

.insight-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  border: 1px solid var(--color-hairline-strong);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
}

.insight-card { display: flex; flex-direction: column; height: 100%; }

.insight-card .insight-visual { aspect-ratio: 16/10; margin-bottom: var(--space-4); }

.insight-card .insight-visual svg { width: 34%; }

.insight-meta {
  display: flex;
  gap: var(--space-3);
  font-size: 0.76rem;
  color: var(--color-text-faint);
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-hairline);
}

.newsletter-band {
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  background: var(--color-ink-raised);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.newsletter-band > *:not(.weaving-arrows-bg) { position: relative; z-index: 1; }

.newsletter-form { display: flex; gap: var(--space-2); flex: 1; min-width: 280px; max-width: 420px; }

.newsletter-form input {
  flex: 1;
  border: 1px solid var(--color-hairline-strong);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 0.88rem;
}

.newsletter-form input::placeholder { color: var(--color-text-faint); }
.newsletter-form input:focus { outline: none; border-color: var(--color-gold-light); }

.newsletter-form button[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.4);
}

.newsletter-note {
  font-size: 0.76rem;
  color: var(--color-text-faint);
  margin-top: 0.6rem;
}

/* Insights "coming soon" empty state */
.insights-empty {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-5);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  background: var(--color-ink-raised);
}

.insights-empty-icon {
  width: 56px; height: 56px;
  margin: 0 auto var(--space-5);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-hairline-strong);
  border-radius: 50%;
}

.insights-empty-icon svg { width: 26px; height: 26px; stroke: var(--color-gold-light); }

.insights-empty h2 { margin-bottom: var(--space-3); }
.insights-empty p { color: var(--color-text-muted); }


/* ==========================================================================
   19. PAGE SPECIFIC — CONTACT
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--space-8);
  align-items: start;
  position: relative;
  overflow: hidden;
}

.contact-layout > *:not(.weaving-arrows-bg) { position: relative; z-index: 1; }

.contact-info-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-hairline);
}

.contact-info-item:first-child { border-top: none; padding-top: 0; }

.contact-info-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--color-hairline-strong);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg { width: 18px; height: 18px; stroke: var(--color-gold-light); }

.contact-info-item h4 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.contact-info-item p { font-size: 0.88rem; color: var(--color-text-muted); }

.hours-table { width: 100%; border-collapse: collapse; margin-top: var(--space-5); }

.hours-table td { padding: 0.55rem 0; font-size: 0.88rem; border-top: 1px solid var(--color-hairline); }
.hours-table tr:first-child td { border-top: none; }
.hours-table td:first-child { color: var(--color-text-muted); }
.hours-table td:last-child { text-align: right; font-family: var(--font-data); color: var(--color-text); }

.form-card {
  background: var(--color-ink-raised);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }

.field { margin-bottom: var(--space-4); }

.field label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: 0.5rem;
}

.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--color-hairline-strong);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem;
  color: var(--color-text);
  font-size: 0.92rem;
  transition: border-color var(--dur-fast) var(--ease-standard), background var(--dur-fast);
  background: rgba(255,255,255,0.02);
}

.field textarea { resize: vertical; min-height: 120px; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-gold-light);
  background: rgba(253,238,121,0.03);
}

.field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%23fdee79' stroke-width='1.4' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
}

.field-error { font-size: 0.76rem; color: #e2a04a; margin-top: 0.4rem; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b5602c; }
.field.has-error .field-error { display: block; }

.form-note { font-size: 0.78rem; color: var(--color-text-faint); margin-top: var(--space-3); }

.form-submit-error {
  font-size: 0.85rem;
  color: #e2a04a;
  background: rgba(226,160,74,0.08);
  border: 1px solid rgba(226,160,74,0.3);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-top: var(--space-4);
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-7) var(--space-4);
}

.form-success.is-visible { display: block; }
.form-success svg { width: 48px; height: 48px; stroke: var(--color-gold-light); margin: 0 auto var(--space-4); }

.map-frame {
  margin-top: var(--space-7);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 21/7;
}

.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.9); }


/* ==========================================================================
   19b. PAGE SPECIFIC — PRIVACY POLICY
   ========================================================================== */

.legal-content { max-width: 760px; }

.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-top: var(--space-7);
  margin-bottom: var(--space-3);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-hairline);
}

.legal-content h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

.legal-content p { color: var(--color-text-muted); margin-bottom: var(--space-3); }

.legal-content ul { margin: var(--space-3) 0 var(--space-4); display: flex; flex-direction: column; gap: 0.6rem; }

.legal-content li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.legal-content li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6em;
  width: 6px; height: 1px;
  background: var(--color-gold-light);
}

.legal-updated {
  font-size: 0.82rem;
  color: var(--color-text-faint);
  margin-bottom: var(--space-6);
}

.legal-toc {
  background: var(--color-ink-raised);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  margin-bottom: var(--space-7);
}

.legal-toc h3 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-faint); margin-bottom: var(--space-3); }

.legal-toc ol { display: flex; flex-direction: column; gap: 0.55rem; counter-reset: toc; }

.legal-toc li { counter-increment: toc; font-size: 0.9rem; }

.legal-toc li a { color: var(--color-text-muted); transition: color var(--dur-fast); }
.legal-toc li a:hover { color: var(--color-gold-light); }

.legal-toc li a::before {
  content: counter(toc, decimal-leading-zero) '  ';
  color: var(--color-gold-light);
  font-family: var(--font-data);
  font-size: 0.8rem;
  margin-right: 0.3rem;
}


/* ==========================================================================
   20. ACCESSIBILITY & MOTION
   ========================================================================== */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-gold-light);
  color: #1b1c1c;
  padding: 0.8rem 1.2rem;
  z-index: 2000;
  font-weight: 600;
  font-size: 0.85rem;
}

.skip-link:focus { left: var(--space-3); top: var(--space-3); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 2px;
}

.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;
}

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


/* ==========================================================================
   21. RESPONSIVE
   ========================================================================== */

@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1.2fr 1fr 1fr; row-gap: var(--space-6); }
  .footer-col:nth-child(4) { grid-column: 1; }
  .footer-col:nth-child(5) { grid-column: 2 / span 2; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn--primary { display: none; }

  .site-header.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 84px; left: 0; right: 0;
    background: rgba(20,20,20,0.98);
    border-bottom: 1px solid var(--color-hairline);
    padding: var(--space-4) var(--container-pad) var(--space-5);
    gap: var(--space-3);
  }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 340px; margin: 0 auto; order: -1; }
  .hero-meta { flex-wrap: wrap; gap: var(--space-4); }
  .hero-meta-item { flex: 0 0 45%; }

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

  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(2), .stat:nth-child(4) { border-left: 1px solid var(--color-hairline); }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--color-hairline); }

  .industry-grid { grid-template-columns: repeat(2, 1fr); }

  .service-block-head { flex-direction: column; gap: var(--space-3); }
  .service-detail-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .subtrack-grid { grid-template-columns: 1fr; }
  .subtrack-group--nested { padding-left: var(--space-4); }
  .track-grid { grid-template-columns: 1fr; }
  .audit-grid { grid-template-columns: 1fr; }
  .photo-banner img { aspect-ratio: 16/10; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .photo-feature { aspect-ratio: 16/10; margin-top: var(--space-6); }

  .insight-featured { grid-template-columns: 1fr; }

  .contact-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  :root { --container-pad: 1.1rem; }
  .section { padding: var(--space-7) 0; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .approach-item { grid-template-columns: 1fr; gap: var(--space-2); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .newsletter-band { flex-direction: column; align-items: stretch; }
  .newsletter-form { max-width: 100%; }
  .hero-meta-item { flex: 0 0 100%; }
  .logo-wall { grid-template-columns: 1fr 1fr; }
  .logo-tile { min-height: 110px; padding: var(--space-4); }
  .logo-tile img { max-height: 46px; }
  .call-us { padding: 0.5rem; }
  .call-us-label { display: none; }
}
