:root {
  --cream: #fff1e6;
  --paper: #fffbf7;
  --ink: #1e1e1c;
  --yellow: #ffd24a;
  --pink: #f14f8b;
  --teal: #24b7a6;
  --blue: #93aef7;
  --white: #fffdf9;
  --line: 3px solid var(--ink);
  --shadow: 7px 8px 0 var(--ink);
  --shadow-sm: 4px 5px 0 var(--ink);
  --radius: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

button,
a {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 4px solid var(--pink);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  background: var(--yellow);
  border: var(--line);
  padding: 10px 16px;
  font-weight: 700;
  z-index: 1000;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 16px;
}

/* Full Bleed Web Page Container */
.page-shell {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  position: relative;
  background: var(--paper);
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow-x: clip;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255, 251, 247, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 700 1.1rem 'Space Grotesk', sans-serif;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 32px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--blue);
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 2px 3px 0 var(--ink);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.85rem;
  font-weight: 700;
}

.nav-links>a:not(.nav-cta) {
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s;
}

.nav-links>a:not(.nav-cta):hover {
  border-bottom-color: var(--ink);
}

.nav-cta {
  background: var(--blue);
  color: var(--ink) !important;
  padding: 11px 22px;
  border: var(--line);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.12s, box-shadow 0.12s;
  display: inline-block;
  font-weight: 700;
}

.nav-cta:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
  color: var(--ink) !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
  transition: transform 0.2s, opacity 0.2s;
}

/* Sections Common */
.section {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 100px 0;
}

.section--compact {
  padding-block: 80px;
}

.section-kicker {
  display: inline-block;
  font: 600 0.75rem 'DM Mono', monospace;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.section h2 {
  font: 700 clamp(3rem, 6vw, 5.2rem) / 0.9 'Space Grotesk', sans-serif;
  letter-spacing: -0.065em;
  margin: 0 0 42px;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
  min-height: calc(100vh - 100px);
  padding-top: 40px;
  padding-bottom: 70px;
}

.intro {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 24px;
}

.hero h1 {
  font: 700 clamp(4rem, 7.5vw, 7.4rem) / 0.88 'Space Grotesk', sans-serif;
  letter-spacing: -0.075em;
  margin: 0 0 28px;
}

.headline-pill {
  display: inline-block;
  background: var(--yellow);
  padding: 0 0.12em;
  border-radius: 14px;
  box-shadow: 5px 6px 0 var(--ink);
}

.hero-text {
  max-width: 560px;
  font-size: 1.05rem;
  color: #44423e;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border: var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink) !important;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
}

.button:visited,
.button:active,
.button:hover,
.button:focus {
  color: var(--ink) !important;
}

.button svg {
  flex-shrink: 0;
}

.button span {
  font-size: 1rem;
}

.button:hover {
  transform: translate(3px, 3px);
  box-shadow: 1px 2px 0 var(--ink);
}

.button--yellow {
  background: var(--yellow);
  color: var(--ink) !important;
}

.button--white {
  background: var(--white);
  color: var(--ink) !important;
}

/* Hero Visual Shell Terminal */
.hero-visual {
  position: relative;
  min-height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.code-card {
  width: min(100%, 460px);
  min-height: 390px;
  background: #1c1c1c;
  color: #f2f2f2;
  border: var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  --init-transform: none;
  transform: none;
  overflow: hidden;
  position: relative;
  z-index: 2;
  animation: shapeFadeIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: 0.2s;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.code-card:hover {
  transform: translateY(-4px);
  box-shadow: 10px 12px 0 var(--ink);
}

.code-card__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 2px solid #2e2e2e;
  font: 500 0.74rem 'DM Mono', monospace;
  background: #141414;
  user-select: none;
}

.terminal-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a8a8a8;
  font-weight: 600;
}

.terminal-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: inline-block;
}

.dot--red {
  background: #ff5f56;
}

.dot--yellow {
  background: #ffbd2e;
}

.dot--green {
  background: #27c93f;
}

.code-card__body {
  padding: 22px 24px;
  font: 500 0.8rem / 1.7 'DM Mono', monospace;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #1c1c1c;
  color: #eaeaea;
  overflow-y: auto;
}

.term-line {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  animation: termLineFade 0.2s ease;
}

@keyframes termLineFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

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

.term-cmd {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #ffffff;
}

.term-prompt {
  color: var(--yellow);
  user-select: none;
}

.term-out {
  margin-left: 18px;
  line-height: 1.5;
}

.term-accent {
  color: var(--yellow);
}

.term-good {
  color: #66f59f;
  font-weight: 700;
}

.term-log {
  color: #8be9fd;
  font-size: 0.78rem;
}

.term-list {
  list-style: none;
  margin: 0 0 2px 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.term-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px dashed #343434;
  padding: 2px 0;
  color: #d8d8d8;
  font-size: 0.79rem;
}

.term-check {
  color: #66f59f;
  font-weight: 700;
}

.term-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--yellow);
  margin-left: 4px;
  vertical-align: -2px;
  animation: termBlink 0.9s infinite;
}

@keyframes termBlink {

  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.term-replay-btn {
  align-self: flex-end;
  background: #242424;
  border: 1px solid #444;
  border-radius: 6px;
  color: #999;
  font: 600 0.68rem 'DM Mono', monospace;
  padding: 4px 10px;
  cursor: pointer;
  margin-top: auto;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.term-replay-btn:hover {
  color: var(--yellow);
  border-color: var(--yellow);
  background: #2e2e2e;
}

.floating-card {
  position: absolute;
  border: var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 800;
  font-size: 0.75rem;
  z-index: 3;
}

.floating-card--status {
  left: 2%;
  top: 6%;
  background: var(--teal);
  transform: rotate(-5deg);
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #67f092;
  margin-right: 7px;
}

.name-sticker {
  position: absolute;
  right: -5px;
  top: 10%;
  background: var(--blue);
  border: var(--line);
  border-radius: 999px;
  padding: 11px 20px;
  box-shadow: var(--shadow-sm);
  font: 700 1rem 'Space Grotesk', sans-serif;
  z-index: 4;
  transform: rotate(5deg);
}

.hero-badge {
  position: absolute;
  border: var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  font: 700 0.72rem / 1.15 'DM Mono', monospace;
  z-index: 3;
}

.hero-badge--blue {
  left: 4%;
  bottom: 6%;
  background: var(--blue);
  transform: rotate(-5deg);
}

.hero-badge--pink {
  right: 6%;
  bottom: 2%;
  background: var(--pink);
  transform: rotate(5deg);
}

.spark {
  position: absolute;
  font-size: 2rem;
  font-weight: 700;
}

.spark--1 {
  right: 6%;
  top: 26%;
}

.spark--2 {
  left: 10%;
  bottom: 28%;
  transform: rotate(18deg);
  color: var(--pink);
}

/* About Section */
.about-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 65px;
  align-items: start;
}

.about-copy p {
  max-width: 650px;
  font-size: 1rem;
  line-height: 1.6;
}

.section-lead {
  font: 600 1.55rem / 1.25 'Space Grotesk', sans-serif;
  letter-spacing: -0.025em;
  margin-top: 0;
  color: var(--ink);
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.stat {
  border: var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 24px 20px;
  min-height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}

.stat--link {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.stat--link:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow);
  color: var(--ink) !important;
}

.stat strong {
  font: 700 2.3rem 'Space Grotesk', sans-serif;
}

.stat span {
  font: 600 0.75rem 'DM Mono', monospace;
}

.stat--yellow {
  background: var(--yellow);
}

.stat--blue {
  background: var(--blue);
}

.stat--pink {
  background: var(--pink);
}

/* Services Section */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  min-height: 300px;
  padding: 28px 24px 24px;
  border: var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 9px 11px 0 var(--ink);
}

.service-card--yellow {
  background: var(--yellow);
}

.service-card--blue {
  background: var(--blue);
}

.service-card--pink {
  background: var(--pink);
}

.service-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font: 700 1.55rem 'DM Mono', monospace;
  margin-bottom: 30px;
}

.icon--cloud {
  background: var(--teal);
}

.icon--pipeline {
  background: var(--yellow);
}

.icon--terminal {
  background: var(--blue);
}

.service-card h3 {
  font: 700 1.5rem / 1.05 'Space Grotesk', sans-serif;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
}

.service-card p {
  margin: 0 0 24px;
  font-size: 0.9rem;
  color: #34322f;
  line-height: 1.5;
}

.service-card a {
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* Projects Section */
.title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 42px;
}

.title-row h2 {
  margin: 0;
}

.title-note {
  font: 500 0.72rem 'DM Mono', monospace;
  border: 2px solid var(--ink);
  padding: 8px 12px;
  border-radius: 9px;
  background: var(--white);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.project-card {
  position: relative;
  border: var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 28px 24px;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 9px 11px 0 var(--ink);
}

.project-card--yellow,
.project-card--featured {
  background: var(--yellow);
}

.project-card--white {
  background: var(--white);
}

.project-card--blue {
  background: var(--blue);
}

.project-number {
  font: 700 2.2rem 'Space Grotesk', sans-serif;
  margin-bottom: 20px;
}

.project-type {
  font: 500 0.68rem 'DM Mono', monospace;
  letter-spacing: 0.04em;
}

.project-card h3 {
  font: 700 clamp(1.5rem, 1.8vw, 1.95rem) / 1.1 'Space Grotesk', sans-serif;
  letter-spacing: -0.045em;
  margin: 8px 0 16px;
}

.project-card p:not(.project-type) {
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 20px;
  color: #34322f;
}

.tag-row,
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row {
  margin-top: auto;
  padding-bottom: 16px;
}

.tag-row span,
.chips span {
  padding: 6px 10px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  font: 600 0.68rem 'DM Mono', monospace;
}

.project-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink) !important;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: transform 0.15s ease;
}

.project-link:hover {
  transform: translateX(4px);
  color: var(--ink) !important;
}

/* Skills Board */
.skills-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.skill-group {
  border: var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  padding: 26px;
  background: var(--white);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}

.skill-group:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.skill-group--white {
  background: var(--white);
}

.skill-group--teal {
  background: var(--teal);
}

.skill-group--pink {
  background: var(--pink);
}

.skill-group--yellow {
  background: var(--yellow);
}

.skill-group--blue {
  background: var(--blue);
}

.skill-group h3 {
  font: 700 1.3rem 'Space Grotesk', sans-serif;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

/* Experience Section */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.experience-card {
  border: var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 28px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}

.experience-card:hover {
  transform: translateY(-4px);
  box-shadow: 9px 11px 0 var(--ink);
}

.experience-card--yellow {
  background: var(--yellow);
}

.experience-card--white {
  background: var(--white);
}

.experience-card--pink {
  background: var(--pink);
}

.experience-card--teal {
  background: var(--teal);
}

.experience-card--blue {
  background: var(--blue);
}

.experience-card h3 {
  font: 700 1.65rem / 1.05 'Space Grotesk', sans-serif;
  letter-spacing: -0.045em;
  margin: 14px 0 15px;
}

.experience-card p {
  font-size: 0.88rem;
  margin: 0;
  color: #34322f;
  line-height: 1.5;
}

.experience-card-link {
  margin-top: auto;
  padding-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink) !important;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: transform 0.15s ease;
}

.experience-card-link:hover {
  transform: translateX(4px);
  color: var(--ink) !important;
}

/* Contact Section (Full Width Dark) */
.contact {
  width: 100%;
  margin-top: 40px;
  background: var(--ink);
  color: var(--white);
  padding: 95px 24px 30px;
  border-top: var(--line);
}

.contact-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: end;
}

.section-kicker--dark {
  color: var(--yellow);
}

.contact h2 {
  font: 700 clamp(3.7rem, 7vw, 7rem) / 0.88 'Space Grotesk', sans-serif;
  letter-spacing: -0.075em;
  margin: 0 0 22px;
}

.contact h2 span {
  color: var(--yellow);
}

.contact p {
  max-width: 570px;
  color: #e7e3de;
  font-size: 0.95rem;
  line-height: 1.55;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.contact-meta {
  width: min(100%, var(--max));
  margin: 60px auto 0;
  padding-top: 20px;
  border-top: 1px solid #484848;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  font: 500 0.72rem 'DM Mono', monospace;
  color: #d7d2cb;
}

.contact-meta a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.15s ease;
}

.contact-meta a:hover {
  color: var(--white);
}

/* Footer (Full Width Yellow) */
.footer {
  width: 100%;
  padding: 22px 24px;
  background: var(--yellow);
  border-top: var(--line);
  font: 600 0.75rem 'DM Mono', monospace;
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
}

.footer-links a:hover {
  border-bottom-color: var(--ink);
}

/* Ambient Live Floating Neo-Brutalist Shapes */
.decor {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.decor--left {
  left: 20px;
  top: 360px;
}

.decor--right {
  right: 24px;
  top: 720px;
}

.decor--bottom-left {
  left: 26px;
  top: 1420px;
}

.decor--bottom-right {
  right: 22px;
  top: 1980px;
}

.blob {
  display: block;
  width: 78px;
  height: 78px;
  border: var(--line);
  box-shadow: var(--shadow-sm);
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.blob--teal {
  background: var(--teal);
  border-radius: 55% 45% 50% 50%;
  animation: floatShape1 6.5s ease-in-out infinite;
}

.blob--teal:hover {
  animation-play-state: paused;
  transform: scale(1.22) rotate(42deg);
  box-shadow: 7px 8px 0 var(--ink);
}

.blob--pink {
  background: var(--pink);
  border-radius: 42% 58% 54% 46%;
  animation: floatShape2 7.8s ease-in-out infinite;
}

.blob--pink:hover {
  animation-play-state: paused;
  transform: scale(1.22) rotate(-45deg);
  box-shadow: 7px 8px 0 var(--ink);
}

.blob--yellow {
  background: var(--yellow);
  width: 72px;
  height: 72px;
  border-radius: 58% 42% 50% 50%;
  animation: floatShape3 6.8s ease-in-out infinite;
}

.blob--yellow:hover {
  animation-play-state: paused;
  transform: scale(1.22) rotate(45deg);
  box-shadow: 7px 8px 0 var(--ink);
}

.ring {
  display: block;
  width: 80px;
  height: 80px;
  border: var(--line);
  border-radius: 50%;
  background: var(--pink);
  box-shadow: var(--shadow-sm);
  position: relative;
  pointer-events: auto;
  cursor: pointer;
  animation: floatRing 9s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.ring:hover {
  animation-play-state: paused;
  transform: scale(1.22) rotate(45deg);
  box-shadow: 7px 8px 0 var(--ink);
}

.ring:before,
.ring:after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.ring:after {
  inset: 34px;
  border-width: 2px;
}

@keyframes floatShape1 {

  0%,
  100% {
    transform: translate(0, 0) rotate(25deg);
  }

  33% {
    transform: translate(14px, -20px) rotate(34deg) scale(1.05);
  }

  66% {
    transform: translate(-10px, -12px) rotate(16deg) scale(0.96);
  }
}

@keyframes floatShape2 {

  0%,
  100% {
    transform: translate(0, 0) rotate(-25deg);
  }

  40% {
    transform: translate(-16px, -24px) rotate(-38deg) scale(1.06);
  }

  75% {
    transform: translate(12px, -10px) rotate(-14deg) scale(0.96);
  }
}

@keyframes floatRing {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(15px, -22px) rotate(180deg) scale(1.05);
  }
}

@keyframes floatShape3 {

  0%,
  100% {
    transform: translate(0, 0) rotate(25deg);
  }

  50% {
    transform: translate(-15px, -18px) rotate(42deg) scale(1.08);
  }
}

/* Responsive Media Queries */
@media (max-width: 1050px) {
  .section {
    width: min(calc(100% - 48px), 1000px);
  }

  .nav {
    width: min(calc(100% - 48px), 1000px);
  }

  .hero {
    gap: 35px;
  }

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

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

@media (max-width: 820px) {
  .nav {
    min-height: 74px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: var(--line);
    padding: 16px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links>a {
    padding: 14px 4px !important;
    border-bottom: 1px solid #d5d1cb !important;
  }

  .nav-cta {
    margin-top: 12px;
    text-align: center;
    border-bottom: var(--line) !important;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 50px;
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 13vw, 6rem);
  }

  .hero-visual {
    min-height: 480px;
    margin-top: 20px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

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

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

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 35px;
  }

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

@media (max-width: 560px) {
  .section {
    width: min(calc(100% - 32px), 520px);
    padding-block: 70px;
  }

  .section--compact {
    padding-block: 60px;
  }

  .nav {
    width: min(calc(100% - 32px), 520px);
  }

  .hero {
    padding-top: 40px;
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 16vw, 4.8rem);
  }

  .hero-text {
    font-size: 0.95rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    justify-content: space-between;
    width: 100%;
  }

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

  .code-card {
    transform: none;
  }

  .floating-card--status {
    left: 0;
    top: 0;
  }

  .name-sticker {
    right: 0;
    top: 0;
  }

  .hero-badge--blue {
    left: 0;
    bottom: 10px;
  }

  .hero-badge--pink {
    right: 0;
    bottom: -10px;
  }

  .spark--1 {
    right: 4%;
    top: 25%;
  }

  .spark--2 {
    left: 4%;
    bottom: 30%;
  }

  .stats {
    gap: 12px;
  }

  .stat {
    min-height: 120px;
    padding: 18px 14px;
  }

  .stat strong {
    font-size: 1.8rem;
  }

  .section h2 {
    font-size: 3rem;
  }

  .title-row {
    display: block;
  }

  .title-note {
    display: inline-block;
    margin-top: -16px;
    margin-bottom: 24px;
  }

  .service-card,
  .project-card,
  .experience-card {
    box-shadow: 5px 6px 0 var(--ink);
  }

  .project-card {
    padding: 22px;
  }

  .contact {
    padding: 70px 16px 24px;
  }

  .contact h2 {
    font-size: 3.6rem;
  }

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

  .contact-meta {
    margin-top: 40px;
    flex-direction: column;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}