/* =============================================================================
   Tech Sites Pro - main.css
   Regions: TOKENS / BASE / TYPE / LAYOUT / COMPONENTS / HEADER / HERO /
            CAPABILITIES / SYSTEMS / PROCESS / TOOLKIT / ABOUT / CONTACT /
            FOOTER / MOTION
   ========================================================================== */

/* ===== TOKENS ============================================================= */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/PlusJakartaSans-Variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* colour */
  --bg-page: #f9fafb;
  --bg-surface: #ffffff;
  --bg-sunken: #f3f4f7;
  --ink: #25283a;
  --ink-2: #4a4d60;
  --ink-muted: #686b7d;
  --accent: #6957d9;
  --accent-ink: #5343c4;
  --accent-soft: #eeebfb;
  --line: #e6e7ec;
  --line-strong: #d3d5dd;
  --success: #2f7d62;

  /* type */
  --font-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;
  --fs-display: clamp(2.25rem, 1.45rem + 3.4vw, 4.25rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem);
  --fs-h3: clamp(1.125rem, 1.02rem + 0.45vw, 1.375rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.42vw, 1.25rem);
  --fs-body: clamp(1rem, 0.96rem + 0.18vw, 1.125rem);
  --fs-sm: 0.875rem;
  --fs-eyebrow: 0.75rem;
  --fs-nav: 0.9375rem;
  --fs-btn: 0.9375rem;
  --fs-mono: 0.8125rem;

  /* space + shape */
  --section-y: clamp(64px, 8vw, 120px);
  --container: 1200px;
  --container-wide: 1360px;
  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 68px;
  --r-sm: 8px;
  --r-btn: 12px;
  --r-card: 16px;
  --r-panel: 24px;
  --shadow-sm: 0 1px 2px rgba(37, 40, 58, 0.06);
  --shadow-md: 0 10px 28px -14px rgba(37, 40, 58, 0.22);
}

/* ===== BASE =============================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
svg { display: block; max-width: 100%; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-ink); }

ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  left: 50%;
  top: 8px;
  transform: translate(-50%, -200%);
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

/* ===== TYPE =============================================================== */

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: var(--fs-display); line-height: 1.06; letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.01em; font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); }
.accent-text { color: var(--accent); }

/* ===== LAYOUT ============================================================= */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: var(--container-wide); }

.section { padding-block: var(--section-y); }
.section--sunken { background: var(--bg-sunken); }
.section--flush-top { padding-top: 0; }

section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.section__head {
  max-width: 64ch;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section__head h2 { margin-top: 12px; }
.section__head p { margin-top: 14px; max-width: 58ch; }

.note {
  margin-top: 18px;
  padding-left: 12px;
  border-left: 2px solid var(--line-strong);
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--ink-muted);
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}
@media (min-width: 900px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 1100px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .grid--process { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
}

/* ===== COMPONENTS ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  font-size: var(--fs-btn);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.btn .icon { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-ink); color: #fff; }

.btn--ghost {
  background: var(--bg-surface);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-ink); }

.btn--light { background: #fff; color: var(--accent-ink); }
.btn--light:hover { background: #f1efff; color: var(--accent-ink); }

.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

.btn--lg { min-height: 52px; padding: 0 26px; font-size: 1rem; }
.btn--sm { min-height: 44px; padding: 0 16px; }

.card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 24px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }

.icon-tile {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
}
.icon-tile .icon { width: 21px; height: 21px; }

.chip {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: var(--fs-mono);
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.4;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-surface);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.3;
}
.pill--dashed { border-style: dashed; background: transparent; }

/* ===== HEADER ============================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 250, 251, 0.92);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
@supports (backdrop-filter: blur(10px)) {
  .site-header { background: rgba(249, 250, 251, 0.78); backdrop-filter: blur(12px); }
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { color: var(--ink); }
.wordmark__mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }

.site-header__cta { display: none; }

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(37, 40, 58, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  width: min(86vw, 340px);
  height: 100dvh;
  padding: 20px var(--gutter) 32px;
  background: var(--bg-surface);
  border-left: 1px solid var(--line);
  overflow-y: auto;
  visibility: hidden;
  transform: translateX(101%);
  /* visibility flips instantly on open so the drawer can take focus right away,
     and only after the slide out on close */
  transition: transform 0.24s ease, visibility 0s linear 0.24s;
}
.site-nav__head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 44px;
  margin-bottom: 18px;
}
.site-nav__list { display: flex; flex-direction: column; gap: 2px; }

.nav__link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}
.nav__link:hover { color: var(--ink); background: var(--bg-sunken); }
.nav__link[aria-current='true'] { color: var(--accent); font-weight: 600; }

.site-nav__cta { display: grid; gap: 10px; margin-top: 20px; }
.site-nav__cta .btn { width: 100%; }

body.is-nav-open { overflow: hidden; }
body.is-nav-open .nav-backdrop { opacity: 1; visibility: visible; }
body.is-nav-open .site-nav {
  visibility: visible;
  transform: translateX(0);
  transition: transform 0.24s ease, visibility 0s linear 0s;
}
body.is-nav-open .nav-toggle__open { display: none; }
body.is-nav-open .nav-toggle__close { display: block; }

/* without javascript the drawer cannot open, so the links sit inline instead */
.no-js .nav-toggle { display: none; }
.no-js .site-nav {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  background: none;
  border: 0;
  overflow: visible;
  visibility: visible;
  transform: none;
}
.no-js .site-nav__head,
.no-js .site-nav__cta { display: none; }
.no-js .site-nav__list { flex-direction: row; flex-wrap: wrap; }
.no-js .nav__link { min-height: 40px; font-size: var(--fs-nav); }
.no-js .site-header__inner { flex-wrap: wrap; padding-block: 10px; }

@media (min-width: 900px) {
  .nav-toggle,
  .nav-backdrop { display: none; }
  .site-header__cta { display: inline-flex; }

  .site-nav {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    background: none;
    border: 0;
    overflow: visible;
    visibility: visible;
    transform: none;
  }
  .site-nav__head,
  .site-nav__cta { display: none; }
  .site-nav__list { flex-direction: row; gap: 2px; }

  .nav__link {
    position: relative;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    padding: 8px 13px;
    font-size: var(--fs-nav);
  }
  .nav__link:hover { background: transparent; }
  .nav__link::after {
    content: '';
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 1px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
  }
  .nav__link[aria-current='true']::after { transform: scaleX(1); }
  .nav__link::after { bottom: 4px; }
}

/* ===== HERO =============================================================== */

.hero {
  position: relative;
  padding-block: clamp(48px, 8vw, 100px) clamp(56px, 8vw, 96px);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -360px;
  left: 50%;
  width: 1100px;
  height: 760px;
  transform: translateX(-58%);
  background: radial-gradient(closest-side, rgba(105, 87, 217, 0.11), transparent 72%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(40px, 6vw, 64px);
  align-items: center;
}

.hero h1 { margin-top: 18px; max-width: 17ch; }
.hero__lead { margin-top: 20px; max-width: 54ch; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero__actions .btn { flex: 1 1 auto; min-width: 200px; }

.hero__meta {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 22px;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}
.hero__meta .icon {
  width: 12px;
  height: 12px;
  margin-top: 5px;
  flex: none;
  color: var(--success);
}

/* workflow visualisation */
.flow {
  padding: clamp(18px, 3vw, 24px);
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-sm);
}
.flow__label {
  margin-bottom: 16px;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.flow__node {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-page);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.flow__node--end { background: var(--accent-soft); border-color: #ddd6f7; }
.flow__node--end .icon-tile { background: var(--accent); color: #fff; }
/* the tinted background needs a darker body colour to clear AA */
.flow__node--end .flow__text { color: var(--ink-2); }

.flow__body { display: block; min-width: 0; }
.flow__title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}
.flow__text {
  display: block;
  margin-top: 3px;
  font-size: var(--fs-mono);
  line-height: 1.5;
  color: var(--ink-muted);
}
.flow__arrow {
  display: grid;
  place-items: center;
  height: 24px;
  color: var(--line-strong);
}
.flow__arrow .icon { width: 18px; height: 18px; transform: rotate(90deg); }

@media (min-width: 1280px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
  .hero h1 { max-width: 14ch; }
}

/* ===== CAPABILITIES ======================================================= */

.cap__icon { margin-bottom: 16px; }
.cap h3 { margin-bottom: 10px; }
.cap__problem { font-size: 0.9375rem; line-height: 1.6; }
.cap__tech {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-mono);
  font-weight: 500;
  color: var(--ink-muted);
}

/* ===== SYSTEMS ============================================================ */

.system { display: flex; flex-direction: column; padding: clamp(22px, 3vw, 30px); }
.system h3 { margin-top: 14px; }
.system__problem {
  margin-top: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
}
.system__detail { margin-top: 10px; font-size: 0.9375rem; line-height: 1.65; }

.sysflow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
}
.sysflow__step {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg-sunken);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--ink-2);
}
.sysflow__sep { display: grid; place-items: center; color: var(--line-strong); }
.sysflow__sep .icon { width: 14px; height: 14px; }

.system .tags { margin-top: auto; padding-top: 20px; }

/* ===== PROCESS ============================================================ */

.step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; }
.step__tile { position: relative; }
.step__num {
  position: absolute;
  top: -7px;
  right: -9px;
  display: grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.9375rem; line-height: 1.65; }

/* ===== TOOLKIT ============================================================ */

.tk-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr);
}
.tk-group { padding-top: 16px; border-top: 1px solid var(--line-strong); }
.tk-group__label,
.tk-exploring__label {
  margin-bottom: 14px;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tk-group__label { color: var(--ink); }
.tk-exploring__label { color: var(--ink-muted); }
.tk-group ul,
.tk-exploring ul { display: flex; flex-wrap: wrap; gap: 8px; }

.tk-exploring {
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}

@media (min-width: 640px) { .tk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }

/* ===== ABOUT ============================================================== */

.about__inner { max-width: 68ch; margin-inline: auto; }
.about__body { display: grid; gap: 18px; margin-top: 28px; }
.about__body p { line-height: 1.75; }
.about__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* ===== CONTACT ============================================================ */

.contact-panel {
  padding: clamp(36px, 7vw, 72px) clamp(24px, 5vw, 64px);
  background: var(--accent);
  border-radius: var(--r-panel);
  color: #fff;
  text-align: center;
}
.contact-panel .eyebrow { color: rgba(255, 255, 255, 0.92); }
.contact-panel h2 { margin: 14px auto 0; max-width: 20ch; color: #fff; }
.contact-panel__lead {
  margin: 16px auto 0;
  max-width: 52ch;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}
.contact-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.contact-panel__actions .btn { width: 100%; }
.contact-panel :focus-visible { outline-color: #fff; }

.contact-panel__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 22px;
  margin-top: 20px;
  font-size: var(--fs-sm);
}
.contact-panel__social a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 4px;
  color: #fff;
  font-weight: 500;
  text-underline-offset: 3px;
}
.contact-panel__social a:hover { color: #fff; }

@media (min-width: 640px) {
  .contact-panel__actions { flex-direction: row; justify-content: center; }
  .contact-panel__actions .btn { width: auto; min-width: 218px; }
}

/* ===== FOOTER ============================================================= */

.site-footer {
  padding-block: 44px 28px;
  border-top: 1px solid var(--line);
}
.site-footer__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr);
}
.site-footer__tag {
  margin-top: 12px;
  max-width: 34ch;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}
.site-footer__col h2 {
  margin-bottom: 12px;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.site-footer__col ul { display: grid; gap: 2px; }
.site-footer__col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  font-size: var(--fs-sm);
  color: var(--ink-2);
  text-decoration: none;
}
.site-footer__col a:hover { color: var(--accent); text-decoration: underline; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}

@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.7fr 1fr 1fr; gap: 40px; }
}

/* ===== MOTION ============================================================= */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* scoped to :not(.no-js) so a blocked script never hides the page.
     the is-visible rule carries the same scope, otherwise the hidden rule
     outranks it on specificity and nothing ever fades in */
  html:not(.no-js) .reveal { opacity: 0; transform: translateY(12px); }
  html:not(.no-js) .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: opacity 0.45s ease-out, transform 0.45s ease-out;
    transition-delay: var(--reveal-delay, 0ms);
  }

  .btn:active { transform: translateY(1px); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* step tile should sit at the top of the row, not stretch with the text */
.step__tile { align-self: start; }
