/* ── Tynex ───────────────────────────────────────────────────
   Paper ground, ink type, one acid accent used as a flat fill.
   Everything measures off --step so a section can be retuned
   in one place instead of in forty declarations.
   ────────────────────────────────────────────────────────── */

:root {
  /* Sampled from the mark: lime at the top right, deep green at the bottom
     left, black eyes. The page is built out of those four values. */
  --paper:   #fbfcf9;
  --panel:   #f1f5ee;
  --ink:     #101610;
  --ink-70:  #414a3f;
  --muted:   #6a7268;
  --rule:    #e2e7dd;
  --rule-2:  #cbd3c5;

  --lime:    #d4f75d;
  --green:   #45e254;
  --deep:    #00a64a;
  --grad: linear-gradient(122deg, #ddfa6a 0%, #7aee52 38%, #21cf51 68%, #00a64a 100%);

  --up:      #0f8a45;
  --down:    #c0402e;

  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1180px;
  --gut: 28px;
  --r: 14px;
  --r-lg: 26px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.02;
  text-wrap: balance;
}

p { margin: 0; }

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

/* ── micro type ─────────────────────────────────────────── */

.label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.lede {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
  color: var(--ink-70);
  max-width: 54ch;
}

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

/* ── nav ────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}

.nav.stuck { border-bottom-color: var(--rule); }

.nav-in {
  height: 74px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: none;
}

.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 26px;
}

.nav-links a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-70);
  padding: 8px 13px;
  border-radius: 999px;
  transition: background .16s ease, color .16s ease;
}

.nav-links a:hover { background: var(--panel); color: var(--ink); }
.nav-links a[aria-current="page"] { background: var(--ink); color: var(--paper); }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.icon-link {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--ink-70);
  transition: background .16s ease, color .16s ease;
}

.icon-link:hover { background: var(--panel); color: var(--ink); }

/* ── buttons ────────────────────────────────────────────── */

.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 20px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: transform .12s ease, background .16s ease, border-color .16s ease, color .16s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2a2a22; }

.btn-acid { background: var(--grad); color: var(--ink); }
.btn-acid:hover { filter: brightness(1.06) saturate(1.08); }

.btn-line { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn-line:hover { border-color: var(--ink); background: var(--panel); }

.btn-sm { padding: 8px 15px; font-size: 13.5px; }

.btn[disabled] { opacity: .45; cursor: not-allowed; }

.btn .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lime); flex: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 35%, transparent);
}

/* ── hero ───────────────────────────────────────────────── */

/* padding-top only: the shorthand would wipe out .wrap's gutter. */
.hero { padding-top: clamp(46px, 6vw, 78px); position: relative; }

/* The banner's bloom, sitting behind the hero. */
.hero::before {
  content: "";
  position: absolute;
  top: -180px; right: 0; left: 38%;
  height: 640px;
  background:
    radial-gradient(58% 58% at 66% 34%, rgba(69, 226, 84, .28), transparent 70%),
    radial-gradient(42% 42% at 90% 10%, rgba(221, 250, 106, .48), transparent 72%),
    radial-gradient(38% 38% at 40% 62%, rgba(0, 166, 74, .16), transparent 74%);
  filter: blur(26px);
  pointer-events: none;
  z-index: 0;
  transform: translate3d(0, var(--bloom, 0px), 0);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(42px, 5.3vw, 76px);
  letter-spacing: -0.042em;
  margin: 18px 0 22px;
  max-width: 13ch;
}

.hero h1 span { display: block; }

.hero h1 em { display: inline-block; margin-top: .1em; }

.hero h1 em {
  font-style: normal;
  background: var(--grad);
  padding: 0 .12em;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

.hero-note {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.hero-note { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 22px; }
.hero-note div { max-width: 24ch; }
.hero-note strong { display: block; font-size: 14px; font-weight: 600; }
.hero-note span { font-size: 13.5px; color: var(--muted); line-height: 1.4; display: block; margin-top: 2px; }

.cone {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--rule);
  overflow: hidden;
  aspect-ratio: 1 / 0.92;
  min-height: 340px;
}

.cone canvas { display: block; width: 100%; height: 100%; }

.cone-tag {
  position: absolute;
  left: 20px; bottom: 18px;
  display: flex; gap: 8px; align-items: baseline;
}

.cone-legend {
  position: absolute;
  left: 20px; top: 16px;
  text-align: left;
  display: grid;
  gap: 4px;
}

/* ── ticker rail ────────────────────────────────────────── */

.rail {
  margin-top: clamp(44px, 5vw, 70px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 16px 0;
  overflow: hidden;
}

.rail-in {
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
}

.rail-head { display: flex; align-items: center; gap: 9px; }

.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--deep);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--deep) 60%, transparent);
  animation: pulse 2.4s ease-out infinite;
}

.pulse.off { background: var(--rule-2); animation: none; box-shadow: none; }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--deep) 55%, transparent); }
  70%  { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.quote { display: flex; align-items: baseline; gap: 9px; }
.quote b { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.quote span { font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums; }
.quote .waiting { color: var(--rule-2); }

/* ── sections ───────────────────────────────────────────── */

section { padding: clamp(64px, 8vw, 118px) 0; }

.sec-head { max-width: 62ch; margin-bottom: clamp(34px, 4vw, 54px); }
.sec-head h2 {
  font-size: clamp(32px, 3.9vw, 52px);
  letter-spacing: -0.035em;
  margin: 14px 0 16px;
}

.cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.col {
  background: var(--paper);
  padding: 30px 26px 34px;
}

.col h3 { font-size: 21px; margin: 16px 0 10px; letter-spacing: -0.025em; }
.col p { font-size: 15px; color: var(--ink-70); line-height: 1.55; }

.col-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

/* ── the acid slab ──────────────────────────────────────── */

.slab {
  background: var(--grad);
  border-radius: var(--r-lg);
  padding: clamp(32px, 4.4vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
}

.slab h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.035em; }
.slab .label { color: #14501f; }
.slab p { color: #10310f; font-size: 16px; margin-top: 16px; max-width: 46ch; }

.formula {
  white-space: pre;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r);
  padding: 24px 24px 20px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.75;
  overflow-x: auto;
}

.formula i { color: var(--lime); font-style: normal; }
.formula .cm { color: #8a887c; }

/* ── panels, stats, tables ──────────────────────────────── */

.panel {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  overflow: hidden;
}

.stat { background: var(--paper); padding: 18px 20px 20px; }
.stat b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin-top: 8px;
}

table { width: 100%; border-collapse: collapse; }

th, td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--rule);
  font-size: 14.5px;
}

th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

td.num { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; }
th.num { text-align: right; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr.hi { background: color-mix(in srgb, var(--lime) 34%, transparent); }

.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r); background: var(--paper); }

/* ── faq ────────────────────────────────────────────────── */

.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 40px 22px 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  position: absolute;
  right: 8px; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}

.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 60px 24px 0; color: var(--ink-70); font-size: 15.5px; max-width: 70ch; }

/* ── footer ─────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--rule);
  padding: 46px 0 60px;
}

.foot {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { font-size: 14px; text-decoration: none; color: var(--ink-70); }
.foot-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ── wallet modal ───────────────────────────────────────── */

.scrim {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--ink) 34%, transparent);
  backdrop-filter: blur(3px);
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.scrim.open { opacity: 1; pointer-events: auto; }

.modal {
  width: 100%;
  max-width: 420px;
  background: var(--paper);
  border-radius: var(--r-lg);
  border: 1px solid var(--rule-2);
  box-shadow: 0 26px 70px -30px rgba(20, 20, 15, .5);
  padding: 26px;
  transform: translateY(8px) scale(.99);
  transition: transform .18s ease;
}

.scrim.open .modal { transform: none; }

.modal h3 { font-size: 22px; letter-spacing: -0.03em; }
.modal .sub { font-size: 14px; color: var(--muted); margin-top: 7px; }

.wallet-list { display: grid; gap: 8px; margin-top: 20px; }

.wallet-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 15px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  text-align: left;
  transition: border-color .15s ease, background .15s ease;
}

.wallet-opt:hover { border-color: var(--ink); background: var(--paper); }
.wallet-opt img { width: 24px; height: 24px; border-radius: 6px; flex: none; }

.wallet-opt .fallback {
  width: 24px; height: 24px; border-radius: 6px; flex: none;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px;
}

.wallet-opt small { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--muted); font-weight: 400; }

.modal-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.modal-err {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--down) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--down) 32%, transparent);
  color: #8d2f24;
  font-size: 13.5px;
  display: none;
}

.modal-err.show { display: block; }

.acct { display: flex; align-items: center; gap: 10px; }

/* ── desk ───────────────────────────────────────────────── */

.desk-grid {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

@media (min-width: 981px) {
  .desk-grid > .panel { position: sticky; top: 96px; }
}

.field { margin-bottom: 20px; }

.field > .label { display: block; margin-bottom: 9px; }

.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 4px;
}

.seg button {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  font-size: 14.5px;
  padding: 9px 8px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-70);
  transition: background .15s ease, color .15s ease;
}

.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }

.chip {
  appearance: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--rule-2);
  background: var(--paper);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip small { font-family: var(--mono); font-weight: 400; font-size: 11px; opacity: .6; margin-left: 6px; }

.num-in {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: var(--r);
  padding: 0 14px;
}

.num-in:focus-within { border-color: var(--ink); }

.num-in input {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  padding: 13px 0;
  width: 100%;
  color: inherit;
  outline: none;
}

.num-in input::-webkit-outer-spin-button,
.num-in input::-webkit-inner-spin-button { appearance: none; margin: 0; }

.num-in span { font-family: var(--mono); font-size: 13px; color: var(--muted); flex: none; }

input[type="range"] {
  appearance: none;
  width: 100%;
  height: 3px;
  background: var(--rule-2);
  border-radius: 2px;
  outline: none;
  margin: 16px 0 4px;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ink);
  border: 4px solid var(--green);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ink);
  border: 4px solid var(--green);
  cursor: pointer;
}

.hint { font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 8px; }

.chart-card { padding: 0; overflow: hidden; }
.chart-head { padding: 22px 26px 6px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: baseline; }
.chart-card svg { display: block; width: 100%; height: auto; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 12px;
}

.note-strip {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 18px;
  border: 1px dashed var(--rule-2);
  border-radius: var(--r);
  font-size: 13.5px;
  color: var(--ink-70);
  line-height: 1.5;
  background: color-mix(in srgb, var(--lime) 16%, transparent);
}

.note-strip b { font-weight: 600; }

/* ── docs ───────────────────────────────────────────────── */

.doc-page .wrap { max-width: 1040px; }
.doc-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; align-items: start; }

.toc { position: sticky; top: 104px; display: grid; gap: 3px; }
.toc a { font-size: 14px; text-decoration: none; color: var(--muted); padding: 5px 0; }
.toc a:hover { color: var(--ink); }

.doc h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 54px 0 16px; letter-spacing: -0.03em; scroll-margin-top: 100px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 19px; margin: 30px 0 10px; }
.doc p { margin: 0 0 15px; color: var(--ink-70); font-size: 15.5px; max-width: 72ch; }
.doc ul { margin: 0 0 18px; padding-left: 20px; color: var(--ink-70); font-size: 15.5px; max-width: 72ch; }
.doc li { margin-bottom: 8px; }
.doc code {
  font-family: var(--mono);
  font-size: 13.5px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 5px;
  padding: 1px 5px;
}
.doc pre {
  font-family: var(--mono);
  font-size: 13px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r);
  padding: 20px 22px;
  overflow-x: auto;
  line-height: 1.7;
  margin: 0 0 20px;
}
.doc pre .cm { color: #8a887c; }
.doc pre i { color: var(--lime); font-style: normal; }

/* ── responsive ─────────────────────────────────────────── */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cone { order: -1; aspect-ratio: 3 / 2; min-height: 0; }
  .slab { grid-template-columns: 1fr; }
  .desk-grid { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: 1fr; gap: 26px; }
  .toc { position: static; grid-auto-flow: column; grid-auto-columns: max-content; gap: 16px; overflow-x: auto; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
}

@media (max-width: 980px) {
  /* On a narrow screen the bloom sits behind the headline instead of beside
     the graphic, so it has to be much quieter. */
  .hero::before { left: 20%; top: -220px; height: 460px; opacity: .55; }
}

@media (max-width: 620px) {
  /* The nav has to hold two buttons on a phone, so the X link steps out.
     It is still in the footer. */
  .icon-link { display: none; }
  .nav-right { gap: 8px; }
  .btn-sm { padding: 8px 13px; font-size: 13px; }
  .brand { font-size: 17px; }
}

@media (max-width: 760px) {
  :root { --gut: 20px; }
  .cols { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-in { height: 64px; }
  .hero-note { gap: 20px; }
  .faq summary { font-size: 16.5px; }
}

/* ── motion ─────────────────────────────────────────────── */

/* The .anim class is added by motion.js only once the observer exists, so a
   page that never runs it is never left holding invisible sections. */
html.anim [data-r] { opacity: 0; transform: translateY(16px); will-change: opacity, transform; }

html.anim [data-r].is-in {
  opacity: 1;
  transform: none;
  transition: opacity .62s cubic-bezier(.22, .72, .24, 1),
              transform .62s cubic-bezier(.22, .72, .24, 1);
}

/* Parallax owns the cone's transform; the reveal only fades it. */
html.anim .cone[data-r] { transform: none; }

.cone { transition: opacity .62s ease; will-change: transform; }

.nav-progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .12s linear;
  pointer-events: none;
}

.nav-in { transition: height .28s cubic-bezier(.22, .72, .24, 1); }
.nav.stuck .nav-in { height: 62px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
