/* ============================================================
   TrustXD ExamOS — Core system
   Tokens · reset · type · layout · components · motion utils
   Light-locked by product decision (see README).
   ============================================================ */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  color-scheme: light;

  /* Surfaces — warm bone paper, cool white cards */
  --paper:        #F4F3EF;
  --paper-sunk:   #EBE9E3;
  --surface:      #FFFFFF;
  --surface-2:    #FAFAF8;

  /* Ink */
  --ink:          #0B0C0E;
  --ink-2:        #3A3D42;
  --ink-3:        #6B6F76;
  --ink-4:        #9AA0A7;

  /* Hairlines */
  --line:         rgba(11, 12, 14, .12);
  --line-soft:    rgba(11, 12, 14, .06);
  --line-strong:  rgba(11, 12, 14, .22);

  /* Brand */
  --accent:       #2540FF;
  --accent-deep:  #1B2FCC;
  --accent-wash:  #ECEFFF;
  --accent-line:  rgba(37, 64, 255, .28);

  /* Status — fixed. Never themed, never reused as a series color.
     Always shipped with an icon + label; hue never carries meaning alone. */
  --st-clear:     #0CA30C;
  --st-review:    #FAB219;
  --st-crit:      #D03B3B;
  --st-null:      #8A8F98;
  --st-clear-bg:  #E7F6E7;
  --st-review-bg: #FDF3DF;
  --st-crit-bg:   #FBEAEA;
  --st-null-bg:   #EFF0F1;

  /* Chart roles (validated: worst all-pairs CVD ΔE 9.2, normal 27.6 on #FFF) */
  --series-1:     #2540FF;   /* variants  */
  --series-2:     #EB6834;   /* base item */
  --series-3:     #1BAF7A;
  --grid:         #E4E3DC;
  --axis:         #C3C2BA;

  /* Type */
  --sans: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Scale */
  --t-hero:  clamp(2.9rem, 7.6vw, 7.4rem);
  --t-d1:    clamp(2.3rem, 4.8vw, 4.4rem);
  --t-d2:    clamp(1.8rem, 3.1vw, 2.9rem);
  --t-d3:    clamp(1.32rem, 1.9vw, 1.72rem);
  --t-body:  clamp(1rem, 1.05vw, 1.09rem);
  --t-sm:    .875rem;
  --t-xs:    .75rem;
  --t-mono:  .705rem;

  /* Space */
  --gut: clamp(1.25rem, 4vw, 4.5rem);
  --max: 1440px;
  --sec: clamp(5.5rem, 11vw, 11rem);

  --r-sm: 6px;
  --r:    12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-1: 0 1px 2px rgba(11,12,14,.04), 0 6px 20px -12px rgba(11,12,14,.16);
  --shadow-2: 0 2px 4px rgba(11,12,14,.04), 0 22px 50px -26px rgba(11,12,14,.28);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, .05, .18, 1);
}

/* ---------- 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--ink-4) var(--paper-sunk);
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.58;
  font-feature-settings: "ss01", "cv05";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- 3. Type ------------------------------------------------------ */
h1, h2, h3, h4 {
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .98;
  text-wrap: balance;
}

.t-hero { font-size: var(--t-hero); line-height: .92; letter-spacing: -.045em; }
.t-d1   { font-size: var(--t-d1);   line-height: .96; }
.t-d2   { font-size: var(--t-d2);   line-height: 1.02; }
.t-d3   { font-size: var(--t-d3);   line-height: 1.14; letter-spacing: -.02em; }

.ital {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  padding-right: .06em;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-2);
  letter-spacing: -.015em;
  max-width: 46ch;
  text-wrap: pretty;
}

.muted { color: var(--ink-3); }
.dim   { color: var(--ink-4); }

/* Eyebrow / kicker */
.kicker {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.kicker::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--ink-4);
  flex: none;
}
.kicker--plain::before { display: none; }
.kicker--accent { color: var(--accent-deep); }
.kicker--accent::before { background: var(--accent); }

.mono { font-family: var(--mono); font-size: var(--t-mono); letter-spacing: .06em; }
.num  { font-variant-numeric: tabular-nums; }

/* ---------- 4. Layout ---------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.section { padding-block: var(--sec); position: relative; }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--sunk { background: var(--paper-sunk); }
.section--ink  { background: var(--ink); color: var(--paper); }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.75rem); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.rule { height: 1px; background: var(--line); border: 0; }

/* Section header: label rail + title */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: start;
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}
.sec-head__side { position: sticky; top: 110px; }
.sec-head__num {
  font-family: var(--mono);
  font-size: var(--t-mono);
  color: var(--ink-4);
  letter-spacing: .12em;
  display: block;
  margin-bottom: .9rem;
}

@media (max-width: 860px) {
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .sec-head__side { position: static; }
  .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .g-2, .g-3, .g-4 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 5. Buttons --------------------------------------------------- */
.btn {
  --bg: var(--ink);
  --fg: var(--paper);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .7em;
  padding: .92em 1.5em;
  border-radius: 100px;
  background: var(--bg);
  color: var(--fg);
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: -.01em;
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn:hover { box-shadow: 0 14px 34px -18px rgba(37,64,255,.9); }
.btn:active { transform: scale(.975); }

.btn--accent { --bg: var(--accent); --fg: #fff; }
.btn--accent::after { background: var(--ink); }

.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn--ghost:hover { --fg: #fff; }

.btn--sm { padding: .68em 1.15em; font-size: var(--t-xs); }

.btn__arrow { transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* Text link with wipe underline */
.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-size: var(--t-sm);
  font-weight: 500;
  padding-bottom: 2px;
}
.link::before, .link::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  height: 1px; width: 100%;
}
.link::before { background: var(--line-strong); }
.link::after {
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.link:hover::after { transform: scaleX(1); transform-origin: left; }
.link:hover { color: var(--accent-deep); }

/* ---------- 6. Chips, tags, badges --------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .38em .78em;
  border-radius: 100px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}
.chip--accent { background: var(--accent-wash); color: var(--accent-deep); box-shadow: inset 0 0 0 1px var(--accent-line); }

/* Verdict chips — icon + label always (status hue never alone) */
.verdict {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .3em .7em .3em .5em;
  border-radius: 100px;
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.verdict__ico { width: 12px; height: 12px; flex: none; }
.verdict--clear  { background: var(--st-clear-bg);  color: #0A6B0A; }
.verdict--review { background: var(--st-review-bg); color: #7A5300; }
.verdict--null   { background: var(--st-null-bg);   color: #4C5158; }
.verdict--crit   { background: var(--st-crit-bg);   color: #921F1F; }

/* ---------- 7. Cards ----------------------------------------------------- */
.card {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1);
  padding: clamp(1.25rem, 2vw, 1.9rem);
  overflow: hidden;
}
.card--flat { box-shadow: inset 0 0 0 1px var(--line); }
.card--sunk { background: var(--surface-2); }
.card__label {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-4);
}

/* Hover-lift card */
.lift { transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.lift:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2); }

/* ---------- 8. Nav ------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  padding-block: clamp(.7rem, 1.4vw, 1.1rem);
  transition: transform .6s var(--ease), background .4s linear, box-shadow .4s linear;
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(244, 243, 239, .72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  opacity: 0;
  transition: opacity .45s linear;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck::before { opacity: 1; border-bottom-color: var(--line-soft); }
.nav.is-hidden { transform: translateY(-105%); }

.nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand__mark { width: 26px; height: 26px; flex: none; }
.brand__name {
  font-weight: 600;
  letter-spacing: -.035em;
  font-size: 1.06rem;
}
.brand__name b { font-weight: 600; }
.brand__name span { color: var(--ink-3); font-weight: 400; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(.4rem, 1.4vw, 1.5rem);
}
.nav__link {
  position: relative;
  font-size: var(--t-sm);
  color: var(--ink-2);
  padding: .4em .1em;
  transition: color .35s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: .12em;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); background: var(--accent); }

.nav__cta { display: flex; align-items: center; gap: .6rem; }

.nav__burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 100px; box-shadow: inset 0 0 0 1px var(--line); }
.nav__burger i { display: block; width: 15px; height: 1.5px; background: var(--ink); position: relative; transition: transform .4s var(--ease); }
.nav__burger i::before, .nav__burger i::after { content: ""; position: absolute; left: 0; width: 15px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.nav__burger i::before { top: -5px; }
.nav__burger i::after { top: 5px; }
body.menu-open .nav__burger i { background: transparent; }
body.menu-open .nav__burger i::before { transform: translateY(5px) rotate(45deg); }
body.menu-open .nav__burger i::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__cta .btn { display: none; }
}

/* Mobile sheet */
.menu {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: var(--paper);
  padding: 6.5rem var(--gut) 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-io);
  pointer-events: none;
}
body.menu-open .menu { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu__list { display: flex; flex-direction: column; gap: .2rem; }
.menu__item {
  font-size: clamp(2rem, 9vw, 3.4rem);
  letter-spacing: -.045em;
  line-height: 1.08;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s var(--ease), transform .7s var(--ease);
}
body.menu-open .menu__item { opacity: 1; transform: none; }
.menu__item:nth-child(1) { transition-delay: .12s; }
.menu__item:nth-child(2) { transition-delay: .17s; }
.menu__item:nth-child(3) { transition-delay: .22s; }
.menu__item:nth-child(4) { transition-delay: .27s; }
.menu__item:nth-child(5) { transition-delay: .32s; }
.menu__item:nth-child(6) { transition-delay: .37s; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: end; padding-top: 2rem; border-top: 1px solid var(--line); }

/* ---------- 8b. Charts — shared by every page ----------------------------- */
.viz {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: clamp(1.1rem, 2.2vw, 1.75rem);
}
.viz__head { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between; align-items: baseline; margin-bottom: .35rem; }
.viz__title { font-size: 1.05rem; letter-spacing: -.025em; }
.viz__sub { font-size: var(--t-xs); color: var(--ink-3); margin-top: .25rem; max-width: 60ch; }
.legend { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.legend__i { display: inline-flex; align-items: center; gap: .5em; font-size: var(--t-xs); color: var(--ink-2); }
.legend__key { width: 14px; height: 3px; border-radius: 2px; flex: none; }
.legend__key--band { height: 10px; width: 14px; border-radius: 3px; }
.chart { position: relative; max-width: 900px; margin-inline: auto; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart text { font-family: var(--sans); }
.tip {
  position: absolute;
  pointer-events: none;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-sm);
  padding: .55rem .7rem;
  font-size: var(--t-xs);
  line-height: 1.45;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -118%);
  transition: opacity .18s linear;
  z-index: 4;
  box-shadow: var(--shadow-2);
}
.tip.on { opacity: 1; }
.tip b { font-weight: 500; }
.tip .k { color: rgba(244,243,239,.6); }
.tip__row { display: flex; align-items: center; gap: .45em; }
.tip__dot { width: 7px; height: 7px; border-radius: 100px; flex: none; }

.tableview { margin-top: 1rem; }
.tableview summary { font-size: var(--t-xs); color: var(--ink-3); cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .4em; }
.tableview summary::-webkit-details-marker { display: none; }
.tableview summary::before { content: "▸"; transition: transform .3s var(--ease); display: inline-block; }
.tableview[open] summary::before { transform: rotate(90deg); }
.tableview table { margin-top: .8rem; font-size: var(--t-xs); font-variant-numeric: tabular-nums; }
.tableview th, .tableview td { text-align: right; padding: .38rem .6rem; border-bottom: 1px solid var(--line-soft); }
.tableview th:first-child, .tableview td:first-child { text-align: left; }
.tableview th { color: var(--ink-3); font-weight: 500; }

/* ---------- 9. Footer ---------------------------------------------------- */
.foot {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(3.5rem, 7vw, 6rem) 2rem;
  position: relative;
  overflow: hidden;
}
.foot a { color: rgba(244,243,239,.62); transition: color .35s var(--ease); font-size: var(--t-sm); }
.foot a:hover { color: #fff; }
.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.foot__col h4 {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244,243,239,.4);
  margin-bottom: 1.1rem;
  font-weight: 400;
}
.foot__col li + li { margin-top: .55rem; }
.foot__bottom {
  border-top: 1px solid rgba(244,243,239,.14);
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: var(--t-xs);
  color: rgba(244,243,239,.45);
}
.foot__wordmark {
  font-size: clamp(3rem, 15vw, 13rem);
  line-height: .82;
  letter-spacing: -.06em;
  color: rgba(244,243,239,.07);
  font-weight: 500;
  user-select: none;
  padding-top: 1rem;
  white-space: nowrap;
}
@media (max-width: 860px) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 10. Motion utilities ----------------------------------------- */

/* Line-clip reveal for headlines (JS wraps lines in .ln > .ln__i).
   Padding gives ascenders/descenders room inside the clip box; the negative
   margin takes that room back out of the layout so line-height is unchanged. */
.ln {
  display: block;
  overflow: hidden;
  padding: .14em 0 .2em;
  margin: -.14em 0 -.2em;
}
.ln__i {
  display: block;
  transform: translateY(118%);
  transition: transform 1.05s var(--ease);
  will-change: transform;
}
.reveal-on .ln__i { transform: translateY(0); }

/* Generic fade-rise */
[data-rise] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-rise].is-in { opacity: 1; transform: none; }

/* Clip wipe for media */
[data-wipe] {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s var(--ease-io);
  transition-delay: var(--d, 0s);
}
[data-wipe].is-in { clip-path: inset(0 0 0 0); }

/* Hairline draw */
[data-draw] { transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-draw].is-in { transform: scaleX(1); }

/* Counter */
.count { font-variant-numeric: tabular-nums; }

/* Scroll progress rail */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: var(--accent);
  z-index: 95;
}

/* Custom cursor */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  border-radius: 100px;
  background: var(--accent);
  pointer-events: none;
  z-index: 200;
  mix-blend-mode: multiply;
  transform: translate3d(-50px, -50px, 0);
  transition: width .45s var(--ease), height .45s var(--ease), background .45s var(--ease), opacity .3s linear;
}
.cursor__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transition: opacity .3s linear;
  white-space: nowrap;
}
body.cursor-lg .cursor { width: 68px; height: 68px; mix-blend-mode: normal; }
body.cursor-lg .cursor__label { opacity: 1; }
@media (hover: none), (max-width: 800px) { .cursor { display: none; } }

/* Marquee (scroll-velocity skewed) */
.marquee {
  --dur: 38s;
  overflow: hidden;
  display: flex;
  gap: 0;
  user-select: none;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-right: clamp(1.5rem, 3vw, 3rem);
  flex: none;
  animation: slide var(--dur) linear infinite;
  will-change: transform;
}
.marquee--rev .marquee__track { animation-direction: reverse; }
@keyframes slide { to { transform: translateX(-100%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* Noise + vignette overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  opacity: .32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

/* Skip link */
.skip {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 300;
  background: var(--ink);
  color: var(--paper);
  padding: .7em 1.1em;
  border-radius: 100px;
  font-size: var(--t-sm);
  transition: top .3s var(--ease);
}
.skip:focus { top: 1rem; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-rise], [data-wipe], .ln__i, [data-draw] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .cursor, .grain { display: none; }
}

/* Print */
@media print {
  .nav, .foot, .cursor, .grain, .progress, .hero__canvas { display: none !important; }
  body { background: #fff; }
}
