/* AVOW website stylesheet.
   Built on the canonical brand tokens (Forensic Violet, selected July 2026).
   One stylesheet for every page. No frameworks. */

/* Self-hosted rather than loaded from Google Fonts: no third-party request,
   no visitor IP disclosed to another host, one less connection to open.
   Both faces are variable (latin subset) and cover weights 400-700. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/source-serif-4-latin-var.woff2') format('woff2');
}

:root {
  --avow-forensic-ink: #1d1928;
  --avow-witness-violet: #7253a3;
  --avow-trace-lilac: #a68fc0;
  --avow-evidence-field: #f0ecf3;
  --avow-record-white: #ffffff;
  --avow-record-slate: #5f5969;
  --avow-hairline-violet: #d8d0e0;
  --avow-finding-amber: #9b5715;
  --avow-exception-red: #983c45;

  --avow-font-ui: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --avow-font-formal: "Source Serif 4", Georgia, serif;

  --avow-radius-sm: 2px;
  --avow-radius-md: 4px;
  --avow-rule: 1px solid var(--avow-hairline-violet);
  --avow-focus: 0 0 0 3px rgba(114, 83, 163, 0.35);

  --wrap: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--avow-evidence-field);
  color: var(--avow-forensic-ink);
  font-family: var(--avow-font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--avow-witness-violet); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: none;
  box-shadow: var(--avow-focus);
  border-radius: var(--avow-radius-sm);
}

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

/* ---------- Header ---------- */

.site-head {
  background: var(--avow-record-white);
  border-bottom: var(--avow-rule);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(29, 25, 40, 0.02), 0 6px 20px rgba(29, 25, 40, 0.05);
}

.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand { flex-shrink: 0; }

.brand img { height: 30px; width: auto; min-width: 120px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Hamburger. Hidden on desktop, where the full nav is always on screen. */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: none;
  border: var(--avow-rule);
  border-radius: var(--avow-radius-sm);
  padding: 9px 14px;
  color: var(--avow-forensic-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.nav-toggle:hover { color: var(--avow-witness-violet); border-color: var(--avow-trace-lilac); }

.nav-toggle-bars { position: relative; display: block; }

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  width: 17px;
  height: 1.8px;
  background: currentColor;
  border-radius: 2px;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: '';
  position: absolute;
  left: 0;
  transition: transform 0.18s ease;
}

.nav-toggle-bars::before { top: -5.5px; }
.nav-toggle-bars::after { top: 5.5px; }

/* Bars fold into a cross while the panel is open. */
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5.5px) rotate(-45deg); }

.nav-item { position: relative; }

.site-nav .nav-top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--avow-forensic-ink);
  font-size: 14.5px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--avow-radius-sm);
}

.site-nav .nav-top:hover { color: var(--avow-witness-violet); text-decoration: none; }

.nav-item.active > .nav-top {
  color: var(--avow-witness-violet);
  font-weight: 700;
}

.caret {
  width: 7px;
  height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.65;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 6px;
  min-width: 230px;
  background: var(--avow-record-white);
  border: var(--avow-rule);
  border-top: 2px solid var(--avow-witness-violet);
  border-radius: 0 0 var(--avow-radius-md) var(--avow-radius-md);
  box-shadow: 0 14px 34px rgba(29, 25, 40, 0.12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-item.has-sub:hover .submenu,
.nav-item.has-sub:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--avow-radius-sm);
  color: var(--avow-forensic-ink);
  font-size: 14px;
  font-weight: 500;
}

.submenu a:hover {
  background: var(--avow-evidence-field);
  color: var(--avow-witness-violet);
  text-decoration: none;
}

.submenu a.active { color: var(--avow-witness-violet); font-weight: 700; }

.site-nav .btn { margin-left: 10px; white-space: nowrap; }

@media (max-width: 820px) {
  .site-head .wrap { flex-wrap: nowrap; }
  .caret { display: none; }

  /* Hover dropdowns do not exist on touch, so the nav becomes one vertical
     list with each parent label acting as a section heading. */
  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-item { position: static; }
  .nav-item.has-sub { display: block; }

  /* Parent label as a heading. Every parent's destination is also its first
     child (How it works -> The process, Services -> The assurance stack,
     Firm -> About), so styling it as a heading strands nothing. */
  .nav-item.has-sub > .nav-top {
    display: block;
    padding: 17px 24px 5px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--avow-record-slate);
  }
  .nav-item.has-sub > .nav-top:hover { color: var(--avow-record-slate); }
  .nav-item.has-sub.active > .nav-top { color: var(--avow-witness-violet); }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: block;
    min-width: 0;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .submenu a,
  .nav-item:not(.has-sub) > .nav-top {
    display: block;
    padding: 11px 24px;
    font-size: 16px;
    border-radius: 0;
  }

  .nav-item:not(.has-sub) > .nav-top { padding-top: 18px; }

  .site-nav .btn {
    margin: 16px 24px 4px;
    padding: 13px 18px;
    text-align: center;
  }

  /* Collapsing is gated on the class the menu script sets, so with JS off the
     list simply stays visible instead of becoming unopenable. */
  html.nav-js .nav-toggle { display: inline-flex; }

  html.nav-js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--avow-record-white);
    border-bottom: var(--avow-rule);
    box-shadow: 0 18px 34px rgba(29, 25, 40, 0.13);
    padding-bottom: 18px;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }

  html.nav-js .site-nav[data-open="true"] { display: flex; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--avow-witness-violet);
  border: 1px solid var(--avow-witness-violet);
  border-radius: var(--avow-radius-sm);
  color: var(--avow-record-white);
  font: 700 0.9rem/1 var(--avow-font-ui);
  padding: 0.9rem 1.25rem;
  cursor: pointer;
}

.btn:hover {
  background: #5f458a;
  border-color: #5f458a;
  text-decoration: none;
}

.btn.on-dark { background: var(--avow-witness-violet); border-color: var(--avow-witness-violet); }

.textlink { font-weight: 600; }

/* ---------- Hero ---------- */

.hero { padding: 72px 0 56px; }

.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--avow-witness-violet);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 700;
  max-width: 780px;
}

.hero .lede {
  font-size: 18px;
  color: var(--avow-record-slate);
  max-width: 680px;
  margin-top: 20px;
}

.hero .cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.positioning-strip {
  border-top: 2px solid var(--avow-forensic-ink);
  border-bottom: var(--avow-rule);
  background: var(--avow-record-white);
}

.positioning-strip p {
  font-family: var(--avow-font-formal);
  font-size: 19px;
  padding: 18px 0;
  text-align: center;
}

/* ---------- Sections ---------- */

.section { padding: 64px 0; }

.section.tint { background: var(--avow-record-white); border-top: var(--avow-rule); border-bottom: var(--avow-rule); }

.section h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 720px;
}

.section .sub {
  color: var(--avow-record-slate);
  max-width: 680px;
  margin-top: 14px;
  font-size: 16.5px;
}

.kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--avow-witness-violet);
  margin-bottom: 14px;
}

/* Witness accent: a thin vertical rule used as a decorative marker. */
.witness {
  border-left: 3px solid var(--avow-witness-violet);
  padding-left: 20px;
}

/* ---------- Cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.cards.two { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--avow-record-white);
  border: var(--avow-rule);
  border-radius: var(--avow-radius-md);
  padding: 26px 26px 24px;
}

.section.tint .card { background: var(--avow-evidence-field); }

.card h3 { font-size: 17.5px; margin-bottom: 10px; }

.card p { font-size: 15px; color: var(--avow-record-slate); }

.card.stake { border-top: 3px solid var(--avow-finding-amber); }

.card .step-n {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--avow-witness-violet);
  color: var(--avow-record-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
}

/* ---------- Editorial serif moments ---------- */

.editorial {
  font-family: var(--avow-font-formal);
  font-size: clamp(21px, 3vw, 27px);
  line-height: 1.5;
  max-width: 760px;
}

.pullquote {
  background: var(--avow-record-white);
  border-left: 4px solid var(--avow-witness-violet);
  border-radius: 0 var(--avow-radius-md) var(--avow-radius-md) 0;
  padding: 26px 30px;
  margin-top: 30px;
  max-width: 760px;
}

.pullquote p {
  font-family: var(--avow-font-formal);
  font-size: 20px;
  line-height: 1.55;
}

/* ---------- Lists ---------- */

ul.clean { list-style: none; margin-top: 18px; max-width: 760px; }

ul.clean li {
  padding: 12px 0 12px 28px;
  position: relative;
  border-bottom: var(--avow-rule);
  font-size: 15.5px;
}

ul.clean li:last-child { border-bottom: none; }

ul.clean li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 22px;
  width: 11px;
  height: 2px;
  background: var(--avow-witness-violet);
}

ul.clean.warn li::before { background: var(--avow-finding-amber); }

/* ---------- Proof strip ---------- */

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.proof-slot {
  background: var(--avow-record-white);
  border: 1px dashed var(--avow-trace-lilac);
  border-radius: var(--avow-radius-md);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--avow-record-slate);
  flex: 1;
  min-width: 220px;
}

.proof-note { font-size: 12.5px; color: var(--avow-record-slate); margin-top: 12px; }

/* ---------- Definition rows ---------- */

.defs {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 14px 26px;
  margin-top: 26px;
  max-width: 820px;
}

.defs dt {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--avow-record-slate);
  font-weight: 700;
  padding-top: 3px;
}

.defs dd { font-size: 15.5px; }

/* ---------- Tables ---------- */

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--avow-record-white);
  border: var(--avow-rule);
  margin-top: 30px;
  font-size: 14.5px;
}

th {
  background: var(--avow-forensic-ink);
  color: var(--avow-record-white);
  text-align: left;
  padding: 12px 16px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

td { padding: 13px 16px; border-top: var(--avow-rule); vertical-align: top; }

/* ---------- Transitional CTA (checklist) ---------- */

.checklist-cta {
  background: var(--avow-record-white);
  border: var(--avow-rule);
  border-top: 3px solid var(--avow-trace-lilac);
  border-radius: var(--avow-radius-md);
  padding: 40px;
  margin-top: 8px;
}

.checklist-cta h2 { font-size: 26px; }

.email-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
  max-width: 560px;
}

.email-row input[type="email"], .field input, .field select, .field textarea {
  font: 400 15px/1.4 var(--avow-font-ui);
  color: var(--avow-forensic-ink);
  background: var(--avow-record-white);
  border: 1px solid var(--avow-hairline-violet);
  border-radius: var(--avow-radius-sm);
  padding: 0.85rem 1rem;
}

.email-row input[type="email"] { flex: 1; min-width: 240px; }

.form-note { font-size: 12.5px; color: var(--avow-record-slate); margin-top: 12px; }

/* Honeypot. Positioned off-screen rather than display:none, which some
   bots check for. Real users never see or tab into it; bots fill it in
   and the handler silently discards the submission. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Contact form ---------- */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
  max-width: 760px;
}

.field { display: flex; flex-direction: column; gap: 7px; }

.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--avow-record-slate);
}

.field textarea { min-height: 120px; resize: vertical; }

/* ---------- Dark CTA band ---------- */

.cta-band {
  background: var(--avow-forensic-ink);
  color: var(--avow-record-white);
  padding: 72px 0;
}

.cta-band .tagline {
  font-family: var(--avow-font-formal);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.01em;
}

.cta-band p.line {
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin-top: 14px;
  font-size: 16.5px;
}

.cta-band .btn { margin-top: 28px; }

/* ---------- Footer ---------- */

.site-foot {
  background: var(--avow-forensic-ink);
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 48px 0 40px;
  font-size: 13.5px;
}

/* Brand block on the left, four labelled link columns on the right. The links
   were previously one flat row of nine, which read as a pile rather than a
   map of the site. */
.site-foot .foot-top {
  display: grid;
  grid-template-columns: minmax(170px, 0.8fr) 3.4fr;
  gap: 40px 40px;
  align-items: start;
}

.site-foot img { height: 26px; width: auto; }

.site-foot .foot-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 24px;
}

.site-foot .foot-heading {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--avow-trace-lilac);
  margin: 0 0 13px;
}

.site-foot .foot-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-foot .foot-nav li + li { margin-top: 9px; }

.site-foot a { color: rgba(255, 255, 255, 0.86); }
.site-foot a:hover { color: var(--avow-record-white); }

.site-foot .legal {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  line-height: 1.8;
}

.site-foot .foot-tag { font-family: var(--avow-font-formal); color: var(--avow-record-white); font-size: 15px; margin-top: 14px; }

/* Four columns need ~700px to avoid wrapping "Independence and security"
   into a ragged three lines, so drop to two well before the tablet edge. */
@media (max-width: 860px) {
  .site-foot .foot-top {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .site-foot .foot-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }
}

@media (max-width: 420px) {
  .site-foot .foot-nav { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero { padding: 60px 0 8px; }

.page-hero h1 {
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  max-width: 760px;
}

.page-hero .lede {
  font-size: 17.5px;
  color: var(--avow-record-slate);
  max-width: 680px;
  margin-top: 16px;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .cards, .cards.two { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .defs { grid-template-columns: 1fr; }
  .defs dt { margin-top: 10px; }
}

@media (max-width: 640px) {
  .hero { padding: 52px 0 44px; }
  .section { padding: 48px 0; }
  .checklist-cta { padding: 28px 22px; }
}

/* ---------- Icons ---------- */

.icon {
  width: 26px;
  height: 26px;
  display: block;
  color: var(--avow-witness-violet);
  margin-bottom: 14px;
}

.card.stake .icon { color: var(--avow-finding-amber); }

.icon-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.icon-chip {
  background: var(--avow-record-white);
  border: var(--avow-rule);
  border-radius: var(--avow-radius-md);
  padding: 20px 20px 16px;
}

.icon-chip .icon { margin-bottom: 10px; }

.icon-chip p { font-size: 14px; font-weight: 600; }

/* ---------- Figures and diagrams ---------- */

.figure {
  background: var(--avow-record-white);
  border: var(--avow-rule);
  border-radius: var(--avow-radius-md);
  padding: 30px 28px 22px;
  margin-top: 34px;
  overflow-x: auto;
}

.section.tint .figure { background: var(--avow-evidence-field); }

.diagram { width: 100%; height: auto; display: block; }

.diagram.wide { min-width: 560px; }

.diagram text { font-family: var(--avow-font-ui); }

.dgm-title { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; fill: var(--avow-forensic-ink); }
.dgm-cap { font-size: 12.5px; fill: var(--avow-record-slate); }
.dgm-count { font-size: 12px; font-weight: 700; fill: var(--avow-witness-violet); }
.dgm-box-t { font-size: 13.5px; font-weight: 700; }
.dgm-box-s { font-size: 12px; }

.fig-note { font-size: 12.5px; color: var(--avow-record-slate); margin-top: 14px; }

/* ---------- Hero with artwork ---------- */

.hero .wrap.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-art { width: 100%; max-width: 420px; height: auto; justify-self: end; }

@media (max-width: 900px) {
  .hero .wrap.split { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .icon-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .icon-row { grid-template-columns: 1fr; }
}

/* ---------- Motion ---------- */
/* Everything below applies only when the script adds .anim (motion allowed). */

.card, .icon-chip { transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }

.anim .cards .card:hover, .anim .icon-chip:hover {
  transform: translateY(-3px);
  border-color: var(--avow-trace-lilac);
  box-shadow: 0 8px 22px rgba(29, 25, 40, 0.07);
}

.anim .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.anim .reveal.in { opacity: 1; transform: none; }

.anim .reveal .card, .anim .reveal .icon-chip {
  opacity: 0;
  transform: translateY(14px);
}

.anim .reveal.in .card, .anim .reveal.in .icon-chip {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.anim .reveal.in .card:nth-child(2), .anim .reveal.in .icon-chip:nth-child(2) { transition-delay: 0.09s; }
.anim .reveal.in .card:nth-child(3), .anim .reveal.in .icon-chip:nth-child(3) { transition-delay: 0.18s; }
.anim .reveal.in .card:nth-child(4), .anim .reveal.in .icon-chip:nth-child(4) { transition-delay: 0.27s; }

/* SVG line drawing */
.anim .reveal .draw { stroke-dasharray: 900; stroke-dashoffset: 900; }
.anim .reveal.in .draw { transition: stroke-dashoffset 1.5s ease 0.35s; stroke-dashoffset: 0; }

/* Population dots */
.anim .reveal .pop-dot { opacity: 0; }
.anim .reveal.in .pop-dot { animation: popin 0.3s ease forwards; }

@keyframes popin {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Hero entrance on load */
.anim .hero .eyebrow, .anim .hero h1, .anim .hero .lede, .anim .hero .cta-row {
  opacity: 0;
  animation: rise 0.7s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}

.anim .hero h1 { animation-delay: 0.08s; }
.anim .hero .lede { animation-delay: 0.16s; }
.anim .hero .cta-row { animation-delay: 0.24s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* Hero artwork: witness line draws, ticks fade in */
.anim .hero-art .witness-draw {
  stroke-dasharray: 380;
  stroke-dashoffset: 380;
  animation: drawline 1.4s ease 0.35s forwards;
}

@keyframes drawline { to { stroke-dashoffset: 0; } }

.anim .hero-art .tick { opacity: 0; animation: popin 0.5s ease forwards; }
.anim .hero-art .tick:nth-of-type(1) { animation-delay: 0.9s; }
.anim .hero-art .tick:nth-of-type(2) { animation-delay: 1.05s; }
.anim .hero-art .tick:nth-of-type(3) { animation-delay: 1.2s; }
.anim .hero-art .tick:nth-of-type(4) { animation-delay: 1.35s; }
.anim .hero-art .tick:nth-of-type(5) { animation-delay: 1.5s; }
.anim .hero-art .tick:nth-of-type(6) { animation-delay: 1.65s; }
.anim .hero-art .tick:nth-of-type(7) { animation-delay: 1.8s; }

/* Reduced motion: the script never adds .anim, so none of the above applies.
   Belt and suspenders: */
@media (prefers-reduced-motion: reduce) {
  .anim .reveal, .anim .reveal .card, .anim .reveal .pop-dot,
  .anim .hero .eyebrow, .anim .hero h1, .anim .hero .lede, .anim .hero .cta-row {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* About page: the mark, shown from production assets */
.mark-panel {
  background: var(--avow-record-white);
  border: var(--avow-rule);
  border-radius: var(--avow-radius-md);
  padding: 48px;
  margin-top: 34px;
  display: flex;
  justify-content: center;
}

.mark-panel img { width: 132px; height: auto; }

.icon-row.three { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) {
  .icon-row.three { grid-template-columns: 1fr; }
}
