/* ============================================================================
   AVODAS — design system
   ----------------------------------------------------------------------------
   Colour discipline (the rule that keeps gold + purple from going gaudy):
     · Brass is the BRAND. It appears in rules, eyebrows, the wordmark accent,
       and core-service moments. It is warm and muted, never yellow.
     · Royal is SCARCE and means PREMIUM. It appears only on the Enterprise
       tier and the digital-twin work, and nowhere else. Because it is rare,
       it reads as value rather than decoration.
     · The two are never placed adjacent at equal weight. Brass lives in type
       and hairlines; royal lives in surfaces.
   ========================================================================== */

:root {
  /* --- surfaces, darkest first --- */
  --ink:            #12181B;   /* the ground everything sits on */
  --ink-deep:       #0C1013;   /* alternating sections, footer */
  --ink-raised:     #171E22;   /* cards on ink */

  /* --- brand: brass --- */
  --brass:          #B08D57;
  --brass-bright:   #C9A671;
  --brass-dim:      rgba(176, 141, 87, 0.34);
  --brass-hair:     rgba(176, 141, 87, 0.22);

  /* --- premium: royal (scarce, deliberate) --- */
  --royal:          #6C5C99;
  --royal-bright:   #8A79B8;
  --royal-deep:     #211B33;
  --royal-line:     #43385F;

  /* --- type --- */
  --parchment:      #F6F1E7;
  --parchment-mute: rgba(246, 241, 231, 0.68);
  --parchment-dim:  rgba(246, 241, 231, 0.44);
  --sage:           #5C6B5D;

  /* --- fonts --- */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;

  /* --- rhythm --- */
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 11vw, 148px);
  --measure: 62ch;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ink);
  color: var(--parchment);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

::selection { background: var(--brass); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--brass-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------------------------------------------------------------- layout */
.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-narrow { max-width: 820px; }

.section { padding-block: var(--section-y); }
.section-deep { background: var(--ink-deep); }

.rule { height: 1px; background: var(--brass-hair); border: 0; }

/* ---------------------------------------------------------------- type */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--brass);
  flex-shrink: 0;
}
.eyebrow.is-royal { color: var(--royal-bright); }
.eyebrow.is-royal::before { background: var(--royal-bright); }
.eyebrow.is-center { justify-content: center; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.005em;
  color: #fff;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
h4 { font-size: 1.15rem; }

.lede {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
  line-height: 1.5;
  color: var(--parchment-mute);
  max-width: var(--measure);
}
.lede em { font-style: italic; color: var(--brass); }

p { max-width: var(--measure); color: var(--parchment-mute); }
p + p { margin-top: 1.1em; }
p strong { color: var(--parchment); font-weight: 600; }

.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { margin-top: 20px; }
.section-head p { margin-top: 18px; }

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(18, 24, 27, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.is-stuck {
  border-bottom-color: var(--brass-hair);
  background: rgba(12, 16, 19, 0.92);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 74px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}
.brand span { color: var(--brass); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  list-style: none;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--parchment-mute);
  text-decoration: none;
  position: relative;
  padding-block: 6px;
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--brass);
  transition: width 0.28s var(--ease);
}
.nav-links a:hover { color: var(--parchment); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--parchment); }
.nav-links .btn::after { display: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--brass-dim);
  border-radius: 3px;
  color: var(--parchment);
  width: 42px; height: 38px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 17px; height: 1px;
  background: currentColor;
  position: relative;
  transition: background 0.2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute; left: 0;
  width: 17px; height: 1px;
  background: currentColor;
  transition: transform 0.28s var(--ease);
}
.nav-toggle span::before { top: -5.5px; }
.nav-toggle span::after  { top:  5.5px; }
.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { transform: translateY(5.5px) rotate(45deg); }
.nav.is-open .nav-toggle span::after  { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink-deep);
    border-bottom: 1px solid var(--brass-hair);
    padding: 8px var(--gutter) 26px;
    margin: 0;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .nav.is-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links li { border-bottom: 1px solid rgba(246,241,231,0.07); }
  .nav-links a { display: block; padding: 15px 0; font-size: 15px; }
  .nav-links a::after { display: none; }
  .nav-links li:has(.btn) { border-bottom: 0; }
  .nav-links .btn { margin-top: 18px; width: 100%; }
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 13px 26px;
  border-radius: 2px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.btn:hover { transform: translateY(-1px); }

.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: var(--brass-bright); }

.btn-ghost { border-color: var(--brass-dim); color: var(--parchment); background: none; }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-bright); }

.btn-royal { background: var(--royal); color: #fff; }
.btn-royal:hover { background: var(--royal-bright); }

.btn-sm { padding: 10px 18px; font-size: 12.5px; }
.btn[disabled] { opacity: 0.55; cursor: progress; transform: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--brass);
  text-decoration: none;
  transition: gap 0.22s var(--ease), color 0.22s var(--ease);
}
.link-arrow::after { content: '\2192'; }
.link-arrow:hover { color: var(--brass-bright); gap: 13px; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding-block: clamp(80px, 13vw, 160px) clamp(64px, 10vw, 128px);
  overflow: hidden;
}
/* One soft brass bloom behind the wordmark. A single light source at low
   opacity — enough to lift the type off the ground without reading as a
   decorative "gradient background". */
.hero::before {
  content: '';
  position: absolute;
  top: -30%; left: 50%;
  width: min(1100px, 130vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle,
    rgba(176, 141, 87, 0.11) 0%,
    rgba(176, 141, 87, 0.04) 38%,
    transparent 68%);
  pointer-events: none;
}
.hero > * { position: relative; }

/* Two columns on desktop: the argument on the left, the scan motif on the right.
   Below 900px the motif drops under the copy at reduced height rather than being
   removed — it is the only picture on the page and it carries the brand. */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { order: 2; max-width: 460px; margin-inline: auto; }
}

.hero-art svg { width: 100%; height: auto; overflow: visible; }

/* The pulse at the capture point, and the sweep that reads as a scan pass. Both
   are decorative: `aria-hidden` on the container keeps them out of the
   accessibility tree, and reduced-motion stops them entirely. */
@keyframes ping {
  0%   { transform: scale(0.7); opacity: 0.9; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
.ping   { animation: ping 3.4s var(--ease) infinite; transform-origin: center; }
.ping-2 { animation-delay: 1.1s; }

@keyframes sweep {
  0%   { transform: translateY(20px); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateY(400px); opacity: 0; }
}
.sweep { animation: sweep 7s var(--ease) infinite; }

@media (prefers-reduced-motion: reduce) {
  .ping, .sweep { animation: none; }
  .sweep { opacity: 0; }
}

.hero h1 { margin-top: 26px; max-width: 17ch; }
.hero .lede { margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--brass-hair);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--parchment-dim);
}

.page-head { padding-block: clamp(56px, 9vw, 104px) clamp(32px, 5vw, 56px); }
.page-head h1 { margin-top: 22px; max-width: 20ch; }
.page-head .lede { margin-top: 24px; }

/* ---------------------------------------------------------------- grids */
.grid { display: grid; gap: clamp(18px, 2.4vw, 26px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- cards */
.card {
  background: var(--ink-raised);
  border: 1px solid rgba(246, 241, 231, 0.07);
  border-radius: 3px;
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  transition: border-color 0.28s var(--ease), transform 0.28s var(--ease);
}
.card:hover { border-color: var(--brass-dim); transform: translateY(-3px); }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 14.5px; flex-grow: 1; }
.card .link-arrow { margin-top: 22px; align-self: flex-start; }

.card-index {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--brass);
  margin-bottom: 20px;
}

.card.is-soon { opacity: 0.62; }
.card.is-soon:hover { transform: none; border-color: rgba(246,241,231,0.07); }
.tag-soon {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  border: 1px solid var(--sage);
  border-radius: 2px;
  padding: 3px 9px;
  margin-bottom: 18px;
  align-self: flex-start;
}

/* ---------------------------------------------------------------- steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 68px; }
.step::before {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute;
  left: 0; top: 2px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--brass);
}
.step::after {
  content: '';
  position: absolute;
  left: 34px; top: 9px;
  width: 20px; height: 1px;
  background: var(--brass-hair);
}
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { font-size: 14.5px; }
@media (max-width: 640px) { .step { padding-left: 46px; } .step::after { display: none; } }

/* ---------------------------------------------------------------- values */
.values { display: grid; gap: 0; }
.value {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: baseline;
  padding-block: clamp(22px, 3vw, 32px);
  border-bottom: 1px solid var(--brass-hair);
}
.value:first-child { border-top: 1px solid var(--brass-hair); }
.value-letter {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 500;
  line-height: 0.85;
  color: var(--brass);
}
.value h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin-bottom: 8px; }
.value p { font-size: 14.5px; max-width: 54ch; }
@media (max-width: 640px) { .value { grid-template-columns: 56px 1fr; } }

/* ---------------------------------------------------------------- tiers */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 22px);
  align-items: stretch;
}
@media (max-width: 940px) { .tiers { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

.tier {
  background: var(--ink-raised);
  border: 1px solid rgba(246, 241, 231, 0.08);
  border-radius: 3px;
  padding: clamp(26px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  position: relative;
}
.tier-name {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
}
.tier-price {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  font-weight: 500;
  line-height: 1;
  color: #fff;
  margin-top: 18px;
}
.tier-price small {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--parchment-dim);
  margin-top: 10px;
  text-transform: uppercase;
}
.tier-for {
  font-size: 14px;
  color: var(--parchment-mute);
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--brass-hair);
}
.tier ul { list-style: none; margin-top: 22px; flex-grow: 1; }
.tier li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--parchment-mute);
  margin-bottom: 12px;
}
.tier li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 11px; height: 1px;
  background: var(--brass);
}
.tier .btn { margin-top: 30px; width: 100%; }

/* THE premium tier — the only place royal appears at full strength. */
.tier.is-premium {
  background: var(--royal-deep);
  border-color: var(--royal-line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.tier.is-premium .tier-name { color: var(--royal-bright); }
.tier.is-premium .tier-for { border-top-color: var(--royal-line); }
.tier.is-premium li::before { background: var(--royal-bright); }
.tier-flag {
  position: absolute;
  top: -1px; right: 22px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: var(--royal);
  padding: 5px 11px;
  border-radius: 0 0 2px 2px;
}

/* ---------------------------------------------------------------- pullquote */
.pullquote {
  border-left: 2px solid var(--brass);
  padding-left: clamp(20px, 3vw, 34px);
  margin-block: clamp(28px, 4vw, 44px);
}
.pullquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.7vw, 1.75rem);
  line-height: 1.45;
  color: var(--parchment);
  max-width: 46ch;
}
.pullquote cite {
  display: block;
  margin-top: 16px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ---------------------------------------------------------------- cta band */
.cta-band { background: var(--ink-deep); border-block: 1px solid var(--brass-hair); text-align: center; }
.cta-band h2 { margin-top: 20px; margin-inline: auto; max-width: 20ch; }
.cta-band p { margin: 20px auto 0; }
.cta-band .hero-actions { justify-content: center; }

/* ---------------------------------------------------------------- forms */
.form { margin-top: 34px; }
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 9px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--ink-raised);
  border: 1px solid rgba(246, 241, 231, 0.12);
  border-radius: 2px;
  color: var(--parchment);
  font-family: var(--sans);
  font-size: 15px;
  padding: 13px 15px;
  transition: border-color 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--brass); }
.field input::placeholder, .field textarea::placeholder { color: rgba(246,241,231,0.28); }
.field select { appearance: none; cursor: pointer; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

.form-note { font-size: 13px; color: var(--parchment-dim); margin-top: 18px; }

.form-status {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 2px;
  font-size: 14px;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-ok    { background: rgba(92,107,93,0.18); border: 1px solid var(--sage); color: #cfe0d0; }
.form-status.is-error { background: rgba(163,91,91,0.14); border: 1px solid #a35b5b; color: #f0cfcf; }

/* honeypot — must be reachable by bots, invisible to people */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- contact aside */
.contact-block { margin-bottom: 30px; }
.contact-block dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 7px;
}
.contact-block dd { font-size: 15px; color: var(--parchment-mute); }
.contact-block a { color: var(--parchment); text-decoration: none; border-bottom: 1px solid var(--brass-dim); }
.contact-block a:hover { color: var(--brass-bright); border-color: var(--brass); }

/* ---------------------------------------------------------------- footer */
.footer {
  background: var(--ink-deep);
  border-top: 1px solid var(--brass-hair);
  padding-block: clamp(48px, 6vw, 76px) 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 16px;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a { font-size: 14px; color: var(--parchment-mute); text-decoration: none; transition: color 0.2s var(--ease); }
.footer a:hover { color: var(--brass-bright); }
.footer .brand { font-size: 1.5rem; }
.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--parchment-dim);
  margin-top: 14px;
  max-width: 30ch;
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  margin-top: clamp(38px, 5vw, 60px);
  padding-top: 26px;
  border-top: 1px solid rgba(246, 241, 231, 0.07);
  font-size: 12.5px;
  color: var(--parchment-dim);
  letter-spacing: 0.04em;
}

/* ---------------------------------------------------------------- entrance */
/*
   CONTENT IS NEVER HIDDEN BEHIND SCRIPT.

   This previously used an IntersectionObserver to fade blocks in on scroll, and
   the observer stopped firing after the first few — leaving 24 of 28 blocks at
   opacity 0 forever. The page served a headline and then five thousand pixels of
   nothing. A marketing page must render with scripting broken, slow, or absent.

   So `.reveal` no longer hides anything. The only motion is a CSS-only entrance
   on the first screenful, which runs off the document timeline and cannot get
   stuck: even mid-animation the element is painted, and if animations are
   disabled entirely the content is simply there.
*/
.reveal { opacity: 1; transform: none; }

/* NOTE: this animates TRANSFORM ONLY, never opacity — deliberately.
   An entrance that fades from opacity 0 leaves the content invisible for as long
   as the animation fails to run, and "fails to run" is a real state (a paused
   compositor, an odd rendering mode, an aggressive extension). Sliding a fully
   opaque element into place degrades to "already in place", which is harmless.
   Text on this site is never transparent at any point in its lifecycle. */
@keyframes riseIn {
  from { transform: translateY(14px); }
  to   { transform: none; }
}

/* Applied only to the hero and page headers — the part on screen at load. Nothing
   below the fold animates, so nothing below the fold can fail to appear. */
.hero .reveal,
.page-head .reveal {
  animation: riseIn 0.7s var(--ease) both;
}
.hero .reveal:nth-child(1), .page-head .reveal:nth-child(1) { animation-delay: 0.02s; }
.hero .reveal:nth-child(2), .page-head .reveal:nth-child(2) { animation-delay: 0.10s; }
.hero .reveal:nth-child(3), .page-head .reveal:nth-child(3) { animation-delay: 0.18s; }
.hero .reveal:nth-child(4), .page-head .reveal:nth-child(4) { animation-delay: 0.26s; }
.hero .reveal:nth-child(5), .page-head .reveal:nth-child(5) { animation-delay: 0.34s; }

@media (prefers-reduced-motion: reduce) {
  .hero .reveal, .page-head .reveal { animation: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------------------------------------------------------------- utility */
.center { text-align: center; }
.center p, .center .lede { margin-inline: auto; }
.center .eyebrow { justify-content: center; }
.mt-sm { margin-top: 18px; }
.mt-md { margin-top: 34px; }
.mt-lg { margin-top: 56px; }
.text-royal { color: var(--royal-bright); }
.text-brass { color: var(--brass); }
