/* ==========================================================================
   UBIQLAW — Patent & Trademark Intelligence
   Single-page design system. Monochrome (black / grey) brand tokens live
   in :root.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BRAND TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Colour — monochrome, black & grey only */
  --ink:         #0b0b0c;  /* near-black — headlines, dark sections          */
  --plum:        #222226;  /* dark charcoal — buttons, dark surfaces         */
  --plum-soft:   #333338;  /* raised dark surfaces                           */
  --body-c:      #46464c;  /* body copy on light                             */
  --muted:       #7a7a82;  /* labels, captions                               */
  --ground:      #fbfbfc;  /* page background                                */
  --ground-alt:  #f2f2f4;  /* alternating bands, inset panels                */
  --card:        #ffffff;  /* card surfaces                                  */
  --rule:        #e3e3e6;  /* hairlines                                      */
  --rule-soft:   #ececee;  /* faint hairlines                                */
  --accent:      #3a3a3f;  /* dark grey — marks, fills                       */
  --accent-hi:   #55555c;  /* grey hover / gradient top                      */
  --accent-ink:  #55555c;  /* accent text on light                           */
  --dark-body:   #d4d4d8;  /* body copy on dark                              */
  --dark-muted:  #a1a1aa;  /* muted text on dark                             */
  --dark-rule:   rgba(255, 255, 255, 0.14);

  /* Type */
  --font-display: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --font-body:    "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  /* Rhythm */
  --gutter:    clamp(1.25rem, 4.5vw, 4rem);
  --max:       1240px;
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --radius:    18px;
  --radius-sm: 12px;

  --shadow-card: 0 1px 2px rgba(10, 10, 12, 0.05), 0 12px 32px -12px rgba(10, 10, 12, 0.12);
  --shadow-lift: 0 2px 6px rgba(10, 10, 12, 0.08), 0 24px 48px -16px rgba(10, 10, 12, 0.22);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--body-c);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--ink); }

::selection { background: rgba(11, 11, 12, 0.14); color: var(--ink); }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  top: -100px; left: 1rem;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  font-size: 0.9rem;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
.h-display, .h-1, .h-2 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

.h-display { font-size: clamp(2.5rem, 5.6vw, 4.35rem); }
.h-1 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); line-height: 1.12; }
.h-2 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; }

.h-display em, .h-1 em {
  font-style: normal;
  background: linear-gradient(120deg, #6b6b74, #2b2b2e 55%, #0b0b0c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 2rem; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  flex: none;
}

.lede {
  font-size: clamp(1.1rem, 1.05rem + 0.3vw, 1.28rem);
  line-height: 1.65;
  color: var(--body-c);
  font-weight: 400;
  max-width: 62ch;
}

/* --------------------------------------------------------------------------
   4. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  padding: 0.82rem 1.65rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, #3a3a3f, #0f0f10 70%);
  color: #fff;
  box-shadow: 0 4px 16px -4px rgba(10, 10, 12, 0.45);
}
.btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -6px rgba(10, 10, 12, 0.5);
}

.btn--ghost {
  border-color: var(--rule);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn--sm { padding: 0.55rem 1.15rem; font-size: 0.88rem; }

.btn__arrow { transition: transform 0.22s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(251, 251, 252, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--rule);
  box-shadow: 0 8px 30px -18px rgba(10, 10, 12, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 76px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  flex: none;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.wordmark span { color: var(--muted); font-weight: 500; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}
.nav-links > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links > li > a:hover { background: var(--ground-alt); color: var(--ink); }
.nav-links > li > a.btn { color: #fff; margin-left: 0.5rem; }
.nav-links > li > a.btn:hover { background: linear-gradient(135deg, #3a3a3f, #0f0f10 70%); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.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); }

.nav-panel {
  display: none;
  border-top: 1px solid var(--rule);
  background: rgba(251, 251, 252, 0.97);
  max-height: calc(100vh - 76px);
  overflow-y: auto;
}
.nav-panel.is-open { display: block; }
.nav-panel ul { list-style: none; padding: 1rem 0 1.5rem; }
.nav-panel a {
  display: block;
  padding: 0.8rem 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--rule-soft);
}
.nav-panel a:hover { color: var(--accent-ink); }

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

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(76px + clamp(3.5rem, 8vw, 7rem));
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52rem 30rem at 88% -10%, rgba(10, 10, 12, 0.06), transparent 60%),
    radial-gradient(46rem 30rem at -8% 12%, rgba(10, 10, 12, 0.05), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10, 10, 12, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 10, 12, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70rem 40rem at 60% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70rem 40rem at 60% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; }

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  margin: 0 0 1.8rem;
  box-shadow: var(--shadow-card);
}

.hero__title { max-width: 20ch; margin-bottom: 1.6rem; }
.hero__body .lede { margin-bottom: 1em; }
.hero__body { max-width: 62ch; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.75rem;
  max-width: 640px;
}
.hero-stat {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-card);
}
.hero-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hero-stat span { font-size: 0.78rem; color: var(--muted); line-height: 1.35; display: block; margin-top: 0.15rem; }
@media (max-width: 640px) { .hero-stats { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   7. Sections
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--ground-alt); }

.section--dark {
  background: linear-gradient(165deg, var(--plum) 0%, var(--ink) 90%);
  color: var(--dark-body);
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(46rem 26rem at 90% 0%, rgba(255, 255, 255, 0.06), transparent 60%),
    radial-gradient(36rem 22rem at 0% 100%, rgba(255, 255, 255, 0.04), transparent 60%);
  pointer-events: none;
}
.section--dark .wrap { position: relative; }
.section--dark .h-1, .section--dark .h-2 { color: #fff; }
.section--dark .eyebrow { color: var(--dark-body); }
.section--dark .eyebrow::before { background: #fff; }
.section--dark .lede { color: var(--dark-body); }
.section--dark p { color: var(--dark-body); }

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.sec-head .h-1 { margin-bottom: 0; }
.sec-head .lede { margin-bottom: 0.2em; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; align-items: start; } }

/* --------------------------------------------------------------------------
   8. Cards & grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }
@media (min-width: 861px) and (max-width: 1080px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }

.cell {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 1.6rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.cell:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(10, 10, 12, 0.28);
}

.cell__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem; height: 2.4rem;
  border: 1px solid rgba(10, 10, 12, 0.18);
  border-radius: 10px;
  background: rgba(10, 10, 12, 0.045);
  margin: 0 0 1.1rem;
}

.cell__title {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.cell__body { font-size: 0.95rem; line-height: 1.65; margin: 0 0 0.9rem; color: var(--body-c); }

.tick-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}
.tick-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--body-c);
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.3em;
  width: 0.9rem; height: 0.9rem;
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.06);
  border: 1px solid rgba(10, 10, 12, 0.35);
}
.tick-list li::after {
  content: "";
  position: absolute;
  left: 0.26rem; top: 0.52em;
  width: 0.36rem; height: 0.2rem;
  border-left: 1.6px solid var(--ink);
  border-bottom: 1.6px solid var(--ink);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   9. Value strip (why ubiqlaw)
   -------------------------------------------------------------------------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 860px) { .value-grid { grid-template-columns: 1fr; } }

.value {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.value__num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark-muted);
  margin: 0 0 0.9rem;
}
.value__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.5rem;
}
.value__body { font-size: 0.92rem; color: var(--dark-body); margin: 0; }

/* --------------------------------------------------------------------------
   10. Forms
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: clamp(1.75rem, 4vw, 3rem);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem 1.5rem;
}
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .field--full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.45rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--ground);
  border: 1.5px solid var(--rule);
  border-radius: 10px;
  padding: 0.75rem 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(10, 10, 12, 0.1);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a7a82' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  border-left: 3px solid var(--ink);
  padding-left: 1rem;
  margin-top: 1.5rem;
}

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.notice-card {
  background: var(--ground-alt);
  border: 1px dashed rgba(10, 10, 12, 0.35);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 74ch;
}
.notice-card .eyebrow { margin-bottom: 0.6rem; }

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, var(--ink) 0%, #000000 100%);
  color: var(--dark-muted);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2.5rem;
  margin-top: var(--section-y);
  position: relative;
  overflow: hidden;
}
.site-footer .wrap { position: relative; }

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--dark-rule);
  align-items: start;
}
@media (max-width: 700px) { .footer__top { grid-template-columns: 1fr; } }

.footer__mark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}
.footer__mark span { color: var(--dark-muted); font-weight: 500; }
.footer__tag { font-size: 0.9rem; color: var(--dark-muted); max-width: 34ch; margin: 0; }

.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 1rem;
}
.footer__col ul { list-style: none; display: grid; gap: 0.55rem; }
.footer__col a { color: var(--dark-body); font-size: 0.9rem; }
.footer__col a:hover { color: #fff; }

.disclaimer {
  font-size: 0.82rem;
  color: var(--dark-muted);
  max-width: 70ch;
  margin: 1.75rem 0 0;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--dark-rule);
  font-size: 0.82rem;
}
.footer__bottom p { margin: 0; }

/* Direct contact details (email / phone) shown above the contact form */
.contact-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}
.contact-direct__item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.35rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.contact-direct__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: var(--ink);
}
.contact-direct__label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.contact-direct__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   12. Reveal animations
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0.00s; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.is-in > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger.is-in > *:nth-child(8) { transition-delay: 0.56s; }
.reveal-stagger.is-in > *:nth-child(9) { transition-delay: 0.64s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .cell, .btn { transition: none; }
}
