:root {
  color-scheme: dark;
  --bg: #050607;
  --bg-elevated: #0a0d10;
  --panel: #101419;
  --panel-strong: #151b22;
  --line: rgba(244, 248, 241, 0.12);
  --line-strong: rgba(244, 248, 241, 0.22);
  --text: #f4f8f1;
  --muted: #a4ada5;
  --muted-strong: #c9d0c8;
  --green: #65e4a3;
  --violet: #a98bff;
  --amber: #f3c978;
  --ink: #06120d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --header-height: 72px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    #050607;
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 74%);
}

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

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

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

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

.skip-link:focus {
  z-index: 20;
  width: auto;
  height: auto;
  clip: auto;
  top: 16px;
  left: 16px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(5, 6, 7, 0.8);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.nav-links,
.hero-actions,
.profile-stack,
.project-meta,
.project-points,
.map-row,
.site-footer,
.signal,
.contact-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 680;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 22px rgba(101, 228, 163, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
}

.nav-links {
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.nav-links a {
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.075);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 16px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: calc(var(--header-height) + 80px) 20px 96px;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.68;
  transform: scale(1.015);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.98) 0%, rgba(5, 6, 7, 0.78) 42%, rgba(5, 6, 7, 0.24) 100%),
    linear-gradient(0deg, rgba(5, 6, 7, 0.98) 0%, rgba(5, 6, 7, 0.16) 46%, rgba(5, 6, 7, 0.68) 100%);
}

.hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: end;
}

.hero-content {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 760;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: 4.7rem;
  line-height: 0.98;
  font-weight: 780;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--muted-strong);
  font-size: 1.16rem;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 17px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  font-weight: 680;
  line-height: 1.2;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ink);
  border-color: rgba(101, 228, 163, 0.8);
  background: var(--green);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.profile-panel {
  position: relative;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 15, 19, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.profile-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(101, 228, 163, 0.34), transparent 42%, rgba(169, 139, 255, 0.26));
}

.profile-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

.profile-copy {
  padding: 18px 2px 12px;
}

.profile-name {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 760;
}

.profile-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.profile-stack {
  gap: 8px;
  flex-wrap: wrap;
}

.profile-stack span,
.project-meta span,
.project-points li,
.contact-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.04);
  line-height: 1.2;
}

.profile-stack span {
  padding: 7px 9px;
  font-size: 0.8rem;
}

.signal-band {
  width: min(1180px, calc(100% - 40px));
  margin: -32px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 12, 15, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.signal {
  min-height: 112px;
  gap: 16px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

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

.signal-value,
.item-index,
.project-kicker,
.timeline-step span,
.identity-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.signal-value {
  color: var(--amber);
  font-size: 0.86rem;
}

.signal-label {
  color: var(--muted-strong);
  line-height: 1.45;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 132px 0 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-heading h2,
.contact-content h2 {
  margin-bottom: 0;
  font-size: 3rem;
  line-height: 1.05;
  font-weight: 750;
  letter-spacing: 0;
}

.about-grid,
.systems-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
}

.about-copy,
.identity-panel,
.systems-copy,
.system-map,
.skill-card,
.timeline-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

.about-copy,
.identity-panel,
.systems-copy {
  padding: 30px;
}

.about-copy p,
.identity-panel p,
.systems-copy p,
.project-content p,
.timeline-step p,
.contact-content p {
  color: var(--muted);
}

.about-copy p {
  max-width: 760px;
  font-size: 1.04rem;
}

.about-copy p:last-child,
.identity-panel p,
.systems-copy p,
.project-content p,
.timeline-step p,
.contact-content p {
  margin-bottom: 0;
}

.identity-label {
  margin-bottom: 52px;
  color: var(--violet);
  font-size: 0.82rem;
}

.identity-panel h3 {
  margin-bottom: 12px;
  font-size: 1.38rem;
  line-height: 1.18;
}

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

.project-card {
  position: relative;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
  transform-style: preserve-3d;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(101, 228, 163, 0.36);
  background: var(--panel-strong);
}

.project-visual {
  position: relative;
  min-height: 278px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #090b0e;
  background-size: 34px 34px;
}

.project-shot {
  display: block;
  min-height: 0;
  aspect-ratio: 16 / 9;
  background: #090b0e;
}

.project-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.94) contrast(1.05) brightness(0.82);
  transition:
    filter 220ms ease,
    transform 260ms ease;
}

.project-card:hover .project-shot img {
  filter: saturate(1.02) contrast(1.08) brightness(0.92);
  transform: scale(1.025);
}

.project-visual::before,
.project-visual::after {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.project-visual::after {
  inset: 58px 44px;
  border-color: rgba(101, 228, 163, 0.22);
}

.project-shot::before,
.project-shot::after {
  pointer-events: none;
}

.project-shot::before {
  inset: 0;
  border: 0;
  border-radius: 0;
  background: linear-gradient(to bottom, transparent 58%, rgba(5, 6, 7, 0.58));
}

.project-shot::after {
  inset: 18px;
  border-color: rgba(244, 248, 241, 0.14);
}

.project-visual span {
  position: absolute;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 20px rgba(101, 228, 163, 0.42);
  animation: tracePulse 2.8s ease-in-out infinite;
}

.name-placeholder {
  min-height: 278px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  isolation: isolate;
}

.name-placeholder::before {
  inset: 42px;
  border-color: rgba(101, 228, 163, 0.18);
  transform: rotate(-4deg);
}

.name-placeholder::after {
  inset: 68px 92px;
  border-color: rgba(169, 139, 255, 0.22);
  transform: rotate(6deg);
}

.name-placeholder span {
  position: relative;
  z-index: 1;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: none;
}

.placeholder-name {
  color: var(--text);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}

.placeholder-caption {
  color: var(--muted-strong);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.zina-placeholder {
  background:
    radial-gradient(circle at 28% 28%, rgba(101, 228, 163, 0.18), transparent 34%),
    radial-gradient(circle at 74% 68%, rgba(243, 201, 120, 0.12), transparent 28%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #090b0e;
  background-size: auto, auto, 34px 34px, 34px 34px, auto;
}

.zinax-placeholder {
  background:
    radial-gradient(circle at 28% 28%, rgba(169, 139, 255, 0.2), transparent 34%),
    radial-gradient(circle at 76% 66%, rgba(101, 228, 163, 0.14), transparent 30%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #090b0e;
  background-size: auto, auto, 34px 34px, 34px 34px, auto;
}

.project-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.project-kicker {
  margin-bottom: 12px;
  color: var(--amber);
  font-size: 0.78rem;
}

.project-card h3,
.skill-card h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.2;
  font-weight: 740;
}

.project-content p {
  margin-bottom: 20px;
}

.architecture-line {
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted-strong) !important;
  background: rgba(255, 255, 255, 0.035);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
}

.project-impact,
.project-status {
  padding-left: 12px;
  border-left: 2px solid rgba(101, 228, 163, 0.42);
  font-size: 0.9rem;
}

.project-status {
  color: var(--muted-strong) !important;
  font-weight: 700;
}

.project-meta,
.project-points {
  gap: 8px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.project-meta {
  margin-bottom: 16px;
}

.project-meta span,
.project-points li {
  padding: 6px 9px;
  font-size: 0.82rem;
}

.project-points {
  margin-top: auto;
}

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

.skill-card {
  min-height: 322px;
  padding: 26px;
}

.item-index {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--violet);
  font-size: 0.82rem;
}

.skill-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.skill-card li {
  color: var(--muted);
}

.skill-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--green);
  vertical-align: 2px;
}

.system-map {
  position: relative;
  min-height: 420px;
  display: grid;
  align-content: space-between;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    var(--bg-elevated);
  background-size: 42px 42px;
}

.system-map::before,
.system-map::after {
  content: "";
  position: absolute;
  inset: 52px 80px;
  border: 1px solid rgba(101, 228, 163, 0.2);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.system-map::after {
  inset: 84px 128px;
  border-color: rgba(169, 139, 255, 0.22);
  transform: rotate(10deg);
}

.map-row {
  position: relative;
  z-index: 1;
  justify-content: space-between;
  gap: 12px;
}

.map-row span,
.core-label {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.86rem;
}

.map-core {
  position: relative;
  z-index: 1;
  width: 260px;
  height: 180px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 24px rgba(101, 228, 163, 0.58);
}

.node-a {
  top: 12px;
  left: 50%;
}

.node-b {
  right: 18px;
  top: 50%;
  background: var(--amber);
}

.node-c {
  bottom: 12px;
  left: 50%;
  background: var(--violet);
}

.node-d {
  left: 18px;
  top: 50%;
}

.timeline-list {
  position: relative;
  display: grid;
  gap: 12px;
}

.timeline-list::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 24px;
  width: 1px;
  background: linear-gradient(var(--green), rgba(169, 139, 255, 0.35));
}

.timeline-step {
  position: relative;
  min-height: 68px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px 20px;
}

.timeline-step span {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(101, 228, 163, 0.36);
  border-radius: 999px;
  color: var(--green);
  background: var(--bg);
  font-size: 0.78rem;
}

.contact-section {
  width: min(1180px, calc(100% - 40px));
  margin: 132px auto 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(101, 228, 163, 0.12), transparent 34%),
    linear-gradient(315deg, rgba(169, 139, 255, 0.12), transparent 38%),
    var(--panel);
  box-shadow: var(--shadow);
}

.contact-content {
  max-width: 760px;
}

.contact-content h2 {
  margin-bottom: 18px;
}

.contact-links {
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.contact-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  font-weight: 680;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--text);
  border-color: rgba(101, 228, 163, 0.42);
  background: rgba(101, 228, 163, 0.08);
  transform: translateY(-2px);
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  min-height: 92px;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-copy {
  display: grid;
  gap: 4px;
}

.footer-copy span:first-child {
  color: var(--text);
  font-weight: 720;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.04);
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.footer-icon:hover,
.footer-icon:focus-visible {
  color: var(--green);
  border-color: rgba(101, 228, 163, 0.42);
  background: rgba(101, 228, 163, 0.08);
  transform: translateY(-2px);
}

.footer-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

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

@keyframes heroDrift {
  from {
    transform: scale(1.015) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.055) translate3d(1.5%, -1%, 0);
  }
}

@keyframes tracePulse {
  0%,
  100% {
    opacity: 0.44;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
  }

  h1 {
    font-size: 3.9rem;
  }

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

@media (max-width: 920px) {
  .hero {
    min-height: auto;
  }

  .hero-inner,
  .signal-band,
  .about-grid,
  .project-grid,
  .systems-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .profile-panel {
    max-width: 380px;
  }

  .signal {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .project-card {
    min-height: auto;
  }

  .contact-section {
    align-items: start;
  }

  .contact-links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 64px;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav {
    width: min(100% - 28px, 1180px);
  }

  .brand span:last-child {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 4px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(9, 11, 14, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a {
    min-height: 42px;
    border-radius: 7px;
  }

  .hero {
    padding: calc(var(--header-height) + 58px) 16px 70px;
  }

  .hero-media {
    object-position: 62% center;
    opacity: 0.48;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 6, 7, 0.98), rgba(5, 6, 7, 0.64)),
      linear-gradient(0deg, rgba(5, 6, 7, 0.98), rgba(5, 6, 7, 0.16) 58%, rgba(5, 6, 7, 0.74));
  }

  h1 {
    font-size: 2.85rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .profile-panel {
    max-width: none;
  }

  .signal-band,
  .section,
  .contact-section,
  .site-footer {
    width: calc(100% - 28px);
  }

  .section {
    padding-top: 92px;
  }

  .section-heading h2,
  .contact-content h2 {
    font-size: 2rem;
  }

  .about-copy,
  .identity-panel,
  .systems-copy,
  .system-map,
  .skill-card,
  .contact-section {
    padding: 22px;
  }

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

  .skill-card {
    min-height: auto;
  }

  .item-index,
  .identity-label {
    margin-bottom: 38px;
  }

  .system-map {
    min-height: 360px;
  }

  .map-core {
    width: 220px;
  }

  .timeline-step {
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 14px;
  }

  .timeline-list::before {
    left: 29px;
  }

  .site-footer {
    min-height: 112px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 2.34rem;
  }

  .section-heading h2,
  .contact-content h2 {
    font-size: 1.72rem;
  }

  .project-meta span,
  .project-points li,
  .map-row span,
  .core-label,
  .contact-link {
    font-size: 0.78rem;
  }

  .map-row {
    gap: 8px;
  }
}

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

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