/* ============================================================
   CeoCrew v3 - full redesign. Dark + gold, editorial, spacious.
   Brand tokens from product. The ONLY product UI is the org
   chart, embedded as the hero background. Everything else is
   abstract diagram-graphics.
   ============================================================ */

:root {
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, Menlo, monospace;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --bg: #161616;
  --bg-2: #1a1a1a;
  --panel: #1f1f1f;
  --hairline: #2e2e2e;
  --hairline-2: #3a3a3a;
  --text: #f1efe9;
  --text-2: #a9a9b0;
  --text-3: #71717a;
  --text-4: #54545c;
  --gold: #d4c280;
  --gold-dim: rgba(212, 194, 128, 0.5);
  --gold-soft: rgba(212, 194, 128, 0.12);
  --green: #6dc07e;
  --red: #d97757;

  --d-finance: #c44747;
  --d-operations: #9b7a3e;
  --d-engineering: #4a6fa5;
  --d-legal: #3e8a8a;
  --d-design: #b06b8b;
  --d-sales: #6b8e3d;
  --d-success: #8a6db0;
  --d-marketing: #c98545;

  --maxw: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: rgba(212, 194, 128, 0.25); }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 36px; }
@media (max-width: 700px) { .wrap { padding: 0 24px; } }

/* one idea per screen */
.screen {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 0;
  position: relative;
}
.screen.auto { min-height: 0; padding: 110px 0; }

/* ---------- type ---------- */
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 22px;
}
.display {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
.d-hero { font-size: clamp(2rem, 3.6vw, 3.5rem); line-height: 1.14; }
.display .hline { display: block; white-space: nowrap; }
.d-1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.d-2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
em.g {
  font-style: italic;
  color: var(--gold);
  background: linear-gradient(100deg, #b3a05c 20%, #f0e3ae 40%, #d4c280 60%, #b3a05c 80%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 7s ease-in-out infinite;
}
@keyframes goldShimmer {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}
.lead {
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
  line-height: 1.7;
  color: var(--text-2);
  margin: 0;
}
.head { max-width: 720px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head .lead { margin-top: 22px; max-width: 54ch; }
.head.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s var(--ease), box-shadow 0.18s, background 0.18s, border-color 0.18s;
}
.btn svg { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-gold::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 36%;
  left: -50%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-18deg);
  animation: btnShine 4.2s var(--ease) infinite;
}
@keyframes btnShine {
  0%, 64% { left: -50%; }
  100% { left: 130%; }
}
.btn-gold {
  background: var(--gold);
  color: #181610;
  box-shadow: 0 0 0 1px rgba(255, 240, 190, 0.25) inset, 0 10px 30px rgba(212, 194, 128, 0.18);
}
.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 240, 190, 0.3) inset, 0 16px 40px rgba(212, 194, 128, 0.3);
}
.btn-line {
  background: transparent;
  color: var(--text);
  border-color: var(--hairline-2);
}
.btn-line:hover { border-color: var(--gold-dim); color: var(--gold); transform: translateY(-1px); }
.textlink {
  color: var(--text-2);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.16s;
}
.textlink:hover { color: var(--gold); }

/* mono label used across diagrams */
.mlabel {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ============================================================
   NAV - non-sticky, dissolves into hero
   ============================================================ */
.nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo svg { width: 24px; height: 24px; color: var(--gold); filter: drop-shadow(0 0 10px rgba(212, 194, 128, 0.4)); }
.logo-word { font-family: var(--font-serif); font-size: 1.45rem; }
.logo-word b { font-weight: 400; font-style: italic; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-link { color: var(--text-2); font-size: 0.91rem; font-weight: 500; transition: color 0.16s; }
.nav-link:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav .btn { padding: 11px 20px; font-size: 0.88rem; }
@media (max-width: 860px) {
  .nav-links, .nav-cta .textlink { display: none; }
  .nav-inner { padding: 24px 24px; }
}

/* ============================================================
   HERO - copy on top, org chart as a real hierarchy below,
   embedded straight on the background (no card)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: block;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 30%, #1d1d1c 0%, var(--bg) 64%);
}
/* aurora blobs */
.hero-aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.au {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.au1 {
  width: 620px;
  height: 620px;
  left: -160px;
  top: -180px;
  background: radial-gradient(circle, rgba(212, 194, 128, 0.16), transparent 65%);
  animation: auDrift1 18s ease-in-out infinite;
}
.au2 {
  width: 560px;
  height: 560px;
  right: -140px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(74, 111, 165, 0.12), transparent 65%);
  animation: auDrift2 22s ease-in-out infinite;
}
@keyframes auDrift1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(90px, 60px); }
}
@keyframes auDrift2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-80px, -50px); }
}

.hero-dotgrid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #2c2c2c 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.25;
  -webkit-mask-image: radial-gradient(75% 70% at 50% 45%, #000 30%, transparent 75%);
  mask-image: radial-gradient(75% 70% at 50% 45%, #000 30%, transparent 75%);
}

/* the org chart - faithful replica of the product's radial canvas */
.hero-grid {
  position: relative;
  z-index: 3;
  max-width: 1280px;
  margin: 0 auto;
  padding: 124px 40px 0;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 24px;
}
.hero-orgwrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-width: 0;
}
.org-stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 760px;
  height: 760px;
  transform: translate(-50%, -50%) scale(var(--orgs, 1));
}
.org-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 112px;
    text-align: center;
  }
  .hero-orgwrap { max-width: 560px; margin: 0 auto; }
}

/* ---- nodes: direct port of the product's org chart ---- */
.org-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: default;
}
.org-node.ceo {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -55px);
}
.org-node.emp {
  transform: translate(-50%, -35px);
}
.org-node:hover .emp-disc,
.org-node:hover .ceo-disc {
  transform: scale(1.06);
}

/* CEO */
.ceo-disc {
  width: 110px;
  height: 110px;
  position: relative;
  display: grid;
  place-items: center;
  transition: transform 0.18s;
}
.ceo-halo {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 194, 128, 0.25) 0%, transparent 65%);
  animation: ceoPulse 4s ease-in-out infinite;
}
.ceo-halo-2 {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(212, 194, 128, 0.4);
  border-top-color: rgba(212, 194, 128, 0.85);
  animation: ceoSpin 6s linear infinite;
}
@keyframes ceoPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
@keyframes ceoSpin { to { transform: rotate(360deg); } }
.ceo-core {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #2a2820 0%, #1a1815 60%, #100f0c 100%);
  border: 1.5px solid rgba(212, 194, 128, 0.5);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 230, 150, 0.08),
    inset 0 -8px 24px rgba(0, 0, 0, 0.5),
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(212, 194, 128, 0.18);
}
.ceo-mark {
  width: 52px;
  height: 52px;
  color: var(--gold);
}
.ceo-label { text-align: center; }
.ceo-name {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--text);
}
.ceo-role {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-top: 4px;
  opacity: 0.85;
}

/* Employees */
.emp-disc {
  width: 70px;
  height: 70px;
  position: relative;
  display: grid;
  place-items: center;
  transition: transform 0.18s;
}
.emp-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--node-c);
  opacity: 0.4;
  animation: empPulse 2.8s ease-out infinite;
}
.emp-pulse-2 {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--node-c);
  opacity: 0.3;
  animation: empPulse 2.8s ease-out 1.4s infinite;
}
@keyframes empPulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.7); opacity: 0; }
}
.emp-avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--node-c),
    color-mix(in oklab, var(--node-c) 40%, transparent),
    var(--node-c)
  );
  opacity: 0.6;
  z-index: 0;
}
.emp-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 25%,
    color-mix(in oklab, var(--node-c) 32%, #1e1e1d) 0%,
    color-mix(in oklab, var(--node-c) 14%, #1e1e1d) 60%,
    #1e1e1d 100%
  );
  border: 1.5px solid color-mix(in oklab, var(--node-c) 65%, transparent);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 500;
  color: color-mix(in oklab, var(--node-c) 95%, white);
  font-family: var(--font-serif);
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 6px 18px rgba(0, 0, 0, 0.4);
}
.emp-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2.5px solid var(--bg);
  z-index: 3;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.4);
}
.emp-status-dot.active {
  background: var(--green);
  box-shadow:
    0 0 0 0.5px rgba(0, 0, 0, 0.4),
    0 0 8px rgba(109, 192, 126, 0.6);
}
.emp-label {
  text-align: center;
  max-width: 130px;
}
.emp-name {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0;
  padding: 2px 8px;
  border-radius: 5px;
  white-space: nowrap;
}

/* role description tooltip — ported from the product org chart */
.emp-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translate(-50%, 4px);
  width: 220px;
  padding: 11px 13px;
  background: #1d1d1d;
  border: 1px solid var(--hairline-2);
  border-radius: 10px;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.5),
    0 2px 6px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 150ms ease,
    transform 150ms ease;
  z-index: 30;
  text-align: left;
}
.emp-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1d1d1d;
}
.emp-tooltip-title {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.emp-tooltip-body {
  font-family: var(--font-sans);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-2);
}
.org-node:hover {
  z-index: 40;
}
.org-node:hover .emp-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}
/* top-row + CEO nodes flip the tooltip below so it never overflows the stage top */
.org-node.below .emp-tooltip {
  top: calc(100% + 12px);
  bottom: auto;
  transform: translate(-50%, -4px);
}
.org-node.below:hover .emp-tooltip {
  transform: translate(-50%, 0);
}
.org-node.below .emp-tooltip::after {
  top: auto;
  bottom: 100%;
  border-top-color: transparent;
  border-bottom-color: #1d1d1d;
}

/* hero copy - left column of the split */
.hero-copy {
  position: relative;
  z-index: 5;
  text-align: left;
  max-width: 560px;
}
@media (max-width: 980px) {
  .hero-copy { text-align: center; margin: 0 auto; }
}
.hero-copy .pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--hairline-2);
  background: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(6px);
  font-size: 12.5px;
  color: var(--text-2);
  margin-bottom: 24px;
  position: relative;
}
.hero-copy .pill::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 999px;
  padding: 1px;
  background: conic-gradient(from var(--ba, 0deg), transparent 0 70%, rgba(212, 194, 128, 0.9) 82%, transparent 94%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: badgeSweep 3.6s linear infinite;
  pointer-events: none;
}
@property --ba { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes badgeSweep { to { --ba: 360deg; } }

/* hero stats row - centered band under the tree */
.hero-stats {
  margin: 44px auto 64px;
  width: fit-content;
  display: flex;
  align-items: center;
  border: 1px solid var(--hairline-2);
  border-radius: 14px;
  background: rgba(24, 24, 24, 0.88);
  backdrop-filter: blur(10px);
  overflow: hidden;
  position: relative;
  z-index: 6;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}
.hstat {
  padding: 14px 26px;
  text-align: center;
  border-right: 1px solid var(--hairline);
}
.hstat:last-child { border-right: none; }
.hstat .v {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hstat .v em { font-style: italic; color: var(--gold); }
.hstat .k {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--text-2);
  margin-top: 7px;
}
@media (max-width: 640px) { .hstat { padding: 11px 14px; } .hstat .v { font-size: 1.15rem; } }

/* staged hero entrance (JS-gated; base state fully visible) */
.hero-copy .w { display: inline-block; }
.js-staged .hero-copy .w,
.js-staged .hero-copy .lead,
.js-staged .hero-copy .pill,
.js-staged .hero-cta,
.js-staged .hero-stats,
.js-staged .hero-note {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(10px);
}
.js-staged .hero-copy .w.in,
.js-staged .hero-copy .lead.in,
.js-staged .hero-copy .pill.in,
.js-staged .hero-cta.in,
.js-staged .hero-stats.in,
.js-staged .hero-note.in {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease);
}
.js-staged #orgStage .org-node { opacity: 0; scale: 0.6; filter: blur(6px); }
.js-staged #orgStage .org-node.in {
  opacity: 1;
  scale: 1;
  filter: none;
  transition: opacity 0.8s var(--ease), scale 0.8s cubic-bezier(0.34, 1.4, 0.4, 1), filter 0.8s var(--ease);
}
.js-staged #orgStage .org-node.ceo.in {
  transition-duration: 1s;
}

/* scroll reveal (JS-gated; base fully visible) */
body.js-rv [data-rv] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(8px);
}
body.js-rv [data-rv].rv-in {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity 0.85s var(--ease) var(--rvd, 0s), transform 0.85s var(--ease) var(--rvd, 0s), filter 0.85s var(--ease) var(--rvd, 0s);
}

/* kicker shimmer */
.kicker {
  background: linear-gradient(100deg, var(--gold) 30%, #f4e9bc 50%, var(--gold) 70%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 6s ease-in-out infinite;
}
.hero-copy .lead { margin: 22px 0 0; max-width: 47ch; }
.hero-cta { margin-top: 30px; display: flex; align-items: center; justify-content: flex-start; gap: 20px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 12.5px; color: var(--text-3); }
@media (max-width: 980px) {
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
}

/* delegation packets in hero */
.hpacket {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(212, 194, 128, 0.8);
  z-index: 1;
  opacity: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* status dot */
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }
.dot.live { background: var(--green); position: relative; }
.dot.live::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  opacity: 0.4;
  animation: opulse 2.6s ease-out infinite;
}

@keyframes opulse {
  0% { transform: scale(1); opacity: 0.45; }
  100% { transform: scale(1.65); opacity: 0; }
}
@keyframes odrift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes crestbreathe {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* hide labels' role line + shrink on small screens */
@media (max-width: 760px) {
  .hero-stats { margin: 40px auto 64px; }
  .hstat { padding: 12px 16px; }
}

/* ============================================================
   SCROLL TRANSITIONS (JS-gated; base state fully visible)
   ============================================================ */
/* word-stagger on section headlines */
.display .w { display: inline-block; }
body.js-rv .display.wsplit .w {
  opacity: 0;
  transform: translateY(0.5em) rotate(1.5deg);
  filter: blur(8px);
}
body.js-rv .display.wsplit .w.in {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), filter 0.6s var(--ease);
}
/* big visual panels: rise + settle from slight scale */
body.js-rv [data-rv].rv-panel {
  transform: translateY(44px) scale(0.965);
  filter: blur(12px);
}
body.js-rv [data-rv].rv-panel.rv-in {
  transform: none;
  filter: none;
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease), filter 0.95s var(--ease);
}
/* marquee rows slide in from opposite sides */
body.js-rv .mq-row[data-rv] {
  transform: translateX(-70px);
  filter: none;
}
body.js-rv .mq-row.rev[data-rv] {
  transform: translateX(70px);
}
body.js-rv .mq-row[data-rv].rv-in {
  transform: none;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* underline draw-in on text links (expensive-agency micro-interaction) */
.nav-link,
.textlink {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 2px;
  transition: background-size 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.16s;
}
.nav-link:hover,
.textlink:hover { background-size: 100% 1px; }
@media (prefers-reduced-motion: reduce) {
  .nav-link, .textlink { transition: color 0.16s; }
}
