/* ============================================
   VARIABLES & RESET
   ============================================ */
:root {
  --bg: #0a0a0b;
  --bg-secondary: #111113;
  --text: #f0ede8;
  --text-muted: #6b6b73;
  --accent: #ff4d4d;
  --accent-secondary: #00d4ff;
  --accent-tertiary: #b4ff00;
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: all 0.4s var(--ease-out-expo);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

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

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

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

/* ============================================
   BACKGROUND SHAPES
   ============================================ */
.bg-shapes {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  animation: floatShape 20s ease-in-out infinite;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -200px;
  right: -200px;
  animation-delay: 0s;
}

.shape-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-secondary);
  bottom: -150px;
  left: -150px;
  animation-delay: -5s;
}

.shape-3 {
  width: 400px;
  height: 400px;
  background: var(--accent-tertiary);
  top: 50%;
  left: 60%;
  animation-delay: -10s;
}

.shape-4 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  top: 30%;
  left: 10%;
  animation-delay: -15s;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -50px) scale(1.05); }
  50% { transform: translate(-20px, 30px) scale(0.95); }
  75% { transform: translate(40px, 20px) scale(1.02); }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4rem;
  mix-blend-mode: difference;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  transition: var(--transition-smooth);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out-expo);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: none;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--text);
  transition: var(--transition-smooth);
}

/* ============================================
   SECTION LABEL
   ============================================ */
.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 8vw;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 8vw;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
}

.hero-text-block {
  display: flex;
  flex-direction: column;
}

.hero-label {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin-bottom: 2.5rem;
}

.title-line {
  display: block;
}

.title-line-accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--text);
  position: relative;
}

.title-line-accent::after {
  content: 'Li';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  -webkit-text-stroke: 0;
  clip-path: inset(0 100% 0 0);
  animation: revealText 1.2s var(--ease-out-expo) 0.5s forwards;
}

@keyframes revealText {
  to { clip-path: inset(0 0 0 0); }
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.03em;
  max-width: 380px;
  line-height: 1.8;
}

.hero-image-block {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image-frame {
  position: relative;
  width: min(480px, 38vw);
  aspect-ratio: 3/4;
}

.hero-image-frame::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 77, 77, 0.25);
  z-index: -1;
  transition: transform 0.6s var(--ease-out-expo);
}

.hero-image-frame::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 60%;
  height: 60%;
  border: 1px solid rgba(0, 212, 255, 0.15);
  z-index: -1;
  transition: transform 0.6s var(--ease-out-expo);
}

.hero-image-frame:hover::before {
  transform: translate(-8px, 8px);
}

.hero-image-frame:hover::after {
  transform: translate(8px, -8px);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  transition: filter 0.4s;
}

.hero-image-frame:hover .hero-photo {
  filter: saturate(1) contrast(1);
}

.hero-image-accent {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 60%, rgba(255, 77, 77, 0.08) 100%);
  pointer-events: none;
}

.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 8vw;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.scroll-indicator span {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 60px;
  height: 1px;
  background: var(--text-muted);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 2s var(--ease-out-expo) infinite;
}

@keyframes scrollLine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: 12rem 4rem;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.about-image-wrap {
  position: relative;
  overflow: visible;
}

.about-image {
  width: 100%;
  height: 600px;
  object-fit: cover;
  filter: saturate(0.8);
  border-radius: 2px;
}

.about-image-accent {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid var(--accent);
  top: -40px;
  left: -40px;
  z-index: -1;
  transition: var(--transition-smooth);
}

.about-image-wrap:hover .about-image-accent {
  transform: translate(-10px, -10px);
  box-shadow: 20px 20px 0 rgba(255, 77, 77, 0.2);
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.about-bio {
  margin-bottom: 3rem;
}

.about-bio p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-weight: 300;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  gap: 4rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

/* ============================================
   WORKS SECTION
   ============================================ */
.works {
  padding: 10rem 4rem;
  position: relative;
}

.works-header {
  margin-bottom: 5rem;
}

.works-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.work-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
  border-radius: 3px;
  transition: var(--transition-smooth);
}

.work-card:nth-child(2) {
  margin-top: 5rem;
}

.work-card:nth-child(4) {
  margin-top: -5rem;
}

.work-card:hover {
  transform: translateY(-8px) rotate(1deg);
}

.work-image-wrap {
  overflow: hidden;
  height: 400px;
}

.work-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.work-card:hover .work-image {
  transform: scale(1.08);
}

.work-info {
  padding: 2rem;
}

.work-cat {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}

.work-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.work-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}

.work-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}

/* ============================================
   EDUCATION SECTION
   ============================================ */
.education {
  padding: 10rem 4rem;
  position: relative;
}

.edu-header {
  margin-bottom: 5rem;
}

.edu-main-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.edu-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
  border-radius: 3px;
  transition: var(--transition-smooth);
}

.edu-card:hover {
  transform: translateY(-8px) rotate(1deg);
}

.edu-image-wrap {
  overflow: hidden;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 2rem;
}

.edu-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s var(--ease-out-expo);
  filter: grayscale(20%);
  opacity: 0.8;
}

.edu-card:hover .edu-image {
  transform: scale(1.05);
  filter: grayscale(0%);
  opacity: 1;
}

.edu-logo-placeholder {
  width: 80px;
  height: 80px;
  color: var(--accent);
}

.edu-logo-placeholder svg {
  width: 100%;
  height: 100%;
}

.edu-info {
  padding: 2rem;
}

.edu-school {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--accent);
  text-transform: uppercase;
}

.edu-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}

.edu-note {
  padding: 1rem 2rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.05);
  font-weight: 300;
}

/* ============================================
   EXPERIENCE SECTION
   ============================================ */
.experience {
  padding: 10rem 4rem;
  position: relative;
}

.experience .edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.experience .edu-card:nth-child(2) {
  margin-top: 4rem;
}

.experience .edu-card:nth-child(3) {
  margin-top: 8rem;
}

/* ============================================
   HOBBIES SECTION
   ============================================ */
.hobbies {
  padding: 10rem 4rem;
  position: relative;
}

.hobbies-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hobby-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem 1.5rem;
  background: var(--bg-secondary);
  border-radius: 3px;
  transition: var(--transition-smooth);
  text-align: center;
}

.hobby-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 77, 77, 0.08);
}

.hobby-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.hobby-name {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.hobby-item:hover .hobby-name {
  color: var(--accent);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: 12rem 4rem;
  position: relative;
  overflow: hidden;
}

.contact-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

.contact-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 3rem;
  max-width: 450px;
}

.contact-email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  position: relative;
  transition: var(--transition-smooth);
}

.contact-email::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out-expo);
}

.contact-email:hover {
  color: var(--accent);
}

.contact-email:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.contact-socials {
  display: flex;
  gap: 2rem;
  margin-top: 4rem;
}

.social-link {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: var(--transition-smooth);
}

.social-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-out-expo);
}

.social-link:hover {
  color: var(--text);
}

.social-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.contact-decoration {
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.deco-circle {
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255, 77, 77, 0.1);
  border-radius: 50%;
  animation: rotateCircle 30s linear infinite;
}

@keyframes rotateCircle {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 3rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copy,
.footer-credit {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */

/* Large Desktop - 1440px+ */
@media (min-width: 1440px) {
  .hero {
    padding: 6rem 10vw;
  }

  .hero-inner {
    max-width: 1600px;
  }

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

  .about-grid,
  .edu-timeline,
  .works-grid {
    max-width: 1400px;
  }

  .about {
    padding: 14rem 6rem;
  }

  .works {
    padding: 12rem 6rem;
  }

  .education,
  .experience {
    padding: 12rem 8vw;
  }
}

/* Desktop - 1200px to 1439px */
@media (max-width: 1439px) and (min-width: 1200px) {
  .hero-title {
    font-size: clamp(4.5rem, 9vw, 8rem);
  }
}

/* Tablet Landscape - 1024px to 1199px */
@media (max-width: 1024px) {
  .hero {
    padding: 6rem 4vw;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 4vw;
    text-align: center;
  }

  .hero-image-block {
    order: -1;
  }

  .hero-image-frame {
    width: min(350px, 50vw);
  }

  .hero-text-block {
    align-items: center;
  }

  .hero-label {
    margin-bottom: 1.5rem;
  }

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

  .hero-subtitle {
    max-width: 500px;
  }

  .scroll-indicator {
    display: none;
  }

  .nav {
    padding: 1.5rem 3rem;
  }

  .about {
    padding: 8rem 4rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    max-width: 800px;
  }

  .about-image-wrap {
    max-width: 500px;
    margin: 0 auto;
  }

  .about-image {
    height: 450px;
  }

  .about-image-accent {
    width: 200px;
    height: 200px;
    top: -30px;
    left: -30px;
  }

  .about-stats {
    justify-content: center;
    gap: 3rem;
  }

  .about-bio {
    text-align: center;
  }

  .about-bio p {
    font-size: 1rem;
  }

  .about-title {
    text-align: center;
  }

  .works {
    padding: 8rem 4rem;
  }

  .works-header {
    margin-bottom: 4rem;
  }

  .work-card:nth-child(2) {
    margin-top: 4rem;
  }

  .work-card:nth-child(4) {
    margin-top: -4rem;
  }

  .contact {
    padding: 8rem 4rem;
  }

  .education,
  .experience {
    padding: 8rem 4vw;
  }

  .edu-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 4rem;
  }

  .edu-main-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
  }

  .edu-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .edu-image-wrap {
    height: 220px;
  }

  .edu-info {
    padding: 1.5rem;
  }

  .edu-school {
    font-size: 1rem;
  }

  .edu-desc {
    font-size: 0.8125rem;
  }

  .edu-note {
    font-size: 0.75rem;
    padding: 0.75rem 1.5rem;
  }

  .experience .edu-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .experience .edu-card:nth-child(2) {
    margin-top: 3rem;
  }

  .experience .edu-card:nth-child(3) {
    margin-top: 6rem;
  }

  .hobbies {
    padding: 8rem 4rem;
  }

  .hobbies-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .footer {
    padding: 2.5rem 4rem;
  }
}

/* Tablet Portrait - 768px to 1023px */
@media (max-width: 1023px) and (min-width: 768px) {
  .nav-links {
    gap: 2rem;
  }

  .nav-link {
    font-size: 0.8125rem;
  }

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

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

  .edu-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 3rem auto 0;
  }

  .experience .edu-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .experience .edu-card:nth-child(2) {
    margin-top: 3rem;
  }

  .experience .edu-card:nth-child(3) {
    margin-top: 6rem;
  }

  .hobbies-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .work-info {
    padding: 1.5rem;
  }

  .work-title {
    font-size: 1.5rem;
  }
}

/* Mobile - up to 767px */
@media (max-width: 767px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    padding: 1.25rem 1.5rem;
  }

  .hero {
    padding: 5rem 1.5rem 3rem;
    min-height: auto;
  }

  .hero-inner {
    gap: 3rem;
  }

  .hero-image-frame {
    width: min(280px, 70vw);
  }

  .hero-image-frame::before {
    top: -20px;
    right: -20px;
  }

  .hero-image-frame::after {
    bottom: -15px;
    left: -15px;
  }

  .hero-label {
    font-size: 0.6875rem;
    letter-spacing: 0.25em;
    margin-bottom: 1rem;
  }

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

  .hero-subtitle {
    font-size: 0.9375rem;
    line-height: 1.7;
  }

  .about {
    padding: 5rem 1.5rem;
  }

  .about-image {
    height: 350px;
  }

  .about-image-accent {
    width: 150px;
    height: 150px;
    top: -20px;
    left: -20px;
  }

  .about-title {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }

  .about-stats {
    gap: 2rem;
  }

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

  .about-bio p {
    font-size: 0.9375rem;
  }

  .works {
    padding: 5rem 1.5rem;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .work-card:nth-child(2),
  .work-card:nth-child(4) {
    margin-top: 0;
  }

  .work-image-wrap {
    height: 260px;
  }

  .work-info {
    padding: 1.5rem;
  }

  .work-number {
    font-size: 3rem;
    top: 1rem;
    right: 1rem;
  }

  .education,
  .experience {
    padding: 5rem 1.5rem;
  }

  .edu-header {
    margin-bottom: 3rem;
  }

  .edu-main-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .edu-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .edu-image-wrap {
    height: 200px;
  }

  .edu-info {
    padding: 1.5rem;
  }

  .edu-school {
    font-size: 1rem;
  }

  .edu-desc {
    font-size: 0.8125rem;
  }

  .edu-note {
    font-size: 0.6875rem;
    padding: 0.75rem 1.5rem;
  }

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

  .hobbies {
    padding: 5rem 1.5rem;
  }

  .hobbies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .hobby-item {
    padding: 1.5rem 1rem;
  }

  .hobby-icon {
    font-size: 2rem;
  }

  .hobby-name {
    font-size: 0.6875rem;
  }

  .contact {
    padding: 5rem 1.5rem;
  }

  .contact-title {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }

  .contact-subtitle {
    font-size: 0.9375rem;
  }

  .contact-email {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
  }

  .contact-socials {
    gap: 1.5rem;
  }

  .social-link {
    font-size: 0.75rem;
  }

  .footer {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .footer-copy,
  .footer-credit {
    font-size: 0.75rem;
  }
}

/* Small Mobile - up to 480px */
@media (max-width: 480px) {
  .hero-image-frame {
    width: min(240px, 80vw);
  }

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

  .about-image {
    height: 280px;
  }

  .about-stats {
    gap: 1.5rem;
  }

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

  .stat-label {
    font-size: 0.6875rem;
  }

  .work-image-wrap {
    height: 220px;
  }

  .edu-image-wrap {
    height: 160px;
  }

  .edu-info {
    padding: 1rem;
  }

  .edu-school {
    font-size: 0.875rem;
  }

  .edu-desc {
    font-size: 0.75rem;
  }

  .edu-note {
    font-size: 0.625rem;
    padding: 0.5rem 1rem;
  }

  .hobby-item {
    padding: 1.25rem 0.75rem;
  }
}

/* ============================================
   MOBILE NAV OPEN STATE
   ============================================ */
.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg);
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  z-index: 99;
}

.nav-open .nav-link {
  font-size: 1.75rem;
  letter-spacing: 0.1em;
}

.nav-open .nav-toggle {
  position: fixed;
  right: 1.5rem;
  top: 1.5rem;
  z-index: 100;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-open .nav-toggle span:nth-child(2) {
  transform: rotate(-45deg);
}