/* =====================================================================
   AICOS — design system W3 (mockup-guided, official palette, dark-first)
   Carbon #0D0F12 · Graphite #16181D · Silver #D9DCE3 · Violet #6E3BFF ·
   Amber #FF9A00 · OK green (ticks only) #35C97E
   Static site · self-hosted Space Grotesk (OFL) · one small JS file
   ===================================================================== */

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

/* ---- tokens ---------------------------------------------------------- */
:root {
  color-scheme: dark;
  --carbon: #0D0F12;
  --graphite: #16181D;
  --panel: #1A1D24;
  --silver: #D9DCE3;
  --muted: #8A93A3;
  --violet: #6E3BFF;
  --violet-text: #A88BFF;
  --amber: #FF9A00;
  --ok: #35C97E;
  --line: rgba(217, 220, 227, 0.10);
  --line-strong: rgba(217, 220, 227, 0.18);
  --font: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1140px;
  --s1: 8px; --s2: 12px; --s3: 16px; --s4: 24px; --s5: 32px;
  --s6: 48px; --s7: 72px; --s8: 112px;
}

/* ---- base ------------------------------------------------------------ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--carbon);
  color: var(--silver);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 650; }
p { margin: 0; }
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 3px; }
::selection { background: rgba(110, 59, 255, 0.45); color: #fff; }
h1, h2 { text-wrap: balance; }

.skip-link {
  position: absolute; left: -9999px; top: 10px; z-index: 200;
  background: var(--violet); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 12px; }

.wrap { width: min(var(--wrap), calc(100% - 44px)); margin-inline: auto; }
.narrow { max-width: 760px; }
.narrow-sm { max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.center .hero-cta { justify-content: center; }
.mt-lg { margin-top: var(--s5); }
.back-row { margin-top: var(--s6); }
.section-last { border-bottom: none; }
.text-link {
  color: var(--silver); text-decoration: none; font-weight: 600;
  border-bottom: 2px solid var(--amber); padding-bottom: 2px;
}
.text-link:hover { color: var(--violet-text); }
.muted { color: var(--muted); }

/* ---- header ---------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: box-shadow .2s ease;
  background: rgba(13, 15, 18, 0.80);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: 0 12px 32px rgba(0, 0, 0, 0.38); }
.header-inner { display: flex; align-items: center; gap: var(--s4); min-height: 84px; }
.logo-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { height: 52px; width: 52px; }
.logo-stack { display: grid; line-height: 1.15; }
.logo-word { font-weight: 750; font-size: 1.3rem; letter-spacing: 0.05em; color: var(--silver); }
.logo-desc { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet-text); }
.nav { margin-left: auto; display: flex; gap: var(--s4); align-items: center; }
.nav-link {
  color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500;
  padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .15s ease;
}
.nav-link:hover, .nav-link.active { color: var(--silver); border-bottom-color: var(--amber); }
.nav-cta { margin-left: var(--s2); }
.menu-btn {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong);
  color: var(--silver); border-radius: 8px; padding: 9px 12px; font: inherit; cursor: pointer;
}

/* ---- buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px; border-radius: 9px;
  font: 600 1rem var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.93rem; }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 8px 32px rgba(110, 59, 255, 0.32); }
.btn-primary:hover { background: #7d51ff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--silver); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--silver); }

/* ---- hero ------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 480px at 80% -10%, rgba(110, 59, 255, 0.16), transparent 65%),
    radial-gradient(600px 300px at 8% 110%, rgba(255, 154, 0, 0.05), transparent 70%),
    var(--carbon);
}
.hero::after {
  content: ""; position: absolute; z-index: 0; right: -160px; top: 50%;
  width: 760px; height: 760px; transform: translateY(-50%);
  background: url("assets/logo-emblem.png") center/contain no-repeat;
  opacity: 0.07; pointer-events: none;
  animation: emblem-drift 24s ease-in-out infinite;
}
/* Slow ambient drift on the emblem + light field. Deliberately near-invisible:
   the page should feel alive, not animated at you. */
@keyframes emblem-drift {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.07; }
  50%      { transform: translateY(-52%) scale(1.035); opacity: 0.10; }
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(520px 320px at 22% 18%, rgba(110, 59, 255, 0.13), transparent 68%);
  animation: aurora 18s ease-in-out infinite;
}
@keyframes aurora {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.9; }
  50%      { transform: translate3d(6%, 3%, 0); opacity: 1; }
}

/* ---- hero entrance --------------------------------------------------- */
/* Above the fold, so it runs on load rather than on scroll -- the first three
   seconds are the hook. Staggered so the eye lands on the headline first. */
.hero-copy > * { animation: hero-in .75s cubic-bezier(.22,.61,.36,1) both; }
.hero-copy > .kicker      { animation-delay: .05s; }
.hero-copy > .hero-title  { animation-delay: .15s; }
.hero-copy > .hero-sub    { animation-delay: .28s; }
.hero-copy > .hero-cta    { animation-delay: .40s; }
.hero-copy > .hero-proof  { animation-delay: .52s; }
@keyframes hero-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.hero-proof li { transition: color .25s ease, transform .25s ease; }
.hero-proof li:hover { color: var(--silver); transform: translateY(-1px); }
.hero-inner {
  position: relative; z-index: 1;
  padding: clamp(60px, 8.5vw, 112px) 0 clamp(56px, 7.5vw, 100px);
}
.hero-copy { max-width: 800px; }
.kicker {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--violet-text); margin: 0 0 var(--s4);
}
.hero-title { font-size: clamp(2.5rem, 5.2vw, 4.1rem); font-weight: 750; }
.hero-title .accent { color: var(--violet-text); }
.hero-sub { margin-top: var(--s4); color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.26rem); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.hero-proof { margin: var(--s5) 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); }
.hero-proof li { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 0.93rem; }
.hero-proof svg { width: 17px; height: 17px; fill: none; stroke: var(--violet-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- live run card --------------------------------------------------- */
.run {
  background: var(--graphite); border: 1px solid var(--line-strong); border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  padding: var(--s4) var(--s5) var(--s4);
}
.run-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.run-live { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--violet-text); }
.run-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.run-file { font-size: 0.84rem; color: var(--muted); }
.run-steps { margin: var(--s3) 0 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.run-steps li { display: flex; gap: 13px; align-items: flex-start; }
.run-steps b { display: block; font-size: 0.98rem; font-weight: 650; }
.run-steps span:not(.tick) { display: block; color: var(--muted); font-size: 0.87rem; }
.tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 2px;
  display: grid; place-items: center; font-size: 0.72rem; font-weight: 800;
  background: rgba(53, 201, 126, 0.16); color: var(--ok); border: 1px solid rgba(53, 201, 126, 0.45);
}
.run-steps li.wait .tick { background: rgba(255, 154, 0, 0.14); color: var(--amber); border-color: rgba(255, 154, 0, 0.5); }
.run-steps li.wait b { color: var(--amber); }
.run-btn { width: 100%; margin-top: var(--s4); }
.run-btn[disabled] { display: none; }
.run-note { margin-top: var(--s3); font-size: 0.82rem; color: var(--muted); text-align: center; }

/* ---- sections -------------------------------------------------------- */
.section { padding: clamp(60px, 8.5vw, 104px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.section-head { max-width: 740px; margin-bottom: var(--s6); }
.section-title { font-size: clamp(1.75rem, 3.4vw, 2.55rem); }
.lead { margin-top: var(--s4); color: var(--muted); font-size: 1.1rem; max-width: 62ch; }
.section-alt { background: var(--graphite); }
.fine-note { margin-top: var(--s4); color: var(--muted); font-size: 0.92rem; }

.sq-list { margin: var(--s5) 0 0; padding: 0; list-style: none; display: grid; gap: var(--s3); max-width: 62ch; }
.sq-list li { position: relative; padding-left: 26px; color: var(--muted); }
.sq-list li::before { content: ""; position: absolute; left: 0; top: 0.52em; width: 9px; height: 9px; background: var(--amber); }
.sq-list b { color: var(--silver); font-weight: 600; }

/* ---- loop (how it works) --------------------------------------------- */
.how-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--s6); align-items: center; margin-top: var(--s6); }
.steps-v { display: grid; gap: var(--s3); margin: 0; padding: 0; list-style: none; }
.step-v { display: flex; gap: var(--s3); align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: var(--s4); }
.step-v.human { border-color: rgba(255, 154, 0, 0.45); }
.step-v.human .stage-ic { background: rgba(255, 154, 0, 0.13); color: var(--amber); }
.step-v h3 { font-size: 1.08rem; }
.step-v p { margin-top: 5px; color: var(--muted); font-size: 0.93rem; }
.stage-ic {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px;
  background: rgba(110, 59, 255, 0.13); color: var(--violet-text);
}
.stage-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ribbon svg {
  display: inline; width: 15px; height: 15px; vertical-align: -2px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
}
.ribbon {
  margin: var(--s5) auto 0; width: fit-content; padding: 10px 22px;
  border: 1px dashed var(--line-strong); border-radius: 999px;
  color: var(--muted); font-size: 0.92rem;
}

/* ---- capability grid ------------------------------------------------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin-top: var(--s6); }
.tile {
  display: flex; gap: var(--s3); align-items: flex-start;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: var(--s4);
}
.tile-ic {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px;
  background: rgba(110, 59, 255, 0.13); color: var(--violet-text);
}
.tile-ic svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tile p { margin-top: 6px; color: var(--muted); font-size: 0.92rem; }
.chip {
  font-size: 0.66rem; letter-spacing: .12em; font-weight: 700;
  padding: 3px 9px; border-radius: 5px;
}
.chip-build { color: var(--violet-text); background: rgba(110, 59, 255, 0.14); border: 1px solid rgba(110, 59, 255, 0.4); }

/* ---- services -------------------------------------------------------- */
.grid { display: grid; gap: var(--s4); margin-top: var(--s6); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: var(--s5); }
.card h3 { font-size: 1.2rem; }
.card p { margin-top: var(--s2); color: var(--muted); }
.svc { border-top: 3px solid var(--violet); }
.svc:nth-child(2) { border-top-color: var(--amber); }


/* ---- controls -------------------------------------------------------- */
.controls { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); margin-top: var(--s6); }
.control { border-left: 2px solid var(--violet); padding: var(--s2) 0 var(--s2) var(--s4); }
.control h3 { font-size: 1.12rem; }
.control p { margin-top: var(--s2); color: var(--muted); font-size: 0.97rem; }

/* ---- about ------------------------------------------------------------ */
.pull {
  margin-top: var(--s5); padding-left: var(--s5); border-left: 2px solid var(--amber);
  font-size: 1.22rem; line-height: 1.5; color: var(--silver); max-width: 56ch;
}

/* ---- contact band ----------------------------------------------------- */
.band-wrap { border-bottom: none; padding-top: 0; }
.band {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s5); flex-wrap: wrap;
  background: linear-gradient(90deg, rgba(255,154,0,0.06), rgba(110,59,255,0.08));
  border: 1px solid rgba(255, 154, 0, 0.4); border-radius: 16px;
  padding: var(--s5) var(--s6);
}
.band-ic { flex: none; }
.band-title { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.band-sub { margin-top: 6px; color: var(--muted); }
.band-cta { display: flex; gap: var(--s3); flex-wrap: wrap; }

/* ---- footer ------------------------------------------------------------ */
.site-footer { background: var(--carbon); padding: var(--s7) 0 var(--s5); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s6); }
.footer-brand .logo-mark { height: 60px; width: 60px; }
.footer-lines { margin-top: var(--s3); color: var(--muted); font-size: 0.92rem; line-height: 1.8; }
.footer-h { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet-text); height: 60px; display: flex; align-items: center; margin: 0 0 var(--s3); }
.footer-grid nav { display: grid; gap: 10px; align-content: start; }
.footer-grid nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.footer-grid nav a:hover { color: var(--silver); }
.footer-bar {
  margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap;
  color: var(--muted); font-size: 0.86rem;
}

/* ---- staggered reveals (JS only; no-JS stays fully visible) -------- */
html.js .cap-grid .tile, html.js .steps-v .step-v {
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease, border-color .16s ease;
}
html.js .cap-grid.in .tile, html.js .steps-v.in .step-v { opacity: 1; transform: translateY(0); }
html.js .cap-grid.in .tile:hover, html.js .steps-v.in .step-v:hover { transform: translateY(-2px); }
html.js .cap-grid .tile:nth-child(2), html.js .steps-v .step-v:nth-child(2) { transition-delay: 70ms; }
html.js .cap-grid .tile:nth-child(3), html.js .steps-v .step-v:nth-child(3) { transition-delay: 140ms; }
html.js .cap-grid .tile:nth-child(4), html.js .steps-v .step-v:nth-child(4) { transition-delay: 210ms; }
html.js .cap-grid .tile:nth-child(5) { transition-delay: 280ms; }
html.js .cap-grid .tile:nth-child(6) { transition-delay: 350ms; }
.grid-3 .card.rv:nth-child(2), .controls .control.rv:nth-child(2) { transition-delay: 80ms; }
.grid-3 .card.rv:nth-child(3), .controls .control.rv:nth-child(3) { transition-delay: 160ms; }
.controls .control.rv:nth-child(4) { transition-delay: 240ms; }

/* ---- micro-interactions ---- */
.tile, .card, .step-v { transition: transform .16s ease, border-color .16s ease; }
.tile:hover, .card:hover, .step-v:hover { transform: translateY(-2px); border-color: var(--line-strong); }

/* ---- reveal motion ----------------------------------------------------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }

/* ---- article pages (privacy) ------------------------------------------ */
.article h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.article h2 { font-size: 1.3rem; margin-top: var(--s6); color: var(--silver); }
.article p { margin-top: var(--s3); color: var(--muted); }
.article a { color: var(--violet-text); }

/* ---- responsive -------------------------------------------------------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--s6); }
  .hero::after { display: none; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  html.js .nav {
    position: fixed; inset: 84px 0 auto 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--graphite); border-bottom: 1px solid var(--line-strong);
    padding: var(--s3) var(--s4) var(--s4);
    display: none;
  }
  html.js .nav.open { display: flex; }
  html.no-js .header-inner { flex-wrap: wrap; padding-bottom: var(--s3); }
  html.no-js .nav { width: 100%; flex-wrap: wrap; gap: var(--s3); }
  .nav-link { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-cta { margin: var(--s3) 0 0; }
  .menu-btn:not([hidden]) { display: inline-flex; }
  .logo-desc { display: none; }
  .logo-mark { height: 46px; width: 46px; }
  .cap-grid, .grid-3, .controls, .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; }
  .band { justify-content: center; text-align: center; }
  .band-cta { width: 100%; justify-content: center; }
  .band-cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .rv { opacity: 1; transform: none; }
  html.js .cap-grid .tile, html.js .steps-v .step-v { opacity: 1; transform: none; }
}

/* ---- W4: bento capabilities, timeline, systems, trust icons ----------- */
.cap-grid .tile:first-child { grid-column: span 2; }
.cap-grid .tile:first-child h3 { font-size: 1.2rem; }
.cap-grid .tile:nth-child(6) { grid-column: 1 / -1; }
.steps-v .step-v { position: relative; }
.steps-v .step-v:not(:last-child)::before {
  content: ""; position: absolute; left: calc(var(--s4) + 21px);
  bottom: calc(-1 * var(--s3) - 1px); width: 2px; height: calc(var(--s3) + 2px);
  background: var(--line-strong);
}
.control h3 { display: flex; align-items: center; gap: 10px; }
.c-ic { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--violet-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sys { display: grid; gap: var(--s3); margin-top: var(--s6); }
.sys-row {
  display: grid; grid-template-columns: 1fr auto; gap: var(--s4); align-items: start;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: var(--s4) var(--s5);
  transition: transform .16s ease, border-color .16s ease;
}
.sys-row:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.sys-row h3 { font-size: 1.12rem; }
.sys-row p { margin-top: 6px; color: var(--muted); font-size: 0.95rem; max-width: 70ch; }
.sys-row.reserved { border-style: dashed; }
.sys-row.reserved h3 { color: var(--muted); }
.chip-live { color: #0D0F12; background: var(--amber); }
.chip-res { color: var(--muted); background: transparent; border: 1px dashed var(--line-strong); }
@media (max-width: 720px) {
  .cap-grid .tile:first-child, .cap-grid .tile:nth-child(6) { grid-column: auto; }
  .sys-row { grid-template-columns: 1fr; }
}

/* ---- W6: micro-interactions ------------------------------------------ */
/* Depth on hover, so the page answers the cursor. Transform + border only:
   no layout shift, nothing that can reflow. All of it is switched off by the
   prefers-reduced-motion block above, which uses !important. */
.card, .tile, .control {
  transition: transform .28s cubic-bezier(.22,.61,.36,1),
              border-color .28s ease, background-color .28s ease;
  will-change: transform;
}
.card:hover, .tile:hover, .control:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}
.btn { transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.btn-primary:hover { box-shadow: 0 12px 40px rgba(110, 59, 255, 0.42); }
.btn-ghost:hover { transform: translateY(-1px); border-color: var(--line-strong); }
.nav-link { position: relative; }
/* Underline grows from the left rather than fading -- reads as a deliberate
   response, not a colour change. */
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1.5px; width: 100%;
  background: var(--amber); transform: scaleX(0); transform-origin: left;
  transition: transform .26s cubic-bezier(.22,.61,.36,1);
}
.nav-link:hover::after, .nav-link:focus-visible::after { transform: scaleX(1); }
