@charset "UTF-8";

/* ============================================================
   COGNOSCERE ASSOCIATES -- MAIN STYLESHEET
   v43 -- Three-act structure + comprehensive scroll reveal animations, hero repositioned, NED 2-col, transitions refined
   Design standard: Wolff Olins / Moving Brands / Pentagram
   Primary accent: #C9A84C (Gold)
   ============================================================ */


/* ---------------------------------------------
   1. DESIGN TOKENS
   --------------------------------------------- */
:root {
  /* -- Gold Brand Palette -- */
  --gold:        #C9A84C;   /* Primary -- 4.5:1+ on white AA        */
  --gold-mid:    #D4B05E;   /* Mid -- hover on light bg               */
  --gold-light:  #DFC07A;   /* Light -- secondary accents             */
  --gold-pale:   #EDD49A;   /* Pale -- accents on DARK backgrounds    */
  --gold-ultra:  #FBF6E9;   /* Ultra-pale -- very subtle tints        */
  --gold-dark:   #8C6B24;   /* Dark -- strong emphasis                */
  --gold-bg:     rgba(201, 168, 76, 0.07);
  --gold-border: rgba(201, 168, 76, 0.20);

  /* -- Deep Dark Palette -- */
  --navy:          #0D1B2A;
  --navy-mid:      #1A2E44;
  --navy-light:    #243B55;

  /* -- Neutrals -- */
  --white:         #FFFFFF;
  --off-white:     #FAFAFA;
  --warm-white:    #F7F5F3;
  --light-grey:    #EEF0F4;
  --mid-grey:      #9AA3B0;
  --text:          #0F1923;
  --text-body:     #374151;
  --text-light:    #4A5568;
  --text-muted:    #6B7280;
  --border:        #E4E7EB;
  --border-strong: #CDD2DA;

  /* -- Danger -- */
  --danger:        #C53030;
  --danger-bg:     rgba(239, 68, 68, 0.06);
  --danger-border: rgba(239, 68, 68, 0.25);

  /* -- Radii -- */
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   24px;
  --r-xl:   32px;
  --r-full: 9999px;

  /* -- Elevation -- */
  --shadow-xs:  0 1px 2px rgba(15, 25, 35, 0.06);
  --shadow-sm:  0 2px 8px rgba(15, 25, 35, 0.07), 0 1px 2px rgba(15, 25, 35, 0.05);
  --shadow-md:  0 8px 24px rgba(15, 25, 35, 0.09), 0 2px 6px rgba(15, 25, 35, 0.06);
  --shadow-lg:  0 24px 56px rgba(15, 25, 35, 0.13), 0 6px 16px rgba(15, 25, 35, 0.07);
  --shadow-xl:  0 40px 80px rgba(15, 25, 35, 0.16), 0 12px 28px rgba(15, 25, 35, 0.08);
  --shadow-gold: 0 12px 40px rgba(201, 168, 76, 0.35);

  /* -- Motion -- */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:    160ms;
  --dur-base:    260ms;
  --dur-slow:    400ms;

  /* -- Layout -- */
  --max-width:   1220px;
  --header-h:    76px;
}


/* ---------------------------------------------
   2. RESET & BASE
   --------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

/* Prevent horizontal scroll globally */
html, body { overflow-x: hidden; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }


/* ---------------------------------------------
   3. ACCESSIBILITY
   --------------------------------------------- */

/* Skip link */
.skip-link {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 9999;
  transition: top var(--dur-base);
}
.skip-link:focus { top: 0; }

/* Global focus ring -- override browser defaults */
:focus { outline: none; }

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

/* Reduced-motion: disable ALL animations & transitions */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration:        0.01ms !important;
    animation-iteration-count: 1      !important;
    transition-duration:       0.01ms !important;
    scroll-behavior:           auto   !important;
  }
}


/* ---------------------------------------------
   4. LAYOUT UTILITIES
   --------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
}

.section {
  padding: 120px 0;
  position: relative;   /* needed for ::after wave transitions */
}

.section--alt  { background: var(--off-white); }
.section--tint { background: var(--gold-ultra); }
.section--dark {
  background: var(--navy);
  color: var(--white);
  position: relative;
  /* Transition handled by ::after gradient fade + wave */
  z-index: 1;
}

/* Fix: keep section content above the ::after wave overlay */
.section--dark > .container {
  position: relative;
  z-index: 3;
}


/* NED section: extra bottom padding so value-props content clears the 440px wave zone */
#ned {
  padding-bottom: 280px;
}

/* Wave + fade transition: navy dissolves into off-white -- very gradual */
.section--dark::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 260px;
  background: linear-gradient(
    to bottom,
    #0D1B2A  0%,
    #0D1B2A  6%,
    #FAFAFA  97%,
    #FAFAFA  100%
  );
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 260' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0,104 C480,52 960,117 1440,78 L1440,260 L0,260 Z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 260' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0,104 C480,52 960,117 1440,78 L1440,260 L0,260 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  pointer-events: none;
  z-index: 2;
}

/* ---- Light section wave transitions (subtle organic dividers) ---- */
/* Shared properties for all light-section ::after waves */
#advisory::after,
#why::after,
#credentials::after,
#about::after,
#testimonials::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 140px;
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
  /* Wave shape for 140px height */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0,56 C480,28 960,63 1440,42 L1440,140 L0,140 Z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0,56 C480,28 960,63 1440,42 L1440,140 L0,140 Z'/%3E%3C/svg%3E");
}

/* Advisory (white #FFFFFF) -> Why (gold-tint #FBF6E9) */
#advisory::after {
  background: linear-gradient(to bottom, #FFFFFF 0%, #FFFFFF 22%, #FBF6E9 92%, #FBF6E9 100%);
}

/* Why (gold-tint #FBF6E9) -> Credentials (white #FFFFFF) */
#why::after {
  background: linear-gradient(to bottom, #FBF6E9 0%, #FBF6E9 22%, #FFFFFF 92%, #FFFFFF 100%);
}

/* Credentials (white #FFFFFF) -> About (gold-tint #FBF6E9) */
#credentials::after {
  background: linear-gradient(to bottom, #FFFFFF 0%, #FFFFFF 22%, #FBF6E9 92%, #FBF6E9 100%);
}

/* About (gold-tint #FBF6E9) -> Testimonials (white #FFFFFF) */
#about::after {
  background: linear-gradient(to bottom, #FBF6E9 0%, #FBF6E9 22%, #FFFFFF 92%, #FFFFFF 100%);
}

/* Testimonials (white #FFFFFF) -> Contact (off-white #FAFAFA) */
#testimonials::after {
  background: linear-gradient(to bottom, #FFFFFF 0%, #FFFFFF 22%, #FAFAFA 92%, #FAFAFA 100%);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-top: 20px;
}

/* -- Eyebrow tag -- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: 20px;
}

.section-tag--light {
  color: var(--gold-pale);
  background: rgba(201, 168, 76, 0.14);
  border-color: rgba(201, 168, 76, 0.25);
}


/* ---------------------------------------------
   5. TYPOGRAPHY SCALE
   --------------------------------------------- */
h1, h2 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.02em;
}

h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: -0.01em;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }

/* Fluid type scale */
h1 { font-size: clamp(3rem, 7.5vw, 6rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
h4 { font-size: 0.95rem; }

p { margin-bottom: 0; }

/* Italic Playfair for pullquotes */
em { font-style: italic; }


/* ---------------------------------------------
   6. BUTTONS
   --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--r-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition:
    background   var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    color        var(--dur-base) var(--ease-out),
    transform    var(--dur-base) var(--ease-out),
    box-shadow   var(--dur-base) var(--ease-out);
  will-change: transform;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--gold-pale);
  color: var(--gold-pale);
  background: rgba(201, 168, 76, 0.1);
}

.btn--light-bg { margin-top: 8px; }
.btn-full      { width: 100%; }


/* ---------------------------------------------
   7. NAVIGATION
   --------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 24px rgba(0,0,0,0.2);
  transition:
    background   var(--dur-slow) var(--ease-in-out),
    box-shadow   var(--dur-slow) var(--ease-in-out),
    height       var(--dur-base) var(--ease-out);
}

.site-header.scrolled {
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 24px rgba(0,0,0,0.3);
  height: 64px;
}

.nav-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-links a {
  position: relative;
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--r-xs);
  transition: color var(--dur-base) var(--ease-out);
  white-space: nowrap;
}

/* Sliding underline */
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--gold-pale);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-base) var(--ease-out);
  border-radius: 2px;
}

.nav-links a:not(.nav-cta):hover {
  color: var(--white);
}
.nav-links a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

/* CTA pill */
.nav-cta {
  background: var(--gold)  !important;
  color:      var(--white)   !important;
  font-weight: 700           !important;
  padding: 8px 18px          !important;
  border-radius: var(--r-sm) !important;
  transition: background var(--dur-base) var(--ease-out),
              transform  var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out) !important;
}
.nav-cta:hover {
  background: var(--gold-dark) !important;
  transform: translateY(-1px)     !important;
  box-shadow: 0 6px 20px rgba(201,168,76,0.4) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--r-xs);
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out),
              opacity   var(--dur-base) var(--ease-out);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg);  }
.nav-toggle.is-open span:nth-child(2) { opacity: 0;                                }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ---------------------------------------------
   8. HERO  -- split layout: text left, portrait right
   --------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
}

/* Deep layered background -- no photo, no orbs, clean navy */
.hero-bg {
  position: absolute;
  inset: 0;
  /* Boardroom scene: desaturated photo with navy tint via the ::after overlay.
     Falls back to plain navy if the image is absent. */
  background-image: url('../hero-bg.jpg');
  background-size: cover;
  background-position: 18% center;
  /* Fallback navy in case image is not yet present */
  background-color: var(--navy);
  pointer-events: none;
}

/* Left-to-right gradient overlay: dark navy for text legibility on left,
   progressively revealing the boardroom scene toward the right */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(13,27,42,0.96) 0%,
    rgba(13,27,42,0.90) 35%,
    rgba(13,27,42,0.80) 58%,
    rgba(13,27,42,0.68) 100%
  );
  pointer-events: none;
}

/* Subtle geometric grid on desktop only */
@media (min-width: 900px) {
  .hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 65% 70% at 30% 50%, black 10%, transparent 70%);
    pointer-events: none;
  }
}

/* Hero::after -- film grain texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.030;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  mix-blend-mode: overlay;
}

.hero-outer {
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ---- SPLIT GRID: text left, portrait right, boardroom scene as background ---- */
.hero-content {
  padding-top:    140px;
  padding-bottom: 100px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 72px;
  align-items: center;
}

/* Left: text column */
.hero-text { min-width: 0; }

/* Eyebrow badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-pale);
  border: 1px solid rgba(201,168,76,0.30);
  background: rgba(201,168,76,0.10);
  padding: 8px 18px;
  border-radius: var(--r-full);
  margin-bottom: 32px;
  animation: hero-up 0.7s var(--ease-out) 0.15s both;
}

/* Headline */
.hero h1 {
  color: var(--white);
  margin-bottom: 28px;
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 18ch;
  animation: hero-up 0.8s var(--ease-out) 0.3s both;
}

.hero h1 span { color: var(--gold-pale); }

/* Subtitles */
.hero-sub {
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  color: rgba(255,255,255,0.70);
  max-width: 580px;
  line-height: 1.80;
  margin-bottom: 16px;
  font-weight: 400;
  animation: hero-up 0.8s var(--ease-out) 0.45s both;
}

.hero-sub--secondary {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 48px;
  font-style: italic;
  animation: hero-up 0.8s var(--ease-out) 0.55s both;
}

/* CTA row */
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 72px;
  animation: hero-up 0.8s var(--ease-out) 0.65s both;
}

/* Stats strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  animation: hero-up 0.7s var(--ease-out) 0.80s both;
}

.stat {
  padding: 0 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid rgba(255,255,255,0.07);
  min-width: 0;
}

.stat:first-child  { padding-left: 0; }
.stat:last-child   { border-right: none; }

.stat-num {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(0.78rem, 0.9vw, 0.95rem);
  color: var(--gold-pale);
  line-height: 1.25;
}

.stat-label {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.4;
  font-weight: 400;
}

/* ---- RIGHT COLUMN: PORTRAIT ---- */
.hero-portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: hero-up 0.9s var(--ease-out) 0.50s both;
}

.hero-portrait-frame {
  width: 320px;
  height: 400px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.30);
  box-shadow:
    0 0 0 6px rgba(201,168,76,0.07),
    0 0 0 12px rgba(201,168,76,0.03),
    0 32px 80px rgba(0,0,0,0.55),
    0 8px 24px rgba(0,0,0,0.30);
  position: relative;
}

/* Inner vignette to blend portrait into dark background at edges */
.hero-portrait-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 60px rgba(9,18,36,0.35);
  pointer-events: none;
  z-index: 1;
}

.hero-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  filter: brightness(0.92) contrast(1.04) saturate(0.90);
}

/* Thin gold rule below portrait */
.hero-portrait-rule {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom,
    rgba(201,168,76,0.55) 0%,
    transparent 100%);
}

/* Hero entrance animations */
@keyframes hero-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ---------------------------------------------
   9. TRUST BAR
   --------------------------------------------- */
.trust-bar {
  background: var(--navy-mid);
  padding: 20px 0;
  border-top:    1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  /* Shadow drapes onto the first content section below */
  box-shadow: 0 12px 48px rgba(13,27,42,0.22), 0 3px 12px rgba(13,27,42,0.12);
  position: relative;
  z-index: 1;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 4px 0;
}

.trust-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  white-space: nowrap;
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid rgba(255,255,255,0.10);
}

/* Static, clean sector list */
.trust-items {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-items span {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255,255,255,0.50);
  white-space: nowrap;
  padding: 4px 16px;
  letter-spacing: 0.02em;
  transition: color var(--dur-base);
}
.trust-items span:not(.sep):hover { color: var(--gold-pale); }

.trust-items .sep {
  color: rgba(201,168,76,0.35);
  font-size: 0.6rem;
  padding: 0;
}


/* ---------------------------------------------
   10. EXPERTISE CARDS
   --------------------------------------------- */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}

.expertise-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  display: flex;
  gap: 28px;
  transition:
    border-color var(--dur-slow) var(--ease-out),
    box-shadow   var(--dur-slow) var(--ease-out),
    transform    var(--dur-slow) var(--ease-out);
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.expertise-card:hover {
  border-color: var(--gold);
  box-shadow:
    0 0 0 1px rgba(201,168,76,0.38),
    0 16px 48px rgba(201,168,76,0.14),
    0 4px 16px rgba(13,27,42,0.10);
  transform: translateY(-5px);
}

/* Icon badge */
.expertise-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: background var(--dur-base), transform var(--dur-base) var(--ease-out);
}
.expertise-card:hover .expertise-icon {
  background: var(--gold);
  color: var(--white);
  transform: scale(1.05);
}

.expertise-icon svg { width: 26px; height: 26px; }

.expertise-body { flex: 1; min-width: 0; }

.expertise-body h3 {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 12px;
}

.expertise-body > p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.72;
  margin-bottom: 20px;
}

.expertise-list {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.expertise-list li {
  font-size: 0.81rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.expertise-list li::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
  opacity: 0.6;
}


/* ---------------------------------------------
   11. ABOUT
   --------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 96px;
  align-items: start;
}

.about-text .section-tag { margin-bottom: 20px; }

.about-text h2 {
  margin-bottom: 32px;
  color: var(--text);
}

.about-text p {
  color: var(--text-body);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.82;
}

.about-quote {
  margin-top: 40px;
  padding: 28px 32px;
  border-left: 3px solid var(--gold);
  background: var(--gold-bg);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.about-quote blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 14px;
}

.about-quote cite {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  font-style: normal;
  letter-spacing: 0.02em;
}

/* Profile card */
.profile-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.profile-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(140deg, var(--gold-dark) 0%, var(--gold-mid) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow:
    0 0 0 3px rgba(201,168,76,0.2),
    0 0 0 7px rgba(201,168,76,0.07);
}
.profile-avatar svg { width: 44px; height: 44px; }

.profile-card h3 {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 4px;
}

.profile-title {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.4;
}

.cpd-topics         { margin-top: 16px; text-align: left; }
.cpd-topics__label  {
  font-size: 0.67rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.cpd-topic-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.cpd-topic-list li {
  font-size: 0.79rem;
  color: var(--text-body);
  padding-left: 1.2em;
  position: relative;
  line-height: 1.45;
}
.cpd-topic-list li::before {
  content: '->';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.68rem;
  top: 0.12em;
}

.cpd-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 18px;
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  line-height: 1.6;
}

.profile-quals {
  text-align: left;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.qual { display: flex; flex-direction: column; gap: 3px; }

.qual-inst {
  font-size: 0.81rem;
  font-weight: 700;
  color: var(--text);
}
.qual-detail {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.profile-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0077B5;
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--r-sm);
  font-size: 0.82rem;
  font-weight: 600;
  width: 100%;
  transition: background var(--dur-base);
}
.profile-linkedin:hover { background: #005F93; }
.profile-linkedin svg   { width: 16px; height: 16px; }


/* ---------------------------------------------
   12. CREDENTIALS
   --------------------------------------------- */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.credential-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 22px;
  transition:
    background     var(--dur-slow) var(--ease-out),
    border-color   var(--dur-slow) var(--ease-out),
    box-shadow     var(--dur-slow) var(--ease-out),
    transform      var(--dur-slow) var(--ease-out);
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.credential-item:hover {
  border-color: var(--gold);
  box-shadow:
    0 0 0 1px rgba(201,168,76,0.38),
    0 16px 48px rgba(201,168,76,0.14),
    0 4px 16px rgba(13,27,42,0.10);
  transform: translateY(-5px);
}

.credential-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
  line-height: 1;
}

/* now h3 after heading-hierarchy fix */
.credential-item h3,
.credential-item h4 {
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}
.credential-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.68;
}

/* Timeline */
.timeline-section { margin-top: 40px; }

.timeline-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.01em;
}

.timeline {
  position: relative;
  padding-left: 36px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom,
    var(--gold) 0%,
    rgba(201,168,76,0.15) 100%);
}

.timeline-item {
  position: relative;
  padding-bottom: 44px;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -30px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline-content { padding-left: 8px; }

.timeline-date {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.timeline-content h4 {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}
.timeline-content p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.72;
}


/* ---------------------------------------------
   13. NED & ADVISORY  (dark section)
   --------------------------------------------- */
.ned-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: start;
}

.ned-text h2 { letter-spacing: -0.02em; margin-bottom: 24px; }

.ned-text > p {
  color: rgba(255,255,255,0.70);
  margin-bottom: 20px;
  line-height: 1.82;
  font-size: 0.97rem;
}

.ned-value-props {
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 28px 80px;
}

.ned-prop { display: flex; gap: 18px; align-items: flex-start; }

.ned-prop-icon {
  width: 6px;
  height: 6px;
  background: var(--gold-pale);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 10px;
  font-size: 0;
}

.ned-prop h4  { font-size: 0.92rem; color: var(--gold-pale); margin-bottom: 5px; }
.ned-prop p   { font-size: 0.90rem; color: rgba(255,255,255,0.82); line-height: 1.68; }

.ned-sectors {
  padding: 18px 22px;
  background: rgba(201,168,76,0.10);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--r-sm);
  margin-bottom: 32px;
}
.ned-sectors p     { font-size: 0.87rem; color: rgba(255,255,255,0.80); line-height: 1.7; }
.ned-sectors strong{ color: var(--gold-pale); }

/* NED credential box */
.ned-credentials {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.ned-credentials h3 {
  font-size: 0.97rem;
  color: var(--white);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  line-height: 1.5;
}

.ned-credential-list { display: flex; flex-direction: column; gap: 18px; }

.ned-cred-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
}

.ned-cred-check {
  color: var(--gold-pale);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.85rem;
  margin-top: 1px;
}


/* ---------------------------------------------
   14. WHY US
   --------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-item {
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white);
  transition:
    border-color var(--dur-slow) var(--ease-out),
    box-shadow   var(--dur-slow) var(--ease-out),
    transform    var(--dur-slow) var(--ease-out);
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.why-item:hover {
  border-color: var(--gold);
  box-shadow:
    0 0 0 1px rgba(201,168,76,0.38),
    0 16px 48px rgba(201,168,76,0.14),
    0 4px 16px rgba(13,27,42,0.10);
  transform: translateY(-5px);
}

.why-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(201,168,76,0.12);
  line-height: 1;
  margin-bottom: 20px;
  transition: color var(--dur-slow);
}
.why-item:hover .why-num { color: rgba(201,168,76,0.22); }

.why-item h3 { font-size: 0.97rem; color: var(--text); margin-bottom: 12px; }
.why-item p  { font-size: 0.86rem; color: var(--text-muted); line-height: 1.72; }


/* ---------------------------------------------
   15. CONTACT
   --------------------------------------------- */

/* Keep contact content above footer wave overlay */
.contact-section {
  position: relative;
  z-index: 2;   /* stacks ::after above the footer (z-index:1) */
}
.contact-section > .container {
  position: relative;
  z-index: 3;
}

/* Wave transition: contact section (white) dissolves into footer (navy).
   Mirrors the NED::after pattern — wave fills BELOW the crest, gradient white→navy */
.contact-section::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(
    to bottom,
    #FFFFFF  0%,
    #FFFFFF  5%,
    #0D1B2A  90%,
    #0D1B2A  100%
  );
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0,70 C480,110 960,55 1440,85 L1440,180 L0,180 Z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0,70 C480,110 960,55 1440,85 L1440,180 L0,180 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  pointer-events: none;
  z-index: 2;
}

/* Contact section: natural .section padding (120px) is sufficient */

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

.contact-text h2 { margin-bottom: 20px; }

.contact-text > p {
  color: var(--text-body);
  margin-bottom: 48px;
  line-height: 1.82;
  font-size: 0.97rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-icon {
  width: 46px;
  height: 46px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  transition:
    background   var(--dur-base),
    transform    var(--dur-base) var(--ease-out);
}
.contact-item:hover .contact-icon {
  background: var(--gold);
  color: var(--white);
  transform: scale(1.06);
}

.contact-icon svg { width: 18px; height: 18px; }

.contact-label {
  display: block;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 3px;
}

.contact-value {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--dur-base);
}
a.contact-value:hover { color: var(--gold); }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--off-white);
  transition:
    border-color var(--dur-base),
    background   var(--dur-base),
    box-shadow   var(--dur-base);
  outline: none;
}

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

.form-group textarea {
  resize: vertical;
  line-height: 1.65;
  min-height: 120px;
}

/* Placeholder contrast: #767F8C passes 4.6:1 on #FAFAFA (off-white bg) */
.form-group input::placeholder,
.form-group textarea::placeholder { color: #767F8C; }

.form-note {
  text-align: center;
  font-size: 0.77rem;
  color: var(--mid-grey);
  margin-top: 14px;
  line-height: 1.5;
}

/* Form success state */
.form-success { text-align: center; padding: 3rem 1.5rem; }
.form-success__icon {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
}
.form-success h3  { font-size: 1.3rem; color: var(--text); margin-bottom: 0.5rem; }
.form-success p   { color: var(--text-muted); font-size: 0.93rem; line-height: 1.6; }


/* ---------------------------------------------
   16. TESTIMONIALS
   --------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 56px;
  align-items: start;
}

/* Left column wrapper — stacks Ian Finch + compact cards vertically */
.testimonial-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition:
    border-color var(--dur-slow) var(--ease-out),
    box-shadow   var(--dur-slow) var(--ease-out),
    transform    var(--dur-slow) var(--ease-out);
  will-change: transform;
}

/* Compact cards for supporting quotes */
.testimonial-card--compact {
  padding: 28px 32px;
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
}
.testimonial-card--compact .testimonial-quote {
  font-size: 2.6rem;
  margin-bottom: -6px;
}
.testimonial-card--compact blockquote {
  font-size: 0.88rem;
  line-height: 1.72;
}
.testimonial-card--compact .testimonial-attr {
  padding-top: 14px;
}
.testimonial-card--compact .testimonial-name { font-size: 0.86rem; }
.testimonial-card--compact .testimonial-role { font-size: 0.78rem; }

.testimonial-card:not(.testimonial-card--pending):hover {
  border-color: var(--gold);
  box-shadow:
    0 0 0 1px rgba(201,168,76,0.38),
    0 16px 48px rgba(201,168,76,0.14),
    0 4px 16px rgba(13,27,42,0.10);
  transform: translateY(-5px);
}

.testimonial-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.18;
  margin-bottom: -10px;
}

.testimonial-card blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.97rem;
  line-height: 1.82;
  color: var(--text-body);
  font-style: italic;
  flex: 1;
}

.testimonial-pending-text {
  color: var(--text-muted) !important;
  opacity: 0.45;
}

.testimonial-attr {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-name { font-weight: 700; font-size: 0.92rem; color: var(--text); }
.testimonial-role { font-size: 0.82rem; color: var(--text-muted); }

.testimonial-linkedin {
  font-size: 0.77rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: 6px;
  transition: color var(--dur-base);
}
.testimonial-linkedin:hover { color: var(--gold-dark); }

/* Rachel Brady: spans both columns as a full-width bottom row */
.testimonial-card--full-width {
  grid-column: 1 / -1;
}

.testimonial-card--pending {
  border: 1.5px dashed var(--border);
  background: var(--off-white);
  box-shadow: none;
}


/* ---------------------------------------------
   17. FOOTER
   --------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: var(--white);
  position: relative;
  z-index: 1;
}

/* Footer ::before neutralised — wave is handled by .contact-section::after below */
.site-footer::before {
  display: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 130px clamp(20px, 4vw, 64px) 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: start;
}

.footer-brand { max-width: 360px; }
.footer-brand p {
  margin-top: 18px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}

.footer-links { display: flex; gap: 72px; }

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col a  {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.72);
  transition: color var(--dur-base);
}
.footer-col a:hover { color: var(--gold-pale); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px clamp(20px, 4vw, 64px);
}

.footer-bottom .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p    { font-size: 0.77rem; color: rgba(255,255,255,0.50); }
.footer-tagline     { font-style: italic; }

.footer-legal {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.38);
  margin-top: 0.75rem;
  line-height: 1.8;
}
.footer-legal a  { color: rgba(255,255,255,0.50); transition: color var(--dur-base); }
.footer-legal a:hover { color: var(--gold-pale); }


/* ---------------------------------------------
   18. SPECIAL COMPONENTS
   --------------------------------------------- */

/* Cyber / ransomware callout */
.ransomware-callout {
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  border-left: 3px solid var(--danger);
  border-radius: var(--r-sm);
  padding: 18px 20px;
  margin: 20px 0 24px;
}
.ransomware-callout__header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--danger);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ransomware-callout__header svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: var(--danger);
}
.ransomware-callout p        { font-size: 0.83rem; color: var(--text-light); line-height: 1.65; }
.ransomware-callout p strong { color: var(--danger); }

.credential-item--highlight {
  border-color: var(--danger-border);
  background: var(--danger-bg);
}
.credential-item--highlight h4 { color: var(--danger); }

.cyber-real-world-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-left: 3px solid var(--gold);
  padding-left: 0.75rem;
  margin-top: 1rem;
  font-style: italic;
}

/* NED prior roles */
.ned-prior-roles  { margin: 28px 0 32px; }

.ned-prior-title {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  margin-bottom: 16px;
}

.ned-role-item {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: var(--r-sm);
  padding: 20px 22px;
  margin-bottom: 12px;
  transition:
    background   var(--dur-base),
    border-color var(--dur-base);
}
.ned-role-item:hover {
  border-color: rgba(201,168,76,0.65);
  box-shadow:
    0 0 0 1px rgba(201,168,76,0.28),
    0 8px 32px rgba(201,168,76,0.14);
  background: rgba(201,168,76,0.10);
}
.ned-role-item:last-child { margin-bottom: 0; }

.ned-role-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.ned-role-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold-pale);
  color: var(--navy);
  padding: 3px 10px;
  border-radius: var(--r-full);
  flex-shrink: 0;
}

.ned-role-sector { font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.82); }
.ned-role-item p { font-size: 0.90rem; color: rgba(255,255,255,0.82); line-height: 1.68; }


/* ---------------------------------------------
   19. SCROLL REVEAL ANIMATIONS
       All use transform + opacity only (GPU)
   --------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity   0.65s var(--ease-out),
    transform 0.65s var(--ease-out);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.expertise-grid .expertise-card:nth-child(1) { transition-delay: 0.06s; }
.expertise-grid .expertise-card:nth-child(2) { transition-delay: 0.12s; }
.expertise-grid .expertise-card:nth-child(3) { transition-delay: 0.18s; }
.expertise-grid .expertise-card:nth-child(4) { transition-delay: 0.24s; }

.credentials-grid .credential-item:nth-child(2) { transition-delay: 0.06s; }
.credentials-grid .credential-item:nth-child(3) { transition-delay: 0.12s; }
.credentials-grid .credential-item:nth-child(4) { transition-delay: 0.18s; }
.credentials-grid .credential-item:nth-child(5) { transition-delay: 0.24s; }
.credentials-grid .credential-item:nth-child(6) { transition-delay: 0.30s; }
.credentials-grid .credential-item:nth-child(7) { transition-delay: 0.36s; }
.credentials-grid .credential-item:nth-child(8) { transition-delay: 0.42s; }

.why-grid .why-item:nth-child(2) { transition-delay: 0.07s; }
.why-grid .why-item:nth-child(3) { transition-delay: 0.14s; }
.why-grid .why-item:nth-child(4) { transition-delay: 0.21s; }

/* NED bullet props */
.ned-value-props .ned-prop:nth-child(2) { transition-delay: 0.07s; }
.ned-value-props .ned-prop:nth-child(3) { transition-delay: 0.14s; }
.ned-value-props .ned-prop:nth-child(4) { transition-delay: 0.21s; }
.ned-value-props .ned-prop:nth-child(5) { transition-delay: 0.28s; }
.ned-value-props .ned-prop:nth-child(6) { transition-delay: 0.35s; }

/* Timeline items */
.timeline .timeline-item:nth-child(2) { transition-delay: 0.08s; }
.timeline .timeline-item:nth-child(3) { transition-delay: 0.16s; }
.timeline .timeline-item:nth-child(4) { transition-delay: 0.24s; }
.timeline .timeline-item:nth-child(5) { transition-delay: 0.32s; }
.timeline .timeline-item:nth-child(6) { transition-delay: 0.40s; }

/* Testimonials grid */
.testimonials-grid > *:nth-child(2) { transition-delay: 0.09s; }
.testimonials-grid > *:nth-child(3) { transition-delay: 0.18s; }


/* ---------------------------------------------
   20. RESPONSIVE
   --------------------------------------------- */

@media (max-width: 1200px) {
  .ned-grid { grid-template-columns: 1fr; gap: 56px; }
  .ned-credentials { position: static; }
  .ned-value-props { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .expertise-grid     { grid-template-columns: 1fr; }
  .credentials-grid   { grid-template-columns: repeat(2, 1fr); }
  .why-grid           { grid-template-columns: repeat(2, 1fr); }
  .hero-stats         { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .section { padding: 88px 0; }
  .about-grid  { grid-template-columns: 1fr; gap: 56px; }
  .profile-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
}

@media (max-width: 800px) {
  /* Show hamburger */
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(13,27,42,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 12px 20px 24px;
    gap: 2px;
    border-top: 1px solid rgba(255,255,255,0.06);
    box-shadow: var(--shadow-xl);
  }
  .nav-links.nav-open { display: flex; }
  .nav-links a        { padding: 12px 16px; display: block; width: 100%; }

  /* Hero */
  .hero-content {
    padding-top: 130px;
    padding-bottom: 72px;
    grid-template-columns: 1fr;
  }
  .hero-portrait { display: none; }
  .hero h1 { font-size: clamp(2.2rem, 7vw, 3rem); letter-spacing: -0.02em; }
  .hero-sub { font-size: 0.97rem; }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    border-top: none;
    padding-top: 0;
  }
  .stat {
    padding: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--r-sm);
    border-right: none;
  }

  /* Grids */
  .expertise-card     { flex-direction: column; gap: 20px; }
  .expertise-icon     { width: 46px; height: 46px; min-width: 46px; }
  .credentials-grid   { grid-template-columns: 1fr 1fr; }
  .why-grid           { grid-template-columns: 1fr 1fr; }
  .testimonials-grid  { grid-template-columns: 1fr; }
  .testimonial-card   { padding: 36px 28px; }
  .form-row           { grid-template-columns: 1fr; }
  .contact-form-wrap  { padding: 36px 28px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 48px; padding: 64px clamp(20px, 4vw, 40px) 44px; }
  .footer-links { flex-direction: column; gap: 36px; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 540px) {
  :root { --header-h: 64px; }

  .section { padding: 64px 0; }

  .hero-content { padding-top: 112px; padding-bottom: 56px; }
  .hero h1      { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero-sub--secondary { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-stats   { grid-template-columns: 1fr; }

  .section-header { margin-bottom: 48px; }
  .credentials-grid { grid-template-columns: 1fr; }
  .why-grid         { grid-template-columns: 1fr; }

  .contact-form-wrap { padding: 28px 20px; }

  .about-grid   { gap: 40px; }
  .about-quote  { padding: 20px 22px; }

  .footer-inner { padding: 52px 20px 40px; }
  .footer-legal { text-align: left; }
  .footer-bottom .container { padding: 0; }
}

/* ── ADVISORY SERVICES SECTION ── */
#advisory .expertise-grid {
  display: block;
  margin-top: 40px;
  border-top: 1px solid var(--border);
}

.adv-card {
  display: grid;
  grid-template-columns: 240px 1fr 220px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  border: 1px solid transparent;
  border-bottom-color: var(--border);
  border-radius: var(--r-md);
  padding: 32px 24px;
  gap: 0;
  transition:
    border-color var(--dur-slow) var(--ease-out),
    box-shadow   var(--dur-slow) var(--ease-out),
    transform    var(--dur-slow) var(--ease-out),
    background   var(--dur-base);
  will-change: transform;
}
.adv-card:hover {
  background: rgba(201,168,76,0.02);
  border-color: var(--gold);
  box-shadow:
    0 0 0 1px rgba(201,168,76,0.38),
    0 16px 48px rgba(201,168,76,0.14),
    0 4px 16px rgba(13,27,42,0.10);
  transform: translateY(-3px);
}
.adv-card:last-child {
  border-bottom: none;
}

/* Column 1: icon + title */
.adv-col-title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-right: 32px;
}
.adv-icon {
  font-size: 26px;
  flex-shrink: 0;
  margin-top: 2px;
}
.adv-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin: 0;
}

/* Column 2: description */
.adv-col-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.75;
  padding: 0 36px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

/* Column 3: bullet list */
.adv-col-list {
  padding-left: 32px;
}
.adv-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.adv-list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.adv-list li::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .adv-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .adv-col-desc {
    border: none;
    padding: 0;
  }
  .adv-col-list {
    padding-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 16px;
  }
}

/* ── ALTERNATING SECTION BACKGROUNDS (matches wave transition colours) ── */
#why         { background: var(--gold-ultra); }
#about       { background: var(--gold-ultra); }
