/* ─────────────────────────────────────────────────────────────
   Aetherion Core — shared site styles
   Ported from the Squarespace template (styles/base.less, custom
   "AETHERION CORE" section) so the static site matches the live
   site. Page-specific styles live in olts.css and codex-bridge.css.
   ───────────────────────────────────────────────────────────── */

/* Margins/padding reset like the template's reset; box-sizing stays at
   the browser default (content-box) because the live site sizes
   everything that way — switching to border-box changes widths. */
*, *::before, *::after { margin: 0; padding: 0; }

:root {
  --bg:          #0A2540;
  --panel:       #050508;
  --cyan:        #00E5FF;
  --cyan-dim:    rgba(0,229,255,0.11);
  --cyan-border: rgba(0,229,255,0.32);
  --white:       #FFFFFF;
  --text:        #E2E8F0;
  --slate:       #94A3B8;
  --muted:       #64748B;
  --border:      rgba(160,160,160,0.15);
  --ff-display:  'Inter', system-ui, sans-serif;
  --ff-body:     'IBM Plex Sans', system-ui, sans-serif;
  --ff-mono:     'JetBrains Mono', monospace;
  /* The live site's nav uses Futura PT (an Adobe font licensed through
     Squarespace). Jost is the closest open equivalent. */
  --ff-nav:      'Jost', 'Futura', 'Inter', sans-serif;
  --header-h:    68px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.5em;      /* em, not unitless: inherited as a fixed 24px like the live site */
  letter-spacing: 0.02em; /* the Squarespace body style; affects wrapping everywhere */
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.mobile-menu-open { overflow: hidden; }

/* Default heading/paragraph margins as the live site has them: browser
   defaults for headings, Squarespace's p margins, first-heading reset. */
h1 { margin: 0.67em 0; }
h2 { margin: 0.83em 0; }
h3 { margin: 1em 0; }
h4 { margin: 1.33em 0; }
h1:first-child, h2:first-child, h3:first-child { margin-top: 0; }
p { margin: 1.25em 0 1.6em; }

/* Brand overrides carried over from the template */
h1, h2, h3, h4, h5, h6 { color: var(--white); }
p, li { color: var(--text); }
a { color: var(--cyan); }
blockquote { color: var(--slate); }
img { max-width: 100%; }
button { font: inherit; }
code { margin: 0; letter-spacing: 0; } /* inline code chips hug the punctuation that follows */

/* ── Starfield + page shell ── */
#ac-starfield { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.site-container {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; min-height: 100vh;
}
#content { flex: 1; }
.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;
}

/* ─────────────────────────────────────────────────────────────
   HEADER (desktop)
   ───────────────────────────────────────────────────────────── */
.ac-header {
  height: var(--header-h);
  display: flex; align-items: stretch;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 200;
  box-sizing: border-box; /* 68px including the border, as the template's .site-header */
  padding: 0 8vw;   /* Squarespace "site outer padding: large" */
  margin: 10px 0;   /* Squarespace "site spacing: custom" (10px) */
}
.ac-header-inner {
  display: flex; align-items: center;
  width: 100%; height: var(--header-h);
  padding: 0 32px;
}
.ac-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
  /* The 140px banner image overflows the 68px header; keep the link's
     clickable box to the header so it cannot sit on top of page content. */
  height: var(--header-h);
}
.ac-logo > * { pointer-events: none; }
.ac-mark-img { height: 72px; width: auto; display: block; flex-shrink: 0; }
.ac-logo-banner { display: flex; align-items: center; margin-left: -52px; }
.ac-logo-banner img { height: 140px; width: auto; max-width: none; display: block; }

/* Primary nav */
.ac-nav { flex: 1; margin: 0 24px; display: flex; justify-content: center; }
.ac-nav ul { list-style: none; display: flex; align-items: center; gap: 12px; }
.ac-nav a {
  font-family: var(--ff-nav);
  font-size: 16px; font-weight: 500; line-height: 16px;
  text-transform: lowercase; letter-spacing: 0.04em;
  color: var(--white); text-decoration: none;
  transition: color 150ms;
}
.ac-nav a:hover,
.ac-nav a.active-link { color: var(--cyan); }

/* Products dropdown. Opens on hover (CSS) and on click/keyboard (JS adds
   .is-open); .is-suppressed stops the hover reopening it right after a
   click closes it. Add another .ac-nav-dd-group inside the card for a
   second group. */
.ac-nav li { position: relative; }
.ac-nav-dd-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--ff-nav); font-size: 16px; font-weight: 500; line-height: 16px;
  text-transform: lowercase; letter-spacing: 0.04em; color: var(--white);
  transition: color 150ms;
}
.ac-nav-dd-trigger svg { width: 9px; height: 9px; transition: transform 150ms; }
.ac-nav-dd-trigger:hover,
.ac-nav-dd-trigger:focus-visible,
.ac-nav-dd-trigger.active-link,
.ac-nav-dd.is-open .ac-nav-dd-trigger,
.ac-nav-dd:hover:not(.is-suppressed) .ac-nav-dd-trigger { color: var(--cyan); outline: none; }
.ac-nav-dd.is-open .ac-nav-dd-trigger svg,
.ac-nav-dd:hover:not(.is-suppressed) .ac-nav-dd-trigger svg { transform: rotate(180deg); }
.ac-nav-dd-panel {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  padding-top: 36px; /* reaches the header's bottom edge; keeps the hover alive on the way down */
  z-index: 210;
}
.ac-nav-dd.is-open .ac-nav-dd-panel,
.ac-nav-dd:hover:not(.is-suppressed) .ac-nav-dd-panel { display: block; }
.ac-nav-dd-card {
  min-width: 320px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
  padding: 14px 10px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.45);
}
.ac-nav-dd-group + .ac-nav-dd-group { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--border); }
.ac-nav-dd-label {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--slate); padding: 0 12px 8px;
}
.ac-nav-dd a {
  display: block; padding: 8px 12px; border-radius: 8px;
  font-family: var(--ff-display); font-size: 14px; font-weight: 500; line-height: 1.35;
  text-transform: none; letter-spacing: 0;
  color: var(--white); text-decoration: none; white-space: nowrap;
  transition: color 150ms, background 150ms;
}
.ac-nav-dd a:hover,
.ac-nav-dd a:focus-visible { color: var(--cyan); background: rgba(255,255,255,0.05); outline: none; }
.ac-nav-dd a.active-link { color: var(--cyan); }

/* Status pill + CTA */
.ac-nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.ac-status-pill {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--border); border-radius: 20px;
  background: rgba(5,5,8,0.5);
  font-family: var(--ff-mono); font-size: 10px; font-weight: 400;
  color: var(--slate); letter-spacing: 0.1em; text-transform: uppercase;
  white-space: nowrap;
}
.ac-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  animation: ac-pulse 2s ease-in-out infinite;
}
@keyframes ac-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.ac-cta-btn {
  display: inline-block; padding: 8px 18px;
  background: transparent;
  border: 1px solid rgba(0,229,255,0.5); border-radius: 6px;
  font-family: var(--ff-body); font-size: 13px; font-weight: 500;
  color: var(--cyan); text-decoration: none; letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background 200ms, border-color 200ms;
}
.ac-cta-btn:hover { background: rgba(0,229,255,0.08); border-color: var(--cyan); }

/* ─────────────────────────────────────────────────────────────
   MOBILE BAR + OVERLAY NAV (≤ 768px)
   Checkbox-driven, like the template: #mobileNavToggle must come
   before .mobile-bar-wrapper and .overlay-nav-container in the DOM.
   ───────────────────────────────────────────────────────────── */
.mobile-nav-toggle-box { position: absolute; opacity: 0; pointer-events: none; }
.mobile-bar-wrapper, .overlay-nav-container { display: none; }

@media (max-width: 768px) {
  .ac-header { display: none; }
  .page-nav { top: 69px; } /* mobile bar height incl. border */

  .mobile-bar-wrapper {
    display: flex; justify-content: space-between; align-items: center;
    position: sticky; top: 0; z-index: 300;
    width: 100%; height: var(--header-h);
    background: rgba(10,37,64,0.96);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,229,255,0.1);
  }
  .mobile-nav-toggle-label {
    order: 1; display: block; cursor: pointer; box-sizing: border-box;
    padding: 22px 6vw; line-height: 0;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
  }
  .mobile-nav-toggle-label svg { width: 24px; height: 18px; display: block; }
  .mobile-nav-toggle-label .Icon--close { display: none; }
  .mobile-branding-wrapper { order: 2; display: flex; align-items: center; }
  .mobile-bar-flex-child { order: 3; width: 24px; height: 18px; padding: 0 6vw; box-sizing: content-box; }
  .mobile-logo-combined { display: flex; align-items: center; text-decoration: none; }
  .mobile-mark-img { height: 36px; width: auto; display: block; flex-shrink: 0; }
  .mobile-wordmark {
    font-family: var(--ff-display); font-size: 17px; font-weight: 700;
    color: var(--white); letter-spacing: 0.08em; white-space: nowrap;
    margin-left: 10px;
  }

  .overlay-nav-container {
    position: fixed; inset: 0; z-index: 250; box-sizing: border-box;
    display: flex; align-items: center; justify-content: center;
    padding-top: var(--header-h); text-align: center;
    background: rgba(8,13,26,0.97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 150ms linear, visibility 0s linear 150ms;
  }
  .mobile-nav-toggle-box:checked ~ .overlay-nav-container {
    opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s;
  }
  .mobile-nav-toggle-box:checked ~ .mobile-bar-wrapper .Icon--hamburger { display: none; }
  .mobile-nav-toggle-box:checked ~ .mobile-bar-wrapper .Icon--close { display: block; }
  .mobile-primary-nav-links { list-style: none; }
  .mobile-primary-nav-links a {
    display: block;
    font-family: var(--ff-nav); font-size: 18px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em; line-height: 2em;
    color: var(--cyan); text-decoration: none;
  }

  /* Products: an expandable section in the overlay */
  .mobile-nav-folder-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    background: none; border: 0; padding: 0; cursor: pointer;
    font-family: var(--ff-nav); font-size: 18px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em; line-height: 2em;
    color: var(--cyan);
  }
  .mobile-nav-folder-toggle svg { width: 12px; height: 12px; transition: transform 150ms; }
  .mobile-nav-folder.is-open .mobile-nav-folder-toggle svg { transform: rotate(180deg); }
  .mobile-nav-folder-panel { display: none; padding: 2px 0 10px; }
  .mobile-nav-folder.is-open .mobile-nav-folder-panel { display: block; }
  .mobile-nav-folder-group + .mobile-nav-folder-group { margin-top: 10px; }
  .mobile-nav-folder-label {
    font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--slate); margin: 6px 0 2px;
  }
  .mobile-primary-nav-links .mobile-nav-folder-panel a {
    font-size: 14px; letter-spacing: 0.06em; line-height: 1.5em;
    padding: 6px 16px; color: var(--white);
  }
  .mobile-primary-nav-links .mobile-nav-folder-panel a.active-link { color: var(--cyan); }
}

/* ─────────────────────────────────────────────────────────────
   "ON THIS PAGE" BAR (product pages) — fixed under the header, out of
   the flow; site.js adds .is-visible once the hero has scrolled past.
   ───────────────────────────────────────────────────────────── */
.page-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 150;
  background: var(--bg);
  border-bottom: 1px solid #1B2A40;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 0s linear 150ms;
}
.page-nav.is-visible { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.page-nav-inner {
  max-width: 880px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 18px; height: 46px;
}
.page-nav-label {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--slate); white-space: nowrap; flex-shrink: 0;
}
.page-nav ul {
  list-style: none; display: flex; gap: 20px; min-width: 0;
  overflow-x: auto; white-space: nowrap;
  scrollbar-width: none; -ms-overflow-style: none;
}
.page-nav ul::-webkit-scrollbar { display: none; }
.page-nav a {
  display: block; line-height: 44px;
  font-family: var(--ff-nav); font-size: 14px; font-weight: 500;
  text-transform: lowercase; letter-spacing: 0.04em;
  color: var(--white); text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 150ms, border-color 150ms;
}
.page-nav a:hover { color: var(--cyan); }
.page-nav a.is-active { color: var(--cyan); border-bottom-color: var(--cyan); }
.page-nav-top { display: inline-flex; align-items: center; gap: 5px; }
.page-nav-top svg { width: 9px; height: 9px; }
/* 46px bar + breathing room, on top of html's scroll-padding-top (header) */
.page-nav-target { scroll-margin-top: 58px; }

/* ─────────────────────────────────────────────────────────────
   HOME — HERO
   ───────────────────────────────────────────────────────────── */
.ac-landing { width: 100%; }
.ac-hero {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 56px 24px 88px; /* live: 100px top */
  position: relative; overflow: hidden;
  background: rgba(10,37,64,0.20);
}
.ac-hero::before {
  content: ''; position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 700px;
  background: radial-gradient(ellipse at 50% 28%, rgba(0,229,255,0.09) 0%, transparent 62%);
  pointer-events: none;
}
.ac-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.17em; text-transform: uppercase; color: var(--cyan);
  border: 1px solid var(--cyan-border); background: var(--cyan-dim);
  padding: 6px 18px; border-radius: 20px; margin-bottom: 44px;
}

/* Animated mark */
.ac-mark-wrap {
  position: relative; width: 240px; height: 240px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 48px;
}
.ac-ring { position: absolute; border-radius: 50%; border: 1px solid; }
.ac-r1 { width: 200px; height: 200px; border-color: rgba(0,229,255,0.13); animation: ac-spin 18s linear infinite; }
.ac-r2 { width: 272px; height: 272px; border-color: rgba(0,229,255,0.06); animation: ac-spin 32s linear infinite reverse; }
.ac-r3 { width: 364px; height: 364px; border-color: rgba(0,229,255,0.03); }
@keyframes ac-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.ac-r1::after {
  content: ''; position: absolute; top: -4px; left: 50%; transform: translateX(-50%);
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
}
.ac-r2::before {
  content: ''; position: absolute; bottom: -3.5px; right: 25%; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: rgba(0,229,255,0.5);
}
.ac-hero-mark {
  width: 200px; height: 200px;
  filter: drop-shadow(0 0 26px rgba(0,229,255,0.45)) drop-shadow(0 0 52px rgba(0,229,255,0.14));
  animation: ac-float 5.5s ease-in-out infinite;
  position: relative; z-index: 2;
}
@keyframes ac-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

.ac-hero-h1 {
  font-family: var(--ff-display);
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.025em;
  color: var(--white); max-width: 760px; margin: 0 0 24px; /* live kept the 0.67em default top margin */
}
.ac-accent {
  background: linear-gradient(90deg, var(--cyan) 0%, #7dd3fc 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ac-hero-sub {
  font-family: var(--ff-body); font-size: 18px; color: var(--slate);
  line-height: 1.72; max-width: 480px; margin-bottom: 48px;
}
.ac-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.ac-btn-lg {
  display: inline-flex; align-items: center;
  padding: 14px 34px;
  font-family: var(--ff-display); font-size: 15px; font-weight: 600;
  background: var(--cyan); color: var(--bg);
  border-radius: 8px; text-decoration: none;
  box-shadow: 0 0 22px rgba(0,229,255,0.32);
  transition: background 150ms, box-shadow 150ms, transform 150ms;
}
.ac-btn-lg:hover {
  background: #2eeeff; box-shadow: 0 0 38px rgba(0,229,255,0.55);
  transform: translateY(-1px); color: var(--bg);
}
.ac-btn-outline-lg {
  display: inline-flex; align-items: center;
  padding: 14px 34px;
  font-family: var(--ff-display); font-size: 15px; font-weight: 500;
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.35); border-radius: 8px;
  text-decoration: none;
  transition: border-color 150ms, background 150ms, transform 150ms;
}
.ac-btn-outline-lg:hover {
  border-color: rgba(0,229,255,0.5); background: rgba(0,229,255,0.06);
  transform: translateY(-1px); color: var(--white);
}

/* Email capture */
.ac-hero-capture {
  margin-top: 40px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  width: 100%;
}
.ac-capture-label {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--slate);
}
.ac-capture-row {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  width: 100%; max-width: 440px;
}
.ac-capture-row input {
  flex: 1; min-width: 200px;
  padding: 11px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
  color: var(--white); font-family: var(--ff-body); font-size: 14px;
  line-height: normal; outline: none; transition: border-color 150ms;
}
.ac-capture-row input::placeholder { color: var(--muted); }
.ac-capture-row input:focus { border-color: rgba(0,229,255,0.4); }
.ac-btn-capture {
  padding: 11px 22px; font-size: 14px; white-space: nowrap;
  background: transparent; color: var(--cyan);
  border: 1px solid rgba(0,229,255,0.35); border-radius: 8px;
  font-family: var(--ff-display); font-weight: 600; line-height: normal; cursor: pointer;
  transition: background 150ms;
}
.ac-btn-capture:hover { background: rgba(0,229,255,0.08); }
.ac-capture-thanks {
  display: none; font-family: var(--ff-mono); font-size: 12px;
  color: #22C55E; letter-spacing: 0.08em;
}

/* ─────────────────────────────────────────────────────────────
   HOME — STRIP
   ───────────────────────────────────────────────────────────── */
.ac-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(160,160,160,0.25);
  border-bottom: 1px solid rgba(160,160,160,0.25);
  background: rgba(160,160,160,0.25); gap: 1px;
}
.ac-strip-cell {
  background: rgba(13,31,54,0.95);
  padding: 32px 36px; display: flex; flex-direction: column; gap: 5px;
}
.ac-strip-label {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--slate);
}
.ac-strip-value {
  font-family: var(--ff-display); font-size: 20px; font-weight: 700;
  color: var(--white); line-height: 1;
}
.ac-strip-desc { font-family: var(--ff-body); font-size: 13px; color: var(--slate); }
.ac-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--ff-mono); font-size: 11px; color: var(--cyan);
  border: 1px solid var(--cyan-border); background: rgba(0,229,255,0.07);
  padding: 3px 8px; border-radius: 20px; margin-bottom: 5px;
  width: fit-content;
}
.ac-chip-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); display: inline-block; }

/* ─────────────────────────────────────────────────────────────
   HOME — SECTIONS (WHO WE ARE / CONTACT)
   ───────────────────────────────────────────────────────────── */
.ac-section { padding: 88px 48px; background: var(--bg); }
.ac-section-alt {
  background: rgba(5,5,8,0.75);
  border-top: 1px solid rgba(0,229,255,0.12);
  border-bottom: 1px solid rgba(0,229,255,0.12);
  box-shadow: inset 0 1px 48px rgba(0,229,255,0.04);
}
.ac-inner { max-width: 1100px; margin: 0 auto; }
.ac-sec-eyebrow {
  font-family: var(--ff-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 16px;
}
.ac-sec-h2 {
  font-family: var(--ff-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.015em;
  color: var(--white); margin-bottom: 16px;
}
.ac-sec-sub {
  font-family: var(--ff-body); font-size: 16px; color: var(--slate);
  line-height: 1.72; max-width: 560px; margin-bottom: 48px;
}

/* Team grid */
.ac-team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-bottom: 56px;
}
.ac-team-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 14px; padding: 32px 30px;
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color 180ms;
}
.ac-team-card:hover { border-color: var(--cyan-border); }
.ac-team-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.ac-team-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--cyan-dim); border: 1px solid var(--cyan-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 13px; font-weight: 700;
  color: var(--cyan); letter-spacing: 0.04em; flex-shrink: 0;
}
.ac-team-name {
  font-family: var(--ff-display); font-size: 16px; font-weight: 600;
  color: var(--white); margin-bottom: 2px;
}
.ac-team-role {
  font-family: var(--ff-mono); font-size: 10px; color: var(--cyan);
  letter-spacing: 0.1em; text-transform: uppercase; margin-top: 3px;
}
.ac-team-bio {
  font-family: var(--ff-body); font-size: 13px; color: var(--slate);
  line-height: 1.7; margin-bottom: 16px;
}
.ac-team-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ac-tag {
  font-family: var(--ff-mono); font-size: 10px; color: var(--muted);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 4px;
  padding: 3px 8px;
}

/* Credentials bar */
.ac-cred-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 32px 36px;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 14px; text-align: center;
}
.ac-cred-stat { display: flex; flex-direction: column; gap: 6px; }
.ac-cred-value { font-family: var(--ff-display); font-size: 28px; font-weight: 700; color: var(--cyan); }
.ac-cred-label { font-family: var(--ff-body); font-size: 12px; color: var(--slate); line-height: 1.5; }

/* Contact */
#ac-contact.ac-section { padding-top: 64px; padding-bottom: 64px; }
.ac-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
/* Left column: no top margins on the intro, rows 26px apart, and the
   callout pinned to the bottom so it lines up with the form's bottom edge. */
.ac-contact-left { display: flex; flex-direction: column; gap: 0; }
.ac-contact-left .ac-sec-eyebrow,
.ac-contact-left .ac-sec-h2,
.ac-contact-left .ac-sec-sub { margin-top: 0; }
.ac-contact-row { display: flex; gap: 14px; align-items: center; margin-bottom: 26px; }
.ac-contact-left .ac-contact-callout { margin-top: auto; }
/* Centre the heading + rows block between the eyebrow and the callout:
   equal auto margins above the heading and above the callout. */
.ac-contact-left .ac-sec-eyebrow { margin-bottom: 0; }
.ac-contact-left .ac-sec-h2 { margin-top: auto; }
.ac-contact-left .ac-contact-row:nth-last-child(2) { margin-bottom: 0; }
.ac-contact-icon {
  width: 38px; height: 38px;
  background: var(--cyan-dim); border: 1px solid var(--cyan-border);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ac-contact-text { display: flex; flex-direction: column; gap: 2px; }
.ac-contact-text h4 {
  font-family: var(--ff-display); font-size: 14px; font-weight: 600;
  color: var(--white); margin: 0; line-height: 1.3;
}
.ac-contact-text a, .ac-contact-text p {
  font-family: var(--ff-body); font-size: 14px; color: var(--slate);
  margin: 0; line-height: 1.4; text-decoration: none;
}
.ac-contact-text a:hover { color: var(--cyan); }
.ac-contact-callout {
  padding: 14px 18px;
  background: rgba(0,229,255,0.04); border: 1px solid var(--cyan-border);
  border-radius: 12px; margin-top: 8px;
}
.ac-contact-callout h4 {
  font-family: var(--ff-display); font-size: 14px; font-weight: 600;
  color: var(--cyan); margin-bottom: 8px;
}
.ac-contact-callout p { font-family: var(--ff-body); font-size: 13px; color: var(--slate); line-height: 1.6; }

/* Contact form (dark theme, same values as the template's form overrides) */
.ac-contact-form-wrap {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 14px; padding: 36px; min-height: 200px;
}
.ac-form { display: flex; flex-direction: column; gap: 16px; }
.ac-form-title {
  font-family: var(--ff-display); font-size: 18px; font-weight: 600;
  color: var(--white); margin: 0 0 24px;
}
.ac-form-group { display: flex; flex-direction: column; gap: 6px; }
.ac-form-group > label, .ac-form-group > legend, .ac-form-caption {
  font-family: var(--ff-display); font-size: 13px; font-weight: 500; color: var(--slate);
  line-height: normal;
}
.ac-form-group > legend { margin-bottom: 6px; }
.ac-form-name { border: 0; display: flex; flex-direction: row; flex-wrap: wrap; gap: 14px; }
.ac-form-name > legend { flex: 0 0 100%; width: 100%; }
.ac-form-name .ac-form-field { flex: 1 1 calc(50% - 7px); min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ac-form input, .ac-form textarea {
  background: var(--bg);
  border: 1px solid rgba(160,160,160,0.20); border-radius: 8px;
  color: var(--white); font-family: var(--ff-body); font-size: 14px;
  line-height: normal; padding: 11px 14px; width: 100%; outline: none;
  box-sizing: border-box; transition: border-color 150ms; -webkit-appearance: none;
}
.ac-form input::placeholder, .ac-form textarea::placeholder { color: #475569; }
.ac-form input:focus, .ac-form textarea:focus { border-color: rgba(0,229,255,0.45); }
.ac-form textarea { min-height: 110px; resize: vertical; }
.ac-form-submit {
  align-self: flex-start;
  background: var(--cyan); color: #080D1A;
  font-family: var(--ff-display); font-size: 14px; font-weight: 600;
  letter-spacing: 0.02em; text-transform: uppercase; line-height: normal;
  border: none; border-radius: 8px; padding: 12px 28px;
  cursor: pointer; margin-top: 8px;
  transition: background 150ms, opacity 150ms;
}
.ac-form-submit:hover { background: #33ECFF; }
.ac-form-thanks {
  display: none; font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan);
  margin: 12px 0 0;
}

/* ─────────────────────────────────────────────────────────────
   FOOTER — template styling, original layout (centered, compact)
   ───────────────────────────────────────────────────────────── */
.ac-footer {
  background-color: var(--panel);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 44px 40px 24px;
  margin: 10px 0; box-sizing: border-box; /* as the template's .site-footer */
}
.ac-footer-top {
  max-width: 1080px; margin: 0 auto 28px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.ac-footer-logo { display: flex; align-items: center; margin-bottom: 4px; text-decoration: none; }
.ac-footer-mark-img { height: 36px; width: auto; display: block; flex-shrink: 0; }
.ac-footer-banner-img { height: 72px; width: auto; max-width: none; display: block; margin-left: -18px; }
.ac-footer-desc {
  font-family: var(--ff-body); font-size: 13px; color: var(--slate);
  line-height: 1.7; margin: 6px 0 16px; max-width: 320px;
}
.ac-social { display: flex; gap: 12px; }
.ac-social a { color: var(--slate); display: inline-flex; transition: color 180ms; }
.ac-social a:hover { color: var(--cyan); }
.ac-footer-col h4 {
  font-family: var(--ff-display); font-size: 11px; font-weight: 600;
  color: var(--white); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 14px;
}
.ac-footer-col ul { list-style: none; }
.ac-footer-col ul li { margin-bottom: 8px; }
.ac-footer-col ul a {
  font-family: var(--ff-body); font-size: 13px; color: var(--slate);
  text-decoration: none; transition: color 180ms;
}
.ac-footer-col ul a:hover { color: var(--white); }
.ac-footer-bottom {
  max-width: 1080px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 12px;
  padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.06);
}
.ac-footer-legal { font-family: var(--ff-body); font-size: 11px; color: var(--muted); }
.ac-footer-disclaimer { display: block; margin-top: 4px; }
.ac-footer-bottom-links { display: flex; gap: 20px; }
.ac-footer-bottom-links a {
  font-family: var(--ff-body); font-size: 11px; color: var(--muted);
  text-decoration: none; transition: color 180ms;
}
.ac-footer-bottom-links a:hover { color: var(--slate); }

/* ─────────────────────────────────────────────────────────────
   404
   ───────────────────────────────────────────────────────────── */
.ac-notfound {
  min-height: 60vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 88px 24px;
}
.ac-notfound h1 {
  font-family: var(--ff-display); font-size: clamp(30px, 4vw, 44px);
  font-weight: 700; letter-spacing: -0.02em; margin: 20px 0 12px;
}
.ac-notfound p { color: var(--slate); max-width: 440px; margin: 0 0 32px; }

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ac-footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .ac-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  /* Compact hero for mobile — fit CTA above fold */
  .ac-hero { padding: 40px 20px 44px; }
  .ac-eyebrow { margin-bottom: 20px; font-size: 9px; }
  .ac-mark-wrap { width: 140px; height: 140px; margin-bottom: 20px; }
  .ac-hero-mark { width: 80px; height: 80px; }
  .ac-r1 { width: 120px; height: 120px; }
  .ac-r2 { width: 164px; height: 164px; }
  .ac-r3 { display: none; }
  .ac-hero-h1 { font-size: clamp(28px, 7vw, 42px); margin-bottom: 14px; }
  .ac-hero-sub { font-size: 15px; margin-bottom: 28px; line-height: 1.6; }
  .ac-hero-capture { margin-top: 24px; }
  .ac-hero-ctas { flex-direction: column; align-items: center; width: 100%; gap: 12px; }
  /* box-sizing added: on the live site these 100%-wide buttons overflow
     the viewport by their horizontal padding */
  .ac-btn-lg, .ac-btn-outline-lg { width: 100%; max-width: 320px; justify-content: center; box-sizing: border-box; }

  /* Layout stacking */
  .ac-strip { grid-template-columns: 1fr; }
  .ac-team-grid { grid-template-columns: 1fr; }
  .ac-cred-bar { grid-template-columns: repeat(2, 1fr); }
  .ac-contact-grid { grid-template-columns: 1fr; }
  .ac-contact-left .ac-contact-callout { margin-top: 8px; }
  .ac-contact-left .ac-sec-eyebrow { margin-bottom: 16px; }
  .ac-contact-left .ac-sec-h2 { margin-top: 0; }
  .ac-contact-left .ac-contact-row:nth-last-child(2) { margin-bottom: 26px; }
}
@media (max-width: 600px) {
  .ac-footer-top { gap: 28px 20px; }
}
@media (max-width: 480px) {
  .page-nav-inner { padding: 0 18px; gap: 14px; }
}
