/* ============================================================
   You Can't Prompt This — Juan Manuel Medina
   Handcrafted stylesheet. Brutalist / editorial.
   ============================================================ */

:root {
  --ink:    #0c0c0d;
  --ink-2:  #141416;
  --card:   #17171a;
  --bone:   #f4f1ea;
  --muted:  #9a968c;
  --line:   #2a2a2e;
  --accent: #d6ff3e;   /* acid lime */
  --accent-2: #ff5a3c; /* warm hover */
  --maxw:   1180px;
  --pad:    clamp(1.15rem, 5vw, 4rem);
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.mono { font-family: var(--font-mono); }
.accent { color: var(--accent); }

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

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--ink); padding: .6rem 1rem; font-weight: 700;
}
.skip:focus { left: 0; }

/* ── Marquee ─────────────────────────────────────────────── */
.marquee {
  background: var(--accent);
  color: var(--ink);
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 2px solid var(--ink);
}
.marquee__track {
  display: inline-flex; align-items: center; gap: 1.5rem;
  padding: .45rem 0;
  font-family: var(--font-mono);
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  animation: marquee 26s linear infinite;
}
.marquee__track span { display: inline-block; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--pad);
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: padding .25s ease;
}
.nav.is-scrolled { padding-top: .6rem; padding-bottom: .6rem; }
.nav__brand { font-weight: 700; font-size: 1rem; letter-spacing: -.01em; display: flex; align-items: center; gap: .5rem; }
.nav__logo {
  display: inline-grid; place-items: center;
  width: 1.6em; height: 1.6em; background: var(--accent); color: var(--ink);
  font-weight: 700; border-radius: 5px; transform: translateY(-1px);
}
.nav__links { display: flex; align-items: center; gap: 1.8rem; font-size: .95rem; }
.nav__links a { color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--bone); }
.nav__cta {
  color: var(--ink) !important; background: var(--accent);
  padding: .5rem .95rem; border-radius: 6px; font-weight: 700;
}
.nav__cta:hover { background: var(--bone) !important; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--bone); margin: 5px 0; transition: .3s; }

/* ── Layout helpers ──────────────────────────────────────── */
main { display: block; }
section { padding: clamp(3.5rem, 9vw, 8rem) var(--pad); max-width: var(--maxw); margin: 0 auto; }

.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head__index {
  font-family: var(--font-mono); font-size: .8rem; color: var(--accent);
  text-transform: uppercase; letter-spacing: .1em;
}
.section-head h2 {
  font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 700; letter-spacing: -.03em;
  line-height: 1.02; margin: .5rem 0 .6rem;
}
.section-head p { color: var(--muted); max-width: 46ch; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.hero__kicker {
  font-family: var(--font-mono); font-size: clamp(.8rem, 2.2vw, .95rem);
  color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.6rem;
}
.hero__kicker span { color: var(--accent); }
.hero__title {
  font-size: clamp(3rem, 15.5vw, 12.5rem);
  font-weight: 700; line-height: .86; letter-spacing: -.045em;
  text-transform: uppercase; margin-bottom: 1.8rem;
}
.hero__title .line { display: block; }
.hero__title .accent { color: var(--accent); }
.hero__title .dot { color: var(--accent-2); }
.hero__lead { font-size: clamp(1.05rem, 2.5vw, 1.5rem); max-width: 40ch; color: var(--bone); line-height: 1.4; }
.hero__lead strong { color: var(--accent); font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2.2rem 0 1.8rem; }
.hero__irony { font-size: .95rem; color: var(--muted); }
.hero__irony .mono { color: var(--accent); margin-right: .35rem; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .95rem 1.6rem; border-radius: 8px; font-weight: 700; font-size: 1rem;
  border: 2px solid var(--accent); transition: transform .15s ease, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn--ghost { background: transparent; color: var(--bone); }
.btn--ghost:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

/* ── Stats ───────────────────────────────────────────────── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 0; max-width: var(--maxw); margin: 0 auto;
}
.stat {
  padding: clamp(1.6rem, 3vw, 2.6rem) var(--pad);
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat__num {
  display: block; font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 700;
  letter-spacing: -.03em; color: var(--accent); line-height: 1;
}
.stat__label { display: block; margin-top: .5rem; font-size: .82rem; color: var(--muted); line-height: 1.35; }
.stat__label em { color: var(--bone); font-style: normal; display: block; font-family: var(--font-mono); font-size: .78rem; }

/* ── Work / projects ─────────────────────────────────────── */
.project {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  border-top: 1px solid var(--line);
}
.project--rev .project__media { order: 2; }
.project__body, .project__media { min-width: 0; }

.shot {
  position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: var(--ink-2);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7);
}
.shot img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2;
  transition: transform .5s ease;
}
.shot img.is-missing { display: none; }
.project:hover .shot img { transform: scale(1.03); }
.shot__ph {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end; gap: .4rem;
  padding: 1.4rem;
  background:
    radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 55%),
    linear-gradient(160deg, var(--card), var(--ink));
}
.shot__ph .dots { position: absolute; top: 1.1rem; left: 1.2rem; display: flex; gap: .4rem; }
.shot__ph .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.shot__ph .dots i:first-child { background: var(--accent-2); }
.shot__name { font-family: var(--font-mono); font-size: .9rem; color: var(--muted); }
.shot__metric { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; letter-spacing: -.03em; color: var(--bone); }

.project__meta { font-family: var(--font-mono); font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .7rem; }
.project__meta span { color: var(--accent); }
.yc { background: var(--accent); color: var(--ink); padding: .05rem .4rem; border-radius: 4px; font-weight: 700; letter-spacing: 0; }
.live { color: var(--accent); }
.project__title { font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; margin-bottom: .8rem; }
.project__desc { color: var(--muted); font-size: 1.02rem; max-width: 48ch; }
.project__impact { margin: 1.1rem 0; font-size: 1.05rem; color: var(--bone); }
.project__impact b { color: var(--accent); font-size: 1.6rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .3rem; }
.tags li { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); border: 1px solid var(--line); padding: .3rem .6rem; border-radius: 20px; }
.project__link { display: inline-block; margin-top: 1.2rem; font-weight: 700; color: var(--accent); border-bottom: 2px solid transparent; transition: border-color .2s; }
.project__link:hover { border-color: var(--accent); }

/* ── Experience / timeline ───────────────────────────────── */
.timeline { list-style: none; border-top: 1px solid var(--line); }
.timeline li {
  display: grid; grid-template-columns: 200px 1fr; gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.3rem, 3vw, 2rem) 0; border-bottom: 1px solid var(--line);
}
.timeline__when { font-family: var(--font-mono); font-size: .85rem; color: var(--accent); padding-top: .2rem; }
.timeline__what h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 700; letter-spacing: -.01em; margin-bottom: .35rem; }
.timeline__what .at { color: var(--muted); font-weight: 400; }
.timeline__what p { color: var(--muted); max-width: 62ch; font-size: .98rem; }
.at .yc { font-size: .7rem; }

/* ── About ───────────────────────────────────────────────── */
.about__grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about__lead { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 1.2rem; }
.about__text p { color: var(--muted); font-size: 1.1rem; margin-bottom: 1rem; max-width: 58ch; }
.about__text strong { color: var(--bone); }
.about__text em { color: var(--accent); font-style: italic; }
.about__card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1.6rem; }
.about__card h4 { color: var(--accent); font-size: .85rem; margin-bottom: 1rem; font-weight: 400; }
.about__card ul { list-style: none; display: grid; gap: .7rem; }
.about__card li { padding-left: 1.3rem; position: relative; color: var(--bone); font-size: .98rem; }
.about__card li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }
.about__loc { margin-top: 1.4rem; color: var(--muted); font-size: .82rem; }

/* ── Try-it terminal ─────────────────────────────────────── */
.tryit { padding-top: 0; }
.terminal { background: #0a0a0b; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.terminal__bar { display: flex; align-items: center; gap: .5rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); background: #141417; }
.terminal__bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.terminal__bar i:nth-child(1) { background: var(--accent-2); }
.terminal__bar i:nth-child(2) { background: #f5c14e; }
.terminal__bar i:nth-child(3) { background: var(--accent); }
.terminal__bar span { margin-left: .6rem; color: var(--muted); font-size: .8rem; }
.terminal__body { padding: 1.4rem; font-family: var(--font-mono); font-size: .95rem; }
.terminal__line { color: var(--muted); margin-bottom: .8rem; }
.prompt { color: var(--accent); font-weight: 700; }
.terminal__form { display: flex; align-items: center; gap: .6rem; }
.terminal__form input {
  flex: 1; background: transparent; border: 0; border-bottom: 1px dashed var(--line);
  color: var(--bone); font-family: var(--font-mono); font-size: .95rem; padding: .4rem 0; outline: none;
}
.terminal__form input:focus { border-color: var(--accent); }
.terminal__form button { background: var(--accent); color: var(--ink); border: 0; border-radius: 6px; width: 34px; height: 30px; cursor: pointer; font-weight: 700; }
.terminal__out { margin-top: 1rem; color: var(--accent); min-height: 1.4em; white-space: pre-wrap; }

/* ── Contact ─────────────────────────────────────────────── */
.contact__title { font-size: clamp(2.4rem, 8vw, 5.5rem); font-weight: 700; letter-spacing: -.04em; line-height: .95; margin-bottom: 2.5rem; }
.contact__links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.contact__link { display: flex; flex-direction: column; gap: .3rem; padding: 1.5rem; background: var(--ink); transition: background .2s, color .2s; }
.contact__link .mono { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.contact__link b { font-size: clamp(1rem, 2.5vw, 1.25rem); font-weight: 700; }
.contact__link:hover { background: var(--accent); color: var(--ink); }
.contact__link:hover .mono { color: var(--ink); }

/* ── Footer ──────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: clamp(2.5rem, 5vw, 4rem) var(--pad); max-width: var(--maxw); margin: 0 auto; display: grid; gap: .8rem; }
.foot__brand { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1.1rem; }
.foot__note { color: var(--muted); max-width: 60ch; }
.foot__meta { color: var(--muted); font-size: .82rem; }

/* ── Reveal animation ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 880px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .project, .about__grid { grid-template-columns: 1fr; }
  .labs__grid { grid-template-columns: 1fr; }
  .project--rev .project__media { order: 0; }
  .timeline li { grid-template-columns: 1fr; gap: .5rem; }
  .contact__links { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav__links {
    position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; align-items: flex-start;
    gap: 1.5rem; padding: 6rem var(--pad) 2.5rem; background: var(--ink);
    transform: translateY(-100%); transition: transform .35s ease; height: 100vh;
    border-bottom: 1px solid var(--line);
  }
  .nav__links.is-open { transform: none; }
  .nav__links a { font-size: 1.5rem; }
  .nav__toggle { display: block; z-index: 60; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .shot img, .btn { transition: none; }
  .ytlite img { transition: none; }
}

/* ── Video facade (lite YouTube embed) ───────────────────── */
.videos-stack { display: grid; gap: .75rem; }
.ytlite {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: var(--ink-2); cursor: pointer; padding: 0; margin: 0;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7);
}
.ytlite img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s ease; }
.ytlite:hover img { transform: scale(1.04); filter: brightness(.82); }
.ytlite__play {
  position: absolute; inset: 0; margin: auto; width: clamp(52px, 8vw, 68px); height: clamp(52px, 8vw, 68px); z-index: 2;
  border-radius: 50%; background: var(--accent); display: grid; place-items: center;
  transition: transform .2s ease; box-shadow: 0 12px 30px rgba(0,0,0,.45);
}
.ytlite__play::before {
  content: ""; width: 0; height: 0; border-style: solid;
  border-width: 10px 0 10px 17px; border-color: transparent transparent transparent var(--ink); margin-left: 4px;
}
.ytlite:hover .ytlite__play { transform: scale(1.12); background: var(--accent-2); }
.ytlite__cap {
  position: absolute; left: 0; bottom: 0; z-index: 2; margin: .7rem;
  font-family: var(--font-mono); font-size: .7rem; color: var(--bone);
  background: color-mix(in srgb, var(--ink) 72%, transparent); padding: .28rem .55rem;
  border-radius: 6px; backdrop-filter: blur(4px);
}
.ytlite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.ytlite.is-playing { cursor: default; }
.ytlite.is-playing .ytlite__play, .ytlite.is-playing .ytlite__cap { display: none; }

/* ── Also building / labs ────────────────────────────────── */
.labs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.3rem, 3vw, 2.2rem); align-items: start; }
.lab { display: flex; flex-direction: column; gap: 1rem; }
.lab .shot--wide { aspect-ratio: 16 / 10; }
.lab__meta { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .45rem; }
.lab__meta .live { color: var(--accent); }
.lab__body h3 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: .5rem; }
.lab__body p { color: var(--muted); margin-bottom: .8rem; }
.lab__body em { color: var(--bone); font-style: italic; }
.lab__impact { font-size: .9rem; color: var(--bone); margin: -.1rem 0 .8rem; }
.lab__impact b { color: var(--accent); }
.lab__body .project__link { margin-top: 0; }

/* Aloha — two-phone gallery */
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.shot--phone { aspect-ratio: 92 / 180; box-shadow: 0 24px 48px -26px rgba(0,0,0,.7); }

/* ============================================================
   Spectacular pass — theatre, texture & polish (2026-07)
   ============================================================ */

/* smooth anchor landings under the sticky nav */
section[id] { scroll-margin-top: 96px; }

/* thin dark scrollbar */
html { scrollbar-width: thin; scrollbar-color: var(--line) var(--ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px;
}

/* film grain — the handcrafted texture */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* hero: glow + staged entrance */
.hero { position: relative; z-index: 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1; top: -22%; right: -12%;
  width: min(58vw, 760px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 10%, transparent) 0%, transparent 66%);
}
.hero__prompt { font-size: .92rem; color: var(--muted); margin-bottom: 1.5rem; min-height: 1.4em; max-width: 100%; overflow-wrap: break-word; }
.hero__prompt .prompt { color: var(--accent); }
.hero__prompt .err { color: var(--accent-2); }
.hero__prompt .caret {
  display: inline-block; width: .58ch; height: 1.05em; margin-left: 2px;
  background: var(--accent); vertical-align: text-bottom;
  animation: caretBlink 1.05s steps(1) infinite;
}
.hero__prompt.done .caret { display: none; }
@keyframes caretBlink { 50% { opacity: 0; } }

.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.hero__title .line-inner { display: inline-block; transform: translateY(115%); animation: rise 1s cubic-bezier(.19,.85,.22,1) forwards; }
.hero__title .line:nth-child(2) .line-inner { animation-delay: .12s; }
@keyframes rise { to { transform: none; } }

.hero__kicker  { animation: fadeUp .6s .05s both; }
.hero__lead    { animation: fadeUp .7s .55s both; }
.hero__actions { animation: fadeUp .7s .7s both; }
.hero__status  { animation: fadeUp .7s .85s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

.hero__status { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: 1.7rem; color: var(--muted); font-size: .95rem; }
.hero__status .mono { color: var(--accent); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.hero__status .yc { font-size: .68rem; }
.dot-live {
  flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent);
  animation: livePulse 2.2s ease-out infinite;
}
@keyframes livePulse { 70% { box-shadow: 0 0 0 12px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* nav: reading progress + active section */
.nav__progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--accent); }
.nav__links a { position: relative; }
.nav__links a.is-active { color: var(--bone); }
.nav__links a.is-active:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--accent);
}

/* marquee: pause to read */
.marquee:hover .marquee__track { animation-play-state: paused; }

/* cards: lift toward the light */
.shot, .ytlite { transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.project:hover .shot, .project:hover .ytlite, .lab:hover .shot {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
}
.stat { transition: background .25s ease; }
.stat:hover { background: var(--ink-2); }

/* side projects: breathe on tablets */
@media (max-width: 1100px) { .labs__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 880px)  { .labs__grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .hero__title .line-inner { animation: none; transform: none; }
  .hero__kicker, .hero__lead, .hero__actions, .hero__status { animation: none; }
  .hero__prompt .caret, .dot-live { animation: none; }
  .shot, .ytlite, .stat { transition: none; }
}
