/* =============================================================================
   LUKE — DIGITAL PORTFOLIO
   Dark, sharp, a little electric. Type does the work; light does the rest.
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Surface */
  --bg: #0a0c0b;
  --bg-elev: #101311;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --text: #ededec;
  --text-dim: #9aa19b;
  --text-faint: #646a64;

  /* Accent */
  --accent: #22c55e;
  --accent-bright: #4ade80;
  --accent-alt: #2dd4bf;
  --accent-dim: #16a34a;
  --accent-soft: rgba(34, 197, 94, 0.12);
  --accent-glow: rgba(34, 197, 94, 0.32);
  --accent-ink: #04150a;

  /* System */
  --font:
    "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  --font-mono:
    "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --maxw: 1080px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* -----------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.home-page {
  --text-dim: var(--text);
  --text-faint: var(--text);
}

/* Blueprint grid, fading out below the fold */
html::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.35;
  -webkit-mask-image: radial-gradient(
    ellipse 100% 65% at 50% 0%,
    black 25%,
    transparent 78%
  );
  mask-image: radial-gradient(
    ellipse 100% 65% at 50% 0%,
    black 25%,
    transparent 78%
  );
}

/* Very faint grain for depth — static, no motion */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Aurora: two soft accent fields drifting slowly behind the hero */
body::after {
  content: "";
  position: fixed;
  top: -28%;
  left: 50%;
  width: 92vw;
  height: 78vh;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      42% 52% at 32% 42%,
      rgba(34, 197, 94, 0.13) 0%,
      transparent 70%
    ),
    radial-gradient(
      36% 46% at 70% 52%,
      rgba(45, 212, 191, 0.09) 0%,
      transparent 70%
    );
  filter: blur(36px);
  transform: translateX(-50%);
  animation: aurora 16s ease-in-out infinite alternate;
}

@keyframes aurora {
  from {
    transform: translateX(-55%) rotate(-2deg) scale(1);
  }
  to {
    transform: translateX(-45%) rotate(2deg) scale(1.08);
  }
}

img {
  max-width: 100%;
  display: block;
}

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

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Scrollbar that matches the room */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: #20271f;
  border-radius: 999px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: #2c352a;
}

/* Shimmering accent text (hero + contact) */
.accent {
  background: linear-gradient(
    110deg,
    var(--accent-bright) 0%,
    var(--accent) 35%,
    var(--accent-alt) 65%,
    var(--accent-bright) 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent); /* fallback */
  animation: shimmer 7s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: -220% 0;
  }
}

/* -----------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(5rem, 12vw, 9rem);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}

.eyebrow::before {
  content: "";
  width: 1.8em;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
  opacity: 0.8;
}

.section-head {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-title {
  font-size: clamp(1.8rem, 4.2vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-top: 1rem;
  line-height: 1.08;
  text-wrap: balance;
}

.section-lead {
  color: var(--text-dim);
  max-width: 46ch;
  margin-top: 0.9rem;
  font-size: 1.02rem;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1200;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 1rem;
}

/* Scroll progress hairline */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 1010;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--accent-dim),
    var(--accent),
    var(--accent-alt)
  );
  transform: scaleX(0);
  transform-origin: left;
}

/* -----------------------------------------------------------------------------
   4. Navigation — relaxes wide, condenses into a floating pill on scroll
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding-inline: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    height 0.35s var(--ease),
    margin 0.35s var(--ease),
    padding 0.35s var(--ease),
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.nav.scrolled .nav__inner {
  height: 52px;
  margin-top: 0.65rem;
  padding-inline: 1.4rem;
  background: rgba(16, 19, 17, 0.62);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-color: var(--line);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.38);
}

.brand {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.brand__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  position: relative;
  font-size: 0.92rem;
  color: var(--text-dim);
  transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__links a:hover,
.nav__links a.active {
  color: var(--text);
}
.nav__links a:hover::after,
.nav__links a.active::after {
  transform: scaleX(1);
}

/* Hamburger */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.4rem;
}

/* -----------------------------------------------------------------------------
   5. Mobile drawer
   -------------------------------------------------------------------------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s var(--ease),
    visibility 0.3s var(--ease);
}
.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 1100;
  width: min(78vw, 300px);
  background: var(--bg-elev);
  border-left: 1px solid var(--line);
  padding: 5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}
.drawer.open {
  transform: translateX(0);
}
.drawer a {
  padding: 0.85rem 0.5rem;
  color: var(--text-dim);
  border-bottom: 1px solid var(--line);
  transition:
    color 0.2s var(--ease),
    padding-left 0.2s var(--ease);
}
.drawer a:hover {
  color: var(--text);
  padding-left: 0.75rem;
}
.drawer__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.4rem;
}

/* -----------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 64px;
}

.hero__inner {
  max-width: 56rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.8rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.04em;
  margin-top: 1.5rem;
  text-wrap: balance;
}

.hero__lead {
  margin-top: 1.75rem;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: var(--text-dim);
  max-width: 48ch;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

@keyframes cue {
  0% {
    transform: translateY(-100%);
  }
  55% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100%);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.2s var(--ease),
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    box-shadow 0.3s var(--ease);
}
.btn svg {
  width: 1em;
  height: 1em;
  transition: transform 0.2s var(--ease);
}

.btn--primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: var(--accent-ink);
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 70%
  );
  transform: translateX(-130%);
  transition: transform 0.6s var(--ease);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 32px var(--accent-glow);
}
.btn--primary:hover::before {
  transform: translateX(130%);
}
.btn--primary:hover svg {
  transform: translateX(3px);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* Stats */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  margin-top: 3.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}
.stat__num {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat__num span {
  color: var(--accent);
}
.stat__label {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-top: 0.2rem;
}

/* -----------------------------------------------------------------------------
   7. Selected work
   -------------------------------------------------------------------------- */
.work-list {
  border-top: 1px solid var(--line);
}

.work-item {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: clamp(1rem, 4vw, 3rem);
  padding-block: clamp(2rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--line);
}

.work-item__index {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-faint);
  padding-top: 0.4rem;
  font-variant-numeric: tabular-nums;
}

.work-item__title {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.work-item__tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(34, 197, 94, 0.25);
  background: var(--accent-soft);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
}

.work-item__points {
  list-style: none;
  margin-top: 1.1rem;
  display: grid;
  gap: 0.6rem;
}
.work-item__points li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-dim);
  font-size: 0.98rem;
}
.work-item__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}
.work-item__points strong {
  color: var(--text);
  font-weight: 600;
}

.work-item__stack {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  transition:
    border-color 0.25s var(--ease),
    color 0.25s var(--ease),
    background 0.25s var(--ease);
}
.chip:hover {
  border-color: rgba(34, 197, 94, 0.4);
  background: var(--accent-soft);
  color: var(--accent-bright);
}

/* -----------------------------------------------------------------------------
   8. Experience
   -------------------------------------------------------------------------- */
.exp-list {
  position: relative;
  border-top: 1px solid var(--line);
}

.exp-item {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: clamp(1rem, 4vw, 3rem);
  padding-block: clamp(2rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--line);
}

.exp-item__period {
  font-family: var(--font-mono);
  color: var(--text-faint);
  font-size: 0.82rem;
  padding-top: 0.35rem;
  font-variant-numeric: tabular-nums;
}
.exp-item__logo {
  height: 22px;
  width: auto;
  margin-bottom: 0.85rem;
  filter: brightness(0) invert(1);
  opacity: 0.6;
}
.exp-item__role {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.badge-current {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 999px;
  padding: 0.12rem 0.6rem 0.12rem 1.2rem;
}
.badge-current::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.exp-item__points {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
}
.exp-item__points li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-dim);
  font-size: 0.96rem;
}
.exp-item__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 1px;
  background: var(--text-faint);
}

/* -----------------------------------------------------------------------------
   9. Education
   -------------------------------------------------------------------------- */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.edu-card {
  position: relative;
  background: var(--bg);
  padding: clamp(1.5rem, 3vw, 2rem);
}

.edu-card__top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}
.edu-card__badge {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.edu-card__inst {
  font-size: 0.82rem;
  color: var(--text-faint);
}
.edu-card__degree {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.3;
}
.edu-card__detail {
  margin-top: 0.75rem;
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* -----------------------------------------------------------------------------
   10. Contact
   -------------------------------------------------------------------------- */
.contact {
  position: relative;
  text-align: center;
}
.contact::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(680px, 85vw);
  height: 340px;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    var(--accent-soft),
    transparent 70%
  );
  filter: blur(24px);
}
.contact__title {
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}
.contact__lead {
  color: var(--text-dim);
  max-width: 42ch;
  margin: 1.25rem auto 2.5rem;
}
.contact__email {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.98rem;
  color: var(--text-dim);
  margin-top: 2rem;
  transition: color 0.2s var(--ease);
}
.contact__email::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.contact__email:hover {
  color: var(--text);
}
.contact__email:hover::after {
  transform: scaleX(1);
}

/* -----------------------------------------------------------------------------
   11. Blog index
   -------------------------------------------------------------------------- */
.blog-hero {
  min-height: 58vh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(64px + clamp(4rem, 10vw, 7rem));
  padding-bottom: clamp(3rem, 7vw, 5rem);
}
.blog-hero h1 {
  max-width: 13ch;
  margin-top: 1.4rem;
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.blog-hero__lead {
  max-width: 48ch;
  margin-top: 1.5rem;
  color: var(--text-dim);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  font-weight: 300;
}

.blog-index {
  padding-top: clamp(2.5rem, 7vw, 4.5rem);
}
.blog-controls {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.blog-search {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}
.blog-search:focus-within {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.08);
}
.blog-search__icon {
  display: grid;
  place-items: center;
  color: var(--text-faint);
}
.blog-search__icon svg {
  width: 18px;
  height: 18px;
}
.blog-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.94rem;
}
.blog-search input::placeholder {
  color: var(--text-faint);
}
.blog-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  min-width: 0;
  overflow-x: auto;
  padding: 0.15rem 0.15rem 0.25rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 calc(100% - 1.75rem),
    transparent
  );
  mask-image: linear-gradient(90deg, #000 calc(100% - 1.75rem), transparent);
}
.blog-filters::-webkit-scrollbar {
  height: 0;
}
.blog-filter {
  flex: 0 0 auto;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  line-height: 1;
  scroll-snap-align: start;
  cursor: pointer;
  transition:
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    background 0.2s var(--ease);
}
.blog-filter:hover,
.blog-filter.active {
  border-color: rgba(34, 197, 94, 0.34);
  background: var(--accent-soft);
  color: var(--accent-bright);
}

.blog-list {
  border-top: 1px solid var(--line);
}
.blog-card {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: clamp(1rem, 4vw, 2.5rem);
  padding-block: clamp(1.75rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}
.blog-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.blog-card__index {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-faint);
  padding-top: 0.25rem;
  font-variant-numeric: tabular-nums;
}
.blog-card__body {
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}
.blog-card__meta span:not(:last-child)::after {
  content: "/";
  margin-left: 0.8rem;
  color: var(--line-strong);
}
.blog-card__title {
  max-width: 22ch;
  margin-top: 0.75rem;
  font-size: clamp(1.35rem, 3.2vw, 2.25rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.blog-card__excerpt {
  max-width: 68ch;
  margin-top: 0.9rem;
  color: var(--text-dim);
  font-size: 0.98rem;
}
.blog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}
.blog-card__tags span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
}
.blog-card__read {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.blog-empty {
  color: var(--text-dim);
  padding-block: 2rem;
}

/* -----------------------------------------------------------------------------
   12. Blog post
   -------------------------------------------------------------------------- */
.post {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
  padding: calc(64px + clamp(4rem, 10vw, 7rem)) var(--gutter)
    clamp(4rem, 9vw, 7rem);
}
.post-hero {
  padding-bottom: clamp(2.25rem, 6vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.post-back {
  display: inline-flex;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  transition: color 0.2s var(--ease);
}
.post-back:hover {
  color: var(--accent);
}
.post-title {
  margin-top: 1.15rem;
  font-size: clamp(2.25rem, 6vw, 4.4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.post-excerpt {
  max-width: 60ch;
  margin-top: 1.4rem;
  color: var(--text-dim);
  font-size: clamp(1rem, 2vw, 1.14rem);
  font-weight: 300;
}
.post-body {
  padding-top: clamp(2rem, 5vw, 3.5rem);
}

.prose {
  color: var(--text);
  font-size: clamp(1rem, 1.7vw, 1.08rem);
  line-height: 1.85;
}
.prose > * + * {
  margin-top: 1.15rem;
}
.prose h2,
.prose h3 {
  color: var(--text);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.prose h2 {
  margin-top: 2.6rem;
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
}
.prose h3 {
  margin-top: 2rem;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
}
.prose p {
  margin-top: 1.05rem;
}
.prose strong {
  color: var(--text);
  font-weight: 600;
}
.prose em {
  color: var(--text);
}
.prose a {
  color: var(--accent-bright);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
.prose ul,
.prose ol {
  padding-left: 1.3rem;
}
.prose li {
  padding-left: 0.25rem;
  margin-top: 0.45rem;
}
.prose li::marker {
  color: var(--accent);
}
.prose blockquote {
  margin-block: 1.5rem;
  padding: 0.2rem 0 0.2rem 1.1rem;
  border-left: 2px solid var(--accent);
  color: var(--text);
  font-style: italic;
}
.prose hr {
  height: 1px;
  border: 0;
  margin-block: 2.5rem;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.prose code {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.12rem 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.9em;
}
.prose pre {
  overflow-x: auto;
  margin-block: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-elev);
}
.prose pre code {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}
.prose figure {
  margin-block: 2rem;
}
.prose img {
  width: auto;
  max-height: 620px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.prose figcaption,
.prose .caption {
  margin-top: 0.65rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-align: center;
}

@media (max-width: 820px) {
  .blog-hero {
    min-height: auto;
    padding-top: calc(64px + 4rem);
  }
  .blog-controls {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .blog-filters {
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent,
      #000 var(--gutter),
      #000 calc(100% - var(--gutter)),
      transparent
    );
    mask-image: linear-gradient(
      90deg,
      transparent,
      #000 var(--gutter),
      #000 calc(100% - var(--gutter)),
      transparent
    );
  }
  .blog-card {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .blog-card__index {
    padding-top: 0;
  }
  .post {
    padding-top: calc(64px + 3.5rem);
  }
}

/* -----------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 2.5rem;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer__copy {
  color: var(--text-faint);
  font-size: 0.88rem;
}
.footer__links {
  display: flex;
  gap: 1.5rem;
}
.footer__links a {
  position: relative;
  color: var(--text-dim);
  font-size: 0.88rem;
  transition: color 0.2s var(--ease);
}
.footer__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.footer__links a:hover {
  color: var(--text);
}
.footer__links a:hover::after {
  transform: scaleX(1);
}

/* -----------------------------------------------------------------------------
   14. Chat widget
   -------------------------------------------------------------------------- */
.chat {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.chat__button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 35% 25%, rgba(74, 222, 128, 0.22), transparent 48%),
    var(--bg-elev);
  color: var(--accent);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.2s var(--ease),
    border-color 0.2s var(--ease),
    box-shadow 0.3s var(--ease);
}
.chat__button:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(34, 197, 94, 0.2);
}
.chat__button svg {
  width: 24px;
  height: 24px;
}

.chat__window {
  width: min(90vw, 380px);
  height: min(72vh, 520px);
  background:
    linear-gradient(180deg, rgba(22, 28, 24, 0.96), rgba(10, 12, 11, 0.97)),
    var(--bg-elev);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  overflow: hidden;
  display: none;
  flex-direction: column;
  margin-bottom: 0.85rem;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(34, 197, 94, 0.04) inset;
}
.chat__window.open {
  display: flex;
}

.chat__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.chat__avatar {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-bright);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
}
.chat__heading {
  min-width: 0;
  display: grid;
  gap: 0.08rem;
}
.chat__title {
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
}
.chat__subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  white-space: nowrap;
}
.chat__status {
  position: relative;
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
}
.chat__status::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: ping 2.2s var(--ease) infinite;
}
@keyframes ping {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}
.chat__close {
  margin-left: auto;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text-dim);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0.2rem;
  transition: color 0.2s var(--ease);
}
.chat__close:hover {
  color: var(--text);
}

.chat__messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
  background:
    radial-gradient(circle at 18% 0%, rgba(34, 197, 94, 0.07), transparent 30%),
    transparent;
}
.chat__messages::-webkit-scrollbar {
  width: 6px;
}
.chat__messages::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 999px;
}

.msg {
  font-size: 0.9rem;
  line-height: 1.55;
  padding: 0.68rem 0.85rem;
  border-radius: 16px;
  max-width: 88%;
  white-space: pre-wrap;
  word-wrap: break-word;
  opacity: 0;
  transform: translateY(6px);
  animation: msgIn 0.3s var(--ease) forwards;
}
.msg--bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
  color: var(--text);
}
.msg--user {
  align-self: flex-end;
  background: var(--accent);
  color: var(--accent-ink);
  border-bottom-right-radius: 5px;
  font-weight: 500;
}
.msg__time {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-faint);
  padding: 0 0.3rem;
}
.msg__time--user {
  align-self: flex-end;
}
.msg--streaming::after {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 1em;
  margin-left: 0.12em;
  border-right: 1px solid var(--accent);
  transform: translateY(0.18em);
  animation: caretBlink 0.8s step-end infinite;
}

@keyframes msgIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes caretBlink {
  50% {
    opacity: 0;
  }
}

.typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 16px;
  border-bottom-left-radius: 5px;
}
.typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  animation: typing 1.4s infinite;
}
.typing span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes typing {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

.chat__input {
  display: flex;
  gap: 0.5rem;
  padding: 0.8rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.chat__input input {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.62rem 0.78rem;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.88rem;
  outline: none;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.chat__input input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}
.chat__input input::placeholder {
  color: var(--text-faint);
}
.chat__send {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: none;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    background 0.2s var(--ease),
    opacity 0.2s var(--ease);
}
.chat__send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.chat__send:not(:disabled):hover {
  background: #2cd268;
}
.chat__send svg {
  width: 18px;
  height: 18px;
}

/* -----------------------------------------------------------------------------
   15. Scroll reveal — rise, sharpen, settle
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease),
    filter 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* -----------------------------------------------------------------------------
   16. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 820px) {
  .nav__links {
    display: none;
  }
  .nav__toggle {
    display: inline-flex;
  }
  .work-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .work-item__index {
    padding-top: 0;
  }
  .exp-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* -----------------------------------------------------------------------------
   17. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  body::after {
    animation: none;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .accent {
    animation: none;
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--accent);
  }
}

/* -----------------------------------------------------------------------------
   18. Welcome — minimal screen you scroll into the site from
   -------------------------------------------------------------------------- */
.welcome {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.welcome__stage {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
  transform-origin: center 44%;
  will-change: transform, opacity, filter;
}
.welcome__globe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.9;
}
.welcome__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-inline: var(--gutter);
}
/* Soft vignette so the wordmark stays legible over the network */
/* .welcome__inner::before {
  content: "";
  position: absolute;
  inset: -65% -25%;
  z-index: -1;
  background: radial-gradient(
    ellipse 46% 50% at 50% 50%,
    rgba(10, 12, 11, 0.45) 12%,
    rgba(10, 12, 11, 0.3) 46%,
    transparent 74%
  );
} */
.welcome__kicker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-dim);
  animation: welcomeIn 1s var(--ease) 0.05s both;
}
.welcome__word {
  font-size: clamp(4.5rem, 24vw, 17rem);
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: -0.06em;
  /* Breathing room so background-clip:text doesn't shave the final glyph */
  padding: 0.08em 0.12em;
  margin: 0.42rem 0 0.37rem;
  color: var(--text);
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    var(--text) 45%,
    #6b726b 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: welcomeIn 1.1s var(--ease) 0.15s both;
}
.welcome__sub {
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 1.5vw, 0.92rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  animation: welcomeIn 1s var(--ease) 0.3s both;
}
.welcome__cue {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
  animation: welcomeIn 1s var(--ease) 0.9s both;
}
.welcome__cue-line {
  width: 1px;
  height: 46px;
  overflow: hidden;
}
.welcome__cue-line span {
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes welcomeIn {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(8px);
  }
}

/* -----------------------------------------------------------------------------
   19. Work media — framed project previews with scroll parallax
   -------------------------------------------------------------------------- */
.work-item__body {
  display: grid;
  gap: 1.75rem;
}
.work-item__media {
  margin: 0;
}
.work-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-elev);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.work-frame__bar {
  position: relative;
  z-index: 2;
  height: 32px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
}
.work-frame__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}
.work-frame__url {
  margin-left: 0.55rem;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: var(--text-faint);
}
.work-frame__screen {
  position: absolute;
  left: 0;
  right: 0;
  top: -55px;
  bottom: -55px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transform: translate3d(0, var(--py, 0px), 0);
  background:
    radial-gradient(
      120% 90% at 72% 8%,
      rgba(34, 197, 94, 0.16),
      transparent 55%
    ),
    linear-gradient(160deg, var(--bg-elev), var(--bg));
}
.work-frame__screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.4;
  -webkit-mask-image: radial-gradient(
    ellipse 75% 70% at 50% 45%,
    #000,
    transparent 78%
  );
  mask-image: radial-gradient(
    ellipse 75% 70% at 50% 45%,
    #000,
    transparent 78%
  );
}
.work-frame__glyph {
  position: relative;
  width: 38%;
  max-width: 128px;
  color: var(--accent);
  opacity: 0.85;
  filter: drop-shadow(0 0 18px rgba(34, 197, 94, 0.28));
}
.work-frame__caption {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
/* Real screenshot drop-in: <img class="work-frame work-frame--img" ...> */
.work-frame--img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  height: auto;
}

@media (min-width: 821px) {
  .work-item__body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
    column-gap: clamp(2rem, 4vw, 3rem);
    align-items: center;
  }
}

/* -----------------------------------------------------------------------------
   18. Interlude — a rotating wireframe object between sections
   -------------------------------------------------------------------------- */
.interlude {
  position: relative;
  min-height: 64vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}
.interlude__object {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(420px, 78vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: block;
  pointer-events: none;
  opacity: 0.85;
}
.interlude__inner {
  position: relative;
  z-index: 1;
}
.interlude__line {
  font-size: clamp(1.4rem, 3.4vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 18ch;
  margin: 1.1rem auto 0;
  text-wrap: balance;
}

/* -----------------------------------------------------------------------------
   19. Welcome / parallax — reduced-motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .welcome__stage {
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
  .work-frame__screen {
    transform: none !important;
  }
}
