:root {
    --cream: #F5F0E8;
    --black: #0A0A0A;   
    --red: #D63C2F;
    --gray: #888888;

    --font-display: 'Playfair Display' , serif;
    --font-body: 'DM Sans' , sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--black);
}
.nav-logo{
    font-family: var(--font-display);
    letter-spacing: 0.5px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    color: var(--black);
    letter-spacing: -0.5px;
}
.nav-links{
    margin-top: 5px;
    display: flex;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 2px;
    list-style-type: none;
    gap: 40px;
    
   
}
.nav-links a {
    text-decoration: none;
    opacity: 0.5;
    color: var(--black);
    text-transform: uppercase;

}
a:hover {
    color: var(--black);
    opacity: 1;
}

.navbar{
    width: 100%;
    display: flex;
    position: fixed;
    justify-content: space-between;
    z-index: 100;
    top: 0;
    left: 0;
    padding: 28px 60px;
    
}
.hero {
    background-color: var(--cream);
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 60px 80px;
}
.eyebrow {
    display: flex;
    font-family:var(--font-body);
    letter-spacing: 4px;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 24px;
    align-items: center;
    gap: 16px;
}
.eyebrow::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background-color: var(--gray);
    
}
h1 {
    font-family: var(--font-display);
    font-size: clamp(64px, 9vw, 130px);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -3px;
    color: var(--black);
    margin-bottom: 48px;

}
.hero-desc, .about-text {
    font-family: var(--font-body);
    color: var(--gray);
    font-size: 15px;
    line-height: 1.8;
    font-weight: 300;
}
.hero-desc {
    max-width: 340px;
}
.accent {
    color: var(--red);
    font-style: italic;
}
.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

}
.btn-primary {
    display: inline-block;
    background-color: var(--black);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    padding: 16px 36px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;


}
.btn-primary:hover {
    background-color: var(--red);
    color: var(--cream);
}
.btn-ghost {
    color: var(--black);
    opacity: 0.5;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 2px;
    border: none;
    background: none;
    text-decoration: none;
    text-transform: uppercase;

}
.hero-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}
.hero-bg-text {
    position: absolute;
    font-family: var(--font-display);
    font-weight: 900;
    color: rgba(0,0,0,0.04);
    pointer-events: none;
    user-select: none;
    font-size: clamp(120px, 18vw, 260px);
    white-space: nowrap;
    transform: translate(-50%, -55%);
    top: 50%;
    left: 50%;
    letter-spacing: -10px;
}
.marquee-section {
    background: var(--black);
    padding: 18px 0;
    overflow: hidden;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 14px;
}
.marquee-track {
    display: inline-flex;
    gap: 30px;
    white-space: nowrap;
    color: var(--cream);
    animation: marquee 18s linear infinite;
}
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-item::after {
    content: '✦';
    font-size: 8px;
    color: var(--red);
    margin-left: 30px;
}
.marquee-item {
    color: rgba(255,255,255,0.4);
}

/* ABOUT SECTION */

h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(40px,5vw,64px);
    line-height: 1.05;
    letter-spacing: -1px;
    
}
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 120px;
    padding: 140px 60px;
}
.about-text {
    margin-top: 30px;
    margin-bottom: 40px;
    font-size: 15px;
}
.about-exp-label {
    display: block;
    font-size: 10px;

}
.about-exp {
    position: absolute;
    top: 32px;
    right: -32px;
    background: var(--red);
    color: white;
    padding: 24px;
    text-align: center;

}
.about-exp-num {
   display: block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 48px;
}
.right-about {
    position: relative;
}
.about-photo {
    width: 100%;
    aspect-ratio: 3/4;
    background-color: var(--gray);
    position: relative;
    overflow: hidden;
}
.about-photo-tag{
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--black);
    color: white;
    padding: 14px 20px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;

}
.about-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.about-label::before {
    content: '01';
    font-family: var(--font-display);
    color: var(--red);
}

.projects {
  padding: 140px 60px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
}

.projects-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}


.projects-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 12px;
}

.projects-label::before {
  content: '02';
  font-family: var(--font-display);
  color: var(--red);
}


.btn-projects {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.4;
  border-bottom: 1px solid var(--black);
  text-decoration: none;
  padding-bottom: 4px;
  transition: opacity 0.3s ease;
}

.btn-projects:hover {
  opacity: 1;
}


.project-row {
  display: grid;
  grid-template-columns: 80px 1fr 280px 120px 40px;
  align-items: center;
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--black);
}

.project-row:last-child {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}


.project-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: 0;
}

.project-row:hover::before {
  transform: translateX(0);
}

.project-row > * {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.project-row:hover * {
  color: white;
}


.project-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-light);
}


.project-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -1px;
}


.project-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.6;
}


.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.project-tags span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--gray);
  transition: color 0.3s, border-color 0.3s;
}

.project-row:hover .project-tags span {
  border-color: rgba(255,255,255,0.2);
}


.project-arrow {
  font-size: 20px;
  color: var(--gray);
  text-align: right;
  transition: color 0.3s, transform 0.3s;
}

.project-row:hover .project-arrow {
  transform: translate(4px, -4px);
}
.project-num {
  color: var(--gray-light);
  opacity: 30%;
}
.contact {
  padding: 140px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -3px;
  color: var(--black);
}

.contact-title em {
  font-style: italic;
  color: var(--red);
}

.contact-links {
  display: flex;
  flex-direction: column;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  text-decoration: none;
  color: var(--black);
  transition: padding-left 0.3s, color 0.3s;
}

.contact-link:hover {
  padding-left: 12px;
  color: var(--red);
}

.contact-link-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.contact-link-handle {
  font-size: 13px;
  font-weight: 300;
  color: var(--gray);
}


footer {
  padding: 32px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.footer-copy {
  font-size: 12px;
  color: var(--gray);
  font-weight: 300;
}

.footer-copy strong {
  font-weight: 500;
  color: var(--black);
}

.footer-made {
  font-size: 12px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-made span {
  color: var(--red);
}
.contact .section-label::before {
  content: '04';
  font-family: var(--font-display);
  color: var(--red);
  margin-right: 12px;
}

.skills {
  padding: 140px 60px;
  background: var(--black);
}

.skills .section-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.skills .section-label::before {
  content: '03';
  font-family: var(--font-display);
  color: var(--red);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  color: white;
}

.section-title em {
  font-style: italic;
  color: var(--red);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  margin-top: 80px;
}

.skill-item {
  background: var(--black);
  padding: 40px 32px;
  transition: background 0.3s;
}

.skill-item:hover {
  background: #141414;
}

.skill-icon {
  font-size: 32px;
  margin-bottom: 20px;
  display: block;
}

.skill-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.skill-desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}

.skill-level {
  margin-top: 20px;
  height: 2px;
  background: rgba(255,255,255,0.08);
  position: relative;
}

.skill-level-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--red);
}
@media (max-width: 768px) {
  .navbar {
    padding: 20px;
  }
  .nav-links {
    display: none;
  }
  .hero {
    min-height: 100svh;
    padding: 120px 20px 60px;
    justify-content: flex-start;
  }
  .hero-bg-text {
    display: none;
  }
  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  /* ABOUT */
  .about {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 80px 20px;
  }
  .about-exp {
    right: 0;
  }

  /* PROJECTS */
  .projects {
    padding: 80px 20px;
  }
  .projects-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .project-row {
    grid-template-columns: 50px 1fr 30px;
    gap: 16px;
  }
  .project-desc, .project-tags {
    display: none;
  }

  /* SKILLS */
  .skills {
    padding: 80px 20px;
  }
  .skills-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 48px;
  }

  /* CONTACT */
  .contact {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 80px 20px;
  }

  /* FOOTER */
  footer {
    padding: 24px 20px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

}
.about-photo {
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo-placeholder {
  font-family: var(--font-display);
  font-size: 120px;
  font-weight: 900;
  color: rgba(255,255,255,0.15);
  letter-spacing: -6px;
}
.about-photo {
  background: #2a2a2a;
}
.about-photo-placeholder {
  font-size: 160px;
  color: rgba(255,255,255,0.06);
}
.about-exp {
  right: -20px;
}