/*
 * AVA Access website — visual system.
 * Shared with the CAS deck (deck/deck.css on agentic/develop-context-prod):
 * deep navy and cool paper, AVA blue for what CAS understands, AVA gold for
 * labels. Set in Atkinson Hyperlegible Next, designed for low-vision readers.
 * Dark sections use the deck's Aurora look (founder, 2026-10-13): ink and
 * teal, slow drifting light, Fraunces headlines, frosted cards. The light is
 * decorative only and stops under prefers-reduced-motion.
 * Every colour pair used for text meets WCAG 2.2 AA contrast.
 */

:root {
  color-scheme: dark;
  --deep: #0d2233;
  --deep-2: #143149;
  --deep-3: #1f4a6a;
  --paper: #eef2f3;
  --paper-2: #e1e8eb;
  --paper-3: #d3dde2;
  --white: #ffffff;
  --ink: #13283a;
  --ink-2: #45596a;
  --line: #93a4b0;
  --line-2: #c4cfd6;
  --blue: #1B5E8C;
  --blue-2: #2f7db3;
  --blue-soft: #d7e6f1;
  --gold: #8B7D3C;
  --gold-ink: #6c6128;
  --gold-light: #e0cd7c;
  --on-dark-2: #b9c8d3;
  --teal: #2b8f97;
  --teal-ink: #1d6c72;
  --teal-light: #7fd0d4;
  --teal-soft: #d6eeef;
  --night: #0a1520;
  --focus: #1B5E8C;
  --hfont: "Fraunces", Georgia, serif;
  --font: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1, h2 { font-family: var(--hfont); font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.is-dark { --focus: var(--gold-light); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--white); color: var(--ink);
  padding: 12px 18px; border-radius: 6px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: block;
  font-size: 0.875rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 0.75em;
}
.is-dark .eyebrow { color: var(--gold-light); }

.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--ink-2); max-width: 46ch; }
.is-dark .lede { color: var(--on-dark-2); }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  min-height: 48px; padding: 0.7em 1.3em;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: #164d73; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.is-dark .btn-primary { background: var(--gold-light); color: var(--deep); }
.is-dark .btn-primary:hover { background: #ecdc98; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75em; }

.text-link { font-weight: 700; }
.text-link::after { content: " →"; }
.ext::after { content: " ↗"; }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 21, 32, 0.96);
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(10, 21, 32, 0.82); backdrop-filter: blur(12px); }
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 24px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 36px; width: auto; }
.nav-toggle {
  display: none;
  min-height: 44px; padding: 0 16px;
  border: 2px solid var(--line); border-radius: 999px;
  background: transparent; color: inherit;
  font: inherit; font-weight: 700; cursor: pointer;
}
.site-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  color: var(--paper); text-decoration: none; font-weight: 600; border-radius: 999px;
}
.site-nav a:hover { background: rgba(255, 255, 255, 0.08); }
.site-nav a[aria-current="page"] { color: var(--gold-light); text-decoration: underline; text-underline-offset: 0.35em; text-decoration-thickness: 2px; }
.site-nav .nav-cta { background: var(--gold-light); color: var(--deep); margin-left: 8px; }
.site-nav .nav-cta:hover { background: #ecdc98; }
.site-nav .nav-cta[aria-current="page"] { color: var(--deep); box-shadow: inset 0 0 0 2px var(--deep), 0 0 0 2px var(--gold-light); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--night); border-bottom: 1px solid rgba(255,255,255,0.1); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 20px; }
  .site-nav a { min-height: 52px; padding: 0 12px; }
  .site-nav .nav-cta { margin: 8px 0 0; justify-content: center; }
}

/* ------------------------------------------------------------ sections */
section { padding: clamp(64px, 9vw, 120px) 0; }
.is-dark { background: var(--night); color: var(--paper); }
section.is-dark { position: relative; isolation: isolate; overflow: hidden; }
section.is-dark::before {
  content: ""; position: absolute; inset: -20%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 45% at 22% 30%, rgba(43, 143, 151, 0.45), transparent 70%),
    radial-gradient(45% 50% at 78% 70%, rgba(27, 94, 140, 0.5), transparent 70%),
    radial-gradient(30% 30% at 60% 15%, rgba(224, 205, 124, 0.12), transparent 70%);
  animation: aurora-drift 38s ease-in-out infinite alternate;
}
section.is-dark:nth-of-type(even)::before {
  background:
    radial-gradient(45% 50% at 80% 25%, rgba(43, 143, 151, 0.4), transparent 70%),
    radial-gradient(40% 45% at 15% 80%, rgba(27, 94, 140, 0.45), transparent 70%),
    radial-gradient(25% 30% at 40% 10%, rgba(224, 205, 124, 0.1), transparent 70%);
}
@keyframes aurora-drift { 0% { transform: translate(0, 0) rotate(0deg); } 100% { transform: translate(4%, -3%) rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { section.is-dark::before { animation: none; } }
.frost { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
@supports (backdrop-filter: blur(8px)) {
  .quotes figure, .records li, .levels figure, .transcript li, .is-dark .cards > li, .media-frame figcaption { backdrop-filter: blur(8px); }
}
.is-white { background: var(--white); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }

/* ------------------------------------------------------------ hero */
.hero {
  padding-top: clamp(48px, 8vw, 96px);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 0.4em; }
.hero .lede { font-size: clamp(1.25rem, 2vw, 1.5rem); color: var(--paper); }
.hero-sub { color: var(--on-dark-2); max-width: 46ch; }
.hero-tagline { font-family: var(--hfont); font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.35rem); color: var(--gold-light); margin: 0.6em 0 0; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.media-frame {
  position: relative; margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius); overflow: hidden;
  background: var(--deep-2);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.7);
}
.media-frame video, .media-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.media-frame figcaption {
  padding: 12px 16px; font-size: 0.95rem;
  background: rgba(20, 49, 73, 0.85); color: var(--on-dark-2);
}
.media-toggle {
  position: absolute; right: 12px; top: 12px;
  min-height: 40px; padding: 0 14px;
  border: 0; border-radius: 999px;
  background: rgba(13, 34, 51, 0.85); color: #fff;
  font: inherit; font-size: 0.9rem; font-weight: 700; cursor: pointer;
}

/* ------------------------------------------------------------ shift */
.shift-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.shift-grid li {
  background: var(--white); border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: 22px;
}
.shift-grid strong { display: block; font-size: 1.15rem; margin-bottom: 0.25em; }
.shift-grid span { color: var(--ink-2); font-size: 1rem; }
.statement {
  margin: clamp(40px, 6vw, 64px) 0 0; max-width: 900px;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 700; line-height: 1.3;
}
.statement em { font-style: normal; color: var(--blue); }

/* ------------------------------------------------------------ technologies */
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px) { .tech-grid { grid-template-columns: 1fr; } }
.tech-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: var(--paper); border: 1px solid var(--line-2);
}
.tech-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.tech-body { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; flex: 1; }
.tech-tag { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-ink); }
.tech-card h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 0.3em; }
.tech-card h3 small { display: block; font-size: 0.55em; font-weight: 600; color: var(--ink-2); margin-top: 0.3em; letter-spacing: 0; }
.tech-card ul { padding-left: 1.2em; margin: 0 0 1.5em; color: var(--ink-2); }
.tech-card ul li { margin-bottom: 0.35em; }
.tech-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ------------------------------------------------------------ CAS demo */
.demo-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } }
.demo-grid h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.beats { list-style: none; padding: 0; margin: 0; counter-reset: beat; }
.beats li { padding: 18px 0 18px 56px; position: relative; border-top: 1px solid rgba(255,255,255,0.14); }
.beats li:last-child { border-bottom: 1px solid rgba(255,255,255,0.14); }
.beats li::before {
  counter-increment: beat; content: counter(beat);
  position: absolute; left: 0; top: 18px;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--teal-light); color: var(--teal-light); font-weight: 700;
}
.beats strong { display: block; font-size: 1.2rem; color: var(--white); }
.beats span { color: var(--on-dark-2); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stats div { padding: 0; }
.stats div:nth-child(odd) dd { color: var(--teal-light); }
.stats div:nth-child(even) dd { color: var(--gold-light); }
.stats dt { order: 2; color: var(--on-dark-2); font-size: 1rem; }
.stats dd { margin: 0; font-family: var(--hfont); font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 600; color: var(--white); line-height: 1.05; }
.stats div { display: flex; flex-direction: column-reverse; }
.fineprint { margin-top: 20px; font-size: 0.95rem; color: var(--on-dark-2); }

/* ------------------------------------------------------------ platform */
.pipeline { display: flex; flex-wrap: wrap; gap: 0; list-style: none; padding: 0; margin: 0 0 clamp(40px, 6vw, 64px); }
.pipeline li {
  flex: 1 1 160px; padding: 20px 22px; background: var(--white);
  border: 1px solid var(--line-2); margin: 0 -1px -1px 0;
}
.pipeline li:first-child { background: var(--teal-soft); }
.pipeline li:first-child strong { color: var(--teal-ink); }
.pipeline strong { display: block; color: var(--blue); font-size: 1.15rem; }
.pipeline span { color: var(--ink-2); font-size: 1rem; }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.points h3 { font-size: 1.3rem; }
.points p { color: var(--ink-2); }

/* ------------------------------------------------------------ industries */
.industries { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.industries li { background: var(--paper); border-radius: var(--radius); padding: 24px; }
.industries h3 { font-size: 1.2rem; margin-bottom: 0.4em; }
.industries p { color: var(--ink-2); font-size: 1rem; margin-bottom: 0.6em; }
.industries q { display: block; font-size: 0.98rem; color: var(--blue); font-weight: 600; quotes: "“" "”"; }

/* ------------------------------------------------------------ deployed */
.tours { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0 0 48px; }
.tours a { display: block; text-decoration: none; color: inherit; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line-2); height: 100%; }
.tours a:hover h3 { text-decoration: underline; }
.tours img { aspect-ratio: 2 / 1; object-fit: cover; width: 100%; }
.tours div { padding: 16px 18px; }
.tours h3 { font-size: 1.1rem; margin: 0 0 0.2em; }
.tours span { color: var(--blue); font-weight: 700; font-size: 0.98rem; }
.clients { columns: 3 220px; column-gap: 32px; list-style: none; padding: 0; margin: 0; }
.clients li { padding: 10px 0; border-bottom: 1px solid var(--line-2); break-inside: avoid; font-weight: 600; }

/* ------------------------------------------------------------ testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.quotes figure { margin: 0; padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.quotes blockquote { margin: 0 0 1em; font-size: 1.15rem; line-height: 1.5; color: var(--white); }
.quotes figcaption { color: var(--gold-light); font-weight: 700; font-size: 1rem; }
.quotes figcaption span { display: block; color: var(--on-dark-2); font-weight: 400; }

/* ------------------------------------------------------------ IP */
.ip { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (max-width: 700px) { .ip { grid-template-columns: 1fr; } }
.ip-seal {
  font-family: var(--hfont);
  width: 132px; height: 132px; border-radius: 50%;
  border: 3px solid var(--gold); color: var(--gold-ink);
  display: grid; place-items: center; text-align: center;
  font-weight: 800; font-size: 0.95rem; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase;
}
.ip p.patent { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 700; line-height: 1.35; max-width: 38ch; margin: 0; }

/* CAS page: interactive presentation band */
.presentation { display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 4vw, 56px); align-items: center; }
.presentation h2 { margin-bottom: 0.4em; }
.presentation .btn-row { margin: 0; }
@media (max-width: 760px) { .presentation { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ contact */
.contact-band h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }

/* ------------------------------------------------------------ footer */
.site-footer { background: #060d14; color: var(--on-dark-2); padding: 56px 0 40px; font-size: 1rem; --focus: var(--gold-light); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer img { height: 32px; width: auto; margin-bottom: 16px; }
.site-footer h2 { font-size: 0.875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--paper); }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.95rem; }

/* ------------------------------------------------------------ inner pages */
.page-hero {
  padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 88px);
}
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.25rem); max-width: 18ch; margin-bottom: 0.35em; }
.page-hero .lede { color: var(--paper); max-width: 52ch; }
.page-hero .hero-grid { align-items: center; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.split h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.prose { max-width: 68ch; }
.prose p { color: var(--ink-2); }
.is-dark .prose p { color: var(--on-dark-2); }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding: 10px 0 10px 34px; border-top: 1px solid var(--line-2); }
.ticks li:last-child { border-bottom: 1px solid var(--line-2); }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 0.95em;
  width: 14px; height: 8px; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue);
  transform: rotate(-45deg);
}
.is-dark .ticks li { border-color: rgba(255,255,255,0.14); }
.is-dark .ticks li::before { border-color: var(--gold-light); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.cards > li, .card { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.is-white .cards > li { background: var(--paper); }
.cards img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cards .card-body { padding: 20px 22px 24px; }
.cards h3 { font-size: 1.25rem; margin-bottom: 0.3em; }
.cards p { color: var(--ink-2); font-size: 1rem; margin: 0; }
.is-dark .cards > li { background: rgba(255, 255, 255, 0.06); border-color: rgba(255,255,255,0.1); }
.is-dark .cards h3 { color: var(--white); }
.is-dark .cards p { color: var(--on-dark-2); }

.big-numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.big-numbers li { color: var(--ink-2); }
.big-numbers strong { display: block; font-family: var(--hfont); font-weight: 600; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.05; color: var(--gold-ink); margin-bottom: 0.2em; }
.big-numbers li:nth-child(even) strong { color: var(--teal-ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--teal-soft); color: var(--ink); font-weight: 600; font-size: 0.98rem; }
.is-dark .chips li { background: rgba(43, 143, 151, 0.28); color: var(--white); border: 1px solid rgba(127, 208, 212, 0.35); }

.records { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.records li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: baseline; padding: 12px 16px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); color: var(--white); font-size: 1rem; }
.records b { color: var(--teal-light); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }

.needs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0 0 1.5em; }
.needs li { background: var(--white); border: 2px solid var(--blue); border-radius: var(--radius); padding: 16px 18px; }
.needs strong { display: block; color: var(--blue); font-size: 1.1rem; }
.needs span { color: var(--ink-2); font-size: 0.98rem; }

.levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.levels figure { margin: 0; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); padding: 22px; }
.levels figcaption { color: var(--gold-light); font-weight: 700; margin-bottom: 10px; }
.levels figcaption span { display: block; color: var(--on-dark-2); font-weight: 400; font-size: 0.95rem; }
.levels p { color: var(--white); font-size: 1rem; margin-bottom: 0.6em; }

.qa { display: grid; gap: 16px; max-width: 860px; }
.qa div { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 20px 24px; }
.qa dt { font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.qa dt::before { content: "You: "; color: var(--ink-2); font-weight: 600; }
.qa dd { margin: 0; color: var(--ink); }
.qa dd::before { content: "AVA: "; font-weight: 700; color: var(--gold-ink); }

.transcript { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.transcript li { padding: 10px 14px; border-radius: 8px; background: var(--deep-2); color: var(--white); font-size: 1rem; }
.transcript b { color: var(--gold-light); margin-right: 6px; }

.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--deep-2); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.person { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 28px; max-width: 640px; }
.person .initials { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #1d6c72, #1B5E8C); color: #fff; font-weight: 800; font-size: 1.6rem; }
.person h3 { margin: 0 0 0.2em; font-size: 1.4rem; }
.person p { margin: 0; color: var(--ink-2); }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.contact-grid .card { padding: 26px; }
.contact-grid h3 { font-size: 1.35rem; }
.contact-grid p { color: var(--ink-2); }
.contact-grid .card > a:last-child { margin-top: auto; }
.email-big { font-size: clamp(1.5rem, 3.6vw, 2.4rem); font-weight: 800; color: var(--gold-light); word-break: break-word; }

/* ------------------------------------------------------------ dark throughout
   The site is dark everywhere (founder direction). Sections that aren't
   Aurora sections keep their layout but swap the light palette for dark
   surfaces, so every component above works unchanged. All text pairs here
   meet WCAG 2.2 AA on these surfaces. */
section:not(.is-dark) {
  --paper: #132a3d;
  --paper-2: #183247;
  --white: #10212f;
  --ink: #eef2f3;
  --ink-2: #b9c8d3;
  --line: #5d7385;
  --line-2: rgba(255, 255, 255, 0.12);
  --blue: #8cc4ea;
  --blue-soft: rgba(47, 125, 179, 0.25);
  --teal: #4fb3b9;
  --teal-ink: #7fd0d4;
  --teal-soft: rgba(43, 143, 151, 0.22);
  --gold: #c9b45e;
  --gold-ink: #e0cd7c;
  --focus: #e0cd7c;
  background: #0d1a27;
  color: var(--ink);
}
section.is-white { background: #0a1520; }
section:not(.is-dark) .btn-primary:hover { background: #a9d4f0; }
section:not(.is-dark) .media-frame { box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9); }

/* ------------------------------------------------------------ section tones
   Each homepage section has its own dark tone, so the page shifts colour as
   you move down it: slate, ink, teal, indigo, dusk, warm. */
section.bg-slate  { background: #0f1c2b; --paper: #16293b; --white: #132435; }
section.bg-ink    { background: #070e15; --paper: #0f1d2a; --white: #0c1822; }
section.bg-teal   { background: #08201f; --paper: #0f302f; --white: #0c2827; --line-2: rgba(127, 208, 212, 0.18); }
section.bg-indigo { background: #111530; --paper: #1a2045; --white: #161b3b; --line-2: rgba(170, 180, 240, 0.16); }
section.bg-dusk   { background: #0d1824; --paper: #142536; --white: #11202f; }
section.bg-warm   { background: #17150d; --paper: #221f13; --white: #1c1a10; --line-2: rgba(224, 205, 124, 0.18); }
section.bg-indigo .eyebrow { color: #c9c2f0; }
section.bg-indigo .lede { color: #c3c8e6; }

section.is-dark.aurora-warm::before {
  background:
    radial-gradient(45% 50% at 20% 25%, rgba(224, 205, 124, 0.16), transparent 70%),
    radial-gradient(40% 45% at 80% 75%, rgba(43, 143, 151, 0.38), transparent 70%),
    radial-gradient(35% 40% at 55% 10%, rgba(27, 94, 140, 0.35), transparent 70%);
}

/* Why it matters: heading holds still while the list scrolls past */
.uses-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.uses-head { position: sticky; top: 112px; }
.uses-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
@media (max-width: 900px) { .uses-layout { grid-template-columns: 1fr; } .uses-head { position: static; } }
.uses { list-style: none; counter-reset: use; padding: 0; margin: 0; }
.uses li {
  counter-increment: use;
  display: grid; grid-template-columns: 72px 1fr; column-gap: 20px;
  padding: 26px 0; border-bottom: 1px solid var(--line-2);
}
.uses li:first-child { padding-top: 0; }
.uses li::before {
  content: counter(use, decimal-leading-zero);
  grid-row: span 2;
  font-family: var(--hfont); font-size: 2.6rem; line-height: 1; color: var(--teal-ink);
}
.uses strong { font-family: var(--hfont); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; }
.uses span { color: var(--ink-2); }

/* CAS demo: what CAS understands, labelled on the picture itself */
.annotated { position: relative; }
.marks { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.marks li {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  padding: 6px 12px 6px 26px; border-radius: 999px; white-space: nowrap;
  background: rgba(7, 14, 21, 0.82); color: #fff; font-size: 0.9rem; font-weight: 700;
  box-shadow: 0 6px 20px -8px rgba(0, 0, 0, 0.6);
}
.marks li::before {
  content: ""; position: absolute; left: 10px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px;
  border-radius: 50%; background: var(--teal-light); box-shadow: 0 0 0 4px rgba(127, 208, 212, 0.25);
}
.marks li.is-route { background: rgba(27, 94, 140, 0.92); }
.marks li.is-route::before { background: var(--gold-light); box-shadow: 0 0 0 4px rgba(224, 205, 124, 0.3); }
@media (max-width: 560px) { .marks li { font-size: 0.75rem; padding: 4px 9px 4px 20px; } .marks li::before { left: 7px; width: 7px; height: 7px; margin-top: -3.5px; } }

/* Platform: the steps read as one flow from the venue's own tour */
.pipeline.flow { gap: 10px; align-items: stretch; }
.pipeline.flow li {
  position: relative; margin: 0; border-radius: 16px; padding: 18px 20px; text-align: center;
  background: var(--paper); border: 1px solid var(--line-2); flex: 1 1 140px;
}
.pipeline.flow li:first-child { background: rgba(127, 208, 212, 0.16); border-color: rgba(127, 208, 212, 0.4); }
.pipeline.flow li:first-child strong { color: var(--teal-ink); }
.pipeline.flow li:not(:last-child)::after {
  content: "→"; position: absolute; right: -10px; top: 50%; transform: translate(50%, -50%);
  color: var(--teal-ink); font-weight: 700; z-index: 1;
}
@media (max-width: 760px) {
  .pipeline.flow { flex-direction: column; }
  .pipeline.flow li:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -10px; transform: translate(50%, 50%); }
}

/* Where it fits: an index of spaces, each with the question a visitor asks */
.sectors { list-style: none; padding: 0; margin: 0; }
.sectors li {
  display: grid; grid-template-columns: minmax(180px, 1fr) 1.3fr 1.2fr; gap: 12px 32px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--line-2);
}
.sectors li:first-child { border-top: 1px solid var(--line-2); }
.sectors h3 { margin: 0; font-family: var(--hfont); font-weight: 600; font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.sectors p { margin: 0; color: #c3c8e6; font-size: 1rem; }
.sectors q {
  justify-self: start; quotes: "“" "”";
  padding: 10px 16px; border-radius: 18px 18px 18px 4px;
  background: rgba(127, 208, 212, 0.14); color: #e6f6f7; font-weight: 600; font-size: 0.98rem;
}
@media (max-width: 820px) { .sectors li { grid-template-columns: 1fr; } }

/* Deployed: places read as a flowing roll call */
.clients { columns: auto; display: flex; flex-wrap: wrap; gap: 6px 0; }
.clients li { border: 0; padding: 0; font-family: var(--hfont); font-weight: 500; font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--ink); }
.clients li:not(:last-child)::after { content: "·"; margin: 0 14px; color: var(--teal-ink); }

/* Testimonials: one voice up front, the rest beside it */
.quotes { grid-template-columns: repeat(3, 1fr); }
.quotes figure.featured { grid-column: 1 / -1; background: none; border: 0; padding: 0 0 12px; backdrop-filter: none; }
.quotes figure.featured blockquote { font-family: var(--hfont); font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.25; max-width: 30ch; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
