
:root {
  --bg: #0a0a10;
  --panel: #11111b;
  --panel-light: #171724;
  --text: #f3f2fa;
  --muted: #9998ad;
  --purple: #a78bfa;
  --cyan: #68e4ed;
  --line: rgba(255, 255, 255, 0.10);
  --mono: "DM Mono", monospace;
  --font: "Space Grotesk", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  position: relative;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

::selection {
  background: var(--purple);
  color: #08080d;
}

.scroll-progress {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  box-shadow: 0 0 15px rgba(167, 139, 250, 0.6);
}

.page-glow {
  position: fixed;
  z-index: -2;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  pointer-events: none;
  animation: glowDrift 15s ease-in-out infinite alternate;
}

.glow-one {
  top: 8%;
  left: -250px;
  background: #8b5cf6;
}

.glow-two {
  top: 55%;
  right: -280px;
  background: #06b6d4;
  animation-delay: -6s;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  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='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

/* Navigation */

.navbar {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 7%;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 16, 0.78);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border: 1px solid rgba(167, 139, 250, 0.5);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(167, 139, 250, 0.18), rgba(104, 228, 237, 0.07));
  font-size: 20px;
  font-weight: 700;
}

.brand-mark span,
.gradient-text {
  color: var(--purple);
}

.brand-name {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
}

.brand-name span {
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
}

.nav-link {
  position: relative;
  padding: 28px 0;
  color: var(--muted);
  font-size: 12px;
  transition: color 0.25s ease;
}

.nav-link::after {
  position: absolute;
  bottom: 19px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  content: "";
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-contact {
  padding: 10px 15px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  border-radius: 7px;
  font-size: 12px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.nav-contact span {
  color: var(--cyan);
}

.nav-contact:hover {
  border-color: var(--purple);
  background: rgba(167, 139, 250, 0.1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Shared sections */

.section {
  position: relative;
  width: min(1120px, 86%);
  margin: 0 auto;
  padding: 115px 0;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 60px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.section-number,
.section-note,
.eyebrow,
.availability,
.hero-bottom,
.hero-socials,
.visual-index,
.float-tag,
.core-caption,
.project-meta,
.project-side,
.project-footnote,
.small-disclaimer,
.timeline-date,
.timeline-type,
.contact-label,
.footer-year,
.back-top {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.4px;
}

.section-number {
  color: var(--cyan);
}

.section-note {
  color: var(--muted);
}

.section-intro {
  margin-bottom: 38px;
}

.section-intro h2,
.about-title h2,
.direction-content h2,
.contact-copy h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.14;
  letter-spacing: -2px;
}

.section-intro > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--cyan);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  min-height: calc(100vh - 78px);
  padding-top: 75px;
  padding-bottom: 100px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 42px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.025);
  color: #d2d0df;
  font-size: 9px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(104, 228, 237, 0.8);
  animation: pulse 2s infinite;
}

.hero .eyebrow {
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(49px, 7vw, 82px);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: -5px;
}

.hero h1 .gradient-text {
  background: linear-gradient(100deg, #c4b5fd, #8b9bff 48%, #68e4ed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.role-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  font-size: 14px;
}

.role-prefix {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
}

#typedRole {
  color: var(--cyan);
}

.typing-cursor {
  color: var(--cyan);
  animation: blink 0.8s steps(2) infinite;
}

.hero-description {
  max-width: 490px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 31px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  min-height: 47px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button span {
  font-size: 17px;
}

.button-primary {
  background: linear-gradient(110deg, #b5a0ff, #8c9dff);
  color: #11101b;
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.button-primary:hover {
  background: linear-gradient(110deg, #c8bcff, #9aeaf0);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.25);
}

.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.button-ghost:hover {
  border-color: rgba(167, 139, 250, 0.6);
  background: rgba(167, 139, 250, 0.07);
}

.hero-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-top: 38px;
  color: var(--muted);
  font-size: 9px;
}

.hero-socials a {
  transition: color 0.2s;
}

.hero-socials a:hover {
  color: var(--cyan);
}

.social-divider {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #56556b;
}

/* Abstract hero artwork */

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 490px;
  overflow: hidden;
  isolation: isolate;
}

.visual-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 72%);
}

.visual-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 205px;
  height: 205px;
  border: 1px solid rgba(167, 139, 250, 0.38);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(167, 139, 250, 0.2), rgba(14, 14, 25, 0.85) 70%);
  box-shadow: 0 0 70px rgba(139, 92, 246, 0.14), inset 0 0 45px rgba(104, 228, 237, 0.04);
  animation: coreFloat 5s ease-in-out infinite;
}

.core-ring {
  position: absolute;
  inset: 13px;
  border: 1px dashed rgba(104, 228, 237, 0.4);
  border-radius: 50%;
  animation: rotate 30s linear infinite;
}

.core-letter {
  margin-top: -15px;
  font-size: 84px;
  font-weight: 700;
  letter-spacing: -7px;
}

.core-letter span {
  color: var(--cyan);
}

.core-caption {
  position: absolute;
  bottom: 43px;
  color: var(--muted);
  font-size: 7px;
  letter-spacing: 2px;
}

.orbit {
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 50%;
}

.orbit-outer {
  width: 410px;
  height: 410px;
  border-color: rgba(104, 228, 237, 0.16);
  transform: rotateX(64deg) rotateZ(-25deg);
  animation: orbitTilt 13s linear infinite;
}

.orbit-inner {
  width: 300px;
  height: 300px;
  border-color: rgba(167, 139, 250, 0.4);
  transform: rotateX(65deg) rotateZ(45deg);
  animation: orbitTilt 10s linear infinite reverse;
}

.orbit-small {
  width: 250px;
  height: 250px;
  border-style: dashed;
  border-color: rgba(104, 228, 237, 0.22);
  animation: rotate 45s linear infinite;
}

.float-tag {
  position: absolute;
  z-index: 2;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(15, 15, 25, 0.88);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
  color: #d7d3ef;
  font-size: 9px;
  letter-spacing: 0;
  backdrop-filter: blur(12px);
  animation: tagFloat 5s ease-in-out infinite;
}

.tag-top {
  top: 21%;
  right: 0;
}

.tag-bottom {
  bottom: 21%;
  left: 0;
  animation-delay: -2.5s;
}

.visual-index {
  position: absolute;
  right: 0;
  bottom: 10px;
  color: var(--muted);
  font-size: 8px;
}

.orbit-dot {
  position: absolute;
  z-index: 3;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 20px rgba(104, 228, 237, 0.8);
}

.dot-one { top: 19%; left: 30%; }
.dot-two { right: 12%; bottom: 32%; background: var(--purple); box-shadow: 0 0 20px rgba(167,139,250,.8); }
.dot-three { bottom: 19%; left: 36%; width: 5px; height: 5px; }

.hero-bottom {
  position: absolute;
  right: 0;
  bottom: 25px;
  left: 0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: var(--muted);
  font-size: 8px;
}

.hero-bottom a {
  color: var(--text);
}

.scroll-arrow {
  display: inline-block;
  margin-left: 6px;
  color: var(--cyan);
  animation: nudgeDown 1.5s ease-in-out infinite;
}

/* About */

.about-section {
  border-top: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
}

.about-title h2 {
  font-size: clamp(36px, 4.6vw, 57px);
}

.muted-text {
  color: #77768d;
}

.about-content p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.about-content .large-copy {
  color: var(--text);
  font-size: 21px;
  line-height: 1.6;
}

.about-location {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
  color: #d4d1e4;
  font-family: var(--mono);
  font-size: 10px;
}

.about-location span {
  color: var(--cyan);
}

/* Skills */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.skill-card {
  position: relative;
  min-height: 255px;
  padding: 25px 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255,255,255,0.035), rgba(255,255,255,0.008));
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.skill-card::before {
  position: absolute;
  top: -65px;
  right: -65px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--purple);
  content: "";
  filter: blur(70px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-7px);
  border-color: rgba(167, 139, 250, 0.45);
  background: linear-gradient(145deg, rgba(167,139,250,.08), rgba(255,255,255,.015));
}

.skill-card:hover::before {
  opacity: 0.22;
}

.skill-index {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #77758c;
  font-family: var(--mono);
  font-size: 10px;
}

.skill-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  margin-bottom: 27px;
  border: 1px solid rgba(104, 228, 237, 0.2);
  border-radius: 10px;
  background: rgba(104, 228, 237, 0.07);
  color: var(--cyan);
  font-size: 20px;
}

.skill-card h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.skill-card > p {
  min-height: 62px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-list span {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.025);
  color: #c4c1d8;
  font-family: var(--mono);
  font-size: 9px;
}

.small-disclaimer {
  margin-top: 22px;
  color: #77758a;
  font-size: 9px;
  line-height: 1.8;
  letter-spacing: 0.3px;
}

/* Projects */

.projects-list {
  display: grid;
  gap: 14px;
}

.project-card {
  display: grid;
  grid-template-columns: 65px minmax(0, 1fr) 90px;
  gap: 20px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.018);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(104, 228, 237, 0.28);
  background: rgba(104, 228, 237, 0.025);
}

.project-number {
  color: #66647a;
  font-family: var(--mono);
  font-size: 13px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.8px;
}

.status-pill {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 8px;
}

.status-concept {
  border: 1px solid rgba(251, 191, 36, 0.2);
  background: rgba(251, 191, 36, 0.07);
  color: #f6cf78;
}

.status-live {
  border: 1px solid rgba(104, 228, 237, 0.22);
  background: rgba(104, 228, 237, 0.06);
  color: var(--cyan);
}

.project-main h3 {
  margin-bottom: 12px;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.5px;
}

.project-main > p {
  max-width: 690px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.project-main .project-footnote {
  margin-top: 16px;
  margin-bottom: 0;
  color: #88869a;
  font-size: 9px;
  letter-spacing: 0.2px;
  line-height: 1.9;
}

.project-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  color: #77758a;
  font-size: 8px;
}

.project-arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 19px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.project-card:hover .project-arrow {
  transform: rotate(45deg);
  background: rgba(104, 228, 237, 0.08);
}

.text-link {
  display: inline-flex;
  gap: 10px;
  margin-top: 20px;
  color: var(--cyan);
  font-size: 12px;
}

.text-link span {
  transition: transform 0.2s;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

/* Education */

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin-left: 8px;
}

.timeline::before {
  position: absolute;
  top: 5px;
  bottom: 15px;
  left: 6px;
  width: 1px;
  background: linear-gradient(var(--purple), rgba(104,228,237,.25), transparent);
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 35px;
  padding: 0 0 45px 32px;
}

.timeline-marker {
  position: absolute;
  top: 4px;
  left: 0;
  width: 13px;
  height: 13px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 1px rgba(104,228,237,.45), 0 0 15px rgba(104,228,237,.25);
}

.timeline-date {
  color: var(--cyan);
  font-size: 9px;
  line-height: 1.8;
}

.timeline-type {
  color: #9b99b0;
  font-size: 9px;
}

.timeline-content h3 {
  margin: 8px 0;
  font-size: 20px;
  line-height: 1.4;
}

.timeline-content p {
  color: var(--muted);
  font-size: 13px;
}

.timeline-content .institution {
  margin-bottom: 12px;
  color: #d4d1e4;
}

.workshop-note {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 10px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.018);
}

.workshop-symbol {
  color: var(--purple);
  font-size: 23px;
}

.workshop-note h3 {
  margin-bottom: 5px;
  font-size: 15px;
}

.workshop-note p {
  color: var(--muted);
  font-size: 12px;
}

/* Direction */

.direction-section {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 65px;
  background: radial-gradient(ellipse at 90% 15%, rgba(139,92,246,.12), transparent 48%),
              linear-gradient(130deg, rgba(255,255,255,.035), rgba(255,255,255,.008));
}

.direction-section .section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 45px;
}

.direction-content {
  position: relative;
  z-index: 1;
  max-width: 690px;
}

.direction-content h2 {
  font-size: clamp(36px, 5vw, 60px);
}

.direction-content > p:not(.eyebrow) {
  max-width: 580px;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.direction-decoration {
  position: absolute;
  right: 3%;
  bottom: -130px;
  color: rgba(167, 139, 250, 0.055);
  font-size: 420px;
  line-height: 1;
  pointer-events: none;
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-copy h2 {
  font-size: clamp(38px, 5vw, 60px);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 390px;
  margin: 22px 0 27px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.contact-links {
  border-top: 1px solid var(--line);
}

.contact-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.25s ease;
}

.contact-row:hover {
  padding-right: 7px;
  padding-left: 7px;
}

.contact-label {
  color: var(--muted);
  font-size: 9px;
}

.contact-value {
  overflow-wrap: anywhere;
  font-size: 12px;
}

.contact-arrow {
  color: var(--cyan);
  transition: transform 0.25s;
}

.contact-row:hover .contact-arrow {
  transform: translate(3px, -3px);
}

/* Footer */

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 30px;
  padding: 30px 7%;
  border-top: 1px solid var(--line);
}

.footer-brand .brand-mark {
  width: 31px;
  height: 31px;
  font-size: 17px;
}

.footer-brand .brand-name {
  font-size: 9px;
}

.footer > p {
  color: var(--muted);
  font-size: 11px;
}

.back-top,
.footer-year {
  color: var(--muted);
  font-size: 9px;
}

.back-top:hover {
  color: var(--cyan);
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(.2,.7,.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.skills-grid .reveal:nth-child(2),
.projects-list .reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.skills-grid .reveal:nth-child(3),
.projects-list .reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.skills-grid .reveal:nth-child(4) {
  transition-delay: 0.24s;
}

/* Motion */

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px rgba(104,228,237,.8); }
  50% { opacity: .55; box-shadow: 0 0 4px rgba(104,228,237,.3); }
}

@keyframes blink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

@keyframes orbitTilt {
  0% { transform: rotateX(64deg) rotateZ(0deg); }
  100% { transform: rotateX(64deg) rotateZ(360deg); }
}

@keyframes coreFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes tagFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes glowDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(60px, 35px) scale(1.15); }
}

@keyframes nudgeDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Responsive */

@media (max-width: 1000px) {
  .navbar {
    padding: 0 5%;
  }

  .nav-links {
    gap: 17px;
  }

  .nav-link {
    font-size: 11px;
  }

  .hero {
    grid-template-columns: 1fr 0.85fr;
    gap: 10px;
  }

  .hero h1 {
    font-size: clamp(47px, 6vw, 67px);
  }

  .hero-visual {
    min-height: 400px;
  }

  .orbit-outer {
    width: 330px;
    height: 330px;
  }

  .about-grid,
  .contact-layout {
    gap: 45px;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 72px;
  }

  .navbar {
    min-height: 70px;
    padding: 0 6%;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 6% 25px;
    border-bottom: 1px solid var(--line);
    background: rgba(10, 10, 16, 0.97);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-contact {
    margin-top: 15px;
    text-align: center;
  }

  .section {
    width: 88%;
    padding: 80px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
    padding-top: 75px;
    padding-bottom: 95px;
  }

  .availability {
    margin-bottom: 30px;
  }

  .hero h1 {
    font-size: clamp(52px, 12vw, 78px);
    letter-spacing: -3.5px;
  }

  .hero-description {
    max-width: 560px;
  }

  .hero-visual {
    min-height: 350px;
    margin-top: 10px;
  }

  .visual-core {
    width: 165px;
    height: 165px;
  }

  .core-letter {
    font-size: 67px;
  }

  .core-caption {
    bottom: 32px;
    font-size: 6px;
  }

  .orbit-outer {
    width: 310px;
    height: 310px;
  }

  .orbit-inner {
    width: 245px;
    height: 245px;
  }

  .orbit-small {
    width: 210px;
    height: 210px;
  }

  .tag-top {
    top: 15%;
    right: 0;
  }

  .tag-bottom {
    bottom: 12%;
    left: 0;
  }

  .hero-bottom {
    bottom: 22px;
    flex-wrap: wrap;
    font-size: 7px;
  }

  .hero-year {
    display: none;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-title h2 {
    font-size: 42px;
  }

  .skills-grid {
    gap: 12px;
  }

  .skill-card {
    min-height: 245px;
    padding: 20px 15px;
  }

  .project-card {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
    padding: 22px 17px;
  }

  .project-side {
    display: none;
  }

  .project-meta {
    gap: 8px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 9px;
    padding-bottom: 35px;
  }

  .direction-section {
    width: 88%;
    padding: 35px 25px;
  }

  .direction-decoration {
    right: -20px;
    bottom: -50px;
    font-size: 250px;
  }

  .contact-row {
    grid-template-columns: 65px minmax(0, 1fr) 15px;
    gap: 8px;
  }

  .footer {
    padding: 25px 6%;
  }

  .footer > p {
    order: 3;
    width: 100%;
  }
}

@media (max-width: 430px) {
  .brand-name {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    gap: 12px;
    padding: 0 13px;
    font-size: 11px;
  }

  .hero-socials {
    gap: 10px;
    font-size: 8px;
  }

  .section-note {
    font-size: 8px;
    text-align: right;
  }

  .section-intro h2,
  .contact-copy h2 {
    font-size: 35px;
    letter-spacing: -1.5px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skill-card {
    min-height: auto;
  }

  .skill-card > p {
    min-height: 0;
  }

  .project-card {
    padding: 18px 13px;
  }

  .project-number {
    font-size: 10px;
  }

  .project-main h3 {
    font-size: 20px;
  }

  .contact-value {
    font-size: 10px;
  }

  .footer-brand .brand-name {
    font-size: 8px;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
