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

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
  --gold: #C5A059;
  --gold-dark: #B58E3F;
  --bg: #0A0A0A;
  --bg-light: #080808;
  --bg-lighter: #0D0D0D;
  --text: #ffffff;
  --text-dim: #888888;
  --text-muted: #666666;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: black; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); }

.container { max-width: 1600px; margin: 0 auto; padding: 0 20px; }

@media (min-width: 768px) { .container { padding: 0 32px; } }

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  background-image: url('https://grainy-gradients.vercel.app/noise.svg');
}

/* Mobile Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  mix-blend-mode: difference;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
  .navbar { padding: 24px 32px; background: transparent; backdrop-filter: none; }
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-style: italic;
}

@media (min-width: 768px) { .logo { font-size: 24px; } }

.nav-links {
  display: none;
}

@media (min-width: 768px) {
  .nav-links { display: flex; gap: 40px; }
}

/* Mobile Menu */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

@media (min-width: 768px) { .mobile-menu-btn { display: none; } }

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.3s;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg);
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu a {
  font-size: 24px;
  color: white;
  text-decoration: none;
  letter-spacing: 0.2em;
  transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--gold); }

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 32px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: black;
  overflow: hidden;
  padding: 80px 20px 40px;
}

.hero-bg {
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(26,44,53,0.4) 0%, transparent 50%);
  animation: heroFloat 15s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.3; }
  50% { transform: scale(1.2) rotate(5deg); opacity: 0.5; }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  width: 100%;
  max-width: 600px;
}

.hero-subtitle {
  color: var(--gold);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 16px;
  animation: fadeIn 1s ease-out;
}

@media (min-width: 768px) {
  .hero-subtitle { font-size: 14px; letter-spacing: 0.5em; }
}

.hero-title {
  font-size: clamp(48px, 15vw, 180px);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(to bottom, white, #666);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
  animation: fadeIn 1s ease-out 0.2s both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.typewriter-container {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-bottom: 32px;
  height: 28px;
  animation: fadeIn 1s ease-out 0.4s both;
}

@media (min-width: 768px) {
  .typewriter-container { font-size: clamp(18px, 3vw, 28px); letter-spacing: 0.2em; }
}

.cursor { color: var(--gold); animation: blink 1s infinite; }

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  animation: fadeIn 1s ease-out 0.6s both;
}

@media (min-width: 768px) {
  .hero-actions { flex-direction: row; gap: 24px; }
}

.btn-primary {
  position: relative;
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid rgba(197,160,89,0.3);
  color: var(--gold);
  text-decoration: none;
  overflow: hidden;
  transition: color 0.5s;
  font-size: 14px;
}

@media (min-width: 768px) { .btn-primary { padding: 16px 40px; } }

.btn-primary span { position: relative; z-index: 1; }

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(100%);
  transition: transform 0.5s;
}

.btn-primary:hover { color: black; }
.btn-primary:hover::before { transform: translateY(0); }

.btn-secondary {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid #333;
  padding-bottom: 4px;
  transition: all 0.3s;
}

@media (min-width: 768px) { .btn-secondary { font-size: 14px; letter-spacing: 0.2em; } }

.btn-secondary:hover { color: var(--gold); border-color: var(--gold); }

.hero-decor {
  display: none;
}

@media (min-width: 768px) {
  .hero-decor {
    display: block;
    position: absolute;
    bottom: 40px;
    left: 40px;
    opacity: 0.2;
    font-size: 10px;
    letter-spacing: 0.2em;
    line-height: 1.8;
  }
}

/* About */
.about { padding: 60px 0; }

@media (min-width: 768px) { .about { padding: 128px 0; } }

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 80px; flex-direction: row; }
}

.about-image {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
}

@media (min-width: 768px) { .about-image { max-width: none; } }

.image-wrapper {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 4px;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  filter: grayscale(100%) contrast(1.25);
}

.exp-badge {
  position: absolute;
  bottom: -10px;
  right: -10px;
  background: var(--gold);
  color: black;
  padding: 8px 12px;
}

@media (min-width: 768px) { .exp-badge { bottom: -24px; right: -24px; padding: 32px; } }

.exp-num { display: block; font-size: 16px; font-weight: 700; }

@media (min-width: 768px) { .exp-num { font-size: 36px; } }

.exp-label { font-size: 7px; text-transform: uppercase; letter-spacing: 0.1em; }

@media (min-width: 768px) { .exp-label { font-size: 10px; } }

.cert-badge {
  position: absolute;
  bottom: -10px;
  left: -10px;
  background: var(--gold);
  color: black;
  padding: 6px 10px;
  font-size: 7px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

@media (min-width: 768px) {
  .cert-badge {
    bottom: -16px;
    left: -16px;
    padding: 14px 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
  }
}

.about-school {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

@media (min-width: 768px) { .about-school { font-size: 32px; } }

.about-degree { color: var(--gold); font-size: 13px; margin-bottom: 16px; }

@media (min-width: 768px) { .about-degree { font-size: 14px; margin-bottom: 24px; } }

.about-courses { color: var(--text-muted); font-size: 11px; margin-bottom: 24px; }

@media (min-width: 768px) { .about-courses { font-size: 12px; margin-bottom: 32px; } }

.about-heading {
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) { .about-heading { font-size: 24px; margin-bottom: 24px; } }

.about-desc {
  color: var(--text-dim);
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 32px;
}

@media (min-width: 768px) { .about-desc { font-size: 18px; margin-bottom: 40px; } }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
}

@media (min-width: 768px) { .stats-grid { gap: 32px; padding-top: 40px; } }

.stat-num { display: block; font-size: 22px; font-weight: 700; color: white; }

@media (min-width: 768px) { .stat-num { font-size: 28px; } }

.stat-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }

@media (min-width: 768px) { .stat-label { font-size: 12px; } }

/* Skills */
.skills { padding: 60px 0; background: var(--bg-light); }

@media (min-width: 768px) { .skills { padding: 80px 0; } }

.skills .section-label { margin-bottom: 32px; }

@media (min-width: 768px) { .skills .section-label { margin-bottom: 64px; } }

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (min-width: 768px) {
  .skills-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (min-width: 1024px) { .skills-grid { grid-template-columns: repeat(3, 1fr); } }

.skill-card { padding: 20px; border: 1px solid rgba(255,255,255,0.05); background: rgba(255,255,255,0.02); transition: all 0.5s; border-radius: 4px; }

@media (min-width: 768px) { .skill-card { padding: 32px; } }

.skill-card:hover { border-color: rgba(197,160,89,0.3); }

.skill-icon { color: var(--gold); margin-bottom: 16px; }

@media (min-width: 768px) { .skill-icon { margin-bottom: 24px; } }

.skill-card h3 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }

@media (min-width: 768px) { .skill-card h3 { font-size: 18px; margin-bottom: 8px; } }

.skill-level { display: inline-block; font-size: 10px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 8px; }

@media (min-width: 768px) { .skill-level { font-size: 12px; margin-bottom: 12px; } }

.skill-desc { color: var(--text-muted); font-size: 12px; }

@media (min-width: 768px) { .skill-desc { font-size: 14px; } }

/* Portfolio */
.portfolio { padding: 60px 0; background: var(--bg); }

@media (min-width: 768px) { .portfolio { padding: 80px 0; } }

.portfolio-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

@media (min-width: 768px) { .portfolio-header { flex-direction: row; justify-content: space-between; align-items: flex-end; margin-bottom: 80px; } }

.portfolio-title { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; opacity: 0.1; }

@media (min-width: 768px) { .portfolio-title { font-size: clamp(48px, 10vw, 120px); } }

.portfolio-subtitle { color: var(--text-muted); font-size: 13px; margin-top: 4px; }

@media (min-width: 768px) { .portfolio-subtitle { font-size: 14px; } }

.filter-bar {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) { .filter-bar { gap: 24px; padding-bottom: 16px; } }

.filter-btn {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  padding: 4px 0;
  transition: all 0.3s;
  border-bottom: 1px solid transparent;
}

@media (min-width: 768px) { .filter-btn { font-size: 12px; letter-spacing: 0.2em; } }

.filter-btn:hover { color: white; }
.filter-btn.active { color: var(--gold); border-color: var(--gold); }

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
}

@media (min-width: 640px) { .portfolio-grid { grid-template-columns: 1fr 1fr; } }

@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  position: relative;
  aspect-ratio: 16/10;
  background: black;
  overflow: hidden;
  cursor: pointer;
}

@media (min-width: 768px) { .project-card { aspect-ratio: 16/9; } }

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: all 1s;
}

.project-card:hover img { transform: scale(1.1); opacity: 0.8; }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, black 0%, black 60%, transparent 100%);
  opacity: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

@media (min-width: 768px) {
  .project-overlay { opacity: 0; padding: 32px; }
  .project-card:hover .project-overlay { opacity: 1; }
}

.project-cat { color: var(--gold); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 4px; }

@media (min-width: 768px) { .project-cat { font-size: 12px; margin-bottom: 8px; } }

.project-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }

@media (min-width: 768px) { .project-title { font-size: 24px; margin-bottom: 12px; } }

.project-desc { display: none; }

@media (min-width: 768px) {
  .project-desc {
    display: block;
    color: var(--text-dim);
    font-size: 14px;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

.project-meta { font-size: 9px; letter-spacing: 0.15em; color: var(--text-muted); display: flex; gap: 12px; }

@media (min-width: 768px) { .project-meta { font-size: 10px; letter-spacing: 0.2em; gap: 16px; } }

.project-play { display: none; }

@media (min-width: 768px) {
  .project-play {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .project-card:hover .project-play { opacity: 1; }
}

.project-play-inner {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(197,160,89,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  color: var(--gold);
}

@media (min-width: 768px) { .project-play-inner { width: 64px; height: 64px; } }

/* Partners */
.partners { padding: 60px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }

@media (min-width: 768px) { .partners { padding: 96px 0; } }

.partners-label { text-align: center; font-size: 9px; letter-spacing: 0.8em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 32px; }

@media (min-width: 768px) { .partners-label { font-size: 10px; letter-spacing: 1em; margin-bottom: 64px; } }

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 32px;
  opacity: 0.3;
  filter: grayscale(100%);
  contrast: 1.5;
}

.partners-grid span { font-size: 14px; font-family: Georgia, serif; transition: all 0.3s; }

@media (min-width: 768px) { .partners-grid span { font-size: clamp(18px, 2vw, 24px); } }

.partners-grid span:hover { opacity: 1; color: var(--gold); }

/* Experience */
.experience { padding: 60px 0; background: var(--bg-light); }

@media (min-width: 768px) { .experience { padding: 128px 0; } }

.experience .section-label { margin-bottom: 32px; }

@media (min-width: 768px) { .experience .section-label { margin-bottom: 64px; } }

.exp-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 1024px) { .exp-layout { flex-direction: row; gap: 48px; } }

.exp-tabs {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 8px;
  padding-bottom: 8px;
}

@media (min-width: 1024px) {
  .exp-tabs {
    flex-direction: column;
    overflow-x: visible;
    gap: 8px;
    flex: 0 0 200px;
  }
}

.exp-tab {
  flex-shrink: 0;
  width: auto;
  text-align: left;
  padding: 16px;
  background: rgba(255,255,255,0.02);
  border: none;
  border-left: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s;
  min-width: 140px;
}

@media (min-width: 1024px) {
  .exp-tab { width: 100%; min-width: auto; padding: 24px; background: none; }
}

.exp-tab:hover { background: rgba(255,255,255,0.05); }

.exp-tab.active {
  background: rgba(197,160,89,0.1);
  border-left-color: var(--gold);
}

@media (min-width: 1024px) {
  .exp-tab.active { border-left: 2px solid var(--gold); }
}

.exp-tab-company { display: block; font-size: 12px; font-weight: 600; color: white; }

@media (min-width: 768px) { .exp-tab-company { font-size: 14px; } }

.exp-tab-role { display: block; font-size: 11px; color: var(--gold); margin-top: 4px; }

@media (min-width: 768px) { .exp-tab-role { font-size: 12px; } }

.exp-tab-period { display: block; font-size: 9px; color: var(--text-muted); letter-spacing: 0.1em; margin-top: 4px; }

@media (min-width: 768px) { .exp-tab-period { font-size: 10px; } }

.exp-content-inner { animation: fadeIn 0.3s ease-out; }

.exp-content h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }

@media (min-width: 768px) { .exp-content h3 { font-size: 28px; } }

.exp-content .exp-role { color: var(--gold); font-size: 13px; margin-bottom: 8px; }

@media (min-width: 768px) { .exp-content .exp-role { font-size: 14px; } }

.exp-divider { width: 48px; height: 1px; background: rgba(197,160,89,0.3); margin: 20px 0; }

@media (min-width: 768px) { .exp-divider { margin: 32px 0; } }

.exp-list { list-style: none; }

.exp-list li {
  display: flex;
  gap: 12px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 13px;
}

@media (min-width: 768px) {
  .exp-list li { gap: 16px; line-height: 1.8; margin-bottom: 24px; font-size: 15px; }
}

.exp-list li svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }

/* Contact */
.contact { padding: 60px 0; background: var(--bg-lighter); }

@media (min-width: 768px) { .contact { padding: 128px 0; } }

.contact-grid {
  display: flex;
  justify-content: center;
}

.contact-content {
  max-width: 600px;
  text-align: center;
}

.contact-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 8px;
}

@media (min-width: 768px) { .contact-title { font-size: 40px; margin-bottom: 24px; } }

.contact-desc { color: var(--text-muted); margin-bottom: 32px; font-size: 14px; }

@media (min-width: 768px) { .contact-desc { margin-bottom: 48px; } }

.contact-info { display: flex; flex-direction: column; gap: 20px; align-items: center; }

@media (min-width: 768px) { .contact-info { gap: 24px; } }

.contact-item { display: flex; align-items: center; gap: 12px; color: var(--text-dim); font-size: 14px; text-decoration: none; transition: color 0.3s; }
.contact-item:hover { color: var(--gold); }

@media (min-width: 768px) { .contact-item { gap: 16px; font-size: 16px; } }

.contact-item svg { color: var(--gold); flex-shrink: 0; }

/* Footer */
.footer {
  padding: 24px;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.05);
}

@media (min-width: 768px) { .footer { padding: 40px; font-size: 10px; letter-spacing: 0.2em; } }

/* Animations */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in { animation: slideUp 0.6s ease-out forwards; }
