/* AMASTECH site styles. No build step: edit and reload. */

:root {
  --navy-950: #071322;
  --navy-900: #0b1b2e;
  --navy-800: #12294a;
  --navy-700: #1b3a66;
  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;
  --amber-400: #fbbf24;

  --bg: #ffffff;
  --bg-alt: #f3f6fa;
  --surface: #ffffff;
  --text: #0f1d2f;
  --muted: #52627a;
  --line: #dde4ee;
  --accent: #0d9488;
  --accent-strong: #0f766e;
  --accent-soft: #e6f6f4;
  --shadow: 0 1px 2px rgba(11, 27, 46, .06), 0 8px 24px rgba(11, 27, 46, .06);

  --radius: 14px;
  --wrap: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", var(--font);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1626;
    --bg-alt: #0e1d31;
    --surface: #12233a;
    --text: #e6edf6;
    --muted: #9cadc4;
    --line: #22395a;
    --accent: #2dd4bf;
    --accent-strong: #5eead4;
    --accent-soft: rgba(45, 212, 191, .12);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}
:root[data-theme="dark"] {
  --bg: #0a1626;
  --bg-alt: #0e1d31;
  --surface: #12233a;
  --text: #e6edf6;
  --muted: #9cadc4;
  --line: #22395a;
  --accent: #2dd4bf;
  --accent-strong: #5eead4;
  --accent-soft: rgba(45, 212, 191, .12);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1.02rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--accent); }
img { max-width: 100%; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

.eyebrow {
  font: 600 .78rem/1 var(--font);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: var(--teal-500);
  color: #04201d;
  font: 600 .95rem/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--teal-400); transform: translateY(-1px); }
.btn:focus-visible, .tabs button:focus-visible, a:focus-visible { outline: 2px solid var(--amber-400); outline-offset: 2px; }
.btn--sm { padding: 9px 16px; font-size: .88rem; }
.btn--ghost { background: transparent; color: #e6edf6; border-color: rgba(230, 237, 246, .35); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(230, 237, 246, .6); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: #e6f6f4; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 19, 34, .88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 1.1rem/1 var(--display); letter-spacing: .06em; }
.nav__menu { display: flex; align-items: center; gap: 26px; }
.nav__menu a:not(.btn) { color: #c4d1e3; text-decoration: none; font-size: .93rem; font-weight: 500; }
.nav__menu a:not(.btn):hover { color: #fff; }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; margin: 5px 0; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }

@media (max-width: 1160px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-950);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 8px 16px 18px;
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a:not(.btn) { padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav__menu .btn { margin-top: 14px; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero */
.hero {
  position: relative;
  color: #e6edf6;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(20, 184, 166, .22), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(27, 58, 102, .9), transparent 70%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  padding: 72px 0 56px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
  pointer-events: none;
}
.hero .eyebrow { color: var(--teal-400); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.lede { font-size: 1.12rem; color: #b8c6da; max-width: 36em; }
.lede strong { color: #fff; font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero__art { margin: 0; display: grid; justify-items: center; gap: 10px; }
.hero-ill { width: 100%; max-width: 480px; height: auto; overflow: visible; }
.hero__art figcaption { font-size: .85rem; color: #8ea1bb; text-align: center; max-width: 34em; }
.hs-name { font-family: var(--display); }
.hs-sub { font-family: var(--font); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.facts {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: 64px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
}
.fact { background: rgba(7, 19, 34, .7); padding: 22px 22px; }
.fact b { display: block; font: 700 1.8rem/1 var(--display); color: #fff; margin-bottom: 8px; }
.fact span { font-size: .88rem; color: #9fb1c9; }

@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .facts { grid-template-columns: repeat(2, 1fr); margin-top: 44px; }
}
@media (max-width: 480px) {
  .fact { padding: 18px 16px; }
  .fact b { font-size: 1.5rem; }
}

/* Sections */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 720px; margin-bottom: 44px; }
.section__head p:last-child { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 720px) { .section { padding: 64px 0; } .section__head { margin-bottom: 32px; } }

.cards { display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .cards--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards--3 { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .cards--2 { grid-template-columns: 1fr; } }
.deliverable { margin: 18px 0 0; padding: 14px 16px; border-radius: 10px; background: var(--accent-soft); font-size: .92rem; }
.deliverable b { color: var(--text); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }

.practice__icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  margin-bottom: 18px;
}
.practice__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.ticks { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 24px; font-size: .93rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg) translateY(-3px);
}

/* Platforms */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 26px; }
.tabs button {
  border: 0; background: transparent; color: var(--muted);
  font: 600 .93rem/1 var(--font);
  padding: 11px 18px; border-radius: 8px; cursor: pointer;
}
.tabs button[aria-selected="true"] { background: var(--navy-900); color: #fff; }
:root[data-theme="dark"] .tabs button[aria-selected="true"] { background: var(--teal-500); color: #04201d; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tabs button[aria-selected="true"] { background: var(--teal-500); color: #04201d; } }

.panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 36px; align-items: start; animation: rise .35s ease both; }
.panel[hidden] { display: none; }
.panel__intro p { color: var(--muted); }
.panel > .note { grid-column: 2; }
.modules { display: grid; gap: 16px; }
.modules--4 { grid-template-columns: 1fr 1fr; }
.module { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; padding: 20px 22px; }
.module p { color: var(--muted); font-size: .93rem; margin: 0; }
.note { font-size: .93rem; color: var(--muted); background: var(--accent-soft); border-radius: 12px; padding: 16px 18px; margin: 0; }
.note b { color: var(--text); }
@media (max-width: 900px) {
  .panel { grid-template-columns: 1fr; gap: 24px; }
  .panel > .note { grid-column: auto; }
}
@media (max-width: 560px) { .modules--4 { grid-template-columns: 1fr; } .tabs { display: flex; } .tabs button { flex: 1 1 auto; } }


/* Engagement */
.engage__num { display: inline-block; font: 700 .85rem/1 var(--display); color: var(--accent); background: var(--accent-soft); padding: 7px 10px; border-radius: 8px; margin-bottom: 18px; }

/* Support */
.section--dark { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: #e6edf6; }
.section--dark .eyebrow { color: var(--teal-400); }
.section--dark h2 { color: #fff; }
.support { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.support__copy p { color: #b8c6da; font-size: 1.05rem; margin-bottom: 26px; }
.support__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.support__list li { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); border-radius: 12px; padding: 18px 20px; }
.support__list b { display: block; color: #fff; font-family: var(--display); font-weight: 600; margin-bottom: 6px; }
.support__list span { font-size: .9rem; color: #a9b9cf; }
@media (max-width: 900px) { .support { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) { .support__list { grid-template-columns: 1fr; } }

/* How we build */
.principles .card h3 { font-size: 1.06rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact__copy > p { color: var(--muted); font-size: 1.05rem; }
.contact__meta { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 28px 0 0; }
.contact__meta dt { font-weight: 600; font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding-top: 2px; }
.contact__meta dd { margin: 0; }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; }
.form input, .form select, .form textarea {
  width: 100%;
  font: 400 .97rem/1.4 var(--font);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form [aria-invalid="true"] { border-color: #dc2626; }
.form .btn { justify-self: start; }
.form__status { margin: 0; font-size: .9rem; color: var(--muted); min-height: 1.4em; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } .card { padding: 20px; } }

/* Footer */
.footer { background: var(--navy-950); color: #8ea1bb; padding: 36px 0; font-size: .9rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.footer p { margin: 0; }
.footer__copy { margin-left: auto !important; }
@media (max-width: 640px) { .footer__copy { margin-left: 0 !important; } }

/* Product status */
.panel__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn--outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--outline:hover { background: var(--accent-soft); }
.status { display: inline-flex; align-items: center; gap: 8px; font: 600 .76rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status--live { color: var(--accent); }
.status--next { margin-top: 28px; }
.modules--3 { grid-template-columns: repeat(3, 1fr); }
.modules--next .module { border-left-style: dashed; border-left-color: var(--muted); background: transparent; }
.modules--next .module p { font-size: .88rem; }
.note--spaced { margin-top: 16px; }
@media (max-width: 720px) { .modules--3 { grid-template-columns: 1fr; } }

/* Cross-links and the SubscriberOne panel */
.status--pair { margin-top: 28px; color: var(--muted); }
.module--link { display: block; text-decoration: none; color: inherit; transition: border-color .15s ease, transform .15s ease; }
.module--link h4 { color: var(--accent); }
.module--link:hover { border-color: var(--accent); transform: translateY(-1px); }
.products { display: grid; gap: 16px; }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.product h4 { font-size: 1.08rem; margin-bottom: 0; }
.product .ticks { margin-top: 14px; padding-top: 14px; }

/* Education teaser */
.teaser-wrap { padding-bottom: 0; }
.teaser { display: grid; grid-template-columns: auto minmax(0, 1.6fr) auto; gap: 32px; align-items: center; padding: 36px 40px; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid var(--line); }
.teaser h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.teaser__copy p:last-child { color: var(--muted); margin: 0; max-width: 46em; }
.teaser__cta { display: grid; gap: 12px; justify-items: start; }
.teaser__langs { margin: 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 800px) { .teaser { grid-template-columns: 1fr; padding: 26px 22px; gap: 22px; } }

/* Illustrations: drawn with the theme tokens, so they follow light and dark mode */
.ill { display: block; width: calc(100% + 12px); height: auto; margin: -6px -6px 20px; border-radius: 12px; background: var(--accent-soft); }
.ill--night { background: linear-gradient(150deg, var(--navy-900), var(--navy-800)); }
.ill--map { background: var(--bg-alt); border: 1px solid var(--line); }
.ill--warm { background: rgba(251, 191, 36, .12); }

/* Fibre map */
.m-grid { fill: none; stroke: var(--line); stroke-width: 1; }
.m-road { fill: none; stroke: var(--line); stroke-width: 9; stroke-linecap: round; opacity: .7; }
.m-label { fill: var(--text); font: 700 11px var(--font); letter-spacing: .08em; }
.m-small { fill: var(--muted); font: 600 9px var(--font); }
.i-house .m-alert { stroke: #ef4444; }
.m-ping { fill: #ef4444; }

/* Order tracker */
.o-track { stroke: var(--line); stroke-width: 4; stroke-linecap: round; }
.o-done { stroke: var(--amber-400); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 252; stroke-dashoffset: 63; }
.o-steps circle { fill: var(--surface); stroke: var(--amber-400); stroke-width: 2; }
.o-steps circle:last-child { stroke: var(--line); }
.o-glyph * { fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.o-cap text { fill: var(--muted); font: 600 9.5px var(--font); }
.o-strong { fill: var(--text); font: 700 11px var(--font); }
.o-dim { fill: var(--muted); font: 500 10px var(--font); }
.o-rule { stroke: var(--line); stroke-dasharray: 3 3; }
.o-pill { fill: rgba(34, 197, 94, .14); stroke: rgba(34, 197, 94, .5); }
.o-pill-dot { fill: #22c55e; }
.o-pill-text { fill: var(--text); font: 600 10px var(--font); }

/* Education teaser */
.teaser__art { width: 180px; height: auto; }
.e-book { fill: var(--surface); stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; }
.e-spine { stroke: var(--accent); stroke-width: 1.8; }
.e-line { fill: none; stroke: var(--line); stroke-width: 2; stroke-linecap: round; }
.e-body { fill: var(--navy-900); }
.e-ring { fill: var(--navy-700); }
.e-ok { fill: var(--teal-400); }
.e-arrow, .e-key { fill: #c4d1e3; }
.e-bubble rect, .e-bubble path { fill: var(--surface); stroke: var(--accent); stroke-width: 1.5; }
.e-bubble path { stroke: none; }
.e-bubble text { fill: var(--accent-strong); font: 700 20px var(--font); }
.i-frame { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.i-acc { fill: var(--accent); }
.i-fibre path { fill: none; stroke: var(--line); stroke-width: 3; stroke-linecap: round; }
.i-pulse path { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 26; }
.i-house path { fill: var(--surface); stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; }
.support__ill { display: block; width: 100%; max-width: 420px; height: auto; margin-top: 32px; }

/* Motion. Everything below is off for visitors who ask for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  /* Hero: the stack settles in, data flows up through it */
  .hs-slab { animation: slab-in .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hs-slab--3 { animation-delay: .05s; } .hs-slab--2 { animation-delay: .17s; }
  .hs-slab--1 { animation-delay: .29s; } .hs-slab--0 { animation-delay: .41s; }
  .hs-label, .hs-devices { animation: fade-in .6s ease .8s both; }
  .hs-flow { animation: flow-up 1.1s linear infinite; }
  .hs-glow { transform-box: fill-box; transform-origin: center; animation: glow 2.4s ease-in-out infinite; }
  .hs-glow--2 { animation-delay: .8s; } .hs-glow--1 { animation-delay: 1.6s; }

  /* Practice cards */
  .i-pulse path { animation: flow-out 1.4s linear infinite; }
  .i-led { animation: blink 1.2s steps(2, jump-none) infinite; }
  .i-led--2 { animation-delay: .4s; } .i-led--3 { animation-delay: .8s; }

  .hs-tile { transform-box: fill-box; animation: bob 3.6s ease-in-out infinite; }
  .hs-tile--1 { animation-delay: -.7s; } .hs-tile--2 { animation-delay: -1.4s; }
  .hs-tile--3 { animation-delay: -2.1s; } .hs-tile--4 { animation-delay: -2.8s; }
  .n-flow, .n-out { animation: flow-out 1s linear infinite; }
  .n-rec { animation: blink 1.4s steps(2, jump-none) infinite; }
  .n-wave { animation: blink 2s ease-in-out infinite; }
  .n-bar { transform-box: fill-box; transform-origin: left; animation: level 2.6s ease-in-out infinite; }
  .n-bar--2 { animation-delay: -.9s; } .n-bar--3 { animation-delay: -1.8s; }
  .m-ping { transform-box: fill-box; transform-origin: center; animation: ping 1.8s ease-out infinite; }
  .o-done { animation: progress 6s ease-in-out infinite; }
  .e-bubble { transform-box: fill-box; animation: bob 4s ease-in-out infinite; }
  .e-bubble--2 { animation-delay: -1.3s; } .e-bubble--3 { animation-delay: -2.6s; }

  /* Support panel */
  .s-beat { --len: 480; stroke-dasharray: var(--len); animation: draw 2.8s linear infinite; }
  .s-dot { animation: blink 1.6s steps(2, jump-none) infinite; }

  /* Cards lift on hover (translate, so it never fights the reveal below) */
  .card, .product, .module { transition: translate .2s ease, box-shadow .2s ease, border-color .2s ease; }
  .card:hover, .product:hover { translate: 0 -3px; box-shadow: 0 2px 4px rgba(11, 27, 46, .08), 0 14px 32px rgba(11, 27, 46, .1); }

  /* Sections rise in as they scroll into view. They never start fully transparent, so a
     paused or background page (or a browser that never advances the timeline) still
     shows every word. */
  @supports (animation-timeline: view()) {
    .section__head, .cards > *, .modules > *, .products > *, .support__list > li, .teaser, .contact > * {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
    .nav { animation: nav-solid linear both; animation-timeline: scroll(root); animation-range: 0 120px; }
  }
}

@keyframes slab-in { from { opacity: .3; transform: translateY(-26px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: .3; } to { opacity: 1; } }
@keyframes flow-up { to { stroke-dashoffset: 22; } }
@keyframes flow-out { to { stroke-dashoffset: -28; } }
@keyframes glow { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.25); } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes level { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.86); } }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3); opacity: 0; } }
@keyframes progress { 0% { stroke-dashoffset: 252; } 70%, 100% { stroke-dashoffset: 63; } }
@keyframes draw { from { stroke-dashoffset: var(--len); } 60%, to { stroke-dashoffset: 0; } }
@keyframes reveal { from { opacity: .45; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
@keyframes nav-solid { to { background: rgba(7, 19, 34, .97); box-shadow: 0 6px 24px rgba(0, 0, 0, .25); } }
.hero--404 { min-height: calc(100vh - 64px - 90px); display: grid; align-items: center; }
@media (max-width: 480px) { .hs-name { font-size: 16px; } .hs-sub { font-size: 13.5px; } }
