/* Light, technical theme for the home page and newer project pages */
:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --ink: #0b1220;
  --muted: #5a6475;
  --line: #e2e7ef;
  --grid: rgba(11, 18, 32, .045);
  --accent: #e0457b;
  --accent-deep: #a8264f;
  --accent-light: #ffc2d6;
  --accent-soft: #fdf0f3;
  --signal: #f2994a;
  --radius: 14px;
  --display: "Space Grotesk", "Inter", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --lz-green: #3f8a4f;
  --lz-red: #e2504a;
  --lz-orange: #f0a33a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(245, 247, 250, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 16px; }
.nav .brand {
  font-family: var(--mono); font-size: 15px; font-weight: 600; text-decoration: none;
  white-space: nowrap; display: flex; align-items: center; gap: 10px;
}
.nav .brand::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--signal);
  animation: pulse 2.4s infinite;
}
.nav .brand span { color: var(--accent); }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-family: var(--mono); font-size: 13px; color: var(--muted); transition: color .2s; }
.nav ul a:hover { color: var(--accent); }
@media (max-width: 720px) { .nav ul { gap: 14px; } .nav ul li.hide-sm { display: none; } }
@media (max-width: 420px) { .nav .brand { font-size: 13px; } .nav ul { gap: 10px; } .nav ul a { font-size: 12px; } }
@media (max-width: 360px) { .nav .wrap { gap: 8px; } .nav .brand::before { display: none; } .nav .brand { font-size: 12px; } .nav ul { gap: 8px; } .nav ul a { font-size: 11px; } }

@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(242, 153, 74, .25); } 50% { box-shadow: 0 0 0 7px rgba(242, 153, 74, 0); } }

/* Labels */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }

/* Hero */
.hero { padding: 72px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.hero h1 {
  font-family: var(--display); font-weight: 600; font-size: clamp(42px, 6.2vw, 76px);
  line-height: 1.02; margin: 0 0 24px; letter-spacing: -.035em;
}
.hero h1 .hl {
  background: linear-gradient(90deg, var(--accent), var(--signal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 42ch; margin: 0 0 22px; }
.typed { font-family: var(--mono); font-size: 14px; color: var(--ink); margin-bottom: 28px; min-height: 1.6em; }
.typed .prompt { color: var(--signal); }
.typed .cursor { display: inline-block; width: 8px; height: 1.1em; background: var(--accent); vertical-align: -3px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chip {
  font-family: var(--mono); font-size: 12.5px; padding: 6px 12px; border-radius: 6px;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted);
}
@media (max-width: 880px) {
  .hero { padding: 44px 0; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
}

/* Portrait with technical frame */
.portrait { position: relative; margin: 0 18px 0 0; padding: 14px; }
.portrait img {
  width: 100%; aspect-ratio: 1066 / 1333; object-fit: cover; border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(11, 18, 32, .35);
}
.portrait .br { position: absolute; width: 28px; height: 28px; border: 2px solid var(--accent); }
.portrait .tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.portrait .tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.portrait .bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.portrait .brr { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.portrait .float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px;
  box-shadow: 0 14px 30px -16px rgba(11, 18, 32, .35); font-family: var(--mono);
  animation: floaty 6s ease-in-out infinite;
}
.portrait .float .k { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.portrait .float .v { font-size: 13px; color: var(--ink); font-weight: 600; }
.portrait .f1 { top: 40px; left: -28px; }
.portrait .f2 { bottom: 48px; right: -28px; animation-delay: -3s; }
.portrait .f2 .v { color: var(--accent); }
.portrait .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--signal); animation: pulse 2.4s infinite; flex-shrink: 0; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 880px) { .portrait { max-width: 440px; } .portrait .f1 { left: -6px; } .portrait .f2 { right: -6px; } }

/* Buttons */
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 8px; font-family: var(--mono); font-size: 13.5px; font-weight: 600;
  text-decoration: none; border: 1.5px solid var(--ink); transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--ink); color: #fff; }
.btn.primary:hover { background: var(--accent); border-color: var(--accent); }
.btn.ghost { background: var(--surface); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Sections */
section { padding: 88px 0; }
section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 44px; max-width: 720px; }
.section-head h2 {
  font-family: var(--display); font-weight: 600; font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.08; margin: 0 0 12px; letter-spacing: -.025em;
}
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }

/* Research */
.research { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.research p { margin: 0 0 16px; }
.lab {
  background: #0b1220; border-radius: var(--radius); padding: 18px; color: #cfd8e6;
  box-shadow: 0 30px 60px -30px rgba(11, 18, 32, .5);
}
.lab .bar { display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 11.5px; color: #7f8ba0; margin-bottom: 10px; }
.lab .bar b { color: var(--signal); font-weight: 500; }
.lab canvas { width: 100%; display: block; border-radius: 8px; background: #0f182a; }
.lab .metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.lab .metric { background: #0f182a; border-radius: 8px; padding: 10px 12px; font-family: var(--mono); }
.lab .metric .k { font-size: 10.5px; color: #7f8ba0; text-transform: uppercase; letter-spacing: .06em; }
.lab .metric .v { font-size: 20px; color: #fff; }
.lab .caption { font-family: var(--mono); font-size: 11px; color: #7f8ba0; margin-top: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pill { font-family: var(--mono); font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
@media (max-width: 880px) { .research { grid-template-columns: 1fr; } }

/* Lab Zero banner */
.lz-banner {
  position: relative; overflow: hidden; padding: 0;
  background: #fff; border-block: 1px solid var(--line);
}
.lz-banner::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, var(--lz-green), var(--lz-red), var(--lz-orange));
}
.lz-banner .wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; padding: 84px 0; }
.lz-banner .eyebrow { color: var(--lz-red); }
.lz-banner h2 {
  font-family: var(--display); font-weight: 700; font-size: clamp(44px, 7vw, 84px); line-height: .95;
  letter-spacing: -.04em; margin: 0 0 14px; text-transform: uppercase;
}
.lz-banner h2 span {
  background: linear-gradient(90deg, var(--lz-green), var(--lz-red) 55%, var(--lz-orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lz-banner .tagline { font-size: 21px; margin: 0 0 18px; }
.lz-banner p { color: var(--muted); margin: 0 0 22px; max-width: 48ch; }
.lz-banner .programs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.lz-banner .programs span {
  font-family: var(--mono); font-size: 12px; padding: 6px 11px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg);
}
.lz-banner .btn.primary { background: var(--lz-green); border-color: var(--lz-green); }
.lz-banner .btn.primary:hover { background: var(--lz-red); border-color: var(--lz-red); }
.lz-banner .shot { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(11, 18, 32, .35); }
.ticker { border-top: 1px solid var(--line); background: var(--bg); overflow: hidden; white-space: nowrap; padding: 14px 0; }
.ticker .track { display: inline-block; animation: ticker 28s linear infinite; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.ticker .track span { margin: 0 22px; }
.ticker .track span::before { content: "●"; margin-right: 10px; color: var(--lz-orange); font-size: 9px; vertical-align: 2px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (max-width: 880px) { .lz-banner .wrap { grid-template-columns: 1fr; padding: 60px 0; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.about-grid p { margin: 0 0 18px; }
.about-grid .pull {
  font-family: var(--display); font-size: 26px; line-height: 1.3; letter-spacing: -.015em; margin-bottom: 26px;
}
.about-grid .pull em { font-style: normal; color: var(--accent); }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
section.alt .timeline { background: var(--bg); }
.timeline li { position: relative; padding: 0 0 18px 22px; border-left: 1.5px dashed #cbd3df; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -6px; top: 7px; width: 10px; height: 10px;
  border-radius: 2px; background: var(--surface); border: 2px solid var(--accent);
}
.timeline .when { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.timeline .what { font-weight: 600; font-size: 15.5px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
section.alt .card { background: var(--bg); }
.card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 20px 40px -24px color-mix(in srgb, var(--accent) 60%, transparent); }
.card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .thumb img { transform: scale(1.04); }
.card .thumb.art {
  display: grid; place-items: center; text-align: center; padding: 20px;
  background:
    linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff; font-family: var(--display); font-size: 24px; font-weight: 500;
}
.card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .tag { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.card h3 { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.25; margin: 0; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .more { margin-top: auto; padding-top: 10px; font-family: var(--mono); font-size: 12.5px; color: var(--ink); }
.card:hover .more { color: var(--accent); }
@media (min-width: 621px) {
  .card.wide { grid-column: span 2; flex-direction: row; }
  .card.wide .thumb { flex: 1.1; aspect-ratio: auto; min-height: 280px; border-bottom: 0; border-right: 1px solid var(--line); }
  .card.wide .thumb img { object-fit: contain; }
  .card.wide .body { flex: 1; justify-content: center; padding: 30px; }
  .card.wide h3 { font-size: 27px; }
}
@media (max-width: 920px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards, .cards.two { grid-template-columns: 1fr; } }

/* Press */
.press { display: grid; gap: 12px; }
.press a {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); text-decoration: none; transition: border-color .2s, transform .2s;
}
.press a:hover { border-color: var(--accent); transform: translateX(4px); }
.press .src { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.press .title { font-family: var(--display); font-size: 20px; font-weight: 500; }
.press .arrow { font-family: var(--mono); font-size: 18px; color: var(--accent); flex-shrink: 0; }

/* Interests */
.interests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.interest { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.interest .idx { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.interest h3 { font-family: var(--display); font-weight: 600; margin: 6px 0; font-size: 21px; }
.interest p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .interests { grid-template-columns: 1fr; } }

/* Contact */
.contact { text-align: center; }
.contact h2 { font-family: var(--display); font-weight: 600; font-size: clamp(36px, 6vw, 62px); margin: 0 0 16px; line-height: 1.05; letter-spacing: -.03em; }
.contact p { color: var(--muted); max-width: 520px; margin: 0 auto 30px; }
.contact .btns { justify-content: center; }
.contact .eyebrow::before { display: none; }

footer.site {
  padding: 28px 0; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; color: var(--muted);
  background: var(--surface);
}
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer.site a { text-decoration: none; }
footer.site a:hover { color: var(--accent); }

/* Project detail pages */
.project-hero { padding: 60px 0 28px; }
.project-hero .back { font-family: var(--mono); font-size: 13px; color: var(--muted); text-decoration: none; }
.project-hero .back:hover { color: var(--accent); }
.project-hero h1 {
  font-family: var(--display); font-weight: 600; font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.05; margin: 18px 0 14px; letter-spacing: -.03em;
}
.project-hero .sub { font-size: 19px; color: var(--muted); margin: 0; max-width: 46ch; }
.project-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; padding: 28px 0 88px; }
.project-body img.feature { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; margin-bottom: 32px; }
.project-body h2 { font-family: var(--display); font-weight: 600; font-size: 26px; margin: 36px 0 12px; letter-spacing: -.015em; }
.project-body h2::before { content: "// "; font-family: var(--mono); color: var(--accent); font-size: .7em; vertical-align: .12em; }
.project-body h2:first-of-type { margin-top: 0; }
.project-body ul { padding-left: 20px; }
.project-body li { margin-bottom: 6px; }
.project-body blockquote { font-family: var(--display) !important; }
.facts {
  position: sticky; top: 90px; align-self: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.facts dl { margin: 0 0 22px; }
.facts dt { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 14px; }
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 2px 0 0; font-weight: 500; }
@media (max-width: 880px) { .project-body { grid-template-columns: 1fr; } .facts { position: static; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .portrait .float, .portrait .dot, .nav .brand::before, .typed .cursor, .ticker .track { animation: none; }
}

/* Project filters and toolkit */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
  font-family: var(--mono); font-size: 13px; padding: 8px 14px; border-radius: 8px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted); transition: all .2s;
}
.filters button:hover { border-color: var(--accent); color: var(--accent); }
.filters button.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.card[hidden] { display: none; }
.toolkit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
section.alt .interest { background: var(--bg); }
a.chip { text-decoration: none; transition: border-color .2s, color .2s; }
a.chip:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 860px) { .toolkit { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .toolkit { grid-template-columns: 1fr; } }

/* Long-form project write-ups */
.prose { max-width: 860px; padding: 8px 0 96px; }
.prose p, .prose li { color: #283244; }
.prose h2 {
  font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: -.015em;
  margin: 52px 0 14px; padding-top: 22px; border-top: 1px solid var(--line);
}
.prose h2::before { content: "// "; font-family: var(--mono); color: var(--accent); font-size: .7em; vertical-align: .12em; }
.prose h3 { font-family: var(--display); font-weight: 600; font-size: 20px; margin: 30px 0 8px; }
.prose a:not(.btn) { color: var(--accent); }
.prose img.feature { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; margin: 22px 0; }
.prose .pgallery { display: grid; gap: 12px; margin: 22px 0; }
.prose .gallery-2 { grid-template-columns: repeat(2, 1fr); }
.prose .gallery-3 { grid-template-columns: repeat(3, 1fr); }
.prose .pgallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.prose .embed { position: relative; aspect-ratio: 16 / 9; margin: 22px 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.prose .embed iframe, .prose .embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; }
@media (max-width: 620px) { .prose .gallery-3 { grid-template-columns: repeat(2, 1fr); } }
.prose h2, .prose h3 { scroll-margin-top: 80px; }

/* Figures, stats and tables on project pages */
.project-body figure { margin: 0 0 32px; }
.project-body figure img { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; width: 100%; }
.project-body figcaption { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 8px; }
.project-body figcaption b { color: var(--accent); font-weight: 600; }
.figrow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 32px; }
.figrow figure { margin: 0; }
.figrow.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 620px) { .figrow, .figrow.three { grid-template-columns: 1fr; } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 32px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stat .n { font-family: var(--display); font-size: 30px; font-weight: 600; letter-spacing: -.02em; color: var(--accent); }
.stat .l { font-family: var(--mono); font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 620px) { .stats { grid-template-columns: 1fr 1fr; } }
.project-body table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 28px; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.project-body th, .project-body td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.project-body th { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--bg); }
.project-body td.num { font-family: var(--mono); }
.project-body tr.best td { background: var(--accent-soft); font-weight: 600; }
.project-body h3 { font-family: var(--display); font-weight: 600; font-size: 19px; margin: 24px 0 6px; }

/* Credentials in the hero */
.creds-block { margin-bottom: 22px; }
.creds-block .eyebrow { font-size: 14px; font-weight: 600; }
.creds { display: flex; flex-wrap: wrap; gap: 4px 0; font-family: var(--mono); font-size: 12.5px; color: var(--muted); line-height: 1.5; padding-left: 32px; }
.creds span:not(:last-child)::after { content: "/"; margin: 0 10px; color: #a9b4c4; }
.cards { grid-auto-rows: 1fr; }

/* Lab Zero activation map */
.lzmap { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(11, 18, 32, .35); }
.lzmap svg { display: block; width: 100%; height: auto; }
.lzmap .lz-sphere { fill: #f7f9fc; }
.lzmap .lz-grat { fill: none; stroke: rgba(11, 18, 32, .05); }
.lzmap .lz-land { fill: #e3e8ef; stroke: #fff; stroke-width: .6; }
.lzmap .lz-arc { fill: none; stroke: url(#lzArc); stroke-width: 2.5; stroke-linecap: round; }
.lzmap .lz-arc.upcoming { stroke: #f0a33a; opacity: .8; }
.lzmap .lz-dot { fill: #e2504a; stroke: #fff; stroke-width: 2.5; }
.lzmap .lz-stop.upcoming .lz-dot { fill: #fff; stroke: #f0a33a; stroke-width: 3; }
.lzmap .lz-pulse { fill: none; stroke: #e2504a; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: lzpulse 2.2s ease-out infinite; }
.lzmap .lz-stop.upcoming .lz-pulse { stroke: #f0a33a; }
@keyframes lzpulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }
.lzmap .lz-name { font-family: var(--display); font-weight: 600; font-size: 24px; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.lzmap .lz-when { font-family: var(--mono); font-size: 16px; fill: var(--muted); paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.lzmap .legend { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 14px; font-family: var(--mono); font-size: 11px; color: var(--muted); background: rgba(255,255,255,.85); padding: 6px 10px; border-radius: 6px; }
.lzmap .legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.lzmap.lz-failed::after { content: "Map unavailable offline"; display: block; padding: 40px; text-align: center; font-family: var(--mono); color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .lzmap .lz-pulse { animation: none; opacity: 0; } }

/* Press badges on project cards */
.press-badge { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 6px;
  font-family: var(--mono); font-size: 11.5px; padding: 4px 9px; border-radius: 999px; background: #fff4e5; color: #9a5b00; border: 1px solid #f6d9a8; }
.press-badge::before { content: "★"; font-size: 10px; }
.press-callout { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; text-decoration: none;
  padding: 18px 22px; margin: 0 0 28px; border-radius: var(--radius); background: #fffaf2; border: 1px solid #f6d9a8; transition: border-color .2s, transform .2s; }
.press-callout:hover { border-color: #f0a33a; transform: translateY(-2px); }
.press-callout .src { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: #9a5b00; }
.press-callout .t { font-family: var(--display); font-size: 19px; font-weight: 600; color: var(--ink); grid-column: 1; }
.press-callout .arrow { grid-row: 1 / span 2; grid-column: 2; font-size: 20px; color: #f0a33a; }
.prose .press-callout { color: inherit; }

/* ARC block inside the Lab Zero banner */
.lz-banner .arc { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; padding: 0 0 84px; }
.arc h3 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4vw, 42px); letter-spacing: -.03em; margin: 0 0 12px; text-transform: uppercase; }
.arc p { color: var(--muted); margin: 0 0 22px; }
.arc .eyebrow { color: var(--lz-green); }
.arc-photos { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.arc-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.arc-photos .a1 { grid-row: 1 / span 2; aspect-ratio: 3 / 4; object-position: center; }
.arc-photos .a2, .arc-photos .a3 { aspect-ratio: 4 / 3; }
@media (max-width: 880px) { .lz-banner .arc { grid-template-columns: 1fr; padding-bottom: 60px; } }

/* Portfolio call-to-action */
.portfolio-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin: -16px 0 32px; padding: 18px 22px; border-radius: var(--radius); text-decoration: none;
  background: var(--ink); color: #fff; transition: transform .2s, background .2s; }
.portfolio-cta:hover { transform: translateY(-2px); background: var(--accent); }
.portfolio-cta .k { display: block; font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-light); }
.portfolio-cta:hover .k { color: #dbe7ff; }
.portfolio-cta .t { display: block; font-family: var(--display); font-size: 20px; font-weight: 600; }
.portfolio-cta .go { font-family: var(--mono); font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 8px; background: #fff; color: var(--ink); white-space: nowrap; }

/* What I'm watching */
.watch { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.watch .w { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; overflow: hidden; }
.watch .w::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--signal)); }
.watch .n { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.watch h3 { font-family: var(--display); font-weight: 600; font-size: 20px; margin: 8px 0 8px; letter-spacing: -.01em; }
.watch p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .watch { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .watch { grid-template-columns: 1fr; } }
.about-photo { margin: 0; }
.about-photo img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 3 / 4; object-fit: cover; object-position: center 30%; box-shadow: 0 30px 60px -30px rgba(11, 18, 32, .35); }

/* Affiliation logos under the portrait */
.hero-side { margin-right: 18px; }
.hero-side .portrait { margin: 0; }
.affils { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 34px; margin-top: 16px; padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.affils img { height: 34px; width: auto; object-fit: contain; }
.affils img.wide { order: 4; flex-basis: 100%; height: 16px; }
.affils img.lz { border-radius: 7px; }
@media (max-width: 880px) { .hero-side { max-width: 440px; } }
@media (max-width: 480px) { .affils { gap: 10px 20px; padding: 12px; } .affils img { height: 28px; } .affils img.wide { height: 12px; } }

/* Lab Zero stats */
.lz-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 26px; }
.lz-stats div { padding: 10px 16px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.lz-stats b { display: block; font-family: var(--display); font-size: 24px; line-height: 1.1; background: linear-gradient(90deg, var(--lz-green), var(--lz-red), var(--lz-orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lz-stats span { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }

/* Experience */
.xp { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.xp .x { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.xp .when { font-family: var(--mono); font-size: 12px; color: var(--accent); padding-top: 4px; }
.xp h3 { font-family: var(--display); font-weight: 600; font-size: 19px; margin: 0; letter-spacing: -.01em; }
.xp .role { font-family: var(--mono); font-size: 12px; color: var(--muted); margin: 2px 0 8px; }
.xp p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .xp { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .xp .x { grid-template-columns: 1fr; gap: 4px; } }

/* Monogram */
.nav .brand::before { display: none; }
.nav .brand .mark { width: 28px; height: 28px; border-radius: 7px; }

/* Experience logos */
.xp-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 28px 40px; padding: 30px 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.xp-logos a { display: flex; align-items: center; transition: transform .2s, opacity .2s; }
.xp-logos a:hover { transform: translateY(-3px); }
.xp-logos img { height: 72px; width: auto; object-fit: contain; }
.xp-logos img.wide { height: 46px; }
@media (max-width: 620px) { .xp-logos img { height: 52px; } .xp-logos img.wide { height: 30px; } }
.affils img.lzw { height: 30px; }
.nav .brand .mark { width: 32px; height: 32px; }

/* Credentials list in the hero */
.cv { display: grid; grid-template-columns: 1fr auto; margin: 0 0 22px; max-width: 560px; border-top: 1px solid var(--line); }
.cv dt, .cv dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.cv dt { color: var(--ink); padding-right: 16px; }
.cv dd { font-family: var(--mono); font-size: 12.5px; color: var(--accent); text-align: right; align-self: center; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 480px) { .cv dt { font-size: 14px; } }

/* Logos: grey until hovered, clickable */
.affils a, .xp-logos a { display: inline-flex; align-items: center; }
.affils img, .xp-logos img { filter: grayscale(1); opacity: .5; transition: filter .25s, opacity .25s, transform .25s; }
.affils a:hover img, .xp-logos a:hover img, .affils a:focus-visible img, .xp-logos a:focus-visible img { filter: none; opacity: 1; transform: translateY(-2px); }
.affils { justify-content: space-around; gap: 14px 28px; }
.affils a { position: relative; text-decoration: none; }
.affils a img { height: 32px; }
.affils a img.lzw { height: 28px; }
.affils a::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 4px);
  white-space: nowrap; font-family: var(--mono); font-size: 11.5px; color: #fff; background: var(--ink); padding: 6px 10px; border-radius: 6px;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 5; }
.affils a:hover::after, .affils a:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.affils a:last-child::after { left: auto; right: 0; transform: translate(0, 4px); }
.affils a:last-child:hover::after { transform: translate(0, 0); }
.affils a:first-child::after { left: 0; transform: translate(0, 4px); }
.affils a:first-child:hover::after { transform: translate(0, 0); }
.affils.left { margin-top: 36px; max-width: 460px; background: none; border: 0; padding: 0; justify-content: flex-start; gap: 18px 34px; }
.affils.left { gap: 20px 30px; align-items: flex-start; max-width: 520px; }
.affils.left a { flex-direction: column; align-items: center; gap: 8px; }
.affils.left a::after { display: none; }
.affils.left a img { height: 34px; }
.affils.left a img.lzw { height: 28px; margin: 3px 0; }
.affils.left a span { font-family: var(--mono); font-size: 10.5px; line-height: 1.4; color: var(--muted); text-align: center; white-space: nowrap; transition: color .25s; }
.affils.left a:hover span { color: var(--ink); }
.affils.left { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 16px; max-width: 560px; }
.affils.left a span { white-space: normal; }
@media (max-width: 480px) { .affils.left { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; } }
.hello { font-family: var(--mono); font-size: 16px; color: var(--muted); margin: 0 0 14px; }
.hello b { color: var(--accent); font-weight: 600; }
.affils.left.top { margin: 0 0 34px; }
.lead .hi { display: block; font-family: var(--display); font-size: 26px; color: var(--ink); margin-bottom: 4px; letter-spacing: -.01em; }
.lead .hi b { font-weight: 600; color: var(--accent); }
.affils.left a span b { display: block; font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 2px; line-height: 1.3; }
.affils.left a span { font-size: 10.5px; }

.hero h1 { margin-bottom: 26px; }
.affils.left.top { margin: 0 0 28px; }

/* Affiliation strip along the bottom of the hero */
.hero { padding-bottom: 40px; }
.affils.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 52px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); background: none; border-radius: 0; }
.affils.strip a { flex-direction: row; align-items: center; gap: 14px; justify-content: center; }
.affils.strip a::after { display: none; }
.affils.strip a img { height: 40px; }
.affils.strip a img.lzw { height: 30px; }
.affils.strip a span { font-family: var(--mono); font-size: 11.5px; line-height: 1.45; color: var(--muted); text-align: left; transition: color .25s; }
.affils.strip a span b { display: block; font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 1px; }
.affils.strip a:hover span { color: var(--ink); }
@media (max-width: 880px) { .affils.strip { grid-template-columns: repeat(2, 1fr); } .affils.strip a { justify-content: flex-start; } }
@media (max-width: 480px) { .affils.strip { grid-template-columns: 1fr; gap: 18px; } }
.hero .wrap.strip-wrap { display: block; }
.hero { padding-top: 36px; }
.affils.strip { margin: 0 0 56px; padding: 0 0 26px; border-top: 0; border-bottom: 1px solid var(--line); max-width: 1000px; margin-left: auto; margin-right: auto; }
.about-photo img { object-position: 70% 40%; }
.hero-side .portrait { padding: 0; }
.lab .bar b { color: #4ade80; }

/* Lab Zero: ARC blurb and photos under the map */
.arc-mini { margin: 0 0 26px; padding: 14px 16px; border-left: 3px solid var(--lz-green); background: var(--bg); }
.arc-mini .eyebrow { color: var(--lz-green); margin-bottom: 6px; }
.arc-mini p { margin: 0; color: var(--muted); font-size: 15px; }
.lz-side { display: flex; flex-direction: column; gap: 12px; }
.lz-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lz-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.xp-logos a.wm { gap: 10px; filter: grayscale(1); opacity: .55; transition: filter .25s, opacity .25s, transform .2s; }
.xp-logos a.wm img { filter: none; opacity: 1; height: 54px; }
.xp-logos a.wm:hover { filter: none; opacity: 1; }
.xp-logos a.wm span { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.1; color: #a51c30; letter-spacing: -.01em; }
.xp-logos a.wm small { display: block; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 3px; }
.xp-logos { gap: 28px 36px; }
.xp-logos { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; align-items: center; gap: 24px; padding: 28px 30px; }
.xp-logos a { text-decoration: none; justify-content: center; }
.xp-logos img { height: 60px; }
.xp-logos img.wide { height: 34px; }
.xp-logos a.wm img { height: 46px; }
.xp-logos a.wm span { font-size: 16px; }
@media (max-width: 900px) { .xp-logos { grid-template-columns: repeat(3, auto); justify-content: space-around; } }
@media (max-width: 560px) { .xp-logos { grid-template-columns: repeat(2, auto); } }

/* Mobile hero layout */
@media (max-width: 880px) {
  .hero { display: flex; flex-direction: column; padding-top: 28px; }
  .hero > .wrap:not(.strip-wrap) { order: 1; }
  .hero > .strip-wrap { order: 2; }
  .hero .wrap { gap: 32px; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero-side { margin: 0 auto; max-width: 340px; width: 100%; }
  .affils.strip { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; margin: 40px 0 0; padding: 26px 0 0; border-bottom: 0; border-top: 1px solid var(--line); }
  .affils.strip a { flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; }
  .affils.strip a img { height: 36px; }
  .affils.strip a img.lzw { height: 26px; margin: 5px 0; }
  .affils.strip a span { text-align: center; font-size: 10.5px; }
  .affils.strip a span b { font-size: 12.5px; }
  .typed { font-size: 13px; }
}
@media (max-width: 480px) { .affils.strip { grid-template-columns: repeat(2, 1fr); } }
.affils.strip { border-left: 0; border-right: 0; border-radius: 0; background: none; }
@media (max-width: 880px) { .affils.strip a { align-self: start; } .affils.strip a img { height: 36px; width: auto; } .hero .btns .btn { padding: 11px 16px; } }
@media (max-width: 620px) {
  .lzmap .lz-name { font-size: 34px; }
  .lzmap .lz-when { display: none; }
  .lzmap .legend { font-size: 10px; padding: 4px 8px; left: 8px; bottom: 8px; }
  .xp-logos { grid-template-columns: 1fr 1fr; justify-items: center; gap: 26px 18px; padding: 24px 18px; }
  .xp-logos a.wm, .xp-logos a:nth-child(4) { grid-column: span 2; }
  .xp-logos img { height: 48px; }
  .xp-logos img.wide { height: 30px; max-width: 100%; }
}
@media (max-width: 620px) {
  .xp-logos a:nth-child(5) { grid-column: span 2; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card .body { padding: 12px 12px 14px; gap: 5px; }
  .card .tag { font-size: 9.5px; letter-spacing: .04em; }
  .card h3 { font-size: 15px; line-height: 1.25; }
  .card p { font-size: 12.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .card .more { font-size: 11px; padding-top: 6px; }
  .card .thumb.art { font-size: 14px; padding: 10px; }
  .filters { gap: 6px; }
  .filters button { font-size: 12px; padding: 7px 10px; }
}
@media (max-width: 620px) { .cards { grid-auto-rows: auto; } }

/* Header dropdown menu (phones) */
.menu-btn { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
.nav.open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .menu-btn span:nth-child(2) { opacity: 0; }
.nav.open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 720px) {
  .nav .wrap { position: relative; }
  .menu-btn { display: flex; }
  .nav ul { display: none; position: absolute; top: calc(100% + 8px); right: 0; flex-direction: column; gap: 0; min-width: 210px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: 0 24px 50px -20px rgba(11,18,32,.35); }
  .nav.open ul { display: flex; }
  .nav ul li.hide-sm { display: block; }
  .nav ul a { display: block; padding: 12px 14px; border-radius: 10px; font-size: 15px; color: var(--ink); }
  .nav ul a:hover { background: var(--accent-soft); color: var(--accent); }
  .nav .brand { font-size: 15px; }
}
.lz-side .arc-mini { margin: 6px 0 0; }

/* Photos on the "What I'm watching" cards */
.watch .w { padding: 0 0 22px; display: flex; flex-direction: column; }
.watch .w .n, .watch .w h3, .watch .w p { padding: 0 20px; }
.watch .w .n { margin-top: 16px; }
.watch .wimg { aspect-ratio: 16 / 10; overflow: hidden; background: #0f182a; border-bottom: 1px solid var(--line); }
.watch .wimg img, .watch .wimg canvas { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.watch .w:hover .wimg img { transform: scale(1.04); }
@media (max-width: 560px) {
  .watch { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .watch .w { padding-bottom: 14px; }
  .watch .w .n, .watch .w h3, .watch .w p { padding: 0 12px; }
  .watch .w .n { margin-top: 10px; font-size: 11px; }
  .watch h3 { font-size: 15px; margin: 4px 0 6px; }
  .watch p { font-size: 12.5px; line-height: 1.45; }
}

/* Bigger animated logo mark */
.nav .brand .mark { width: 50px; height: 50px; border-radius: 12px; }
@media (max-width: 720px) { .nav .brand .mark { width: 40px; height: 40px; border-radius: 10px; } }

/* Inline animated logo mark (inline so the animation restarts on every page load) */
.nav .brand svg.mark { flex: none; display: block; }
.mark .mk-r { stroke-dasharray: 90; stroke-dashoffset: 90; animation: mk-draw 1.4s .2s cubic-bezier(.6,0,.2,1) forwards; }
.mark .mk-j circle { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: mk-pop .35s forwards, mk-pulse 4s 2.4s infinite; }
.mark .mk-j circle:nth-child(1) { animation-delay: .3s, 2.4s; } .mark .mk-j circle:nth-child(2) { animation-delay: .5s, 2.6s; }
.mark .mk-j circle:nth-child(3) { animation-delay: .7s, 2.8s; } .mark .mk-j circle:nth-child(4) { animation-delay: .9s, 3.0s; }
.mark .mk-j circle:nth-child(5) { animation-delay: 1.1s, 3.2s; } .mark .mk-j circle:nth-child(6) { animation-delay: 1.3s, 3.4s; }
.mark .mk-arm { transform-box: view-box; transform-origin: 40px 36px; animation: mk-reach 4s 1.2s ease-in-out infinite; }
.mark .mk-grip path { transform-box: view-box; transform-origin: 53px 29px; animation: mk-grip 4s 1.2s ease-in-out infinite; }
@keyframes mk-draw { to { stroke-dashoffset: 0; } }
@keyframes mk-pop { 70% { transform: scale(1.35); } to { transform: scale(1); } }
@keyframes mk-pulse { 0%, 8%, 100% { transform: scale(1); } 4% { transform: scale(1.45); fill: #ff6b9a; } }
@keyframes mk-reach { 0%, 100% { transform: rotate(0); } 35%, 55% { transform: rotate(-18deg); } }
@keyframes mk-grip { 0%, 30%, 60%, 100% { transform: rotate(0); } 42% { transform: rotate(14deg); } }
@media (prefers-reduced-motion: reduce) { .mark .mk-r { animation: none; stroke-dashoffset: 0; } .mark .mk-j circle { animation: none; transform: none; } .mark .mk-arm, .mark .mk-grip path { animation: none; } }

/* Lab Zero photos: 3 across, then 2 wide */
.lz-photos { grid-template-columns: repeat(6, 1fr); }
.lz-photos img { grid-column: span 2; }
.lz-photos img.wide { grid-column: span 3; aspect-ratio: 3 / 2; }
.lz-photos img.sensor { object-position: center 62%; }
.about-photo img[src*="rima-labzero"] { object-position: center; }
