/* ==========================================================================
   Design tokens, reverse-engineered from the reference (mobile recording)
   ========================================================================== */

@font-face {
  font-family: "Inter Display";
  src: url("/fonts/InterDisplay-Medium.woff") format("woff");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Medium.woff") format("woff");
  font-weight: 500; font-style: normal; font-display: swap;
}

:root {
  /* ── Document 3 (Colors) ─────────────────────────────────────────────
     The reference's signature red (#ff0000) is now green. It's used for the
     home hero, the page-transition stripes, the theme-color and the favicon
     dot. Black ink on --brand ≈ 10:1 contrast (WCAG AAA). */
  --brand: #00d65b;          /* was #ff0000 */
  --brand-ink: #0a0a0a;

  /* Page palettes (one per page, as in the reference) */
  --paper: #ffffff;          /* home work section, footer, legal */
  --dark: #161616;           /* home statement */
  --about: #c9ecf4;          /* about: pale sky */
  --black: #000000;          /* projects */
  --stone: #bfbfbf;          /* contact */

  --ink: #0a0a0a;
  --ink-inv: #ffffff;
  --hair: color-mix(in srgb, currentColor 14%, transparent);

  /* Type: Inter Display for display sizes, Inter for UI text */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Display", var(--font);

  --micro: 0.75rem;                                   /* nav, tables, labels (12px floor for legibility) */
  --small: clamp(0.8125rem, 0.78rem + 0.15vw, 0.9rem);
  --body: clamp(1rem, 0.95rem + 0.2vw, 1.1rem);
  --lead: clamp(1.3rem, 1.05rem + 1.25vw, 2.4rem);    /* statements */
  --lead-xl: clamp(1.6rem, 1.2rem + 2vw, 3.6rem);
  --display: clamp(2.1rem, 1.2rem + 4.6vw, 6.5rem);   /* page headlines */
  --name: min(14.6vw, 19rem);                         /* hero name, one line */
  --year: min(30vw, 34rem);                           /* footer "20*26" */

  --track-tight: -0.035em;
  --track-display: -0.055em;

  /* Grid */
  --gutter: clamp(1rem, 2.2vw, 1.75rem);
  --col: calc((100vw - var(--gutter) * 2) / 4);       /* 4-column editorial grid */

  /* Touch: Fitts's Law minimum target */
  --target: 44px;
  --nav-h: 48px;

  --ease: cubic-bezier(0.2, 0.75, 0.15, 1);
  --ease-io: cubic-bezier(0.7, 0, 0.2, 1);
}

/* Base / reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--paper);
  color: var(--ink);
}

body {
  min-height: 100dvh;
  font-family: var(--font);
  font-size: var(--body);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  overflow-x: clip;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }

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

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

.skip-link {
  position: fixed; left: var(--gutter); top: -100px; z-index: 200;
  padding: 0.7rem 1rem; border-radius: 999px; background: var(--ink); color: var(--ink-inv);
  font-size: var(--micro);
}
.skip-link:focus { top: var(--gutter); }
main:focus { outline: none; }

/* Shared type */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--display);
  line-height: 0.98;
  letter-spacing: var(--track-display);
  text-wrap: balance;
}
.lead {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--lead);
  line-height: 1.04;
  letter-spacing: var(--track-tight);
  text-wrap: pretty;
}
.lead--xl { font-size: var(--lead-xl); }

/* ==========================================================================
   Layout: page themes, chrome (nav + footer) and Document 2 inversion
   ========================================================================== */

/* Page background per theme (matches the reference page by page) */
html[data-theme="home"]     { background: var(--paper); }
html[data-theme="about"]    { background: var(--about); }
html[data-theme="projects"] { background: var(--black); color: var(--ink-inv); }
html[data-theme="contact"]  { background: var(--stone); }
html[data-theme="legal"]    { background: var(--paper); }

/* Every block stacks above the sticky home hero */
main > * { position: relative; z-index: 1; }

/* ── Nav bar ────────────────────────────────────────────────────────────── */
.navbar {
  --nav-bg: transparent;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--nav-h);
  padding-inline: var(--gutter);
  font-size: var(--micro);
  color: var(--ink);
  z-index: 50;
  transition: color 240ms var(--ease), background-color 240ms var(--ease);
}
.navbar[data-ink="light"] { color: var(--ink-inv); }

.navbar--top { position: absolute; inset: 0 0 auto 0; }

/* Inverted: fixed bottom bar, thumb reachable (Fitts's Law). Its background
   matches whatever section it's over (set by JS), so text never collides. */
.navbar--bottom {
  position: fixed; inset: auto 0 0 0;
  padding-bottom: env(safe-area-inset-bottom);
  background: color-mix(in srgb, var(--nav-bg) 88%, transparent);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  backdrop-filter: blur(10px) saturate(1.3);
  border-top: 1px solid var(--hair);
}
html[data-layout="inverted"] body { padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); }

.navbar__logo, .navbar__links a {
  display: inline-flex; align-items: center; min-height: var(--target);
}
.navbar__logo { font-weight: 500; }
.navbar__links { display: flex; gap: clamp(0.85rem, 2.4vw, 1.75rem); }
.navbar__links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(2rem, 6vh, 4rem);
  min-height: 82svh;
  padding: 0 var(--gutter) 0;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}
/* Inverted: the footer opens the page, so its content hugs the top */
.footer--top { justify-content: flex-start; padding-top: clamp(0.5rem, 2vh, 1.5rem); padding-bottom: clamp(3rem, 14vh, 8rem); }

.footer__cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin-left: calc(var(--col) * 1.25);
  font-size: var(--micro); line-height: 1.5;
}
@media (min-width: 900px) { .footer__cols { margin-left: calc(var(--col) * 2); } }
.footer__col a { display: inline-block; padding-block: 0.15rem; }
.footer__fine { margin-top: 1.1rem; opacity: 0.55; }

.year {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--year);
  line-height: 1;
  letter-spacing: -0.07em;
  font-variant-numeric: tabular-nums;
  margin-left: -0.04em;
  white-space: nowrap;
  user-select: none;
}
.footer:not(.footer--top) .year { margin-bottom: -0.17em; }
.footer--top .year { margin-top: -0.06em; }
.year > span { display: inline-flex; align-items: center; }
.year__star { display: inline-flex; width: 0.16em; margin-inline: 0.06em 0.09em; transform: translateY(-0.02em); }
.year__star .asterisk { width: 100%; height: auto; }

/* ==========================================================================
   Components
   ========================================================================== */

/* ── Pill button (reference: small black capsule; enlarged to 44px) ─────── */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 0 1.1rem;
  border-radius: 999px;
  background: var(--ink); color: var(--ink-inv);
  font-size: var(--micro); font-weight: 500; white-space: nowrap;
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}
.pill:hover { text-decoration: none; opacity: 0.86; }
.pill:active { transform: scale(0.97); }
.pill--lg { min-height: var(--target); padding: 0 1.4rem; }
@media (pointer: coarse) { .pill { min-height: var(--target); } }

/* ── Asterisk ───────────────────────────────────────────────────────────── */
.asterisk { width: 1em; height: 1em; }

/* ── Data table (projects / experience) ─────────────────────────────────── */
.dtable { width: 100%; border-collapse: collapse; font-size: var(--micro); table-layout: fixed; }
.dtable td { padding: 0.95rem 0.75rem 0.95rem 0; vertical-align: top; border-bottom: 1px solid var(--hair); overflow-wrap: break-word; hyphens: manual; }
.dtable td:last-child { padding-right: 0; }
.dtable tr.is-group td { padding-top: 2.2rem; }
.dtable__year { width: 11%; opacity: 0.7; }
.dtable__name { width: 27%; opacity: 0.8; }
.dtable__link { width: 38%; font-weight: 500; }
.dtable__tag { width: 24%; font-weight: 500; }
@media (min-width: 760px) { .dtable__year, .dtable__name, .dtable__link, .dtable__tag { width: 25%; } }
.dtable__sub { display: block; opacity: 0.6; font-size: 0.9em; margin-top: 0.2rem; }

/* ── HOME: hero ─────────────────────────────────────────────────────────── */
.hero {
  position: sticky; top: 0; z-index: 0 !important;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 0.75rem) var(--gutter) 0;
  background: var(--brand); color: var(--brand-ink);
  overflow: hidden;
}
/* Inverted: name at the top, meta at the bottom; the hero is pinned to the
   viewport bottom so the dark section above slides away to reveal it. */
.hero--inv {
  top: auto; bottom: var(--nav-h);
  min-height: calc(100svh - var(--nav-h) - env(safe-area-inset-bottom));
  padding: clamp(0.75rem, 2vh, 1.5rem) var(--gutter) 1.25rem;
}

.hero__meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem;
  font-size: var(--micro); line-height: 1.35;
}
.hero__role { grid-column: 1; }
.hero__intro { grid-column: 2 / span 2; max-width: 28ch; }
.hero__loc { grid-column: 4; text-align: right; display: flex; flex-direction: column; }
.hero__star { width: clamp(18px, 2.2vw, 28px); height: auto; margin-top: clamp(1.5rem, 5vh, 3rem); }
.hero--inv .hero__intro { display: flex; flex-direction: column; }
.hero--inv .hero__star { margin-top: 0; margin-bottom: clamp(1.5rem, 5vh, 3rem); order: -1; }

.hero__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--name);
  line-height: 0.86;
  letter-spacing: var(--track-display);
  white-space: nowrap;
  margin-left: -0.05em;
  margin-bottom: -0.1em;
}
.hero--inv .hero__name { margin-bottom: 0; margin-top: -0.04em; padding-top: 0.12em; }

/* ── HOME: statement ────────────────────────────────────────────────────── */
.statement {
  display: grid; place-items: start center;
  padding: clamp(5rem, 22vh, 14rem) var(--gutter);
  background: var(--dark); color: var(--ink-inv);
}
.statement__text {
  max-width: 26ch; text-align: center;
  font-size: var(--small); line-height: 1.45;
}
@media (min-width: 900px) { .statement__text { font-size: var(--lead); line-height: 1.12; letter-spacing: var(--track-tight); max-width: 24ch; } }

/* ── HOME: photo + pixel dissolve ───────────────────────────────────────── */
.photo { background: var(--dark); }
.photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 900px) { .photo img { aspect-ratio: auto; height: 110svh; } }
.photo__dissolve { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ── HOME: work preview ─────────────────────────────────────────────────── */
.work { padding: 0 var(--gutter) clamp(3rem, 10vh, 6rem); background: var(--paper); color: var(--ink); }
.work__grid {
  height: clamp(8rem, 28vh, 18rem);
  margin-inline: calc(var(--gutter) * -1);
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--ink) 4%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--ink) 4%, transparent) 1px, transparent 1px);
  background-size: calc(100vw / 12) calc(100vw / 12);
  mask-image: linear-gradient(to bottom, #000, transparent);
}
html[data-layout="inverted"] .work__grid { mask-image: linear-gradient(to top, #000, transparent); }
html[data-layout="inverted"] .work { padding-top: clamp(3rem, 10vh, 6rem); padding-bottom: 0; }

.work__lead {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  margin-block: 0 clamp(1.5rem, 4vh, 2.5rem);
}
html[data-layout="inverted"] .work__lead { margin-block: clamp(2rem, 6vh, 3.5rem) 0; }
.work__lead .lead { max-width: 22ch; font-size: clamp(1.1rem, 0.9rem + 1.3vw, 2.4rem); line-height: 1.06; }

/* ── ABOUT ──────────────────────────────────────────────────────────────── */
.about-intro {
  display: flex; flex-direction: column; justify-content: space-between; gap: 3rem;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 1.5rem) var(--gutter) 1.25rem;
  background: var(--about); color: var(--ink);
}
.about-intro--inv { padding-top: clamp(2rem, 8vh, 4rem); padding-bottom: 1.5rem; }
.about__field { align-self: flex-end; width: clamp(120px, 22vw, 240px); }
.about__headline { max-width: 15ch; }

.about-list { padding: 0 var(--gutter) clamp(3rem, 12vh, 7rem); background: var(--about); color: var(--ink); }
html[data-layout="inverted"] .about-list { padding-top: clamp(2rem, 8vh, 5rem); padding-bottom: 0; }
.about-list > ul { margin-left: var(--col); border-top: 1px solid var(--hair); }
.about__row { display: flex; padding: clamp(1.5rem, 4.5vh, 3rem) 0; border-bottom: 1px solid var(--hair); }
.about__row .lead { max-width: 20ch; font-size: clamp(1.05rem, 0.85rem + 1.2vw, 2.2rem); line-height: 1.08; }
.about__row--right { justify-content: flex-end; }
.about__row--table { display: block; padding-block: 1rem; }
.about__row--table .dtable td { border-bottom: 0; }


.dashfield { width: 100%; height: auto; overflow: visible; }

/* ── PROJECTS ───────────────────────────────────────────────────────────── */
.projects-intro {
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 1rem) var(--gutter) 1.25rem;
  background: var(--black); color: var(--ink-inv);
}
.projects-intro--inv { justify-content: flex-start; padding-top: clamp(2rem, 8vh, 4rem); min-height: 88svh; }
.projects__headline { text-indent: 38%; max-width: 17ch; }

.pgrid { padding: 0 var(--gutter); background: var(--black); color: var(--ink-inv); }
.pgrid__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.6rem, 1.4vw, 1.25rem) clamp(0.5rem, 1.2vw, 1rem); }
.pgrid__item a { display: block; }
.pgrid__item a:hover { text-decoration: none; }
.pgrid__label { display: block; font-size: var(--micro); margin-bottom: 0.4rem; }
.pgrid__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #111; transition: opacity 250ms var(--ease), transform 400ms var(--ease); }
.pgrid__item a:hover img { opacity: 0.85; }

.ptable { padding: clamp(3rem, 10vh, 6rem) var(--gutter); background: var(--black); color: var(--ink-inv); }

/* ── CONTACT ────────────────────────────────────────────────────────────── */
.contact {
  display: flex; flex-direction: column; justify-content: space-between; gap: 4rem;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 1.5rem) var(--gutter) clamp(2rem, 8vh, 4rem);
  background: var(--stone); color: var(--ink);
}
.contact--inv { padding-top: clamp(2rem, 8vh, 4rem); padding-bottom: 1.5rem; }
.contact__headline { max-width: 17ch; padding-bottom: 1.5rem; border-bottom: 1px solid var(--hair); }
.contact--inv .contact__headline { border-bottom: 0; border-top: 1px solid var(--hair); padding: 1.5rem 0 0; }

.cform { margin-left: calc(var(--col) * 1.5); display: grid; gap: 1.6rem; }
@media (min-width: 900px) { .cform { margin-left: calc(var(--col) * 2); max-width: 36rem; } }
.cform__field { display: grid; gap: 0.35rem; }
.cform__label { font-size: 0.6875rem; opacity: 0.75; }
.cform input, .cform textarea {
  width: 100%; padding: 0.35rem 0 0.7rem;
  background: transparent; border: 0; border-bottom: 1px solid var(--hair); border-radius: 0;
  font-size: var(--body); outline: none; resize: vertical;
  transition: border-color 200ms var(--ease);
}
.cform input::placeholder, .cform textarea::placeholder { color: color-mix(in srgb, var(--ink) 45%, transparent); }
.cform input:focus, .cform textarea:focus { border-bottom-color: var(--ink); }
.cform input:focus-visible, .cform textarea:focus-visible { outline: none; box-shadow: 0 1px 0 0 var(--ink); }
.cform [aria-invalid="true"] { border-bottom-color: #8a1c1c; }
.cform__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.cform__actions .pill { margin-left: auto; }
.cform__status { min-height: 1.2em; font-size: var(--micro); }
.cform__fine { font-size: 0.6875rem; opacity: 0.65; }
.cform__fine a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* No-JS confirmation: the API redirects to /contact#sent or #error */
.cform__msg { display: none; font-size: var(--micro); }
.cform__msg:target { display: block; }

/* ── LEGAL / 404 ────────────────────────────────────────────────────────── */
.legal { padding: clamp(3rem, 10vh, 6rem) var(--gutter) clamp(4rem, 12vh, 8rem); background: var(--paper); color: var(--ink); }
.legal > * { margin-left: var(--col); max-width: 62ch; }
@media (max-width: 700px) { .legal > * { margin-left: 0; } }
.legal__head { margin-bottom: 3rem; }
.legal__head .lead { max-width: 18ch; }
.legal__kicker { font-size: var(--micro); margin-bottom: 1rem; opacity: 0.7; }
.legal__meta { font-size: var(--micro); margin-top: 1rem; opacity: 0.6; }
.legal__section { padding-block: 1.5rem; border-top: 1px solid var(--hair); font-size: var(--small); line-height: 1.6; }
.legal__section h2 { font-size: var(--small); font-weight: 500; margin-bottom: 0.6rem; }
.legal__section p + p, .legal__section ul + p, .legal__section p + ul { margin-top: 0.7rem; }
.legal__section ul { list-style: disc; padding-left: 1.1rem; }
.legal__section li + li { margin-top: 0.35rem; }
.legal__section a { text-decoration: underline; text-underline-offset: 2px; }

.notfound { min-height: 80svh; display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; padding: var(--gutter); }
.notfound .display { max-width: 12ch; }
.notfound .pill { align-self: flex-start; }

/* Professional / Personal toggle — Document 4 */
.segmented { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--hair); border-radius: 999px; }
.segmented__item {
  display: inline-flex; align-items: center; min-height: 34px; padding-inline: 0.9rem;
  border-radius: 999px; font-size: var(--micro); font-weight: 500;
  transition: background-color 200ms var(--ease), color 200ms var(--ease);
}
@media (pointer: coarse) { .segmented__item { min-height: var(--target); } }
.segmented__item:hover { text-decoration: none; background: var(--brand); color: var(--brand-ink); }
.segmented__item[aria-current="page"] { background: var(--ink); color: var(--ink-inv); }
.footer__mode { grid-column: 1 / -1; justify-self: start; margin-bottom: 0.75rem; }

/* About › experience on phones: drop the link column, give names room */
@media (max-width: 759px) {
  .about__row--table .dtable__link { display: none; }
  .about__row--table .dtable__year { width: 12%; }
  .about__row--table .dtable__name { width: 58%; }
  .about__row--table .dtable__tag { width: 30%; }
}

/* ==========================================================================
   Motion. Everything here is disabled under prefers-reduced-motion.
   ========================================================================== */

/* Spinning hero asterisk */
.asterisk--spin { animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer odometer. With no JS, each strip rests on its final digit (class d-N). */
.odo { display: inline-block; height: 1em; overflow: hidden; vertical-align: top; }
.odo__strip { display: flex; flex-direction: column; transform: translateY(calc(var(--d, 0) * -1em)); }
.odo__strip > span { display: block; height: 1em; line-height: 1; }
.d-0 { --d: 0; } .d-1 { --d: 1; } .d-2 { --d: 2; } .d-3 { --d: 3; } .d-4 { --d: 4; }
.d-5 { --d: 5; } .d-6 { --d: 6; } .d-7 { --d: 7; } .d-8 { --d: 8; } .d-9 { --d: 9; }
.year.is-armed .odo__strip { transform: translateY(0); transition: none; }
.year.is-rolling .odo__strip { transition: transform 1.7s var(--ease); }

/* Scroll reveal: hidden only when JS is running */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ── Page transition: horizontal stripes in the brand colour ──────────────
   Reference: red bars wipe the screen between pages. Here they're green
   (Document 3). Bars grow thinner toward the bottom, as in the recording. */
.pt {
  position: fixed; inset: 0; z-index: 150;
  display: flex; flex-direction: column;
  pointer-events: none;
}
.pt > i {
  display: block; background: var(--brand);
  transform: scaleY(0); transform-origin: top;
  transition: transform 420ms var(--ease-io);
}
.pt > i:nth-child(1) { flex: 10; } .pt > i:nth-child(2) { flex: 9; }
.pt > i:nth-child(3) { flex: 8; }  .pt > i:nth-child(4) { flex: 7; }
.pt > i:nth-child(5) { flex: 6; }  .pt > i:nth-child(6) { flex: 5; }
.pt > i:nth-child(7) { flex: 4; }  .pt > i:nth-child(8) { flex: 3; }
.pt > i:nth-child(9) { flex: 2; }  .pt > i:nth-child(10) { flex: 1.5; }

/* Covering (leaving a page) */
.pt.is-cover > i { transform: scaleY(1.02); }
/* Arriving: start covered (set before first paint), then uncover */
html.pt-in .pt > i { transform: scaleY(1.02); transition: none; }
html.pt-in .pt.is-reveal > i { transform: scaleY(0); transform-origin: bottom; transition: transform 520ms var(--ease-io); }

.pt > i:nth-child(2) { transition-delay: 30ms; }  .pt > i:nth-child(3) { transition-delay: 60ms; }
.pt > i:nth-child(4) { transition-delay: 90ms; }  .pt > i:nth-child(5) { transition-delay: 120ms; }
.pt > i:nth-child(6) { transition-delay: 150ms; } .pt > i:nth-child(7) { transition-delay: 180ms; }
.pt > i:nth-child(8) { transition-delay: 210ms; } .pt > i:nth-child(9) { transition-delay: 240ms; }
.pt > i:nth-child(10) { transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .pt { display: none; }
}
