/* ScanMyRock marketing site.
   Palette and register mirror the app's design tokens: warm paper, white
   cards, deep forest green, brass. The dark final band keeps the app's
   obsidian-and-brass identity. */

:root {
  --paper: #F6F4EE;
  --card: #FFFFFF;
  --ink: #1D231E;
  --muted: #62675C;
  --green: #2E4A3A;
  --green-deep: #243B2E;
  --green-soft: #E4EDE5;
  --outline: #E7E4DB;
  --gold: #A8842C;
  --success: #2F7A4C;
  --warning: #C0660F;
  --obsidian: #0E0F12;
  --obsidian-elevated: #191B21;
  --brass: #D4AF37;
  --paper-on-dark: #F2EFE9;
  --muted-on-dark: #A8A49B;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --shadow-card: 0 1px 2px rgba(29, 35, 30, 0.04), 0 8px 24px rgba(29, 35, 30, 0.06);
  --shadow-phone: 0 2px 6px rgba(14, 15, 18, 0.18), 0 24px 64px rgba(14, 15, 18, 0.22);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* A whisper of paper grain over the warm ground. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.44 0 0 0 0 0.40 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, header.site-header, footer { position: relative; z-index: 1; }

/* height: auto beats the height="" presentational hint, so constrained
   images keep their aspect ratio. */
img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); }

::selection { background: var(--green-soft); color: var(--ink); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* Horizontal gutter only, via padding-inline, so composite classes like
   .wrap.nav can set padding-block without wiping it out. */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Typography ---------- */

h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}

.lede {
  font-size: clamp(1.125rem, 1.8vw, 1.3125rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 38em;
}

.section-head { max-width: 44em; }
.section-head .lede { margin-top: 1rem; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover { background: var(--green-deep); box-shadow: 0 6px 20px rgba(46, 74, 58, 0.28); }

.btn-ghost {
  background: transparent;
  color: var(--green);
  border-color: rgba(46, 74, 58, 0.35);
}
.btn-ghost:hover { background: var(--green-soft); border-color: var(--green); }

/* Store badges: dark pills with a two-line label. */
.store-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  padding: 0.65rem 1.35rem 0.7rem 1.1rem;
  border-radius: 14px;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
}
.badge:hover { background: #000; box-shadow: 0 8px 24px rgba(14, 15, 18, 0.3); }
.badge:active { transform: scale(0.97); }
.badge svg { width: 26px; height: 26px; flex: none; }
.badge .badge-text { display: flex; flex-direction: column; line-height: 1.15; }
.badge .badge-small { font-size: 0.6875rem; font-weight: 400; opacity: 0.85; letter-spacing: 0.02em; }
.badge .badge-big { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }

.badges-dark .badge { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); }
.badges-dark .badge:hover { background: rgba(255, 255, 255, 0.14); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 238, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  transition: box-shadow 300ms ease;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--outline), 0 8px 24px rgba(29, 35, 30, 0.05); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand span {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 150ms ease;
}
.nav-links a:hover { color: var(--green); }

.nav .btn { padding: 0.7rem 1.25rem; font-size: 0.95rem; }

@media (max-width: 760px) {
  .nav-links { display: none; }
}

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

.hero { overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(3rem, 7vw, 5.5rem) 0;
}

.hero-copy .lede { margin: 1.4rem 0 2.1rem; }

.hero-note {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin-top: 2.4rem;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--muted);
}
.hero-facts li { display: flex; align-items: center; gap: 0.5rem; }
.hero-facts svg { width: 16px; height: 16px; color: var(--success); flex: none; }

/* Phone mockup */

.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.phone {
  width: min(340px, 78vw);
  border-radius: 46px;
  border: 9px solid #17191c;
  background: #17191c;
  box-shadow: var(--shadow-phone);
  overflow: hidden;
  position: relative;
}
.phone img { width: 100%; border-radius: 37px; }
.phone::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 37px;
  background: linear-gradient(115deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 30%);
  pointer-events: none;
}

.phone-lg { width: min(360px, 82vw); }

.float-chip {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--outline);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  line-height: 1.35;
  max-width: 220px;
}
.float-chip strong { display: block; font-weight: 600; }
.float-chip .tick { color: var(--success); margin-right: 0.35rem; }

/* Chips hang off the phone's edges. Anchored to the stage's centre so they
   track the phone across widths, hidden where there is no room to hang. */
.chip-tl { top: 18%; left: calc(50% - 355px); }
.chip-br { bottom: 15%; right: calc(50% - 355px); }

@media (max-width: 1020px) {
  .chip-tl, .chip-br { display: none; }
}

@media (min-width: 1021px) {
  .chip-tl { animation: bob 7s ease-in-out infinite; }
  .chip-br { animation: bob 8s ease-in-out 1.2s infinite; }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone-stage { order: 2; }
}

/* ---------- Marquee ---------- */

.marquee {
  border-top: 1px solid var(--outline);
  border-bottom: 1px solid var(--outline);
  overflow: hidden;
  padding: 0.9rem 0;
  background: rgba(255, 255, 255, 0.45);
}
.marquee-track {
  display: flex;
  gap: 2.75rem;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee span {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--muted);
  white-space: nowrap;
}
.marquee span::after {
  content: "·";
  margin-left: 2.75rem;
  color: var(--gold);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

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

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.75rem;
}

.step {
  background: var(--card);
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-card);
}
.step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.975rem; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
}

/* Alternating feature rows */

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.feature-row + .feature-row { border-top: 1px solid var(--outline); }
.feature-row.flip .feature-media { order: 2; }

.feature-media { display: flex; justify-content: center; }

.feature-copy h2 { margin-bottom: 1rem; }
.feature-copy p { color: var(--muted); margin-bottom: 1rem; }

.feature-list {
  list-style: none;
  margin-top: 1.4rem;
  display: grid;
  gap: 0.8rem;
}
.feature-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.975rem;
}
.feature-list svg { width: 20px; height: 20px; color: var(--success); flex: none; margin-top: 0.1rem; }
.feature-list strong { font-weight: 600; }

@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.flip .feature-media { order: 0; }
}

/* Small feature grid */

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.75rem;
}
.mini {
  background: var(--card);
  border: 1px solid var(--outline);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.4rem;
  transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .mini:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
}
.mini svg { width: 26px; height: 26px; color: var(--green); margin-bottom: 0.9rem; }
.mini h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.mini p { font-size: 0.92rem; color: var(--muted); }

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

/* ---------- Honesty band ---------- */

.honesty {
  background: var(--green);
  color: var(--paper-on-dark);
}
.honesty .eyebrow { color: var(--brass); }
.honesty h2 { color: #fff; max-width: 17em; }
.honesty .lede { color: rgba(242, 239, 233, 0.82); }

.bands {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.75rem;
}
.band {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.2rem;
}
.band .pct {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.band .label { font-weight: 600; font-size: 0.95rem; margin-top: 0.15rem; }
.band p { font-size: 0.85rem; margin-top: 0.4rem; color: rgba(242, 239, 233, 0.75); }
.band .meter {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  margin-top: 0.9rem;
  overflow: hidden;
}
.band .meter i { display: block; height: 100%; border-radius: 999px; }

@media (max-width: 860px) {
  .bands { grid-template-columns: 1fr 1fr; }
}

/* ---------- Two registers ---------- */

.registers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.75rem;
}
.register {
  border-radius: var(--radius-lg);
  padding: 2rem 1.9rem;
  border: 1px solid var(--outline);
}
.register.science { background: var(--card); }
.register.story { background: var(--green-soft); border-color: transparent; }
.register h3 { margin-bottom: 0.75rem; }
.register p { color: var(--muted); font-size: 0.975rem; margin-bottom: 0.8rem; }
.register .tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
.register .tag {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--outline);
  color: var(--ink);
}

@media (max-width: 760px) {
  .registers { grid-template-columns: 1fr; }
}

/* ---------- Quotes ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.75rem;
}
.quote {
  background: var(--card);
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.quote .stars { color: var(--gold); letter-spacing: 0.15em; font-size: 0.9rem; }
.quote blockquote {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.45;
  color: var(--ink);
}
.quote figcaption { font-size: 0.875rem; color: var(--muted); margin-top: auto; }
.quote figcaption strong { color: var(--ink); font-weight: 600; }

@media (max-width: 860px) {
  .quotes { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */

.faq-list { margin-top: 2.5rem; display: grid; gap: 0.9rem; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--outline);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-weight: 600;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--green);
  transition: transform 250ms var(--ease-out);
}
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 1.4rem 1.25rem;
  color: var(--muted);
  font-size: 0.975rem;
  max-width: 60ch;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-alt { margin-top: 1.5rem; font-size: 0.95rem; color: var(--muted); }

.contact-form {
  background: var(--card);
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2rem 1.9rem;
  display: grid;
  gap: 1.2rem;
}

.contact-form .field { display: grid; gap: 0.45rem; }

.contact-form label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--outline);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem;
  width: 100%;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.contact-form textarea { resize: vertical; min-height: 7.5rem; }

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #9AA095; }

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}

.contact-form .btn { justify-self: start; }

.form-status { font-size: 0.9rem; color: var(--muted); min-height: 1.3em; margin: 0; }
.form-status.ok { color: var(--success); font-weight: 500; }
.form-status.error { color: var(--danger, #AF352B); font-weight: 500; }

/* The whole form swaps for this once a message has gone through. */
.form-sent {
  display: grid;
  gap: 0.4rem;
  justify-items: center;
  text-align: center;
  padding: 2.5rem 1rem;
}
.form-sent svg { width: 40px; height: 40px; color: var(--success); margin-bottom: 0.5rem; }
.form-sent strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.form-sent p { color: var(--muted); font-size: 0.95rem; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Final CTA ---------- */

.cta-final {
  background: var(--obsidian);
  color: var(--paper-on-dark);
  text-align: center;
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.cta-final .eyebrow { color: var(--brass); }
.cta-final h2 {
  color: #fff;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  max-width: 16em;
  margin: 0 auto 1.2rem;
}
.cta-final p { color: var(--muted-on-dark); max-width: 34em; margin: 0 auto 2.4rem; }
.cta-final .store-badges { justify-content: center; }

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

.site-footer {
  background: var(--obsidian);
  color: var(--muted-on-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem 0 3rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.site-footer .brand { color: var(--paper-on-dark); }
.site-footer .brand img { width: 30px; height: 30px; border-radius: 8px; }
.site-footer .brand span { font-size: 1.1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; }
.footer-links a { color: var(--muted-on-dark); text-decoration: none; transition: color 150ms ease; }
.footer-links a:hover { color: var(--paper-on-dark); }
.footer-credit {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: rgba(168, 164, 155, 0.75);
  max-width: 62em;
}

/* ---------- Legal pages ---------- */

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2.5rem) 5rem;
}
.legal h1 { font-size: clamp(2.1rem, 4vw, 3rem); margin-bottom: 0.5rem; }
.legal .legal-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.45rem; margin: 2.4rem 0 0.8rem; }
.legal h3 { font-size: 1.1rem; margin: 1.6rem 0 0.5rem; font-family: var(--sans); font-weight: 600; }
.legal p, .legal li { color: #3A4038; font-size: 0.975rem; }
.legal p { margin-bottom: 0.9rem; }
.legal ul { margin: 0 0 1rem 1.3rem; }
.legal li { margin-bottom: 0.45rem; }
.legal .callout {
  background: var(--green-soft);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  margin: 1.4rem 0;
  font-size: 0.95rem;
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }

.reveal-group > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out);
}
.reveal-group.in > * { opacity: 1; transform: none; }
.reveal-group.in > *:nth-child(2) { transition-delay: 70ms; }
.reveal-group.in > *:nth-child(3) { transition-delay: 140ms; }
.reveal-group.in > *:nth-child(4) { transition-delay: 210ms; }
.reveal-group.in > *:nth-child(5) { transition-delay: 280ms; }
.reveal-group.in > *:nth-child(6) { transition-delay: 350ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-group > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-track { animation: none; }
  .chip-tl, .chip-br { animation: none; }
  .btn, .badge { transition: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
