/* Self-hosted fonts (replaces Google Fonts CDN, see VULN-004) */
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/inter-400.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/inter-500.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/inter-600.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/inter-700.woff2") format("woff2")}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/jetbrainsmono-500.woff2") format("woff2")}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/jetbrainsmono-600.woff2") format("woff2")}
@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/spacegrotesk-500.woff2") format("woff2")}
@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/spacegrotesk-600.woff2") format("woff2")}
@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/spacegrotesk-700.woff2") format("woff2")}

/* =========================================================
   SANIT ENGINEERING CONSULTANCY
   Light, professional brand theme (navy + blue + white).
   Animated, accessible, responsive. No build step.
   ========================================================= */

:root {
  /* surfaces - Cyber Emerald (dark) */
  --bg: #0b0f0e;
  --bg-soft: #0f1614;
  --bg-tint: #0d1311;
  --surface: #121b18;
  --surface-2: #18241f;
  --border: #213029;
  --border-strong: #2e423a;

  /* brand - emerald + teal on near-black */
  --navy: #eafff7;          /* repurposed: strong heading / light text */
  --navy-2: #0d7a5f;        /* deep emerald (alt avatars) */
  --primary: #10b981;       /* emerald */
  --primary-dark: #0e9f6e;
  --primary-ink: #34d399;   /* accessible emerald text on dark */
  --primary-glow: rgba(16, 185, 129, 0.30);
  --accent: #2dd4bf;        /* teal secondary */
  --accent-ink: #5eead4;
  --text: #c5d6cf;
  --muted: #8ba49a;
  --success: #34d399;
  --success-dot: #34d399;

  /* type */
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* shadows */
  --shadow-sm: 0 4px 14px 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.70);

  --container: 1200px;
  --radius: 16px;
  --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 24px; border-radius: 100px; 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: var(--surface); 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(10,15,13,0.82); 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: cover; object-position: center; border-radius: 50%; display: block; border: 1.5px solid rgba(16,185,129,0.55); box-shadow: 0 4px 12px -4px rgba(0,0,0,0.6); }
.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-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(10,15,13,0.6); 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(8,12,11,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, #0b0f0e 0%, #0d1614 55%, #091210 100%); }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(45,212,191,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(45,212,191,0.07) 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(45,212,191,0.26), 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; }
.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: var(--surface); 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(16,185,129,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); }

.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(16,185,129,0.08), transparent 60%); }
.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); }
.card:hover { transform: translateY(-6px); border-color: rgba(16,185,129,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(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2); padding: 3px 8px; border-radius: 6px; font-weight: 600; }
.prod .card-index { top: auto; bottom: 24px; right: auto; left: 24px; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 14px; font-size: 1.55rem; color: var(--primary); background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.16); transition: background 0.3s, color 0.3s, transform 0.3s; }
.card:hover .card-icon { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; transform: scale(1.06); }
.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 { 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: var(--surface); 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(16,185,129,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(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.16); margin-bottom: 16px; }
.bento-tile[data-cat="safety"] .bento-icon { color: var(--accent-ink); background: rgba(45,212,191,0.1); border-color: rgba(45,212,191,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(16,185,129,0.08); border: 1px solid rgba(16,185,129,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, #0c1a16, #0e2a22 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(45,212,191,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, #9fe3ff); -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: #9fc6ee; 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(16,185,129,0.4); box-shadow: var(--shadow-lg); }
.team-card:hover::after { width: 100%; }
.team-card.featured { border-color: rgba(16,185,129,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(16,185,129,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(45,212,191,0.1); border: 1px solid rgba(45,212,191,0.22); padding: 3px 9px; border-radius: 20px; margin-bottom: 14px; }

/* =========================================================
   TALENTS PAGE (mytalent.html)
   ========================================================= */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + 92px) 0 64px; background: linear-gradient(180deg, #0b0f0e 0%, #0d1614 100%); text-align: center; }
.page-hero .hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(45,212,191,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(45,212,191,0.07) 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(16,185,129,0.35); }
.profile:hover::after { height: 100%; }
.profile.featured { border-color: rgba(16,185,129,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(16,185,129,0.08); border: 1px solid rgba(16,185,129,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(16,185,129,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(16,185,129,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(45,212,191,0.1); border: 1px solid rgba(45,212,191,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(16,185,129,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(16,185,129,0.07); border: 1px solid rgba(16,185,129,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
   ========================================================= */
.clients .container { margin-bottom: 8px; }
.marquee { position: relative; overflow: hidden; padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-chip { flex: 0 0 auto; width: 168px; height: 90px; display: flex; align-items: center; justify-content: center; background: var(--surface); border-radius: 14px; padding: 16px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); filter: grayscale(1); opacity: 0.78; transition: filter 0.3s, opacity 0.3s, transform 0.3s, box-shadow 0.3s; }
.logo-chip img { max-height: 100%; width: auto; object-fit: contain; }
.logo-chip:hover { filter: grayscale(0); opacity: 1; transform: translateY(-3px); box-shadow: var(--shadow); }

/* =========================================================
   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: var(--surface); 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(16,185,129,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, #081311 0%, #0c2620 45%, var(--primary) 130%); }
.cta-glow { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 760px; height: 460px; background: radial-gradient(circle, rgba(45,212,191,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: #f0f7ff; }
.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: var(--surface); outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(16,185,129,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; }
.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(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.16); }
.contact-list a:hover .ci-icon { background: rgba(16,185,129,0.16); }
.reassure-card { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; background: rgba(45,212,191,0.07); border: 1px solid rgba(45,212,191,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, #0b1512, #060d0b); color: #c9d6ea; padding: 64px 0 28px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: #8ba3c4; }
.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: #9fb2cf; font-size: 0.92rem; max-width: 320px; margin-bottom: 18px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #b8c8e0; 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 { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: #8ba3c4; 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: #c9d6ea; font-size: 0.92rem; transition: color 0.2s, padding-left 0.2s; }
.footer-col ul a:hover { color: #5bb8f0; padding-left: 6px; }
.footer-news p { color: #9fb2cf; 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: #9fb2cf; font-size: 0.82rem; }
.footer-legal a:hover { color: #5bb8f0; }

/* =========================================================
   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: var(--surface); 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(16,185,129,0.08); border: 1px solid rgba(16,185,129,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: var(--surface); 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; filter: grayscale(1); opacity: 0.72; transition: filter 0.25s, opacity 0.25s; }
.tech-logo:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tech-logo:hover img { filter: grayscale(0); opacity: 1; }

/* 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(16,185,129,0.08); border: 1px solid rgba(16,185,129,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(16,185,129,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(16,185,129,0.08); border: 1px solid rgba(16,185,129,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: var(--surface); border: 3px solid var(--primary); box-shadow: 0 0 0 4px rgba(16,185,129,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, #081311 0%, #0c2620 50%, var(--primary) 130%); color: #fff; }
.certs-glow { position: absolute; right: -120px; top: -90px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(45,212,191,0.4), 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: #7fe3f5; }
.certs .grad-text { background: linear-gradient(100deg, #6fd2ff, #00e6ff); -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(16,185,129,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(16,185,129,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
   ========================================================= */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .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 { 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; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
  .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(0, 184, 212, 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(10, 130, 214, 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; } }

/* =========================================================
   CYBER EMERALD DARK — GLOBAL POLISH
   ========================================================= */
html { background: var(--bg); scrollbar-gutter: stable; }
::selection { background: rgba(16,185,129,0.32); color: #eafff7; }
* { scrollbar-color: var(--primary) var(--surface); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary-dark), var(--primary)); border-radius: 100px; border: 2px solid var(--bg-soft); }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
/* Client/tech logos read better lifted on dark */
.logo-chip, .tech-logo { background: var(--surface-2); }

/* =========================================================
   SHARE BAR / FOLLOW / ACADEMIC LINKS
   ========================================================= */
.contact-subhead { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary-ink); margin: 26px 0 12px; }
.profile-links { display: flex; flex-wrap: wrap; gap: 9px; }
.profile-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; color: var(--navy); background: var(--surface-2); border: 1px solid var(--border-strong); padding: 8px 14px; border-radius: 100px; transition: border-color 0.2s, color 0.2s, transform 0.2s, background 0.2s; }
.profile-link .icon { color: var(--primary-ink); font-size: 1rem; }
.profile-link:hover { color: var(--primary-ink); border-color: var(--primary); transform: translateY(-2px); background: rgba(16,185,129,0.08); }

.follow-row { display: flex; flex-wrap: wrap; gap: 9px; }
.follow-btn { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); transition: color 0.2s, border-color 0.2s, transform 0.2s, background 0.2s; }
.follow-btn:hover { color: var(--primary-ink); border-color: var(--primary); transform: translateY(-2px); background: rgba(16,185,129,0.08); }

.share-bar { margin-top: 26px; padding: 18px; border-radius: 16px; background: linear-gradient(150deg, rgba(16,185,129,0.08), rgba(45,212,191,0.05)); border: 1px solid var(--border); }
.share-label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary-ink); margin-bottom: 13px; }
.share-label .icon { font-size: 1rem; }
.share-btns { display: flex; flex-wrap: wrap; gap: 9px; }
.share-btn { position: relative; width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; color: var(--navy); background: var(--surface); border: 1px solid var(--border-strong); transition: color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s, background 0.2s; }
.share-btn:hover { color: #06231b; background: linear-gradient(135deg, var(--primary), var(--accent)); border-color: transparent; transform: translateY(-3px); box-shadow: 0 10px 24px -10px var(--primary-glow); }
.share-copy.copied::after { content: "Copied!"; position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--primary); color: #06231b; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.06em; padding: 5px 9px; border-radius: 7px; white-space: nowrap; pointer-events: none; }
.share-copy.copied { color: #06231b; background: linear-gradient(135deg, var(--primary), var(--accent)); border-color: transparent; }

/* =========================================================
   AWARDS / CERTIFICATE GALLERY + LIGHTBOX
   ========================================================= */
.cert-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; }
.cert-card:hover { transform: translateY(-6px); border-color: rgba(16,185,129,0.45); box-shadow: var(--shadow-lg); }
.cert-card .cert-thumb { aspect-ratio: 4 / 3; overflow: hidden; background: #0a0e0d; }
.cert-card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.5s var(--ease); }
.cert-card:hover img { transform: scale(1.05); }
.cert-card .cert-cap { display: block; padding: 14px 16px; }
.cert-card .cert-cap strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 0.98rem; }
.cert-card .cert-cap span { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 3px; }
.cert-card .cert-zoom { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; color: #06231b; background: linear-gradient(135deg, var(--primary), var(--accent)); opacity: 0; transform: translateY(-6px); transition: opacity 0.25s, transform 0.25s; }
.cert-card:hover .cert-zoom { opacity: 1; transform: none; }
@media (max-width: 900px) { .cert-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cert-gallery { grid-template-columns: 1fr; } }

.lightbox { position: fixed; inset: 0; z-index: 300; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px 20px; background: rgba(5,8,7,0.92); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity 0.3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img { max-width: min(1000px, 94vw); max-height: 80vh; width: auto; border-radius: 12px; border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); }
.lightbox-cap { color: var(--text); font-size: 0.9rem; text-align: center; max-width: 720px; }
.lightbox-close { position: absolute; top: 20px; right: 22px; width: 48px; height: 48px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border-strong); color: var(--navy); font-size: 1.4rem; display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover { color: var(--primary-ink); border-color: var(--primary); }

/* =========================================================
   PUBLICATIONS LIST
   ========================================================= */
.pub-list { display: flex; flex-direction: column; gap: 16px; max-width: 940px; margin: 0 auto; }
.pub { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; }
.pub:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(16,185,129,0.35); }
.pub-ic { width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--primary); background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.18); flex: 0 0 auto; }
.pub h3 { font-size: 1.08rem; margin-bottom: 6px; line-height: 1.3; }
.pub .pub-meta { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--primary-ink); margin-bottom: 8px; }
.pub p { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 560px) { .pub { grid-template-columns: 1fr; gap: 12px; } }

/* 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(16,185,129,0.06); }

/* =========================================================
   PREMIUM HERO: PARTICLE CANVAS + ROTATING ROLE
   ========================================================= */
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.6; pointer-events: none; }
.hero-roles { display: flex; align-items: center; gap: 12px; margin: -6px 0 22px; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.25rem, 3.2vw, 2.15rem); letter-spacing: -0.02em; min-height: 1.5em; }
.role-pre { color: var(--accent-ink); font-size: 0.62em; opacity: 0.9; }
.role-rotator { position: relative; display: inline-block; }
.role-word { display: inline-block; background: linear-gradient(100deg, var(--primary), var(--accent)); 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; }
@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: var(--accent); border-radius: 2px; vertical-align: -0.15em; animation: caretBlink 1.05s steps(1) infinite; box-shadow: 0 0 10px var(--primary-glow); }
@keyframes caretBlink { 50% { opacity: 0; } }

/* accent (teal) button variant */
.btn-accent { background: linear-gradient(100deg, var(--accent), var(--primary)); color: #04231b; box-shadow: 0 10px 26px -10px var(--primary-glow); border: 1px solid transparent; }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -10px var(--primary-glow); color: #04231b; }
.btn-accent .icon { transition: transform 0.25s var(--ease); }
.btn-accent:hover .icon { transform: translateX(4px); }

/* card spotlight gets a touch more glow on dark */
.card::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(16,185,129,0.14), transparent 60%); }

/* =========================================================
   QUOTATION BUILDER
   ========================================================= */
.quote-wrap { max-width: 920px; margin: 0 auto; }
.quote-form { display: flex; flex-direction: column; gap: 24px; }
.quote-step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 26px; box-shadow: var(--shadow-sm); transition: border-color 0.3s, box-shadow 0.3s; }
.quote-step:hover { border-color: rgba(16,185,129,0.3); }
.qs-head { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 20px; }
.qs-num { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 700; color: #04231b; background: linear-gradient(135deg, var(--primary), var(--accent)); flex: 0 0 auto; box-shadow: 0 8px 20px -10px var(--primary-glow); }
.qs-head h3 { font-size: 1.12rem; }
.qs-hint { color: var(--muted); font-size: 0.85rem; margin-top: 3px; }

.opt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.opt-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.opt { position: relative; display: block; }
.opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.opt-box { position: relative; display: block; height: 100%; border: 1px solid var(--border-strong); border-radius: 12px; padding: 16px 44px 16px 16px; background: var(--surface-2); transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s; }
.opt-title { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 0.98rem; display: flex; align-items: center; gap: 9px; line-height: 1.25; }
.opt-title .icon { color: var(--primary-ink); font-size: 1.15rem; flex: 0 0 auto; }
.opt-desc { color: var(--muted); font-size: 0.82rem; margin-top: 6px; }
.opt-check { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border-strong); display: flex; align-items: center; justify-content: center; transition: border-color 0.2s, background 0.2s; }
.opt-check .icon { width: 13px; height: 13px; color: #04231b; opacity: 0; transition: opacity 0.15s; }
.opt:hover .opt-box { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }
.opt input:checked + .opt-box { border-color: var(--primary); background: rgba(16,185,129,0.09); box-shadow: inset 0 0 0 1px var(--primary), 0 12px 28px -16px var(--primary-glow); }
.opt input:checked + .opt-box .opt-check { border-color: var(--primary); background: linear-gradient(135deg, var(--primary), var(--accent)); }
.opt input:checked + .opt-box .opt-check .icon { opacity: 1; }
.opt input:focus-visible + .opt-box { outline: 2px solid var(--primary); outline-offset: 2px; }
.quote-submit { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
@media (max-width: 820px) { .opt-grid, .opt-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .opt-grid, .opt-grid.cols-2 { grid-template-columns: 1fr; } .quote-step { padding: 22px 18px; } }

/* a11y utility */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* =========================================================
   HERO PROFILE PHOTO (in console card)
   ========================================================= */
.profile-top { display: flex; align-items: center; gap: 16px; padding-bottom: 16px; margin-bottom: 4px; border-bottom: 1px solid var(--border); position: relative; }
.profile-pic { position: relative; flex: 0 0 auto; width: 128px; height: 128px; border-radius: 50%; padding: 0; background: none; box-shadow: 0 10px 28px -12px rgba(0,0,0,0.6); }
.profile-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 50%; display: block; background: var(--surface-2); }
.profile-id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.profile-name-h { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--navy); letter-spacing: -0.01em; }
.profile-title-h { font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary-ink); }
.profile-top .console-status { margin-top: 4px; font-size: 0.62rem; }

/* About page portrait (if used) */
.about-portrait { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,12,11,0.55)); }

/* =========================================================
   AWARD ALBUM PAGINATION
   ========================================================= */
.album-nav { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.album-btn { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--navy); font-family: var(--font-mono); font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; justify-content: center; transition: transform 0.2s var(--ease), border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s; }
.album-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary-ink); transform: translateY(-2px); }
.album-btn.active { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #04231b; border-color: transparent; box-shadow: 0 10px 24px -12px var(--primary-glow); }
.album-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.album-arrow { font-size: 1.25rem; line-height: 1; }
.cert-fade { animation: fadeSwap 0.5s var(--ease); }

/* About panel circular avatar */
.panel-avatar { position: relative; width: 140px; height: 140px; margin: 0 auto 20px; border-radius: 50%; padding: 0; background: none; box-shadow: 0 12px 30px -12px rgba(0,0,0,0.6); }
.panel-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; background: var(--surface-2); }

/* accessible form field errors */
.field-error { display: block; color: #ff7a7a; font-size: 0.78rem; font-weight: 500; margin-top: 6px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #e23b4e; }

/* =========================================================
   PRINT STYLES
   ========================================================= */
@media print {
  :root { --bg: #fff; --text: #111; --navy: #111; --muted: #333; }
  body { background: #fff !important; color: #111 !important; }
  .site-header, .status-bar, .mobile-menu, .scroll-progress, .hero-particles,
  .to-top, .dock-cta, .scroll-hint, .cta-banner, .share-bar, .follow-row,
  .nav-toggle, .album-nav, .console-graph { display: none !important; }
  a { color: #111 !important; text-decoration: underline; }
  .hero, .page-hero, .section, .section-alt { padding: 16px 0 !important; background: #fff !important; }
  .grad-text, .stat-text { -webkit-text-fill-color: #0e7a55 !important; color: #0e7a55 !important; }
  .card, .svc-panel, .pub, .console, .contact-form-wrap { border: 1px solid #ccc !important; box-shadow: none !important; background: #fff !important; break-inside: avoid; }
  h1, h2, h3 { color: #111 !important; }
}

/* CV hero contact line */
.cv-contact { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-top: 14px; font-size: 0.85rem; }
.cv-contact a, .cv-contact span { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); }
.cv-contact a:hover { color: var(--primary-ink); }
.cv-contact .icon { color: var(--primary-ink); }

/* =========================================================
   PRODUCTS HEXAGON HONEYCOMB (Total Attack Surface Coverage)
   ========================================================= */
.hexlayers { display: flex; flex-direction: column; gap: 18px; margin-bottom: 38px; }
.hexlayer { display: grid; grid-template-columns: auto 1fr; gap: 28px; 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, border-color 0.25s; }
.hexlayer:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-left-color: var(--accent); }
.hexcluster { display: flex; gap: 8px; flex-wrap: wrap; }
.hex { position: relative; width: 96px; height: 108px; display: inline-flex; align-items: center; justify-content: center; text-align: center; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); background: linear-gradient(150deg, var(--primary), var(--accent)); transition: transform 0.25s var(--ease); }
.hex::before { content: ""; position: absolute; inset: 2px; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); background: var(--surface-2); transition: background 0.25s; }
.hex span { position: relative; z-index: 1; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600; color: var(--navy); padding: 0 8px; line-height: 1.2; }
.hex:hover { transform: translateY(-4px) scale(1.04); }
.hex:hover::before { background: linear-gradient(150deg, rgba(16,185,129,0.16), rgba(45,212,191,0.10)); }
.hexinfo { display: flex; align-items: center; gap: 16px; }
.hexnum { 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; }
.hexinfo h3 { font-size: 1.08rem; margin-bottom: 3px; }
.hexinfo p { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 760px) { .hexlayer { grid-template-columns: 1fr; gap: 16px; } .hexcluster { justify-content: center; } }
@media (max-width: 420px) { .hex { width: 84px; height: 94px; } .hex span { font-size: 0.6rem; } }

/* =========================================================
   PRODUCT DETAIL PAGE (products.html)
   ========================================================= */
.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(16,185,129,0.08); }

.prod-row { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 44px; align-items: start; scroll-margin-top: 110px; }
.prod-info { position: sticky; top: 96px; }
.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-sheet { position: relative; display: block; background: #fff; border-radius: 16px; padding: 12px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.prod-sheet img { width: 100%; height: auto; border-radius: 8px; display: block; }
.prod-sheet:hover { transform: translateY(-5px); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8); }
.prod-zoom { position: absolute; top: 20px; right: 20px; z-index: 2; width: 40px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; color: #04231b; background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 8px 20px -8px var(--primary-glow); opacity: 0; transform: translateY(-6px); transition: opacity 0.25s, transform 0.25s; }
.prod-sheet:hover .prod-zoom { opacity: 1; transform: none; }
.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; }
}
/* anchor offset for fixed header */
section[id] { scroll-margin-top: 90px; }

/* =========================================================
   LIGHT THEME (opt-in via data-theme="light" on <html>)
   Dark remains the default brand theme.
   ========================================================= */
:root[data-theme="light"] {
  --bg: #ffffff;
  --bg-soft: #f3f7f5;
  --bg-tint: #eef5f1;
  --surface: #ffffff;
  --surface-2: #f4f8f6;
  --border: #e3eae6;
  --border-strong: #cdd9d2;
  --navy: #0e1a16;          /* dark heading / strong text on light */
  --navy-2: #0d7a5f;
  --primary: #0e9f6e;
  --primary-dark: #0b8a5f;
  --primary-ink: #0a7a55;   /* accessible emerald text on white */
  --primary-glow: rgba(14, 159, 110, 0.28);
  --accent: #0d9488;
  --accent-ink: #0a7d72;
  --text: #2a3b35;
  --muted: #586a62;
  --success: #0e9e6e;
  --success-dot: #18c98a;
  --shadow-sm: 0 4px 14px rgba(16, 40, 30, 0.06);
  --shadow: 0 14px 40px rgba(16, 40, 30, 0.10);
  --shadow-lg: 0 30px 70px -24px rgba(16, 40, 30, 0.22);
}
/* hardcoded-dark surfaces that must flip in light mode */
:root[data-theme="light"] .hero { background: linear-gradient(180deg, #ffffff 0%, #eef6f1 55%, #e6f2ec 100%); }
:root[data-theme="light"] .page-hero { background: linear-gradient(180deg, #ffffff 0%, #eef6f1 100%); }
:root[data-theme="light"] .hero-grid { background-image: linear-gradient(rgba(16,40,30,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(16,40,30,0.05) 1px, transparent 1px); }
:root[data-theme="light"] .site-header.scrolled .nav-bar { background: rgba(255,255,255,0.85); }
:root[data-theme="light"] .status-bar { background: rgba(255,255,255,0.7); }
:root[data-theme="light"] .mobile-menu { background: rgba(255,255,255,0.98); }
:root[data-theme="light"] .hero-particles { opacity: 0.4; }
:root[data-theme="light"] .logo-chip, :root[data-theme="light"] .tech-logo { background: #ffffff; }
:root[data-theme="light"] ::selection { background: rgba(14,159,110,0.22); color: #0e1a16; }

/* =========================================================
   THEME TOGGLE BUTTON
   ========================================================= */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 11px; 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.15rem; height: 1.15rem; }
.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun { display: inline; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: inline; }

/* =========================================================
   SERVICE ANIMATED DIAGRAMS (services.html)
   Pure SVG + CSS, CSP-safe. Final keyframe states look good
   so reduced-motion (which freezes animation) stays clean.
   ========================================================= */
.svc-diagram { position: relative; height: 172px; margin: 0 0 22px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: radial-gradient(130% 120% at 50% 0%, rgba(16,185,129,0.12), transparent 68%), var(--surface-2); }
.svc-dia { width: 100%; height: 100%; display: block; }
.svc-dia .s-stroke { fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc-dia .s-teal { stroke: var(--accent); }
.svc-dia .s-dim { fill: none; stroke: var(--border-strong); stroke-width: 1.5; }
.svc-dia .s-fill { fill: var(--primary); }
.svc-dia .s-fillt { fill: var(--accent); }
.svc-dia text { fill: var(--navy); font-family: var(--font-mono); font-weight: 600; }
.svc-dia .anim { transform-box: fill-box; transform-origin: center; }

@keyframes diaDraw { to { stroke-dashoffset: 0; } }
@keyframes diaPulse { 0%, 100% { opacity: .4; transform: scale(.78); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes diaRing { 0% { transform: scale(.45); opacity: .55; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes diaScan { 0% { transform: translateY(-26px); opacity: 0; } 15%, 55% { opacity: .9; } 70% { transform: translateY(34px); opacity: 0; } 100% { transform: translateY(-26px); opacity: 0; } }
@keyframes diaGauge { from { stroke-dashoffset: 295; } to { stroke-dashoffset: 38; } }
@keyframes diaFlow { to { stroke-dashoffset: -32; } }
@keyframes diaToken { 0% { transform: translateX(0); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateX(228px); opacity: 0; } }
@keyframes diaSpin { to { transform: rotate(360deg); } }
@keyframes diaSpinR { to { transform: rotate(-360deg); } }
@keyframes diaPop { 0% { opacity: 0; transform: translateY(7px); } 100% { opacity: 1; transform: none; } }
@keyframes diaRise { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-11px); opacity: 1; } }

/* shared draw setup */
.svc-dia .draw { stroke-dasharray: 360; stroke-dashoffset: 360; animation: diaDraw 1.8s var(--ease) forwards; }

/* 1 shield */
.dia-ring { fill: none; stroke: var(--accent); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: diaRing 2.6s ease-out infinite; }
.dia-ring:nth-of-type(2) { animation-delay: .8s; }
.dia-ring:nth-of-type(3) { animation-delay: 1.6s; }
.dia-scan { fill: var(--accent); opacity: .85; transform-box: fill-box; transform-origin: center; animation: diaScan 3s var(--ease) infinite; }

/* 2 gauge */
.dia-gprog { transform: rotate(-90deg); transform-origin: 150px 92px; stroke-dasharray: 302; stroke-dashoffset: 295; animation: diaGauge 2.2s var(--ease) forwards; }
.dia-badge { opacity: 0; animation: diaPop .5s var(--ease) forwards; }
.dia-badge:nth-of-type(1){ animation-delay: .6s; } .dia-badge:nth-of-type(2){ animation-delay: .9s; }
.dia-badge:nth-of-type(3){ animation-delay: 1.2s; } .dia-badge:nth-of-type(4){ animation-delay: 1.5s; }

/* 3 neural */
.dia-link { fill: none; stroke: var(--border-strong); stroke-width: 1.4; stroke-dasharray: 6 6; animation: diaFlow 1s linear infinite; }
.dia-neuron { fill: var(--primary); transform-box: fill-box; transform-origin: center; animation: diaPulse 2.4s ease-in-out infinite; }
.dia-neuron:nth-of-type(2n){ fill: var(--accent); animation-delay: .4s; }
.dia-neuron:nth-of-type(3n){ animation-delay: .8s; }

/* 4 pipeline */
.dia-stage { fill: var(--surface); stroke: var(--primary); stroke-width: 2; }
.dia-token { fill: var(--accent); transform-box: fill-box; animation: diaToken 3s var(--ease) infinite; filter: drop-shadow(0 0 5px var(--primary)); }

/* 5 iot hub */
.dia-spoke { stroke: var(--border-strong); stroke-width: 1.4; stroke-dasharray: 5 5; animation: diaFlow 1.1s linear infinite; }
.dia-dev { fill: var(--accent); transform-box: fill-box; transform-origin: center; animation: diaPulse 2.6s ease-in-out infinite; }
.dia-dev:nth-of-type(2n){ fill: var(--primary); animation-delay: .5s; }
.dia-dev:nth-of-type(3n){ animation-delay: 1s; }
.dia-hub { fill: var(--primary); }

/* 6 orbit */
.dia-orbit { transform-box: view-box; transform-origin: 150px 85px; animation: diaSpin 14s linear infinite; }
.dia-orbit2 { transform-box: view-box; transform-origin: 150px 85px; animation: diaSpinR 18s linear infinite; }
.dia-odot { fill: var(--accent); }
.dia-odot.alt { fill: var(--primary); }

/* 7 academic */
.dia-knode { fill: var(--accent); transform-box: fill-box; transform-origin: center; animation: diaRise 2.6s ease-in-out infinite; }
.dia-knode:nth-of-type(2){ animation-delay: .5s; fill: var(--primary); }
.dia-knode:nth-of-type(3){ animation-delay: 1s; }

@media (prefers-reduced-motion: reduce) {
  .dia-gprog { stroke-dashoffset: 38; } .dia-badge { opacity: 1; }
  .svc-dia .draw { stroke-dashoffset: 0; }
}
