/* ================================================================
   DESIGN TOKENS
   ================================================================ */
:root {
  color-scheme: light;
  --primary-color: #0f9f8f;
  --primary-bright: #19c7b1;
  --secondary-color: #1687d9;
  --accent-color: #08766b;
  --text-dark: #111827;
  --text-light: #64748b;
  --bg-light: #f5f7fa;
  --bg-white: #ffffff;
  --bg-elevated: #ffffff;
  --bg-soft: #eef2f6;
  --border-color: #dce3eb;
  --border-strong: #c8d2de;
  --nav-bg: rgba(255, 255, 255, 0.76);
  --glow-primary: rgba(15, 159, 143, 0.18);
  --glow-secondary: rgba(22, 135, 217, 0.14);
  --blob-blue: rgba(37, 99, 235, 0.13);
  --blob-violet: rgba(139, 92, 246, 0.1);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
  --radius-sm: 0.65rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --transition: 220ms ease;
}

[data-theme="dark"] {
  color-scheme: dark;
  --primary-color: #24c7b5;
  --primary-bright: #5eead4;
  --secondary-color: #38a8f8;
  --accent-color: #5eead4;
  --text-dark: #f5f7fa;
  --text-light: #8e9aaa;
  --bg-light: #05070a;
  --bg-white: #090d12;
  --bg-elevated: #0d1219;
  --bg-soft: #111820;
  --border-color: #1c2632;
  --border-strong: #2a3745;
  --nav-bg: rgba(5, 7, 10, 0.78);
  --glow-primary: rgba(36, 199, 181, 0.13);
  --glow-secondary: rgba(56, 168, 248, 0.1);
  --blob-blue: rgba(59, 130, 246, 0.14);
  --blob-violet: rgba(139, 92, 246, 0.12);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 16px 36px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.48);
}

/* ================================================================
   RESET & BASE
   ================================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text-dark);
  background: var(--bg-light);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}

body::selection {
  color: #031310;
  background: var(--primary-bright);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  padding: 0.65rem 0.9rem;
  border-radius: 0.6rem;
  color: #031512;
  background: var(--primary-bright);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform var(--transition);
}

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

a,
button {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  font: inherit;
}

img {
  max-width: 100%;
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

[data-theme="dark"] .page-noise {
  opacity: 0.035;
}

.container {
  width: min(100% - 3rem, 1180px);
  margin-inline: auto;
}

.section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 8rem 0;
  border-top: 1px solid var(--border-color);
}

.section > .container {
  position: relative;
  z-index: 1;
}

.about::before,
.projects::before,
.projects::after,
.skills::before,
.process::before,
.contact::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: clamp(24rem, 42vw, 38rem);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(8px);
}

.about::before {
  top: 50%;
  right: -5rem;
  background: radial-gradient(circle, var(--blob-blue) 0%, transparent 68%);
  transform: translateY(-50%);
}

.projects::before {
  top: 12%;
  left: -7rem;
  background: radial-gradient(circle, var(--blob-violet) 0%, transparent 68%);
}

.projects::after {
  right: -8rem;
  bottom: 4%;
  background: radial-gradient(circle, var(--blob-blue) 0%, transparent 68%);
}

.skills::before {
  top: 50%;
  left: 50%;
  background: radial-gradient(circle, var(--blob-blue) 0%, transparent 68%);
  transform: translate(-50%, -50%);
}

.process::before {
  top: 50%;
  right: -6rem;
  background: radial-gradient(circle, var(--blob-violet) 0%, transparent 68%);
  transform: translateY(-50%);
}

.contact::before {
  top: 50%;
  left: -6rem;
  background: radial-gradient(circle, var(--blob-blue) 0%, transparent 68%);
  transform: translateY(-50%);
}

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

/* ================================================================
   NAVIGATION
   ================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 0.6rem 0;
}

.nav-container {
  width: min(100% - 2rem, 1180px);
  min-height: 58px;
  margin-inline: auto;
  padding: 0.45rem 0.55rem 0.45rem 0.8rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(7, 12, 18, 0.72);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px) saturate(140%);
  transition: var(--transition);
}

.navbar.scrolled .nav-container {
  border-color: var(--border-color);
  background: var(--nav-bg);
  box-shadow: var(--shadow-md);
}

.logo {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #f8fafc;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.navbar.scrolled .logo {
  color: var(--text-dark);
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 0.65rem;
  color: #04120f;
  background: linear-gradient(135deg, var(--primary-bright), #87f7e8);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 0 24px rgba(36, 199, 181, 0.22);
  transition: transform var(--transition);
}

.logo:hover .logo-mark {
  transform: scale(1.1) rotate(-6deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}

.nav-link {
  padding: 0.55rem 0.85rem;
  display: block;
  border-radius: 0.65rem;
  color: #aeb9c7;
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.navbar.scrolled .nav-link {
  color: var(--text-light);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--text-dark);
  background: var(--bg-soft);
}

.nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.55rem;
}

.theme-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.7rem;
  color: #dce5ef;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: var(--transition);
}

.navbar.scrolled .theme-toggle {
  border-color: var(--border-color);
  color: var(--text-dark);
  background: var(--bg-soft);
}

.theme-toggle:hover {
  color: #061412;
  border-color: var(--primary-bright);
  background: var(--primary-bright);
  transform: translateY(-2px);
}

.theme-toggle svg {
  position: absolute;
  transition: var(--transition);
}

.sun-icon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.moon-icon {
  opacity: 0;
  transform: rotate(90deg) scale(0.65);
}

[data-theme="dark"] .sun-icon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.65);
}

[data-theme="dark"] .moon-icon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.nav-contact {
  padding: 0.65rem 1rem;
  border-radius: 0.7rem;
  color: #04120f;
  background: var(--primary-bright);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: var(--transition);
}

.nav-contact:hover {
  background: #7cebdd;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(36, 199, 181, 0.22);
}

.menu-toggle {
  width: 40px;
  height: 40px;
  display: none;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--border-color);
  border-radius: 0.7rem;
  background: var(--bg-soft);
  cursor: pointer;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: var(--text-dark);
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ================================================================
   BUTTONS
   ================================================================ */
.button {
  min-height: 50px;
  padding: 0.8rem 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid transparent;
  border-radius: 0.8rem;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.button-primary {
  color: #031512;
  background: var(--primary-bright);
}

.button-primary:hover {
  background: #7cf0e1;
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(36, 199, 181, 0.22);
}

.button-ghost {
  color: #dfe7ef;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.button-ghost:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-3px);
}

.button-light {
  color: #07110f;
  background: #f8fafc;
}

.button-light:hover {
  background: var(--primary-bright);
  transform: translateY(-3px);
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 8.5rem 0 4rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #f8fafc;
  background: linear-gradient(180deg, #06090d 0%, #080c12 100%);
}

[data-theme="dark"] .hero {
  background: linear-gradient(180deg, #020304 0%, #05080c 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: clamp(28rem, 48vw, 44rem);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
}

.hero::before {
  top: 8%;
  left: -10rem;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.18) 0%,
    transparent 68%
  );
}

.hero::after {
  right: -12rem;
  bottom: -8%;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.14) 0%,
    transparent 68%
  );
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  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: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 3rem, 1180px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.86fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.hero-copy {
  animation: fadeInUp 0.75s ease both;
}

.availability {
  width: max-content;
  margin-bottom: 1.7rem;
  padding: 0.45rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: #b7c4d2;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.availability-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.1);
  animation: pulse 2s ease-in-out infinite;
}

.hero-kicker {
  margin-bottom: 0.8rem;
  color: var(--primary-bright);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 760px;
  margin-bottom: 1.5rem;
  color: #f8fafc;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3rem, 5vw, 4.9rem);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: -0.06em;
}

.hero-title span {
  display: block;
  color: #8794a4;
}

.hero-subtitle {
  min-height: 2rem;
  margin-bottom: 0.7rem;
  color: #d7e0e9;
  font-size: 1.08rem;
  font-weight: 600;
}

.typing-text {
  padding-right: 4px;
  color: var(--primary-bright);
  border-right: 2px solid var(--primary-bright);
  animation: blink 0.8s infinite;
}

.hero-description {
  max-width: 620px;
  margin-bottom: 2rem;
  color: #8e9aaa;
  font-size: 1rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-stack {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-stack span {
  padding: 0.38rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0.55rem;
  color: #8190a0;
  background: rgba(255, 255, 255, 0.025);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  width: min(100%, 400px);
  justify-self: end;
  animation: fadeInUp 0.75s ease 0.15s both;
}

.portrait-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 1.5rem;
  background: #0b1016;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
  transform: rotate(1.5deg);
  transition: var(--transition);
}

.portrait-frame:hover {
  transform: rotate(0) translateY(-5px);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.portrait-topbar {
  height: 48px;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #697789;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.7rem;
}

.window-dots {
  display: flex;
  gap: 0.38rem;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #293440;
}

.window-dots span:first-child {
  background: #ef6b67;
}

.window-dots span:nth-child(2) {
  background: #eab84d;
}

.window-dots span:last-child {
  background: #46bb77;
}

.portrait-body {
  position: relative;
  aspect-ratio: 0.86;
  overflow: hidden;
}

.portrait-body img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
}

.portrait-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 5, 7, 0.94), transparent 52%);
}

.portrait-caption {
  position: absolute;
  right: 1.35rem;
  bottom: 1.35rem;
  left: 1.35rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.portrait-caption span {
  color: #8793a2;
  font-size: 0.72rem;
}

.portrait-caption strong {
  color: #f8fafc;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
}

.floating-card {
  position: absolute;
  z-index: 3;
  padding: 0.75rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.9rem;
  background: rgba(10, 15, 21, 0.88);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
}

.floating-card-code {
  top: 19%;
  left: -3rem;
  animation: float 6s ease-in-out infinite;
}

.floating-card-status {
  right: -2rem;
  bottom: 13%;
  animation: float 6s ease-in-out infinite -3s;
}

.floating-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 0.65rem;
  color: var(--primary-bright);
  background: rgba(36, 199, 181, 0.09);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
}

.status-ring {
  width: 12px;
  height: 12px;
  border: 3px solid rgba(74, 222, 128, 0.2);
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s ease-in-out infinite;
}

.floating-card strong,
.floating-card small {
  display: block;
  white-space: nowrap;
}

.floating-card strong {
  color: #eef4f8;
  font-size: 0.75rem;
}

.floating-card small {
  margin-top: 0.08rem;
  color: #748293;
  font-size: 0.64rem;
}

.scroll-cue {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #637181;
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue span:last-child {
  color: var(--primary-bright);
  animation: bounce 1.8s ease-in-out infinite;
}

/* ================================================================
   SHARED SECTION HEADINGS
   ================================================================ */
.section-heading {
  max-width: 760px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-heading-left {
  max-width: 840px;
  margin-left: 0;
  text-align: left;
}

.section-heading-split {
  max-width: none;
  margin: 0 0 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}

.section-heading-split > p {
  max-width: 820px;
  color: var(--text-light);
}

.section-index {
  margin-bottom: 0.9rem;
  display: block;
  color: var(--primary-color);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-title {
  color: var(--text-dark);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.section-subtitle {
  margin-top: 1rem;
  color: var(--text-light);
}

/* ================================================================
   ABOUT — BENTO LAYOUT
   ================================================================ */
.about {
  background: var(--bg-white);
}

.about-bento {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr 0.55fr;
  grid-template-rows: repeat(2, minmax(175px, auto));
  gap: 1rem;
}

.bento-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
}

.about-story {
  grid-row: span 2;
  padding: clamp(2rem, 4vw, 3.2rem);
}

.card-label {
  margin-bottom: 1.4rem;
  display: inline-flex;
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-story h3 {
  max-width: 570px;
  margin-bottom: 1.5rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.about-story p {
  max-width: 650px;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.about-values {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.about-values span {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--border-color);
  border-radius: 0.55rem;
  color: var(--text-light);
  background: var(--bg-soft);
  font-size: 0.72rem;
  font-weight: 700;
}

.about-quote {
  grid-row: span 2;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(145deg, transparent, rgba(22, 135, 217, 0.07)),
    var(--bg-elevated);
}

.quote-mark {
  position: absolute;
  top: 0.5rem;
  right: 1.5rem;
  color: var(--border-color);
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 1;
}

.about-quote p {
  position: relative;
  z-index: 1;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.quote-author {
  margin-top: 1.1rem;
  color: var(--text-light);
  font-size: 0.72rem;
}

.stat-item {
  min-height: 175px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: var(--transition);
}

.stat-item:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  color: var(--text-dark);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
}

.stat-number.loading::after {
  content: "...";
  animation: loadingDots 1.5s infinite;
}

.stat-label {
  margin-top: 0.6rem;
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ================================================================
   PROJECTS
   ================================================================ */
.projects {
  background: var(--bg-light);
}

/* ---- Heading row: title/subtitle on the left, CTA link on the right ---- */
.section-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.section-heading-row .section-heading-split {
  margin-bottom: 0;
}

.section-heading-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.35rem;
  flex-shrink: 0;
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.section-heading-cta span {
  transition: transform var(--transition);
}

.section-heading-cta:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.section-heading-cta:hover span {
  transform: translateX(4px);
}

/* ---- Bento grid ---- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 260px;
  grid-auto-flow: dense;
  gap: 1.25rem;
}

.projects-error {
  grid-column: 1 / -1;
  padding: 3rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  color: var(--text-light);
  background: var(--bg-elevated);
  text-align: center;
}

/* Grid sizing shared by the loading skeleton and real cards, driven by data-size */
.project-card,
.project-skeleton {
  grid-column: span 1;
  grid-row: span 1;
}

.project-card[data-size="2x1"],
.project-skeleton[data-size="2x1"] {
  grid-column: span 2;
}

.project-card[data-size="1x2"],
.project-skeleton[data-size="1x2"] {
  grid-row: span 2;
}

.project-card[data-size="2x2"],
.project-skeleton[data-size="2x2"] {
  grid-column: span 2;
  grid-row: span 2;
}

.project-skeleton {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}

.project-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(148, 163, 184, 0.14) 48%,
    transparent 76%
  );
  transform: translateX(-100%);
  animation: skeletonShimmer 1.5s ease-in-out infinite;
}

/* ---- Project card: full-bleed image with an overlay of details ---- */
.project-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.4s ease,
    box-shadow 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card:hover,
.project-card:focus-within {
  border-color: transparent;
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px var(--glow-primary),
    0 20px 48px -14px rgba(15, 159, 143, 0.38);
  transform: translateY(-8px) scale(1.016);
}

.project-card:focus-within {
  outline: none;
}

.project-media {
  position: absolute;
  inset: 0;
}

.project-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
  transition:
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.5s ease;
}

.project-card:hover .project-media img,
.project-card:focus-within .project-media img {
  transform: scale(1.07);
  filter: saturate(1.05) contrast(1.05);
}

.project-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(2, 4, 6, 0.95) 0%,
    rgba(2, 4, 6, 0.78) 28%,
    rgba(2, 4, 6, 0.4) 52%,
    rgba(2, 4, 6, 0.12) 75%,
    rgba(2, 4, 6, 0.12) 100%
  );
}

.project-top {
  position: absolute;
  z-index: 2;
  top: 0.9rem;
  left: 0.9rem;
  right: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card:hover .project-top,
.project-card:focus-within .project-top {
  transform: translateY(-2px);
}

.project-featured {
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  color: #04120f;
  background: var(--primary-bright);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.project-lang,
.project-stars {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  color: #f1f5f9;
  background: rgba(6, 10, 14, 0.55);
  backdrop-filter: blur(8px);
  font-size: 0.66rem;
  font-weight: 700;
  white-space: nowrap;
}

.project-content {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1.25rem 1.25rem;
  color: #ffffff;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card:hover .project-content,
.project-card:focus-within .project-content {
  transform: translateY(-4px);
}

.project-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.6),
    0 1px 3px rgba(0, 0, 0, 0.5);
}

.project-desc {
  margin: 0.5rem 0 0;
  overflow: hidden;
  opacity: 0;
  display: none;
  transform: translateY(0.6rem);
  color: #e2e8f0;
  font-size: 0.82rem;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-tags {
  margin-top: 0.75rem;
  display: none;
  flex-wrap: wrap;
  gap: 0.4rem;
  opacity: 0;
  transform: translateY(0.6rem);
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-tags .tag {
  padding: 0.26rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.45rem;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.project-tags .tag:hover {
  border-color: var(--primary-bright);
  background: rgba(36, 199, 181, 0.16);
}

.project-links {
  margin-top: 0.85rem;
  display: flex;
  gap: 0.5rem;
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal: description leads, tags follow */
.project-card:hover .project-desc,
.project-card:focus-within .project-desc {
  opacity: 1;
  display: -webkit-box;
  transform: translateY(0);
  transition-delay: 0.03s;
}

.project-card:hover .project-tags,
.project-card:focus-within .project-tags {
  opacity: 1;
  display: flex;
  transform: translateY(0);
  transition-delay: 0.09s;
}

.project-btn {
  padding: 0.48rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.55rem;
  color: #ffffff;
  background: rgba(6, 10, 14, 0.58);
  backdrop-filter: blur(10px);
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    var(--transition),
    transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-btn:hover {
  color: #031512;
  border-color: var(--primary-bright);
  background: var(--primary-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(36, 199, 181, 0.28);
}

/* Compact tiles show just the title + quick links, so nothing feels cramped */
.project-card[data-size="1x1"] .project-desc,
.project-card[data-size="1x1"] .project-tags {
  display: none;
}

/* Touch devices can't hover, so keep the description and tags visible up front */
@media (hover: none) {
  .project-desc {
    display: -webkit-box;
    opacity: 1;
    transform: none;
  }

  .project-tags {
    display: flex;
    opacity: 1;
    transform: none;
  }
}

/* ================================================================
   SKILLS
   ================================================================ */
.skills {
  background: var(--bg-white);
}

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

.skill-category {
  padding: 1.7rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  transition: var(--transition);
}

.skill-category:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.skill-card-head {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-bottom: 1px solid var(--border-color);
}

.skill-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 159, 143, 0.2);
  border-radius: 0.85rem;
  color: var(--primary-color);
  background: var(--glow-primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  transition: transform var(--transition);
}

.skill-category:hover .skill-icon {
  transform: scale(1.1) rotate(-4deg);
}

.skill-card-head div > span {
  color: var(--text-light);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skill-card-head h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.skill-list {
  display: grid;
  gap: 1.3rem;
}

.skill-header {
  margin-bottom: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.skill-percent {
  color: var(--text-light);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.68rem;
}

.skill-bar {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--bg-soft);
}

.skill-progress {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  box-shadow: 0 0 12px rgba(36, 199, 181, 0.22);
  transition: width 1.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ================================================================
   PROCESS
   ================================================================ */
.process {
  background: var(--bg-light);
}

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

.process-card {
  position: relative;
  min-height: 290px;
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  transition: var(--transition);
}

.process-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.process-number {
  position: absolute;
  top: 1.4rem;
  right: 1.5rem;
  color: var(--border-strong);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
}

.process-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-color);
  border-radius: 0.85rem;
  color: var(--secondary-color);
  background: var(--bg-soft);
  font-size: 1.2rem;
  transition: transform var(--transition);
}

.process-card:hover .process-icon {
  transform: scale(1.1) rotate(4deg);
}

.process-card h3 {
  margin-bottom: 0.65rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.process-card p {
  color: var(--text-light);
  font-size: 0.86rem;
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact {
  background: var(--bg-light);
}

.contact-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  color: #f8fafc;
  background: linear-gradient(135deg, #080c11 0%, #0c131c 100%);
  box-shadow: var(--shadow-lg);
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  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;
}

.contact-copy,
.contact-links {
  position: relative;
  z-index: 1;
}

.contact-copy .section-index {
  color: var(--primary-bright);
}

.contact-copy h2 {
  margin-bottom: 1.2rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.contact-copy h2 span {
  color: #8290a0;
}

.contact-copy p {
  max-width: 570px;
  margin-bottom: 2rem;
  color: #92a0b0;
}

.contact-links {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.contact-links > a {
  padding: 1.15rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  color: #f8fafc;
  text-decoration: none;
  transition: var(--transition);
}

.contact-links > a:hover {
  padding-left: 0.7rem;
  color: var(--primary-bright);
}

.contact-links small,
.contact-links strong {
  display: block;
}

.contact-links small {
  margin-bottom: 0.15rem;
  color: #748293;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-links strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

/* ================================================================
   FOOTER & BACK TO TOP
   ================================================================ */
.footer {
  padding: 2rem 0;
  color: var(--text-light);
  background: var(--bg-white);
  border-top: 1px solid var(--border-color);
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  color: var(--text-dark);
}

.footer-container p {
  font-size: 0.75rem;
}

.footer-container p:last-child {
  justify-self: end;
}

.back-to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 900;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 0.85rem;
  color: var(--text-dark);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem);
  transition: var(--transition);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  color: #031512;
  border-color: var(--primary-bright);
  background: var(--primary-bright);
  transform: translateY(-3px);
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.82);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

@keyframes blink {
  0%,
  48% {
    border-color: var(--primary-bright);
  }
  49%,
  100% {
    border-color: transparent;
  }
}

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

@keyframes loadingDots {
  0%,
  20% {
    content: ".";
  }
  40% {
    content: "..";
  }
  60%,
  100% {
    content: "...";
  }
}

@keyframes rainbow {
  to {
    filter: hue-rotate(360deg);
  }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (min-width: 821px) and (max-height: 820px) {
  .navbar {
    padding: 0.55rem 0;
  }

  .hero {
    padding: 6.75rem 0 2.5rem;
  }

  .availability {
    margin-bottom: 1rem;
  }

  .hero-kicker {
    margin-bottom: 0.5rem;
  }

  .hero-title {
    margin-bottom: 1rem;
    font-size: clamp(2.7rem, 4.5vw, 4.15rem);
  }

  .hero-description {
    margin-bottom: 1.25rem;
    line-height: 1.65;
  }

  .hero-stack {
    margin-top: 1.25rem;
  }

  .hero-visual {
    width: min(100%, 350px);
  }

  .portrait-topbar {
    height: 42px;
  }

  .scroll-cue {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 380px;
    gap: 3rem;
  }

  .hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
  }

  .floating-card-code {
    left: -1.5rem;
  }

  .floating-card-status {
    right: -1rem;
  }

  .about-bento {
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: auto auto;
  }

  .about-story {
    grid-column: 1;
    grid-row: span 2;
  }

  .about-quote {
    grid-column: 2;
    grid-row: 1;
    min-height: 240px;
  }

  .about-bento > .stat-item {
    min-height: 150px;
  }

  .about-bento > .stat-item:last-child {
    grid-column: 2;
  }

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

  .skill-category:last-child {
    grid-column: 1 / -1;
  }

  .projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 6rem 0;
  }

  .nav-container {
    grid-template-columns: 1fr auto;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    width: 100%;
    padding: 0.65rem;
    display: grid;
    gap: 0.2rem;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    background: var(--bg-elevated);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.75rem);
    transition: var(--transition);
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link,
  .navbar.scrolled .nav-link {
    padding: 0.8rem;
    color: var(--text-light);
  }

  .nav-link:hover,
  .nav-link.active,
  .navbar.scrolled .nav-link:hover,
  .navbar.scrolled .nav-link.active {
    color: var(--text-dark);
    background: var(--bg-soft);
  }

  .menu-toggle {
    display: grid;
  }

  .nav-contact {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 7.5rem 0 3.5rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    width: min(100%, 320px);
    justify-self: center;
    margin-top: 0.5rem;
  }

  .scroll-cue {
    display: none;
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }

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

  .process-card {
    min-height: 250px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-container p:last-child {
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .container,
  .hero-content {
    width: min(100% - 2rem, 1180px);
  }

  .section {
    padding: 5rem 0;
  }

  .navbar {
    padding-top: 0.65rem;
  }

  .nav-container {
    width: calc(100% - 1rem);
  }

  .hero {
    padding: 7rem 0 3rem;
  }

  .hero-title {
    font-size: clamp(2.6rem, 12vw, 3.5rem);
  }

  .hero-stack {
    display: none;
  }

  .hero-kicker {
    font-size: 0.68rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .portrait-frame {
    transform: none;
  }

  .floating-card-code {
    top: 16%;
    left: -0.4rem;
  }

  .floating-card-status {
    right: -0.4rem;
    bottom: 10%;
  }

  .floating-card {
    padding: 0.6rem 0.7rem;
  }

  .section-title {
    font-size: clamp(2.25rem, 11vw, 3.3rem);
  }

  /* Every project tile becomes a full-width, single-row card on phones */
  .projects-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 300px;
  }

  .project-card,
  .project-skeleton,
  .project-card[data-size="2x1"],
  .project-skeleton[data-size="2x1"],
  .project-card[data-size="1x2"],
  .project-skeleton[data-size="1x2"],
  .project-card[data-size="2x2"],
  .project-skeleton[data-size="2x2"] {
    grid-column: span 1;
    grid-row: span 1;
  }

  .project-card[data-size="1x1"] .project-desc {
    display: -webkit-box;
  }

  .project-card[data-size="1x1"] .project-tags {
    display: flex;
  }

  .about-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .about-story {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .about-quote {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 230px;
  }

  .about-bento > .stat-item,
  .about-bento > .stat-item:last-child {
    grid-column: auto;
    min-height: 140px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

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

  .skill-category:last-child {
    grid-column: auto;
  }

  .contact-panel {
    padding: 2rem 1.3rem;
    border-radius: var(--radius-lg);
  }

  .contact-copy h2 {
    font-size: 2.7rem;
  }
}

@media (max-width: 430px) {
  .logo > span:last-child {
    display: none;
  }

  .availability {
    font-size: 0.68rem;
  }

  .hero-stack {
    margin-top: 2rem;
  }

  .floating-card-code {
    display: none;
  }

  .floating-card-status {
    right: 0.5rem;
  }

  .project-links {
    opacity: 1;
    transform: none;
  }

  .about-story,
  .about-quote {
    padding: 1.5rem;
  }
}

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