:root {
  color-scheme: dark;
  --ink: #f6f3ea;
  --muted: #b7b09f;
  --soft: rgba(246, 243, 234, 0.72);
  --paper: #070806;
  --paper-2: #0c0d09;
  --panel: #11130e;
  --panel-2: #181a14;
  --line: rgba(246, 243, 234, 0.15);
  --line-strong: rgba(246, 243, 234, 0.25);
  --lime: #c9ff4a;
  --amber: #ffb347;
  --cyan: #54d8ff;
  --rose: #ff6f61;
  --hero-progress: 0;
  --hero-fade: 1;
  --hero-lift: 0px;
  --hero-scale: 1;
  --halo-x: 0px;
  --halo-y: 0px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 14%, rgba(201, 255, 74, 0.12), transparent 24rem),
    radial-gradient(circle at 78% 26%, rgba(84, 216, 255, 0.1), transparent 27rem),
    linear-gradient(180deg, #070806 0%, #0a0b08 46%, #070806 100%);
  overflow-x: hidden;
}

::selection {
  color: #050604;
  background: var(--lime);
}

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

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

p,
h1,
h2,
h3,
h4 {
  overflow-wrap: anywhere;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  transform: translateY(-160%);
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #050604;
  background: var(--lime);
  font-weight: 900;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  color: rgba(246, 243, 234, 0.88);
  mix-blend-mode: difference;
}

.brand,
.nav-links a,
.header-actions a {
  min-height: 2.35rem;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand {
  gap: 0.55rem;
  justify-self: start;
}

.brand__dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 1.2rem rgba(201, 255, 74, 0.65);
}

.nav-links,
.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.8vw, 1.45rem);
}

.nav-links {
  justify-self: center;
}

.header-actions {
  justify-self: end;
}

.nav-links a,
.header-actions a {
  position: relative;
  padding: 0.2rem 0;
}

.nav-links a::after,
.header-actions a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.header-actions a:hover::after,
.nav-links a:focus-visible::after,
.header-actions a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(201, 255, 74, 0.08), transparent 24rem),
    #070806;
}

.noise-layer {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.19;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 4px 4px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
}

.grid-layer {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(246, 243, 234, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 243, 234, 0.07) 1px, transparent 1px);
  background-size: 6rem 6rem;
  transform: translateY(calc(var(--hero-progress) * -54px));
}

.word-field {
  position: absolute;
  inset: 8vh -14vw auto -14vw;
  z-index: 0;
  display: grid;
  gap: clamp(1.25rem, 4vh, 3rem);
  opacity: 0.36;
  transform: translateY(calc(var(--hero-progress) * -92px));
  pointer-events: none;
}

.word-track {
  display: flex;
  width: max-content;
  gap: clamp(1.1rem, 3vw, 3rem);
  animation: drift var(--duration) linear infinite;
  animation-direction: var(--direction);
}

.word-track span {
  color: rgba(246, 243, 234, 0.17);
  font-size: clamp(0.72rem, 1.3vw, 1.15rem);
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.word-track:nth-child(2n) span:nth-child(3n + 1) {
  color: rgba(201, 255, 74, 0.24);
}

.word-track:nth-child(3n) span:nth-child(2n) {
  color: rgba(84, 216, 255, 0.2);
}

@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-28%);
  }
}

.hero__inner {
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(5.25rem, 9vw, 7.5rem) clamp(1rem, 4vw, 3rem) 2rem;
  opacity: max(0.08, var(--hero-fade));
  transform: translateY(var(--hero-lift)) scale(var(--hero-scale));
  transform-origin: center top;
}

.hero__eyebrow {
  position: absolute;
  z-index: 4;
  top: clamp(4.8rem, 11vh, 6.7rem);
  left: 50%;
  width: min(92vw, 56rem);
  transform: translateX(-50%);
  margin: 0;
  color: var(--lime);
  font-size: clamp(0.66rem, 1vw, 0.9rem);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.hero-name {
  position: absolute;
  z-index: 1;
  top: 51.5%;
  left: 50%;
  width: min(96vw, 88rem);
  display: grid;
  gap: clamp(0.2rem, 1.2vw, 0.8rem);
  text-align: center;
  transform: translate(-50%, -50%);
  user-select: none;
  animation: nameReveal 820ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-name__line {
  display: block;
  color: var(--ink);
  font-size: clamp(4.35rem, 15.6vw, 14.4rem);
  font-weight: 900;
  line-height: 0.76;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 0.075em 0 rgba(201, 255, 74, 0.12),
    0 0 4rem rgba(246, 243, 234, 0.08);
}

.hero-name__line--bottom {
  color: transparent;
  -webkit-text-stroke: clamp(1px, 0.14vw, 2px) rgba(246, 243, 234, 0.82);
  text-stroke: clamp(1px, 0.14vw, 2px) rgba(246, 243, 234, 0.82);
}

@keyframes nameReveal {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translate(-50%, -47%) scale(1.035);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translate(-50%, -50%) scale(1);
  }
}

.character {
  position: relative;
  z-index: 2;
  width: min(44vw, 30rem);
  min-width: 17rem;
  max-width: 32rem;
  aspect-ratio: 0.78;
  display: grid;
  place-items: end center;
  animation: idleFloat 4.8s ease-in-out infinite;
  filter: drop-shadow(0 2.4rem 3rem rgba(0, 0, 0, 0.52));
}

.character__halo {
  position: absolute;
  inset: 12% 5% 12%;
  z-index: -1;
  transform: translate(var(--halo-x), var(--halo-y));
  border-radius: 50%;
  background:
    radial-gradient(circle at 52% 36%, rgba(255, 179, 71, 0.24), transparent 38%),
    radial-gradient(circle, rgba(201, 255, 74, 0.18), transparent 62%);
  filter: blur(1.65rem);
  transition: transform 160ms ease-out;
}

.character__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.character__image--fallback {
  opacity: 0.92;
}

.character__shadow {
  position: absolute;
  z-index: -2;
  bottom: 2%;
  width: 62%;
  height: 9%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.52);
  filter: blur(1rem);
  animation: shadowPulse 4.8s ease-in-out infinite;
}

@keyframes idleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.78rem);
  }
}

@keyframes shadowPulse {
  0%,
  100% {
    transform: scaleX(1);
    opacity: 0.62;
  }
  50% {
    transform: scaleX(0.86);
    opacity: 0.38;
  }
}

.hero__side {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  gap: 0.65rem;
  color: rgba(246, 243, 234, 0.62);
  font-size: clamp(0.66rem, 1vw, 0.86rem);
  font-weight: 900;
  text-transform: uppercase;
}

.hero__side--left {
  left: clamp(1rem, 5vw, 4rem);
  transform: translateY(-50%);
}

.hero__side--right {
  right: clamp(1rem, 5vw, 4rem);
  text-align: right;
  transform: translateY(-50%);
}

.hero__side span {
  padding: 0.44rem 0;
  border-top: 1px solid rgba(246, 243, 234, 0.18);
}

.hero__footer {
  position: absolute;
  z-index: 4;
  right: clamp(1rem, 4vw, 3rem);
  bottom: clamp(1.15rem, 4vh, 2rem);
  left: clamp(1rem, 4vw, 3rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(246, 243, 234, 0.68);
  font-size: clamp(0.76rem, 1vw, 0.9rem);
}

.hero__footer p {
  max-width: 28rem;
  margin: 0;
  text-align: right;
}

.scroll-cue {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.scroll-cue__line {
  width: clamp(3rem, 8vw, 6rem);
  height: 1px;
  position: relative;
  overflow: hidden;
  background: rgba(246, 243, 234, 0.22);
}

.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: var(--lime);
  animation: scrollLine 1.7s ease-in-out infinite;
}

@keyframes scrollLine {
  to {
    transform: translateX(100%);
  }
}

.section-band {
  position: relative;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(246, 243, 234, 0.03) 1px, transparent 1px),
    var(--paper-2);
  background-size: 6rem 6rem;
}

.section-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 8.5rem) 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 6vw, 5rem);
  align-items: start;
}

.section-kicker,
.eyebrow {
  margin: 0 0 1rem;
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.35rem, 6.8vw, 6.8rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.intro-copy p,
.section-heading > p,
.about-copy p,
.contact-panel p,
.experience-card p,
.project-card p,
.skill-group p {
  margin: 0;
  color: var(--soft);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.65;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #090a07;
}

.metric {
  min-height: 11rem;
  padding: clamp(1rem, 3vw, 2rem);
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong,
.metric span {
  color: var(--ink);
  font-size: clamp(2.6rem, 7vw, 6.6rem);
  line-height: 0.85;
  font-weight: 900;
}

.metric p {
  max-width: 13rem;
  margin: 1rem 0 0;
  color: rgba(246, 243, 234, 0.65);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.experience-section,
.work-section {
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.1), transparent 32rem),
    linear-gradient(315deg, rgba(84, 216, 255, 0.07), transparent 34rem),
    linear-gradient(90deg, rgba(246, 243, 234, 0.035) 1px, transparent 1px),
    #090a07;
  background-size: auto, auto, 4rem 4rem, auto;
}

.experience-card,
.project-card,
.skill-group,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(246, 243, 234, 0.075), rgba(246, 243, 234, 0.015)),
    rgba(17, 19, 14, 0.92);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.2);
}

.experience-card {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.experience-card__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.experience-card h3 {
  max-width: 56rem;
  margin: 0;
  font-size: clamp(1.5rem, 3.8vw, 3.25rem);
  line-height: 0.98;
  font-weight: 900;
  text-transform: uppercase;
}

.status-pill,
.link-pill {
  min-height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.72rem;
  border: 1px solid rgba(246, 243, 234, 0.18);
  border-radius: 7px;
  color: rgba(246, 243, 234, 0.8);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.link-pill {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.link-pill:hover {
  color: #050604;
  border-color: var(--lime);
  background: var(--lime);
}

.link-pill--disabled {
  color: rgba(246, 243, 234, 0.5);
  background: rgba(246, 243, 234, 0.035);
}

.link-pill--disabled:hover {
  color: rgba(246, 243, 234, 0.5);
  border-color: rgba(246, 243, 234, 0.18);
  background: rgba(246, 243, 234, 0.035);
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.system-panel {
  min-height: 22rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid rgba(246, 243, 234, 0.12);
  border-radius: 8px;
  background: rgba(246, 243, 234, 0.035);
}

.system-panel__index {
  margin: 0 0 2rem;
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.system-panel h4 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 0.9;
  font-weight: 900;
  text-transform: uppercase;
}

.system-panel__subtitle {
  margin: 0.7rem 0 1.2rem;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.marquee-strip {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--lime);
  color: #070806;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 0.72rem 0;
  animation: marquee 25s linear infinite;
}

.marquee-track span {
  font-size: clamp(1.1rem, 2.8vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  perspective: 1200px;
}

.project-card {
  min-height: 29rem;
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1rem, 2vw, 1.5rem);
  transform-style: preserve-3d;
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    background 200ms ease,
    box-shadow 200ms ease;
}

.project-card:hover {
  border-color: rgba(201, 255, 74, 0.5);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.32);
}

.project-card--feature {
  min-height: 32rem;
  grid-column: 1 / -1;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.14), rgba(84, 216, 255, 0.08)),
    var(--panel-2);
}

.project-card--accent {
  background:
    linear-gradient(145deg, rgba(255, 179, 71, 0.15), rgba(84, 216, 255, 0.06)),
    var(--panel-2);
}

.project-card__meta,
.tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: rgba(246, 243, 234, 0.58);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card__body {
  margin: auto 0 1.6rem;
}

.project-card h3 {
  max-width: 15ch;
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.8vw, 5.4rem);
  line-height: 0.9;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card:not(.project-card--feature) h3 {
  font-size: clamp(1.65rem, 3.2vw, 3rem);
}

.project-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.tag-row {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.tag-row span {
  padding: 0.42rem 0.58rem;
  border: 1px solid rgba(246, 243, 234, 0.18);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.1);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.skill-group {
  min-height: 17rem;
  padding: clamp(1rem, 2vw, 1.4rem);
}

.skill-group h3 {
  margin: 0 0 1.5rem;
  color: var(--amber);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 6vw, 5rem);
}

.fact-grid {
  display: grid;
  gap: 0.75rem;
  margin: 2rem 0 0;
}

.fact-grid div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(246, 243, 234, 0.04);
}

.fact-grid dt {
  margin-bottom: 0.4rem;
  color: rgba(246, 243, 234, 0.54);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fact-grid dd {
  margin: 0;
  font-size: clamp(0.98rem, 1.5vw, 1.16rem);
  font-weight: 800;
  line-height: 1.35;
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.12), transparent 42%),
    linear-gradient(315deg, rgba(255, 111, 97, 0.08), transparent 40%),
    #080906;
}

.contact-panel {
  padding: clamp(1.2rem, 4vw, 3rem);
}

.contact-panel h2 {
  max-width: 13ch;
  margin-bottom: 1.2rem;
}

.contact-panel p {
  max-width: 52rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.contact-note {
  margin-top: 1.3rem !important;
  color: rgba(246, 243, 234, 0.48) !important;
  font-size: 0.82rem !important;
}

.button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-0.16rem);
}

.button--primary {
  color: #070806;
  border-color: var(--lime);
  background: var(--lime);
}

.button--ghost {
  color: var(--ink);
  background: rgba(246, 243, 234, 0.035);
}

.button--ghost:hover {
  border-color: rgba(201, 255, 74, 0.5);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  color: rgba(246, 243, 234, 0.58);
  background: #070806;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(1.4rem);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-name__line {
    font-size: clamp(3.65rem, 17vw, 9rem);
  }

  .character {
    width: min(67vw, 29rem);
  }

  .hero__side {
    display: none;
  }

  .intro-grid,
  .section-heading,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .metrics-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric:nth-child(2n) {
    border-right: 0;
  }

  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .system-grid,
  .skills-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .header-actions a:not(:last-child) {
    display: none;
  }

  .brand span:last-child {
    display: none;
  }

  .hero__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero__footer p {
    max-width: 23rem;
    text-align: left;
  }

  .experience-card__header,
  .project-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-card,
  .project-card--feature {
    grid-column: 1 / -1;
    min-height: 25rem;
  }

  .project-card h3,
  .project-card:not(.project-card--feature) h3 {
    font-size: clamp(1.8rem, 10vw, 3.4rem);
  }

  .system-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skill-group {
    min-height: 12rem;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-block: 0.8rem;
  }

  .hero__eyebrow {
    top: 4.8rem;
    font-size: 0.62rem;
  }

  .hero-name {
    top: 50.5%;
    width: 100vw;
  }

  .hero-name__line {
    font-size: clamp(3rem, 19vw, 5.2rem);
    line-height: 0.84;
  }

  .character {
    width: min(82vw, 23rem);
    min-width: 14rem;
  }

  .word-field {
    inset-inline: -52vw;
  }

  .section-shell {
    width: min(100% - 1rem, 1180px);
    padding-block: 4rem;
  }

  h2 {
    font-size: clamp(2.2rem, 12vw, 4rem);
  }

  .metrics-strip {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 8.5rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .metric strong,
  .metric span {
    font-size: clamp(2.6rem, 18vw, 4.6rem);
  }

  .status-pill,
  .link-pill {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero__inner {
    opacity: 1;
    transform: none;
  }

  .hero-name {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
