/* Self-hosted brand fonts: Archivo ExtraBold (display) + Manrope (text). No Google Fonts CDN, see VULN-004 */
@font-face{font-family:"Manrope";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/manrope-400.woff2") format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/manrope-500.woff2") format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/manrope-600.woff2") format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/manrope-700.woff2") format("woff2")}
@font-face{font-family:"Archivo";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/archivo-700.woff2") format("woff2")}
@font-face{font-family:"Archivo";font-style:normal;font-weight:800;font-display:swap;src:url("../fonts/archivo-800.woff2") format("woff2")}

/* =========================================================
   ENYXUM LANKA
   Brand theme: Ocean Ink navy + SOC teal + Foam off-white.
   Animated, accessible, responsive. No build step.
   ========================================================= */

:root {
  /* Enyxum Lanka brand pack (primary: navy / teal / off-white; secondary: sky / mint / grey) */
  --brand-navy: #0B2239;
  --brand-teal: #14B8A6;
  --brand-offwhite: #F2F6F6;
  --brand-sky: #BFDFF8;
  --brand-mint: #CCFBF1;
  --brand-grey: #666666;

  /* surfaces */
  --bg: #ffffff;
  --bg-soft: #F2F6F6;       /* brand off-white band */
  --bg-tint: #E8FAF6;       /* faint mint tint */
  --surface: #ffffff;
  --surface-2: #F5F8F8;
  --border: #DCE5E7;
  --border-strong: #C3D1D4;

  /* brand roles. Brand teal (#14B8A6) is only 2.5:1 on white, so text/white-on-fill
     uses the deep teal below (5.5:1); the bright teal is used for fills, accents and glows. */
  --navy: #0B2239;          /* headings + dark surfaces */
  --navy-2: #12304D;
  --primary: #0F766E;       /* deep brand teal: AA with white text */
  --primary-dark: #0B5E58;
  --primary-ink: #0F766E;   /* small teal text on white */
  --primary-glow: rgba(20, 184, 166, 0.28);
  --accent: #14B8A6;        /* brand teal */
  --accent-ink: #0F766E;
  --text: #13263A;
  --muted: #666666;         /* brand grey (5.7:1 on white) */
  --success: #0e9e6e;
  --success-dot: #18c98a;

  /* type */
  --font-head: "Archivo", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  /* Brand type is two families only (Archivo + Manrope). "--font-mono" is kept as the name of the
     small uppercase label style (eyebrows, breadcrumbs, labels) and now uses Manrope. */
  --font-mono: "Manrope", system-ui, sans-serif;

  /* shadows */
  --shadow-sm: 0 2px 10px rgba(11,34,57, 0.05);
  --shadow: 0 14px 40px rgba(11,34,57, 0.10);
  --shadow-lg: 0 30px 70px -24px rgba(11,34,57, 0.22);

  --container: 1240px;
  --radius: 6px;            /* squared, Accenture-style corners */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 70px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.14; margin: 0; letter-spacing: -0.02em; color: var(--navy); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; }
.mono { font-family: var(--font-mono); }
.grad-text { background: linear-gradient(100deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.skip-link { position: fixed; top: -100px; left: 16px; z-index: 200; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top 0.2s; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: linear-gradient(90deg, var(--primary), var(--accent)); z-index: 120; box-shadow: 0 0 12px var(--primary-glow); }

.eyebrow { font-family: var(--font-mono); font-size: 0.77rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary-ink); font-weight: 600; margin: 0 0 14px; display: inline-flex; align-items: center; gap: 8px; }
.eyebrow .sep { color: var(--accent-ink); }
.eyebrow-lock { color: var(--primary-ink); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 600; font-size: 0.95rem; padding: 13px 26px; border-radius: 2px; border: 1px solid transparent; transition: transform 0.25s var(--ease), box-shadow 0.3s, background 0.3s, border-color 0.3s, color 0.3s; white-space: nowrap; }
.btn .icon { width: 1.05em; height: 1.05em; }
.btn-primary { background: linear-gradient(100deg, var(--primary-dark), var(--primary)); color: #fff; box-shadow: 0 10px 26px -10px var(--primary-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px var(--primary-glow); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-ink); background: var(--surface-2); }
.btn-ghost .icon { transition: transform 0.25s var(--ease); }
.btn-ghost:hover .icon { transform: translateX(4px); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.click-ring { position: absolute; border-radius: 100px; border: 2px solid rgba(255,255,255,0.7); pointer-events: none; animation: ring 0.6s ease-out forwards; }
@keyframes ring { from { opacity: 0.7; transform: scale(0.6); } to { opacity: 0; transform: scale(1.8); } }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 110; transition: background 0.3s, box-shadow 0.3s; }
.nav-bar { transition: background 0.3s, backdrop-filter 0.3s; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 18px; }
.site-header.scrolled .nav-bar { background: rgba(255,255,255,0.88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.site-header.scrolled .nav-inner { height: 60px; }
.site-header.scrolled .status-bar { display: none; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { display: inline-flex; transition: transform 0.3s var(--ease); }
.site-header.scrolled .brand-mark svg { width: 32px; height: 32px; }
.brand-mark img { width: 42px; height: 42px; object-fit: contain; display: block; }
.site-header.scrolled .brand-mark img { width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.12em; color: var(--navy); }
/* (brand motif removed for the KPMG-style corporate wordmark) */
.brand-sub { font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 2px; position: relative; }
.nav-links a { position: relative; padding: 8px 13px; font-size: 0.92rem; font-weight: 500; color: var(--muted); border-radius: 8px; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-indicator { position: absolute; bottom: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 2px; transition: left 0.35s var(--ease), width 0.35s var(--ease); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.site-header.scrolled .nav-cta { box-shadow: 0 8px 22px -8px var(--primary-glow); }
.nav-toggle { display: none; background: var(--surface-2); border: 1px solid var(--border); color: var(--navy); width: 44px; height: 44px; border-radius: 11px; font-size: 1.3rem; align-items: center; justify-content: center; }

/* status bar */
.status-bar { border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.72); backdrop-filter: blur(6px); }
.status-inner { display: flex; justify-content: space-between; align-items: center; height: 30px; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; }
.status-live { color: var(--success); display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.status-meta { color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success-dot); box-shadow: 0 0 10px rgba(24,201,138,0.7); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 200; background: rgba(255,255,255,0.98); backdrop-filter: blur(10px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; opacity: 0; visibility: hidden; transition: opacity 0.3s; }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mobile-menu nav a { font-family: var(--font-head); font-size: 1.7rem; font-weight: 600; color: var(--navy); padding: 10px; }
.mobile-menu nav a:hover { color: var(--primary-ink); }
.mobile-close { position: absolute; top: 22px; right: 22px; background: var(--surface-2); border: 1px solid var(--border); color: var(--navy); width: 46px; height: 46px; border-radius: 12px; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; }
.mobile-cta { margin-top: 24px; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding-top: calc(var(--nav-h) + 90px); padding-bottom: 90px; overflow: hidden; min-height: min(92vh, 880px); display: flex; align-items: center; background: linear-gradient(180deg, #ffffff 0%, #F2F6F6 55%, #E6F6F3 100%); }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(11,34,57,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(11,34,57,0.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 35%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 35%, transparent 100%); }
.hero-glow { position: absolute; top: 4%; left: 14%; width: 620px; height: 420px; background: radial-gradient(circle, var(--primary-glow), transparent 65%); filter: blur(46px); opacity: 0.7; }
.hero-glow::after { content: ""; position: absolute; right: -200px; top: 60px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(20,184,166,0.20), transparent 65%); filter: blur(54px); }

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr 1fr; gap: 54px; align-items: center; }
/* Solo hero (no side console): single centred column */
.hero-solo { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.hero-solo .hero-copy { max-width: 880px; }
.hero-solo .hero-sub { margin-left: auto; margin-right: auto; }
.hero-solo .hero-cta, .hero-solo .trust-strip { justify-content: center; }
.hero-compact { min-height: auto; }
.hero-title { font-size: clamp(2.1rem, 6vw, 4.4rem); margin: 6px 0 22px; letter-spacing: -0.03em; }
.hero-sub { color: var(--text); font-size: 1.08rem; max-width: 600px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.trust-strip { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 0.86rem; font-weight: 500; }
.trust-strip .d { width: 5px; height: 5px; border-radius: 50%; background: var(--primary); }

/* console */
.console { position: relative; background: #ffffff; border: 1px solid var(--border); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.console-watermark { position: absolute; right: -30px; bottom: -30px; width: 200px; height: 200px; color: var(--navy); opacity: 0.05; }
.console-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--border); font-size: 0.66rem; letter-spacing: 0.12em; }
.console-head .mono { color: var(--muted); font-weight: 600; }
.console-status { color: var(--success); display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-weight: 600; }
.console-graph { margin: 16px 0; height: 90px; }
.console-graph svg { width: 100%; height: 100%; }
.ekg { fill: none; stroke: var(--primary); stroke-width: 2.5; filter: drop-shadow(0 1px 3px var(--primary-glow)); stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 4s linear infinite; }
@keyframes draw { 0% { stroke-dashoffset: 1400; } 60%, 100% { stroke-dashoffset: 0; } }
.console-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ctile { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px 10px; text-align: center; }
.ctile-num { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--navy); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.ctile-label { display: block; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 5px; line-height: 1.3; }
.console-foot { margin-top: 14px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); text-align: center; background: rgba(15,118,110,0.06); padding: 7px 10px; border-radius: 8px; }

.scroll-hint { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--border-strong); border-radius: 14px; z-index: 2; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--primary); border-radius: 2px; animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 22px; } 100% { opacity: 0; } }

/* =========================================================
   STATS BAND
   ========================================================= */
.stats { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 42px 24px; text-align: center; position: relative; }
.stat:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 24%; height: 52%; width: 1px; background: var(--border-strong); }
.stat-num { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.9rem, 4vw, 3rem); color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1; }
.stat-text { background: linear-gradient(100deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { display: block; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 12px; position: relative; padding-top: 12px; }
.stat-label::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width 0.8s var(--ease) 0.3s; }
.stat.in .stat-label::before { width: 40px; }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 690px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-title { font-size: clamp(1.6rem, 3.6vw, 2.7rem); margin-bottom: 16px; }
.section-lead { color: var(--muted); font-size: 1.05rem; }

.grid { display: grid; gap: 22px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
/* CTA tile variant used in service-area grids (dark panel).
   Use .card.card-cta-tile so it beats the later .card{background:var(--surface)} rule. */
.card.card-cta-tile { background: linear-gradient(150deg, #0B2239, #0B5E58 60%, #0F766E); border-color: transparent; color: #fff; }
.card-cta-tile h3 { color: #fff; }
.card-cta-tile p { color: rgba(255,255,255,0.82); }
.card-cta-tile .card-link { color: #5EEAD4; }
.card-cta-tile::after { display: none; }

.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; overflow: hidden; transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-sm); }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity 0.3s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(15,118,110,0.08), transparent 60%); pointer-events: none; }
.card::after { content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width 0.4s var(--ease); pointer-events: none; }
.card:hover { transform: translateY(-6px); border-color: rgba(15,118,110,0.4); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }
.card:hover::after { width: 100%; }
.card-index { position: absolute; top: 20px; right: 22px; font-size: 0.78rem; color: var(--muted); opacity: 0.6; letter-spacing: 0.08em; }
.card-tag { position: absolute; top: 20px; right: 22px; font-size: 0.6rem; letter-spacing: 0.1em; color: var(--primary-ink); background: rgba(15,118,110,0.08); border: 1px solid rgba(15,118,110,0.2); padding: 3px 8px; border-radius: 6px; font-weight: 600; }
.prod .card-index { top: auto; bottom: 24px; right: auto; left: 24px; }
 /* --- Colourful animated icon chips (per-card vibrant hue + flowing gradient) --- */
.card-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 17px; font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, var(--ic1, #0F766E) 0%, var(--ic2, #14B8A6) 100%); background-size: 170% 170%; border: 1px solid rgba(255,255,255,0.24); box-shadow: 0 12px 26px -10px var(--ic-glow, rgba(20,184,166,0.5)), inset 0 1.5px 0 rgba(255,255,255,0.46), inset 0 -5px 11px rgba(0,0,0,0.20); overflow: hidden; animation: cardIconShift 7s ease infinite; transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s; }
.card-icon::after { content: ""; position: absolute; inset: 0; background: radial-gradient(125% 85% at 28% 0%, rgba(255,255,255,0.5), transparent 55%); pointer-events: none; }
.card-icon .icon { position: relative; z-index: 1; stroke-width: 1.9; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.28)); animation: cardIconFloat 5.5s ease-in-out infinite; }
@keyframes cardIconFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes cardIconShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.card:hover .card-icon { transform: translateY(-4px) scale(1.09); box-shadow: 0 20px 40px -10px var(--ic-glow, rgba(20,184,166,0.6)), inset 0 1.5px 0 rgba(255,255,255,0.56), inset 0 -5px 11px rgba(0,0,0,0.24); }
.card:hover .card-icon .icon { animation-play-state: paused; }
/* vibrant but brand-cohesive palette, cycled across each grid */
.grid .card:nth-child(6n+1) .card-icon { --ic1:#0F766E; --ic2:#14B8A6; --ic-glow:rgba(20,184,166,0.5); }
.grid .card:nth-child(6n+2) .card-icon { --ic1:#0B2239; --ic2:#24507A; --ic-glow:rgba(36,80,122,0.5); }
.grid .card:nth-child(6n+3) .card-icon { --ic1:#0E7490; --ic2:#2DD4BF; --ic-glow:rgba(45,212,191,0.5); }
.grid .card:nth-child(6n+4) .card-icon { --ic1:#0B2239; --ic2:#14B8A6; --ic-glow:rgba(20,184,166,0.5); }
.grid .card:nth-child(6n+5) .card-icon { --ic1:#1E5A8A; --ic2:#6AAFE0; --ic-glow:rgba(106,175,224,0.5); }
.grid .card:nth-child(6n+6) .card-icon { --ic1:#0D9488; --ic2:#5EEAD4; --ic-glow:rgba(94,234,212,0.5); }

.card h3 { font-size: 1.2rem; margin-bottom: 2px; }
.card p { color: var(--muted); font-size: 0.94rem; flex: 1; margin: 0; }
.prod p { padding-bottom: 18px; }
.card-link { position: relative; z-index: 2; margin-top: 4px; display: inline-flex; align-items: center; gap: 7px; color: var(--primary-ink); font-weight: 600; font-size: 0.9rem; }
.card-link .icon { transition: transform 0.25s var(--ease); }
.card:hover .card-link .icon { transform: translateX(4px); }
.card.mini { padding: 26px 22px; text-align: left; }
.card.mini h3 { font-size: 1.1rem; }

.filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 38px; }
.filter { background: #fff; border: 1px solid var(--border-strong); color: var(--muted); padding: 9px 20px; border-radius: 100px; font-size: 0.88rem; font-weight: 600; transition: all 0.25s; }
.filter:hover { color: var(--navy); border-color: var(--primary); }
.filter:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; color: var(--navy); border-color: var(--primary); }
.filter.active { background: linear-gradient(100deg, var(--primary-dark), var(--primary)); color: #fff; border-color: transparent; box-shadow: 0 8px 22px -10px var(--primary-glow); }
.card.hidden, .bento-tile.hidden { display: none; }
.card.fade-swap, .bento-tile.fade-swap { animation: fadeSwap 0.45s var(--ease); }
@keyframes fadeSwap { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

/* =========================================================
   CAPABILITIES BENTO
   ========================================================= */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; grid-auto-rows: 1fr; }
.bento-tile { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s; overflow: hidden; box-shadow: var(--shadow-sm); }
.bento-tile.wide { grid-column: span 2; }
.bento-tile.float { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.bento-tile:hover { transform: translateY(-5px); border-color: rgba(15,118,110,0.4); box-shadow: var(--shadow); }
.bento-icon { display: inline-flex; width: 50px; height: 50px; align-items: center; justify-content: center; font-size: 1.45rem; border-radius: 13px; color: var(--primary); background: rgba(15,118,110,0.08); border: 1px solid rgba(15,118,110,0.16); margin-bottom: 16px; }
.bento-tile[data-cat="safety"] .bento-icon { color: var(--accent-ink); background: rgba(20,184,166,0.1); border-color: rgba(20,184,166,0.22); }
.bento-tile h3 { font-size: 1.08rem; margin-bottom: 8px; }
.bento-tile p { color: var(--muted); font-size: 0.9rem; }

/* =========================================================
   ABOUT + TEAM
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.about-narrative .eyebrow { margin-bottom: 14px; }
.about-narrative h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 18px; }
.about-narrative > p { color: var(--muted); margin-bottom: 18px; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.vm-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; box-shadow: var(--shadow-sm); }
.vm-card .vm-icon { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 11px; font-size: 1.2rem; color: var(--primary); background: rgba(15,118,110,0.08); border: 1px solid rgba(15,118,110,0.16); margin-bottom: 12px; }
.vm-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.vm-card p { color: var(--muted); font-size: 0.9rem; }

.about-panel { position: relative; background: linear-gradient(150deg, var(--navy), var(--navy-2) 55%, var(--primary)); border-radius: 22px; padding: 38px; color: #fff; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-panel::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; background: radial-gradient(circle, rgba(20,184,166,0.4), transparent 65%); filter: blur(30px); }
.about-panel .panel-year { position: relative; font-family: var(--font-head); font-weight: 700; font-size: 3.4rem; letter-spacing: -0.03em; line-height: 1; background: linear-gradient(100deg, #fff, #5EEAD4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-panel .panel-since { position: relative; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: #99F6E4; margin-top: 6px; }
.about-panel .panel-lead { position: relative; margin: 22px 0; color: rgba(255,255,255,0.9); font-size: 1rem; }
.panel-points { position: relative; display: flex; flex-direction: column; gap: 12px; }
.panel-points li { display: flex; align-items: flex-start; gap: 11px; font-size: 0.94rem; color: rgba(255,255,255,0.92); }
.panel-points .icon { color: var(--accent); flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; }

.team-head { margin-top: clamp(56px, 7vw, 84px); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { position: relative; text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 22px; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; overflow: hidden; }
.team-card::after { content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width 0.4s var(--ease); }
.team-card:hover { transform: translateY(-6px); border-color: rgba(15,118,110,0.4); box-shadow: var(--shadow-lg); }
.team-card:hover::after { width: 100%; }
.team-card.featured { border-color: rgba(15,118,110,0.35); box-shadow: 0 14px 40px -18px var(--primary-glow); }
.team-avatar { position: relative; overflow: hidden; width: 94px; height: 94px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 1.8rem; color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 10px 24px -8px var(--primary-glow), 0 0 0 4px rgba(15,118,110,0.08); }
.team-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-avatar .icon { width: 34px; height: 34px; stroke-width: 1.6; }
.team-avatar.alt { background: linear-gradient(135deg, var(--navy-2), var(--primary)); }
.team-name { font-size: 1.12rem; margin-bottom: 4px; }
.team-role { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary-ink); font-weight: 600; margin-bottom: 12px; }
.team-bio { color: var(--muted); font-size: 0.9rem; margin-bottom: 14px; }
.team-social { display: flex; justify-content: center; gap: 8px; }
.team-social a { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); transition: all 0.2s; }
.team-social a:hover { color: var(--primary-ink); border-color: var(--primary); }
.team-badge { display: inline-block; font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); background: rgba(20,184,166,0.1); border: 1px solid rgba(20,184,166,0.22); padding: 3px 9px; border-radius: 20px; margin-bottom: 14px; }

/* =========================================================
   TALENTS PAGE (ourtalents.html)
   ========================================================= */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + 92px) 0 64px; background: linear-gradient(180deg, #ffffff 0%, #E6F6F3 100%); text-align: center; }
.page-hero .hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(11,34,57,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(11,34,57,0.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000 30%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000 30%, transparent 100%); }
.page-hero-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.03em; margin-bottom: 16px; }
.page-hero p { color: var(--muted); font-size: 1.08rem; }
.breadcrumb { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--primary-ink); font-weight: 600; }
.breadcrumb .sep { margin: 0 8px; opacity: 0.6; }

.profile-list { display: flex; flex-direction: column; gap: 24px; max-width: 980px; margin: 0 auto; }
.profile { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; }
.profile::after { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 0; background: linear-gradient(180deg, var(--primary), var(--accent)); transition: height 0.4s var(--ease); }
.profile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(15,118,110,0.35); }
.profile:hover::after { height: 100%; }
.profile.featured { border-color: rgba(15,118,110,0.4); box-shadow: 0 14px 40px -18px var(--primary-glow); }
.profile-ic { position: absolute; top: 26px; right: 26px; width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--primary); background: rgba(15,118,110,0.08); border: 1px solid rgba(15,118,110,0.16); }
.profile-avatar { position: relative; overflow: hidden; width: 110px; height: 110px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 10px 26px -10px var(--primary-glow), 0 0 0 4px rgba(15,118,110,0.08); }
.profile-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.profile-avatar.alt { background: linear-gradient(135deg, var(--navy-2), var(--primary)); }
.profile-name { font-size: 1.4rem; margin-bottom: 4px; }
.profile-role { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary-ink); font-weight: 600; margin-bottom: 14px; }
.profile-bio { color: var(--muted); font-size: 0.96rem; margin-bottom: 16px; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.04em; color: var(--navy); background: var(--surface-2); border: 1px solid var(--border-strong); padding: 5px 11px; border-radius: 20px; }
.profile.featured .tag { border-color: rgba(15,118,110,0.25); }
.profile-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.profile-badge { display: inline-block; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); background: rgba(20,184,166,0.1); border: 1px solid rgba(20,184,166,0.22); padding: 4px 10px; border-radius: 20px; margin-bottom: 12px; }
.profile-social { display: flex; gap: 8px; }
.profile-social a { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); transition: all 0.2s; }
.profile-social a:hover { color: var(--primary-ink); border-color: var(--primary); }
@media (max-width: 620px) {
  .profile { grid-template-columns: 1fr; gap: 18px; padding: 26px 22px; text-align: center; }
  .profile-avatar { margin: 0 auto; }
  .profile-tags, .profile-meta { justify-content: center; }
  .profile-ic { display: none; }
}

/* =========================================================
   GUARANTEE BADGES
   ========================================================= */
.badge-card { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 28px; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.badge-card:hover { transform: translateY(-6px); border-color: rgba(15,118,110,0.4); box-shadow: var(--shadow-lg); }
.badge-icon { display: inline-flex; align-items: center; justify-content: center; width: 78px; height: 78px; border-radius: 20px; font-size: 2rem; color: var(--primary); background: rgba(15,118,110,0.07); border: 1px solid rgba(15,118,110,0.18); margin-bottom: 20px; }
.badge-icon .icon { stroke-dasharray: 120; stroke-dashoffset: 120; }
.badge-card.in .badge-icon .icon { animation: drawIcon 1.1s var(--ease) forwards; }
@keyframes drawIcon { to { stroke-dashoffset: 0; } }
.badge-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.badge-card p { color: var(--muted); font-size: 0.94rem; }

/* =========================================================
   CLIENTS MARQUEE
   ========================================================= */

/* =========================================================
   PROCESS STEPS
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 0 8px; }
.step-line { position: absolute; top: 25px; left: 50%; width: 100%; height: 2px; background: var(--border-strong); overflow: hidden; }
.step-line::after { content: ""; position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width 0.8s var(--ease); }
.steps.in .step-line::after { width: 100%; }
.step-node { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 14px; background: #fff; border: 1px solid var(--border-strong); color: var(--primary); font-size: 0.9rem; font-weight: 600; margin-bottom: 18px; transition: box-shadow 0.4s, border-color 0.4s; box-shadow: var(--shadow-sm); }
.steps.in .step-node { border-color: rgba(15,118,110,0.5); box-shadow: 0 0 22px -6px var(--primary-glow); }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner { position: relative; padding: clamp(70px, 9vw, 110px) 0; text-align: center; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 45%, var(--primary) 100%); }
.cta-glow { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 760px; height: 460px; background: radial-gradient(circle, rgba(20,184,166,0.4), transparent 60%); filter: blur(50px); opacity: 0.55; animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: 0.45; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 0.65; transform: translate(-50%, -50%) scale(1.08); } }
.cta-inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(1.7rem, 4vw, 3rem); margin-bottom: 14px; color: #fff; }
.cta-inner > p { color: rgba(255,255,255,0.88); font-size: 1.1rem; margin-bottom: 28px; }
.cta-banner .btn-primary { background: #fff; color: var(--primary-dark); }
.cta-banner .btn-primary:hover { background: #E6F6F3; }
.cta-reassure { margin-top: 18px; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.8); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.85fr; gap: 40px; align-items: start; }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 36px; box-shadow: var(--shadow); }
.contact-form { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field span { font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.field input, .field select, .field textarea { background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 10px; padding: 12px 14px; color: var(--text); font-family: inherit; font-size: 0.95rem; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,118,110,0.15); }
.field textarea { resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235d6b85' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field input.invalid, .field textarea.invalid, .field select.invalid { border-color: #e23b4e; box-shadow: 0 0 0 3px rgba(226,59,78,0.12); }
.form-success { display: flex; align-items: center; gap: 8px; color: var(--success); font-weight: 600; font-size: 0.92rem; background: rgba(14,158,110,0.08); border: 1px solid rgba(14,158,110,0.25); padding: 12px 14px; border-radius: 10px; }

.contact-info h3 { font-size: 1.5rem; margin-bottom: 12px; }
.contact-blurb { color: var(--muted); margin-bottom: 24px; }
.contact-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 26px; }
.contact-list li, .contact-list a { display: flex; gap: 14px; align-items: center; }
.contact-list strong { color: var(--navy); font-weight: 600; overflow-wrap: anywhere; }
.contact-list li > span:not(.ci-icon), .contact-list a > span:not(.ci-icon) { min-width: 0; }
.contact-list span:not(.ci-icon) { font-size: 0.92rem; color: var(--muted); line-height: 1.45; }
.ci-icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--primary); background: rgba(15,118,110,0.08); border: 1px solid rgba(15,118,110,0.16); }
.contact-list a:hover .ci-icon { background: rgba(15,118,110,0.16); }
.reassure-card { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; background: rgba(20,184,166,0.07); border: 1px solid rgba(20,184,166,0.22); color: var(--navy); font-size: 0.9rem; font-weight: 500; }
.reassure-card .icon { font-size: 1.5rem; color: var(--accent-ink); flex: 0 0 auto; }
.contact-map { margin-top: 40px; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); line-height: 0; }
.contact-map iframe { display: block; width: 100%; height: 360px; border: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: linear-gradient(180deg, #061624, #0B2239); color: #C9D6E2; padding: 64px 0 28px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: #8FA3B5; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: #9CB0C1; font-size: 0.92rem; max-width: 320px; margin-bottom: 18px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #B9C8D4; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); transition: all 0.25s; }
.socials a:hover { color: #fff; border-color: var(--accent); transform: translateY(-2px); }
.footer-col h4, .footer-col .footer-title { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: #8FA3B5; margin-bottom: 18px; font-family: var(--font-mono); font-weight: 600; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col ul a { color: #C9D6E2; font-size: 0.92rem; transition: color 0.2s, padding-left 0.2s; }
.footer-col ul a:hover { color: #5EEAD4; padding-left: 6px; }
.footer-news p { color: #9CB0C1; font-size: 0.9rem; margin-bottom: 14px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); color: #9CB0C1; font-size: 0.82rem; }
.footer-legal a:hover { color: #5EEAD4; }

/* =========================================================
   FLOATING DOCK CTA + BACK TO TOP
   ========================================================= */
.dock-cta { position: fixed; bottom: 20px; right: 18px; z-index: 90; background: linear-gradient(100deg, var(--primary-dark), var(--primary)); color: #fff; font-weight: 700; padding: 13px 20px; border-radius: 100px; box-shadow: 0 12px 30px -8px var(--primary-glow); transform: translateY(120px); transition: transform 0.35s var(--ease); font-size: 0.9rem; display: none; }
.dock-cta.show { transform: translateY(0); }
.to-top { position: fixed; bottom: 20px; left: 18px; z-index: 90; width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 1px solid var(--border-strong); color: var(--primary); font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transform: translateY(120px); transition: transform 0.35s var(--ease), background 0.2s; box-shadow: var(--shadow); }
.to-top .icon { transform: rotate(-90deg); }
.to-top.show { transform: translateY(0); }
.to-top:hover { background: var(--surface-2); }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
/* Visible by default (no-JS / SEO safe). Hidden only once JS marks the page ready. */
.reveal { opacity: 1; }
.reveal-ready .reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease); }
.reveal-ready .reveal.in { opacity: 1; transform: none; filter: blur(0); }

/* =========================================================
   SUB-PAGE SHARED (services / about / contact)
   ========================================================= */
.checklist { display: flex; flex-direction: column; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; padding: 11px 0; color: var(--text); font-size: 0.96rem; border-bottom: 1px solid var(--border); }
.checklist li:last-child { border-bottom: 0; }
.checklist li .icon { width: 20px; height: 20px; color: var(--success); flex: 0 0 auto; margin-top: 2px; }

.svc-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--shadow-sm); }
.svc-panel h3 { font-size: 1.05rem; margin-bottom: 8px; }
.svc-head-icon { display: inline-flex; width: 60px; height: 60px; align-items: center; justify-content: center; border-radius: 16px; font-size: 1.7rem; color: var(--primary); background: rgba(15,118,110,0.08); border: 1px solid rgba(15,118,110,0.16); margin-bottom: 18px; }
.svc-block + .svc-block { margin-top: clamp(48px, 7vw, 86px); }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.svc-block.reverse .svc-panel { order: -1; }
.svc-index { display: block; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.12em; color: var(--primary-ink); font-weight: 600; margin-bottom: 12px; }
.svc-text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 14px; }
.svc-text > p { color: var(--muted); margin-bottom: 18px; }

/* bullet list inside pillar cards */
.card-points { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.card-points li { position: relative; padding-left: 18px; font-size: 0.86rem; color: var(--muted); line-height: 1.45; }
.card-points li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); }

/* technologies chip strip */
.tech-strip { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; max-width: 880px; margin: 34px auto 0; }
.tech-strip .tag { font-size: 0.72rem; padding: 7px 14px; }

/* technology logo grid */
.tech-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 14px; max-width: 940px; margin: 36px auto 0; }
.tech-logo { background: #fff; border: 1px solid var(--border); border-radius: 12px; height: 80px; display: flex; align-items: center; justify-content: center; padding: 14px; box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.tech-logo img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; opacity: 1; transition: transform 0.25s; }
.tech-logo:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tech-logo:hover img { transform: scale(1.04); }

/* attack-surface coverage layers */
.layers { display: flex; flex-direction: column; gap: 14px; margin-bottom: 38px; }
.layer { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.layer:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.layer-head { display: flex; align-items: center; gap: 16px; }
.layer-num { font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; line-height: 1; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; flex: 0 0 auto; }
.layer-head h3 { font-size: 1.08rem; margin-bottom: 3px; }
.layer-head p { color: var(--muted); font-size: 0.9rem; }
.layer-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.layer .ltag { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; color: var(--primary-ink); background: rgba(15,118,110,0.08); border: 1px solid rgba(15,118,110,0.2); padding: 6px 12px; border-radius: 100px; }
@media (max-width: 760px) { .layer { grid-template-columns: 1fr; gap: 14px; } .layer-tags { justify-content: flex-start; } }

/* value cards (about) */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(15,118,110,0.3); }
.value-card .vm-icon { display: inline-flex; width: 50px; height: 50px; align-items: center; justify-content: center; border-radius: 13px; font-size: 1.45rem; color: var(--primary); background: rgba(15,118,110,0.08); border: 1px solid rgba(15,118,110,0.16); margin-bottom: 16px; }
.value-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 0.94rem; }

/* timeline (about) */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--primary), var(--accent)); }
.tl-item { position: relative; padding: 0 0 32px 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -28px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); box-shadow: 0 0 0 4px rgba(15,118,110,0.12); }
.tl-year { font-family: var(--font-mono); font-weight: 600; color: var(--primary-ink); font-size: 0.85rem; letter-spacing: 0.06em; margin-bottom: 6px; }
.tl-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.tl-item p { color: var(--muted); font-size: 0.94rem; }

@media (max-width: 760px) {
  .svc-grid { grid-template-columns: 1fr; gap: 26px; }
  .svc-block.reverse .svc-panel { order: 0; }
  .value-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   CERTIFICATIONS / STANDARDS BAND
   ========================================================= */
.certs { position: relative; overflow: hidden; padding: clamp(60px, 8vw, 92px) 0; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 50%, var(--primary) 130%); color: #fff; }
.certs-glow { position: absolute; right: -120px; top: -90px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(15,118,110,0.45), transparent 62%); filter: blur(42px); }
.certs-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.certs-copy h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 12px; }
.certs-copy p { color: rgba(255,255,255,0.86); }
.eyebrow.on-dark { color: #5EEAD4; }
.certs .grad-text { background: linear-gradient(100deg, #5EEAD4, #BFDFF8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.certs-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.cert-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.03em; color: #fff; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); padding: 11px 18px; border-radius: 100px; backdrop-filter: blur(6px); transition: transform 0.2s var(--ease), background 0.2s; }
.cert-badge .icon { width: 1.1em; height: 1.1em; color: #21e6a4; }
.cert-badge:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testi { position: relative; margin: 0; display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; overflow: hidden; }
.testi::before { content: "\201C"; position: absolute; top: 4px; right: 22px; font-family: var(--font-head); font-weight: 700; font-size: 4rem; line-height: 1; color: var(--primary); opacity: 0.12; }
.testi:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(15,118,110,0.3); }
.stars { display: inline-flex; gap: 3px; }
.stars .icon { width: 18px; height: 18px; fill: #f5a623; stroke: #f5a623; }
.testi blockquote { margin: 0; color: var(--text); font-size: 1.02rem; line-height: 1.6; font-style: italic; }
.testi figcaption { display: flex; flex-direction: column; margin-top: auto; padding-top: 4px; }
.testi-name { font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.testi-role { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary-ink); margin-top: 3px; }
.testi-note { text-align: center; margin-top: 28px; font-size: 0.78rem; color: var(--muted); font-style: italic; }

/* =========================================================
   FAQ ACCORDION
   ========================================================= */
.container-narrow { max-width: 840px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color 0.2s, box-shadow 0.3s; }
.faq-item.open { border-color: rgba(15,118,110,0.35); box-shadow: var(--shadow); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 22px; background: none; border: none; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 1.04rem; color: var(--navy); }
.faq-q:hover { color: var(--primary-ink); }
.faq-q span { flex: 1; }
.faq-chevron { width: 20px; height: 20px; color: var(--primary); flex: 0 0 auto; transition: transform 0.3s var(--ease); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-item.open .faq-a { max-height: 360px; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: 0.96rem; margin: 0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* Collapse the full menu to the mobile overlay before it gets cramped */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .console { max-width: 520px; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-tile.wide { grid-column: 1 / -1; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stat:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .status-inner { gap: 12px; font-size: 0.6rem; }
}

@media (max-width: 760px) {
  .status-meta { display: none; }
  .status-inner { justify-content: center; }
  .hero { padding-top: calc(var(--nav-h) + 50px); min-height: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 32px 16px; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .contact-map iframe { height: 280px; }
  .console-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cards-4, .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .vm-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-form-wrap { padding: 26px 20px; }
  .certs-inner { grid-template-columns: 1fr; gap: 28px; }
  .about-panel { padding: 30px 24px; }
  .steps { grid-template-columns: 1fr; gap: 8px; }
  .step { display: grid; grid-template-columns: 50px 1fr; gap: 16px; align-items: start; padding-bottom: 22px; }
  .step-line { top: 50px; left: 25px; width: 2px; height: calc(100% - 50px); }
  .steps.in .step-line::after { width: 2px; height: 100%; }
  .step-node { margin-bottom: 0; }
  .step h3, .step p { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .dock-cta { display: block; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .brand-sub { display: none; }
  .brand-mark svg { width: 32px; height: 32px; }
  .console { max-width: 100%; }
  .console-tiles { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .certs-inner { grid-template-columns: 1fr; gap: 18px; }
  .certs-badges { gap: 8px; }
  .cert-badge { padding: 8px 12px; font-size: 0.7rem; }
  .contact-map iframe { height: 240px; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@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; }
  .reveal, .reveal-ready .reveal { opacity: 1; transform: none; filter: none; }
  .cta-glow { display: none; }
  .ekg { stroke-dashoffset: 0; }
  .badge-icon .icon { stroke-dashoffset: 0; }
  .stat-label::before { width: 40px; }
  .steps .step-line::after { width: 100%; }
}

/* =========================================================
   PREMIUM MOTION UPGRADE
   Self-hosted, CSP-safe, GPU-friendly (transform/opacity only).
   All of this is auto-disabled by the reduced-motion block above
   (global animation/transition duration override), and the JS
   parallax is gated on prefers-reduced-motion in main.js.
   ========================================================= */

/* Ambient aurora drift behind the home hero glow */
.hero-glow { animation: auroraDrift 17s var(--ease) infinite alternate; will-change: transform, opacity; }
.hero-glow::after { animation: auroraDrift2 21s var(--ease) infinite alternate; }
@keyframes auroraDrift {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.6; }
  to   { transform: translate3d(38px, 26px, 0) scale(1.12); opacity: 0.85; }
}
@keyframes auroraDrift2 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-46px, 30px, 0) scale(1.16); }
}

/* Give the inner-page heroes their own soft animated aurora */
.page-hero::before {
  content: ""; position: absolute; z-index: 0; top: -12%; left: 50%;
  width: 680px; height: 440px; margin-left: -340px; pointer-events: none;
  background: radial-gradient(circle at 38% 42%, var(--primary-glow), transparent 62%),
              radial-gradient(circle at 72% 58%, rgba(20,184,166, 0.18), transparent 64%);
  filter: blur(64px); opacity: 0.62;
  animation: auroraDrift 19s var(--ease) infinite alternate; will-change: transform, opacity;
}

/* Ambient aurora drift on the standards-band glow (was static) */
.certs-glow { animation: auroraDrift 20s var(--ease) infinite alternate; will-change: transform, opacity; }

/* Kinetic gradient sheen on hero + section-title highlights, site-wide */
.hero-title .grad-text, .page-hero h1 .grad-text, .section-title .grad-text {
  background-size: 220% auto; animation: gradFlow 10s linear infinite;
}
@keyframes gradFlow { to { background-position: 220% center; } }

/* =========================================================
   MANAGED SECURITY PLANS (tiered, quotation-based - no prices)
   ========================================================= */
.plans { align-items: stretch; }
.plan { padding: 32px 26px; }
.plan-eyebrow { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary-ink); font-weight: 600; }
.plan .plan-name { font-size: 1.7rem; margin: 8px 0 6px; }
.plan .plan-tagline { flex: 0 0 auto; color: var(--muted); font-size: 0.92rem; margin: 0 0 4px; }
.plan-incl { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--primary-ink); margin: 16px 0 2px; }
.plan .checklist { margin: 10px 0 24px; width: 100%; }
.plan .checklist li { padding: 9px 0; font-size: 0.9rem; }
.plan .btn { margin-top: auto; }
.plan-badge { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: linear-gradient(100deg, var(--primary-dark), var(--accent)); padding: 5px 12px; border-radius: 100px; font-weight: 600; margin-bottom: 10px; }
.plan-featured { border-color: rgba(15,118,110, 0.45); box-shadow: var(--shadow-lg); }
.plan-featured .plan-name { color: var(--primary-ink); }
.plan-note { text-align: center; color: var(--muted); font-size: 0.92rem; max-width: 680px; margin: 28px auto 0; }
@media (max-width: 900px) { .plan { padding: 28px 22px; } }

/* =========================================================
   TOP-LEVEL CATEGORY DROPDOWNS (flat nav: each service area is its own menu)
   ========================================================= */
.nav-links { gap: 1px; flex-wrap: nowrap; margin-right: auto; margin-left: clamp(10px, 2.4vw, 32px); }
.nav-links > a { padding: 8px 11px; font-size: 0.86rem; white-space: nowrap; }
.nav-item-dd { position: relative; display: flex; align-items: center; }
.nav-dd-btn { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; background: none; border: 0; padding: 8px 11px; font-size: 0.86rem; font-weight: 500; color: var(--muted); border-radius: 8px; transition: color 0.2s; font-family: inherit; cursor: pointer; }
.nav-item-dd:hover > .nav-dd-btn, .nav-item-dd:focus-within > .nav-dd-btn, .nav-dd-btn.active { color: var(--navy); }
.dd-caret { width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-1px); transition: transform 0.2s var(--ease); opacity: 0.7; }
.nav-item-dd:not(.dd-closed):hover .dd-caret, .nav-item-dd.dd-open .dd-caret { transform: rotate(-135deg) translateY(-1px); }
/* Disclosure toggle next to each top-level link (keyboard + screen readers open the submenu here) */
.dd-toggle { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 32px; margin-left: -9px; padding: 0; background: none; border: 0; border-radius: 6px; color: var(--muted); cursor: pointer; }
.nav-item-dd:hover > .dd-toggle, .nav-item-dd.dd-open > .dd-toggle, .dd-toggle:focus-visible { color: var(--navy); }

.nav-dd-panel { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px); background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: 0 0 6px 6px; box-shadow: var(--shadow-lg); padding: 14px 16px; min-width: 234px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); z-index: 130; }
.nav-item-dd:not(.dd-closed):hover > .nav-dd-panel, .nav-item-dd.dd-open > .nav-dd-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-dd-panel::before { content: ""; position: absolute; top: -15px; left: 0; right: 0; height: 15px; }
.nav-dd-wide { min-width: 568px; }
.dd-cols { display: grid; gap: 0 16px; }
.dd-cols-3 { grid-template-columns: repeat(3, 1fr); }
.dd-cols-2 { grid-template-columns: repeat(2, 1fr); }
.nav-dd-panel a { display: block; padding: 6px 9px; font-size: 0.81rem; line-height: 1.3; color: var(--muted); border-radius: 6px; }
.nav-dd-panel a:hover { color: var(--primary-dark); background: var(--surface-2); }
.dd-group { font-family: var(--font-mono); font-size: 0.63rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary-ink); margin: 6px 9px 4px; }
.dd-sub { display: block; font-size: 0.68rem; color: var(--muted); opacity: 0.72; }
.dd-all { margin-top: 8px; border-top: 1px solid var(--border); padding-top: 9px !important; font-family: var(--font-mono); font-size: 0.69rem; font-weight: 600; color: var(--primary-ink) !important; }
.dd-all:hover { background: transparent !important; }
.gt { color: var(--primary); font-weight: 700; }
/* right-aligned panels for the right-most categories (avoid viewport overflow) */
.nav-item-dd.dd-right > .nav-dd-panel { left: auto; right: 0; transform: translateY(8px); }
.nav-item-dd.dd-right:not(.dd-closed):hover > .nav-dd-panel, .nav-item-dd.dd-right.dd-open > .nav-dd-panel { transform: translateY(0); }
@media (max-width: 1240px) { .nav-dd-wide { min-width: 380px; } .nav-dd-wide .dd-cols-3 { grid-template-columns: repeat(2, 1fr); } .nav-links > a, .nav-dd-btn { padding: 8px 8px; font-size: 0.84rem; } }

/* mobile menu (flat category links) */
.mobile-menu nav .m-group { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary-ink); margin: 16px 0 2px; }

/* ===== Animated product showcase (ported) ===== */
/* credential download chips */
.doc-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.doc-chip { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 0.9rem; color: var(--navy); background: var(--surface); border: 1px solid var(--border-strong); padding: 12px 20px; border-radius: 100px; transition: border-color 0.2s, color 0.2s, transform 0.2s, background 0.2s; }
.doc-chip .icon { color: var(--primary-ink); }
.doc-chip:hover { color: var(--primary-ink); border-color: var(--primary); transform: translateY(-2px); background: rgba(15,118,110,0.06); }

.prod-quicknav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.prod-chip { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; color: var(--navy); background: var(--surface-2); border: 1px solid var(--border-strong); padding: 9px 16px; border-radius: 100px; transition: border-color 0.2s, color 0.2s, transform 0.2s, background 0.2s; }
.prod-chip:hover { color: var(--primary-ink); border-color: var(--primary); transform: translateY(-2px); background: rgba(15,118,110,0.08); }

.prod-row { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 44px; align-items: center; scroll-margin-top: 110px; }
.prod-info { position: static; }

/* Animated product visuals (replace static datasheet images) */
.prod-visual { position: relative; }
.pv-stage {
  --pv-accent: var(--primary);
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--border);
  background:
    radial-gradient(125% 125% at 78% 12%, color-mix(in srgb, var(--pv-accent) 20%, transparent), transparent 60%),
    linear-gradient(160deg, rgba(10,30,48,0.97), rgba(6,22,36,0.99));
  box-shadow: var(--shadow-lg);
}
.pv-stage::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 38%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 50%, #000 38%, transparent 78%);
  animation: pvGrid 14s linear infinite; opacity: 0.55;
}
@keyframes pvGrid { to { background-position: 30px 30px, 30px 30px; } }

.pv-glow {
  position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 1;
  translate: -50% -50%; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle, color-mix(in srgb, var(--pv-accent) 55%, transparent), transparent 65%);
  filter: blur(32px); animation: pvPulse 4.2s ease-in-out infinite;
}
@keyframes pvPulse { 0%,100% { transform: scale(0.88); opacity: 0.6; } 50% { transform: scale(1.16); opacity: 0.92; } }

.pv-ring {
  position: absolute; left: 50%; top: 50%; width: 96px; height: 96px;
  margin: -48px 0 0 -48px; border-radius: 50%; z-index: 2; opacity: 0;
  border: 1.5px solid color-mix(in srgb, var(--pv-accent) 60%, transparent);
  animation: pvRing 3.3s ease-out infinite;
}
.pv-stage .pv-ring:nth-of-type(2) { animation-delay: 1.1s; }
.pv-stage .pv-ring:nth-of-type(3) { animation-delay: 2.2s; }
@keyframes pvRing { 0% { transform: scale(0.4); opacity: 0.85; } 100% { transform: scale(2.7); opacity: 0; } }

.pv-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 4;
  background: linear-gradient(90deg, transparent, var(--pv-accent), transparent);
  box-shadow: 0 0 14px 2px color-mix(in srgb, var(--pv-accent) 70%, transparent);
  animation: pvScan 3.6s cubic-bezier(0.6,0,0.4,1) infinite;
}
@keyframes pvScan { 0% { top: 8%; opacity: 0; } 15%,85% { opacity: 1; } 100% { top: 92%; opacity: 0; } }

.pv-core {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 5;
  width: 96px; height: 96px; border-radius: 24px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--pv-accent) 92%, #fff), color-mix(in srgb, var(--pv-accent) 55%, #000));
  box-shadow: 0 18px 42px -12px color-mix(in srgb, var(--pv-accent) 70%, transparent), inset 0 1px 0 rgba(255,255,255,0.3);
  animation: pvFloat 5.2s ease-in-out infinite;
}
.pv-core .icon { width: 48px; height: 48px; }
@keyframes pvFloat { 0%,100% { transform: translateY(-6px) rotate(-2deg); } 50% { transform: translateY(6px) rotate(2deg); } }

.pv-orbit {
  position: absolute; left: 50%; top: 50%; width: 184px; height: 184px;
  margin: -92px 0 0 -92px; z-index: 5; animation: pvSpin 17s linear infinite;
}
.pv-sat {
  position: absolute; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  color: var(--pv-accent); animation: pvSpinRev 17s linear infinite;
  background: color-mix(in srgb, var(--pv-accent) 14%, rgba(8,26,43,0.92));
  border: 1px solid color-mix(in srgb, var(--pv-accent) 48%, transparent);
  box-shadow: 0 8px 20px -10px rgba(0,0,0,0.75);
}
.pv-sat .icon { width: 22px; height: 22px; }
.pv-sat.s1 { top: -21px; left: 71px; }
.pv-sat.s2 { top: 118px; left: 150px; }
.pv-sat.s3 { top: 118px; left: -8px; }
@keyframes pvSpin { to { transform: rotate(360deg); } }
@keyframes pvSpinRev { to { transform: rotate(-360deg); } }

.pv-badge {
  position: absolute; z-index: 6; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.02em; white-space: nowrap; color: #F2F6F6;
  background: color-mix(in srgb, var(--pv-accent) 22%, rgba(8,26,43,0.86));
  border: 1px solid color-mix(in srgb, var(--pv-accent) 55%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px -12px rgba(0,0,0,0.7); animation: pvFloatBadge 6.2s ease-in-out infinite;
}
.pv-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pv-accent); box-shadow: 0 0 8px var(--pv-accent); }
.pv-badge.b-a { top: 12%; right: 7%; animation-delay: 0s; }
.pv-badge.b-b { top: 47%; left: 4%; animation-delay: 1.3s; }
.pv-badge.b-c { bottom: 11%; right: 12%; animation-delay: 2.6s; }
@keyframes pvFloatBadge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.pv-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; color: var(--pv-accent); }
.pv-scene text { font-family: inherit; }

@media (prefers-reduced-motion: reduce) {
  .pv-stage *, .pv-stage::before { animation: none !important; }
}
.prod-info .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.prod-info .section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.prod-info .checklist { margin: 18px 0 24px; }
.prod-info .doc-row { justify-content: flex-start; }
.prod-row section, .prod-row { scroll-margin-top: 100px; }
@media (max-width: 860px) {
  .prod-row { grid-template-columns: 1fr; gap: 26px; }
  .prod-info { position: static; text-align: center; }
  .prod-info .doc-row { justify-content: center; }
  .prod-info .checklist { display: inline-block; text-align: left; }
}

/* ===== Secure form (ported) ===== */

/* Honeypot field: visually hidden off-screen, kept in the DOM for bots to fill. */
.hp-field { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }

/* "I'm not a robot" human-check (anti-flood gate on forms) */
.human-check { display: flex; align-items: center; gap: 12px; margin: 6px 0 14px; padding: 13px 16px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); cursor: pointer; user-select: none; transition: border-color 0.2s, background 0.2s; perspective: 700px; }
.human-check:hover { border-color: var(--primary); background: var(--surface-2); }
.human-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.human-check-box { flex: 0 0 auto; width: 26px; height: 26px; border: 2px solid var(--border-strong); border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; color: transparent; background: var(--bg); transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.3s var(--ease, ease); }
.human-check-box .icon { width: 16px; height: 16px; stroke-width: 3; }
.human-check input:checked + .human-check-box { background: linear-gradient(100deg, var(--primary-dark), var(--primary)); border-color: var(--primary); color: #fff; animation: human-check-flip 0.62s cubic-bezier(0.34, 1.56, 0.64, 1); }
.human-check input:focus-visible + .human-check-box { outline: 2px solid var(--primary); outline-offset: 2px; }
.human-check input:checked + .human-check-box .icon { animation: human-check-tick 0.42s 0.26s both; }
.human-check:hover .human-check-box { transform: rotateX(-10deg) rotateY(12deg); }
.human-check .human-check-text { font-size: 0.92rem; font-weight: 600; color: var(--text); }
.human-check .human-check-text small { display: block; font-weight: 500; font-size: 0.72rem; color: var(--muted); margin-top: 1px; }
@keyframes human-check-flip {
  0% { transform: rotateY(0) scale(1); }
  50% { transform: rotateY(180deg) scale(1.2); box-shadow: 0 10px 22px rgba(15,118,110, 0.45); }
  100% { transform: rotateY(360deg) scale(1); }
}
@keyframes human-check-tick {
  0% { transform: scale(0) rotate(-20deg); opacity: 0; }
  60% { transform: scale(1.35) rotate(0); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* Inline notice (fallback when the toast component is unavailable) */
.form-notice { margin: 0 0 14px; padding: 12px 14px; border-radius: 10px; font-size: 0.92rem; font-weight: 600; }
.form-notice-success { color: var(--success); background: rgba(14,158,110,0.08); border: 1px solid rgba(14,158,110,0.25); }
.form-notice-danger { color: #c52c3c; background: rgba(226,59,78,0.08); border: 1px solid rgba(226,59,78,0.25); }

/* Accessible per-field error message */
.field-error { display: block; color: #c52c3c; font-size: 0.78rem; font-weight: 500; margin-top: 6px; }

/* Email verification (OTP) UI, injected by the secure-form module */
.email-verify { margin: 18px 0 6px; padding: 16px 18px; border: 1px solid rgba(15,118,110, 0.35); border-radius: 14px; background: rgba(15,118,110, 0.06); }
.email-verify-msg { margin: 0 0 12px; font-size: 0.9rem; color: var(--text, inherit); line-height: 1.5; }
.email-verify-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.email-verify-input { flex: 1 1 150px; min-width: 120px; padding: 11px 14px; font-family: var(--font-mono, monospace); font-size: 1.25rem; letter-spacing: 0.4em; text-align: center; color: var(--text, inherit); background: var(--surface-2, rgba(127, 127, 127, 0.08)); border: 1px solid rgba(127, 127, 127, 0.3); border-radius: 10px; }
.email-verify-input:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.email-verify-btn { flex: 0 0 auto; white-space: nowrap; }
.email-verify-resend { margin-top: 12px; padding: 0; background: none; border: 0; color: var(--primary-ink); font-family: var(--font-mono, monospace); font-size: 0.8rem; letter-spacing: 0.03em; text-decoration: underline; cursor: pointer; }
.email-verify-resend:disabled { opacity: 0.5; cursor: default; }
.email-verify-err { margin: 10px 0 0; min-height: 1.1em; color: #ef4444; font-size: 0.82rem; }

/* Live message word counter */
.msg-wordcount { margin: 6px 2px 0; text-align: right; font-family: var(--font-mono, monospace); font-size: 0.74rem; letter-spacing: 0.03em; color: var(--muted); }
.msg-wordcount.over { color: #ef4444; font-weight: 600; }

/* ===== Secure-form UI (progress overlay + block modal + toast) ===== */

/* ---------- security warning modal (flagged IP / Tor / abuse / blocked submission) ---------- */
.sec-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 22px; }
.sec-modal[hidden] { display: none; }
.sec-modal-backdrop { position: absolute; inset: 0; background: rgba(6,22,36, 0.6); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); opacity: 0; transition: opacity 0.28s var(--ease, ease); }
.sec-modal.open .sec-modal-backdrop { opacity: 1; }
.sec-modal-card { position: relative; width: 100%; max-width: 460px; background: #ffffff; border: 1px solid #f1c4cb; border-top: 3px solid #e23b4e; border-radius: 18px; padding: 34px 30px 28px; text-align: center; box-shadow: 0 30px 80px rgba(11,34,57,0.28), 0 0 0 1px rgba(226,59,78,0.06); transform: translateY(14px) scale(0.97); opacity: 0; transition: transform 0.32s var(--ease, cubic-bezier(.2,.8,.2,1)), opacity 0.32s ease; }
.sec-modal.open .sec-modal-card { transform: translateY(0) scale(1); opacity: 1; }
.sec-modal-badge { width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #e23b4e; background: radial-gradient(circle at 50% 40%, rgba(226,59,78,0.18), rgba(226,59,78,0.04)); border: 1px solid rgba(226,59,78,0.4); box-shadow: 0 0 26px rgba(226,59,78,0.2); }
.sec-modal-title { margin: 0 0 10px; font-size: 1.4rem; color: #13263A; letter-spacing: -0.01em; }
.sec-modal-desc { margin: 0 0 16px; color: var(--text); font-size: 0.96rem; line-height: 1.6; }
.sec-modal-meta { font-family: var(--font-mono, monospace); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: #c52c3c; background: rgba(226,59,78,0.08); border: 1px solid rgba(226,59,78,0.28); border-radius: 9px; padding: 9px 12px; margin: 0 auto 22px; display: inline-block; }
.sec-modal-meta[hidden] { display: none; }
.sec-modal-ok { width: 100%; }
@media (prefers-reduced-motion: reduce) {
  .sec-modal-backdrop, .sec-modal-card { transition: none; }
  .sec-modal-card { transform: none; opacity: 1; }
}

/* ---------- submission progress overlay (human + IP reputation + delivery) ---------- */
.verify-modal { position: fixed; inset: 0; z-index: 999; display: flex; align-items: center; justify-content: center; padding: 22px; }
.verify-modal[hidden] { display: none; }
.verify-backdrop { position: absolute; inset: 0; background: rgba(6,22,36, 0.6); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); opacity: 0; transition: opacity 0.28s ease; }
.verify-modal.open .verify-backdrop { opacity: 1; }
.verify-card { position: relative; width: 100%; max-width: 430px; background: #ffffff; border: 1px solid var(--border-strong); border-top: 3px solid var(--primary); border-radius: 18px; padding: 30px 28px 26px; text-align: center; box-shadow: 0 30px 80px rgba(11,34,57,0.28), 0 0 40px rgba(15,118,110,0.12); transform: translateY(14px) scale(0.97); opacity: 0; transition: transform 0.3s var(--ease, cubic-bezier(.2,.8,.2,1)), opacity 0.3s ease; }
.verify-modal.open .verify-card { transform: translateY(0) scale(1); opacity: 1; }
.verify-badge { width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-ink); background: radial-gradient(circle at 50% 40%, rgba(15,118,110,0.18), rgba(15,118,110,0.04)); border: 1px solid rgba(15,118,110,0.4); box-shadow: 0 0 26px rgba(15,118,110,0.2); animation: verifyPulse 1.8s ease-in-out infinite; }
@keyframes verifyPulse { 0%,100% { box-shadow: 0 0 18px rgba(15,118,110,0.16); } 50% { box-shadow: 0 0 34px rgba(15,118,110,0.36); } }
.verify-title { margin: 0 0 6px; font-size: 1.28rem; color: var(--navy); letter-spacing: -0.01em; }
.verify-sub { margin: 0 0 20px; color: var(--muted); font-size: 0.9rem; min-height: 1.2em; transition: color 0.2s; }
.verify-bar { height: 8px; border-radius: 100px; background: var(--bg-soft); border: 1px solid var(--border); overflow: hidden; margin: 0 0 20px; }
.verify-bar-fill { display: block; height: 100%; width: 0%; border-radius: 100px; background: linear-gradient(90deg, var(--primary-dark, #0B5E58), var(--primary), var(--accent)); background-size: 200% 100%; box-shadow: 0 0 12px rgba(15,118,110,0.4); transition: width 0.5s var(--ease, ease); animation: verifyShimmer 1.4s linear infinite; }
@keyframes verifyShimmer { to { background-position: 200% 0; } }
.verify-steps { list-style: none; margin: 0; padding: 0; text-align: left; display: grid; gap: 11px; }
.verify-steps .vstep { display: flex; align-items: center; gap: 11px; font-size: 0.92rem; color: var(--muted); transition: color 0.25s; }
.verify-steps .vs-label small { color: var(--muted); font-weight: 500; }
.verify-steps .vs-dot { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border-strong); background: var(--bg-soft); position: relative; transition: border-color 0.25s, background 0.25s; }
.verify-steps .vstep.active { color: var(--text); }
.verify-steps .vstep.active .vs-dot { border-color: var(--primary); animation: verifySpin 0.8s linear infinite; border-top-color: transparent; }
@keyframes verifySpin { to { transform: rotate(360deg); } }
.verify-steps .vstep.done { color: var(--primary-ink); }
.verify-steps .vstep.done .vs-dot { border-color: var(--primary); background: var(--primary); animation: none; }
.verify-steps .vstep.done .vs-dot::after { content: ""; position: absolute; left: 5px; top: 1.5px; width: 5px; height: 10px; border: solid #ffffff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) {
  .verify-backdrop, .verify-card, .verify-bar-fill { transition: none; }
  .verify-card { transform: none; opacity: 1; }
  .verify-badge, .verify-bar-fill, .verify-steps .vstep.active .vs-dot { animation: none; }
}

/* =========================================================
   LIGHT / DARK THEME SWITCH  (light is default; dark = [data-theme="dark"])
   ========================================================= */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); color: var(--navy); cursor: pointer; transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s; flex: 0 0 auto; }
.theme-toggle:hover { color: var(--primary-ink); border-color: var(--primary); transform: translateY(-1px); }
.theme-toggle .icon { width: 1.12rem; height: 1.12rem; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: inline; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: inline; }

:root[data-theme="dark"] {
  --bg: #061624; --bg-soft: #0B2239; --bg-tint: #0E2A44;
  --surface: #0E2840; --surface-2: #12304D;
  --border: #1D405F; --border-strong: #2A5273;
  --navy: #F2F6F6; --navy-2: #D6E9F5;
  --primary: #14B8A6; --primary-dark: #0F766E; --primary-ink: #5EEAD4;
  --primary-glow: rgba(20,184,166,0.32);
  --accent: #2DD4BF; --accent-ink: #99F6E4;
  --text: #C7D5E0; --muted: #93A7B8;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.35);
  --shadow: 0 14px 40px rgba(0,0,0,0.45);
  --shadow-lg: 0 30px 70px -24px rgba(0,0,0,0.6);
}
:root[data-theme="dark"] body { background: var(--bg); color: var(--text); }
:root[data-theme="dark"] .hero { background: linear-gradient(180deg, #061624 0%, #0A1E33 55%, #0D2A42 100%); }
:root[data-theme="dark"] .page-hero { background: linear-gradient(180deg, #061624 0%, #0D2A42 100%); }
:root[data-theme="dark"] .hero-grid { background-image: linear-gradient(rgba(191,223,248,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(191,223,248,0.07) 1px, transparent 1px); }
:root[data-theme="dark"] .site-header.scrolled .nav-bar { background: rgba(8,26,43,0.9); border-bottom-color: var(--border); }
:root[data-theme="dark"] .mobile-menu { background: rgba(6,22,36,0.98); }
:root[data-theme="dark"] .nav-dd-panel { background: var(--surface); }
:root[data-theme="dark"] .btn-ghost { background: var(--surface-2); color: var(--navy); }
:root[data-theme="dark"] .btn-ghost:hover { background: var(--surface); }
:root[data-theme="dark"] .filter { background: var(--surface-2); }
:root[data-theme="dark"] .section-alt { background: var(--bg-soft); }
:root[data-theme="dark"] .stats { background: var(--bg-soft); }
:root[data-theme="dark"] .field input, :root[data-theme="dark"] .field select, :root[data-theme="dark"] .field textarea { background: var(--surface-2); color: var(--text); border-color: var(--border); }
:root[data-theme="dark"] .field input:focus, :root[data-theme="dark"] .field select:focus, :root[data-theme="dark"] .field textarea:focus { background: var(--surface); }
:root[data-theme="dark"] .step-node, :root[data-theme="dark"] .to-top, :root[data-theme="dark"] .tl-item::before, :root[data-theme="dark"] .filter { background: var(--surface); }
/* Client + tech logos stay on a white chip in dark mode so the brand colours read correctly. */
:root[data-theme="dark"] .tech-logo { background: #ffffff; filter: none; opacity: 1; }
:root[data-theme="dark"] .verify-card, :root[data-theme="dark"] .sec-modal-card { background: var(--surface); color: var(--text); border-color: var(--border); }
:root[data-theme="dark"] .verify-title, :root[data-theme="dark"] .sec-modal-title, :root[data-theme="dark"] .vs-label { color: var(--navy); }
:root[data-theme="dark"] .verify-sub, :root[data-theme="dark"] .sec-modal-desc, :root[data-theme="dark"] .sec-modal-meta { color: var(--muted); }
:root[data-theme="dark"] .pv-stage { background: #0A1D30; }
:root[data-theme="dark"] .email-verify-input { background: var(--surface-2); color: var(--text); border-color: var(--border); }
@media (max-width: 1180px) { .theme-toggle { width: 44px; height: 44px; } }

/* ============================================================
   NEXT-GEN AI DELIVERY + advanced animated 3D diagrams
   (ported from software-delivery / services; brand teal)
   Dark 'stage' media panels so animations pop in light & dark.
   ============================================================ */
.ngd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 26px; margin-top: 40px; }
.ngd-card { position: relative; display: flex; flex-direction: column; padding: 26px 24px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); overflow: hidden; transition: transform 0.3s ease, border-color 0.35s, box-shadow 0.45s; }
.ngd-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 85% 0%, rgba(15,118,110, 0.12), transparent 60%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.ngd-card:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: 0 26px 50px -28px rgba(15,118,110, 0.55); }
.ngd-card:hover::before { opacity: 1; }
.ngd-card > * { }
.ngd-tag { align-self: flex-start; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary-ink); background: rgba(15,118,110, 0.12); border: 1px solid rgba(15,118,110, 0.32); padding: 4px 10px; border-radius: 999px; margin-bottom: 16px; }
.ngd-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg, rgba(15,118,110, 0.16), rgba(20,184,166, 0.12)); border: 1px solid rgba(15,118,110, 0.28); color: var(--primary); margin-bottom: 16px; transition: transform 0.3s ease; }
.ngd-icon .icon { width: 26px; height: 26px; }
.ngd-card:hover .ngd-icon { transform: scale(1.06); }
.ngd-card h3 { margin: 0 0 10px; }
.ngd-card > p { color: var(--muted); margin: 0 0 16px; }
.ngd-points { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ngd-points li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.9rem; color: var(--text); }
.ngd-points .icon { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 3px; color: var(--primary); stroke-width: 3; }
.ngd-card-cta { align-items: flex-start; justify-content: center; background: linear-gradient(155deg, rgba(15,118,110, 0.14), rgba(20,184,166, 0.06)); border-color: rgba(15,118,110, 0.32); }
.ngd-card-cta .btn { margin-top: 16px; }

/* AI pipeline */
.ngd-pipeline { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; counter-reset: ngd; }
.ngd-pipeline li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); transition: transform 0.3s, border-color 0.3s; }
.ngd-pipeline li:hover { transform: translateY(-4px); border-color: var(--primary); }
.ngd-step-ic { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 11px; background: rgba(15,118,110, 0.12); color: var(--primary); margin-bottom: 6px; }
.ngd-step-ic .icon { width: 22px; height: 22px; }
.ngd-step-n { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--muted); }
.ngd-pipeline strong { font-family: var(--font-head); font-size: 1.05rem; }
.ngd-pipeline span:last-child { font-size: 0.84rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .ngd-dot { animation: none; }
  .ngd-card, .ngd-icon, .ngd-pipeline li { transition: border-color 0.3s; }
  .ngd-card:hover { transform: none; }
  .ngd-card:hover .ngd-icon { transform: none; }
  .ngd-pipeline li:hover { transform: none; }
}

/* ---- Advanced animated capability diagrams (one per AI engine) ---- */
.ngd-card .ngd-media { position: relative; height: 232px; margin-bottom: 18px; border-radius: 13px; background: radial-gradient(125% 135% at 22% -12%, #12304D 0%, #0B2239 52%, #061624 100%); border: 1px solid rgba(45,212,191, 0.2); overflow: hidden; box-shadow: inset 0 0 34px rgba(0, 0, 0, 0.5); }
.ngd-card .ngd-media::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(94,234,212, 0.05) 0 1px, transparent 1px 4px); opacity: 0.5; pointer-events: none; }
.ngd-card:hover .ngd-media { border-color: rgba(45,212,191, 0.5); box-shadow: inset 0 0 34px rgba(0, 0, 0, 0.5), 0 0 26px -6px rgba(20,184,166, 0.6); }
.ngd-dia { position: relative; z-index: 1; width: 100%; height: 100%; display: block; }
.ngd-dia text { fill: rgba(223,240,250, 0.74); font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.04em; }
.ngd-dia .d-cell { fill: rgba(255, 255, 255, 0.035); stroke: rgba(191,223,248, 0.3); stroke-width: 1.3; }
.ngd-dia .d-track { fill: none; stroke: rgba(191,223,248, 0.18); stroke-width: 1.5; }
.ngd-dia .d-soft { fill: none; stroke: rgba(191,223,248, 0.4); stroke-width: 2.2; stroke-linecap: round; }
.ngd-dia .neon { fill: none; stroke-linecap: round; stroke-linejoin: round; }

@keyframes d-draw { to { stroke-dashoffset: 0; } }
@keyframes d-fly { 0% { transform: translateX(0); opacity: 0; } 12% { opacity: 1; } 74% { opacity: 1; } 100% { transform: translateX(132px); opacity: 0; } }
@keyframes d-pop { 0%, 36% { transform: scale(0); opacity: 0; } 60% { transform: scale(1.22); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes d-fadeseq { 0%, 100% { opacity: 0.26; } 50% { opacity: 1; } }
@keyframes d-pulse2 { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
@keyframes d-scanx { 0% { transform: translateX(0); } 100% { transform: translateX(150px); } }
@keyframes d-scany { 0% { transform: translateY(0); } 100% { transform: translateY(74px); } }
@keyframes d-spin { to { transform: rotate(360deg); } }
@keyframes d-grow { 0% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
@keyframes d-slidein { 0%, 26% { transform: translateX(40px); opacity: 0; } 56%, 100% { transform: translateX(0); opacity: 1; } }
@keyframes d-rocket { 0%, 56% { transform: translate(0, 0); opacity: 1; } 82% { transform: translate(6px, -14px); opacity: 1; } 100% { transform: translate(12px, -30px); opacity: 0; } }
@keyframes d-travel { 0% { transform: translateX(0); } 100% { transform: translateX(180px); } }
@keyframes d-glow { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
@keyframes d-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes d-spark { 0% { transform: scale(0.3); opacity: 0; } 45% { opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes d-dashmove { to { stroke-dashoffset: -200; } }
@keyframes d-spinrev { to { transform: rotate(-360deg); } }

.ngd-dia .a-draw { stroke-dasharray: 260; stroke-dashoffset: 260; animation: d-draw 1.7s ease forwards infinite alternate; }
.ngd-dia .a-ring { stroke-dasharray: 251; stroke-dashoffset: 251; animation: d-draw 2.1s ease forwards infinite alternate; }
.ngd-dia .a-fly { animation: d-fly 2.6s linear infinite; }
.ngd-dia .a-pop { transform-box: fill-box; transform-origin: center; animation: d-pop 2.8s ease infinite; }
.ngd-dia .a-fadeseq { animation: d-fadeseq 2.4s ease infinite; }
.ngd-dia .a-pulse { animation: d-pulse2 1.7s ease infinite; }
.ngd-dia .a-scanx { animation: d-scanx 2.3s ease-in-out infinite alternate; }
.ngd-dia .a-scany { animation: d-scany 2.3s ease-in-out infinite alternate; }
.ngd-dia .a-orbit { animation: d-spin 9s linear infinite; }
.ngd-dia .a-grow { animation: d-grow 1.9s ease forwards infinite alternate; }
.ngd-dia .a-slidein { animation: d-slidein 3.4s ease infinite; }
.ngd-dia .a-rocket { animation: d-rocket 3s ease-in-out infinite; }
.ngd-dia .a-travel { animation: d-travel 3s ease-in-out infinite; }
.ngd-dia .a-glow { animation: d-glow 2.2s ease-in-out infinite; }
.ngd-dia .a-float { transform-box: fill-box; transform-origin: center; animation: d-float 3.6s ease-in-out infinite; }
.ngd-dia .a-spark { transform-box: fill-box; transform-origin: center; animation: d-spark 2s ease-out infinite; }
.ngd-dia .a-dash { animation: d-dashmove 4s linear infinite; }
.ngd-dia .a-orbit2 { animation: d-spinrev 13s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  .ngd-dia .a-draw, .ngd-dia .a-ring { stroke-dashoffset: 0; animation: none; }
  .ngd-dia [class*="a-"] { animation: none !important; transform: none; opacity: 1; }
}

/* ---- Compliance assurance band ---- */
.ngd-compliance { display: grid; grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); gap: 18px; margin-top: 36px; }
.ngd-comp-badge { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 26px 18px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s, box-shadow 0.35s; }
.ngd-comp-badge::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 0%, rgba(15,118,110, 0.12), transparent 62%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.ngd-comp-badge:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 22px 44px -26px rgba(15,118,110, 0.6); }
.ngd-comp-badge:hover::before { opacity: 1; }
.ngd-comp-ic { display: inline-flex; width: 54px; height: 54px; align-items: center; justify-content: center; border-radius: 15px; background: linear-gradient(135deg, rgba(15,118,110, 0.18), rgba(20,184,166, 0.1)); border: 1px solid rgba(15,118,110, 0.3); color: var(--primary); }
.ngd-comp-ic .icon { width: 27px; height: 27px; }
.ngd-comp-badge strong { font-family: var(--font-head); font-size: 1.06rem; color: var(--navy); }
.ngd-comp-badge > span { font-size: 0.82rem; color: var(--muted); line-height: 1.4; }
.ngd-comp-check { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; color: var(--primary-ink); }
.ngd-comp-check .icon { width: 14px; height: 14px; stroke-width: 3; }
.ngd-comp-note { text-align: center; margin: 24px auto 0; max-width: 640px; font-size: 0.8rem; color: var(--muted); }

/* ---- Big 3D delivery flow diagram ---- */
.ngd-flow { position: relative; width: min(96vw, 1560px); margin: 40px 0 28px calc(50% - min(48vw, 780px)); border-radius: 20px; overflow: hidden; padding: 8px; background: radial-gradient(130% 130% at 50% -25%, #12304D 0%, #0B2239 55%, #04111D 100%); border: 1px solid rgba(45,212,191, 0.22); box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.55); }
.ngd-flow::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(94,234,212, 0.04) 0 1px, transparent 1px 5px); opacity: 0.5; }
.ngd-flow-svg { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.ngd-flow-caption { position: relative; z-index: 1; text-align: center; margin: 2px 0 8px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(223,240,250, 0.55); }
@media (max-width: 720px) { .ngd-flow { display: none; } }
@media (prefers-reduced-motion: reduce) { .ngd-flow-svg [class*="a-"] { animation: none !important; } }

/* ---- Advanced 3D animated service diagrams (services.html + academic) ---- */
.svc-panel { }
.svc-diagram { height: 200px; border: 1px solid rgba(45,212,191, 0.2); background: radial-gradient(125% 135% at 25% -10%, #12304D 0%, #0B2239 52%, #061624 100%); box-shadow: inset 0 0 32px rgba(0, 0, 0, 0.5); transition: border-color 0.4s, box-shadow 0.5s, transform 0.3s ease; }
.svc-block:hover .svc-diagram { border-color: rgba(45,212,191, 0.45); box-shadow: inset 0 0 32px rgba(0, 0, 0, 0.5), 0 24px 50px -20px rgba(20,184,166, 0.62); transform: translateY(-4px); }
@keyframes svc-float3d { 0%, 100% { transform: rotateX(3.5deg) rotateY(-5deg) translateZ(0); } 50% { transform: rotateX(-2.5deg) rotateY(6deg) translateZ(10px); } }
.svc-dia-cap { display: block; text-align: center; margin: -10px 0 18px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--muted); }
.svc-dia { width: 100%; height: 100%; display: block; }
.svc-dia text { fill: rgba(223,240,250, 0.76); font-family: var(--font-mono); }
.svc-dia .d-cell { fill: rgba(255, 255, 255, 0.035); stroke: rgba(191,223,248, 0.3); stroke-width: 1.3; }
.svc-dia .d-track { fill: none; stroke: rgba(191,223,248, 0.18); stroke-width: 1.5; }
.svc-dia .d-soft { fill: none; stroke: rgba(191,223,248, 0.4); stroke-width: 2; stroke-linecap: round; }
.svc-dia .neon { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.svc-dia .a-draw { stroke-dasharray: 240; stroke-dashoffset: 240; animation: d-draw 1.7s ease forwards infinite alternate; }
.svc-dia .a-ring { stroke-dasharray: 251; stroke-dashoffset: 251; animation: d-draw 2.1s ease forwards infinite alternate; }
.svc-dia .a-pop { transform-box: fill-box; transform-origin: center; animation: d-pop 2.8s ease infinite; }
.svc-dia .a-fadeseq { animation: d-fadeseq 2.4s ease infinite; }
.svc-dia .a-pulse { animation: d-pulse2 1.7s ease infinite; }
.svc-dia .a-orbit { animation: d-spin 9s linear infinite; }
.svc-dia .a-orbit2 { animation: d-spinrev 13s linear infinite; }
.svc-dia .a-glow { animation: d-glow 2.2s ease-in-out infinite; }
.svc-dia .a-float { transform-box: fill-box; transform-origin: center; animation: d-float 3.6s ease-in-out infinite; }
.svc-dia .a-spark { transform-box: fill-box; transform-origin: center; animation: d-spark 2s ease-out infinite; }
.svc-dia .a-dash { animation: d-dashmove 4s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .svc-diagram { animation: none !important; transform: none !important; }
  .svc-dia .a-draw, .svc-dia .a-ring { stroke-dashoffset: 0; animation: none; }
  .svc-dia [class*="a-"] { animation: none !important; transform: none; opacity: 1; }
}

/* ===== Trusted-by band: corporate social proof under the hero ===== */

/* ===== Engagement Intelligence: "Recommended for you" widget ===== */
.sanit-rec { position: fixed; left: 20px; bottom: 20px; z-index: 1200; width: min(330px, calc(100vw - 40px)); background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 16px 18px; transform: translateY(22px); opacity: 0; transition: transform .42s var(--ease), opacity .42s; }
.sanit-rec.show { transform: none; opacity: 1; }
.sanit-rec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sanit-rec-tag { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-ink); font-weight: 700; }
.sanit-rec-close { background: none; border: 0; font-size: 1.35rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 0 4px; }
.sanit-rec-close:hover { color: var(--navy); }
.sanit-rec-reason { margin: 0 0 4px; font-size: .77rem; color: var(--muted); }
.sanit-rec-title { margin: 0 0 11px; font-size: 1.02rem; color: var(--navy); }
.sanit-rec-links { list-style: none; margin: 0 0 13px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sanit-rec-links a { display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; color: var(--text); text-decoration: none; font-weight: 500; }
.sanit-rec-links a::before { content: "\2192"; color: var(--primary); font-weight: 700; }
.sanit-rec-links a:hover { color: var(--primary); }
.sanit-rec-cta { display: block; text-align: center; background: var(--primary); color: #fff; text-decoration: none; font-weight: 600; font-size: .86rem; padding: 10px; border-radius: 8px; transition: background .2s; }
.sanit-rec-cta:hover { background: var(--primary-dark); }
.sanit-rec-trend { margin: 11px 0 0; font-size: .72rem; color: var(--muted); text-align: center; }
@media (max-width: 560px) { .sanit-rec { left: 12px; right: 12px; bottom: 12px; width: auto; } }

/* ===== Branded error pages (404 / 50x) ===== */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 0; background: linear-gradient(180deg, #ffffff 0%, #F2F6F6 55%, #E6F6F3 100%); }
.error-wrap { max-width: 600px; }
.error-brand { display: inline-flex; margin-bottom: 30px; justify-content: center; }
.error-code { font-size: clamp(5rem, 18vw, 10rem); font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -0.04em; margin: 0; }
.error-title { font-size: clamp(1.5rem, 4vw, 2.3rem); margin: 6px 0 14px; }
.error-lead { color: var(--muted); font-size: 1.08rem; max-width: 470px; margin: 0 auto 28px; line-height: 1.65; }
.error-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.error-links { display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 24px; }
.error-links a { color: var(--primary-ink); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.error-links a:hover { color: var(--primary); text-decoration: underline; }
:root[data-theme="dark"] .error-page { background: linear-gradient(180deg, #061624 0%, #0A1F33 55%, #0E2840 100%); }

/* ===== Premium 4-layer aurora hero background (PwC-style ambient motion, brand teal) ===== */
.hero-glow { opacity: 0.82; }
.hero-bg::before { content: ""; position: absolute; width: 600px; height: 600px; right: -140px; bottom: -180px; background: radial-gradient(circle, rgba(20,184,166,0.26), transparent 62%); filter: blur(64px); border-radius: 50%; animation: auroraDrift3 24s var(--ease) infinite alternate; will-change: transform; pointer-events: none; }
.hero-bg::after { content: ""; position: absolute; width: 520px; height: 520px; left: 36%; top: -150px; background: radial-gradient(circle, rgba(15,118,110,0.22), transparent 62%); filter: blur(70px); border-radius: 50%; animation: auroraDrift4 30s var(--ease) infinite alternate; will-change: transform; pointer-events: none; }
@keyframes auroraDrift3 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-80px,-55px) scale(1.14); } }
@keyframes auroraDrift4 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(70px,45px) scale(1.12); } }
:root[data-theme="dark"] .hero-bg::before { background: radial-gradient(circle, rgba(20,184,166,0.30), transparent 60%); }
:root[data-theme="dark"] .hero-bg::after { background: radial-gradient(circle, rgba(15,118,110,0.28), transparent 60%); }

/* Animated network mesh canvas in the hero (behind the z-index:2 content) */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0.9; }
@media (prefers-reduced-motion: reduce) { .hero-canvas { opacity: 0.6; } }

/* ===== PwC-style full-bleed hero background video (desktop only) ===== */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0; transition: opacity 0.9s ease; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity 0.7s ease; pointer-events: none; background: linear-gradient(180deg, rgba(6,22,36,0.66) 0%, rgba(6,22,36,0.54) 42%, rgba(6,22,36,0.80) 100%); }
.hero.hero-video-on { background: #061624; }
.hero.hero-video-on .hero-video, .hero.hero-video-on .hero-scrim { opacity: 1; }
.hero.hero-video-on .hero-grid, .hero.hero-video-on .hero-glow, .hero.hero-video-on .hero-canvas, .hero.hero-video-on .hero-bg::before, .hero.hero-video-on .hero-bg::after { opacity: 0 !important; }
/* Same background video on interior pages (slim .page-hero header) */
.page-hero.hero-video-on { background: #061624; }
.page-hero.hero-video-on .hero-video, .page-hero.hero-video-on .hero-scrim { opacity: 1; }
.page-hero.hero-video-on .hero-grid { opacity: 0 !important; }
.page-hero.hero-video-on::before, .page-hero.hero-video-on::after { opacity: 0 !important; }
.page-hero.hero-video-on .breadcrumb, .page-hero.hero-video-on .breadcrumb a { color: #D6E9F5; }
.page-hero.hero-video-on .eyebrow { color: #5EEAD4; }
.page-hero.hero-video-on h1 { color: #ffffff; }
.page-hero.hero-video-on h1 .grad-text { background: none; -webkit-text-fill-color: #5EEAD4; color: #5EEAD4; }
.page-hero.hero-video-on p { color: #F2F6F6; }
.hero.hero-video-on .eyebrow { color: #CCFBF1; }
.hero.hero-video-on .hero-title { color: #ffffff; }
.hero.hero-video-on .hero-title .grad-text { background: none; -webkit-text-fill-color: #5EEAD4; color: #5EEAD4; }
.hero.hero-video-on .hero-sub { color: #F2F6F6; }
.hero.hero-video-on .trust-strip { color: #CFE0EC; }
.hero.hero-video-on .trust-strip .d { background: #5EEAD4; }
.hero.hero-video-on .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.55); }
.hero.hero-video-on .btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: #fff; }
.hero.hero-video-on .scroll-hint span { border-color: rgba(255,255,255,0.7); }
.hero-vtoggle { position: absolute; top: calc(var(--nav-h) + 22px); right: 26px; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; background: rgba(6,22,36,0.42); border: 1px solid rgba(255,255,255,0.32); border-radius: 999px; color: #fff; font-size: 0.78rem; font-weight: 600; cursor: pointer; -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); transition: background 0.2s, border-color 0.2s; }
.hero-vtoggle:hover { background: rgba(6,22,36,0.66); border-color: rgba(255,255,255,0.6); }
.hero-vtoggle .vt-ic { width: 15px; height: 15px; fill: #fff; }
.hero-vtoggle .vt-play { display: none; }
.hero-vtoggle.paused .vt-pause { display: none; }
.hero-vtoggle.paused .vt-play { display: inline-block; }

/* Header over the dark hero video: light nav text until the header gets its solid (scrolled) background */
.video-hero .site-header:not(.scrolled) .nav-links > a,
.video-hero .site-header:not(.scrolled) .dd-toggle,
.video-hero .site-header:not(.scrolled) .nav-dd-btn,
.video-hero .site-header:not(.scrolled) .nav-links > a.active,
.video-hero .site-header:not(.scrolled) .brand-name { color: #ffffff; }
.video-hero .site-header:not(.scrolled) .brand-sub { color: rgba(255,255,255,0.75); }
.video-hero .site-header:not(.scrolled) .nav-links > a:hover,
.video-hero .site-header:not(.scrolled) .nav-dd-btn:hover { color: #ffffff; opacity: 0.82; }
.video-hero .site-header:not(.scrolled) .theme-toggle { color: #fff; background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.35); }

.hero.hero-video-on .btn-ghost { background: transparent; }
.hero.hero-video-on .btn-ghost:hover { background: rgba(255,255,255,0.14); }
/* Pause control for the looping hero video (WCAG 2.2.2): compact icon button, bottom-left of the hero */
.hero-vtoggle { top: auto; right: auto; bottom: 22px; left: 22px; width: 44px; height: 44px; padding: 0; justify-content: center; }
.hero-vtoggle .vt-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-vtoggle[hidden] { display: none; }

/* OTP window: brief highlight when it appears (so phone users notice it) */
.email-verify-flash { animation: emailVerifyFlash 1.4s ease; }
@keyframes emailVerifyFlash { 0%,100% { box-shadow: 0 0 0 0 rgba(15,118,110,0); } 28% { box-shadow: 0 0 0 5px rgba(15,118,110,0.28); } }

/* ===== Page preloader (branded circular progress, slow-load only) ===== */
.page-loader{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;
  background:var(--bg);opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .45s ease, visibility 0s linear .45s;}
html.is-preloading .page-loader{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .45s ease;}
.pl-box{display:flex;flex-direction:column;align-items:center;gap:16px;opacity:0;transition:opacity .3s ease;}
html.pl-armed .pl-box{opacity:1;}
.pl-ringwrap{position:relative;width:120px;height:120px;}
.pl-ring{width:120px;height:120px;display:block;transform:rotate(-90deg);}
.pl-track{stroke:var(--border);}
.pl-bar{stroke:var(--primary);transition:stroke-dashoffset .12s linear;}
.pl-logo{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:46px;height:46px;object-fit:contain;}
.pl-pct{font-weight:800;font-size:15px;letter-spacing:.04em;color:var(--text);font-variant-numeric:tabular-nums;}
@media (prefers-reduced-motion: reduce){.pl-bar{transition:none;}.page-loader{transition:opacity .2s ease;}}

/* ===== Dark-mode readability: keep dark accent panels dark =====
   (--navy/--navy-2 flip light in dark mode because they're also heading text;
    these panels used them as a dark background, so pin them dark here.) */
:root[data-theme="dark"] .about-panel,
:root[data-theme="dark"] .cta-banner,
:root[data-theme="dark"] .certs { background: linear-gradient(135deg, #081B2E 0%, #0B2239 45%, #0F5E63 100%); }
:root[data-theme="dark"] .team-avatar,
:root[data-theme="dark"] .team-avatar.alt,
:root[data-theme="dark"] .profile-avatar,
:root[data-theme="dark"] .profile-avatar.alt { background: linear-gradient(135deg, #0F5E63, #14B8A6); }

/* Dark-mode contrast: bright-teal fills carry navy text (6.5:1); white on #14B8A6 would be 2.5:1 */
:root[data-theme="dark"] .btn-primary { background: linear-gradient(100deg, #14B8A6, #2DD4BF); color: #0B2239; }
:root[data-theme="dark"] .cta-banner .btn-primary { background: #fff; color: #0B2239; }
:root[data-theme="dark"] .plan-badge { background: linear-gradient(100deg, #14B8A6, #2DD4BF); color: #0B2239; }
:root[data-theme="dark"] .skip-link { background: #0F766E; }
:root[data-theme="dark"] .filter.active,
:root[data-theme="dark"] .dock-cta,
:root[data-theme="dark"] .sanit-rec-cta { background: linear-gradient(100deg, #14B8A6, #2DD4BF); color: #0B2239; }
:root[data-theme="dark"] .sanit-rec-cta:hover { background: #5EEAD4; }
:root[data-theme="dark"] .human-check input:checked + .human-check-box { background: #14B8A6; color: #0B2239; }

/* =========================================================
   ENYXUM LANKA BRAND LAYER
   Primary CTAs wear the signature bright teal (#14B8A6) with brand-navy
   text (6.5:1, AA), in both themes. Gradient headlines stay legible on
   white by ending on a deeper teal (#0D9488 = 3.7:1, AA large text).
   ========================================================= */
.btn-primary,
.dock-cta { background: linear-gradient(100deg, #14B8A6, #2DD4BF); color: var(--brand-navy); box-shadow: 0 10px 26px -10px rgba(20,184,166,0.55); }
.btn-primary:hover,
.dock-cta:hover { background: linear-gradient(100deg, #0FA597, #14B8A6); color: var(--brand-navy); }
.cta-banner .btn-primary { background: #fff; color: var(--brand-navy); }
.cta-banner .btn-primary:hover { background: var(--brand-mint); }
.grad-text { background-image: linear-gradient(100deg, var(--brand-navy) 0%, var(--primary) 30%, #0D9488 50%, var(--primary) 70%, var(--brand-navy) 100%); }
:root[data-theme="dark"] .grad-text { background-image: linear-gradient(100deg, #5EEAD4 0%, #BFDFF8 50%, #5EEAD4 100%); }
::selection { background: var(--brand-mint); color: var(--brand-navy); }
:root[data-theme="dark"] ::selection { background: #0F766E; color: #fff; }

/* ---- Enyxum Lanka logo lockup (navy "ink" on light, white "rev" on dark) ---- */
.brand-logo { display: block; height: 46px; width: auto; transition: height 0.3s var(--ease); }
.brand-logo-rev { display: none; }
.site-header.scrolled .brand-logo { height: 38px; }
:root[data-theme="dark"] .brand-logo-ink,
.video-hero .site-header:not(.scrolled) .brand-logo-ink { display: none; }
:root[data-theme="dark"] .brand-logo-rev,
.video-hero .site-header:not(.scrolled) .brand-logo-rev { display: block; }
.site-footer .brand-logo { height: 54px; }
.error-brand .brand-logo { height: 58px; }
.pl-logo { border-radius: 11px; }
@media (max-width: 420px) { .brand-logo { height: 38px; } .site-header.scrolled .brand-logo { height: 34px; } }

/* Brand type: Archivo ExtraBold for display headings */
h1, h2, .hero-title, .stat-num { font-weight: 800; }

/* ---- Accessibility polish (QA pass 2026-10-02) ---- */
/* Off-screen floating buttons must not be focusable while hidden (WCAG 2.4.7) */
.to-top, .dock-cta { visibility: hidden; transition: transform 0.35s var(--ease), visibility 0s linear 0.35s, background 0.3s, box-shadow 0.3s; }
.to-top.show, .dock-cta.show { visibility: visible; transition-delay: 0s; }
/* Stronger, non-colour-only focus indicator on form fields */
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
/* Comfortable tap targets for footer links and small dismiss buttons */
.footer-col ul a { display: inline-block; padding: 6px 0; }
.sanit-rec-close { min-width: 44px; min-height: 44px; }
.sanit-rec-title { font-family: var(--font-head); font-weight: 700; }
/* Error notices stay readable in dark mode */
:root[data-theme="dark"] .form-notice-danger { color: #FDA4AF; background: rgba(226,59,78,0.14); border-color: rgba(253,164,175,0.35); }
:root[data-theme="dark"] .field-error { color: #FDA4AF; }

/* =========================================================
   PRODUCT PORTFOLIO (products.html + product-*.html)
   Visual language from the "Enyxum Lanka Portfolio Overview" deck:
   ocean-navy gradient, teal highlight on the second word, chamfered
   cards, circuit-line motif, stats over a teal rule. Static hero (no video).
   ========================================================= */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* bright teal only on dark surfaces; light sections use the AA deep teal (axe color-contrast) */
.pf-hl { color: var(--primary); }
.pf-hero .pf-hl, .pf-dark .pf-hl, :root[data-theme="dark"] .pf-hl { color: #2DD4BF; }

/* ---- hero ---- */
.pf-hero { position: relative; overflow: hidden; color: #C7D5E0; padding: calc(var(--nav-h) + 72px) 0 56px;
  background: linear-gradient(160deg, #061624 0%, #0B2239 42%, #0E3550 78%, #0F4A5C 100%); }
.pf-hero-bg { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 82% 30%, rgba(20,184,166,0.20), transparent 70%),
              linear-gradient(rgba(191,223,248,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(191,223,248,0.05) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.pf-circuit { position: absolute; width: 220px; height: 120px; right: 0; top: calc(var(--nav-h) + 8px); color: #14B8A6; opacity: 0.5; pointer-events: none; transform: scaleX(-1); }
.pf-dark .pf-circuit { top: 22px; }
@media (max-width: 980px) { .pf-circuit { display: none; } }
.pf-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.pf-hero .breadcrumb, .pf-hero .breadcrumb a { color: #BFDFF8; }
.pf-hero .breadcrumb a:hover { color: #fff; }
.pf-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: #5EEAD4; font-weight: 600; margin: 0 0 14px; }
.pf-eyebrow .icon { width: 1.05em; height: 1.05em; }
.pf-of { color: #93A7B8; letter-spacing: 0.1em; }
.pf-title { color: #fff; font-size: clamp(2.3rem, 5.6vw, 4.2rem); line-height: 1.04; letter-spacing: -0.03em; margin: 0 0 18px; }
.pf-lead { color: #E3EEF5; font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 600px; margin-bottom: 18px; }
.pf-lead-hl { color: #5EEAD4; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.3; }
.pf-desc { color: #C7D5E0; max-width: 600px; margin-bottom: 26px; }
.pf-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.pf-badges li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; font-size: 0.82rem; font-weight: 600; color: #E3EEF5; border: 1px solid rgba(191,223,248,0.32); background: rgba(255,255,255,0.05); clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%); }
.pf-badges .icon { color: #2DD4BF; }
.pf-hero-cta, .pf-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pf-cta-row { justify-content: center; margin-bottom: 18px; }
.pf-btn-ghost-dark, :root[data-theme="dark"] .pf-btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.pf-btn-ghost-dark:hover, :root[data-theme="dark"] .pf-btn-ghost-dark:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: #fff; }
.pf-hero-art { position: relative; justify-self: center; max-width: 440px; }
.pf-hero-art::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(20,184,166,0.38), transparent 68%); filter: blur(24px); }
.pf-hero-art img { position: relative; width: 100%; height: auto; animation: pfFloat 7s ease-in-out infinite; }
@keyframes pfFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.pf-hero-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 48px; }
.pf-hero-stats-3 { grid-template-columns: repeat(3, 1fr); }
.pf-hero-stats li { border-top: 3px solid #14B8A6; padding-top: 12px; }
.pf-hero-stats li:nth-child(2) { border-top-color: #BFDFF8; }
.pf-hero-stats strong { display: block; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pf-hero-stats span { display: block; margin-top: 6px; font-size: 0.86rem; color: #AFC2D2; line-height: 1.4; }

/* product hero: framed console screenshot */
.pf-console { margin: 0; background: #0A1A2B; border: 1px solid rgba(191,223,248,0.18); border-radius: 12px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.65), 0 0 0 1px rgba(20,184,166,0.08); }
.pf-console-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #0E2236; border-bottom: 1px solid rgba(191,223,248,0.12); }
.pf-console-bar span { width: 10px; height: 10px; border-radius: 50%; background: #2A5273; }
.pf-console-bar span:first-child { background: #14B8A6; }
.pf-console-bar em { margin-left: 8px; font-style: normal; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; color: #93A7B8; }
.pf-console-img { display: block; width: 100%; height: auto; }
.pf-console figcaption { padding: 9px 14px; font-size: 0.76rem; color: #93A7B8; border-top: 1px solid rgba(191,223,248,0.1); }

/* ---- filters + product grid ---- */
.pf-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 34px; max-width: 980px; }
.pf-filter { min-height: 40px; padding: 8px 15px; font-size: 0.84rem; font-weight: 600; color: var(--muted); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 999px; transition: color 0.2s, background 0.2s, border-color 0.2s; }
.pf-filter:hover { color: var(--navy); border-color: var(--primary); }
.pf-filter.active, :root[data-theme="dark"] .pf-filter.active { color: #0B2239; background: #14B8A6; border-color: #14B8A6; }
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pf-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; }
.pf-card:hover { transform: translateY(-4px); border-color: rgba(20,184,166,0.55); box-shadow: var(--shadow); }
.pf-card[hidden] { display: none; }
.pf-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0A1A2B; }
.pf-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 0.6s var(--ease); }
.pf-card:hover .pf-card-media img { transform: scale(1.04); }
.pf-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.pf-card-area { display: flex; align-items: center; gap: 7px; margin: 0 0 8px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary-ink); font-weight: 600; }
.pf-card-area .icon { width: 1.1em; height: 1.1em; flex: 0 0 auto; }
.pf-card-n { margin-left: auto; color: var(--muted); }
.pf-card-title { font-size: 1.4rem; margin: 0 0 6px; }
.pf-card-title a { color: var(--navy); }
.pf-card-title .pf-hl { color: var(--primary); }
.pf-card-title a:hover { color: var(--primary); }
.pf-card-headline { color: var(--text); font-size: 0.95rem; margin-bottom: 16px; }
.pf-card-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: auto 0 16px; }
.pf-card-stats li { border-top: 2px solid #14B8A6; padding-top: 8px; }
.pf-card-stats strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--navy); line-height: 1.1; }
.pf-card-stats span { display: block; font-size: 0.74rem; color: var(--muted); line-height: 1.35; margin-top: 3px; }
.pf-card-link { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; font-weight: 700; font-size: 0.9rem; color: var(--primary-ink); }
.pf-card-link .icon { transition: transform 0.25s var(--ease); }
.pf-card-link:hover .icon { transform: translateX(4px); }

/* ---- tables ---- */
.pf-table-wrap { overflow-x: auto; border: 1px solid var(--border); background: var(--surface); }
.pf-table-wrap:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.pf-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 760px; }
.pf-table th, .pf-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.pf-table thead th { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: var(--bg-soft); }
.pf-table tbody th { color: var(--navy); font-weight: 700; white-space: nowrap; }
.pf-table tbody th .icon { width: 1.1em; height: 1.1em; margin-right: 8px; color: var(--primary-ink); vertical-align: -2px; }
.pf-table td { color: var(--text); }
.pf-table .pf-count, .pf-table .pf-tenant { text-align: center; background: rgba(20,184,166,0.07); }
.pf-table td.pf-count { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--primary-ink); }
.pf-table td.pf-tenant { color: var(--muted); font-size: 0.8rem; }
.pf-table td.pf-tenant .icon { width: 20px; height: 20px; color: var(--primary-ink); stroke-width: 2.4; }
.pf-table tbody th a { color: var(--navy); }
.pf-table tbody th a:hover { color: var(--primary); }

/* chips */
.pf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 11px; font-size: 0.78rem; font-weight: 600; color: var(--primary-ink); background: rgba(20,184,166,0.09); border: 1px solid rgba(20,184,166,0.28); border-radius: 999px; white-space: nowrap; }
.pf-chip:hover { background: #14B8A6; color: #0B2239; border-color: #14B8A6; }

/* ---- dark bands ---- */
.pf-dark { position: relative; overflow: hidden; color: #C7D5E0; background: linear-gradient(160deg, #0B2239 0%, #0E3550 70%, #0F4A5C 100%); }
.pf-dark .section-title { color: #fff; }
.pf-dark .section-lead, .pf-dark p { color: #C7D5E0; }
.pf-dark .pf-chip { color: #CCFBF1; background: rgba(20,184,166,0.12); border-color: rgba(94,234,212,0.35); }
.pf-dark .pf-chip:hover { color: #0B2239; background: #2DD4BF; }

/* principles */
.pf-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 40px; }
.pf-principle { border-left: 1px solid rgba(94,234,212,0.45); padding-left: 18px; }
.pf-principle .pf-num { display: block; color: #2DD4BF; font-size: 0.85rem; margin-bottom: 6px; }
.pf-principle h3 { color: #fff; font-size: 1.12rem; margin-bottom: 8px; }
.pf-principle p { font-size: 0.92rem; }

/* big numbers */
.pf-bignums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pf-bignum { padding: 30px 28px; background: var(--surface); border: 1px solid var(--border); clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); }
.pf-bignum strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--primary-ink); letter-spacing: -0.03em; margin-bottom: 12px; }
.pf-bignum h3 { font-size: 1.1rem; margin-bottom: 8px; }
.pf-bignum p { color: var(--muted); font-size: 0.92rem; }
.pf-bignum a { color: var(--primary-ink); font-weight: 600; }

/* personas */
.pf-personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pf-persona { padding: 26px; background: var(--surface); border: 1px solid var(--border); clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
.pf-persona h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.04em; margin: 14px 0 6px; }
.pf-persona > p { color: var(--text); font-size: 0.95rem; }
.pf-persona .pf-start { margin: 16px 0 8px; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary-ink); font-weight: 700; }
.pf-tile-ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; color: #fff; background: #0B2239; clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%); }
.pf-tile-ic .icon { width: 22px; height: 22px; }
:root[data-theme="dark"] .pf-tile-ic { background: #14B8A6; color: #0B2239; }

/* lifecycle */
.pf-stages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pf-stage { display: flex; gap: 18px; padding: 22px; border: 1px solid rgba(191,223,248,0.2); background: rgba(255,255,255,0.03); clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%); }
.pf-stage-n { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid #2DD4BF; color: #2DD4BF; font-weight: 600; }
.pf-stage h3 { color: #5EEAD4; font-size: 1.08rem; margin-bottom: 4px; }
.pf-stage p { font-size: 0.92rem; margin-bottom: 12px; }

/* enterprise */
.pf-ents { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pf-ent { display: flex; gap: 16px; padding: 22px; background: var(--bg-tint); border: 1px solid var(--border); }
.pf-ent h3 { font-size: 1.02rem; margin-bottom: 4px; }
.pf-ent p { color: var(--muted); font-size: 0.92rem; }

/* path to proof */
.pf-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.pf-steps::before { content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 3px; background: linear-gradient(90deg, #0B2239, #14B8A6 60%, #BFDFF8); }
.pf-step { position: relative; text-align: center; }
.pf-step-n { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: #0B2239; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; margin-bottom: 16px; box-shadow: 0 0 0 6px var(--bg); }
.pf-step:nth-child(n+4) .pf-step-n { background: #BFDFF8; color: #0B2239; }
:root[data-theme="dark"] .pf-step-n { background: #14B8A6; color: #0B2239; }
.pf-step h3 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.pf-step p { color: var(--muted); font-size: 0.88rem; }

/* pricing */
.pf-pricing-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.pf-pricing .section-title { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.pf-dark .pf-pricing-sub { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: #fff; margin-bottom: 8px; }
.pf-price-card { background: #fff; border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.5); }
.pf-price-card li { display: flex; gap: 14px; padding: 16px 18px; border-radius: 12px; }
.pf-price-card .icon { flex: 0 0 auto; width: 22px; height: 22px; color: #0F766E; stroke-width: 2.4; margin-top: 2px; }
.pf-price-card h3 { font-size: 1.02rem; color: #0B2239; margin-bottom: 4px; }
.pf-dark .pf-price-card p { color: #4A5B6C; font-size: 0.9rem; }
.pf-price-card .pf-price-hl { background: #14B8A6; }
.pf-price-card .pf-price-hl .icon, .pf-price-card .pf-price-hl h3, .pf-dark .pf-price-card .pf-price-hl p { color: #0B2239; }

/* product page: why / modules / deployment */
.pf-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pf-whys { display: grid; gap: 14px; }
.pf-why { display: flex; align-items: center; gap: 18px; padding: 22px 24px; background: var(--bg-tint); border: 1px solid var(--border); clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%); }
.pf-why .pf-num { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; color: #fff; background: #0B2239; font-size: 0.85rem; }
.pf-why h3 { font-size: 1.1rem; margin: 0; }
:root[data-theme="dark"] .pf-why .pf-num { background: #14B8A6; color: #0B2239; }
.pf-modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.pf-modules li { display: flex; align-items: center; gap: 12px; padding: 18px 20px; font-weight: 600; color: var(--navy); background: var(--surface); border: 1px solid var(--border); }
.pf-modules .icon { width: 20px; height: 20px; color: var(--primary-ink); flex: 0 0 auto; }
.pf-deploy-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }
.pf-deploy-text { font-size: 1.05rem; color: var(--text); margin-bottom: 22px; }
.pf-facts { display: grid; border-top: 1px solid var(--border); margin: 0; }
.pf-facts div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.pf-facts dt { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.pf-facts dd { margin: 0; color: var(--navy); font-weight: 600; }
.pf-for { padding: 26px; background: var(--bg-soft); border: 1px solid var(--border); clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
.pf-sub-h { font-size: 1.05rem; margin-bottom: 14px; }
.pf-for ul { display: grid; gap: 16px; }
.pf-for li { display: flex; gap: 14px; align-items: flex-start; }
.pf-for strong { display: block; color: var(--navy); }
.pf-for li div > span { display: block; color: var(--muted); font-size: 0.9rem; }
.pf-principles-compact { gap: 26px 34px; }
.pf-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pf-pager { display: flex; justify-content: space-between; align-items: stretch; gap: 14px; margin-top: 40px; }
.pf-pager a { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 14px 20px; min-width: 200px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--navy); font-weight: 700; }
.pf-pager a:hover { border-color: var(--primary); color: var(--primary-ink); }
.pf-pager .mono { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pf-pager-next { text-align: right; align-items: flex-end; }
.pf-pager-all { align-items: center; }

/* mega-menu: products grouped by solution area */
.dd-cols-pf { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 12px 18px; }
.nav-dd-wide:has(.dd-cols-pf) { min-width: min(880px, 92vw); }
.dd-group-h { margin: 0 0 4px; padding: 0 9px; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary-ink); font-weight: 700; }

/* responsive */
@media (max-width: 1100px) {
  .pf-grid, .pf-grid-3, .pf-personas, .pf-bignums { grid-template-columns: repeat(2, 1fr); }
  .pf-principles { grid-template-columns: repeat(2, 1fr); }
  .pf-steps { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .pf-steps::before { display: none; }
  .dd-cols-pf { grid-template-columns: repeat(3, minmax(150px, 1fr)); }
}
@media (max-width: 980px) {
  .pf-hero-grid, .pf-split, .pf-deploy-grid, .pf-pricing-grid { grid-template-columns: 1fr; }
  .pf-hero-art { max-width: 300px; order: -1; }
  .pf-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .pf-ents, .pf-stages { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pf-grid, .pf-grid-3, .pf-personas, .pf-bignums, .pf-principles { grid-template-columns: 1fr; }
  .pf-steps { grid-template-columns: 1fr; }
  .pf-step { display: grid; grid-template-columns: 58px 1fr; column-gap: 16px; text-align: left; }
  .pf-step-n { grid-row: span 2; }
  .pf-hero-stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .pf-hero-stats li { min-width: 0; overflow-wrap: anywhere; }
  .pf-hero-stats-3 strong { font-size: 1.3rem; }
  .pf-facts div { grid-template-columns: 1fr; gap: 4px; }
  .pf-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pf-modules li { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
  .pf-modules li { padding: 14px; font-size: 0.88rem; }
  .pf-pager { flex-direction: column; }
  .pf-pager a, .pf-pager-next { min-width: 0; text-align: left; align-items: flex-start; }
  .pf-hero-art { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pf-hero-art img { animation: none; } }

/* dark theme adjustments */
:root[data-theme="dark"] .pf-price-card { background: #0E2840; }
:root[data-theme="dark"] .pf-price-card h3 { color: #F2F6F6; }
:root[data-theme="dark"] .pf-dark .pf-price-card p { color: #C7D5E0; }
:root[data-theme="dark"] .pf-price-card .icon { color: #5EEAD4; }
:root[data-theme="dark"] .pf-price-card .pf-price-hl h3, :root[data-theme="dark"] .pf-dark .pf-price-card .pf-price-hl p, :root[data-theme="dark"] .pf-price-card .pf-price-hl .icon { color: #0B2239; }

/* ---- Keyboard focus (WCAG 2.4.7): bootstrap.min.css sets .btn:focus-visible { outline: 0 }
   with an undefined shadow var, so CTA buttons had no ring. Two-tone ring reads on light AND dark. ---- */
.btn:focus-visible, .pf-filter:focus-visible, .dd-toggle:focus-visible, .marquee-toggle:focus-visible, .hero-vtoggle:focus-visible {
  outline: 2px solid #0B2239; outline-offset: 2px; box-shadow: 0 0 0 5px #5EEAD4;
}
.pf-hero :focus-visible, .pf-dark :focus-visible, .site-footer :focus-visible, .cta-banner :focus-visible,
.hero-video-on :focus-visible, .video-hero .site-header:not(.scrolled) :focus-visible, :root[data-theme="dark"] :focus-visible {
  outline-color: #5EEAD4;
}
/* Comfortable tap targets (WCAG 2.5.8): card links */
.card-link { min-height: 32px; }

/* grid items may shrink below their min-content (fixes 5px overflow at 320px on contact) */
.contact-grid > * { min-width: 0; }
.pf-table tbody th a { display: inline-block; padding: 4px 0; }
/* standalone phone / email links: comfortable tap height (WCAG 2.5.8) */
main a[href^="mailto:"]:not(.btn), main a[href^="tel:"]:not(.btn) { display: inline-block; padding: 3px 0; }

/* =========================================================
   SERVICE AREA PAGES (cloud.html, software-development.html)
   ========================================================= */
.svc-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.svc-photo { margin: 0; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow-lg); clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%); }
.svc-photo img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; object-position: center 20%; }
.svc-rels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-rel { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 120px; padding: 20px 22px 44px; background: var(--surface); border: 1px solid var(--border); color: var(--navy); clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%); transition: border-color 0.25s, transform 0.25s var(--ease); }
.svc-rel .mono { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary-ink); font-weight: 700; }
.svc-rel strong { font-family: var(--font-head); font-size: 1.05rem; line-height: 1.3; }
.svc-rel .icon { position: absolute; left: 22px; bottom: 18px; color: var(--primary-ink); transition: transform 0.25s var(--ease); }
.svc-rel:hover { border-color: var(--primary); transform: translateY(-3px); }
.svc-rel:hover .icon { transform: translateX(4px); }
/* an odd last card in a 2-column grid spans the row instead of sitting alone */
.cards-2 > .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 1100px) { .svc-rels { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .svc-split { grid-template-columns: 1fr; gap: 32px; } .svc-photo img { max-height: 360px; } }
@media (max-width: 520px) { .svc-rels { grid-template-columns: 1fr; } }

/* ---- Header fit with 10 top-level items (Cloud + Software added) ----
   The global img{max-width:100%} let the flex layout squeeze the logo to 0px wide. */
.site-header .brand { flex: 0 0 auto; }
.site-header .brand-logo { max-width: none; }
.site-header .container { max-width: 1440px; }
.nav-links { flex: 0 1 auto; min-width: 0; }
@media (max-width: 1439px) { .nav-links > a, .nav-dd-btn { padding: 8px 7px; font-size: 0.84rem; } .dd-toggle { margin-left: -7px; } }
@media (max-width: 1280px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}


/* ---- Typography consistency: one menu style, form fields in the brand font ---- */
input, select, textarea, button { font-family: inherit; }
.site-header .nav-links > a, .site-header .nav-links .nav-dd-btn { font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; letter-spacing: 0; }
@media (max-width: 1439px) { .site-header .nav-links > a, .site-header .nav-links .nav-dd-btn { font-size: 0.85rem; } }
.mobile-menu nav a { font-family: var(--font-body); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.01em; }
/* uppercase labels: Manrope needs a touch more tracking than the old monospace face */
.eyebrow, .breadcrumb, .footer-title, .dd-group-h, .pf-eyebrow, .mono { font-variant-numeric: tabular-nums; }
/* page-hero paragraph sizing must not inflate the label styles inside the banner */
.page-hero .eyebrow { font-size: 0.77rem; }
.page-hero .breadcrumb { font-size: 0.72rem; }
/* headings: no single orphan word on the last line (e.g. hero titles) */
h1, h2, h3, .section-title, .hero-title { text-wrap: balance; }
.section-lead, .card p, .page-hero p { text-wrap: pretty; }
/* contact form: say up front that every field is required; privacy note moved out of an inline style */
.form-required-note { font-size: 0.85rem; color: var(--muted, inherit); margin: 0 0 14px; }
.form-privacy-note { font-size: 0.82rem; opacity: 0.72; margin-top: 12px; }
/* contact details: the tel:/mailto: tap-target rule above must not break the icon + text row layout */
main .contact-list a[href^="tel:"], main .contact-list a[href^="mailto:"] { display: flex; padding: 0; }
/* hero background video: plays by default, no pause button (owner's choice; reduced-motion and data-saver visitors get no video at all) */
.hero-vtoggle { display: none !important; }
/* mobile menu: scrolls on short (landscape) screens instead of clipping the top links */
.mobile-menu { overflow-y: auto; -webkit-overflow-scrolling: touch; justify-content: safe center; }

/* ===================== Dark theme: white text everywhere =====================
   Owner request: in dark mode every text (menus, body, labels, footer) must read as white.
   Body text is near-white, secondary text a very light grey, accent labels a very light teal.
   Text that sits on bright teal buttons/badges keeps its dark colour (white on teal is less legible). */
:root[data-theme="dark"] {
  --text: #F8FAFC;
  --muted: #E2E8F0;
  --navy: #FFFFFF;
  --navy-2: #F1F5F9;
  --primary-ink: #99F6E4;
}
:root[data-theme="dark"] .nav-links > a,
:root[data-theme="dark"] .nav-links .nav-dd-btn,
:root[data-theme="dark"] .dd-cols a,
:root[data-theme="dark"] .dd-sub,
:root[data-theme="dark"] .dd-group-h,
:root[data-theme="dark"] .mobile-menu nav a,
:root[data-theme="dark"] .site-footer,
:root[data-theme="dark"] .site-footer p,
:root[data-theme="dark"] .site-footer a,
:root[data-theme="dark"] .footer-col .footer-title,
:root[data-theme="dark"] .footer-col ul a,
:root[data-theme="dark"] .footer-bottom,
:root[data-theme="dark"] .trust-strip,
:root[data-theme="dark"] .trust-strip span,
:root[data-theme="dark"] .pf-hero-stats span,
:root[data-theme="dark"] .pf-console figcaption,
:root[data-theme="dark"] .pf-console-bar em,
:root[data-theme="dark"] .pf-of,
:root[data-theme="dark"] .stat-label,
:root[data-theme="dark"] .card-index,
:root[data-theme="dark"] dt,
:root[data-theme="dark"] th { color: #F1F5F9; }
:root[data-theme="dark"] .nav-links > a:hover,
:root[data-theme="dark"] .nav-links > a.active,
:root[data-theme="dark"] .nav-dd-btn.active,
:root[data-theme="dark"] .dd-cols a:hover,
:root[data-theme="dark"] .site-footer a:hover { color: #99F6E4; }
/* accent-coloured text (labels, numbers, highlights): very light teal instead of mid teal */
:root[data-theme="dark"] .pf-hl,
:root[data-theme="dark"] .pf-num,
:root[data-theme="dark"] .pf-stage-n,
:root[data-theme="dark"] .step-node,
:root[data-theme="dark"] .eyebrow,
:root[data-theme="dark"] .card-link,
:root[data-theme="dark"] .pf-card-link,
:root[data-theme="dark"] .error-links a { color: #99F6E4; }
/* ...but numbers sitting on a bright teal chip keep dark text for contrast */
:root[data-theme="dark"] .pf-why .pf-num,
:root[data-theme="dark"] .pf-step-n { color: #0B2239; }
/* dark theme: always-dark product sections and video heroes use fixed greys/teals - lift them too */
:root[data-theme="dark"] .pf-hero,
:root[data-theme="dark"] .pf-desc,
:root[data-theme="dark"] .pf-dark,
:root[data-theme="dark"] .pf-dark p,
:root[data-theme="dark"] .pf-dark .section-lead,
:root[data-theme="dark"] .pf-dark .pf-price-card p,
:root[data-theme="dark"] .pf-principle p,
:root[data-theme="dark"] .pf-hero .breadcrumb,
:root[data-theme="dark"] .pf-hero .breadcrumb a,
:root[data-theme="dark"] .page-hero .breadcrumb,
:root[data-theme="dark"] .page-hero .breadcrumb a { color: #F1F5F9; }
:root[data-theme="dark"] .pf-eyebrow,
:root[data-theme="dark"] .pf-lead-hl,
:root[data-theme="dark"] .pf-stage h3,
:root[data-theme="dark"] .eyebrow.on-dark,
:root[data-theme="dark"] .card-cta-tile .card-link,
:root[data-theme="dark"] .page-hero.hero-video-on .eyebrow { color: #99F6E4; }
:root[data-theme="dark"] .page-hero.hero-video-on h1 .grad-text,
:root[data-theme="dark"] .hero.hero-video-on .hero-title .grad-text { -webkit-text-fill-color: #99F6E4; color: #99F6E4; }
/* gradient accent words in headings: light teal-to-white gradient so they read near-white */
:root[data-theme="dark"] .grad-text { background-image: linear-gradient(100deg, #99F6E4, #E0FFFA); }

/* ===================== Hero: rotating service line (">_ Managed SOC / SIEM" + blinking caret) =====================
   Same motion as drchanaka.com: the word blurs/slides out, the next slides in, a gradient flows through it. */
.hero-roles { display: flex; align-items: center; justify-content: center; gap: 12px; margin: -4px 0 22px; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.2rem, 3vw, 2rem); letter-spacing: -0.02em; line-height: 1.25; min-height: 1.5em; }
.role-pre { color: #5EEAD4; font-size: 0.62em; opacity: 0.95; }
.role-rotator { position: relative; display: inline-block; }
.role-word { display: inline-block; background: linear-gradient(100deg, #5EEAD4, #CCFBF1 45%, #2DD4BF 75%, #5EEAD4); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradFlow 8s linear infinite; will-change: transform, opacity; }
.role-word.is-out { animation: roleOut 0.4s var(--ease) forwards; }
.role-word.is-in { animation: roleIn 0.5s var(--ease) forwards, gradFlow 8s linear infinite; }
@keyframes roleOut { to { opacity: 0; transform: translateY(-55%); filter: blur(5px); } }
@keyframes roleIn { from { opacity: 0; transform: translateY(55%); filter: blur(5px); } to { opacity: 1; transform: none; filter: none; } }
.role-caret { display: inline-block; width: 3px; height: 1.05em; background: #2DD4BF; border-radius: 2px; animation: caretBlink 1.05s steps(1) infinite; box-shadow: 0 0 10px rgba(45,212,191,0.6); }
@keyframes caretBlink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .role-word, .role-word.is-in, .role-word.is-out { animation: none; }
  .role-caret { animation: none; }
}
@media (max-width: 560px) { .hero-roles { gap: 8px; font-size: 1.15rem; } }

/* ===================== Home hero: animated network + grid OVER the background video =====================
   Like drchanaka.com: the moving particle mesh, grid and soft glow stay visible while the video plays
   (they were previously hidden as soon as the video started). Layering: video (0) < scrim (1) < mesh/grid/glow (2) < content. */
.hero.hero-video-on .hero-canvas { opacity: 1 !important; z-index: 2; }
.hero.hero-video-on .hero-grid { opacity: 1 !important; z-index: 2;
  background-image: linear-gradient(rgba(191,223,248,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(191,223,248,0.07) 1px, transparent 1px); }
.hero.hero-video-on .hero-glow { opacity: 0.5 !important; z-index: 2; mix-blend-mode: screen; }
@media (prefers-reduced-motion: reduce) { .hero.hero-video-on .hero-canvas { opacity: 0.6 !important; } }

/* ===================== Home hero: full animation set (headline, background, scan, CTA) ===================== */
/* 1) headline accent words: flowing light-teal gradient, also over the video (was a flat colour) */
.hero.hero-video-on .hero-title .grad-text {
  background: linear-gradient(100deg, #2DD4BF 0%, #CCFBF1 30%, #5EEAD4 55%, #99F6E4 80%, #2DD4BF 100%);
  background-size: 240% auto; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradFlow 7s linear infinite;
  filter: drop-shadow(0 4px 24px rgba(45,212,191,0.25));
}
/* 2) headline words rise in one after another on load (spans added by main.js) */
.hero-title .hw { display: inline-block; opacity: 0; transform: translateY(0.45em); filter: blur(6px); animation: heroWordIn 0.8s var(--ease) forwards; }
@keyframes heroWordIn { to { opacity: 1; transform: none; filter: none; } }
.hero .hero-roles, .hero .hero-sub, .hero .hero-cta, .hero .trust-strip { animation: heroFadeUp 0.9s var(--ease) both; }
.hero .hero-roles { animation-delay: 0.75s; }
.hero .hero-sub { animation-delay: 0.9s; }
.hero .hero-cta { animation-delay: 1.05s; }
.hero .trust-strip { animation-delay: 1.2s; }
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
/* 3) background: the grid drifts slowly, the glow breathes */
.hero .hero-grid { background-size: 56px 56px; animation: heroGridDrift 24s linear infinite; }
@keyframes heroGridDrift { to { background-position: 56px 56px, 56px 56px; } }
/* 4) a soft scan light sweeping down the hero */
.hero-bg .hero-scan { position: absolute; left: 0; right: 0; top: -20%; height: 18%; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(94,234,212,0.10) 45%, rgba(204,251,241,0.16) 50%, rgba(94,234,212,0.10) 55%, transparent);
  animation: heroScan 9s cubic-bezier(.45,.05,.55,.95) infinite; }
@keyframes heroScan { 0% { top: -20%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 105%; opacity: 0; } }
/* 5) primary call-to-action: a light sheen passes across every few seconds */
.hero .hero-cta .btn-primary { position: relative; overflow: hidden; }
.hero .hero-cta .btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent); transform: skewX(-20deg);
  animation: ctaSheen 4.5s var(--ease) 2s infinite; pointer-events: none; }
@keyframes ctaSheen { 0% { left: -60%; } 30%, 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) {
  .hero .hero-title .grad-text, .hero .hero-grid, .hero-bg .hero-scan, .hero .hero-cta .btn-primary::after { animation: none !important; }
  .hero-title .hw, .hero .hero-roles, .hero .hero-sub, .hero .hero-cta, .hero .trust-strip { animation: none !important; opacity: 1; transform: none; filter: none; }
  .hero-bg .hero-scan { display: none; }
}
/* each animated word inside the gradient phrase carries its own flowing gradient (a parent text-clip does not reach transformed children) */
.hero.hero-video-on .hero-title .grad-text .hw {
  background: linear-gradient(100deg, #2DD4BF 0%, #CCFBF1 30%, #5EEAD4 55%, #99F6E4 80%, #2DD4BF 100%);
  background-size: 240% auto; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation-name: heroWordIn, gradFlow; animation-duration: 0.8s, 7s; animation-timing-function: var(--ease), linear;
  animation-iteration-count: 1, infinite; animation-fill-mode: forwards, none;
}

/* ===================== Light theme: black menu text everywhere =====================
   Owner request. The header gets a solid white bar in light mode (also over the home-page video,
   where it used to be transparent with white text), so black text is always readable. */
:root:not([data-theme="dark"]) .site-header .nav-bar,
:root:not([data-theme="dark"]) .video-hero .site-header:not(.scrolled) .nav-bar {
  background: rgba(255,255,255,0.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
:root.video-hero:not([data-theme="dark"]) .site-header:not(.scrolled) .brand-logo-ink { display: block; }
:root.video-hero:not([data-theme="dark"]) .site-header:not(.scrolled) .brand-logo-rev { display: none; }
:root:not([data-theme="dark"]) .site-header .nav-links > a,
:root:not([data-theme="dark"]) .site-header .nav-links .nav-dd-btn,
:root:not([data-theme="dark"]) .site-header .nav-links > a.active,
:root:not([data-theme="dark"]) .site-header .dd-toggle,
:root:not([data-theme="dark"]) .site-header .dd-cols a,
:root:not([data-theme="dark"]) .site-header .dd-group-h,
:root:not([data-theme="dark"]) .site-header .dd-sub,
:root:not([data-theme="dark"]) .site-header .theme-toggle,
:root:not([data-theme="dark"]) .site-header .nav-toggle,
:root:not([data-theme="dark"]) .mobile-menu nav a { color: #000000 !important; opacity: 1; }
:root.video-hero:not([data-theme="dark"]) .site-header:not(.scrolled) .theme-toggle { background: #ffffff; border-color: var(--border-strong); }
:root:not([data-theme="dark"]) .site-header .nav-links > a:hover,
:root:not([data-theme="dark"]) .site-header .nav-links .nav-dd-btn:hover,
:root:not([data-theme="dark"]) .site-header .dd-cols a:hover,
:root:not([data-theme="dark"]) .mobile-menu nav a:hover { color: #0F766E !important; }

/* ===================== Light theme: black text, no grey (owner request) ===================== */
:root:not([data-theme="dark"]) { --text: #000000; --muted: #000000; }
:root:not([data-theme="dark"]) .contact-list span:not(.ci-icon),
:root:not([data-theme="dark"]) .dd-sub,
:root:not([data-theme="dark"]) .msg-wordcount,
:root:not([data-theme="dark"]) .form-required-note,
:root:not([data-theme="dark"]) .form-privacy-note { color: #000000; opacity: 1; }
:root:not([data-theme="dark"]) .pf-dark .pf-price-card p { color: #000000; }

/* ===================== ISO 27001 page ===================== */
.iso-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.iso-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px 0 0; padding: 0; }
.iso-chips li { padding: 7px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); }
.iso-chips li::before { content: "\2713"; margin-right: 7px; color: var(--primary); font-weight: 800; }
.iso-deliverables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 40px; max-width: 980px; margin: 0 auto; }
@media (max-width: 760px) { .iso-deliverables { grid-template-columns: 1fr; } }
.dd-all.dd-iso { font-weight: 700; color: var(--primary); }
:root[data-theme="dark"] .dd-all.dd-iso { color: #99F6E4; }
:root[data-theme="dark"] .iso-chips li { color: #F1F5F9; }

/* Home hero: a light sheen sweeps across the white headline words, word by word (delays come from the
   entrance stagger set in main.js), then rests on plain white. Only over the video (white-on-dark). */
.hero.hero-video-on .hero-title > .hw {
  background: linear-gradient(100deg, #ffffff 0%, #ffffff 36%, #5EEAD4 46%, #CCFBF1 50%, #5EEAD4 54%, #ffffff 64%, #ffffff 100%);
  background-size: 300% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  animation-name: heroWordIn, titleSheen; animation-duration: 0.8s, 5s; animation-timing-function: var(--ease), ease-in-out;
  animation-iteration-count: 1, infinite; animation-fill-mode: forwards, none;
}
@keyframes titleSheen { 0% { background-position: 100% 0; } 28%, 100% { background-position: 0% 0; } }
@media (prefers-reduced-motion: reduce) { .hero.hero-video-on .hero-title > .hw { animation: none !important; opacity: 1; transform: none; filter: none; } }

/* ===================== Performance: keep the hero video smooth =====================
   Effects drawn over a playing video must be compositor-only (transform/opacity), otherwise the
   browser repaints the whole hero every frame and the video stutters or freezes after a refresh. */
/* light header over the video: solid white, no backdrop blur (blurring a video every frame is very expensive) */
:root:not([data-theme="dark"]) .site-header .nav-bar,
:root.video-hero:not([data-theme="dark"]) .site-header:not(.scrolled) .nav-bar { background: #ffffff; -webkit-backdrop-filter: none; backdrop-filter: none; }
/* no blend mode / filter on layers above the video */
.hero.hero-video-on .hero-glow { mix-blend-mode: normal; opacity: 0.35 !important; }
.hero .hero-title .grad-text, .hero.hero-video-on .hero-title .grad-text { filter: none; }
/* grid drift and scan light move with transform (GPU), not background-position/top (repaint) */
.hero .hero-grid { inset: -56px; animation: heroGridShift 24s linear infinite; will-change: transform; }
@keyframes heroGridShift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(56px, 56px, 0); } }
.hero-bg .hero-scan { top: 0; height: 18%; transform: translate3d(0, -110%, 0); animation: heroScanY 9s cubic-bezier(.45,.05,.55,.95) infinite; will-change: transform, opacity; }
@keyframes heroScanY { 0% { transform: translate3d(0, -110%, 0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translate3d(0, 560%, 0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero .hero-grid { animation: none !important; } }

/* Owner request: no floating particle network in the hero (felt like a generic "AI" template). */
.hero .hero-canvas, .hero.hero-video-on .hero-canvas { display: none !important; }

/* Owner request: home hero video must be clear like the inner pages - no grid, scan light or glow over it.
   (Headline animation and the rotating ">_" service line stay.) */
.hero.hero-video-on .hero-grid,
.hero.hero-video-on .hero-glow,
.hero.hero-video-on .hero-scan,
.hero.hero-video-on .hero-canvas { display: none !important; }

/* ===================== Mobile menu: expandable sub-menus ===================== */
.mobile-menu nav { width: 100%; }
.mobile-menu nav .m-item { display: flex; flex-direction: column; align-items: center; width: 100%; }
.mobile-menu nav .m-row { display: flex; align-items: center; justify-content: center; gap: 4px; }
.mobile-menu .m-toggle { flex: 0 0 auto; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0;
  border: 1px solid var(--border-strong); border-radius: 10px; background: transparent; color: #000000; cursor: pointer; }
.mobile-menu .m-caret { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.2s ease; }
.mobile-menu .m-toggle[aria-expanded="true"] .m-caret { transform: translateY(2px) rotate(-135deg); }
.mobile-menu .m-sub { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 2px 0 12px; max-width: 92vw; }
.mobile-menu .m-sub[hidden] { display: none; }
.mobile-menu nav .m-sub a { font-size: 1rem !important; font-weight: 500 !important; padding: 7px 10px; text-align: center; line-height: 1.3; }
:root:not([data-theme="dark"]) .mobile-menu nav .m-sub a.m-all { color: #0F766E !important; font-weight: 700 !important; }
:root[data-theme="dark"] .mobile-menu .m-toggle { color: #FFFFFF; }
:root[data-theme="dark"] .mobile-menu nav .m-sub a { color: #F1F5F9; }
:root[data-theme="dark"] .mobile-menu nav .m-sub a.m-all { color: #99F6E4; font-weight: 700 !important; }

/* Home service cards: meaningful, larger icons (shield, server, package, briefcase, cloud, code, award) */
.card-icon.card-icon-svc { width: 64px; height: 64px; border-radius: 18px; }
.card-icon.card-icon-svc .icon { width: 30px; height: 30px; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Without the video (JavaScript off, or the video failed) the hero keeps its light background: use the site's
   normal dark-teal gradient for the accent words and the service line, so they stay readable. */
.hero:not(.hero-video-on) .hero-title .grad-text .hw { background: inherit; background-size: inherit; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero:not(.hero-video-on) .role-word { background-image: linear-gradient(100deg, #0F766E, #14B8A6 50%, #0F766E); }
.hero:not(.hero-video-on) .role-pre { color: #0F766E; }
:root[data-theme="dark"] .hero:not(.hero-video-on) .role-word { background-image: linear-gradient(100deg, #5EEAD4, #CCFBF1 45%, #5EEAD4); }
:root[data-theme="dark"] .hero:not(.hero-video-on) .role-pre { color: #5EEAD4; }

/* ===================== Rounded corners everywhere (owner request: no sharp / cut-corner boxes) ===================== */
.pf-badges li, .pf-card, .pf-bignum, .pf-persona, .pf-tile-ic, .pf-stage, .pf-why, .pf-for, .svc-photo, .svc-rel { clip-path: none !important; }
.pf-card, .pf-bignum, .pf-persona, .pf-stage, .pf-why, .pf-for, .svc-rel { border-radius: 16px; }
.pf-card { overflow: hidden; }
.pf-badges li { border-radius: 999px; }
.pf-tile-ic, .pf-why .pf-num { border-radius: 10px; }

/* Light theme: text on the dark "Not sure where to start?" tile stays white (the black-text rule must not reach it) */
.card.card-cta-tile p { color: rgba(255,255,255,0.88); }
.card.card-cta-tile h3 { color: #ffffff; }
.card.card-cta-tile .card-link { color: #5EEAD4; }
/* buttons and the product comparison table: rounded like the cards */
.btn { border-radius: 10px; }
.pf-table-wrap { border-radius: 14px; }
.hero .hero-cta .btn-primary { border-radius: 10px; }

/* product cards: no running number (it revealed the portfolio size) and rounded Previous / All products / Next boxes */
.pf-card-n { display: none; }
.pf-pager a, .pf-pager-all, .pf-pager-prev, .pf-pager-next { border-radius: 12px; }

/* Badges and chips: soft rounded rectangles instead of full pills (consistent with 10px buttons, 16px cards) */
.cert-badge, .plan-badge, .iso-chips li, .pf-badges li, .doc-chip, .prod-chip, .ngd-tag, .layer .ltag,
.filter, .pf-filter { border-radius: 10px; }
.pf-chip { border-radius: 8px; }
.pv-badge { border-radius: 10px; }

/* product-name chips (Products comparison table, cards): black text in light mode, white in dark */
:root:not([data-theme="dark"]) .pf-chip { color: #000000; font-weight: 600; }
:root[data-theme="dark"] .pf-chip { color: #F1F5F9; }

/* contact map: open the office in Google Maps */
.map-actions { display: flex; justify-content: flex-end; margin-top: 14px; }
.map-actions .btn .icon { width: 16px; height: 16px; }
@media (max-width: 640px) { .map-actions { justify-content: stretch; } .map-actions .btn { width: 100%; justify-content: center; } }

/* contact form: several services per request */
.svc-pick { border: 0; padding: 0; margin: 0; min-width: 0; }
.svc-pick legend { font-size: 0.85rem; font-weight: 700; color: var(--navy); padding: 0; margin-bottom: 4px; }
.svc-hint { margin: 0 0 8px; font-size: 0.82rem; color: var(--muted); }
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.svc-option { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface-2); cursor: pointer; font-size: 0.92rem; color: var(--text); transition: border-color .2s, background .2s, box-shadow .2s; }
.svc-option input { width: 18px; height: 18px; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; flex: none; accent-color: var(--primary); cursor: pointer; }
.svc-option span { font-size: 0.92rem; font-weight: 500; color: var(--text); }
.svc-option:hover { border-color: var(--primary); }
.svc-option:has(input:checked) { border-color: var(--primary); background: rgba(15,118,110,0.08); box-shadow: 0 0 0 1px var(--primary) inset; }
.svc-option:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(15,118,110,0.25); }
.svc-pick.invalid .svc-option { border-color: #DC2626; }
:root[data-theme="dark"] .svc-option:has(input:checked) { background: rgba(20,184,166,0.14); }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* "Recommended for you": privacy footnote + opt-out, contact-form pre-fill note */
.sanit-rec-foot { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--border); font-size: .74rem; line-height: 1.5; color: var(--muted); }
.sanit-rec-off { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--primary-ink); text-decoration: underline; cursor: pointer; }
.sanit-rec-off:hover { color: var(--primary); }
.svc-prefill { margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; background: rgba(15,118,110,0.08); border: 1px solid rgba(15,118,110,0.25); font-size: .82rem; color: var(--text); }
:root[data-theme="dark"] .svc-prefill { background: rgba(20,184,166,0.12); border-color: rgba(20,184,166,0.35); }
.personalise-box { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 14px 0 6px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); }
.personalise-box p { margin: 0; flex: 1 1 240px; }

/* personalisation consent prompt (opt-in) */
.sanit-consent .sanit-rec-title { margin-bottom: 6px; }
.sanit-consent .sanit-rec-reason { font-size: .82rem; line-height: 1.55; margin-bottom: 12px; }
.sanit-consent-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.sanit-consent-actions .btn { flex: 1 1 auto; justify-content: center; }
.sanit-consent .sanit-rec-foot a { color: var(--primary-ink); font-weight: 700; }
