@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  color-scheme: dark;
  --background: #0c1110;
  --surface: #121918;
  --surface-raised: #17211e;
  --text: #f0f3ed;
  --muted: #9daaa2;
  --accent: #b7f36b;
  --accent-dark: #80bd3f;
  --line: rgba(224, 242, 226, 0.12);
  --mono: "DM Mono", Consolas, monospace;
  --display: "Space Grotesk", "Segoe UI", sans-serif;
  --body: "DM Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 12px 16px;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--accent);
  color: var(--background);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-wrap {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(32px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(12, 17, 16, 0.9);
  backdrop-filter: blur(16px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.logo-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(183, 243, 107, 0.5);
  border-radius: 9px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 180ms ease, translate 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
}

.site-nav .nav-contact {
  padding: 10px 15px;
  border: 1px solid rgba(183, 243, 107, 0.45);
  border-radius: 5px;
  color: var(--accent);
}

.nav-contact span {
  margin-left: 5px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font-size: 17px;
  cursor: pointer;
}

.hero {
  position: relative;
  display: grid;
  min-height: 690px;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 30px;
  padding-top: 62px;
  padding-bottom: 100px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: 10px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(183, 243, 107, 0.7);
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.99;
}

.hero h1 span,
.section-title span,
.contact-inner h2 span {
  color: var(--accent);
}

.role-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 27px 0 15px;
  color: #d3dbd3;
  font-family: var(--display);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 500;
}

.typing-prefix {
  color: #d3dbd3;
}

.typing-divider {
  color: #69766d;
}

.typing-text {
  color: inherit;
}

.typing-role {
  color: var(--accent);
}

.typing-cursor {
  width: 2px;
  height: 20px;
  margin-left: -6px;
  background: var(--accent);
  animation: blink 900ms step-end infinite;
}

.hero-description {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 20px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, translate 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #172012;
}

.button-primary:hover {
  background: #c9ff83;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #d5ddd6;
  font-size: 13px;
  text-decoration: none;
  transition: translate 180ms ease;
}

.text-link span {
  color: var(--accent);
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(3px, -2px);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.social-links a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #aab6ad;
  font-size: 15px;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease, translate 180ms ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(183, 243, 107, 0.55);
  background: rgba(183, 243, 107, 0.08);
  color: var(--accent);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 28px;
  color: #738078;
  font-family: var(--mono);
  font-size: 10px;
}

.note-line {
  width: 31px;
  height: 1px;
  background: var(--accent-dark);
}

.hero-art {
  position: relative;
  display: grid;
  width: min(100%, 410px);
  aspect-ratio: 0.9;
  justify-self: end;
  place-items: center;
  isolation: isolate;
}

.art-glow {
  position: absolute;
  z-index: -2;
  width: 76%;
  height: 76%;
  border-radius: 50%;
  background: rgba(127, 185, 71, 0.12);
  filter: blur(60px);
  animation: glow-breathe 6s ease-in-out infinite;
}

.image-frame {
  position: relative;
  width: 72%;
  height: auto;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(183, 243, 107, 0.42);
  border-radius: 48% 48% 7px 7px;
  background: linear-gradient(145deg, #25352a, #111714 70%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  animation: portrait-float 5s ease-in-out infinite, portrait-glow 4s ease-in-out infinite;
}

.image-frame::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(10, 15, 13, 0.3));
  content: "";
  pointer-events: none;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: portrait-drift 18s ease-in-out infinite alternate;
}

.art-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(183, 243, 107, 0.2);
  border-radius: 50%;
  transform: rotate(-24deg);
  animation: orbit-rotate 18s linear infinite;
}

.art-orbit::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(12, 17, 16, 0.75);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(183, 243, 107, 0.9);
  content: "";
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 100%;
  height: 69%;
}

.orbit-two {
  width: 85%;
  height: 90%;
  border-color: rgba(183, 243, 107, 0.1);
  transform: rotate(38deg);
  animation-name: orbit-rotate-reverse;
  animation-duration: 25s;
}

.orbit-two::before {
  right: 0;
  left: auto;
  width: 5px;
  height: 5px;
  background: #e6f8d1;
  box-shadow: 0 0 10px rgba(230, 248, 209, 0.75);
}

.art-label {
  position: absolute;
  right: -5px;
  bottom: 17%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  background: rgba(18, 25, 24, 0.9);
  color: #d5ddd6;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.11em;
}

.label-divider {
  width: 18px;
  height: 1px;
  background: var(--accent);
}

.art-star {
  position: absolute;
  top: 18%;
  right: 12%;
  color: var(--accent);
  font-size: 24px;
  animation: slow-spin 18s linear infinite;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #78847b;
  font-family: var(--mono);
  font-size: 10px;
  text-decoration: none;
}

.scroll-cue span {
  width: 1px;
  height: 28px;
  background: linear-gradient(var(--accent), transparent);
}

.section {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.section-about {
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
}

.section-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.about-copy {
  padding-top: 28px;
}

.about-copy p,
.section-intro,
.skills-intro {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.about-copy .text-link {
  margin-top: 8px;
  color: var(--accent);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 44px;
}

.section-heading .eyebrow {
  margin-bottom: 20px;
}

.section-intro {
  max-width: 300px;
  margin-bottom: 5px;
  font-size: 13px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 220ms ease, border-color 220ms ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(183, 243, 107, 0.4);
}

.ghost-cursor-active,
.ghost-cursor-active * {
  cursor: none !important;
}

.ghost-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 56, 128, 0.24), rgba(91, 220, 255, 0.2) 52%, rgba(181, 91, 255, 0.24));
  box-shadow: -3px 0 10px rgba(255, 50, 125, 0.42), 3px 0 10px rgba(30, 218, 255, 0.4), 0 0 16px rgba(170, 82, 255, 0.32);
  backdrop-filter: blur(2px);
  pointer-events: none;
  opacity: 0;
  translate: -50% -50%;
  transition: opacity 160ms ease;
  animation: ghost-rgb 3s linear infinite;
}

.ghost-cursor::before {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  content: "";
}

.ghost-cursor.is-visible {
  opacity: 1;
}

.click-burst {
  position: fixed;
  z-index: 50;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.click-burst span {
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border: 2px solid #ff397f;
  border-radius: 50%;
  animation: click-rgb-burst 620ms ease-out forwards;
}

.click-burst span:nth-child(2) {
  border-color: #31e7ff;
  animation-delay: 45ms;
}

.click-burst span:nth-child(3) {
  border-color: #c16bff;
  animation-delay: 90ms;
}

.project-art {
  position: relative;
  display: grid;
  height: 215px;
  overflow: hidden;
  place-items: center;
}

.art-design {
  background: radial-gradient(ellipse at 50% 55%, #455833 0, #263729 28%, #18231e 67%);
}

.shape {
  position: absolute;
  display: block;
}

.shape-large {
  width: 128px;
  height: 150px;
  border: 1px solid rgba(234, 244, 216, 0.55);
  border-radius: 60% 40% 48% 52%;
  background: linear-gradient(135deg, rgba(183, 243, 107, 0.65), rgba(91, 131, 77, 0.14));
  box-shadow: 18px 12px 40px rgba(0, 0, 0, 0.2);
  transform: rotate(28deg);
}

.shape-small {
  z-index: 1;
  width: 73px;
  height: 73px;
  border: 1px solid rgba(241, 238, 215, 0.75);
  border-radius: 50%;
  background: rgba(224, 200, 126, 0.7);
  mix-blend-mode: screen;
  transform: translate(43px, -25px);
}

.shape-ring {
  width: 184px;
  height: 184px;
  border: 1px solid rgba(218, 243, 190, 0.28);
  border-radius: 50%;
}

.art-game {
  background: linear-gradient(180deg, #293846 0%, #687562 58%, #b1aa72 100%);
}

.game-sun {
  position: absolute;
  top: 35px;
  right: 55px;
  width: 47px;
  height: 47px;
  border-radius: 50%;
  background: #e6d887;
  box-shadow: 0 0 42px rgba(246, 224, 145, 0.35);
}

.game-horizon {
  position: absolute;
  right: -10%;
  bottom: -75px;
  left: -10%;
  height: 150px;
  border-radius: 50% 50% 0 0;
  background: #32423a;
}

.game-mountain {
  position: absolute;
  bottom: 60px;
  left: 23%;
  width: 0;
  height: 0;
  border-right: 75px solid transparent;
  border-bottom: 92px solid #49594a;
  border-left: 75px solid transparent;
  filter: drop-shadow(50px 18px 0 #3c4d42);
}

.game-character {
  position: absolute;
  z-index: 1;
  bottom: 42px;
  left: 47%;
  color: var(--accent);
  font-size: 30px;
  filter: drop-shadow(0 0 9px rgba(183, 243, 107, 0.7));
}

.art-security {
  background: radial-gradient(ellipse at 50% 50%, #29473f 0, #172b26 44%, #12201e 80%);
}

.security-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(183, 243, 107, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(183, 243, 107, 0.06) 1px, transparent 1px);
  background-size: 27px 27px;
  mask-image: radial-gradient(ellipse, black, transparent 72%);
}

.security-shield {
  display: grid;
  width: 95px;
  height: 110px;
  place-items: center;
  clip-path: polygon(50% 0, 93% 16%, 88% 62%, 50% 100%, 12% 62%, 7% 16%);
  background: linear-gradient(145deg, rgba(183, 243, 107, 0.8), rgba(85, 154, 111, 0.28));
  color: #e4ffbd;
  font-size: 35px;
  filter: drop-shadow(0 0 19px rgba(183, 243, 107, 0.28));
}

.art-caption {
  position: absolute;
  top: 20px;
  left: 20px;
  color: rgba(241, 246, 235, 0.75);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  line-height: 1.7;
}

.project-details {
  padding: 23px 22px 24px;
}

.project-number {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.11em;
}

.project-details h3 {
  margin: 12px 0 8px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
}

.project-details p {
  min-height: 58px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.project-tag {
  display: inline-block;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: #bbc6bc;
  font-family: var(--mono);
  font-size: 9px;
}

.section-skills {
  background: var(--surface);
}

.skills-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 90px;
}

.skills-intro {
  max-width: 340px;
  margin-top: 22px;
  font-size: 13px;
}

.skill-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skill-list li {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.skill-list li:first-child {
  border-top: 1px solid var(--line);
}

.skill-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(183, 243, 107, 0.2);
  border-radius: 6px;
  color: var(--accent);
  font-size: 15px;
}

.skill-list strong,
.skill-list small {
  display: block;
}

.skill-list strong {
  margin-bottom: 5px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
}

.skill-list small {
  color: var(--muted);
  font-size: 11px;
}

.skill-arrow {
  color: #758279;
  font-size: 16px;
}

.contact-section {
  padding: 100px 0;
  background: var(--accent);
  color: #172012;
}

.contact-inner {
  text-align: center;
}

.contact-inner .eyebrow {
  justify-content: center;
  color: #405932;
}

.contact-inner h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 7vw, 74px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1.05;
}

.contact-inner h2 span {
  color: #526d3e;
}

.contact-inner > p:not(.eyebrow):not(.email-note) {
  max-width: 470px;
  margin: 20px auto 25px;
  color: #40513a;
  font-size: 14px;
  line-height: 1.8;
}

.button-light {
  background: #172012;
  color: #f2f7e9;
}

.button-light:hover {
  background: #263822;
}

.email-note {
  margin: 18px 0 0;
  color: #526b43;
  font-size: 10px;
}

.email-note code {
  font-family: var(--mono);
}

.site-footer {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px max(32px, calc((100vw - 1120px) / 2));
}

.site-footer .logo {
  font-size: 12px;
}

.site-footer .logo-mark {
  width: 29px;
  height: 29px;
  font-size: 10px;
}

.site-footer p,
.back-to-top {
  margin: 0;
  color: #859189;
  font-size: 11px;
  text-decoration: none;
}

.site-footer p span {
  color: var(--accent);
}

.back-to-top:hover {
  color: var(--accent);
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes ghost-rgb {
  0%,
  100% {
    border-color: rgba(255, 82, 145, 0.88);
    box-shadow: -3px 0 10px rgba(255, 50, 125, 0.48), 3px 0 10px rgba(30, 218, 255, 0.38), 0 0 16px rgba(170, 82, 255, 0.32);
  }
  50% {
    border-color: rgba(77, 230, 255, 0.9);
    box-shadow: -3px 0 10px rgba(30, 218, 255, 0.48), 3px 0 10px rgba(255, 50, 125, 0.38), 0 0 18px rgba(170, 82, 255, 0.36);
  }
}

@keyframes click-rgb-burst {
  from {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(0.4);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3.2);
  }
}

@keyframes slow-spin {
  to {
    transform: rotate(336deg);
  }
}

@keyframes orbit-rotate {
  from {
    transform: rotate(-24deg);
  }
  to {
    transform: rotate(336deg);
  }
}

@keyframes orbit-rotate-reverse {
  from {
    transform: rotate(38deg);
  }
  to {
    transform: rotate(-322deg);
  }
}

@keyframes portrait-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

@keyframes portrait-drift {
  from {
    transform: scale(1) translateY(0);
  }
  to {
    transform: scale(1.08) translateY(-5px);
  }
}

@keyframes portrait-glow {
  0%,
  100% {
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38), 0 0 18px rgba(183, 243, 107, 0.08);
  }
  50% {
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42), 0 0 38px rgba(183, 243, 107, 0.25);
  }
}

@keyframes glow-breathe {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@media (max-width: 850px) {
  .site-header {
    min-height: 70px;
    padding-inline: 24px;
  }

  .site-nav ul {
    gap: 22px;
  }

  .hero {
    min-height: 630px;
    grid-template-columns: 1.1fr 0.9fr;
  }

  .hero-art {
    width: 100%;
  }

  .about-grid,
  .skills-layout {
    gap: 50px;
  }

  .project-grid {
    gap: 13px;
  }

  .project-details {
    padding-inline: 16px;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 72px;
  }

  .section-wrap {
    width: min(100% - 40px, 500px);
  }

  .site-header {
    min-height: 66px;
    padding-inline: 20px;
  }

  .logo {
    gap: 8px;
    font-size: 13px;
  }

  .logo-mark {
    width: 31px;
    height: 31px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 65px;
    right: 0;
    left: 0;
    visibility: hidden;
    padding: 0 20px;
    border-bottom: 1px solid transparent;
    background: rgba(12, 17, 16, 0.98);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    visibility: visible;
    padding-bottom: 18px;
    border-color: var(--line);
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .site-nav li {
    border-bottom: 1px solid var(--line);
  }

  .site-nav li:last-child {
    padding-top: 13px;
    border: 0;
  }

  .site-nav a,
  .site-nav .nav-contact {
    display: block;
    padding: 14px 0;
    border: 0;
    font-size: 14px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 6px;
    padding-top: 65px;
    padding-bottom: 77px;
  }

  .hero h1 {
    font-size: clamp(55px, 14vw, 78px);
  }

  .hero-description {
    max-width: 470px;
    font-size: 14px;
  }

  .hero-note {
    margin-top: 32px;
    font-size: 9px;
  }

  .hero-art {
    width: min(82%, 335px);
    margin: 20px auto 0;
    justify-self: center;
  }

  .scroll-cue {
    bottom: 20px;
  }

  .section {
    padding: 78px 0;
  }

  .about-grid,
  .skills-layout {
    grid-template-columns: 1fr;
    gap: 23px;
  }

  .about-copy {
    padding-top: 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 28px;
  }

  .section-intro {
    max-width: 420px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .project-art {
    height: 225px;
  }

  .project-details p {
    min-height: 0;
  }

  .skills-intro {
    margin-top: 14px;
  }

  .contact-section {
    padding: 78px 0;
  }

  .site-footer {
    min-height: 75px;
    flex-wrap: wrap;
    padding: 17px 20px;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 19px;
  }

  .hero-note {
    align-items: flex-start;
    line-height: 1.6;
  }

  .contact-inner h2 {
    font-size: 42px;
  }

  .site-footer p {
    display: none;
  }
}

@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;
  }

  .ghost-cursor {
    animation: ghost-rgb 3s linear infinite !important;
  }

  .click-burst span {
    animation: click-rgb-burst 620ms ease-out forwards !important;
  }

}
