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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif;
  background: #0d0d0d;
  color: #f0ede8;
  width: 100%;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 52px;
  transition: background 0.4s, padding 0.4s;
}

nav.scrolled {
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px 52px;
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo svg { width: 24px; height: 24px; }

.nav-link {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #f0ede8;
  text-decoration: none;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.nav-link:hover { opacity: 1; }

/* ── HERO ── */
#hero {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #0d0d0d;
}

.hero-face {
  position: absolute;
  left: 0;
  top: 0;
  width: 52%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.face-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.right-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #0d0d0d 0%, transparent 18%, transparent 72%, #0d0d0d 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 0 52px;
  text-align: right;
}

h1 {
  font-size: 80px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #f0ede8;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(240, 237, 232, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  max-width: 340px;
  margin-bottom: 40px;
}

.cta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f0ede8;
  cursor: pointer;
  text-decoration: none;
}

.cta-arrow {
  width: 30px;
  height: 30px;
  border: 1.5px solid #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  font-size: 16px;
  flex-shrink: 0;
  transition: background 0.2s;
}

.cta:hover .cta-arrow { background: rgba(37, 99, 235, 0.15); }

.hero-footer {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 52px 36px;
}

.footer-left {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240, 237, 232, 0.45);
}

.footer-right {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 237, 232, 0.4);
}

/* ── SHARED SECTION STYLES ── */
section {
  padding: 120px 52px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 16px;
}

.divider {
  width: 100%;
  height: 1px;
  background: rgba(240, 237, 232, 0.08);
  margin: 0;
}

/* ── ABOUT ── */
#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding-top: 140px;
}

.about-heading {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #f0ede8;
}

.about-heading .highlight {
  color: #2563eb;
}

.about-body p {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(240, 237, 232, 0.65);
  margin-bottom: 24px;
}

.about-body p:last-child { margin-bottom: 0; }

/* ── EXPERIENCES ── */
#experiences {
  padding-top: 80px;
  padding-bottom: 140px;
}

.exp-header {
  display: flex;
  align-items: baseline;
  gap: 60px;
  margin-bottom: 64px;
}

.exp-title {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f0ede8;
  flex-shrink: 0;
}

.exp-list {
  display: flex;
  flex-direction: column;
}

.exp-item {
  display: grid;
  grid-template-columns: 160px 1fr 1fr;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid rgba(240, 237, 232, 0.08);
  transition: background 0.25s;
  cursor: default;
}

.exp-item:last-child { border-bottom: 1px solid rgba(240, 237, 232, 0.08); }

.exp-item:hover .exp-role { color: #2563eb; }
.exp-item:hover .exp-index { color: rgba(240,237,232,0.6); }

.exp-index {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(240, 237, 232, 0.2);
  transition: color 0.25s;
}

.exp-year {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(240, 237, 232, 0.35);
  margin-bottom: 0;
}

.exp-role {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #f0ede8;
  transition: color 0.25s;
  margin-bottom: 0;
}

.exp-company {
  font-size: 15px;
  font-weight: 400;
  color: rgba(240, 237, 232, 0.4);
  text-align: right;
}

.exp-dot { display: none; }

/* ── SKILLS ── */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(240,237,232,0.08);
}

.skills-col {
  padding: 48px 40px 48px 0;
  border-right: 1px solid rgba(240,237,232,0.08);
}

.skills-col:last-child {
  border-right: none;
  padding-left: 40px;
  padding-right: 0;
}

.skills-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.skills-col li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 500;
  color: #f0ede8;
}

.skill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2563eb;
  flex-shrink: 0;
}

/* ── FADE-IN ON SCROLL ── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── PAGE FOOTER ── */
.page-footer {
  border-top: 1px solid rgba(240, 237, 232, 0.08);
  padding: 36px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  position: relative;
}

.page-footer span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 237, 232, 0.3);
}

.page-footer-socials {
  display: flex;
  gap: 24px;
}

.page-footer-socials a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(240, 237, 232, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.page-footer-socials a:hover { color: #f0ede8; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 24px; }
  nav.scrolled { padding: 16px 24px; }

  .hero-face { display: none; }

  .hero-content {
    align-items: center;
    text-align: center;
    padding: 0 24px;
  }

  h1 { font-size: 52px; }

  .hero-subtitle {
    text-align: center;
    max-width: 100%;
  }

  .hero-footer { padding: 20px 24px 28px; }

  section { padding: 80px 24px; }

  #about {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 100px;
  }

  .about-heading { font-size: 36px; }
  .about-body { padding-top: 0 !important; }
  .exp-title { font-size: 36px; }

  .exp-item {
    grid-template-columns: 100px 1fr;
    grid-template-rows: auto auto;
    gap: 4px 0;
  }

  .exp-company {
    grid-column: 2;
    text-align: left;
  }

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

  .skills-col {
    border-right: none;
    padding-right: 0;
    padding-left: 0;
    border-bottom: 1px solid rgba(240,237,232,0.08);
  }

  .skills-col:last-child {
    border-bottom: none;
    padding-left: 0;
    padding-top: 40px;
  }

  .page-footer {
    padding: 28px 24px;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .page-footer-socials { justify-content: center; }
}
