/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --grenat: #6B1330;
  --grenat-light: #8C1B40;
  --grenat-dark: #4A0D22;
  --cream: #FAF6F1;
  --cream-mid: #EDE6DC;
  --charcoal: #1A1A1A;
  --text: #2C2C2C;
  --text-light: #6B6B6B;
  --gold: #C8A96E;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  transition: background .4s, padding .4s, backdrop-filter .4s;
}

.nav.scrolled {
  background: rgba(26, 26, 26, .92);
  backdrop-filter: blur(12px);
  padding: 14px 40px;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-links a {
  font-size: .82rem;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  position: relative;
  transition: color .3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--cream);
  transition: transform .3s, opacity .3s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(74, 13, 34, .55) 0%,
    rgba(26, 26, 26, .7) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--cream);
}

.hero-eyebrow {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero-tagline {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 2px;
  color: rgba(250, 246, 241, .8);
  margin-bottom: 40px;
}

.hero-cta {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: background .3s, color .3s;
}

.hero-cta:hover {
  background: var(--gold);
  color: var(--charcoal);
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== SECTIONS COMMON ===== */
.section {
  padding: 100px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.section.revealed {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--grenat);
  letter-spacing: 1px;
}

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

.section-line {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin-top: 14px;
  margin-bottom: 36px;
}

.section-line--center { margin-left: auto; margin-right: auto; }

/* ===== PROFILE ===== */
.section--profile { background: var(--cream); }

.profile-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 60px;
  align-items: start;
}

.profile-image {
  position: relative;
}

.profile-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(15%);
}

.profile-image::after {
  content: '';
  position: absolute;
  top: 14px; left: 14px;
  width: 100%; height: 100%;
  border: 2px solid var(--grenat);
  z-index: -1;
}

.profile-text p {
  margin-bottom: 14px;
  font-size: .97rem;
  color: var(--text);
}

.profile-text strong { color: var(--grenat); }
.profile-text em { font-style: italic; color: var(--grenat-light); }

/* ===== EXPERIENCE ===== */
.section--experience { background: var(--charcoal); }
.section--experience .section-title { color: var(--cream); }

.experience-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  padding: 44px;
  margin-top: 20px;
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.experience-role {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--cream);
}

.experience-place {
  font-size: .9rem;
  color: var(--gold);
  margin-top: 4px;
  letter-spacing: .5px;
}

.experience-date {
  font-size: .82rem;
  color: rgba(250,246,241,.5);
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.experience-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 14px;
  font-size: .93rem;
  color: rgba(250,246,241,.78);
  line-height: 1.65;
}

.experience-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px; height: 1px;
  background: var(--gold);
}

/* ===== EDUCATION ===== */
.section--education { background: var(--cream); }

.education-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.edu-card {
  background: #fff;
  padding: 36px 28px;
  border-bottom: 3px solid var(--grenat);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease, box-shadow .3s;
}

.edu-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.edu-card:hover {
  box-shadow: 0 8px 30px rgba(107,19,48,.1);
}

.edu-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 16px;
}

.edu-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--grenat);
  margin-bottom: 10px;
}

.edu-place {
  font-size: .85rem;
  color: var(--text-light);
  margin-bottom: 6px;
}

.edu-detail {
  font-size: .83rem;
  color: var(--text);
}

/* ===== SKILLS ===== */
.section--skills { background: var(--grenat-dark); }
.section--skills .section-title { color: var(--cream); }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.skill-item {
  padding: 30px 24px;
  border: 1px solid rgba(255,255,255,.1);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease, border-color .3s;
}

.skill-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

.skill-item:hover {
  border-color: var(--gold);
}

.skill-item h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: .5px;
}

.skill-item p {
  font-size: .88rem;
  color: rgba(250,246,241,.72);
  line-height: 1.6;
}

/* ===== CREATIONS GALLERY ===== */
.section--creations { background: var(--cream); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 10px;
}

.gallery-item {
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
  cursor: pointer;
  opacity: 0;
  transform: scale(.95);
  transition: opacity .5s ease, transform .5s ease;
}

.gallery-item.revealed {
  opacity: 1;
  transform: scale(1);
}

.gallery-item img,
.gallery-item video {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.06);
}

.gallery-item--video { grid-column: span 2; aspect-ratio: 2/1; }

/* ===== CONTACT ===== */
.section--contact {
  background: var(--charcoal);
  text-align: center;
}

.section--contact .section-title { color: var(--cream); }

.contact-content p {
  font-size: 1.05rem;
  color: rgba(250,246,241,.75);
  max-width: 600px;
  margin: 0 auto 24px;
}

.contact-details p {
  font-size: .9rem;
  color: var(--gold);
  margin-bottom: 8px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--grenat-dark);
  text-align: center;
  padding: 28px 24px;
}

.footer p {
  font-size: .78rem;
  color: rgba(250,246,241,.4);
  letter-spacing: 1px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .profile-image { max-width: 340px; }

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

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

  .gallery-item--video {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }
}

@media (max-width: 650px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(26,26,26,.96);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform .4s ease;
  }

  .nav-links.open { transform: translateX(0); }

  .nav-links a { font-size: 1rem; }

  .nav-toggle { display: flex; }

  .nav { padding: 16px 20px; }
  .nav.scrolled { padding: 12px 20px; }

  .section { padding: 70px 0; }

  .section-title { font-size: 2rem; }

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

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

  .gallery-item--video {
    grid-column: span 1;
    aspect-ratio: 16/9;
  }

  .experience-card { padding: 28px 20px; }
}
