/* yasso.se – styles */

/* ---------- Tokens ---------- */
:root {
  --bg: #F4F7F5;
  --surface: #FFFFFF;
  --soft: #E8EFEB;
  --ink: #0F2E25;
  --muted: #4F635A;
  --line: rgba(15, 46, 37, .12);
  --line-strong: rgba(15, 46, 37, .26);
  --green: #1A7A4F;
  --on-green: #FFFFFF;
  --green-soft: #E1F2E8;
  --green-ink: #145E3D;
  --red: #C23B2F;
  --red-soft: #FBE8E5;
  --red-ink: #9A2A20;
  --hl: #88C843;
  --logo-ink: #323232;
  --hl-ink: #0F2E25;
  --hl-size: .32em;
  --hl-pos: 92%;
  --focus: #1A7A4F;
  --ms-tint: #E8EAF7;
  --ms-ink: #26337F;
  --band: #0F2E25;
  --band-ink: #EEF4F0;
  --band-muted: #A9C1B5;
  --band-line: rgba(238, 244, 240, .16);
  --band-focus: #88C843;
  --shadow: 0 1px 2px rgba(15, 46, 37, .05), 0 36px 72px -40px rgba(15, 46, 37, .5);
  --kp-panel: #D5ECDE;
  --kp-road: #C0E1CC;
  --kp-dash: #FFFFFF;
  --ms-panel: #1E2866;
  --ms-star: rgba(255, 207, 58, .17);

  --font: "Familjen Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}


:root[data-theme="dark"] {
  --bg: #0C1F19;
  --surface: #11281F;
  --soft: #183428;
  --ink: #E8F1EC;
  --muted: #9DB3A9;
  --line: rgba(232, 241, 236, .1);
  --line-strong: rgba(232, 241, 236, .24);
  --green: #3DC888;
  --on-green: #0C1F19;
  --green-soft: rgba(61, 200, 136, .14);
  --green-ink: #86E3B7;
  --red: #FF7B6C;
  --red-soft: rgba(255, 123, 108, .13);
  --red-ink: #FFA89D;
  --hl: #88C843;
  --logo-ink: #E8F1EC;
  --hl-ink: #0C1F19;
  --hl-size: .12em;
  --hl-pos: 100%;
  --focus: #88C843;
  --ms-tint: rgba(140, 154, 240, .14);
  --ms-ink: #BAC3FF;
  --band: #112E24;
  --band-ink: #E8F1EC;
  --band-muted: #9DB3A9;
  --band-line: rgba(232, 241, 236, .14);
  --band-focus: #88C843;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 36px 72px -40px rgba(0, 0, 0, .85);
  --kp-panel: #15392A;
  --kp-road: #1D4A37;
  --kp-dash: rgba(232, 241, 236, .35);
  --ms-panel: #1A2160;
  --ms-star: rgba(255, 213, 79, .15);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; text-wrap: pretty; }
::selection { background: #88C843; color: #0F2E25; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.vh { 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 {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--ink); color: var(--bg);
  font-weight: 600; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

/* Highlighter links: the study-desk marker stroke, filled in on hover */
.hl {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  background-image: linear-gradient(var(--hl), var(--hl));
  background-repeat: no-repeat;
  background-position: 0 var(--hl-pos);
  background-size: 100% var(--hl-size);
  padding-inline: .08em;
  border-radius: 2px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size .3s var(--ease), color .3s var(--ease);
}
.hl:hover { background-size: 100% 100%; color: var(--hl-ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 24px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-size: 1rem; font-weight: 600; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: var(--on-green); }
.btn-primary:hover { background: var(--ink); color: var(--bg); }
.btn-quiet { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-quiet:hover { border-color: var(--ink); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: .9375rem; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 68px; }
.brand { display: inline-flex; align-items: center; padding: 6px 0; text-decoration: none; border-radius: 6px; }
.logo { display: block; height: 26px; width: calc(26px * 1057 / 261); color: var(--logo-ink); }
.brand .logo { position: relative; top: 2px; }
@media (max-width: 420px) { .logo { height: 22px; width: calc(22px * 1057 / 261); } }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 10px; border-radius: 8px;
  font-size: .9375rem; font-weight: 500; color: var(--muted); text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.theme-btn {
  display: grid; place-items: center; width: 40px; height: 40px; margin-left: 8px;
  border: 1.5px solid var(--line-strong); border-radius: 999px;
  background: transparent; color: var(--ink); cursor: pointer;
  transition: border-color .2s;
}
.theme-btn:hover { border-color: var(--ink); }
.theme-btn svg { display: block; transition: transform .5s var(--ease); }
:root[data-theme="dark"] .theme-btn svg { transform: rotate(180deg); }
@media (max-width: 420px) {
  .nav-links a { padding: 8px 7px; font-size: .875rem; }
  .theme-btn { margin-left: 4px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(32px, 6vw, 88px) clamp(64px, 9vw, 120px); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 432px; gap: 56px; }
}
@media (min-width: 1160px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 448px; gap: 96px; }
}
.hero h1 {
  margin: 0;
  font-size: clamp(3.75rem, 11vw, 6.25rem);
  font-weight: 700;
  line-height: .96;
  letter-spacing: -.045em;
}
@media (min-width: 960px) {
  .hero h1 { font-size: clamp(4rem, 6.4vw + .5rem, 6.75rem); }
}
.hero h1 .ln { display: block; overflow: hidden; padding: .06em .04em .08em 0; margin: -.06em 0 -.08em; white-space: nowrap; }
.hero h1 .ln > span { display: block; }
.intro {
  max-width: 38ch;
  margin-top: 28px;
  font-size: clamp(1.1875rem, 1.2vw + .5rem, 1.3125rem);
  line-height: 1.5;
  color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.elsewhere { margin-top: 28px; color: var(--muted); }
.elsewhere .hl { color: var(--ink); }

/* ---------- Hero question card ---------- */
html:not(.js) .quiz { display: none; }
.quiz {
  width: 100%;
  max-width: 520px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow);
}
.quiz-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.quiz-title { margin: 0; font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; }
.quiz-count { font-size: .9375rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.quiz-bar { height: 6px; margin: 14px 0 22px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.quiz-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--green); transition: width .6s var(--ease); }
.quiz-stage { display: flex; flex-direction: column; min-height: 31.5rem; }
.quiz-stage.is-entering { animation: stage-in .45s var(--ease); }
.quiz-source { margin-bottom: 12px; font-size: .9375rem; color: var(--muted); }
.quiz-visual { display: grid; place-items: center; height: 136px; border-radius: 20px; background: var(--soft); }
.quiz-visual svg { width: 108px; height: auto; }
.quiz-visual.is-word { background: var(--ms-tint); color: var(--ms-ink); }
.quiz-visual.is-word span { font-size: 3.25rem; font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.quiz-q { margin: 20px 0 14px; font-size: 1.375rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.quiz-opts { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 54px; padding: 12px 16px;
  border: 1.5px solid var(--line-strong); border-radius: 16px;
  background: var(--surface); color: var(--ink);
  font-size: 1.0625rem; font-weight: 500; text-align: left;
  cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s, opacity .2s;
}
.opt:hover:not(:disabled) { border-color: var(--ink); }
.opt:disabled { cursor: default; }
.opt.is-right { border-color: var(--green); background: var(--green-soft); color: var(--green-ink); }
.opt.is-wrong { border-color: var(--red); background: var(--red-soft); color: var(--red-ink); }
.opt.is-dim { opacity: .5; }
.opt-icon { display: grid; place-items: center; flex: none; width: 24px; height: 24px; }
.opt-icon svg { width: 22px; height: 22px; animation: pop .35s var(--ease); }
.quiz-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; min-height: 76px; margin-top: auto; padding-top: 18px; }
.quiz-feedback { flex: 1 1 200px; font-size: .9375rem; line-height: 1.45; }
.quiz-feedback.is-right { color: var(--green-ink); }
.quiz-feedback.is-wrong { color: var(--red-ink); }
.quiz-feedback.is-hint { color: var(--muted); }
.quiz-result { display: flex; flex-direction: column; gap: 14px; margin: auto 0; }
.quiz-score { font-size: 2rem; font-weight: 700; letter-spacing: -.035em; line-height: 1.1; outline: none; }
.quiz-note { color: var(--muted); max-width: 34ch; }
.quiz-result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.quiz-recap { display: grid; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.quiz-recap li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--soft); font-size: .9375rem; line-height: 1.35; }
.quiz-recap b { display: block; font-weight: 600; }
.quiz-recap .is-right .opt-icon { color: var(--green-ink); }
.quiz-recap .is-wrong .opt-icon { color: var(--red-ink); }
.quiz-recap .recap-fact { color: var(--muted); }

/* ---------- Work ---------- */
.work { padding-block: clamp(56px, 8vw, 112px) clamp(80px, 11vw, 144px); }
.section-intro { max-width: 720px; margin-bottom: clamp(48px, 7vw, 88px); }
.h2 { margin: 0; font-size: clamp(2.25rem, 4vw + .5rem, 3.5rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.02; }
.lede { max-width: 52ch; margin-top: 18px; font-size: clamp(1.125rem, .6vw + .9rem, 1.25rem); color: var(--muted); }

.project { display: grid; gap: 36px; align-items: center; }
.project + .project { margin-top: clamp(72px, 10vw, 128px); }
.project-media { order: -1; }
@media (min-width: 960px) {
  .project { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; }
  .project.flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .project .project-media { order: 1; }
  .project.flip .project-media { order: -1; }
}
.h3 { margin: 0; font-size: clamp(1.875rem, 2.4vw + .9rem, 2.5rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.summary { max-width: 44ch; margin-top: 14px; font-size: 1.1875rem; line-height: 1.5; }
.points { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); }
.points li { position: relative; padding-left: 30px; max-width: 52ch; }
.points li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px 32px; margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.facts dt { margin-bottom: 2px; font-size: .9375rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.more { margin-top: clamp(64px, 8vw, 104px); font-size: 1.1875rem; color: var(--muted); }
.more .hl { color: var(--ink); }

/* Project panels */
.project-media {
  container-type: inline-size;
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 32px;
}
@media (min-width: 600px) { .project-media { aspect-ratio: 5 / 4; } }
.media-kp { background: var(--kp-panel); }
.media-ms { background: var(--ms-panel); }
.media-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.road { fill: none; stroke: var(--kp-road); stroke-width: 96; stroke-linecap: round; }
.road-dash { fill: none; stroke: var(--kp-dash); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 26 22; }
.ms-art {
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 46%, transparent 32%, #000 78%);
  mask-image: radial-gradient(ellipse 62% 58% at 50% 46%, transparent 32%, #000 78%);
}
.ms-star-g { fill: none; stroke: var(--ms-star); stroke-width: 1.25; }

/* Phone illustration */
.phone {
  --pw: clamp(184px, 46cqw, 272px);
  position: absolute; z-index: 1; top: 11%; left: 50%;
  width: var(--pw); height: calc(var(--pw) * 2.1667);
  margin-left: calc(var(--pw) / -2);
  border-radius: calc(var(--pw) * .155);
  background: #0B1A15;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .08), 0 40px 60px -34px rgba(4, 20, 14, .5), 0 12px 24px -12px rgba(4, 20, 14, .3);
}
.screen { position: absolute; inset: calc(var(--pw) * .032); overflow: hidden; border-radius: calc(var(--pw) * .125); background: #FFFFFF; }
.ui {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 1.15em;
  padding: 0 1.45em 1.5em;
  font-size: calc(var(--pw) * .042); line-height: 1.3;
  color: #14231D; background: #FFFFFF;
}
.island { position: absolute; top: .95em; left: 50%; width: 31%; height: 2.35em; margin-left: -15.5%; border-radius: 2em; background: #0B1A15; }
.sb { flex: none; display: flex; align-items: center; justify-content: space-between; height: 4.3em; padding: 0 .9em; margin-bottom: -.5em; font-size: .92em; font-weight: 700; }
.bat { position: relative; width: 2.3em; height: 1.1em; border: .14em solid currentColor; border-radius: .35em; }
.bat::after { content: ""; position: absolute; inset: .12em .5em .12em .12em; border-radius: .12em; background: currentColor; }
.ui-head { flex: none; display: flex; align-items: flex-end; justify-content: space-between; gap: .8em; }
.ui-kicker { font-size: .86em; font-weight: 600; color: #5C6E66; }
.ui-title { font-size: 2.2em; font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.ui-pill { flex: none; padding: .38em .8em; border-radius: 2em; font-size: .82em; font-weight: 700; white-space: nowrap; background: #E1F2E8; color: #145E3D; }
.ui-btn { flex: none; display: block; margin-top: auto; padding: .95em; border-radius: 1em; text-align: center; font-weight: 700; background: #1A7A4F; color: #FFFFFF; box-shadow: 0 .25em 0 #135C3B; }
.ui-map { flex: 1 1 auto; width: 100%; min-height: 0; }
.map-road { fill: none; stroke: #E9F1EC; stroke-width: 24; stroke-linecap: round; }
.map-done { fill: none; stroke: #CDEAD9; stroke-width: 24; stroke-linecap: round; }
.map-dash { fill: none; stroke: #FFFFFF; stroke-width: 1.6; stroke-dasharray: 5 6; }
.node-shadow { fill: #135C3B; }
.node-done { fill: #1A7A4F; }
.node-tick { fill: none; stroke: #FFFFFF; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.node-ring { fill: #FFFFFF; stroke: #1A7A4F; stroke-width: 3.5; }
.node-now { fill: #1A7A4F; }
.node-play { fill: #FFFFFF; }
.node-lock { fill: #DDE5E0; stroke: #C6D2CB; stroke-width: 1.5; }
.lock { fill: #85978E; }
.lock-arc { fill: none; stroke: #85978E; stroke-width: 2.2; }
.map-label rect, .map-label path { fill: #0F2E25; }
.map-label text { fill: #FFFFFF; font: 700 10px var(--font); }

.ui-ms .ui-pill { background: #E7EAF8; color: #26337F; }
.ui-ms .ui-btn { margin-top: .2em; background: #26337F; box-shadow: 0 .25em 0 #1A2460; }
.ui-next { display: flex; align-items: center; justify-content: space-between; gap: .8em; padding: .9em 1em; border: .1em dashed #C5CAE4; border-radius: 1em; }
.ui-next-title { font-weight: 700; }
.ui-next-word { font-size: .92em; color: #5D6475; }
.words { display: grid; gap: .65em; margin: 0; padding: 0; list-style: none; }
.words li { display: flex; align-items: center; gap: .8em; padding: .8em .9em; border-radius: 1em; background: #F3F4FA; }
.words i { flex: none; display: grid; place-items: center; width: 2.3em; height: 2.3em; border-radius: 50%; font-style: normal; font-weight: 700; color: #FFFFFF; background: #26337F; }
.words b { font-weight: 700; }
.words span { margin-left: auto; font-size: .92em; color: #5D6475; }
.ui-note { padding: .85em 1em; border-radius: 1em; font-size: .88em; color: #4B4F5C; background: #FFF4CF; }

/* ---------- About ---------- */
.about { padding-block: clamp(72px, 10vw, 140px); border-top: 1px solid var(--line); }
.about-grid { display: grid; gap: 24px 64px; }
@media (min-width: 960px) {
  .about-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
}
.about-lead { max-width: 24ch; margin-bottom: 20px; font-size: clamp(1.5rem, 1.6vw + .9rem, 2.125rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.about-text > p:not(.about-lead) { max-width: 60ch; color: var(--muted); }
.facts-about { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Contact + footer ---------- */
.contact { padding-top: clamp(80px, 12vw, 160px); background: var(--band); color: var(--band-ink); }
.contact :focus-visible { outline-color: var(--band-focus); }
.contact { --hl-size: .12em; --hl-pos: 100%; }
.contact .hl { --hl-ink: #0F2E25; color: var(--band-ink); }
.contact .hl:hover { color: var(--hl-ink); }
.contact-title { margin: 0; font-size: clamp(3.5rem, 9vw + 1rem, 8.5rem); font-weight: 700; letter-spacing: -.055em; line-height: .9; }
.contact-lede { max-width: 42ch; margin-top: 36px; font-size: clamp(1.1875rem, .8vw + .9rem, 1.375rem); color: var(--band-muted); }
.contact-mail { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 44px; }
.mail { font-size: clamp(1.625rem, 3vw + .6rem, 2.75rem); letter-spacing: -.03em; line-height: 1.2; overflow-wrap: anywhere; }
.btn-band { min-height: 46px; padding: 0 20px; border-color: rgba(238, 244, 240, .32); background: transparent; color: var(--band-ink); font-size: .9375rem; }
.btn-band:hover { border-color: var(--band-ink); }
.contact-links { margin-top: 28px; color: var(--band-muted); }
.foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  margin-top: clamp(80px, 10vw, 128px); padding-block: 26px 32px;
  border-top: 1px solid var(--band-line);
  font-size: .9375rem; color: var(--band-muted);
}
.foot a { color: inherit; text-decoration: none; }
.foot-brand { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot .foot-logo { height: 22px; width: calc(22px * 1057 / 261); color: var(--band-ink); }
.foot a:hover { color: var(--band-ink); }

/* ---------- Motion: one page-load sequence, plus feedback on answers ---------- */
@keyframes rise { from { transform: translateY(108%); } to { transform: none; } }
@keyframes appear { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes stage-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
.js .hero h1 .ln > span { animation: rise .9s var(--ease) both; }
.js .hero h1 .ln:nth-child(2) > span { animation-delay: .08s; }
.js .hero .intro, .js .hero .hero-actions, .js .hero .elsewhere { animation: appear .8s var(--ease) .28s both; }
.js .hero .quiz { animation: appear .9s var(--ease) .42s both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
