/* ND Cyber — shared stylesheet
   Used by every page under /ndcyber. Keep selectors page-agnostic;
   page-specific rules live in a scoped block at the bottom, namespaced
   by <body class="page-*">. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy:       #0d1828;
  --navy-mid:   #111f33;
  --navy-light: #162540;
  --blue:       #4a90c4;
  --blue-light: #6aaed8;
  --blue-dim:   #2a5a7c;
  --text:       #d6e4f0;
  --text-muted: #7a9ab5;
  --border:     rgba(74,144,196,0.18);
  /* Neon accents — taken from the hero emblem so every page shares them */
  --cyan:       #00e5ff;
  --cyan-soft:  #7ef9ff;
  --violet:     #a855f7;
  --neon-line:  linear-gradient(90deg, #00e5ff 0%, #3b82f6 50%, #a855f7 100%);
  --glow-cyan:  rgba(0,229,255,0.10);
  --glow-violet: rgba(168,85,247,0.07);
}
html { scroll-behavior: smooth; }
body { background: var(--navy); color: var(--text); font-family: 'Inter', sans-serif; font-weight: 300; line-height: 1.7; overflow-x: hidden; }

/* ---------- Page transitions ----------
   Layer 1: native cross-document View Transitions (Chrome/Edge/Opera).
   The whole page cross-fades on navigation; nav/footer carry a stable
   view-transition-name so they hold in place instead of flashing, since
   they're identical markup on every page.
   Layer 2: for browsers without support (Firefox/Safari), fall back to a
   plain fade-in on load so the page still eases in instead of snapping. */
@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.32s;
  animation-timing-function: ease;
}
body > nav { view-transition-name: site-nav; }
footer { view-transition-name: site-footer; }

@supports not (view-transition-name: none) {
  body { animation: pageFadeIn 0.35s ease both; }
}
@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
  body { animation: none !important; }
}

/* ---------- Nav ---------- */
/* Scoped to body > nav (not a bare `nav` selector) because Resources/Blog
   pages have a second <nav class="subnav"> for the Overview/Blog tabs —
   a bare selector here would fix-position that one too and hide the real nav. */
body > nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 4rem; background: rgba(13,24,40,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-left { display: flex; align-items: center; gap: 0.9rem; }
.nav-logo { display: flex; align-items: center; gap: 0.9rem; text-decoration: none; }
.nav-hex { width: 40px; height: 40px; flex-shrink: 0; }
.nav-wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.nav-wordmark span:first-child { font-family: 'Rajdhani', sans-serif; font-size: 1.05rem; letter-spacing: 0.35em; color: var(--text); font-weight: 600; }
.nav-wordmark span:last-child { font-size: 0.6rem; letter-spacing: 0.22em; color: var(--text-muted); text-transform: uppercase; }
.nav-phone { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--blue-light); text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.7rem; border: 1px solid var(--border); border-radius: 3px; transition: background 0.2s, border-color 0.2s; white-space: nowrap; }
.nav-phone:hover { background: var(--navy-light); border-color: var(--blue); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a { font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--blue-light); }
.nav-cta { font-family: 'Rajdhani', sans-serif; font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; padding: 0.5rem 1.4rem; border: 1px solid var(--blue-dim); color: var(--blue-light); background: transparent; cursor: pointer; text-decoration: none; transition: background 0.2s, color 0.2s; }
.nav-cta:hover { background: var(--blue-dim); color: #fff; }

/* Mobile nav toggle — hidden above 768px, see responsive block below */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 34px; background: none; border: none; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--blue-light); transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Resources dropdown */
.nav-item-dropdown { position: relative; }
.nav-item-dropdown > a { display: inline-flex; align-items: center; gap: 0.3rem; }
.nav-item-dropdown > a::after { content: ''; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin-top: -3px; opacity: 0.7; }
.nav-dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 0.9rem; min-width: 160px; background: var(--navy-mid); border: 1px solid var(--border); box-shadow: 0 12px 28px rgba(0,0,0,0.35); opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(-6px); transition: opacity 0.18s, transform 0.18s, visibility 0.18s; }
.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown-menu a { display: block; padding: 0.7rem 1.1rem; font-size: 0.75rem; letter-spacing: 0.12em; white-space: nowrap; border-bottom: 1px solid var(--border); }
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a.active { background: var(--navy-light); color: var(--blue-light); }

/* ---------- Hero ---------- */
#hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8rem 2rem 4rem; position: relative; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(74,144,196,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(74,144,196,0.04) 1px, transparent 1px); background-size: 60px 60px; }
.hero-glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(74,144,196,0.08) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -55%); pointer-events: none; }
.hero-logo { width: 200px; height: 200px; margin-bottom: 2.5rem; animation: fadeUp 0.9s ease both; }
.hero-title { font-family: 'Rajdhani', sans-serif; font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 600; letter-spacing: 0.3em; color: #fff; animation: fadeUp 0.9s 0.1s ease both; }
.hero-divider { width: 120px; height: 1px; background: linear-gradient(90deg, transparent, var(--blue), transparent); margin: 1.2rem auto; animation: fadeUp 0.9s 0.2s ease both; }
.hero-sub { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-muted); animation: fadeUp 0.9s 0.25s ease both; }
.hero-tagline { margin-top: 2rem; font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 300; color: var(--text); max-width: 560px; line-height: 1.8; animation: fadeUp 0.9s 0.35s ease both; }
.hero-buttons { display: flex; gap: 1rem; margin-top: 2.5rem; animation: fadeUp 0.9s 0.45s ease both; }
.btn-primary { font-family: 'Rajdhani', sans-serif; font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.85rem 2.2rem; background: var(--blue); color: #fff; border: none; cursor: pointer; text-decoration: none; transition: background 0.2s, transform 0.15s; display: inline-block; }
.btn-primary:hover { background: var(--blue-light); transform: translateY(-1px); }
.btn-outline { font-family: 'Rajdhani', sans-serif; font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.85rem 2.2rem; background: transparent; color: var(--blue-light); border: 1px solid var(--blue-dim); cursor: pointer; text-decoration: none; transition: background 0.2s, transform 0.15s; display: inline-block; }
.btn-outline:hover { background: var(--navy-light); transform: translateY(-1px); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Sections (generic) ---------- */
section { padding: 6rem 4rem; }
/* Pages that open directly on a content section (no #hero above it) need
   extra top padding to clear the fixed nav bar. #hero's own rule (higher
   specificity via ID) overrides this on the home page. */
body > section:first-of-type { padding-top: 9rem; }
.section-label { font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.6rem; }
.section-title { font-family: 'Rajdhani', sans-serif; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; letter-spacing: 0.08em; color: #fff; margin-bottom: 1rem; }
.section-desc { color: var(--text-muted); max-width: 560px; font-size: 0.95rem; line-height: 1.8; }

/* ---------- About ---------- */
#about { background: var(--navy-mid); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.creds { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1.8rem; }
.cred { display: flex; align-items: center; gap: 0.8rem; }
.cred span { color: var(--text); font-size: 0.92rem; }
.img-wrap { position: relative; }
.img-wrap img { width: 100%; height: auto; border-radius: 4px; border: 1px solid var(--border); display: block; }
.img-wrap .img-veil { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,24,40,0.4) 0%, rgba(13,24,40,0.1) 100%); border-radius: 4px; pointer-events: none; }

/* ---------- Services ---------- */
.services-wrap { max-width: 1100px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--border); margin-top: 3.5rem; background: var(--border); }
.service-card { background: var(--navy-mid); padding: 2rem 1.8rem; transition: background 0.2s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.service-card:hover { background: var(--navy-light); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 40px; height: 40px; margin-bottom: 1.2rem; color: var(--blue); }
.service-name { font-family: 'Rajdhani', sans-serif; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 0.6rem; }
.service-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* ---------- Compliance ---------- */
#compliance { background: var(--navy-mid); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.compliance-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.compliance-list { list-style: none; margin-top: 2rem; }
.compliance-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; color: var(--text-muted); }
.compliance-list li:last-child { border-bottom: none; }
.compliance-bullet { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin-top: 0.55rem; flex-shrink: 0; }
.compliance-list strong { color: var(--text); font-weight: 500; display: block; margin-bottom: 0.2rem; }
.risk-img { position: relative; margin-bottom: 1.5rem; }
.risk-img img { width: 100%; height: 220px; object-fit: cover; border-radius: 4px; border: 1px solid var(--border); display: block; }
.risk-img .img-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,24,40,0.2) 0%, rgba(13,24,40,0.5) 100%); border-radius: 4px; pointer-events: none; }
.assess-badge { border: 1px solid var(--border); padding: 2rem; background: var(--navy); margin-top: 2rem; text-align: center; }
.assess-badge-title { font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; letter-spacing: 0.2em; color: var(--blue-light); font-weight: 600; margin-bottom: 0.5rem; }
.assess-badge-sub { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.08em; }
.assess-badge .btn-primary { display: inline-block; margin-top: 1.2rem; font-size: 0.78rem; }

/* ---------- Home teaser cards ---------- */
.home-links { max-width: 1100px; margin: 0 auto; }
.home-links-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--border); margin-top: 3.5rem; background: var(--border); }
.home-link-card { background: var(--navy-mid); padding: 2.4rem 1.8rem; text-decoration: none; transition: background 0.2s; position: relative; overflow: hidden; display: block; }
.home-link-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.home-link-card:hover { background: var(--navy-light); }
.home-link-card:hover::before { transform: scaleX(1); }
.home-link-title { font-family: 'Rajdhani', sans-serif; font-size: 1.05rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 0.6rem; }
.home-link-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }
.home-link-arrow { display: inline-block; margin-top: 1rem; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue-light); }
.home-stats { display: flex; gap: 3rem; justify-content: center; flex-wrap: wrap; margin-top: 3rem; }
.home-stat { text-align: center; }
.home-stat-num { font-family: 'Rajdhani', sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--blue-light); }
.home-stat-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.3rem; }

/* ---------- Resources / Blog ---------- */
.subnav { display: flex; gap: 0.5rem; justify-content: center; margin-top: 2rem; border-bottom: 1px solid var(--border); padding-bottom: 0; }
.subnav a { font-family: 'Rajdhani', sans-serif; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; padding: 0.8rem 1.4rem; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.subnav a:hover { color: var(--text); }
.subnav a.active { color: var(--blue-light); border-color: var(--blue); }
.resources-wrap, .blog-wrap, .post-wrap { max-width: 1000px; margin: 0 auto; }
.resource-list { list-style: none; margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.resource-list li { background: var(--navy-mid); }
.resource-list a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 1.6rem; text-decoration: none; transition: background 0.2s; }
.resource-list a:hover { background: var(--navy-light); }
.resource-list-title { font-family: 'Rajdhani', sans-serif; font-size: 1rem; letter-spacing: 0.05em; color: #fff; font-weight: 600; }
.resource-list-desc { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.3rem; }
.resource-list-arrow { color: var(--blue-light); font-size: 0.85rem; flex-shrink: 0; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.blog-card { background: var(--navy-mid); border: 1px solid var(--border); text-decoration: none; display: block; transition: border-color 0.2s, transform 0.15s; overflow: hidden; }
.blog-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.blog-card-image { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; display: block; border-bottom: 1px solid var(--border); }
.blog-card.is-stub { opacity: 0.75; }
.blog-card-body { padding: 1.6rem; }
.blog-card-tag { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-light); margin-bottom: 0.8rem; }
.blog-card-title { font-family: 'Rajdhani', sans-serif; font-size: 1.15rem; font-weight: 600; color: #fff; margin-bottom: 0.7rem; letter-spacing: 0.02em; }
.blog-card-excerpt { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }
.blog-card-meta { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.blog-empty { text-align: center; padding: 4rem 2rem; color: var(--text-muted); border: 1px dashed var(--border); margin-top: 3.5rem; }

.post-meta { display: flex; gap: 1rem; align-items: center; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-top: 1rem; }
.post-back { display: inline-block; margin-bottom: 2rem; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-light); text-decoration: none; }
.post-back:hover { color: var(--blue); }
.post-body { max-width: 720px; margin: 3rem auto 0; font-size: 1rem; color: var(--text); }
.post-body p { margin-bottom: 1.4rem; }
.post-body h2 { font-family: 'Rajdhani', sans-serif; color: #fff; font-size: 1.5rem; letter-spacing: 0.03em; margin: 2.4rem 0 1rem; }
.post-body h3 { font-family: 'Rajdhani', sans-serif; color: #fff; font-size: 1.2rem; letter-spacing: 0.03em; margin: 2rem 0 0.8rem; }
.post-body ul, .post-body ol { margin: 0 0 1.4rem 1.4rem; color: var(--text-muted); }
.post-body li { margin-bottom: 0.5rem; }
.post-body strong { color: var(--text); font-weight: 500; }
.post-body a { color: var(--blue-light); }
.post-body code { font-family: 'IBM Plex Mono', ui-monospace, monospace; background: var(--navy); border: 1px solid var(--border); border-radius: 3px; padding: 0.1em 0.4em; font-size: 0.9em; color: var(--blue-light); }
.post-footer-cta { max-width: 720px; margin: 3rem auto 0; padding: 2rem; border: 1px solid var(--border); background: var(--navy-mid); text-align: center; }

/* ---------- Contact ---------- */
#contact { text-align: center; background: var(--navy); }
.contact-inner { max-width: 640px; margin: 0 auto; }
.contact-desc { margin: 0 auto; text-align: center; }
.contact-direct { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0 1rem; }
.icon-btn { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1.6rem; background: var(--navy-mid); border: 1px solid var(--border); color: var(--text); text-decoration: none; font-size: 0.9rem; transition: background 0.2s, border-color 0.2s; }
.icon-btn:hover { background: var(--navy-light); border-color: var(--blue); }
.or-divider { text-align: center; color: var(--text-muted); font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1rem; }
.contact-form { margin-top: 2.5rem; text-align: left; }
.form-group { margin-bottom: 1.2rem; }
.form-label { display: block; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.4rem; }
.form-input, .form-textarea, .form-select { width: 100%; padding: 0.75rem 1rem; background: var(--navy-mid); border: 1px solid var(--border); color: var(--text); font-family: 'Inter', sans-serif; font-size: 0.9rem; outline: none; transition: border-color 0.2s; -webkit-appearance: none; }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--blue); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { cursor: pointer; }
.form-select option { background: var(--navy-mid); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.turnstile-wrap { margin: 1rem 0; }
.form-status { display: none; padding: 1rem; margin-bottom: 1rem; border-radius: 4px; font-size: 0.9rem; }
.form-status.visible { display: block; }
.form-status.ok { background: #1a4a2a; color: #a5e5b5; }
.form-status.err { background: #5a2020; color: #f5b5b5; }
.form-submit { width: 100%; margin-top: 0.5rem; font-family: 'Rajdhani', sans-serif; font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 1rem; background: var(--blue); color: #fff; border: none; cursor: pointer; transition: background 0.2s; }
.form-submit:hover { background: var(--blue-light); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ---------- Footer ---------- */
footer { background: var(--navy-mid); border-top: 1px solid var(--border); padding: 2rem 4rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.1em; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--blue-light); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .services-grid, .home-links-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  body > nav { padding: 1rem 1.5rem; flex-wrap: wrap; }
  .nav-left { flex-wrap: wrap; row-gap: 0.5rem; }
  .nav-toggle { display: flex; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0; list-style: none;
    width: 100%; order: 4;
    background: var(--navy-mid); border-top: 1px solid var(--border);
    margin-top: 1rem; padding: 0.5rem 0;
  }
  .nav-links.open a { padding: 1rem 1.5rem; width: 100%; }
  .nav-dropdown-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; border-top: 1px solid var(--border); margin-top: 0.5rem; background: var(--navy); }
  section, .page-hero { padding: 4rem 1.5rem; }
  .page-hero { padding-top: 7rem; }
  .about-inner, .compliance-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-grid, .home-links-grid, .blog-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  footer { padding: 1.5rem; flex-direction: column; align-items: flex-start; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .home-stats { gap: 1.5rem; }
}

/* ==========================================================
   2026 PURE-VECTOR 3D NEON HERO & RESPONSIVE TOPOLOGY
   ========================================================== */

#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7.5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-network-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0.32;
}

/* Pure Vector 3D Neon Emblem (100% Transparent, Perfectly Centered) */
.hero-emblem-svg {
  width: 250px;
  height: 250px;
  margin-bottom: 1.2rem;
  overflow: visible;
  animation: fadeUp 0.9s ease both;
  filter: drop-shadow(0 0 28px rgba(0, 229, 255, 0.22)) drop-shadow(0 0 48px rgba(168, 85, 247, 0.18));
}

/* All orbits locked to exact SVG center (130, 130) */
.hud-spin-cw {
  transform-origin: 130px 130px;
  animation: orbitCW 28s linear infinite;
}
.hud-spin-ccw {
  transform-origin: 130px 130px;
  animation: orbitCCW 18s linear infinite;
}
.hud-hex-pulse {
  transform-origin: 130px 130px;
  animation: neonPulse 3.8s ease-in-out infinite;
}

@keyframes orbitCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes orbitCCW {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}
@keyframes neonPulse {
  0%, 100% { opacity: 0.35; transform: scale(0.98); }
  50% { opacity: 0.85; transform: scale(1.03); }
}

/* Upgraded Neon 3D styling on Hero Title to match the Emblem */
.page-home .hero-title {
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.45), 0 0 36px rgba(168, 85, 247, 0.35);
  letter-spacing: 0.34em;
}
.page-home .hero-divider {
  width: 160px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #a855f7, #00e5ff, #a855f7, transparent);
}

/* ---------- HTML/CSS Architecture Topology (Zero Text Overflow) ---------- */
#architecture {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.arch-wrap {
  max-width: 1100px;
  margin: 0 auto;
}
.arch-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.arch-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem;
  background: rgba(13, 24, 40, 0.85);
  border: 1px solid var(--border);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-light);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: blinkDot 2s ease-in-out infinite;
}
@keyframes blinkDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Responsive HTML Topology Grid */
.topology-grid {
  display: grid;
  grid-template-columns: 1fr 150px 1.08fr 150px 1fr;
  align-items: stretch;
  background: var(--navy);
  border: 1px solid var(--border);
  padding: 2rem;
  margin-bottom: 2.5rem;
  background-image:
    linear-gradient(rgba(74,144,196,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,144,196,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

.topo-node {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: 4px;
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.topo-node-core {
  background: linear-gradient(160deg, rgba(22, 37, 64, 0.95) 0%, rgba(13, 24, 40, 0.98) 100%);
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-top: 3px solid #00e5ff;
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.08), inset 0 0 20px rgba(168, 85, 247, 0.06);
  text-align: center;
  align-items: center;
}

.topo-node-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.topo-icon-box {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 4px;
  background: var(--navy-light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
}

.topo-node-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
}

.topo-node-sub {
  font-size: 0.76rem;
  color: var(--blue-light);
  margin-top: 0.15rem;
}

.topo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.topo-list li {
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.45;
  padding-left: 0.9rem;
  position: relative;
}

.topo-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--blue-light);
}

.topo-core-hex {
  width: 58px;
  height: 58px;
  margin-bottom: 0.7rem;
}

.topo-core-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 0.45rem;
}

/* Animated Connector Column Between Nodes */
.topo-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 0.35rem;
  text-align: center;
}

.topo-conn-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.topo-conn-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.2;
}

.topo-stream-svg {
  width: 100%;
  height: 28px;
  display: block;
}

.data-stream {
  stroke-dasharray: 6 8;
  animation: streamFlow 1.4s linear infinite;
}
.data-stream-reverse {
  stroke-dasharray: 5 9;
  animation: streamFlowRev 1.9s linear infinite;
}
@keyframes streamFlow {
  to { stroke-dashoffset: -28; }
}
@keyframes streamFlowRev {
  to { stroke-dashoffset: 28; }
}

/* Field Photo Visual Grid */
.field-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.field-photo-card {
  position: relative;
  border: 1px solid var(--border);
  background: var(--navy);
  overflow: hidden;
  border-radius: 3px;
}
.field-photo-card img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  display: block;
  filter: saturate(0.75) contrast(1.08) brightness(0.82);
  transition: transform 0.45s ease, filter 0.45s ease;
}
.field-photo-card:hover img {
  transform: scale(1.03);
  filter: saturate(0.95) contrast(1.1) brightness(0.92);
}
.field-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,24,40,0.15) 0%, rgba(13,24,40,0.82) 65%, rgba(13,24,40,0.96) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
}
.field-photo-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(13, 24, 40, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  padding: 0.3rem 0.75rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-light);
}
.field-photo-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.35rem;
}
.field-photo-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Home Teaser Card Icons & Stats */
.home-card-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 1.35rem;
  padding: 0.55rem;
  background: rgba(74, 144, 196, 0.07);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--blue-light);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.home-link-card:hover .home-card-icon {
  transform: translateY(-3px);
  border-color: var(--blue);
  background: rgba(74, 144, 196, 0.15);
  box-shadow: 0 6px 18px rgba(74, 144, 196, 0.18);
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.home-stat {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  padding: 1.8rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, transform 0.2s;
}
.home-stat:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}
.home-stat-icon {
  width: 28px;
  height: 28px;
  color: var(--blue);
  margin-bottom: 0.6rem;
  opacity: 0.85;
}

@media (max-width: 960px) {
  .topology-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem;
  }
  .topo-connector {
    padding: 0.5rem 0;
  }
  .topo-stream-svg {
    width: 120px;
  }
}

@media (max-width: 768px) {
  .hero-emblem-svg {
    width: 200px;
    height: 200px;
  }
  .field-visual-grid, .home-stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hud-spin-cw, .hud-spin-ccw, .hud-hex-pulse, .data-stream, .data-stream-reverse, .status-dot {
    animation: none !important;
  }
}

/* ==========================================================
   SITE-WIDE NEON SYSTEM
   Carries the homepage emblem's cyan/violet look onto every page.
   Order matters: this block sits last so it refines the base rules
   above without rewriting them.
   ========================================================== */

/* ---------- Nav ---------- */
body > nav::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,229,255,0.45) 30%, rgba(168,85,247,0.45) 70%, transparent 100%);
  pointer-events: none;
}
.nav-hex { filter: drop-shadow(0 0 6px rgba(0,229,255,0.35)); transition: filter 0.25s; }
.nav-logo:hover .nav-hex { filter: drop-shadow(0 0 10px rgba(0,229,255,0.6)) drop-shadow(0 0 16px rgba(168,85,247,0.3)); }
.nav-links a.active { color: var(--cyan-soft); text-shadow: 0 0 12px rgba(0,229,255,0.35); }
.nav-cta { border-color: rgba(0,229,255,0.35); color: var(--cyan-soft); transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s; }
.nav-cta:hover { background: rgba(0,229,255,0.10); border-color: var(--cyan); color: #fff; box-shadow: 0 0 18px rgba(0,229,255,0.25); }
/* Dropdowns sit above the nav's neon ::after line and are fully opaque,
   so the line and page background don't show through. */
.nav-dropdown-menu { z-index: 2; background: #111f33; border-top: 1px solid rgba(0,229,255,0.4); box-shadow: 0 14px 32px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,0,0,0.25); }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a.active { background: #162540; }

/* ---------- Buttons ---------- */
.btn-primary, .form-submit {
  background: linear-gradient(135deg, #4a90c4 0%, #3b82f6 55%, #6366f1 100%);
  box-shadow: 0 0 0 1px rgba(0,229,255,0.25), 0 6px 22px rgba(0,229,255,0.12);
  transition: box-shadow 0.2s, transform 0.15s, filter 0.2s;
}
.btn-primary:hover, .form-submit:hover {
  background: linear-gradient(135deg, #4a90c4 0%, #3b82f6 55%, #6366f1 100%);
  filter: brightness(1.12);
  box-shadow: 0 0 0 1px rgba(0,229,255,0.55), 0 8px 28px rgba(0,229,255,0.25), 0 0 40px rgba(168,85,247,0.15);
}
.btn-outline { border-color: rgba(0,229,255,0.35); color: var(--cyan-soft); transition: background 0.2s, transform 0.15s, box-shadow 0.2s, border-color 0.2s; }
.btn-outline:hover { background: rgba(0,229,255,0.08); border-color: var(--cyan); box-shadow: 0 0 18px rgba(0,229,255,0.2); }

/* ---------- Page headings ---------- */
/* Every page's main H1 gets the emblem's glow and a gradient underline. */
h1.section-title { text-shadow: 0 0 18px rgba(0,229,255,0.28), 0 0 36px rgba(168,85,247,0.2); }
h1.section-title::after {
  content: '';
  display: block;
  width: 120px;
  height: 2px;
  margin-top: 1rem;
  background: linear-gradient(90deg, #a855f7, #00e5ff, transparent);
}
.section-label { color: var(--blue-light); }

/* ---------- Subpage hero band ----------
   The first section on every inner page gets the homepage's grid and glow
   so the pages feel like the same site, without repeating the full emblem. */
body:not(.page-home) > section:first-of-type { position: relative; overflow: hidden; }
body:not(.page-home) > section:first-of-type > * { position: relative; z-index: 1; }
body:not(.page-home) > section:first-of-type::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(74,144,196,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,144,196,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.6) 35%, transparent 75%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.6) 35%, transparent 75%);
}
body:not(.page-home) > section:first-of-type::after {
  content: '';
  position: absolute;
  width: 760px;
  height: 760px;
  top: -420px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,255,0.09) 0%, rgba(168,85,247,0.06) 35%, transparent 70%);
  pointer-events: none;
}

/* ---------- Neon cards ----------
   One card treatment, matching the homepage topology nodes, shared by the
   home teaser cards, service cards, blog cards and stat tiles. */
.home-links-grid, .services-grid {
  gap: 1.25rem;
  background: none;
  border: none;
}
.home-link-card, .service-card, .blog-card, .home-stat {
  background: linear-gradient(160deg, rgba(22,37,64,0.92) 0%, rgba(13,24,40,0.97) 100%);
  border: 1px solid var(--border);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}
.home-link-card::before, .service-card::before, .blog-card::before, .home-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--neon-line);
  opacity: 0.55;
  transform: none;
  transition: opacity 0.25s, box-shadow 0.25s;
  z-index: 2;
}
.home-link-card:hover, .service-card:hover, .blog-card:hover, .home-stat:hover {
  background: linear-gradient(160deg, rgba(22,37,64,0.98) 0%, rgba(13,24,40,0.98) 100%);
  border-color: rgba(0,229,255,0.4);
  box-shadow: 0 0 28px var(--glow-cyan), inset 0 0 22px var(--glow-violet);
  transform: translateY(-3px);
}
.home-link-card:hover::before, .service-card:hover::before, .blog-card:hover::before, .home-stat:hover::before {
  opacity: 1;
  box-shadow: 0 0 12px rgba(0,229,255,0.6);
}
.home-link-title, .service-name { color: #fff; }
.home-link-arrow { color: var(--cyan-soft); transition: letter-spacing 0.2s, color 0.2s; }
.home-link-card:hover .home-link-arrow { color: #fff; letter-spacing: 0.2em; }
.blog-card-tag { color: var(--cyan-soft); }

/* Hex icon frame — same outline as the logo */
.home-card-icon {
  position: relative;
  width: 50px;
  height: 56px;
  padding: 14px 12px;
  border: none;
  border-radius: 0;
  background: linear-gradient(160deg, #00e5ff 0%, #3b82f6 50%, #a855f7 100%);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  color: var(--cyan-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-card-icon::before {
  content: '';
  position: absolute;
  inset: 1.5px;
  background: #0f1a2e;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transition: background 0.25s;
}
.home-card-icon svg { position: relative; z-index: 1; width: 100%; height: 100%; }
.home-link-card:hover .home-card-icon { background: linear-gradient(160deg, #7ef9ff 0%, #3b82f6 50%, #c084fc 100%); box-shadow: none; border: none; }
.home-link-card:hover .home-card-icon::before { background: #13233d; }

.service-icon { color: var(--cyan-soft); filter: drop-shadow(0 0 6px rgba(0,229,255,0.35)); }

/* Stat tiles: gradient numbers like the emblem lettering */
.home-stat-num {
  background: linear-gradient(90deg, #7ef9ff 0%, #6aaed8 50%, #c084fc 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.home-stat-icon { color: var(--cyan-soft); filter: drop-shadow(0 0 6px rgba(0,229,255,0.35)); }

/* ---------- Lists, panels, and callouts ---------- */
.resource-list { border-color: rgba(0,229,255,0.18); }
.resource-list a { position: relative; transition: background 0.2s, box-shadow 0.2s; }
.resource-list a:hover { box-shadow: inset 3px 0 0 var(--cyan), inset 0 0 24px var(--glow-cyan); }
.resource-list-arrow { color: var(--cyan-soft); transition: transform 0.2s; }
.resource-list a:hover .resource-list-arrow { transform: translateX(4px); }

.compliance-bullet {
  width: 9px;
  height: 10px;
  border-radius: 0;
  background: var(--neon-line);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.assess-badge, .post-footer-cta {
  border-radius: 4px;
  box-shadow: inset 0 2px 0 var(--cyan), 0 0 32px var(--glow-cyan), inset 0 0 24px var(--glow-violet);
  border-color: rgba(0,229,255,0.25);
}
.assess-badge-title { color: var(--cyan-soft); text-shadow: 0 0 14px rgba(0,229,255,0.35); }

.img-wrap img, .risk-img img {
  box-shadow: 0 0 0 1px rgba(0,229,255,0.12), 0 18px 40px rgba(0,0,0,0.35), 0 0 40px var(--glow-cyan);
}

.subnav a.active { color: var(--cyan-soft); border-color: var(--cyan); text-shadow: 0 0 12px rgba(0,229,255,0.35); }

/* ---------- Forms & contact ---------- */
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.12);
}
.icon-btn { border-radius: 4px; transition: background 0.2s, border-color 0.2s, box-shadow 0.2s; }
.icon-btn:hover { border-color: var(--cyan); box-shadow: 0 0 18px rgba(0,229,255,0.18); }

/* ---------- Blog posts ---------- */
.post-back { color: var(--cyan-soft); }
.post-body a { color: var(--cyan-soft); }
.post-body h2 { border-left: 2px solid var(--cyan); padding-left: 0.8rem; }

/* ---------- Footer ---------- */
footer { position: relative; }
footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,229,255,0.4) 30%, rgba(168,85,247,0.4) 70%, transparent 100%);
  pointer-events: none;
}

/* ---------- Home hero heading ---------- */
/* The real H1 is the positioning sentence; "CYBER" stays as the visual title. */
h1.hero-tagline { font-family: 'Inter', sans-serif; font-weight: 300; }
.hero-tagline + .hero-tagline { margin-top: 0.4rem; }

@media (prefers-reduced-motion: reduce) {
  .home-link-card, .service-card, .blog-card, .home-stat { transition: none; }
  .home-link-card:hover, .service-card:hover, .blog-card:hover, .home-stat:hover { transform: none; }
}

/* ---------- Fit fixes ---------- */
/* Multi-line page titles were inheriting the body's 1.7 line height. */
.section-title { line-height: 1.25; }
/* Homepage contact block: center the label and button with the heading. */
#contact-teaser .contact-inner { text-align: center; }
#contact-teaser .section-desc { margin-left: auto; margin-right: auto; }

/* The full nav (logo, phone, five links, CTA) runs out of room below ~1300px:
   the phone pill collides with "About" and the CTA wraps onto two lines.
   Tighten spacing first, then drop the duplicate items as the window narrows. */
.nav-left { margin-right: 1.5rem; }
.nav-cta { white-space: nowrap; }
@media (max-width: 1320px) and (min-width: 769px) {
  body > nav { padding: 1.1rem 2rem; }
  .nav-links { gap: 1.6rem; }
  .nav-cta { padding: 0.5rem 1rem; }
}
@media (max-width: 1140px) and (min-width: 769px) {
  .nav-phone { display: none; }      /* phone stays in the hero, contact page and footer */
  .nav-links { gap: 1.2rem; }
}
@media (max-width: 960px) and (min-width: 769px) {
  .nav-cta { display: none; }        /* "Contact" in the menu goes to the same page */
}

/* 404 page: centered title underline */
.page-404 h1.section-title::after { margin-left: auto; margin-right: auto; }

/* ==========================================================
   ABOUT FOUNDER, INDUSTRY PAGES, FAQ
   ========================================================== */
.section-alt { background: var(--navy-mid); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.breadcrumb { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--cyan-soft); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.crumb-sep { opacity: 0.5; margin: 0 0.35rem; }

.industry-wrap { max-width: 1100px; margin: 0 auto; }
.industry-intro { max-width: 720px; }
.industry-actions { justify-content: flex-start; flex-wrap: wrap; margin-top: 2.2rem; animation: none; }
.risk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.risk-grid-3 { grid-template-columns: repeat(3, 1fr); }
.risk-grid .service-desc a, .compliance-list a { color: var(--cyan-soft); white-space: nowrap; }
.industry-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: start; }
.industry-split .compliance-list { margin-top: 0; }
#industries .home-links-grid, #who-we-serve .home-links-grid { margin-top: 2.5rem; }

.faq { max-width: 820px; margin-top: 2rem; }
.faq details { background: var(--navy); border: 1px solid var(--border); border-radius: 4px; margin-bottom: 0.8rem; transition: border-color 0.2s, box-shadow 0.2s; }
.faq details[open] { border-color: rgba(0,229,255,0.35); box-shadow: 0 0 22px var(--glow-cyan); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 1.1rem 3rem 1.1rem 1.4rem; font-family: 'Rajdhani', sans-serif; font-size: 1.08rem; font-weight: 600; letter-spacing: 0.04em; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 1.4rem; top: 50%; transform: translateY(-50%); color: var(--cyan-soft); font-size: 1.3rem; }
.faq details[open] summary::after { content: '\2212'; }
.faq summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.faq details p { padding: 0 1.4rem 1.2rem; color: var(--text-muted); font-size: 0.92rem; }

#founder { background: var(--navy-mid); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.founder-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 4rem; align-items: start; }
.founder-photo { margin: 0; position: relative; }
.founder-photo img { width: 100%; height: auto; display: block; border-radius: 4px; border: 1px solid rgba(0,229,255,0.25); box-shadow: 0 0 0 1px rgba(0,229,255,0.08), 0 18px 40px rgba(0,0,0,0.4), 0 0 48px var(--glow-cyan); }
.founder-photo::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--neon-line); z-index: 1; border-radius: 4px 4px 0 0; }
.founder-photo figcaption { margin-top: 0.9rem; font-family: 'Rajdhani', sans-serif; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan-soft); }
.founder-bio p:not(.section-label) { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.1rem; }
.founder-bio strong { color: var(--text); font-weight: 500; }

@media (max-width: 900px) {
  .risk-grid-3 { grid-template-columns: 1fr; }
  .industry-split, .founder-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  .risk-grid { grid-template-columns: 1fr; }
}

/* About page: founder section leads, so the company section switches to the
   darker background to keep the sections alternating. */
.page-about #about { background: var(--navy); border: none; }

/* Mobile menu: a tap leaves "hover" stuck on touch screens, which re-applied
   the desktop dropdown's horizontal shift and pushed the submenu off-screen. */
@media (max-width: 768px) {
  .nav-item-dropdown:hover .nav-dropdown-menu,
  .nav-item-dropdown:focus-within .nav-dropdown-menu { transform: none; }
}
@media (max-width: 768px) {
  .nav-links.open > li { width: 100%; }
  .nav-links.open .nav-item-dropdown > a { justify-content: flex-start; display: flex; }
  .nav-links.open .nav-dropdown-menu { width: 100%; min-width: 0; margin-top: 0; border-top: 1px solid var(--border); }
  .nav-links.open .nav-dropdown-menu a { font-size: 0.72rem; padding: 0.8rem 1.5rem 0.8rem 2.6rem; color: var(--text-muted); }
}

/* ---------- Blog post elements (newer posts use classes, not inline styles) ---------- */
.post-hero-img { width: 100%; height: auto; margin-top: 2.5rem; border-radius: 4px; border: 1px solid var(--border); display: block; }
.post-figure { width: 100%; height: auto; margin: 2.5rem 0 0.5rem; border-radius: 4px; border: 1px solid var(--border); display: block; }
.post-author { color: inherit; text-decoration: none; border-bottom: 1px dotted var(--blue-dim); }
.post-author:hover { color: var(--cyan-soft); }
.post-body .post-sources { font-size: 0.85rem; }
.post-body .post-sources a { word-break: break-word; }
.post-bio { font-size: 0.85rem; color: var(--text-muted); margin: 3rem auto 0; max-width: 720px; text-align: center; }

/* ==========================================================
   PHONE HEADER: ONE ROW
   The full header stacked into three rows on phones (logo, phone pill,
   menu + CTA), about 150-185px tall, and covered the top of every page.
   On phones it is now one row: logo, call button, menu. The CTA is
   dropped from the bar; Contact is in the menu and every page has a
   Schedule button near the top.
   ========================================================== */
@media (max-width: 768px) {
  body > nav { padding: 0.65rem 1rem; flex-wrap: wrap; gap: 0; align-items: center; }
  .nav-left { flex: 1 1 auto; flex-wrap: nowrap; min-width: 0; gap: 0.6rem; margin-right: 0.5rem; }
  .nav-logo { gap: 0.6rem; min-width: 0; }
  .nav-hex { width: 34px; height: 34px; }
  .nav-wordmark { min-width: 0; }
  .nav-wordmark span:first-child { font-size: 0.95rem; letter-spacing: 0.3em; }
  .nav-wordmark span:last-child { font-size: 0.5rem; letter-spacing: 0.16em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* call button becomes a square icon; the number stays for screen readers */
  .nav-phone { margin-left: auto; width: 40px; height: 40px; padding: 0; justify-content: center; font-size: 0; flex-shrink: 0; }
  .nav-phone svg { width: 18px; height: 18px; }
  .nav-toggle { width: 40px; height: 40px; padding: 9px 7px; flex-shrink: 0; }
  .nav-cta { display: none; }
  .nav-links.open { margin-top: 0.65rem; max-height: calc(100vh - 80px); overflow-y: auto; }

  /* Clear the (now ~60px) bar on every page */
  body > section:first-of-type { padding-top: 6rem; }
  #hero { padding-top: 5.5rem; min-height: 100svh; }
  html { scroll-padding-top: 76px; }
}
@media (max-width: 360px) {
  .nav-wordmark span:last-child { display: none; }
}

/* ==========================================================
   Free Downloads (/resources/downloads/)
   Lead-magnet cards + email gate. Scoped to .page-downloads
   except the .dl-* classes, which are only used there.
   ========================================================== */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.dl-card { display: flex; flex-direction: column; background: var(--navy-mid); border: 1px solid rgba(0,229,255,0.18); position: relative; overflow: hidden; transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s; }
.dl-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--neon-line); }
.dl-card:hover { border-color: rgba(0,229,255,0.45); box-shadow: 0 0 0 1px rgba(0,229,255,0.12), 0 12px 40px rgba(0,229,255,0.08), 0 0 60px var(--glow-violet); transform: translateY(-2px); }
.dl-card--featured { border-color: rgba(168,85,247,0.35); }
.dl-cover { display: block; padding: 2rem 2rem 0; background:
    radial-gradient(ellipse at 50% 120%, rgba(168,85,247,0.22), transparent 60%),
    radial-gradient(ellipse at 50% 0%, rgba(0,229,255,0.10), transparent 55%),
    var(--navy); border-bottom: 1px solid var(--border); height: 290px; overflow: hidden; }
.dl-cover img { display: block; width: 78%; max-width: 330px; height: auto; margin: 0 auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,229,255,0.35), 0 18px 50px rgba(0,0,0,0.55), 0 0 40px rgba(0,229,255,0.12); transform: perspective(900px) rotateX(8deg); transform-origin: 50% 0; transition: transform 0.35s ease; }
.dl-card:hover .dl-cover img { transform: perspective(900px) rotateX(0deg) translateY(-6px); }
.dl-body { padding: 1.6rem 1.8rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.dl-meta { display: flex; align-items: center; gap: 0.8rem; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.8rem; }
.dl-chip { font-family: 'Rajdhani', sans-serif; font-weight: 600; letter-spacing: 0.14em; padding: 0.2rem 0.6rem; border: 1px solid rgba(0,229,255,0.45); color: var(--cyan-soft); background: rgba(0,229,255,0.06); }
.dl-chip--pink { border-color: rgba(236,72,153,0.5); color: #f9a8d4; background: rgba(236,72,153,0.07); }
.dl-title { font-family: 'Rajdhani', sans-serif; font-size: 1.45rem; font-weight: 600; letter-spacing: 0.03em; color: #fff; line-height: 1.25; margin-bottom: 0.7rem; }
.dl-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }
.dl-points { list-style: none; margin: 1rem 0 1.6rem; display: grid; gap: 0.4rem; }
.dl-points li { font-size: 0.85rem; color: var(--text); padding-left: 1.3rem; position: relative; }
.dl-points li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; transform: rotate(45deg); background: linear-gradient(135deg, var(--cyan), var(--violet)); }
.dl-btn { margin-top: auto; text-align: center; }

.dl-gate { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; margin-top: 4rem; padding: 2.6rem; background: linear-gradient(180deg, rgba(17,31,51,0.9), rgba(13,24,40,0.9)); border: 1px solid rgba(168,85,247,0.3); position: relative; scroll-margin-top: 110px; }
.dl-gate::before { content: ""; position: absolute; inset: -1px -1px auto -1px; height: 2px; background: var(--neon-line); }
.dl-gate-title { font-family: 'Rajdhani', sans-serif; font-size: 1.8rem; font-weight: 600; letter-spacing: 0.04em; color: #fff; margin-bottom: 0.8rem; }
.dl-gate-text { color: var(--text-muted); font-size: 0.92rem; line-height: 1.75; }
.dl-gate-list { list-style: none; margin-top: 1.4rem; display: grid; gap: 0.7rem; }
.dl-gate-list li { font-size: 0.88rem; color: var(--text); padding-left: 1.6rem; position: relative; }
.dl-gate-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--cyan); text-shadow: 0 0 10px rgba(0,229,255,0.5); }
.dl-form { margin-top: 0; }
.dl-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.dl-optin { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.82rem; color: var(--text-muted); line-height: 1.55; margin: 0.2rem 0 1.2rem; cursor: pointer; }
.dl-optin input { margin-top: 0.25rem; width: 16px; height: 16px; accent-color: #3b82f6; flex-shrink: 0; }
.dl-fineprint { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.9rem; line-height: 1.6; text-align: center; }
.dl-success { grid-column: 2; text-align: center; align-self: center; padding: 1rem 0; }
.dl-success[hidden], .dl-form[hidden] { display: none !important; }
.dl-success-icon { display: block; margin: 0 auto 1.2rem; filter: drop-shadow(0 0 12px rgba(0,229,255,0.35)); }
.dl-success .btn-primary { margin-top: 1.5rem; }

@media (max-width: 860px) {
  .dl-grid { grid-template-columns: 1fr; }
  .dl-gate { grid-template-columns: 1fr; gap: 2rem; padding: 1.8rem 1.3rem; }
  .dl-success { grid-column: 1; }
}
@media (max-width: 768px) {
  .dl-cover { height: 240px; padding: 1.5rem 1.5rem 0; }
  .dl-body { padding: 1.4rem 1.3rem 1.6rem; }
  .dl-gate .form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .dl-card, .dl-cover img { transition: none; }
  .dl-card:hover { transform: none; }
}

/* Downloads — incident call-out + secondary "email me a copy" link */
.dl-incident { display: flex; align-items: center; gap: 0.8rem; margin: -0.4rem 0 1.4rem; padding: 0.8rem 1rem; border: 1px solid rgba(236,72,153,0.45); background: rgba(236,72,153,0.07); color: #fbcfe8; text-decoration: none; font-size: 0.86rem; transition: background 0.2s, border-color 0.2s, box-shadow 0.2s; }
.dl-incident:hover { background: rgba(236,72,153,0.13); border-color: #ec4899; box-shadow: 0 0 20px rgba(236,72,153,0.18); }
.dl-incident strong { color: #fff; font-weight: 500; }
.dl-incident-num { font-family: 'Rajdhani', sans-serif; font-weight: 600; letter-spacing: 0.06em; color: #f9a8d4; white-space: nowrap; }
.dl-incident-pulse { width: 9px; height: 9px; border-radius: 50%; background: #ec4899; flex-shrink: 0; box-shadow: 0 0 0 0 rgba(236,72,153,0.6); animation: dlPulse 1.8s ease-out infinite; }
@keyframes dlPulse { 0% { box-shadow: 0 0 0 0 rgba(236,72,153,0.55); } 70% { box-shadow: 0 0 0 9px rgba(236,72,153,0); } 100% { box-shadow: 0 0 0 0 rgba(236,72,153,0); } }
.dl-btn-group { margin-top: auto; display: flex; flex-direction: column; gap: 0.7rem; }
.dl-btn-group .dl-btn { margin-top: 0; }
.dl-alt-link { align-self: center; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; border-bottom: 1px dashed rgba(122,154,181,0.5); padding-bottom: 1px; transition: color 0.2s, border-color 0.2s; }
.dl-alt-link:hover { color: var(--cyan-soft); border-color: var(--cyan); }
@media (prefers-reduced-motion: reduce) { .dl-incident-pulse { animation: none; } }

/* Emergency call line — homepage hero + contact page.
   Calm by design: one pink accent, not a site-wide alarm bar. */
.incident-line { display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.7rem 1.2rem; border: 1px solid rgba(236,72,153,0.4); background: rgba(236,72,153,0.06); color: #fbcfe8; text-decoration: none; font-size: 0.88rem; line-height: 1.4; transition: background 0.2s, border-color 0.2s, box-shadow 0.2s; }
.incident-line:hover { background: rgba(236,72,153,0.12); border-color: #ec4899; box-shadow: 0 0 22px rgba(236,72,153,0.18); }
.incident-line strong { color: #fff; font-weight: 500; }
.incident-num { font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 1rem; letter-spacing: 0.06em; color: #f9a8d4; white-space: nowrap; }
.incident-arrow { color: #f9a8d4; transition: transform 0.2s; }
.incident-line:hover .incident-arrow { transform: translateX(3px); }
.hero-incident { margin: 0 0 1.8rem; position: relative; z-index: 2; border-radius: 999px; padding: 0.5rem 1.1rem; font-size: 0.84rem; animation: fadeUp 0.9s ease both; }
.contact-incident { display: flex; margin: 2rem 0 0; }
@media (max-width: 768px) {
  .incident-line { font-size: 0.82rem; padding: 0.7rem 0.9rem; text-align: left; }
  .hero-incident { max-width: 340px; margin-bottom: 1.2rem; border-radius: 22px; }
}

/* ==========================================================
   Google reviews — homepage #reviews + contact page quote
   Quotes are copied verbatim from the Google Business Profile.
   ========================================================== */
.reviews-wrap { max-width: 1100px; margin: 0 auto; }
.reviews-rating { display: inline-flex; align-items: center; gap: 0.7rem; margin-top: 0.2rem; font-family: 'Rajdhani', sans-serif; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); text-decoration: none; }
.reviews-rating:hover { color: var(--cyan-soft); }
.review-stars { color: #fbbf24; letter-spacing: 0.12em; font-size: 0.95rem; text-shadow: 0 0 12px rgba(251,191,36,0.25); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.8rem; }
.reviews-grid--sm { margin-top: 1.25rem; }
.review-card { margin: 0; display: flex; flex-direction: column; gap: 1rem; padding: 1.8rem 1.7rem; background: var(--navy-mid); border: 1px solid rgba(168,85,247,0.35); position: relative; transition: border-color 0.25s, box-shadow 0.25s; }
.review-card::before { content: "\201C"; position: absolute; top: 0.6rem; right: 1.2rem; font-family: Georgia, serif; font-size: 4.2rem; line-height: 1; color: rgba(168,85,247,0.22); pointer-events: none; }
.review-card:hover { border-color: rgba(0,229,255,0.35); box-shadow: 0 0 40px var(--glow-cyan); }
.review-card::after { content: ""; position: absolute; inset: -1px -1px auto -1px; height: 2px; background: var(--neon-line); }
.review-quote { margin: 0; }
.review-quote p { font-size: 0.93rem; line-height: 1.75; color: var(--text); }
.review-card--sm { padding: 1.4rem 1.5rem; gap: 0.8rem; background: rgba(17,31,51,0.6); }
.review-card--sm::before { font-size: 3rem; }
.review-card--sm .review-quote p { font-size: 0.86rem; }
.review-translation { font-size: 0.8rem; line-height: 1.6; color: var(--text-muted); font-style: italic; margin: -0.3rem 0 0; }
.review-translation span { font-style: normal; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-light); margin-right: 0.3rem; }
.review-author { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; padding-top: 0.9rem; border-top: 1px solid var(--border); }
.review-author strong { display: block; font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 1rem; letter-spacing: 0.04em; color: #fff; }
.review-meta { display: block; font-size: 0.72rem; letter-spacing: 0.08em; color: var(--text-muted); }
.review-meta a { color: var(--cyan-soft); text-decoration: none; }
.review-initial { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; font-family: 'Rajdhani', sans-serif; font-weight: 700; color: var(--cyan-soft); background: rgba(0,229,255,0.07); border: 1px solid rgba(0,229,255,0.35); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.reviews-cta { margin-top: 2.4rem; text-align: center; }
.review-card--contact { margin-top: 1.6rem; text-align: left; }
@media (max-width: 960px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-grid--sm { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .reviews-grid--sm { grid-template-columns: 1fr; }
  .review-card { padding: 1.5rem 1.3rem; }
}

/* San Antonio IT services page */
.sa-more { margin-top: 1.8rem; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.sa-more a { color: var(--cyan-soft); text-decoration: none; }
.sa-more a:hover { color: #fff; }
.compliance-list li a { color: var(--cyan-soft); }

/* ---------- Schedule page ----------
   Google's booking iframe is always white and can't be themed, so it sits in
   its own bordered panel. Requires frame-src https://calendar.google.com in
   the server's Content-Security-Policy. */
.schedule-inner { max-width: 900px; margin: 0 auto; }
.schedule-frame { position: relative; margin-top: 2.2rem; background: #fff; border: 1px solid rgba(168,85,247,0.35); }
.schedule-frame::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--neon-line); }
.schedule-frame iframe { display: block; width: 100%; height: 1000px; border: 0; }
.schedule-fallback { margin-top: 1rem; font-size: 0.85rem; color: var(--text-muted); }
.schedule-fallback a { color: var(--cyan-soft); }
/* Google's page can't be restyled from here, so desktop scales the whole frame
   down: width 125% x scale 0.8 still fills the panel, and 800px renders as 640px. */
@media (min-width: 769px) {
  .schedule-frame { height: 640px; overflow: hidden; }
  .schedule-frame iframe { width: 125%; height: 800px; transform: scale(0.8); transform-origin: top left; }
}

/* ==========================================================
   NOV 2026 — hero fit, button legibility, photo cards, footer
   ========================================================== */

/* Hero: the emblem was tall enough to push every call-to-action below the
   fold on a laptop. Tighten the stack so the buttons show without scrolling. */
#hero { padding-top: 6.5rem; padding-bottom: 3.5rem; }
.hero-emblem-svg { width: 190px; height: 190px; margin-bottom: 0.6rem; }
.page-home .hero-title { font-size: clamp(2.6rem, 5vw, 4rem); }
.page-home .hero-divider { margin: 0.8rem auto; }
.hero-tagline { margin-top: 1.3rem; line-height: 1.65; }
.hero-buttons { margin-top: 1.8rem; flex-wrap: wrap; justify-content: center; }
@media (max-width: 768px) {
  .hero-emblem-svg { width: 150px; height: 150px; }
}

/* Buttons: thin, wide-tracked lettering washed out on the gradient. */
.btn-primary, .form-submit { color: #fff; font-weight: 700; font-size: 0.88rem; letter-spacing: 0.14em; text-shadow: 0 1px 2px rgba(7,13,25,0.45); }
.btn-outline { font-weight: 600; font-size: 0.86rem; letter-spacing: 0.14em; }

/* Field photos: let the photo show; keep the dark band only behind the text. */
.field-photo-card img { height: 320px; filter: saturate(0.9) contrast(1.05) brightness(0.95); }
.field-photo-overlay { background: linear-gradient(180deg, rgba(13,24,40,0) 0%, rgba(13,24,40,0) 38%, rgba(13,24,40,0.86) 72%, rgba(13,24,40,0.97) 100%); }
.field-photo-tag { color: var(--cyan-soft); border-color: rgba(0,229,255,0.35); }
.field-photo-desc { color: #a9c0d6; }

/* Homepage trades band */
.home-trades { background: var(--navy-mid); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.home-trades .home-links-grid { margin-top: 2.5rem; }

/* Footer: columns instead of one flat row of links */
footer { display: block; padding: 3.5rem 4rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 2.5rem; max-width: 1200px; margin: 0 auto; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem; }
.footer-col a { font-size: 0.85rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--cyan-soft); }
.footer-head { font-family: 'Rajdhani', sans-serif; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan-soft); margin-bottom: 0.4rem; }
.footer-name { font-family: 'Rajdhani', sans-serif; font-size: 1.25rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); max-width: 30ch; margin-bottom: 0.4rem; }
.footer-brand a { color: var(--text); }
footer .footer-copy { max-width: 1200px; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--border); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  footer { padding: 2.5rem 1.5rem 1.5rem; }
  .footer-col a { padding: 0.2rem 0; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Homepage: on-site video (vertical YouTube Short) ---------- */
.onsite-wrap { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 4rem; align-items: center; }
.video-short { position: relative; aspect-ratio: 9 / 16; border: 1px solid rgba(0,229,255,0.3); border-radius: 6px; overflow: hidden; background: #070d19; box-shadow: 0 0 40px var(--glow-cyan), 0 0 60px var(--glow-violet); }
.video-short iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { position: absolute; inset: 0; display: block; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.45s ease; }
.video-facade:hover img { transform: scale(1.03); }
.video-facade::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,24,40,0) 55%, rgba(13,24,40,0.85) 100%); }
.video-play { position: absolute; top: 50%; left: 50%; z-index: 1; width: 72px; height: 72px; margin: -36px 0 0 -36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #3b82f6, #6366f1); box-shadow: 0 0 0 1px rgba(0,229,255,0.5), 0 0 30px rgba(0,229,255,0.35); transition: transform 0.2s; }
.video-play svg { margin-left: 3px; }
.video-facade:hover .video-play { transform: scale(1.08); }
.video-facade:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.video-facade-label { position: absolute; left: 0; right: 0; bottom: 1.1rem; z-index: 1; text-align: center; font-family: 'Rajdhani', sans-serif; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; }
.onsite-list { list-style: none; margin: 1.6rem 0 2rem; }
.onsite-list li { position: relative; padding: 0.45rem 0 0.45rem 1.4rem; color: var(--text); font-size: 0.95rem; }
.onsite-list li::before { content: ''; position: absolute; left: 0; top: 1.05rem; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
@media (max-width: 768px) {
  .onsite-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .video-short { max-width: 280px; margin: 0 auto; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .video-facade img, .video-play { transition: none; }
}

/* Short laptop screens (e.g. 1080p at 125% scaling leaves ~750px of height):
   shrink the hero stack further so the buttons still show without scrolling. */
@media (max-height: 840px) and (min-width: 769px) {
  #hero { padding-top: 5.75rem; padding-bottom: 2.5rem; }
  .hero-incident { margin-bottom: 1.1rem; }
  .hero-emblem-svg { width: 130px; height: 130px; margin-bottom: 0.3rem; }
  .page-home .hero-title { font-size: clamp(2.2rem, 4vw, 3rem); }
  .page-home .hero-divider { margin: 0.5rem auto; }
  .hero-tagline { margin-top: 0.9rem; font-size: 1.05rem; line-height: 1.55; }
  .hero-tagline + .hero-tagline { margin-top: 0.25rem; }
  .hero-buttons { margin-top: 1.3rem; }
}

/* ---------- Related links under blog posts and on service pages ---------- */
.post-related { max-width: 720px; margin: 2.5rem auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.post-related--wide { max-width: none; margin-top: 3.5rem; }
.post-related-col { display: flex; flex-direction: column; align-items: flex-start; gap: 0.7rem; }
.post-related-head { font-family: 'Rajdhani', sans-serif; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan-soft); margin-bottom: 0.2rem; }
.post-related a { position: relative; padding-left: 1.2rem; font-size: 0.93rem; line-height: 1.5; color: var(--text); text-decoration: none; transition: color 0.2s; }
.post-related a::before { content: '\2192'; position: absolute; left: 0; color: var(--cyan); }
.post-related a:hover { color: var(--cyan-soft); text-decoration: underline; }
@media (max-width: 640px) {
  .post-related { grid-template-columns: 1fr; gap: 1.8rem; }
}
/* Inside a two-column grid (compliance page) the block spans the full width. */
.compliance-inner .post-related--wide { grid-column: 1 / -1; margin-top: 1rem; }

/* ---------- Security stack page ---------- */
.stack-step { font-family: 'Rajdhani', sans-serif; font-size: 1.6rem; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 0.6rem; background: var(--neon-line); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.stack-legal { margin-top: 2.5rem; font-size: 0.75rem; color: var(--text-muted); max-width: 820px; }
.onsite-copy .section-desc a { color: var(--cyan-soft); }
.services-grid .service-desc a { color: var(--cyan-soft); white-space: nowrap; }
@media (max-width: 960px) and (min-width: 769px) {
  .risk-grid-3 { grid-template-columns: 1fr; }
}
