/* ayrus AI preview site — design tokens and styles.
   Palette from the project brief; secondary text and light-surface link colour
   darkened slightly so they pass WCAG AA contrast on light backgrounds. */

:root {
  --navy: #0B1220;
  --surface: #111B2E;
  --surface-2: #1A2740;
  --teal: #28D7C4;
  --teal-text: #0F6B6B;
  --ai-accent: var(--teal-text);  /* the "AI" colour in the ayrus AI wordmark; reused for every standalone "AI" */
  /* Brand "AI" gradient, from the ayrus AI logo: cyan -> amber -> teal. */
  --ai-grad: linear-gradient(100deg, #35D6F2 0%, #5FE0E6 22%, #F2B450 58%, #7FD6C0 100%);
  /* Same hues, deepened so "AI" stays readable (>= 4.5:1) on white and light sections. */
  --ai-grad-ink: linear-gradient(100deg, #06788C 0%, #0B7F86 25%, #97590B 62%, #1E7C6C 100%);
  --font-brand: "Michroma", "Bricolage Grotesque", "Segoe UI", sans-serif;
  --teal-ink: #0A6E64;      /* teal for text/links on light backgrounds */
  --bg: #F7F9FC;
  --white: #FFFFFF;
  --text: #172033;
  --muted: #4A5A70;         /* secondary text on light */
  --muted-dark: #A9B7CC;    /* secondary text on navy */
  --line: #DDE3EC;
  --line-dark: #25324B;

  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --font-sia: "Sora", "Segoe UI", system-ui, sans-serif;

  --radius: 10px;
  --wrap: 1240px;          /* one container for header, hero and every section (100px margins at 1440) */
  --measure: 64ch;
  --section-y: 96px;        /* vertical padding of standard content sections */
  --section-y-tight: 56px;
}
@media (max-width: 960px) { :root { --section-y: 72px; --section-y-tight: 52px; } }
@media (max-width: 760px) { :root { --section-y: 56px; --section-y-tight: 44px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 98px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 650; }
h3 { font-size: 1.3rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: var(--measure); text-wrap: pretty; }
a { color: var(--teal-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
ul { padding-left: 1.2em; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--teal); }
main :focus-visible { outline-color: #0A8F82; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--teal); color: var(--navy); padding: 10px 16px; border-radius: 6px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* ---------- Header ---------- */
/* Menu bar: a lifted blue-navy band (lighter than the page) with a soft glow behind the logo
   and a thin line in the logo's cyan-amber-teal gradient, so it stands apart from the hero. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  --header-bg: #13243C;
  background:
    radial-gradient(420px 120px at 12% 50%, rgba(53, 214, 242, .14), transparent 70%),
    radial-gradient(360px 110px at 26% 50%, rgba(242, 180, 80, .09), transparent 70%),
    linear-gradient(180deg, #172C47 0%, #12223A 100%);
  box-shadow: 0 6px 24px rgba(3, 8, 18, .45);
  backdrop-filter: blur(8px);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--ai-grad); opacity: .85; pointer-events: none;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 24px; }
/* Logo lockup: glowing mark + "ayrus" (silver) + "AI" (brand gradient), set in Michroma like the logo. */
.wordmark {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-brand); font-weight: 400; font-size: 1.7rem; letter-spacing: .01em; line-height: 1;
  color: var(--white); text-decoration: none; white-space: nowrap;
}
.wordmark .brand-mark { width: 2.3em; height: 2.3em; flex: none; margin: -.35em -.15em -.35em -.3em; display: block; }
.wordmark .wm-name, .wordmark .wm-ai {
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  /* The gradient only paints inside the element's box. The wordmark sits at line-height 1, so
     give the letters room below the baseline (the "y" descender) and above (accent glyphs). */
  line-height: 1.4; padding: .1em 0 .15em; margin: -.1em 0 -.15em;
}
.wordmark .wm-name { background-image: linear-gradient(180deg, #FFFFFF 0%, #EEF1F5 48%, #B9C2CE 100%); }
/* Glossy multi-colour capsule behind the logo lockup: deep blue base, cyan / amber / violet
   colour blooms, a glass highlight on the top half and a cyan-teal-amber-magenta rim. */
.wordmark {
  position: relative; isolation: isolate;
  padding: .42em 1em .42em .7em; border-radius: 999px;
  box-shadow:
    0 8px 24px rgba(53, 214, 242, .22),
    0 4px 14px rgba(242, 180, 80, .16),
    0 1px 2px rgba(0, 0, 0, .5);
  transition: box-shadow .3s ease, transform .3s ease;
}
.wordmark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, .10) 42%, rgba(255, 255, 255, 0) 52%),
    radial-gradient(120% 160% at 0% 50%, rgba(53, 214, 242, .55), transparent 55%),
    radial-gradient(90% 150% at 52% 125%, rgba(242, 180, 80, .48), transparent 60%),
    radial-gradient(80% 130% at 100% -10%, rgba(192, 132, 252, .45), transparent 62%),
    radial-gradient(70% 120% at 85% 110%, rgba(95, 224, 190, .35), transparent 60%),
    linear-gradient(115deg, #0A1830 0%, #15305A 48%, #0D2140 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -10px 18px rgba(3, 8, 20, .45);
}
.wordmark::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from 210deg, #35D6F2, #7FD6C0, #F2B450, #F472B6, #A78BFA, #35D6F2);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
/* A light sheen sweeps across on hover. */
.wordmark .wm-sheen { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; z-index: -1; pointer-events: none; }
.wordmark .wm-sheen::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: skewX(-18deg);
}
.wordmark:hover { box-shadow: 0 10px 30px rgba(53, 214, 242, .32), 0 6px 18px rgba(242, 180, 80, .24), 0 1px 2px rgba(0, 0, 0, .5); }
.wordmark:hover .wm-sheen::before { animation: wm-sheen 1.1s ease forwards; }
@keyframes wm-sheen { to { left: 120%; } }
@media (prefers-reduced-motion: reduce) { .wordmark:hover .wm-sheen::before { animation: none; } .wordmark { transition: none; } }
@media (max-width: 420px) { .wordmark { padding: .38em .8em .38em .6em; } }
.wordmark .wm-ai { background-image: var(--ai-grad); }
/* Every standalone "AI" (and the AI in "ayrus AI" in running text) uses the logo's AI gradient. */
.ai-accent {
  color: var(--ai-accent);
  background-image: var(--ai-grad-ink);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* On navy: the bright logo gradient. */
.on-dark .ai-accent, .hero .ai-accent, .site-header .ai-accent, .site-footer .ai-accent { background-image: var(--ai-grad); }
/* Inside filled buttons and pills the gradient would vanish into the fill: use the label colour. */
.btn .ai-accent, button .ai-accent, .chip .ai-accent, .tag .ai-accent, [class*="-btn"] .ai-accent {
  background: none; -webkit-text-fill-color: currentColor; color: inherit;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .ai-accent, .wordmark .wm-name, .wordmark .wm-ai { -webkit-text-fill-color: currentColor; background: none; }
  .wordmark .wm-ai { color: var(--teal); }
}
/* Brand name stays lowercase "ayrus" inside labels that are styled uppercase. */
.brand-name { text-transform: none; }
/* Homepage only: larger header wordmark. */
.page-home .site-header .wordmark { font-size: 1.7rem; }
.wordmark .wm-name, .wordmark .wm-ai { filter: drop-shadow(0 0 10px rgba(255, 255, 255, .08)); }
/* 1024-1180px: the full nav fills the header, so the wordmark steps down; below 1024px the nav collapses into the menu. */
@media (max-width: 1180px) { .wordmark, .page-home .site-header .wordmark { font-size: 1.4rem; } }
@media (max-width: 1023px) { .wordmark, .page-home .site-header .wordmark { font-size: 1.5rem; } .header-inner { height: 72px; } }
@media (max-width: 420px) { .wordmark, .page-home .site-header .wordmark { font-size: 1.3rem; } }
@media (max-width: 360px) { .wordmark, .page-home .site-header .wordmark { font-size: 1.1rem; } }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { color: #D5DEEC; text-decoration: none; font-weight: 500; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav .btn { white-space: nowrap; }
.nav a:not(.btn):hover { color: var(--white); border-bottom-color: var(--teal); }
.nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--teal); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-dark); color: var(--white);
  border-radius: 8px; padding: 8px 14px; min-height: 44px; font: inherit; font-weight: 600; cursor: pointer;
}
@media (max-width: 1180px) { .nav { gap: 20px; } .nav ul { gap: 20px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 8px; font-weight: 650; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--font-body);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--teal); color: var(--navy); }
.btn-primary:hover { background: #5BE6D6; }
.btn-ghost { border-color: #3A4B6B; color: var(--white); }
.btn-ghost:hover { border-color: var(--teal); }
.btn-ghost-light { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost-light:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 9px 16px; font-size: .94rem; }

/* ---------- Dark sections ---------- */
.on-dark { background: var(--navy); color: #E7EDF7; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark p { color: var(--muted-dark); }
.on-dark a:not(.btn) { color: var(--teal); }   /* bright teal on navy (the dark teal is for light grounds) */

.eyebrow { font-weight: 600; font-size: .95rem; color: var(--teal-text); margin: 0 0 18px; }
.on-light .eyebrow, .section .eyebrow { color: var(--teal-ink); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(40, 215, 196, .12), transparent 60%),
    var(--navy);
  color: #E7EDF7;
  padding: 76px 0 84px;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: .45em; }
.hero .lead { font-size: 1.2rem; color: #C3CEE0; max-width: 52ch; }
.hero .microcopy { font-size: .98rem; color: var(--muted-dark); margin-top: 22px; max-width: 52ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.flow { width: 100%; height: auto; }
.flow text { font-family: var(--font-body); font-size: 13px; fill: #DCE5F3; }
.flow .node { fill: var(--surface); stroke: #2C3B59; stroke-width: 1.2; }
.flow .node-ai { fill: #0F2A33; stroke: var(--teal); stroke-width: 1.6; }
.flow .node-gate { fill: var(--surface); stroke: var(--teal); stroke-width: 1.6; }
.flow .label-strong { font-weight: 650; fill: var(--white); font-size: 14px; }
.flow .label-dim { fill: #9FB0C8; font-size: 12px; }
.flow .wire { fill: none; stroke: #2F4163; stroke-width: 1.6; }
.flow .pulse { fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 10 90; animation: flow 3.6s linear infinite; }
.flow .pulse.d2 { animation-delay: -1.2s; }
.flow .pulse.d3 { animation-delay: -2.4s; }
@keyframes flow { to { stroke-dashoffset: -100; } }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-tight { padding: var(--section-y-tight) 0; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.on-dark .section-head p { color: var(--muted-dark); }
.bg-white { background: var(--white); }

/* Problem list: a simple ruled list, not cards */
.problems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.problems div { padding: 22px 0; border-top: 1px solid var(--line); }
.problems h3 { margin-bottom: .3em; }
.problems p { margin: 0; color: var(--muted); }

/* Solution chain */
.chain { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 40px 0 0; padding: 0; list-style: none; }
.chain li { position: relative; padding: 20px 18px 20px 0; border-top: 2px solid var(--teal); color: #DCE5F3; font-weight: 600; font-family: var(--font-head); font-size: 1.08rem; }
.chain li small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .92rem; color: var(--muted-dark); margin-top: 6px; line-height: 1.5; }

/* Service list */
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.service-row h3 { margin: 0; }
.service-row h3 a { color: var(--text); text-decoration: none; }
.service-row h3 a:hover { color: var(--teal-ink); }
.service-row p { margin: 0; color: var(--muted); }

/* Process: a genuine sequence, so numbered */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 18px; border-top: 2px solid var(--teal-ink); }
.steps li::before { content: counter(step); display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--teal-ink); margin-bottom: 4px; }
.steps h3 { font-size: 1.15rem; margin-bottom: .35em; }
.steps p { font-size: .98rem; color: var(--muted); margin: 0; }
.note { font-size: .95rem; color: var(--muted); margin-top: 28px; }

/* Use cases */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.case h3 { font-size: 1.1rem; }
.case p { color: var(--muted); font-size: .98rem; margin: 0; }
.label-illustrative { font-size: .92rem; color: var(--muted); margin-top: 22px; }

/* Split block */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }

/* CTA band */
.cta-band { background: var(--surface); text-align: left; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 40px; align-items: center; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 54ch; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.6rem; color: var(--teal-ink); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 20px; color: var(--muted); }
.faq .answer p { margin-bottom: .7em; }

/* Page head (inner pages) */
.page-head { padding: 72px 0 60px; }
.page-head p { font-size: 1.15rem; max-width: 60ch; }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); max-width: 22ch; }

/* Service detail blocks */
.svc { padding: 56px 0; border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 0; }
.svc-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 56px; }
.svc h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.svc .tagline { color: var(--muted); font-size: 1.08rem; }
.svc h3 { font-size: 1.35rem; font-family: var(--font-head); font-weight: 650; margin: 28px 0 8px; letter-spacing: -0.01em; }
.svc h3:first-child { margin-top: 0; }
.svc ul { margin: 0 0 .5em; }
.svc li { margin-bottom: .35em; }
.svc p { color: var(--text); }
.oversight { border-left: 3px solid var(--teal-ink); padding: 4px 0 4px 16px; color: var(--muted); font-size: .98rem; max-width: var(--measure); }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 7px 14px; border: 1px solid #34456A; border-radius: 999px; color: #DCE5F3 !important; text-decoration: none; font-size: .94rem; }
.toc a:hover { border-color: var(--teal); }

/* Forms */
.form { display: grid; gap: 18px; max-width: 560px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--white);
  border: 1.5px solid #8795AB; border-radius: 8px; padding: 12px 14px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(10, 143, 130, .45); border-color: var(--teal-ink); }
.field .error { color: #A61B1B; font-size: .94rem; margin-top: 6px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #A61B1B; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { margin-top: 6px; width: 18px; height: 18px; accent-color: var(--teal-ink); }
.preview-banner { background: #FFF6DD; border: 1px solid #E6CF85; color: #4D3A00; border-radius: 8px; padding: 12px 16px; font-size: .96rem; margin-bottom: 24px; max-width: 560px; }
.form-status { padding: 14px 16px; border-radius: 8px; background: #E4F6F3; border: 1px solid #8ADBCF; color: #0B4B44; display: none; max-width: 560px; }
.form-status.show { display: block; }
.expect { padding-left: 0; list-style: none; }
.expect li { padding: 12px 0; border-top: 1px solid var(--line); }
.expect li:last-child { border-bottom: 1px solid var(--line); }

/* Prose pages */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose p, .prose li { max-width: none; }
.review-flag { background: #FFF6DD; border: 1px solid #E6CF85; border-radius: 8px; padding: 14px 18px; color: #4D3A00; font-size: .97rem; margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #B4C1D6; padding: 56px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h2 { font-family: var(--font-body); font-size: .95rem; font-weight: 700; color: var(--white); letter-spacing: 0; margin-bottom: 12px; }
.site-footer p { color: #B4C1D6; font-size: .98rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #D5DEEC; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--teal-text); }
.footer-base { border-top: 1px solid var(--line-dark); margin-top: 36px; padding-top: 22px; font-size: .92rem; color: #8FA0BA; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .svc-grid, .cta-band .wrap { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  .hero-grid { gap: 40px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .chain { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .cases { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid { gap: 20px; }
}
@media (max-width: 1023px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 72px;
    background: linear-gradient(180deg, #12223A 0%, #0F1C31 100%); border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 14px 28px rgba(3, 8, 18, .45);
    flex-direction: column; align-items: stretch; padding: 12px 20px 22px; gap: 14px;
  }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav a:not(.btn) { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
}
@media (max-width: 760px) {
  .problems { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 6px; }
  .cases { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding: 44px 0 28px; }
  .site-footer li { margin-bottom: 2px; }
  .site-footer li a { display: inline-block; padding: 6px 0; }
  .footer-base { margin-top: 28px; }
  .page-head { padding: 48px 0 44px; }
  .svc { padding: 40px 0; }
  .section-head { margin-bottom: 28px; }
}
@media (max-width: 520px) {
  .steps, .chain { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow .pulse { animation: none; stroke-dasharray: none; opacity: .0; }
  * { transition: none !important; }
}

/* ---------- Interactive hero background + section artwork ---------- */
.hero { position: relative; overflow: hidden; }
.hero > .wrap { position: relative; z-index: 1; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.motion-toggle {
  position: absolute; right: 20px; bottom: 16px; z-index: 2;
  background: rgba(17, 27, 46, .85); color: #C3CEE0; border: 1px solid #34456A; border-radius: 999px;
  padding: 7px 14px; font: inherit; font-size: .86rem; cursor: pointer;
}
.motion-toggle:hover { color: var(--white); border-color: var(--teal); }
.cta-band, .section.on-dark {
  background-image: url("/assets/bg-flow.svg"); background-size: cover; background-position: center;
}
@media (max-width: 760px) { .motion-toggle { right: 12px; bottom: 10px; } }

/* ---------- Services hero: full-width service slideshow ---------- */
.hero-slides { min-height: 820px; padding: 56px 0 0; }
.hero-slides .wrap { z-index: 2; }
.hero-slides .wrap, .hero-slides .slides { font-family: var(--font-sia); }
/* Home hero eyebrow: large, glossy, multicolour title (champagne -> azure -> violet -> teal),
   with a fine gradient hairline and a slow light glint. */
.hero-ai .eyebrow {
  position: relative; display: inline-block;
  font-family: var(--font-brand); font-weight: 400; text-transform: uppercase;
  font-size: clamp(.92rem, .7rem + .75vw, 1.22rem); letter-spacing: .14em; line-height: 1.5;
  margin: 0 0 22px; padding: .1em 0 .55em;
  /* gloss on the top half, a glint band that drifts across the letters only, then the colour spectrum */
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.12) 46%, rgba(255,255,255,0) 54%),
    linear-gradient(100deg, rgba(255,255,255,0) 42%, rgba(255,255,255,.75) 50%, rgba(255,255,255,0) 58%),
    linear-gradient(100deg, #F6E3B4 0%, #FFD8A8 14%, #9CC3FF 34%, #B9A2FF 54%, #7FE7D9 74%, #F3D9A4 100%);
  background-size: 100% 100%, 250% 100%, 100% 100%; background-repeat: no-repeat;
  background-position: 0 0, 160% 0, 0 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #F3D9A4;
  animation: eb-glint 9s ease-in-out infinite;
  filter: drop-shadow(0 0 14px rgba(139, 92, 246, .22)) drop-shadow(0 1px 0 rgba(0, 0, 0, .35));
}
.hero-ai .eyebrow::after {          /* hairline underline in the same spectrum */
  content: ""; position: absolute; left: 0; bottom: 0; width: 72%; height: 1px;
  background: linear-gradient(90deg, rgba(246,227,180,.9), rgba(156,195,255,.8) 40%, rgba(185,162,255,.7) 70%, rgba(127,231,217,0));
}
.hero-ai .eyebrow .ai-accent {      /* AI keeps the brand AI gradient, with the same gloss */
  background-image: linear-gradient(180deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,.1) 46%, rgba(255,255,255,0) 54%), var(--ai-grad);
}
@keyframes eb-glint { 0%, 55% { background-position: 0 0, 160% 0, 0 0; } 100% { background-position: 0 0, -60% 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { .hero-ai .eyebrow { animation: none !important; } }
@media (max-width: 640px) { .hero-ai .eyebrow { letter-spacing: .1em; } }
.hero-slides .eyebrow { margin-bottom: 10px; font-family: var(--font-sia); font-weight: 400; font-size: .875rem; letter-spacing: .02em; }
.hero-slides h1 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.015em; font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1.08; max-width: 22ch; margin-bottom: .35em; }
.hero-slides .wrap > p:last-child { max-width: 56ch; font-size: 1rem; line-height: 1.6; font-weight: 300; }
.slides { position: absolute; inset: 0; z-index: 0; background: radial-gradient(900px 500px at 75% 40%, #16264A, var(--navy)); }
.slides-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.slides.no-gl .slides-gl { display: none; }
.slides.no-gl { background: radial-gradient(800px 420px at 80% 30%, rgba(255,77,196,.28), transparent 60%), radial-gradient(900px 480px at 60% 80%, rgba(51,181,255,.30), transparent 60%), radial-gradient(700px 400px at 95% 70%, rgba(255,179,51,.20), transparent 60%), var(--navy); }
.slides::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(11,18,32,.86) 0%, rgba(11,18,32,.55) 34%, rgba(11,18,32,0) 62%),
              linear-gradient(0deg, rgba(11,18,32,.55) 0%, rgba(11,18,32,0) 30%); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s cubic-bezier(.4,0,.2,1), visibility 0s linear .7s; }
.slide.active { opacity: 1; visibility: visible; transition: opacity 1.2s cubic-bezier(.4,0,.2,1) .2s, visibility 0s; }
.slide-body { position: absolute; z-index: 2; bottom: 112px; left: max(20px, calc((100% - 1120px) / 2)); width: min(840px, calc(100% - 40px)); }
/* Sia-style: soft, eased cross-fade of the whole slide, with the lines settling in gently one after another */
.slide .slide-body > * { opacity: 0; transform: translateY(14px); transition: opacity 1s cubic-bezier(.4,0,.2,1), transform 1.3s cubic-bezier(.22,.61,.36,1); }
.slide.active .slide-body > * { opacity: 1; transform: none; }
.slide.active .slide-body > :nth-child(1) { transition-delay: .2s; } .slide.active .slide-body > :nth-child(2) { transition-delay: .3s; }
.slide.active .slide-body > :nth-child(3) { transition-delay: .42s; } .slide.active .slide-body > :nth-child(4) { transition-delay: .54s; }
.slide.active .slide-body > :nth-child(5) { transition-delay: .66s; }
.hero-slides .slide-num { display: block; font-family: var(--font-sia); font-weight: 400; font-size: .875rem; letter-spacing: .12em; color: var(--c1); margin-bottom: 14px; }
.slide-num::after { content: ""; display: inline-block; width: 56px; height: 2px; margin-left: 14px; vertical-align: middle; background: linear-gradient(90deg, var(--c1), var(--c2)); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.22,.61,.36,1) .5s; }
.slide.active .slide-num::after { transform: scaleX(1); }
.hero-slides .slide-title { font-family: var(--font-sia); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.16; letter-spacing: 0; margin: 0 0 18px;
  color: var(--white); background: linear-gradient(100deg, #fff 8%, var(--c1) 62%, var(--c2) 108%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-slides .slide-title.long { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.hero-slides .slide-benefit { font-family: var(--font-sia); font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.34; font-weight: 400; color: var(--white); margin: 0 0 12px; max-width: 36ch; }
.hero-slides .slide-text { font-family: var(--font-sia); color: #D3DEEE; font-size: 1.05rem; line-height: 1.6; font-weight: 300; margin: 0 0 24px; max-width: 52ch; }
.on-dark.hero-slides a.slide-link { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 28px; border: 1px solid var(--c1); font-family: var(--font-sia); font-size: 14px; font-weight: 400; color: var(--white); background: rgba(255,255,255,.06); text-decoration: none; transition: background .2s, box-shadow .2s; }
.on-dark.hero-slides a.slide-link:hover { background: rgba(255,255,255,.16); box-shadow: 0 0 22px -2px var(--c1); }
.slide-controls { position: absolute; z-index: 3; bottom: 40px; left: max(20px, calc((100% - 1120px) / 2)); display: flex; align-items: center; gap: 12px; }
.hero-slides .counter { margin: 0; font-family: var(--font-sia); color: #AEBBD0; font-size: 12px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.hero-slides .counter b { color: var(--white); font-weight: 700; }
.progress { width: 160px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.18); overflow: hidden; }
.progress i { display: block; height: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, #28D7C4, #FF4DC4, #FFB333); }
.is-reduced .progress { display: none; }
.ctl { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #E3EBF7; cursor: pointer;
  background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ctl:hover { border-color: var(--teal); color: var(--white); }
.ctl[hidden] { display: none; }
.playpause .i-play { display: none; }
.is-paused .playpause .i-play { display: block; }
.is-paused .playpause .i-pause { display: none; }

.toc-strip { background: var(--white); border-bottom: 1px solid var(--line); padding: 18px 0; }
.toc-strip .toc { margin: 0; }
.toc-strip .toc a { color: var(--text) !important; border-color: var(--line); background: var(--bg); }
.toc-strip .toc a:hover { border-color: var(--teal-ink); color: var(--teal-ink) !important; }

@media (max-width: 960px) {
  .hero-slides { min-height: 860px; }
  .slides::before { background: linear-gradient(180deg, rgba(11,18,32,.8) 0%, rgba(11,18,32,.35) 40%, rgba(11,18,32,.85) 100%); }
  .slide-body { bottom: 104px; }
  .progress { width: 90px; }
}
@media (prefers-reduced-motion: reduce) { .slide, .slide.active, .slide .slide-body > * { transition: none !important; transform: none !important; } }

/* ---------- About: space hero ---------- */
.hero-space { min-height: 580px; padding-top: 110px; background: radial-gradient(1200px 600px at 80% 50%, #0F1B33, var(--navy) 70%); }
.hero-space h1 { max-width: 16ch; }
.hero-space .wrap > p:last-child { max-width: 46ch; }
@media (max-width: 960px) { .hero-space { min-height: 640px; padding-top: 56px; } }

/* ---------- Home: 3D glossy flowchart ---------- */
.g3d { position: relative; width: 100%; }
.g3d-stage { position: absolute; inset: 0; perspective: 1500px; perspective-origin: 50% 35%; }
.g3d-scene { --w: 640px; --h: 420px; position: absolute; left: 50%; top: 50%; width: var(--w); height: var(--h);
  margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2);
  transform: scale(var(--s, 1)) rotateX(var(--rx, 12deg)) rotateY(var(--ry, -20deg)); transform-style: preserve-3d; transition: transform .3s ease-out; }
.g3d-floor { position: absolute; left: -60px; right: -60px; top: 60px; bottom: -60px; transform: translateZ(-90px);
  background: radial-gradient(closest-side, rgba(40,215,196,.22), rgba(40,215,196,0) 72%), repeating-linear-gradient(0deg, rgba(120,160,220,.10) 0 1px, transparent 1px 36px), repeating-linear-gradient(90deg, rgba(120,160,220,.10) 0 1px, transparent 1px 36px);
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent 100%); mask-image: radial-gradient(closest-side, #000 40%, transparent 100%); }
.g3d-wires { position: absolute; left: 0; top: 0; overflow: visible; transform: translateZ(14px); }
.g3d-wires-m { display: none; }
.g3d-wires path { fill: none; stroke-linecap: round; }
.g3d-wires .tube path { stroke: #5A86C8; stroke-width: 8; filter: drop-shadow(0 0 8px rgba(40,215,196,.35)); opacity: .75; }
.g3d-wires .spark path { stroke: #7FF3E4; stroke-width: 3; stroke-dasharray: 7 93; stroke-dashoffset: 0; animation: g3dflow 3.4s linear infinite; filter: drop-shadow(0 0 6px #28D7C4); }
.g3d-wires .spark .d2 { animation-delay: -1.1s; } .g3d-wires .spark .d3 { animation-delay: -2.2s; }
@keyframes g3dflow { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

.gnode, .gsphere { position: absolute; transform-style: preserve-3d; color: #fff; animation: g3dbob 6s ease-in-out infinite; }
.gnode { border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; gap: 2px;
  background: linear-gradient(140deg, rgba(255,255,255,.42) 0%, rgba(150,190,255,.14) 40%, rgba(40,215,196,.22) 100%), rgba(40,72,128,.62);
  border: 1px solid rgba(255,255,255,.34);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.6), inset 0 -14px 24px rgba(5,10,24,.35), 0 26px 40px -10px rgba(0,0,0,.55), 0 0 36px rgba(40,215,196,.14); }
.gnode::before, .gnode::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.gnode::before { transform: translateZ(-9px); background: #2B5497; border: 1px solid rgba(255,255,255,.22); }
.gnode::after { transform: translateZ(-18px); background: #173569; box-shadow: 0 30px 40px rgba(0,0,0,.5); }
.gnode b { font-family: var(--font-head); font-size: 18px; font-weight: 650; line-height: 1.15; position: relative; z-index: 1; }
.gnode span, .gsphere small { font-size: 13.5px; color: #C7D6EC; line-height: 1.3; position: relative; z-index: 1; }
.gloss { position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.12) 26%, rgba(255,255,255,0) 27%), linear-gradient(180deg, rgba(255,255,255,.16), transparent 45%); mix-blend-mode: screen; opacity: .9; }
.n1 { left: 0; top: 42px; width: 150px; height: 70px; transform: translateZ(30px); }
.n2 { left: 0; top: 175px; width: 150px; height: 70px; transform: translateZ(8px); animation-delay: -2s; }
.n3 { left: 0; top: 308px; width: 150px; height: 70px; transform: translateZ(30px); animation-delay: -4s; }
.n-ai { left: 215px; top: 120px; width: 150px; height: 180px; transform: translateZ(70px); align-items: center; text-align: center; animation-delay: -1s;
  background: linear-gradient(140deg, rgba(255,255,255,.34), rgba(40,215,196,.30) 55%, rgba(15,107,107,.35)), rgba(10,60,70,.55);
  border-color: rgba(127,243,228,.7); box-shadow: inset 0 1.5px 0 rgba(255,255,255,.7), inset 0 -18px 28px rgba(0,40,50,.4), 0 30px 50px -10px rgba(0,0,0,.6), 0 0 60px rgba(40,215,196,.45); }
.n-ai::before { background: #0E5A62; } .n-ai::after { background: #08343C; }
.n-ai em { font-style: normal; font-family: var(--font-head); font-weight: 750; font-size: 44px; line-height: 1; letter-spacing: -.02em; margin-bottom: 8px; text-shadow: 0 0 22px rgba(127,243,228,.9); position: relative; z-index: 1; }
.ring { position: absolute; left: 50%; top: 50%; width: 230px; height: 230px; margin: -115px 0 0 -115px; border-radius: 50%; border: 1.5px solid rgba(127,243,228,.55);
  box-shadow: 0 0 14px rgba(40,215,196,.4); transform: rotateX(72deg); animation: g3dspin 9s linear infinite; pointer-events: none; }
.ring.r2 { width: 280px; height: 280px; margin: -140px 0 0 -140px; border-color: rgba(157,140,255,.5); animation-duration: 14s; animation-direction: reverse; }
@keyframes g3dspin { from { transform: rotateX(72deg) rotateZ(0); } to { transform: rotateX(72deg) rotateZ(360deg); } }
.gsphere { left: 423px; top: 178px; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; transform: translateZ(45px); animation-delay: -3s;
  background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.9), rgba(160,235,255,.35) 22%, rgba(40,215,196,.5) 55%, rgba(10,70,90,.9) 100%);
  box-shadow: inset -8px -10px 18px rgba(0,20,40,.5), 0 22px 30px -8px rgba(0,0,0,.6), 0 0 40px rgba(40,215,196,.45); }
.gsphere svg { position: relative; z-index: 1; filter: drop-shadow(0 2px 4px rgba(0,40,40,.6)); }
.gsphere small { position: absolute; top: 76px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.gsphere .gloss { border-radius: 50%; }
.n-sys { left: 520px; top: 125px; width: 120px; height: 170px; transform: translateZ(25px); animation-delay: -5s; }
@keyframes g3dbob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
.g3d.is-paused *, .g3d.is-paused { animation-play-state: paused !important; }

@media (max-width: 640px) {
  .g3d-scene { --w: 360px; --h: 540px; }
  .g3d-wires-d { display: none; } .g3d-wires-m { display: block; }
  .n1 { left: 0; top: 0; width: 112px; height: 64px; padding: 10px 12px; } .n2 { left: 124px; top: 0; width: 112px; height: 64px; padding: 10px 12px; } .n3 { left: 248px; top: 0; width: 112px; height: 64px; padding: 10px 12px; }
  .n1 span, .n2 span, .n3 span { font-size: 11px; } .n1 b, .n2 b, .n3 b { font-size: 14px; }
  .n-ai { left: 85px; top: 170px; width: 190px; height: 110px; } .n-ai em { font-size: 32px; margin-bottom: 4px; } .ring { width: 190px; height: 190px; margin: -95px 0 0 -95px; } .ring.r2 { width: 240px; height: 240px; margin: -120px 0 0 -120px; }
  .gsphere { left: 148px; top: 340px; } .gsphere small { left: 100px; top: 22px; transform: none; }
  .n-sys { left: 70px; top: 450px; width: 220px; height: 90px; }
}
@media (prefers-reduced-motion: reduce) { .gnode, .gsphere, .ring, .g3d-wires .spark path { animation: none !important; } }

/* ---------- Home hero: cinematic AI backdrop ---------- */
.hero-ai { background: #0B1220; }
.hero-ai .hero-canvas { z-index: 0; }
/* left-to-right scrim keeps the headline, lead, CTAs and microcopy readable */
.hero-ai::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(7,11,22,.82) 0%, rgba(7,11,22,.78) 28%, rgba(7,11,22,.66) 40%, rgba(7,11,22,.38) 55%, rgba(7,11,22,.10) 70%, rgba(7,11,22,0) 84%); }
.hero-ai > .wrap { position: relative; z-index: 2; width: min(var(--wrap), 100% - 40px); }
.hero-ai .hero-grid { display: grid; grid-template-columns: minmax(340px, 420px) minmax(0, 1fr); gap: 44px; align-items: start; }
.hero-ai.no-gl .hero-canvas { display: none; }
.hero-ai.no-gl { background:
  radial-gradient(760px 420px at 86% 16%, rgba(40,215,196,.20), transparent 62%),
  radial-gradient(900px 520px at 64% 78%, rgba(91,168,255,.20), transparent 62%),
  radial-gradient(620px 380px at 96% 56%, rgba(255,185,138,.13), transparent 60%),
  radial-gradient(700px 460px at 40% 42%, rgba(140,157,255,.12), transparent 64%),
  #0B1220; }
@media (max-width: 1040px) {
  .hero-ai .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-ai::before { background: linear-gradient(180deg, rgba(11,18,32,.94) 0%, rgba(11,18,32,.88) 35%, rgba(11,18,32,.60) 65%, rgba(11,18,32,.85) 100%); }
}
/* ---------- Voice agent CTA ---------- */
.btn-voice { gap: 9px; border-color: var(--teal); color: var(--white); background: rgba(40,215,196,.10); }
.btn-voice:hover { background: rgba(40,215,196,.20); border-color: #5BE6D6; }
.btn-voice[hidden] { display: none; }
.voice-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none;
  box-shadow: 0 0 0 0 rgba(40,215,196,.75); animation: voicePulse 2.2s ease-out infinite; }
@keyframes voicePulse {
  0%   { box-shadow: 0 0 0 0 rgba(40,215,196,.75); }
  70%  { box-shadow: 0 0 0 9px rgba(40,215,196,0); }
  100% { box-shadow: 0 0 0 0 rgba(40,215,196,0); }
}
@media (prefers-reduced-motion: reduce) { .voice-dot { animation: none; } }


/* =====================================================================
   Design review fixes (2026-11-20): Impeccable + taste-skill + modern-web-design
   ===================================================================== */
/* Body text on light grounds at 7:1+ (was #4A5A70, 6.66:1 on #F7F9FC). */
:root { --muted: #3E4C61; }

/* Visible keyboard focus everywhere: bright teal ring on dark areas, deep teal on light. */
.hero :focus-visible, .on-dark :focus-visible, .hero-flow-board :focus-visible, .interactive-section.on-dark :focus-visible {
  outline: 3px solid var(--teal); outline-offset: 3px;
}
.motion-toggle { z-index: 3; }
.motion-toggle:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; color: var(--white); border-color: var(--teal); }

/* Hero: tighter vertical rhythm so the headline and main button sit well above the fold. */
.hero-ai { padding: 44px 0 48px; }
.hero-ai .hero h1, .hero-ai h1 { margin-bottom: .35em; }
.hero-ai .cta-row { margin-top: 26px; }
.hero-ai .microcopy { margin-top: 18px; }

/* One button system: one primary (teal fill), one secondary (teal outline), same shape and height. */
.btn-ghost, .btn-voice {
  background: transparent; border-color: var(--teal); color: var(--white);
}
.btn-ghost:hover, .btn-voice:hover { background: rgba(40, 215, 196, .12); border-color: #5BE6D6; }
.on-light .btn-ghost, .section:not(.on-dark) .btn-ghost { color: var(--teal-ink); border-color: var(--teal-ink); }

/* One label style above headings, sitewide (the home hero keeps its larger luxury version). */
.eyebrow {
  font-family: var(--font-brand); font-weight: 400; text-transform: uppercase;
  font-size: .78rem; letter-spacing: .14em; line-height: 1.5;
}
.hero-slides .eyebrow { font-family: var(--font-brand); font-size: .78rem; letter-spacing: .14em; }

/* Readable line length for running text. */
.section p, .page-head p { max-width: 54ch; }

/* Phones: every link and control outside running text at least 44px tall. */
@media (max-width: 760px) {
  .service-row h3 a, .site-footer li a, .footer-grid a, .text-link { display: inline-flex; align-items: center; min-height: 44px; }
  .site-footer .wordmark { min-height: 44px; }
}

/* Busy line-art backgrounds on dark bands: calm them under text on small screens. */
@media (max-width: 760px) {
  .cta-band, .section.on-dark {
    background-image: linear-gradient(rgba(11,18,32,.88), rgba(11,18,32,.88)), url("/assets/bg-flow.svg");
  }
}

/* Phones: the hero's WebGL canvas draws nothing at this size; skip it (the Aurora Veil gives the depth). */
@media (max-width: 640px) { .hero-ai .hero-canvas { display: none; } }

/* Impeccable leftovers (2026-11-20): no lone last-line words in body copy */
p, li, .lead { text-wrap: pretty; }
