/* ========================================
   FREUDIGER IT SECURITY: DARK CYBER THEME
   ======================================== */

/* Self-hosted fonts: no third-party requests */
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/chakra-petch-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/chakra-petch-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/chakra-petch-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/manrope-latin-300-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/manrope-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/manrope-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-latin-600-normal.woff2') format('woff2');
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:        #07070d;
  --surface:   #0e0e1a;
  --card:      #141425;
  --card-hover:#1a1a30;
  --border:    #1e1e35;
  --purple:    #7c3aed;
  --purple-l:  #a78bfa;
  --purple-d:  #5b21b6;
  --cyan:      #22d3ee;
  --text:      #c8ccd8;
  --text-dim:  #7c819e;
  --white:     #eaecf5;
  --font-h:    'Chakra Petch', sans-serif;
  --font-b:    'Manrope', sans-serif;
  --max-w:     1140px;
  --glow:      0 0 40px rgba(124,58,237,.15);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--purple-l); text-decoration: none; transition: color .2s; }
a:hover { color: var(--cyan); }

::selection { background: var(--purple); color: var(--white); }

/* ── SCANLINE OVERLAY ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,.04) 2px,
    rgba(0,0,0,.04) 4px
  );
}

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7,7,13,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: .95rem;
  color: var(--white);
  letter-spacing: .02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; flex-shrink: 0; align-items: center; margin: 0; padding: 0; }
.nav-links > li { position: relative; display: flex; align-items: center; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  color: var(--text-dim);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: var(--purple);
  transform: scaleX(0);
  transition: transform .3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--purple-l); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.dropdown.is-current .dropdown-toggle { color: var(--purple-l); }

/* dropdown */
.dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.dropdown-toggle,
.nav button.dropdown-toggle {
  /* hard reset to defeat browser defaults */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
  background: none;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  line-height: 1;
  /* styling */
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--text-dim);
  font-family: var(--font-b);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s;
}
.dropdown-toggle:hover { color: var(--white); }
.dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform .2s;
}
.dropdown.is-open .dropdown-toggle { color: var(--purple-l); }
.dropdown.is-open .dropdown-toggle::after { transform: rotate(180deg); }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(14,14,26,.97);
  border: 1px solid var(--border);
  padding: .5rem 0;
  min-width: 220px;
  z-index: 200;
  backdrop-filter: blur(16px);
  list-style: none;
  margin: 0;
}
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px; left: 0; right: 0;
  height: 12px;
}
.dropdown.is-open .dropdown-menu { display: block; }
@media (hover: hover) and (pointer: fine) {
  .dropdown:hover .dropdown-menu { display: block; }
}

.dropdown-menu li { margin: 0; padding: 0; list-style: none; }
.dropdown-menu a {
  display: block;
  padding: .5rem 1.25rem;
  font-size: .7rem;
  letter-spacing: .03em;
  color: var(--text-dim);
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover {
  background: rgba(124,58,237,.08);
  color: var(--white);
}
.dropdown-menu a[aria-current="page"] { color: var(--purple-l); }

/* mobile hamburger */
.hamburger {
  -webkit-appearance: none;
  appearance: none;
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin: 0;
}

/* mobile hamburger span */
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); margin: 5px 0;
  transition: .3s;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 2rem 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero-tag {
  display: inline-block;
  font-family: var(--font-h);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--purple-l);
  border: 1px solid var(--purple-d);
  padding: .35rem 1rem;
  margin-bottom: 1.5rem;
  background: rgba(124,58,237,.08);
}
.hero h1 {
  font-family: var(--font-h);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  max-width: 800px;
  margin-bottom: 1.5rem;
}
.hero p {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 560px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* ── GLITCH TEXT: persistent micro-split + periodic corruption ── */
.glitch {
  position: relative;
  display: inline-block;
  text-shadow: .5px 0 rgba(34,211,238,.3), -.5px 0 rgba(167,139,250,.3);
  animation: glitch-corrupt 7s infinite steps(1);
}
@keyframes glitch-corrupt {
  0%, 100% { text-shadow: .5px 0 rgba(34,211,238,.3), -.5px 0 rgba(167,139,250,.3); transform: none; filter: none; }
  42%      { text-shadow: .5px 0 rgba(34,211,238,.3), -.5px 0 rgba(167,139,250,.3); transform: none; }
  42.5%    { text-shadow: -3px 0 var(--cyan), 3px 0 var(--purple-l); transform: skewX(-1deg) translateX(2px); }
  43%      { text-shadow: 2px 0 var(--cyan), -4px 0 var(--purple-l); transform: skewX(1.5deg) translateX(-3px); }
  43.3%    { text-shadow: -1px 2px var(--purple), 2px -1px var(--cyan); transform: skewX(-.5deg); }
  43.5%    { text-shadow: .5px 0 rgba(34,211,238,.3), -.5px 0 rgba(167,139,250,.3); transform: none; }
  78%      { transform: none; }
  78.2%    { text-shadow: 4px 0 var(--cyan), -2px 0 var(--purple-l); transform: translateX(-2px) scaleY(1.01); }
  78.5%    { text-shadow: -2px 0 var(--purple), 3px 0 var(--cyan); transform: translateX(3px) scaleY(.99); }
  78.7%    { text-shadow: .5px 0 rgba(34,211,238,.3), -.5px 0 rgba(167,139,250,.3); transform: none; }
}

/* ── ROTATING HERO WORD: all words share one grid cell, so the headline never reflows ── */
.rotator {
  display: inline-grid;
  white-space: nowrap;
}
.rotator-word {
  grid-area: 1 / 1;
  visibility: hidden;
  color: var(--purple-l);
  text-transform: uppercase;
}
.rotator-word.is-active { visibility: visible; }
.rotator-word.keep-case { text-transform: none; } /* APIs and SaaS/PaaS/IaaS keep their usual spelling */
/* Keep "in your" and the rotating word on one line wherever the screen is wide enough */
@media (min-width: 500px) {
  .rotator-line { white-space: nowrap; }
}
/* Very small phones (under 360px): slightly smaller headline so the longest word still fits */
@media (max-width: 359px) {
  .hero h1 { font-size: 1.9rem; }
}
.rotator-word.is-glitching { animation: word-glitch .35s steps(1) 1; }
.rotator-typed { position: relative; }
.rotator-rest { visibility: hidden; }
.rotator-word.is-typing .rotator-typed::after {
  content: '_';
  position: absolute;
  left: 100%;
  color: var(--cyan);
}
@keyframes word-glitch {
  0%   { text-shadow: -3px 0 var(--cyan), 3px 0 var(--purple); transform: translateX(2px) skewX(-2deg); clip-path: inset(0 0 45% 0); }
  20%  { text-shadow: 2px 0 var(--cyan), -3px 0 var(--purple); transform: translateX(-2px); clip-path: inset(35% 0 10% 0); }
  40%  { text-shadow: -1px 0 var(--cyan), 2px 0 var(--purple-l); transform: translateX(1px) skewX(1deg); clip-path: inset(0); }
  60%  { text-shadow: 1px 0 rgba(34,211,238,.5), -1px 0 rgba(167,139,250,.5); transform: none; }
  100% { text-shadow: .5px 0 rgba(34,211,238,.3), -.5px 0 rgba(167,139,250,.3); transform: none; clip-path: none; }
}

/* ── VERTICAL SCAN LINES: varied timing ── */
.glitch-bar {
  position: fixed;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--purple-l) 30%, var(--cyan) 50%, var(--purple-l) 70%, transparent 100%);
  opacity: 0;
  z-index: 9998;
  pointer-events: none;
  animation: vscan1 11s infinite linear;
}
.glitch-bar:nth-child(2) {
  width: 2px;
  animation: vscan2 7s 1.8s infinite linear;
  background: linear-gradient(180deg, transparent 0%, var(--cyan) 40%, var(--purple-l) 60%, transparent 100%);
}
.glitch-bar:nth-child(3) {
  width: 1px;
  animation: vscan3 15s 4.7s infinite linear;
}
@keyframes vscan1 {
  0%   { left: -2px; opacity: 0; }
  3%   { opacity: .12; }
  55%  { opacity: .06; }
  97%  { opacity: .14; }
  100% { left: 100%; opacity: 0; }
}
@keyframes vscan2 {
  0%   { left: 105%; opacity: 0; }
  4%   { opacity: .18; }
  40%  { opacity: .05; }
  96%  { opacity: .1; }
  100% { left: -2px; opacity: 0; }
}
@keyframes vscan3 {
  0%   { left: -2px; opacity: 0; }
  2%   { opacity: .08; }
  70%  { opacity: .04; }
  98%  { opacity: .1; }
  100% { left: 100%; opacity: 0; }
}

/* ── FLICKER on hero-tag ── */
.hero-tag {
  animation: tag-flicker 6s infinite steps(1);
}
@keyframes tag-flicker {
  0%, 100% { opacity: 1; border-color: var(--purple-d); }
  65%      { opacity: 1; }
  65.5%    { opacity: .3; border-color: var(--cyan); }
  66%      { opacity: .8; border-color: var(--purple-l); }
  66.5%    { opacity: 1; border-color: var(--purple-d); }
}

/* ── CTA glitch on hover: border static ── */
.cta {
  position: relative;
}
.cta:hover {
  animation: cta-static .15s steps(2) 2;
}
@keyframes cta-static {
  0%   { transform: translateX(0); box-shadow: var(--glow); }
  50%  { transform: translateX(-1px); box-shadow: 0 0 12px rgba(34,211,238,.2), var(--glow); }
  100% { transform: translateX(1px); }
}

/* ── NOISE TEXTURE overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9997;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

/* ── Section headings: subtle permanent split ── */
.section h2, .section-dark h2, .content-block h2 {
  position: relative;
  transition: text-shadow .2s;
}
.section h2:hover, .section-dark h2:hover, .content-block h2:hover {
  text-shadow: 1px 0 rgba(34,211,238,.25), -1px 0 rgba(167,139,250,.25);
}

/* ── Service card: cyan flash on hover ── */
.service-card:hover {
  border-color: var(--cyan);
  transition: border-color .05s;
}



/* ── CTA BUTTON ── */
.cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-h);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--purple);
  border: none;
  padding: .85rem 2rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background .3s, box-shadow .3s;
}
.cta:hover {
  background: var(--purple-d);
  color: var(--white);
  box-shadow: var(--glow);
}
.cta::after {
  content: '→';
  transition: transform .3s;
}
.cta:hover::after { transform: translateX(4px); }

.cta-outline {
  background: transparent;
  border: 1px solid var(--purple);
  color: var(--purple-l);
}
.cta-outline:hover {
  background: rgba(124,58,237,.1);
  color: var(--white);
}

/* ── SECTIONS ── */
.section {
  padding: 100px 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-dark {
  background: var(--surface);
  max-width: 100%;
  padding: 100px 2rem;
}
.section-dark .section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-h);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--purple-l);
  margin-bottom: .75rem;
}
.section h2 {
  font-family: var(--font-h);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.section-dark h2 {
  font-family: var(--font-h);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

/* ── SERVICE CARDS (home page) ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.service-card-cta {
  background: rgba(124,58,237,.06);
  border-color: var(--purple-d);
}
.service-card-cta .card-num { text-transform: uppercase; }
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple-d);
  box-shadow: var(--glow);
}
.service-card:hover::before { opacity: 1; }
.service-card .card-num {
  font-family: var(--font-h);
  font-size: .7rem;
  color: var(--purple-l);
  letter-spacing: .15em;
  margin-bottom: 1rem;
}
.service-card h3 {
  font-family: var(--font-h);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .75rem;
}
.service-card p {
  font-size: .9rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.card-link {
  margin-top: auto;
  font-family: var(--font-h);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--purple-l);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.card-link:hover { color: var(--cyan); }

/* ── SERVICE PAGE LAYOUT ── */
.page-hero {
  padding: 140px 2rem 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(124,58,237,.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.page-hero h1 {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.page-hero p {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 620px;
  font-weight: 300;
}

/* content blocks on service pages */
.content-block {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 2rem;
}
.content-block h2 {
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}
.content-block p {
  margin-bottom: 1rem;
  max-width: 680px;
}
.content-block ul,
.tri-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}
.content-block li,
.tri-list li {
  padding: .5rem 0 .5rem 1.5rem;
  position: relative;
  color: var(--text);
  font-size: .95rem;
}
.content-block li::before,
.tri-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .85rem;
  width: 0;
  height: 0;
  border-left: 6px solid var(--purple-l);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

/* highlight box */
.highlight-box {
  background: var(--card);
  border-left: 3px solid var(--purple);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  max-width: 680px;
}
.highlight-box p { margin: 0; font-size: .95rem; }

/* two-col layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ── STATS ROW ── */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.stat {
  text-align: center;
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--card);
}
.stat-num {
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 700;
  color: var(--purple-l);
}
.stat-label {
  font-size: .8rem;
  color: var(--text-dim);
  margin-top: .5rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ── ABOUT PAGE ── */
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2rem;
}
.value-card h3 {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .5rem;
}
.value-card p {
  font-size: .9rem;
  color: var(--text-dim);
  line-height: 1.6;
}
/* Partner cards on the About page: a fixed-height logo area so names line up */
.partner-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) {
  .partner-grid { grid-template-columns: 1fr; }
}
.partner-logo {
  display: flex;
  align-items: center;
  height: 64px;
  margin-bottom: 1.25rem;
}
.partner-logo img {
  max-height: 56px;
  max-width: 100%;
  width: auto;
  height: auto;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}
.contact-info-block { margin-bottom: 2rem; }
.contact-info-block h3 {
  font-family: var(--font-h);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--purple-l);
  margin-bottom: .5rem;
}
.contact-info-block p {
  color: var(--text);
  font-size: .95rem;
  line-height: 1.7;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
  background: var(--surface);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-col h4 {
  font-family: var(--font-h);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--purple-l);
  margin-bottom: 1.25rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin-bottom: .6rem;
}
.footer-col a {
  font-size: .85rem;
  color: var(--text-dim);
  letter-spacing: .02em;
  transition: color .2s;
}
.footer-col a:hover { color: var(--white); }
.footer-col p {
  font-size: .85rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: .5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-h);
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-brand img { height: 28px; width: auto; }
.footer-tagline {
  font-size: .8rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 280px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: .75rem;
  color: var(--text-dim);
}
.footer-locations {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.footer-locations li {
  font-size: .75rem;
  color: var(--text-dim);
  letter-spacing: .04em;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 3rem;
  text-align: center;
  max-width: var(--max-w);
  margin: 4rem auto;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
}
.cta-banner h2 {
  font-family: var(--font-h);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: .75rem;
}
.cta-banner p {
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  font-size: .95rem;
}

/* ── CONTENT HELPERS (replace former inline styles) ── */
.section .intro { margin-bottom: 1rem; max-width: 620px; }
.section-dark p + p,
.section-dark p + .two-col,
.section-dark .two-col + p { margin-top: 1rem; }
.content-block h2 + .two-col { margin-top: 1.5rem; }
.content-block .office-label {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 600;
  color: var(--purple-l);
  margin-bottom: .5rem;
}
.content-block li strong,
.tri-list li strong { color: var(--white); font-weight: 600; }
.cta-wrap { padding: 0 2rem; }

/* ── ACCESSIBILITY ── */
:focus-visible {
  outline: 2px solid var(--purple-l);
  outline-offset: 3px;
}
main:focus { outline: none; }
/* Text for screen readers only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: .75rem;
  left: 1rem;
  z-index: 10000;
  transform: translateY(-200%);
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-h);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .6rem 1.2rem;
}
.skip-link:focus { transform: none; color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    gap: .5rem;
    max-height: 80vh;
    overflow-y: auto;
  }
  .nav-links.open > li { width: 100%; }
  .nav-links > li.dropdown { flex-direction: column; align-items: flex-start; }
  .nav button { -webkit-tap-highlight-color: transparent; }
  .dropdown-menu {
    position: static;
    transform: none;
    border: none;
    background: transparent;
    backdrop-filter: none;
    padding: .35rem 0 0 1rem;
    min-width: 0;
  }
  .dropdown-menu a { padding: .4rem 0; }
  .two-col, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 120px 1.5rem 60px; }
  .section, .content-block { padding: 60px 1.5rem; }
  .section-dark { padding: 60px 1.5rem; }
  .cta-wrap { padding: 0 1.5rem; }
  .cta-banner { margin: 2rem auto; padding: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .footer { padding: 3rem 1.5rem 1.5rem; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-col:first-child {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
  }
}

/* ── REDUCED MOTION: no glitch, scan or hover movement ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .glitch-bar { display: none; }
  .service-card:hover { transform: none; }
}
