/* Flawsbug navy + gold theme (matches FrozenMail). Loaded after styles.css.
   Keeps every animation: the flying bug, the moving hero background, and the drifting section glow. */
/* Heading font is hosted on flawsbug.com itself (the site's security policy only allows its own fonts). Body text uses Inter where installed, else the system font. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
:root {
  --navy: #0A1628;
  --navy-dark: #060F1C; /* backgrounds and button text */
  --accent: #D4B577;
  --accent-dark: #C9A55E;
  --text: #E6EAF0;
  --muted: #AEB7C4;
  --bg: #060F1C;
  --white: #FFFFFF;
  --border: #1E2C40;
  --panel: #0A1628;
  --field: #0E1E33;
  --cream: #E9E4D8;
  --gold-soft: rgba(212,181,119,.12);
}
body { font-family: Inter, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; background: var(--bg); color: var(--text); }
h1, h2, h3, .brand, .cta-band h2, .section-head h2 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; letter-spacing: 0; color: var(--white); }
h1 { font-weight: 500; }
h1, h2, h3 { line-height: 1.15; }
.section-head h2, .about-grid h2, .cta-band h2 { font-size: 40px; font-weight: 500; }
.navlinks { align-items: center; }
.nav-products > a { display: inline-block; }
header { background: rgba(6,15,28,.92); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--border); }
.brand { font-size: 26px; }
.navlinks a { color: #D9DEE6; }
.navlinks a:hover, .navlinks a.active { color: var(--accent); }
.navcta, .btn-primary { background: var(--accent); color: #0A1628 !important; border-radius: 2px; letter-spacing: .04em; }
.navcta:hover, .btn-primary:hover { background: #E2C68E; box-shadow: 0 10px 26px rgba(212,181,119,.28); }
.btn-outline { border-color: rgba(212,181,119,.55) !important; color: var(--accent) !important; border-radius: 2px; }
.eyebrow { color: var(--accent); background: transparent; border: 0; border-radius: 0; letter-spacing: .32em; text-transform: uppercase; font-size: 12px; padding: 0; }
.kicker, .page-banner .kicker { color: var(--accent); letter-spacing: .28em; font-weight: 600; }
/* Luxury moving hero background: deep navy that slowly shifts, a drifting gold aurora,
   gold dust that floats upward, and a soft champagne light sweep. The bug animation sits on top. */
.hero, .page-banner {
  background-image:
    radial-gradient(900px 420px at 78% 18%, rgba(212,181,119,.13), transparent 60%),
    linear-gradient(125deg, #03070F 0%, #081325 22%, #10213A 45%, #0A1628 65%, #03070F 100%) !important;
  background-size: 220% 220%, 320% 320% !important;
  border-bottom: 1px solid rgba(212,181,119,.22);
}
.hero::before, .page-banner::before { width: 600px; height: 600px; opacity: .5; mix-blend-mode: screen; background: radial-gradient(circle, rgba(230,190,110,.55), rgba(212,181,119,.14) 45%, transparent 70%); }
.hero::after, .page-banner::after { width: 520px; height: 520px; background: radial-gradient(circle, rgba(233,228,216,.12), transparent 70%); }
.lux { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.lux::before {
  content: ""; position: absolute; inset: -50% 0 0 0;
  background-image:
    radial-gradient(2px 2px at 12% 22%, rgba(240,214,150,.9), transparent 60%),
    radial-gradient(1.4px 1.4px at 27% 68%, rgba(240,214,150,.7), transparent 60%),
    radial-gradient(2.2px 2.2px at 41% 38%, rgba(255,232,180,.85), transparent 60%),
    radial-gradient(1.4px 1.4px at 56% 82%, rgba(240,214,150,.6), transparent 60%),
    radial-gradient(1.8px 1.8px at 68% 14%, rgba(255,232,180,.8), transparent 60%),
    radial-gradient(1.4px 1.4px at 79% 57%, rgba(240,214,150,.7), transparent 60%),
    radial-gradient(2px 2px at 91% 31%, rgba(255,232,180,.85), transparent 60%),
    radial-gradient(1.4px 1.4px at 6% 88%, rgba(240,214,150,.6), transparent 60%);
  background-size: 520px 360px;
  opacity: .8;
  animation: luxDust 48s linear infinite, luxTwinkle 6s ease-in-out infinite alternate;
}
.lux::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(112deg, transparent 38%, rgba(240,220,170,.07) 46%, rgba(255,240,205,.18) 50%, rgba(240,220,170,.07) 54%, transparent 62%);
  background-size: 320% 100%;
  animation: luxSweep 11s ease-in-out infinite;
}
@keyframes luxDust { from { transform: translateY(0); } to { transform: translateY(33.333%); } }
@keyframes luxTwinkle { from { opacity: .45; } to { opacity: .95; } }
@keyframes luxSweep { 0%, 15% { background-position: 120% 0; } 70%, 100% { background-position: -20% 0; } }
@media (prefers-reduced-motion: reduce) { .lux::before, .lux::after { animation: none; } }
/* The bug animation: bug stays coral (the "vulnerability"), the fix turns gold */
.hero-glyph { opacity: .62; }
.hg-shield { stroke: rgba(212,181,119,.5); }
.hg-ring, .hg-check { stroke: var(--accent); }
.hg-label-fixed { fill: var(--accent); font-family: Inter, Arial, sans-serif; }
.hg-label { font-family: Inter, Arial, sans-serif; }
/* Light sections become deep navy */
section, .about, .approach, .contact, .leadership { background: var(--bg); }
section[style*="background:var(--bg)"] { background: #08121F !important; }
.service-card, .approach-item, .compliance-box, .form-card, .leader-card, .stat { background: var(--panel) !important; border: 1px solid var(--border); border-radius: 4px; }
.service-card h3, .approach-item h3 { color: var(--white); }
.service-card:hover, .approach-item:hover, .leader-card:hover { border-color: rgba(212,181,119,.45); box-shadow: 0 18px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(212,181,119,.25); }
.service-icon, .contact-item .ico { background: var(--gold-soft); color: var(--accent); border-radius: 4px; }
.service-card:hover .service-icon { background: rgba(212,181,119,.2); }
.tag { background: transparent; border-color: #34465F; color: var(--cream); border-radius: 2px; }
.form-row input, .form-row textarea, .form-row select { background: var(--field); border-color: #34465F; color: var(--white); border-radius: 2px; }
.stat::before { background: var(--accent); }
.leader-avatar { background: var(--accent); color: #0A1628; box-shadow: 0 12px 30px rgba(212,181,119,.3); }
.leader-title, .approach-item .num { color: var(--accent); }
/* Headings and labels that used dark navy text */
h2, h3, h4, .service-card h3, .compliance-box h3, .approach-item h4, .contact-item h4, .form-row label,
.leader-info h3, .stat b { color: var(--white); }
.hero p, .page-banner p { color: #C9D0DA; }
.footer-inner .brand { font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; color: var(--white); }
/* Inline colors used on some pages */
[style*="color:var(--navy-dark)"] { color: var(--white) !important; }
[style*="color:var(--accent-dark)"] { color: var(--accent) !important; }
[style*="border-color:var(--border)"] { border-color: rgba(212,181,119,.55) !important; color: var(--accent) !important; }
/* Moving section glow, now gold */
.bg-drift::before { background: radial-gradient(480px 300px at 18% 15%, rgba(212,181,119,.09), transparent 62%), radial-gradient(420px 280px at 85% 85%, rgba(212,181,119,.06), transparent 62%); }
.bg-drift::after { background-image: linear-gradient(rgba(212,181,119,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(212,181,119,.05) 1px, transparent 1px); }
.cta-band { background: linear-gradient(135deg, #0A1628 0%, #060F1C 100%); border-top: 1px solid var(--border); }
footer { background: #050C17; border-top: 1px solid var(--border); color: var(--muted); }
footer .brand { color: var(--white); }
/* Products menu: NoviSentry + FrozenMail */
.nav-products { position: relative; display: inline-block; }
.nav-products > a::after { content: " \25BE"; font-size: 11px; }
.nav-products .menu { display: none; position: absolute; top: 100%; left: -16px; min-width: 260px; padding: 10px; background: var(--panel); border: 1px solid #2A3A52; border-top: 2px solid var(--accent); box-shadow: 0 18px 40px rgba(0,0,0,.45); z-index: 60; }
.nav-products:hover .menu, .nav-products:focus-within .menu, .nav-products.open .menu { display: block; }
.nav-products .menu a { display: block; padding: 10px 12px; color: #D9DEE6; }
.nav-products .menu a strong { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 20px; font-weight: 600; color: var(--white); }
.nav-products .menu a span { font-size: 13px; color: var(--muted); }
.nav-products .menu a:hover strong { color: var(--accent); }
@media (max-width: 860px) {
  .nav-products { display: block; text-align: center; }
  nav.wrap.menu-open .nav-products > a { padding: 12px 2px; font-size: 16px; display: block; }
  .nav-products > a::after { content: ""; }
  .nav-products .menu { display: none; position: static; min-width: 0; padding: 0 0 6px; background: transparent; border: 0; box-shadow: none; }
  nav.wrap.menu-open .nav-products .menu { display: block; }
  .nav-products .menu a strong { font-size: 18px; }
}
/* FrozenMail band on the home page */
.fm-band { background: #050C17 !important; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
.fm-band .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.fm-eyebrow { display: flex; align-items: center; gap: 16px; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; }
.fm-eyebrow::before, .fm-eyebrow::after { content: ""; width: 48px; height: 1px; background: var(--accent); }
.fm-title { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(56px, 8vw, 96px); font-weight: 500; line-height: .95; color: var(--white); margin: 0; }
.fm-title em { color: var(--accent); }
.fm-tag { line-height: 1.25; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(24px, 3vw, 32px); color: var(--cream); margin: 0; }
.fm-copy { max-width: 620px; color: var(--muted); font-size: 17px; line-height: 1.7; margin: 0; }
.fm-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 6px; }
/* FrozenMail page */
.fm-hero { text-align: center; }
.fm-hero .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.page-banner .fm-tag { font-size: clamp(26px, 3.2vw, 38px); color: var(--cream); max-width: 760px; }
.page-banner .fm-copy { font-size: 18px; color: var(--muted); }
.fm-hero .fm-title { font-size: clamp(64px, 10vw, 112px); }
.fm-pilot { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.fm-why { flex: 1 1 360px; min-width: 0; }
.fm-why h2 { font-size: 40px; font-weight: 500; margin-bottom: 24px; }
.fm-why .item { padding: 24px 0; border-top: 1px solid var(--border); }
.fm-why .item:last-child { border-bottom: 1px solid var(--border); }
.fm-why h3 { font-size: 26px; color: var(--accent); margin-bottom: 6px; }
.fm-why p { color: var(--muted); font-size: 16px; }
.fm-form { flex: 1 1 460px; min-width: 0; background: var(--panel); border: 1px solid #2A3A52; border-top: 3px solid var(--accent); border-radius: 4px; padding: 44px; display: flex; flex-direction: column; gap: 20px; }
.fm-form h2 { font-size: 36px; font-weight: 500; margin: 0; }
.fm-form .row { display: flex; flex-wrap: wrap; gap: 18px; }
.fm-form label { flex: 1 1 200px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fm-form input, .fm-form select, .fm-form textarea { font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--white); padding: 14px 16px; border: 1px solid #34465F; border-radius: 2px; background: var(--field); }
.fm-form textarea { min-height: 96px; resize: vertical; }
.fm-form button { font: inherit; font-size: 16px; font-weight: 600; letter-spacing: .06em; background: var(--accent); color: #0A1628; border: 0; border-radius: 2px; padding: 18px 30px; cursor: pointer; }
.fm-form .note { color: var(--muted); font-size: 14px; margin: 0; }
@media (max-width: 600px) { .fm-form { padding: 28px 22px; } }
/* Leadership team (About page) */
.leader-list { display: flex; flex-direction: column; gap: 24px; }
.leader-card::before { background: radial-gradient(circle, rgba(212,181,119,.22), transparent 70%); }
.leader-info h3 { font-size: 30px; font-weight: 600; }
/* NoviSentry sample alert: brighter red so it reads on navy */
[style*="color:#b33232"] { color: #FF8A6A !important; }
.leader-card + .leader-card { margin-top: 24px; }
/* Show the flying bug on tablets and phones too (it was hidden under 980px):
   on small screens it plays in its own space right below the buttons */
@media (max-width: 980px) {
  .hero { display: flex; flex-direction: column; padding-bottom: 36px !important; }
  .hero > .wrap { order: 1; width: 100%; }
  .hero-glyph { order: 2; display: block; position: relative; top: auto; bottom: auto; right: auto; transform: none; width: 230px; height: 230px; margin: 26px auto 0; opacity: .7; }
}
@media (max-width: 600px) {
  .hero-glyph { width: 200px; height: 200px; margin-top: 20px; }
}

/* ===== Critical Infrastructure & OT Security band (added 2026-11-21) ===== */
#ci-ot{
  --ci-gold:#D4B577; --ci-gold-hi:#F4E6C2; --ci-gold-deep:#B9974F;
  --ci-gold-line:rgba(212,181,119,.30); --ci-gold-faint:rgba(212,181,119,.14);
  --ci-text:#F2F5FA; --ci-muted:#A3B3C6;
  position:relative; padding:30px; overflow:hidden;
}
#ci-ot .ci-frame{position:relative;border:1px solid var(--ci-gold-line);border-radius:4px;
  padding:84px 72px 78px;overflow:hidden;
  background:linear-gradient(180deg,rgba(10,27,50,.55),rgba(5,16,31,.2));}
#ci-ot .ci-frame::before{content:"";position:absolute;inset:7px;border:1px solid var(--ci-gold-faint);border-radius:2px;pointer-events:none;}
#ci-ot .ci-frame::after{content:"";position:absolute;top:-40%;left:-30%;width:70%;height:180%;
  background:linear-gradient(75deg,transparent,rgba(244,230,194,.07),transparent);transform:rotate(8deg);pointer-events:none;}
#ci-ot .ci-wrap{max-width:1040px;margin:0 auto;position:relative;text-align:center}
#ci-ot .ci-crest{width:54px;height:54px;margin:0 auto 26px;display:grid;place-items:center;
  border:1px solid var(--ci-gold-line);border-radius:50%;
  background:radial-gradient(circle at 50% 35%,rgba(212,181,119,.22),rgba(212,181,119,.03));
  box-shadow:0 0 34px rgba(212,181,119,.14);}
#ci-ot .ci-crest svg{width:26px;height:26px}
#ci-ot .ci-kicker{color:var(--ci-gold);font-size:12px;letter-spacing:.42em;text-transform:uppercase;font-weight:600;margin:0 0 22px;padding-left:.42em}
#ci-ot .ci-title{font-family:"Cormorant Garamond",Georgia,serif;font-weight:500;line-height:1.05;margin:0 auto 24px;max-width:860px;font-size:clamp(40px,6vw,68px);letter-spacing:.005em;color:var(--ci-text);}
#ci-ot .ci-title em{font-style:italic;background:linear-gradient(92deg,var(--ci-gold-deep),var(--ci-gold-hi) 45%,var(--ci-gold));-webkit-background-clip:text;background-clip:text;color:transparent;}
#ci-ot .ci-divider{width:72px;height:1px;margin:30px auto;position:relative;background:linear-gradient(90deg,transparent,var(--ci-gold),transparent);}
#ci-ot .ci-divider::after{content:"";position:absolute;left:50%;top:50%;width:5px;height:5px;transform:translate(-50%,-50%) rotate(45deg);background:var(--ci-gold);}
#ci-ot .ci-statement{color:var(--ci-muted);font-size:clamp(16px,1.6vw,19px);max-width:650px;margin:0 auto;}
#ci-ot .ci-statement strong{color:var(--ci-text);font-weight:500}
#ci-ot .ci-sectors{margin:34px auto 0;color:var(--ci-muted);font-size:13px;letter-spacing:.02em;display:flex;flex-wrap:wrap;gap:8px 18px;justify-content:center;align-items:center;max-width:760px}
#ci-ot .ci-sectors .ci-slbl{color:var(--ci-gold);font-size:11px;letter-spacing:.22em;text-transform:uppercase;width:100%;margin-bottom:4px}
#ci-ot .ci-sectors .ci-sep{color:var(--ci-gold-line)}
#ci-ot .ci-services{margin:56px auto 0;max-width:900px;display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--ci-gold-faint)}
#ci-ot .ci-svc{text-align:left;padding:26px 30px;border-bottom:1px solid var(--ci-gold-faint);position:relative}
#ci-ot .ci-svc:nth-child(odd){border-right:1px solid var(--ci-gold-faint)}
#ci-ot .ci-svc .ci-num{font-family:"Cormorant Garamond",serif;font-size:18px;color:var(--ci-gold);letter-spacing:.2em;display:block;margin-bottom:9px}
#ci-ot .ci-svc h3{margin:0 0 6px;font-family:"Cormorant Garamond",Georgia,serif;font-size:23px;font-weight:600;letter-spacing:.01em;color:var(--ci-text);}
#ci-ot .ci-svc p{margin:0;color:var(--ci-muted);font-size:14px;line-height:1.6}
#ci-ot .ci-standards{margin:48px auto 0;max-width:900px;padding-top:26px;border-top:1px solid var(--ci-gold-faint);display:flex;flex-wrap:wrap;gap:9px 14px;justify-content:center;align-items:center}
#ci-ot .ci-standards .ci-lbl{color:var(--ci-gold);font-size:11px;letter-spacing:.22em;text-transform:uppercase;font-weight:600;width:100%;margin-bottom:6px}
#ci-ot .ci-standards .ci-st{font-size:12.5px;color:var(--ci-muted);letter-spacing:.04em}
#ci-ot .ci-standards .ci-dot{color:var(--ci-gold-line)}
@media(max-width:820px){ #ci-ot .ci-frame{padding:56px 24px} #ci-ot .ci-services{grid-template-columns:1fr} #ci-ot .ci-svc:nth-child(odd){border-right:none} }
/* ===== end Critical Infrastructure band ===== */
