/* =========================================================
   Serenport Information Technology — Main Stylesheet
   Brand colors are defined once below; change them here.
   ========================================================= */
:root {
  --navy-950: #030a18;
  --navy-900: #05112a;
  --navy-800: #081a3a;
  --navy-700: #0c2550;
  --card: #0a1a36;
  --line: rgba(110, 170, 255, 0.18);
  --line-strong: rgba(110, 170, 255, 0.35);
  --lime: #d5e82b;
  --lime-dark: #b9cc12;
  --cyan: #38b6ff;
  --blue: #1e78ff;
  --text: #eef3fb;
  --muted: #a6b5cc;
  --radius: 14px;
  --maxw: 1280px;
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--navy-950);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
.btn svg, .nav-link svg, .icon-btn svg, .play-link svg, li > svg { flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--lime); color: #000; padding: 8px 14px; border-radius: 6px; z-index: 999; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.text-lime { color: var(--lime); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: .85em 1.6em; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--lime); color: #0a1400; }
.btn-primary:hover { background: #e4f54a; transform: translateY(-1px); }
.btn-outline { border-color: rgba(255,255,255,.75); color: #fff; background: transparent; }
.btn-outline:hover { border-color: var(--lime); color: var(--lime); }
.btn-lg { font-size: 1.15rem; padding: .95em 1.9em; }
.btn-sm { font-size: .92rem; padding: .7em 1.3em; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); border-bottom: 1px solid var(--line); font-size: .9rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 16px; }
.topbar ul { list-style: none; display: flex; align-items: center; gap: 0; margin: 0; padding: 0; flex-wrap: wrap; }
.topbar li { display: flex; align-items: center; }
.topbar li + li::before { content: "|"; color: var(--muted); margin: 0 16px; opacity: .6; }
.topbar .cert { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.topbar .cert svg { width: 18px; height: 18px; color: var(--lime); }
.topbar .loc { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.topbar .loc svg { width: 15px; height: 15px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(3, 10, 24, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(3, 10, 24, .95); }
.site-header .container { display: flex; align-items: center; gap: 20px; min-height: 92px; max-width: 1680px; }
.brand { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.brand-logo { display: flex; align-items: center; gap: 12px; }
.brand-logo .mark { width: 62px; height: 62px; }
.brand-name { line-height: 1.1; }
.brand-name strong { display: block; font-family: var(--font-head); font-size: 1.45rem; letter-spacing: .14em; font-weight: 700; }
.brand-name strong sup { font-size: .5em; letter-spacing: 0; }
.brand-name span { display: block; font-size: 1.02rem; color: #dfe6f2; margin-top: 3px; }
.brand-tag { border-left: 1.5px solid rgba(255,255,255,.35); padding-left: 22px; color: var(--lime); font-weight: 700; font-size: 1.05rem; line-height: 1.25; }

.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.main-nav li { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 5px; padding: 10px 10px; border-radius: 8px; white-space: nowrap;
  font-weight: 600; font-size: .96rem; color: #f1f5fb; background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav-link:hover, .has-dropdown.open > .nav-link { color: var(--lime); }
.nav-link .chev { width: 12px; height: 12px; transition: transform .2s ease; }
.has-dropdown.open > .nav-link .chev { transform: rotate(180deg); }
.dropdown {
  list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px;
  background: var(--navy-800); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 48px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease;
}
.has-dropdown:hover > .dropdown, .has-dropdown.open > .dropdown, .has-dropdown:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 12px; border-radius: 8px; font-size: .95rem; color: #dbe4f2; }
.dropdown a:hover { background: rgba(213,232,43,.1); color: var(--lime); }
.dropdown a small { display: block; color: var(--muted); font-size: .8rem; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; background: transparent; color: #fff; cursor: pointer; }
.icon-btn:hover { color: var(--lime); background: rgba(255,255,255,.06); }
.icon-btn svg { width: 24px; height: 24px; }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(1200px 600px at 78% 40%, rgba(30,120,255,.28), transparent 60%),
    radial-gradient(800px 500px at 10% 90%, rgba(30,120,255,.18), transparent 60%),
    linear-gradient(180deg, var(--navy-950) 0%, #04112b 55%, #051634 100%);
  /* To use your own skyline photo, uncomment the next line and add assets/img/hero.jpg:
  background: linear-gradient(90deg, rgba(3,10,24,.95) 0%, rgba(3,10,24,.6) 45%, rgba(3,10,24,.1) 100%), url("../assets/img/hero.jpg") right center / cover no-repeat; */
}
.hero-canvas, .hero-skyline { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-skyline { left: auto; right: 0; top: 0; width: 56%; height: calc(100% - 150px); opacity: .9; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
.hero-inner { padding: 72px 0 56px; max-width: 860px; }
.eyebrow { font-family: var(--font-head); font-size: .9rem; letter-spacing: .32em; font-weight: 600; text-transform: uppercase; color: #e6edf8; margin-bottom: 18px; }
.eyebrow span { margin: 0 .7em; opacity: .7; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 700; margin-bottom: 26px; }
.hero-lead { text-shadow: 0 2px 14px rgba(3,10,24,.9); font-size: clamp(1.05rem, 1.5vw, 1.32rem); color: #e2e9f4; max-width: 700px; margin-bottom: 34px; }
.hero-ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-ctas .divider { width: 1px; height: 46px; background: rgba(255,255,255,.3); }
.play-link { display: inline-flex; align-items: center; gap: 14px; font-weight: 700; font-size: 1.05rem; }
.play-link .ring { width: 46px; height: 46px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; transition: all .2s ease; }
.play-link .ring svg { width: 16px; height: 16px; }
.play-link:hover .ring { border-color: var(--lime); color: var(--lime); }
.play-link:hover { color: var(--lime); }

/* ---------- Credential strip ---------- */
.cred-strip { padding: 34px 0 40px; border-bottom: 1px solid var(--line); }
.cred-strip ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; }
.cred-strip li { display: flex; align-items: center; gap: 12px; padding: 6px 0 6px 26px; border-left: 1.5px solid rgba(255,255,255,.25); font-size: 1.12rem; line-height: 1.3; }
.cred-strip li:first-child { border-left: 0; padding-left: 0; }
.cred-strip li svg { width: 42px; height: 42px; color: var(--cyan); flex-shrink: 0; }
.cred-strip .nist { font-family: var(--font-head); font-weight: 800; font-style: italic; color: var(--cyan); font-size: 1.6rem; letter-spacing: -.04em; line-height: 1; }
.cred-strip b { font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.section-label { display: flex; align-items: center; gap: 14px; font-family: var(--font-head); font-weight: 600; letter-spacing: .3em; text-transform: uppercase; font-size: .95rem; margin-bottom: 14px; }
.section-label::before { content: ""; width: 5px; height: 26px; background: var(--lime); border-radius: 2px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); max-width: 760px; margin: 0; }
.section-head p { color: var(--muted); max-width: 560px; margin: 12px 0 0; }

/* ---------- Solutions carousel ---------- */
.solutions { padding-top: 56px; padding-bottom: 72px; }
.carousel-nav { display: flex; gap: 14px; }
.carousel-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: all .2s ease; }
.carousel-nav button:hover { border-color: var(--lime); color: var(--lime); }
.carousel-nav svg { width: 18px; height: 18px; }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 18px) / 5); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.carousel::-webkit-scrollbar { display: none; }
.sol-card {
  scroll-snap-align: start; display: grid; grid-template-columns: 42% 1fr; min-height: 158px;
  background: var(--card); border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.sol-card:hover { transform: translateY(-4px); border-color: var(--lime); box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.sol-art { position: relative; display: grid; place-items: center; overflow: hidden; }
.sol-art svg { width: 70%; height: auto; position: relative; z-index: 1; }
.sol-art.a1 { background: linear-gradient(160deg, #a9c3e6, #3f6aa5 60%, #1b3360); }
.sol-art.a2 { background: radial-gradient(circle at 50% 45%, #1b6cff 0%, #0b2a66 55%, #071735 100%); }
.sol-art.a3 { background: linear-gradient(160deg, #2c5a8c, #0e2d50); }
.sol-art.a4 { background: radial-gradient(circle at 50% 50%, #0f3c7a, #071a3a 70%); }
.sol-art.a5 { background: linear-gradient(180deg, #55779f, #1b3354 55%, #0b1a30); }
.sol-body { padding: 18px 16px; display: flex; flex-direction: column; justify-content: center; }
.sol-body h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 10px; }
.sol-body p { font-size: .86rem; color: #cdd7e6; margin: 0; line-height: 1.45; }

/* ---------- Approach ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; background: rgba(10,26,54,.6); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: transparent; -webkit-text-stroke: 1.5px var(--lime); display: block; margin-bottom: 14px; line-height: 1; }
.step h3 { font-size: 1.3rem; }
.step p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------- NIST functions ---------- */
.nist-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.nist-copy p { color: var(--muted); }
.nist-copy ul { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.nist-copy li { display: flex; gap: 12px; align-items: flex-start; }
.nist-copy li svg { width: 22px; height: 22px; color: var(--lime); flex-shrink: 0; margin-top: 2px; }
.nist-wheel { position: relative; aspect-ratio: 1; max-width: 500px; margin: 0 auto; width: 100%; }
.nist-wheel svg { width: 100%; height: 100%; overflow: visible; }
.nist-wheel .seg { cursor: pointer; transition: opacity .2s ease, transform .2s ease; transform-origin: 250px 250px; }
.nist-wheel .seg:hover { transform: scale(1.03); }
.nist-detail { margin-top: 18px; text-align: center; min-height: 58px; color: var(--muted); font-size: .98rem; }
.nist-detail strong { color: var(--lime); }

/* ---------- Services detail ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service { padding: 32px 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; transition: border-color .2s ease, transform .2s ease; }
.service:hover { border-color: var(--lime); transform: translateY(-3px); }
.service .ico { width: 54px; height: 54px; border-radius: 12px; background: rgba(56,182,255,.12); display: grid; place-items: center; color: var(--cyan); margin-bottom: 20px; }
.service .ico svg { width: 30px; height: 30px; }
.service h3 { font-size: 1.3rem; }
.service p { color: var(--muted); font-size: .98rem; }
.service ul { padding-left: 18px; margin: 0 0 20px; color: #d3dcea; font-size: .95rem; }
.service ul li { margin-bottom: 4px; }
.service ul li::marker { color: var(--lime); }
.service .more { margin-top: auto; color: var(--lime); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.service .more svg { width: 16px; height: 16px; }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.industry { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(30,120,255,.1), rgba(10,26,54,.4)); }
.industry svg { width: 36px; height: 36px; color: var(--lime); margin-bottom: 14px; }
.industry h3 { font-size: 1.12rem; margin-bottom: 6px; }
.industry p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- Government / MWBE ---------- */
.gov { border: 1px solid var(--line-strong); border-radius: 20px; padding: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
  background: radial-gradient(600px 300px at 100% 0%, rgba(213,232,43,.12), transparent 60%), linear-gradient(135deg, var(--navy-800), var(--navy-900)); }
.gov h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.gov p { color: #c9d4e5; }
.gov-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact { padding: 20px; border-radius: 12px; background: rgba(3,10,24,.55); border: 1px solid var(--line); }
.fact span { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.fact strong { font-family: var(--font-head); font-size: 1.05rem; }
.gov .btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Insights ---------- */
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.insight { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s ease; }
.insight:hover { transform: translateY(-3px); border-color: var(--lime); }
.insight .thumb { height: 170px; display: grid; place-items: center; }
.insight .thumb svg { width: 70px; height: 70px; color: rgba(255,255,255,.9); }
.insight .thumb.t1 { background: linear-gradient(135deg, #0d3a7a, #1e78ff); }
.insight .thumb.t2 { background: linear-gradient(135deg, #2a3c0a, #8ea317); }
.insight .thumb.t3 { background: linear-gradient(135deg, #0a2c46, #1aa0d8); }
.insight .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.insight .tag { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); font-weight: 700; margin-bottom: 10px; }
.insight h3 { font-size: 1.18rem; }
.insight p { font-size: .94rem; color: var(--muted); }
.insight .meta { margin-top: auto; font-size: .85rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { padding: 80px 0; background: linear-gradient(100deg, #0b2a66 0%, #08214f 50%, #05112a 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(213,232,43,.08); }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0 0 8px; }
.cta-band p { color: #c9d4e5; margin: 0; max-width: 640px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); padding: 72px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 48px; }
.footer-grid h4 { font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--lime); margin-bottom: 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: #c9d4e5; }
.footer-grid a:hover { color: var(--lime); }
.footer-about p { color: var(--muted); margin-top: 18px; }
.footer-contact li { display: flex; gap: 10px; color: #c9d4e5; }
.footer-contact svg { width: 18px; height: 18px; color: var(--lime); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .88rem; }
.footer-bottom a:hover { color: var(--lime); }
.footer-bottom nav { display: flex; gap: 20px; }

/* ---------- Search modal ---------- */
.search-modal { position: fixed; inset: 0; z-index: 300; background: rgba(2,6,16,.82); backdrop-filter: blur(6px); display: none; align-items: flex-start; justify-content: center; padding: 14vh 20px 0; }
.search-modal.open { display: flex; }
.search-box { width: 100%; max-width: 640px; background: var(--navy-800); border: 1px solid var(--line-strong); border-radius: 16px; padding: 22px; }
.search-box form { display: flex; gap: 10px; }
.search-box input { flex: 1; font: inherit; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--navy-950); color: #fff; }
.search-results { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 4px; max-height: 50vh; overflow: auto; }
.search-results a { display: block; padding: 10px 12px; border-radius: 8px; color: #dbe4f2; }
.search-results a:hover, .search-results a:focus { background: rgba(213,232,43,.1); color: var(--lime); }
.search-results .empty { color: var(--muted); padding: 10px 12px; }

/* ---------- Forms (contact page) ---------- */
.page-hero { padding: 80px 0 56px; background: radial-gradient(900px 400px at 80% 0%, rgba(30,120,255,.25), transparent 60%), var(--navy-950); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.page-hero p { color: #d3dcea; max-width: 720px; font-size: 1.15rem; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.form-card, .info-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: .92rem; }
.field label .req { color: var(--lime); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--navy-950); color: #fff; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d5e82b' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(213,232,43,.18); }
.field textarea { min-height: 150px; resize: vertical; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin-bottom: 18px; }
.checks label { display: flex; gap: 8px; align-items: center; font-size: .94rem; color: #d3dcea; cursor: pointer; }
.checks input { accent-color: var(--lime); width: 17px; height: 17px; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 22px; font-weight: 600; display: none; }
.alert.show { display: block; }
.alert.ok { background: rgba(213,232,43,.12); border: 1px solid var(--lime); color: var(--lime); }
.alert.err { background: rgba(255,90,90,.1); border: 1px solid #ff6b6b; color: #ff9b9b; }
.info-card h3 { font-size: 1.25rem; }
.info-card ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 16px; }
.info-card li { display: flex; gap: 12px; color: #d3dcea; }
.info-card li svg { width: 22px; height: 22px; color: var(--lime); flex-shrink: 0; margin-top: 2px; }
.info-card .muted { color: var(--muted); font-size: .94rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1760px) {
  .brand-tag { display: none; }
}
@media (max-width: 1280px) {
  .carousel { grid-auto-columns: calc((100% - 3 * 18px) / 4); }
}
@media (max-width: 1280px) {
  .site-header, .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--navy-950); }
  .menu-toggle { display: grid; }
  .header-actions .btn-outline { display: none; }
  .main-nav {
    position: fixed; inset: 92px 0 0 0; visibility: hidden; background: var(--navy-950); padding: 20px 28px 40px; overflow-y: auto;
    transform: translateX(100%); transition: transform .25s ease; margin: 0;
  }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.1rem; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 12px 8px; min-width: 0; }
  .has-dropdown:hover > .dropdown { display: none; }
  .has-dropdown.open > .dropdown { display: block; }
  .cred-strip ul { display: grid; grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .cred-strip li { padding-left: 22px; }
  .cred-strip li:nth-child(4) { border-left: 0; padding-left: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .carousel { grid-auto-columns: calc((100% - 18px) / 2); }
  .nist-grid, .gov, .contact-grid { grid-template-columns: 1fr; }
  .gov { padding: 36px 28px; }
  .insight-grid { grid-template-columns: 1fr 1fr; }
  .hero-skyline { width: 100%; opacity: .35; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .topbar .container { justify-content: center; }
  .topbar ul li:not(:first-child), .topbar .loc { display: none; }
  .site-header .container { min-height: 76px; gap: 12px; }
  .main-nav { inset: 76px 0 0 0; }
  .brand-logo .mark { width: 46px; height: 46px; }
  .brand-name strong { font-size: 1.1rem; }
  .brand-name span { font-size: .82rem; }
  .header-actions .btn-primary { display: none; }
  .hero-inner { padding: 52px 0 40px; }
  .eyebrow { font-size: .72rem; letter-spacing: .2em; }
  .hero-ctas .divider { display: none; }
  .cred-strip ul { grid-template-columns: 1fr 1fr; }
  .cred-strip li { border-left: 0 !important; padding: 0 !important; font-size: 1rem; }
  .carousel { grid-auto-columns: 88%; }
  .section { padding: 68px 0; }
  .steps, .service-grid, .industry-grid, .insight-grid, .gov-facts, .form-row, .checks { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-card, .info-card { padding: 26px 20px; }
}

/* ---------- Layout refinements ---------- */
.section-head h2.section-label { font-size: .95rem; font-weight: 600; letter-spacing: .3em; }
.section-head > p { max-width: 440px; }
.solutions .container { max-width: 1680px; }
.sol-card { grid-template-columns: 38% 1fr; }
@media (max-width: 1500px) {
  .header-actions .btn-outline { display: none; }
  .carousel { grid-auto-columns: calc((100% - 3 * 18px) / 4); }
}
.contact-grid > *, .form-row > *, .nist-grid > *, .gov > * { min-width: 0; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; }
.field .checks input { width: 17px; height: 17px; padding: 0; flex-shrink: 0; }
@media (max-width: 960px) {
  .carousel { grid-auto-columns: calc((100% - 18px) / 2); }
}
@media (max-width: 720px) {
  .carousel { grid-auto-columns: 86%; }
  .eyebrow { letter-spacing: .14em; font-size: .66rem; }
  .eyebrow span { margin: 0 .4em; }
}

/* ---------- Photos (used when you swap the drawn artwork for real images) ---------- */
.sol-art img, .insight .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sol-art:has(img), .insight .thumb:has(img) { padding: 0; }

/* ---------- Hero photo (assets/img/hero.jpg) ---------- */
.hero {
  background:
    linear-gradient(90deg, rgba(3,10,24,.96) 0%, rgba(3,10,24,.8) 36%, rgba(3,10,24,.25) 66%, rgba(3,10,24,.05) 100%),
    linear-gradient(180deg, rgba(5,17,42,.55) 0%, rgba(5,17,42,0) 35%, rgba(3,10,24,.55) 78%, rgba(3,10,24,.95) 100%),
    url("../assets/img/hero.jpg") 70% 40% / cover no-repeat,
    var(--navy-950);
}
.hero-canvas { opacity: .55; }
@media (max-width: 720px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(3,10,24,.92) 0%, rgba(3,10,24,.78) 55%, rgba(3,10,24,.97) 100%),
      url("../assets/img/hero-mobile.jpg") center top / cover no-repeat,
      var(--navy-950);
  }
}

/* ---------- Industry callout (GLBA / FERPA) ---------- */
.callout { margin-top: 26px; display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start; padding: 32px 36px; border-radius: var(--radius);
  border: 1px solid rgba(213,232,43,.45); border-left: 5px solid var(--lime);
  background: radial-gradient(500px 220px at 100% 0%, rgba(213,232,43,.10), transparent 60%), linear-gradient(135deg, var(--navy-800), var(--navy-900)); }
.callout-icon { width: 60px; height: 60px; border-radius: 14px; background: rgba(213,232,43,.12); display: grid; place-items: center; color: var(--lime); }
.callout-icon svg { width: 34px; height: 34px; }
.callout-kicker { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); font-weight: 700; margin-bottom: 6px; }
.callout h3 { font-size: 1.45rem; margin-bottom: 10px; }
.callout p { color: #d3dcea; max-width: 980px; }
.callout strong { color: #fff; }
@media (max-width: 720px) { .callout { grid-template-columns: 1fr; padding: 24px 20px; gap: 14px; } }

/* ---------- Article pages (Insights) ---------- */
.article-wrap { max-width: 860px; }
.article-hero { padding: 56px 0 48px; }
.article-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: .92rem; margin-bottom: 22px; }
.back-link svg { width: 16px; height: 16px; }
.back-link:hover { color: var(--lime); }
.article-dek { font-size: 1.2rem; color: #d3dcea; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.byline img { width: 44px; height: 44px; }
.byline strong { display: block; font-size: .98rem; }
.byline span { display: block; color: var(--muted); font-size: .88rem; }
.article-section { padding-top: 56px; }
.article-body { font-size: 1.08rem; line-height: 1.75; color: #dbe3ef; }
.article-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 2em 0 .6em; color: #fff; }
.article-body h3 { font-size: 1.12rem; color: #fff; }
.article-body p, .article-body li { color: #dbe3ef; }
.article-body strong { color: #fff; }
.article-body a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article-body a.btn { text-decoration: none; color: #0a1400; }
.article-body ul, .article-body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article-body li { margin-bottom: .55em; }
.article-body li::marker { color: var(--lime); }
.req-list li::marker { font-weight: 800; font-family: var(--font-head); }
.takeaways { background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); border: 1px solid var(--line-strong); border-left: 5px solid var(--lime); border-radius: var(--radius); padding: 26px 30px; margin-bottom: 8px; }
.takeaways h2 { margin: 0 0 12px; font-size: 1.05rem; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.takeaways ul { margin: 0; }
.takeaways li { font-size: 1rem; }
.note { background: rgba(56,182,255,.08); border: 1px solid rgba(56,182,255,.35); border-radius: 12px; padding: 18px 22px; font-size: 1rem; margin: 1.4em 0; }
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 1em 0 1.4em; }
.phase { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--lime); border-radius: 12px; padding: 20px; }
.phase span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); font-weight: 700; }
.phase h3 { margin: 6px 0 8px; }
.phase p { font-size: .95rem; line-height: 1.6; margin: 0; }
.article-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin: 2.4em 0; padding: 28px 30px; border-radius: var(--radius); background: linear-gradient(100deg, #0b2a66, #08214f 60%, #05112a); border: 1px solid var(--line-strong); }
.article-cta h3 { font-size: 1.3rem; margin-bottom: 4px; }
.article-cta p { margin: 0; font-size: 1rem; }
.sources { border-top: 1px solid var(--line); padding-top: 10px; }
.sources h2 { font-size: 1.1rem !important; }
.sources li { font-size: .95rem; }
.disclaimer { font-size: .88rem; color: var(--muted) !important; font-style: italic; }
.callout .btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.text-link { color: var(--lime); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.text-link svg { width: 16px; height: 16px; }
@media (max-width: 960px) { .phases { grid-template-columns: 1fr; } }

/* ---------- Approach: maturity profile, 5 steps, deliverables ---------- */
.profile-figure { margin: 0 0 56px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--navy-900); box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.profile-figure img { width: 100%; height: auto; }
.profile-figure figcaption { padding: 14px 20px; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); }
.sub-head { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0 0 24px; }
.steps-5 { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps-5 .step { padding: 26px 22px; }
.steps-5 .step h3 { font-size: 1.15rem; }
.steps-5 .step p { font-size: .94rem; }
.receives { margin-top: 56px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; padding: 36px; border-radius: 18px; border: 1px solid var(--line); background: rgba(10,26,54,.55); }
.receives-copy p { color: #d3dcea; }
.fine-print { font-size: .9rem; color: var(--muted) !important; border-left: 3px solid var(--line-strong); padding-left: 14px; margin-top: 18px; }
.deliverables { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.deliverables li { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: .98rem; }
.deliverables svg { width: 24px; height: 24px; color: var(--lime); flex-shrink: 0; }
.approach-cta { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px 32px; border-radius: 16px; background: linear-gradient(100deg, #0b2a66, #08214f 60%, #05112a); border: 1px solid var(--line-strong); }
.approach-cta h3 { font-size: 1.35rem; margin-bottom: 4px; }
.approach-cta p { margin: 0; color: #c9d4e5; }
@media (max-width: 1140px) { .steps-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) { .receives { grid-template-columns: 1fr; padding: 26px; } }
@media (max-width: 720px) { .steps-5, .deliverables { grid-template-columns: 1fr; } .profile-figure { margin-bottom: 40px; } }
.callout > *, .receives > * { min-width: 0; }
@media (max-width: 720px) { .callout .btn, .approach-cta .btn { white-space: normal; text-align: left; } }

/* ---------- Header: keep "Contact Us" visible on laptop screens ---------- */
.nav-mobile-actions { display: none; }
@media (max-width: 1500px) {
  .header-actions .btn-outline { display: inline-flex; }
  .site-header .container { gap: 14px; }
  .nav-link { padding: 10px 8px; font-size: .93rem; }
  .header-actions { gap: 10px; }
  .header-actions .btn-sm { padding: .62em 1.05em; font-size: .9rem; }
  .icon-btn { width: 40px; height: 40px; }
}
@media (max-width: 1400px) {
  .cta-long { display: none; }
  .brand-name strong { font-size: 1.3rem; }
  .brand-logo .mark { width: 54px; height: 54px; }
}
@media (max-width: 1280px) {
  .header-actions .btn-outline { display: inline-flex; }
  .cta-long { display: inline; }
  .nav-mobile-actions { display: flex; flex-direction: column; gap: 12px; padding: 24px 0 8px; border-bottom: 0 !important; }
  .nav-mobile-actions .btn { justify-content: center; }
}
@media (max-width: 860px) { .header-actions .btn-outline { display: none; } }
@media (max-width: 1360px) and (min-width: 1281px) {
  .nav-link { padding: 10px 6px; font-size: .9rem; }
  .site-header .container { gap: 10px; padding: 0 20px; }
  .brand-name strong { font-size: 1.15rem; letter-spacing: .1em; }
  .brand-name span { font-size: .85rem; }
  .brand-logo .mark { width: 48px; height: 48px; }
  .header-actions .btn-sm { padding: .6em .9em; }
}
@media (max-width: 1280px) { .header-actions { margin-left: auto; } }
