:root {
  --dark: #323232;
  --yellow: #ffdb00;
  --yellow-soft: #fff4a8;
  --black: #070707;
  --black-2: #101010;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f7f7ef;
  --muted: #b7b7ae;
  --line: rgba(255, 255, 255, 0.12);
  --cyan: #8ae6ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --header: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #050505;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  color: var(--text);
  background-color: #050505;
  background:
    linear-gradient(120deg, rgba(255, 219, 0, 0.06), transparent 28%, rgba(138, 230, 255, 0.04) 72%, transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 116px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 116px),
    linear-gradient(135deg, #050505 0%, #181818 46%, #323232 100%);
  font-family: "Outfit", "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 10%, rgba(255, 219, 0, 0.08) 30%, transparent 52%),
    linear-gradient(245deg, transparent 20%, rgba(255, 255, 255, 0.045) 48%, transparent 70%);
  filter: blur(18px);
  opacity: 0.62;
  animation: auroraShift 16s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 4px;
  mix-blend-mode: soft-light;
  opacity: 0.16;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

::selection {
  color: #111;
  background: var(--yellow);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0d0d0d;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--yellow), #8d7400);
  border: 2px solid #0d0d0d;
  border-radius: 999px;
}

.shell {
  width: calc(100% - 40px);
  max-width: 1180px;
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 112px 0;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 42px;
}

.section-head h2 {
  width: min(760px, 100%);
  margin: 0;
  font-family: "Space Grotesk", "Outfit", sans-serif;
  font-size: 3.2rem;
  line-height: 1.03;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0;
  color: var(--yellow);
  font-size: 0.93rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.loader {
  position: fixed;
  bottom: 20px;
  left: 50%;
  z-index: 1000;
  display: flex;
  width: min(210px, calc(100% - 40px));
  min-height: 82px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 5, 5, 0.72);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(18px);
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 0.65s ease, visibility 0.65s ease;
  animation: loaderAutoHide 0.65s ease 1.45s forwards;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #111;
  background: var(--yellow);
  border-radius: 8px;
  box-shadow: 0 0 42px rgba(255, 219, 0, 0.5);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.loader-line {
  width: 100px;
  height: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.loader-line span {
  display: block;
  width: 45%;
  height: 100%;
  background: var(--yellow);
  border-radius: inherit;
  animation: loadingLine 1.05s ease-in-out infinite;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-soft));
  box-shadow: 0 0 18px rgba(255, 219, 0, 0.75);
}

.particle-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cursor-glow {
  position: fixed;
  z-index: 998;
  width: 340px;
  height: 340px;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 219, 0, 0.18), rgba(255, 219, 0, 0.055) 38%, transparent 68%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 997;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 219, 0, 0.18), transparent);
  opacity: 0;
  transform: translateX(-100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.74);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(255, 219, 0, 0.24);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.055);
  border-radius: 999px;
  backdrop-filter: blur(20px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 16px;
  color: var(--muted);
  border-radius: 999px;
  font-size: 0.94rem;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #111;
  background: var(--yellow);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.nav-toggle i[data-lucide="menu"],
.nav-toggle i[data-lucide="x"] {
  position: relative;
  width: 20px;
  height: 20px;
}

.nav-toggle i[data-lucide="menu"]::before,
.nav-toggle i[data-lucide="menu"]::after,
.nav-toggle i[data-lucide="x"]::before,
.nav-toggle i[data-lucide="x"]::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.nav-toggle i[data-lucide="menu"]::before {
  top: 5px;
  box-shadow: 0 5px 0 currentColor;
}

.nav-toggle i[data-lucide="menu"]::after {
  bottom: 3px;
}

.nav-toggle i[data-lucide="x"]::before,
.nav-toggle i[data-lucide="x"]::after {
  top: 9px;
}

.nav-toggle i[data-lucide="x"]::before {
  transform: rotate(45deg);
}

.nav-toggle i[data-lucide="x"]::after {
  transform: rotate(-45deg);
}

.hero {
  display: grid;
  min-height: calc(100vh - var(--header) - 18px);
  align-items: center;
  padding-top: 42px;
  padding-bottom: 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.76fr);
  gap: 64px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-title {
  max-width: 760px;
  margin: 16px 0 18px;
  font-family: "Space Grotesk", "Outfit", sans-serif;
  font-size: 5.6rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.type-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 1.12rem;
}

.type-row span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  color: #111;
  background: var(--yellow);
  border-radius: 999px;
  font-weight: 800;
}

.type-row strong {
  color: var(--yellow-soft);
  font-weight: 700;
}

.type-row strong::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.2em;
  margin-left: 5px;
  vertical-align: -0.2em;
  background: var(--yellow);
  animation: blink 0.75s steps(2, start) infinite;
}

.hero-text {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  overflow: hidden;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 7px;
  opacity: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.28), transparent 40%, rgba(255, 255, 255, 0.16));
  transition: opacity 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  color: #101010;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-soft));
  box-shadow: 0 18px 46px rgba(255, 219, 0, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 22px 58px rgba(255, 219, 0, 0.36);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid rgba(255, 219, 0, 0.36);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.btn-ghost:hover {
  color: var(--yellow);
  border-color: rgba(255, 219, 0, 0.78);
  box-shadow: 0 18px 46px rgba(255, 219, 0, 0.12);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-meta a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.055);
  border-radius: 999px;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.hero-meta a:hover {
  color: var(--yellow);
  border-color: rgba(255, 219, 0, 0.5);
  transform: translateY(-2px);
}

.hero-meta svg {
  width: 17px;
  height: 17px;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  perspective: 1200px;
}

.profile-card {
  position: absolute;
  inset: 32px 0 0;
  display: grid;
  place-items: end center;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    linear-gradient(180deg, rgba(255, 219, 0, 0.1), transparent 45%);
  border-radius: 8px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  transform-style: preserve-3d;
  animation: floatSoft 5.6s ease-in-out infinite;
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  padding: 1px;
  border-radius: 8px;
  background: linear-gradient(130deg, rgba(255, 219, 0, 0.92), rgba(255, 255, 255, 0.08), rgba(138, 230, 255, 0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.75;
}

.profile-stage {
  position: absolute;
  inset: 28px 24px 0;
  display: grid;
  place-items: end center;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 219, 0, 0.22), transparent 52%),
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.16), transparent 38%),
    #141414;
}

.profile-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.62));
  pointer-events: none;
}

.profile-stage img {
  position: relative;
  z-index: 1;
  width: min(86%, 430px);
  height: auto;
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.38));
  transform: translateZ(68px);
}

.profile-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(10, 10, 10, 0.62);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  transform: translateZ(110px);
}

.profile-chip svg {
  width: 18px;
  color: var(--yellow);
}

.chip-top {
  top: 78px;
  right: -18px;
}

.chip-bottom {
  bottom: 70px;
  left: -20px;
}

.orbit-ring {
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(255, 219, 0, 0.22);
  border-radius: 8px;
  transform: rotate(8deg);
  animation: rotatePanel 18s linear infinite;
}

.ring-two {
  inset: 17%;
  border-color: rgba(255, 255, 255, 0.12);
  animation-duration: 26s;
  animation-direction: reverse;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  display: grid;
  width: 34px;
  height: 54px;
  place-items: start center;
  padding-top: 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 6px;
  height: 10px;
  border-radius: 999px;
  background: var(--yellow);
  animation: scrollPulse 1.3s ease-in-out infinite;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.about-content {
  display: grid;
  gap: 18px;
}

.glass-panel,
.stat-card,
.about-mini,
.about-focus-card,
.skill-bar,
.skill-card,
.project-card,
.tool-card,
.timeline-card,
.contact-link,
.contact-form {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.glass-panel {
  padding: 34px;
}

.glass-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.glass-panel p + p {
  margin-top: 18px;
}

.about-story {
  position: relative;
  grid-column: span 7;
  min-height: 430px;
  overflow: hidden;
  padding: 38px;
}

.about-story::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    linear-gradient(135deg, rgba(255, 219, 0, 0.16), transparent 36%),
    linear-gradient(315deg, rgba(138, 230, 255, 0.08), transparent 42%);
  opacity: 0.9;
  pointer-events: none;
}

.about-story::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(255, 219, 0, 0.24);
  border-radius: 8px;
  transform: rotate(22deg);
  animation: rotatePanel 24s linear infinite;
}

.about-number {
  position: absolute;
  right: 30px;
  top: 18px;
  color: var(--yellow);
  font-family: "Space Grotesk", sans-serif;
  font-size: 8rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0.08;
}

.about-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  max-width: 720px;
}

.about-label {
  display: inline-flex;
  width: max-content;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  color: #111;
  background: var(--yellow);
  border-radius: 999px;
  font-weight: 800;
}

.about-copy h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.25rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.about-stack {
  grid-column: span 5;
  display: grid;
  gap: 18px;
}

.about-mini {
  position: relative;
  display: grid;
  min-height: 206px;
  align-content: start;
  gap: 14px;
  overflow: hidden;
  padding: 28px;
}

.about-mini::after,
.about-focus-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% -20%;
  height: 112px;
  background: linear-gradient(90deg, transparent, rgba(255, 219, 0, 0.16), transparent);
  opacity: 0;
  transform: rotate(-8deg);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.about-mini:hover::after,
.about-focus-card:hover::after {
  opacity: 1;
  transform: rotate(-8deg) translateY(-78px);
}

.about-mini svg {
  width: 34px;
  height: 34px;
  color: var(--yellow);
}

.about-mini span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}

.about-mini p,
.about-focus-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.about-chips {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-chips span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  color: var(--text);
  border: 1px solid rgba(255, 219, 0, 0.22);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  backdrop-filter: blur(16px);
}

.about-chips svg {
  width: 17px;
  height: 17px;
  color: var(--yellow);
  flex: 0 0 auto;
}

.about-focus-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-focus-card {
  position: relative;
  display: grid;
  min-height: 224px;
  align-content: start;
  gap: 14px;
  overflow: hidden;
  padding: 26px;
}

.about-focus-card strong {
  color: var(--yellow);
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.about-focus-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.about-stats {
  grid-column: 1 / -1;
}

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

.stat-card {
  display: grid;
  min-height: 154px;
  align-content: center;
  gap: 10px;
  padding: 24px;
}

.stat-card strong {
  color: var(--yellow);
  font-family: "Space Grotesk", sans-serif;
  font-size: 3rem;
  line-height: 1;
}

.stat-card span:last-child {
  color: var(--muted);
}

.skills-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
}

.skill-list {
  display: grid;
  gap: 16px;
}

.skill-bar {
  position: relative;
  min-height: 104px;
  padding: 24px;
  overflow: hidden;
}

.skill-bar div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  font-weight: 800;
}

.skill-bar strong {
  color: var(--yellow);
}

.skill-bar i {
  position: relative;
  display: block;
  height: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.skill-bar i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--skill-width, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-soft));
  box-shadow: 0 0 28px rgba(255, 219, 0, 0.42);
  transition: width 1.15s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.skill-card {
  display: grid;
  min-height: 288px;
  align-content: start;
  gap: 18px;
  padding: 26px;
  overflow: hidden;
  position: relative;
}

.skill-card::after,
.project-card::after,
.tool-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -35% -30%;
  height: 110px;
  background: linear-gradient(90deg, transparent, rgba(255, 219, 0, 0.18), transparent);
  transform: rotate(-8deg);
  transition: transform 0.45s ease, opacity 0.45s ease;
  opacity: 0;
}

.skill-card:hover::after,
.project-card:hover::after,
.tool-card:hover::after {
  transform: rotate(-8deg) translateY(-80px);
  opacity: 1;
}

.skill-card svg {
  width: 42px;
  height: 42px;
  color: var(--yellow);
}

.skill-card h3,
.project-body h3,
.timeline-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.skill-card p,
.project-body p,
.timeline-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.project-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  min-height: 42px;
  padding: 0 18px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
  color: #111;
  background: var(--yellow);
  border-color: transparent;
  transform: translateY(-2px);
}

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

.project-card {
  position: relative;
  overflow: hidden;
}

.project-media {
  aspect-ratio: 16 / 9.4;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #111;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}

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

.project-body {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.project-body > span,
.modal-content > span {
  color: var(--yellow);
  font-weight: 800;
}

.project-open {
  justify-self: start;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: var(--text);
  border: 1px solid rgba(255, 219, 0, 0.3);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.project-open:hover {
  color: var(--yellow);
  border-color: rgba(255, 219, 0, 0.72);
  transform: translateY(-2px);
}

.project-open svg {
  width: 16px;
}

.tool-orbit {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.tool-card {
  display: grid;
  min-height: 176px;
  place-items: center;
  gap: 14px;
  padding: 22px;
  text-align: center;
  animation: toolFloat 5.4s ease-in-out infinite;
}

.tool-card:nth-child(2),
.tool-card:nth-child(5) {
  animation-delay: 0.8s;
}

.tool-card:nth-child(3),
.tool-card:nth-child(6) {
  animation-delay: 1.45s;
}

.tool-card span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #111;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-soft));
  border-radius: 8px;
  box-shadow: 0 0 26px rgba(255, 219, 0, 0.28);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
}

.tool-card strong {
  font-size: 0.98rem;
}

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

.timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 20px;
  width: 2px;
  background: linear-gradient(var(--yellow), rgba(255, 255, 255, 0.08));
  box-shadow: 0 0 22px rgba(255, 219, 0, 0.32);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.timeline-dot {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 219, 0, 0.5);
  background: #151515;
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(255, 219, 0, 0.28);
}

.timeline-dot::after {
  content: "";
  position: absolute;
  inset: 11px;
  background: var(--yellow);
  border-radius: inherit;
}

.timeline-card {
  padding: 28px;
}

.timeline-card time {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 12px;
  color: #111;
  background: var(--yellow);
  border-radius: 999px;
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
}

.contact-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}

.contact-link {
  display: flex;
  min-height: 92px;
  align-items: center;
  gap: 16px;
  padding: 20px;
  color: var(--muted);
  transition: border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.contact-link:hover {
  color: var(--text);
  border-color: rgba(255, 219, 0, 0.48);
  transform: translateY(-3px);
}

.contact-link svg {
  width: 26px;
  height: 26px;
  color: var(--yellow);
  flex: 0 0 auto;
}

.contact-link span {
  display: grid;
  gap: 4px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-link strong {
  color: var(--text);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  outline: 0;
  background: rgba(0, 0, 0, 0.32);
  border-radius: 8px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contact-form input,
.contact-form select {
  min-height: 52px;
  padding: 0 14px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 146px;
  padding: 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 219, 0, 0.72);
  background: rgba(0, 0, 0, 0.44);
  box-shadow: 0 0 0 4px rgba(255, 219, 0, 0.08);
}

.contact-form .btn {
  justify-self: start;
}

.contact-form.is-sending input,
.contact-form.is-sending select,
.contact-form.is-sending textarea {
  pointer-events: none;
  opacity: 0.72;
}

.footer {
  position: relative;
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer p {
  margin: 0;
  color: var(--muted);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a,
.back-to-top,
.modal-close {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.footer-social a:hover,
.back-to-top:hover,
.modal-close:hover {
  color: #111;
  border-color: transparent;
  background: var(--yellow);
  transform: translateY(-3px);
}

.footer-social svg,
.back-to-top svg,
.modal-close svg {
  width: 20px;
  height: 20px;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 850;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}

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

.project-modal {
  width: min(980px, calc(100% - 32px));
  padding: 0;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 12, 12, 0.88);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.project-modal::backdrop {
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(8px);
}

.modal-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 0;
}

.modal-shell img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  background: #111;
}

.modal-content {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 38px;
}

.modal-content h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem;
  line-height: 1.1;
}

.modal-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.modal-content ul {
  display: grid;
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.modal-content li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.modal-content li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(255, 219, 0, 0.48);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 940;
  max-width: min(420px, calc(100% - 32px));
  padding: 14px 18px;
  color: #111;
  background: var(--yellow);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.36);
  font-weight: 800;
  transform: translate(-50%, 22px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
}

.toast.visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

@keyframes loadingLine {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(230%);
  }
}

@keyframes loaderAutoHide {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@keyframes auroraShift {
  0% {
    transform: translate3d(-2%, -1%, 0) skewX(-4deg);
  }
  100% {
    transform: translate3d(2%, 1%, 0) skewX(4deg);
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateX(0deg);
  }
  50% {
    transform: translate3d(0, -16px, 0) rotateX(2deg);
  }
}

@keyframes rotatePanel {
  to {
    transform: rotate(368deg);
  }
}

@keyframes scrollPulse {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(20px);
    opacity: 0;
  }
}

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

@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .skills-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-story,
  .about-stack,
  .about-chips,
  .about-focus-grid,
  .about-stats {
    grid-column: 1 / -1;
  }

  .hero {
    min-height: auto;
  }

  .hero-title {
    font-size: 4.5rem;
  }

  .hero-visual {
    min-height: 560px;
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }

  .skill-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tool-orbit {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  :root {
    --header: 74px;
  }

  .shell {
    width: calc(100% - 28px);
    max-width: 1180px;
  }

  .section {
    padding: 86px 0;
  }

  .section-head h2 {
    font-size: 2.45rem;
  }

  .nav-toggle {
    display: grid;
    position: relative;
    z-index: 1002;
    margin-left: auto;
    color: #111;
    border-color: transparent;
    background: var(--yellow);
    box-shadow: 0 0 22px rgba(255, 219, 0, 0.2);
  }

  .nav-links {
    position: fixed;
    top: calc(var(--header) + 10px);
    right: 14px;
    left: 14px;
    display: grid;
    gap: 6px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(8, 8, 8, 0.92);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  }

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

  .nav-link {
    justify-content: center;
    border-radius: 8px;
  }

  .hero-title {
    font-size: 3.8rem;
  }

  .hero-grid {
    gap: 38px;
  }

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

  .stat-grid,
  .about-focus-grid,
  .skill-card-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .modal-shell {
    grid-template-columns: 1fr;
  }

  .modal-shell img {
    min-height: 270px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 72px 0;
  }

  .section-head h2 {
    font-size: 2.05rem;
  }

  .brand span {
    font-size: 0.98rem;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-title {
    font-size: 2.55rem;
    line-height: 1.08;
    max-width: 100%;
  }

  .type-row {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero-actions,
  .hero-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-meta a,
  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 430px;
    overflow: hidden;
    border-radius: 8px;
  }

  .profile-card {
    inset: 24px 0 0;
  }

  .profile-stage {
    inset: 20px 16px 0;
  }

  .profile-chip {
    font-size: 0.86rem;
  }

  .chip-top {
    top: 48px;
    right: 8px;
  }

  .chip-bottom {
    bottom: 42px;
    left: 8px;
  }

  .glass-panel,
  .about-story,
  .about-mini,
  .about-focus-card,
  .timeline-card,
  .contact-form,
  .project-body {
    padding: 22px;
  }

  .about-story {
    min-height: auto;
  }

  .about-copy h3 {
    font-size: 1.72rem;
  }

  .about-number {
    font-size: 5rem;
  }

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

  .tool-card {
    min-height: 148px;
  }

  .contact-link {
    align-items: flex-start;
  }

  .modal-content {
    padding: 24px;
  }

  .modal-content h3 {
    font-size: 1.7rem;
  }
}

@media (hover: none) {
  .cursor-glow {
    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;
  }
}
