/* ===== Tokens ===== */
:root {
  --ink: #070b14;
  --ink-raised: #10182a;
  --ink-border: #232f45;

  --glass: rgba(255, 255, 255, 0.94);
  --glass-soft: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-border-soft: rgba(255, 255, 255, 0.14);

  --heading: #10182a;
  --body: #454b57;
  --body-dim: #6b7182;

  --text-on-ink: #e7e9ee;
  --text-on-ink-dim: #8992a6;

  --red: #a90000;
  --orange: #f3752b;
  --live: #1f9e6d;
  --building: #e2a336;
  --paused: #7b8394;

  --mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
  --display: 'Questrial', 'Helvetica Neue', Arial, sans-serif;
  --body-font: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --edge: 18px;
}

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

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--text-on-ink-dim);
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image:
    radial-gradient(900px 560px at 10% -8%, rgba(169, 0, 0, 0.22), transparent 60%),
    radial-gradient(760px 520px at 96% 4%, rgba(243, 117, 43, 0.14), transparent 60%),
    radial-gradient(600px 500px at 50% 100%, rgba(31, 158, 109, 0.08), transparent 60%);
  background-attachment: fixed;
}

a { color: inherit; }

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

.section {
  padding: clamp(64px, 10vw, 120px) var(--edge);
  position: relative;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(243, 117, 43, 0.18);
}

h2.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: #fff;
  letter-spacing: -0.01em;
  max-width: 26ch;
}

/* ===== Terminal hero ===== */
.hero {
  padding: 0 var(--edge) clamp(56px, 9vw, 96px);
  position: relative;
}

.term-bar {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 0 0;
  position: relative;
  z-index: 1;
}

.term-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink-border);
}

.term-bar span.title {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-on-ink-dim);
  margin-left: 8px;
  letter-spacing: 0.02em;
}

.term-bar .live-clock {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--text-on-ink-dim);
  display: flex;
  align-items: center;
  gap: 7px;
}

.term-bar .live-clock .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 3px rgba(31, 158, 109, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

.term-window {
  max-width: 1100px;
  margin: 40px auto 0;
  background: var(--ink-raised);
  border: 1px solid var(--ink-border);
  border-radius: 10px;
  padding: clamp(20px, 4vw, 36px) clamp(20px, 4vw, 40px);
  position: relative;
  z-index: 1;
}

.boot-log {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-on-ink-dim);
  line-height: 1.9;
  min-height: 5.7em;
}

.boot-log .ok { color: var(--live); }
.boot-log .prompt { color: var(--orange); }
.boot-log .cursor {
  display: inline-block;
  width: 0.55em;
  height: 1em;
  background: var(--text-on-ink);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(31, 158, 109, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(31, 158, 109, 0.08); }
}

.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: #fff;
  margin-top: 34px;
  opacity: 0;
  transform: translateY(14px);
}

.hero .sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-on-ink-dim);
  max-width: 46ch;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(14px);
}

.hero.is-ready h1,
.hero.is-ready .sub,
.hero.is-ready .cta-row {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero.is-ready .sub { transition-delay: 0.08s; }
.hero.is-ready .cta-row { transition-delay: 0.16s; }

.cta-row {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  transform: translateY(14px);
}

/* ===== Icy glass buttons ===== */
.btn {
  font-family: var(--mono);
  font-size: 0.86rem;
  padding: 13px 24px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  color: var(--heading);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.btn-primary {
  font-weight: 600;
}
.btn-primary::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.btn-ghost {
  background: var(--glass-soft);
  color: var(--text-on-ink);
  border: 1px solid var(--glass-border-soft);
  box-shadow: none;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

/* ===== Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ===== Stack / capability tags — icy glass pillboxes ===== */
.tags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.tag-card {
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 28px 26px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tag-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.tag-card .tag-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
}

.tag-card:nth-child(1) .tag-label { background: rgba(169, 0, 0, 0.1); color: var(--red); }
.tag-card:nth-child(2) .tag-label { background: rgba(243, 117, 43, 0.12); color: #b85718; }
.tag-card:nth-child(3) .tag-label { background: rgba(31, 158, 109, 0.12); color: var(--live); }

.tag-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--heading);
  margin: 14px 0 8px;
}

.tag-card p { font-size: 0.94rem; color: var(--body-dim); }

/* ===== Deploy manifest ===== */
.manifest-section .lede {
  color: var(--text-on-ink-dim);
  max-width: 52ch;
  margin-top: 14px;
  font-size: 1.02rem;
}

/* ---- live stats strip (pillbox chips) ---- */
.stats-strip {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stat-chip {
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--heading);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.stat-chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 3px rgba(31, 158, 109, 0.18);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.stat-chip strong { font-weight: 600; }

/* ---- manifest layout: grid + live feed ---- */
.manifest-layout {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 26px;
  align-items: start;
  min-width: 0;
}

.manifest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  min-width: 0;
}

.project-card {
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 22px 22px 18px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: var(--heading);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.project-card .row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.project-card .name {
  font-family: var(--mono);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--heading);
}

.project-card .status-pill {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  padding: 3px 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.project-card .status-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.project-card.status-live .status-pill { background: rgba(31, 158, 109, 0.12); color: var(--live); }
.project-card.status-live .status-pill .dot { background: var(--live); box-shadow: 0 0 0 3px rgba(31, 158, 109, 0.18); }

.project-card.status-building .status-pill { background: rgba(226, 163, 54, 0.14); color: #8a6410; }
.project-card.status-building .status-pill .dot { background: var(--building); box-shadow: 0 0 0 3px rgba(226, 163, 54, 0.2); animation: none; }

.project-card.status-paused .status-pill { background: rgba(123, 131, 148, 0.14); color: var(--paused); }
.project-card.status-paused .status-pill .dot { background: var(--paused); box-shadow: none; animation: none; }

.project-card .desc {
  font-size: 0.88rem;
  color: var(--body-dim);
  flex-grow: 1;
}

.project-card .row-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--body-dim);
}

.project-card .uptime::before { content: '\25b2 '; color: var(--live); }

.project-card .visit-pill {
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--heading);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.project-card:hover .visit-pill {
  background: var(--orange);
  transform: translateX(2px);
}

/* ---- live activity feed ---- */
.activity-feed {
  background: var(--glass-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border-soft);
  border-radius: 20px;
  padding: 18px;
  max-height: 560px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.activity-feed-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-ink-dim);
  padding: 2px 4px;
}

.activity-feed-header .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(169, 0, 0, 0.2);
  animation: pulse 1.4s ease-in-out infinite;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  padding-right: 2px;
}

.activity-list::-webkit-scrollbar { width: 6px; }
.activity-list::-webkit-scrollbar-thumb { background: var(--ink-border); border-radius: 999px; }

.activity-row {
  background: var(--glass);
  border-radius: 999px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--heading);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.activity-row .icon {
  font-family: var(--mono);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.activity-row.type-deploy .icon { background: rgba(31, 158, 109, 0.14); color: var(--live); }
.activity-row.type-update .icon { background: rgba(243, 117, 43, 0.14); color: #b85718; }
.activity-row.type-remove .icon { background: rgba(169, 0, 0, 0.1); color: var(--red); }
.activity-row.type-note .icon { background: rgba(123, 131, 148, 0.14); color: var(--paused); }

.activity-row .msg {
  flex-grow: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-row .when {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--body-dim);
  flex-shrink: 0;
}

.activity-row.is-new {
  animation: flash-in 1.6s ease;
}

@keyframes flash-in {
  0% { box-shadow: 0 0 0 3px rgba(243, 117, 43, 0.5), 0 6px 18px rgba(0, 0, 0, 0.22); }
  100% { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
}

/* ===== CTA ===== */
.cta-section { text-align: center; }

.cta-term {
  max-width: 620px;
  margin: 40px auto 0;
  background: var(--ink-raised);
  border: 1px solid var(--ink-border);
  color: var(--text-on-ink);
  border-radius: 16px;
  padding: 28px 32px;
  text-align: left;
  font-family: var(--mono);
  font-size: 0.94rem;
}

.cta-term .l1 { color: var(--text-on-ink-dim); }
.cta-term .l2 { color: var(--live); margin-top: 6px; }
.cta-term .l3 { color: #fff; margin-top: 6px; }

.cta-term a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 117, 43, 0.4);
}
.cta-term a:hover { border-color: var(--orange); }

/* ===== Footer ===== */
footer {
  padding: 30px var(--edge) 50px;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--body-dim);
}

footer a {
  color: var(--text-on-ink-dim);
  text-decoration: none;
  border-bottom: 1px solid rgba(137, 146, 166, 0.3);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .manifest-layout { grid-template-columns: 1fr; }
  .activity-feed { max-height: 320px; }
}

@media (max-width: 780px) {
  .tags { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --edge: 16px; }

  .term-bar {
    flex-wrap: wrap;
    row-gap: 8px;
    padding-top: 18px;
  }

  .term-bar span.title {
    order: 3;
    width: 100%;
    margin-left: 0;
    white-space: normal;
  }

  .term-bar .live-clock {
    margin-left: auto;
  }

  .term-window {
    margin-top: 28px;
    padding: 18px 16px;
  }

  .boot-log { font-size: 0.76rem; }

  .hero h1 { margin-top: 26px; }

  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { justify-content: center; }

  .manifest-grid { grid-template-columns: 1fr; }

  .stats-strip { gap: 8px; }
  .stat-chip { font-size: 0.76rem; padding: 8px 14px; }

  .project-card { padding: 20px 18px 16px; }

  .cta-term { padding: 22px 18px; font-size: 0.86rem; }
  .cta-term .l1, .cta-term .l3 { word-break: break-word; }

  footer { font-size: 0.72rem; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .term-bar .title { font-size: 0.72rem; }
}

/* ===== Scroll progress bar ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--live));
  z-index: 200;
  transition: width 0.1s linear;
}

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  right: clamp(16px, 4vw, 32px);
  bottom: clamp(16px, 4vw, 32px);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--heading);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 150;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.back-to-top:active { transform: translateY(-1px) scale(0.97); }

/* ===== Toast ===== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  background: var(--ink-raised);
  border: 1px solid var(--ink-border);
  color: var(--text-on-ink);
  font-family: var(--mono);
  font-size: 0.8rem;
  padding: 11px 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 210;
}

.toast::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 3px rgba(31, 158, 109, 0.2);
  flex-shrink: 0;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ===== Copy email button ===== */
.copy-email {
  background: none;
  border: none;
  color: var(--text-on-ink-dim);
  cursor: pointer;
  padding: 2px 4px;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  transition: color 0.2s ease, transform 0.15s ease;
}

.copy-email:hover { color: var(--orange); }
.copy-email:active { transform: scale(0.88); }

/* ===== Magnetic tilt cards (hover-capable pointers only) ===== */
@media (hover: hover) and (pointer: fine) {
  .tag-card, .project-card {
    transform-style: preserve-3d;
    transition: transform 0.12s ease-out, box-shadow 0.25s ease;
    will-change: transform;
  }

  .tag-card::after, .project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.5), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }

  .tag-card:hover::after, .project-card:hover::after { opacity: 1; }
}

.tag-card, .project-card { position: relative; }

/* ===== Hero cursor spotlight ===== */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(480px circle at var(--hx, 50%) var(--hy, 0%), rgba(255, 255, 255, 0.05), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

@media (hover: hover) and (pointer: fine) {
  .hero.has-spotlight::before { opacity: 1; }
}

/* ===== Button ripple ===== */
.btn {
  position: relative;
  overflow: hidden;
}

.back-to-top {
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(0, 0, 0, 0.18);
  animation: ripple-out 0.6s ease-out;
  pointer-events: none;
}

.btn-ghost .ripple { background: rgba(255, 255, 255, 0.35); }

@keyframes ripple-out {
  to { transform: scale(2.6); opacity: 0; }
}

/* ===== Stat chip count-up ===== */
.stat-chip strong { font-variant-numeric: tabular-nums; }

/* ===== Card entrance stagger ===== */
.tags.reveal .tag-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.25s ease;
}
.tags.reveal.is-visible .tag-card {
  opacity: 1;
  transform: none;
}
.tags.reveal.is-visible .tag-card:nth-child(1) { transition-delay: 0.02s; }
.tags.reveal.is-visible .tag-card:nth-child(2) { transition-delay: 0.12s; }
.tags.reveal.is-visible .tag-card:nth-child(3) { transition-delay: 0.22s; }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1, .hero .sub, .cta-row, .reveal, .tags.reveal .tag-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .boot-log .cursor { animation: none; }
  .btn, .tag-card, .project-card, .back-to-top { transition: none; }
  .stat-chip .dot, .term-bar .live-clock .dot, .project-card .status-pill .dot, .activity-feed-header .dot {
    animation: none;
  }
  .tag-card::after, .project-card::after, .hero::before { display: none; }
  .ripple { animation: none; display: none; }
}
