:root {
  --bg: #08090b;
  --panel: #111317;
  --panel-2: #171a20;
  --text: #f6f1e8;
  --muted: #a7a39a;
  --line: rgba(247, 199, 107, 0.22);
  --gold: #f7c76b;
  --gold-2: #ffdf9d;
  --green: #86efac;
  --red: #fb7185;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(247, 199, 107, 0.13), transparent 28rem),
    radial-gradient(circle at 85% 18%, rgba(116, 188, 255, 0.08), transparent 26rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.cursor-glow {
  position: fixed;
  width: 340px;
  height: 340px;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 199, 107, 0.16), transparent 68%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 180ms ease;
}

.nav-shell,
main,
.footer {
  position: relative;
  z-index: 2;
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  position: sticky;
  top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px;
  border: 1px solid rgba(247, 199, 107, 0.18);
  border-radius: var(--radius);
  background: rgba(12, 13, 16, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a,
.nav-cta {
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  transition: 180ms ease;
}

.nav-links a:hover,
.nav-cta:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  color: #17120a;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  font-weight: 800;
}

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

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: 44px;
  padding-top: 84px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background:
    linear-gradient(rgba(247, 199, 107, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 199, 107, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 62% 43%, black, transparent 62%);
  animation: gridDrift 18s linear infinite;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(134, 239, 172, 0.7);
  animation: pulse 1.8s infinite;
}

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

h1 {
  max-width: 760px;
  margin: 18px 0 22px;
  font-size: clamp(42px, 5.2vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 0;
}

h3 {
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy p {
  max-width: 700px;
  font-size: 18px;
}

.hero-copy,
.hero-visual,
.about-panel > *,
.code-copy,
.code-window,
.contact-copy,
.contact-form {
  min-width: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  color: #17120a;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 14px 32px rgba(247, 199, 107, 0.2);
}

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

.hero-visual {
  min-height: 640px;
  position: relative;
}

.particle-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 14px;
  pointer-events: none;
}

.particle-field span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(247, 199, 107, 0.78);
  box-shadow: 0 0 18px rgba(247, 199, 107, 0.75);
  animation: particleFloat 8s ease-in-out infinite;
}

.particle-field span:nth-child(1) { left: 10%; top: 18%; animation-delay: 0s; }
.particle-field span:nth-child(2) { left: 28%; top: 8%; animation-delay: -1.4s; }
.particle-field span:nth-child(3) { left: 74%; top: 13%; animation-delay: -2.1s; }
.particle-field span:nth-child(4) { left: 88%; top: 36%; animation-delay: -3.2s; }
.particle-field span:nth-child(5) { left: 63%; top: 72%; animation-delay: -4.4s; }
.particle-field span:nth-child(6) { left: 18%; top: 82%; animation-delay: -5s; }
.particle-field span:nth-child(7) { left: 47%; top: 48%; animation-delay: -2.8s; }
.particle-field span:nth-child(8) { left: 35%; top: 66%; animation-delay: -6.1s; }
.particle-field span:nth-child(9) { left: 82%; top: 84%; animation-delay: -1.8s; }
.particle-field span:nth-child(10) { left: 7%; top: 54%; animation-delay: -3.8s; }

.orbital-logo {
  position: absolute;
  inset: 28px 0 auto auto;
  width: 470px;
  height: 470px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(247, 199, 107, 0.19), rgba(247, 199, 107, 0.045) 34%, transparent 68%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 48%);
  perspective: 900px;
}

.orbital-logo img {
  width: 138px;
  filter: drop-shadow(0 0 36px rgba(247, 199, 107, 0.45));
  animation: logo3d 7s ease-in-out infinite;
  transform-style: preserve-3d;
  z-index: 4;
}

.orbit {
  position: absolute;
  inset: 58px;
  border: 1px solid rgba(247, 199, 107, 0.24);
  border-radius: 50%;
  animation: spin 12s linear infinite;
}

.orbit::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  top: 18px;
  left: 38px;
  box-shadow: 0 0 22px var(--gold);
}

.orbit.two {
  inset: 112px;
  transform: rotate(28deg);
  animation-duration: 8s;
  animation-direction: reverse;
}

.orbit.three {
  inset: 18px;
  transform: rotate(-18deg);
  animation-duration: 18s;
  opacity: 0.72;
}

.orbit-chip {
  position: absolute;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--text);
  border: 1px solid rgba(247, 199, 107, 0.28);
  border-radius: 999px;
  background: rgba(17, 19, 23, 0.74);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34), 0 0 26px rgba(247, 199, 107, 0.09);
  font-size: 12px;
  font-weight: 900;
  z-index: 5;
  animation: chipFloat 5.8s ease-in-out infinite;
}

.orbit-chip:hover {
  border-color: rgba(247, 199, 107, 0.78);
  color: var(--gold-2);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 34px rgba(247, 199, 107, 0.22);
}

.chip-ubuntu { left: 48%; top: 0; animation-delay: -0.2s; }
.chip-linux { left: 5%; top: 22%; animation-delay: -1s; }
.chip-hestia { right: 3%; top: 24%; animation-delay: -1.7s; }
.chip-cyber { left: 1%; bottom: 30%; animation-delay: -2.2s; }
.chip-cloudflare { right: 0; bottom: 30%; animation-delay: -2.8s; }
.chip-crowdsec { left: 18%; bottom: 4%; animation-delay: -3.4s; }
.chip-n8n { right: 27%; bottom: 0; animation-delay: -4s; }
.chip-wordpress { left: 36%; top: 17%; animation-delay: -4.6s; }
.chip-ai { right: 34%; top: 44%; animation-delay: -5.2s; }

.terminal-card,
.metric-card,
.project-card,
.stat-tile,
.about-panel,
.code-window,
.timeline-item,
.trust-grid article,
.contact-form {
  border: 1px solid rgba(247, 199, 107, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(14, 16, 20, 0.82);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.terminal-card {
  position: absolute;
  left: 0;
  bottom: 34px;
  width: min(405px, 100%);
  overflow: hidden;
  animation: floatY 4.8s ease-in-out infinite;
}

.terminal-top,
.screen-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.terminal-top span,
.screen-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.terminal-top span:nth-child(2),
.screen-bar span:nth-child(2) {
  background: var(--gold);
}

.terminal-top span:nth-child(3),
.screen-bar span:nth-child(3) {
  background: var(--green);
}

.terminal-top strong {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

pre {
  margin: 0;
  white-space: pre-wrap;
  color: #4ade80;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  text-shadow: 0 0 4px rgba(74, 222, 128, 0.3);
  animation: codeGlow 3s ease-in-out infinite alternate;
}

.terminal-card pre {
  min-height: 168px;
  padding: 18px;
}

.metric-card {
  position: absolute;
  width: 152px;
  padding: 16px;
  animation: floatY 5.8s ease-in-out infinite;
}

.metric-card span,
.metric-card small {
  color: var(--muted);
  display: block;
  font-size: 12px;
}

.metric-card strong {
  display: inline-block;
  margin: 7px 0 2px;
  font-size: 42px;
  color: var(--gold-2);
}

.card-a {
  top: 86px;
  left: 0;
}

.card-b {
  right: 0;
  bottom: 80px;
  animation-delay: 0.35s;
}

.card-c {
  left: 168px;
  top: 320px;
  animation-delay: 0.7s;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin-top: 13px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.stat-tile {
  min-height: 148px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.stat-tile::after {
  content: "";
  position: absolute;
  inset: auto -30px -45px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(247, 199, 107, 0.1);
}

.stat-tile strong {
  color: var(--gold-2);
  font-size: 46px;
}

.stat-tile span {
  color: var(--muted);
  line-height: 1.45;
}

.about-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 38px;
  padding: 40px;
}

.about-panel h2 {
  margin-top: 12px;
}

.projects,
.skills,
.experience {
  scroll-margin-top: 94px;
}

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

.project-card {
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 220ms ease, border-color 220ms ease;
}

.project-card:hover {
  border-color: rgba(247, 199, 107, 0.42);
  transform: translateY(-5px);
}

.project-screen {
  min-height: 280px;
  position: relative;
  background:
    linear-gradient(120deg, rgba(247, 199, 107, 0.16), transparent),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    #0d1015;
  background-size: auto, 32px 32px, 32px 32px, auto;
  overflow: hidden;
}

.screen-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px;
}

.screen-metrics span,
.node {
  min-height: 48px;
  display: grid;
  place-items: center;
  color: var(--text);
  border: 1px solid rgba(247, 199, 107, 0.18);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
  font-size: 13px;
}

.analytics-wave {
  position: absolute;
  inset: auto 18px 26px;
  height: 120px;
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(247, 199, 107, 0.24), transparent),
    repeating-linear-gradient(90deg, rgba(247, 199, 107, 0.7) 0 8px, transparent 8px 24px);
  clip-path: polygon(0 78%, 8% 48%, 16% 64%, 24% 28%, 33% 58%, 42% 18%, 51% 44%, 60% 22%, 68% 58%, 78% 30%, 88% 46%, 100% 18%, 100% 100%, 0 100%);
  animation: wave 2.8s ease-in-out infinite;
}

.workflow-screen {
  min-height: 280px;
}

.workflow-screen svg {
  position: absolute;
  inset: 50px 18px auto;
  width: calc(100% - 36px);
  height: 190px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-dasharray: 8 10;
  animation: dash 16s linear infinite;
}

.node {
  position: absolute;
  width: 82px;
  z-index: 2;
  box-shadow: 0 0 28px rgba(247, 199, 107, 0.08);
}

.n1 { left: 32px; top: 76px; }
.n2 { right: 38px; top: 68px; }
.n3 { left: 42%; top: 132px; }
.n4 { right: 58px; bottom: 34px; }

.project-body {
  padding: 24px;
}

.project-body h3 {
  margin-bottom: 10px;
}

.project-body a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--gold-2);
  font-weight: 800;
}

.skill-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.skill-filter {
  min-height: 38px;
  padding: 0 13px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: 180ms ease;
}

.skill-filter.active,
.skill-filter:hover {
  color: #17120a;
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.skill-card {
  min-height: 128px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(247, 199, 107, 0.14);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 74% 16%, rgba(247, 199, 107, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.045);
  transition: 200ms ease;
  opacity: 0;
  transform: translateY(16px);
  animation: cardIn 520ms ease forwards;
}

.skill-card:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(247, 199, 107, 0.48);
  box-shadow: 0 18px 48px rgba(247, 199, 107, 0.1);
}

.skill-logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #17120a;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  font-weight: 950;
  font-size: 14px;
}

.skill-logo img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.skill-card strong {
  display: block;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.25;
}

.skill-card span {
  color: var(--muted);
  font-size: 12px;
}

.skill-card.hidden {
  display: none;
}

.code-lab {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 24px;
}

.code-copy h2 {
  margin: 12px 0 16px;
}

.code-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.code-badges span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--gold-2);
  border: 1px solid rgba(247, 199, 107, 0.18);
  border-radius: 999px;
  background: rgba(247, 199, 107, 0.055);
  font-size: 13px;
  font-weight: 800;
}

.code-window {
  overflow: hidden;
  position: relative;
}

.code-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(247, 199, 107, 0.08) 46%, transparent 64%);
  transform: translateX(-110%);
  animation: scanGlow 5.5s ease-in-out infinite;
  pointer-events: none;
}

.code-titlebar {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.terminal-dots {
  display: flex;
  gap: 7px;
}

.terminal-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
}

.terminal-dots span:nth-child(2) {
  background: var(--gold);
}

.terminal-dots span:nth-child(3) {
  background: var(--green);
}

.code-titlebar strong {
  color: var(--muted);
  font-size: 13px;
}

.code-titlebar em {
  margin-left: auto;
  color: var(--green);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.code-tabs {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-tabs button {
  min-height: 34px;
  padding: 0 12px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.code-tabs button.active {
  color: #17120a;
  background: var(--gold);
}

.code-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 16px;
  padding: 22px;
}

.code-window pre {
  min-height: 315px;
}

.system-monitor {
  display: grid;
  align-content: start;
  gap: 10px;
}

.system-monitor div {
  min-height: 74px;
  padding: 12px;
  border: 1px solid rgba(247, 199, 107, 0.14);
  border-radius: 7px;
  background:
    radial-gradient(circle at 80% 18%, rgba(247, 199, 107, 0.13), transparent 45%),
    rgba(255, 255, 255, 0.045);
}

.system-monitor span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}

.system-monitor strong {
  color: var(--gold-2);
  font-size: 21px;
}

.command-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 22px 22px;
}

.command-pills span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
}

.command-pills strong {
  color: var(--gold-2);
  font-weight: 900;
}

.timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(var(--gold), transparent);
}

.timeline-item {
  position: relative;
  margin-left: 34px;
  padding: 22px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 28px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 24px rgba(247, 199, 107, 0.62);
}

.timeline-item time {
  color: var(--gold);
  font-weight: 900;
}

.timeline-item h3 {
  margin: 8px 0 8px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.trust-grid article {
  padding: 24px;
}

.trust-grid h3 {
  margin: 12px 0;
}

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.contact-copy h2 {
  margin: 12px 0 18px;
}

.contact-links {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.contact-links a {
  color: var(--gold-2);
  font-weight: 900;
}

.contact-form {
  padding: 22px;
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.24);
  padding: 13px 14px;
  outline: none;
  transition: 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(247, 199, 107, 0.65);
  box-shadow: 0 0 0 4px rgba(247, 199, 107, 0.08);
}

.contact-form button {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-size: 14px;
}

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 28px;
  overflow: hidden;
}

.footer-name {
  font-size: clamp(64px, 18vw, 216px);
  line-height: 0.86;
  font-weight: 950;
  letter-spacing: 0;
  white-space: nowrap;
  opacity: 0.5;
  background: linear-gradient(90deg, rgba(180, 120, 40, 0.3), rgba(255, 180, 80, 0.5), rgba(255, 200, 120, 0.55), rgba(220, 160, 60, 0.45), rgba(160, 100, 30, 0.25));
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientMove 15s ease-in-out infinite;
  text-align: center;
  display: block;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 20px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(134, 239, 172, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(134, 239, 172, 0);
  }
}

@keyframes gridDrift {
  to {
    background-position: 72px 72px;
  }
}

@keyframes logoFloat {
  50% {
    transform: translateY(-8px) scale(1.03);
  }
}

@keyframes logo3d {
  0%,
  100% {
    transform: rotateX(0deg) rotateY(-10deg) translateY(0);
  }
  50% {
    transform: rotateX(7deg) rotateY(14deg) translateY(-9px) scale(1.04);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes floatY {
  50% {
    transform: translateY(-12px);
  }
}

@keyframes wave {
  50% {
    clip-path: polygon(0 50%, 8% 28%, 16% 44%, 24% 18%, 33% 38%, 42% 8%, 51% 34%, 60% 12%, 68% 44%, 78% 20%, 88% 36%, 100% 9%, 100% 100%, 0 100%);
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: -180;
  }
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientMove {
  50% {
    background-position: 100% center;
  }
}

@keyframes particleFloat {
  50% {
    transform: translate3d(16px, -22px, 0);
    opacity: 0.38;
  }
}

@keyframes chipFloat {
  50% {
    transform: translateY(-8px);
  }
}

@keyframes scanGlow {
  45%,
  100% {
    transform: translateX(110%);
  }
}

@keyframes codeGlow {
  0% {
    text-shadow: 0 0 4px rgba(74, 222, 128, 0.3);
  }
  100% {
    text-shadow: 0 0 8px rgba(74, 222, 128, 0.5), 0 0 12px rgba(74, 222, 128, 0.2);
  }
}

@keyframes footerWave {
  0%, 100% {
    background-position: 0% 50%, 0% 50%, 0% 50%, 0% 50%;
    opacity: 0.6;
  }
  50% {
    background-position: 100% 50%, 100% 50%, 100% 50%, 100% 50%;
    opacity: 1;
  }
}

@media (max-width: 1040px) {
  .hero,
  .about-panel,
  .code-lab,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 560px;
  }

  .stats-grid,
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .cursor-glow {
    display: none;
  }

  .nav-shell {
    position: relative;
    top: 0;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-cta {
    display: none;
  }

  .section-pad {
    width: min(100% - 32px, 1180px);
    padding: 72px 0;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-visual {
    min-height: 620px;
  }

  .orbital-logo {
    right: 50%;
    transform: translateX(50%);
    top: 18px;
    width: 348px;
    height: 348px;
  }

  .orbital-logo img {
    width: 104px;
  }

  .orbit {
    inset: 48px;
  }

  .orbit.two {
    inset: 90px;
  }

  .orbit.three {
    inset: 12px;
  }

  .orbit-chip {
    min-height: 30px;
    padding: 0 9px;
    font-size: 10px;
  }

  .terminal-card {
    bottom: 72px;
  }

  .card-a {
    top: 268px;
    left: 0;
  }

  .card-b {
    right: 0;
    bottom: 22px;
  }

  .card-c {
    left: 50%;
    top: 390px;
    transform: translateX(-50%);
  }

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

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

  .code-tabs {
    overflow-x: auto;
  }

  .code-stage {
    grid-template-columns: 1fr;
  }

  .system-monitor {
    grid-template-columns: repeat(3, 1fr);
  }

  .system-monitor div {
    min-height: 62px;
  }

  .system-monitor strong {
    font-size: 16px;
  }

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

@media (max-width: 460px) {
  .stats-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  h1 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.04;
  }

  .about-panel,
  .project-body,
  .contact-form,
  .trust-grid article {
    padding: 18px;
  }

  .metric-card {
    width: 138px;
  }
}
