/* =========================================================
   Tokens
   ========================================================= */
:root {
  --ink: #0b0b0d;
  --ink-2: #17171b;
  --ink-3: #2a2a31;
  --paper: #f3f1ec;
  --paper-2: #e6e3dc;
  --text-dim: #9a9aa3;
  --text-dim-dark: #5d5c63;

  --lime: #c8f53c;
  --violet: #8d6bff;
  --coral: #ff6a45;
  --sky: #5cc8f2;
  --sand: #f3cf98;

  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --radius-xl: clamp(24px, 4vw, 48px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: #fff;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: var(--ink); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 16px; }

/* =========================================================
   Pills / tags
   ========================================================= */
.pill {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .7em 1.25em; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1;
  border: 1.5px solid transparent;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.pill:hover { transform: translateY(-2px); }
.pill:active { transform: translateY(0) scale(.98); }
.pill--light { background: #fff; color: var(--ink); }
.pill--light:hover { background: var(--lime); }
.pill--lime { background: var(--lime); color: var(--ink); }
.pill--lime:hover { background: #fff; }
.pill--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.pill--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.pill--dark { background: var(--ink); color: #fff; }
.pill--dark:hover { background: var(--ink-3); }
.pill--big { font-size: clamp(16px, 2.2vw, 22px); padding: .8em 1.4em; }

.tag {
  display: inline-block; padding: 6px 12px; border-radius: 8px;
  background: var(--ink-2); font-size: 13px; font-weight: 500;
  transition: background-color .2s, color .2s;
}
.tag:hover { background: var(--lime); color: var(--ink); }

.eyebrow {
  font-family: var(--mono); font-size: 13px; letter-spacing: .02em;
  text-transform: uppercase; color: var(--text-dim-dark); margin: 0 0 20px;
}
.eyebrow--dark { color: var(--text-dim); }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter);
  transition: background-color .3s, backdrop-filter .3s, transform .4s var(--ease);
}
.header.is-scrolled { background: rgba(11,11,13,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header.is-hidden { transform: translateY(-100%); }
.logo { font-weight: 800; font-size: 26px; letter-spacing: -.04em; display: flex; align-items: baseline; }
.logo-dot { color: var(--lime); font-family: var(--mono); font-size: 18px; margin-left: 2px; font-weight: 500; transition: transform .4s var(--ease); display: inline-block; }
.logo:hover .logo-dot { transform: rotate(-12deg) translateY(-2px); }

.nav {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; gap: 4px; padding: 5px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
}
.nav a {
  padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.75); transition: background-color .25s, color .25s;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a.is-active { background: #fff; color: var(--ink); }

.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 0; position: relative;
}
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-nav {
  position: fixed; z-index: 49; top: calc(var(--header-h) - 4px); left: 16px; right: 16px;
  background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 24px;
  padding: 10px; display: grid; gap: 4px;
  animation: drop .35s var(--ease);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 14px 16px; border-radius: 14px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.mobile-nav a:hover { background: var(--ink-3); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 0;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; color: rgba(255,255,255,.8);
  padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  margin: 0 0 28px;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(200,245,60,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(200,245,60,0); } 100% { box-shadow: 0 0 0 0 rgba(200,245,60,0); } }

.hero-title { margin: 0; font-weight: 800; letter-spacing: -.055em; line-height: .9; }
.hero-name { display: block; font-size: clamp(56px, min(12vw, 19vh), 176px); }
.hero-line {
  display: block; margin-top: .25em;
  font-size: clamp(28px, 5vw, 72px); font-weight: 700; letter-spacing: -.04em; line-height: 1.02;
  color: rgba(255,255,255,.55);
}
.rotator { position: relative; display: inline-grid; vertical-align: bottom; color: var(--lime); overflow: hidden; padding-bottom: .08em; }
.rotator-word { grid-area: 1 / 1; transform: translateY(105%); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease); white-space: nowrap; }
.rotator-word.is-active { transform: none; opacity: 1; }
.rotator-word.is-leaving { transform: translateY(-105%); opacity: 0; }

.hero-sub { max-width: 560px; margin: 32px 0 0; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.72); }
.hero-sub em { font-style: normal; color: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* decorative shapes */
.hero-shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.shape { position: absolute; will-change: transform; }
.shape--pill { width: clamp(180px, 30vw, 420px); height: clamp(64px, 9vw, 120px); border-radius: 999px; background: var(--violet); top: 14%; right: -4%; rotate: -24deg; }
.shape--ring { width: clamp(110px, 16vw, 220px); aspect-ratio: 1; border-radius: 50%; border: clamp(18px, 2.6vw, 34px) solid var(--coral); bottom: 18%; right: 10%; }
.shape--squiggle { width: clamp(180px, 26vw, 360px); color: var(--sky); top: 52%; right: 26%; opacity: .9; }
.shape--brace { font-family: var(--mono); font-weight: 500; font-size: clamp(80px, 12vw, 180px); color: var(--sand); top: 38%; right: 7%; line-height: 1; rotate: 8deg; }
.hero-inner { mix-blend-mode: normal; }

/* marquee */
.marquee { position: relative; z-index: 2; margin-top: clamp(48px, 8vh, 96px); border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.03em; padding: 0 28px; white-space: nowrap; color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: "✦"; color: var(--lime); font-size: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Paper sections
   ========================================================= */
.paper { background: var(--paper); color: var(--ink); }
.about { border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding: clamp(80px, 12vw, 160px) 0 clamp(80px, 10vw, 140px); }
.statement {
  margin: 0; max-width: 1100px;
  font-size: clamp(28px, 4.6vw, 64px); font-weight: 700; letter-spacing: -.04em; line-height: 1.06;
}
.statement .w { transition: color .3s; color: rgba(11,11,13,.16); }
.statement .w.on { color: var(--ink); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(56px, 8vw, 96px); }
.stat { border-top: 2px solid var(--ink); padding-top: 18px; }
.stat-num { display: block; font-size: clamp(48px, 7vw, 96px); font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.stat-label { display: block; margin-top: 8px; color: var(--text-dim-dark); font-size: 15px; max-width: 22ch; }

/* =========================================================
   Work — stacking cards
   ========================================================= */
.work { padding: clamp(80px, 12vw, 140px) 0; background: var(--ink); border-radius: var(--radius-xl) var(--radius-xl) 0 0; margin-top: calc(-1 * var(--radius-xl)); position: relative; }
.section-head { display: flex; flex-direction: column; margin-bottom: clamp(36px, 6vw, 64px); }
.section-title { margin: 0; font-size: clamp(44px, 8.5vw, 120px); font-weight: 800; letter-spacing: -.055em; line-height: .92; }

.stack-cards { display: grid; gap: clamp(16px, 3vw, 28px); padding-bottom: 8vh; }
.card {
  --c: var(--lime);
  position: sticky; top: calc(var(--header-h) + 12px + var(--i) * 14px);
  min-height: min(72vh, 600px);
  background: var(--c); color: var(--ink);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 52px);
  display: grid; grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; gap: 16px 24px;
  transform-origin: 50% 0;
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(0,0,0,.25);
}
.card--violet { --c: var(--violet); }
.card--violet, .card--violet .card-btn--ghost { color: #fff; }
.card--coral { --c: var(--coral); }
.card--sky { --c: var(--sky); }
.card--sand { --c: var(--sand); }

.card-meta { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 13px; opacity: .8; }
.card-title { grid-column: 1; align-self: end; margin: 0; font-size: clamp(48px, 9vw, 140px); font-weight: 800; letter-spacing: -.06em; line-height: .88; }
.card-glyph {
  position: absolute; right: clamp(20px, 4vw, 56px); top: clamp(48px, 7vw, 88px); pointer-events: none;
  font-family: var(--mono); font-weight: 500; font-size: clamp(80px, 16vw, 240px); line-height: 1;
  opacity: .22; transition: transform .6s var(--ease), opacity .3s;
}
.card:hover .card-glyph { transform: rotate(-8deg) scale(1.06); opacity: .35; }
.card-body { grid-column: 1; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
.card-summary { margin: 0; max-width: 46ch; font-size: clamp(16px, 1.5vw, 19px); font-weight: 500; }
.card-role { display: block; font-family: var(--mono); font-size: 12px; opacity: .7; margin-top: 8px; text-transform: uppercase; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.card-tags li { list-style: none; padding: 5px 10px; border-radius: 999px; border: 1.5px solid currentColor; font-size: 12px; font-weight: 600; }
.card-tags { padding: 0; }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.card-btn--ghost { border-color: currentColor; color: var(--ink); }
.card-btn--ghost:hover { background: rgba(0,0,0,.08); }

/* =========================================================
   Skills
   ========================================================= */
.skills { padding: clamp(80px, 12vw, 140px) 0 clamp(40px, 6vw, 80px); border-radius: var(--radius-xl) var(--radius-xl) 0 0; position: relative; z-index: 1; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter {
  border: 1.5px solid var(--ink); background: transparent; border-radius: 999px;
  padding: 10px 18px; font-weight: 600; font-size: 15px;
  transition: background-color .25s, color .25s, transform .3s var(--ease);
}
.filter:hover { transform: translateY(-2px); }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: clamp(20px, 3vw, 36px); font-weight: 700; letter-spacing: -.035em;
  padding: .3em .7em; border-radius: 999px; background: #fff; border: 1.5px solid var(--paper-2);
  transition: opacity .35s, transform .45s var(--ease), background-color .25s, color .25s;
}
.chip:hover { background: var(--ink); color: var(--lime); transform: rotate(-2deg); }
.chip.is-dim { opacity: .18; transform: scale(.96); }
.chip .chip-group { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0; vertical-align: super; margin-left: .3em; opacity: .5; }

/* =========================================================
   Experience rows
   ========================================================= */
.experience { padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 120px); }
.rows { list-style: none; padding: 0; margin: 0; border-top: 1.5px solid var(--ink); }
.row {
  display: grid; grid-template-columns: 150px 160px 1fr auto; gap: 16px 24px; align-items: center;
  padding: 26px 12px; border-bottom: 1px solid rgba(11,11,13,.15);
  position: relative; transition: padding .4s var(--ease);
}
.row::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: 0; border-radius: 12px; }
.row > * { position: relative; z-index: 1; transition: color .3s; }
.row:hover::before { transform: scaleY(1); }
.row:hover > * { color: #fff; }
.row:hover { padding-left: 24px; padding-right: 24px; }
.row-dates { font-family: var(--mono); font-size: 13px; color: var(--text-dim-dark); }
.row-company { font-size: 13px; font-weight: 600; }
.row-company span { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--paper-2); transition: background-color .3s, color .3s; }
.row:hover .row-company span { background: var(--lime); color: var(--ink); }
.row-role { font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.row-note { display: block; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--text-dim-dark); margin-top: 4px; transition: color .3s; }
.row:hover .row-note { color: rgba(255,255,255,.7); }
.row-arrow { font-size: 24px; transition: transform .4s var(--ease); }
.row:hover .row-arrow { transform: translateX(6px) rotate(-45deg); color: var(--lime); }

/* =========================================================
   Contact
   ========================================================= */
.contact-wrap { padding: 0 var(--gutter) var(--gutter); }
.contact {
  position: relative; overflow: hidden; isolation: isolate;
  max-width: calc(var(--maxw) + 120px); margin: 0 auto;
  background: var(--ink); color: #fff; border-radius: var(--radius-xl);
  padding: clamp(56px, 10vw, 140px) clamp(20px, 5vw, 64px);
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.contact-glow {
  position: absolute; z-index: -1; width: 60vmax; height: 60vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(141,107,255,.45), rgba(141,107,255,0) 60%);
  left: var(--mx, 50%); top: var(--my, 50%); transform: translate(-50%, -50%);
  transition: left .6s var(--ease), top .6s var(--ease);
}
.contact-title { margin: 0 0 40px; font-size: clamp(44px, 9vw, 136px); font-weight: 800; letter-spacing: -.055em; line-height: .92; }
.copy-btn { margin-top: 16px; background: none; border: 0; color: var(--text-dim); font-family: var(--mono); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.copy-btn:hover { color: #fff; }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }

/* =========================================================
   Footer
   ========================================================= */
.footer { padding-top: clamp(56px, 8vw, 96px); overflow: hidden; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-tag { margin: 0; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.footer-cols { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); }
.footer-cols > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-head { margin: 0 0 6px; font-size: 13px; font-weight: 600; }
.footer-small { margin: 0; font-size: 13px; color: var(--text-dim); }
.footer-top-link:hover { color: #fff; }
.wordmark {
  margin: clamp(40px, 6vw, 72px) 0 0; padding: 0 var(--gutter);
  font-weight: 800; letter-spacing: -.065em; line-height: .78;
  white-space: nowrap; font-size: 18vw; /* refined by JS fit */
  transform: translateY(.06em);
}
.wordmark span { display: inline-block; }

/* =========================================================
   Terminal easter egg
   ========================================================= */
.term-hint {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  background: none; border: 0; padding: 4px 0; color: var(--text-dim);
  font-family: var(--mono); font-size: 13px;
}
.term-hint:hover { color: #fff; }
.term-hint-key { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--ink-2); border: 1px solid var(--ink-3); color: var(--lime); transition: transform .3s var(--ease); }
.term-hint:hover .term-hint-key { transform: rotate(-8deg); }
.term-hint kbd { font-family: var(--mono); padding: 1px 6px; border-radius: 4px; border: 1px solid var(--ink-3); background: var(--ink-2); color: #fff; }
.term-hint-touch { display: none; }
@media (hover: none) { .term-hint-desk { display: none; } .term-hint-touch { display: inline; } }
.footer-term { background: none; border: 0; padding: 0; text-align: left; font-family: var(--mono); }

.term-open, .term-open body { overflow: hidden; }
.term-backdrop {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 16px;
  background: rgba(5,5,7,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: fade .25s ease;
}
.term-backdrop[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.term {
  width: min(860px, 100%); height: min(560px, calc(100svh - 32px));
  display: flex; flex-direction: column;
  background: #0d0e12; color: #e6e6ea; border: 1px solid #2a2b33; border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(200,245,60,.06);
  overflow: hidden; animation: pop .35s var(--ease);
  font-family: var(--mono); font-size: 14px; line-height: 1.55;
}
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.term-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #16171d; border-bottom: 1px solid #23242b; }
.term-dots { display: flex; gap: 6px; }
.term-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--coral); }
.term-dots i:nth-child(2) { background: var(--sand); }
.term-dots i:nth-child(3) { background: var(--lime); }
.term-title { flex: 1; text-align: center; font-size: 12px; color: var(--text-dim); }
.term-close { width: 28px; height: 28px; border-radius: 8px; border: 0; background: transparent; color: var(--text-dim); font-size: 20px; line-height: 1; }
.term-close:hover { background: #23242b; color: #fff; }
.term-body { flex: 1; overflow-y: auto; padding: 14px 16px 18px; overscroll-behavior: contain; }
.term-body:focus { outline: none; }
.t-line { white-space: pre-wrap; word-break: break-word; min-height: 1.55em; }
.t-pre { margin: 0; font: inherit; white-space: pre; overflow-x: auto; }
.term-line { display: flex; gap: 8px; align-items: baseline; }
.term-prompt { white-space: nowrap; }
.term-input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font: inherit; font-size: 16px; caret-color: var(--lime); padding: 0; outline: none; }
@media (min-width: 641px) { .term-input { font-size: 14px; } }
.term a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.t-green { color: var(--lime); }
.t-blue { color: var(--sky); }
.t-violet { color: #a993ff; }
.t-yellow { color: var(--sand); }
.t-red { color: #ff8a70; }
.t-dim { color: #7d7d88; }
.t-strong { color: #fff; font-weight: 500; }
.t-tag { color: var(--ink); background: var(--lime); padding: 0 6px; border-radius: 4px; font-size: 12px; }
.t-echo { margin-top: 6px; }
.t-swatch { display: inline-flex; gap: 4px; }
.t-swatch i { width: 18px; height: 12px; border-radius: 3px; }
@media (max-width: 640px) {
  .term-backdrop { padding: 8px; }
  .term { height: calc(100svh - 16px); font-size: 12.5px; border-radius: 14px; }
  .term-prompt .t-green { display: none; }
}

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.js-off .reveal { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: block; }
  .row { grid-template-columns: 1fr auto; padding: 22px 4px; }
  .row-dates { grid-column: 1; grid-row: 1; }
  .row-company { grid-column: 2; grid-row: 1; justify-self: end; }
  .row-role { grid-column: 1 / -1; }
  .row-arrow { display: none; }
  .row:hover { padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .stats { grid-template-columns: 1fr; }
  .card { min-height: 68vh; }
  .card-glyph { right: 16px; top: 44px; font-size: 110px; }
  .shape--squiggle { right: -10%; top: 70%; }
  .shape--brace { top: 12%; right: 6%; }
  .shape--ring { bottom: 10%; right: -6%; }
  .shape--pill { top: 8%; right: -20%; }
  .hero-ctas .pill { flex: 1 1 auto; justify-content: center; }
}

/* =========================================================
   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; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .statement .w { color: var(--ink); }
}
