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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: #f9f9f9;
  color: #2d3435;
}

body ::selection {
  background-color: #EBB9D1;
  color: #000000;
}

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

a { text-decoration: none; }

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}


.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav__inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4rem;
  position: relative;
}

.nav__inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(228, 228, 231, 0.5);
}

.nav__brand {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: #18181b;
}

.nav__links {
  display: none;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .nav__links {
    display: flex;
  }
}

.nav__links a {
  font-family: 'Inter', sans-serif;
  color: #71717a;
  transition: color 0.15s;
}

.nav__links a:hover { color: #18181b; }

.nav__links a.active {
  color: #EBB9D1;
  font-weight: 600;
}

.nav__cta {
  background: linear-gradient(135deg, #EBB9D1 0%, #EBB9D1 100%);
  color: #f9f8ff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  border-radius: 0.375rem;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  transform: scale(0.95);
}

.nav__cta:hover { opacity: 0.8; }
.avatar {
  position: absolute;
  
}


.hero {
  padding: 12rem 1.5rem 8rem;
}

.hero__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.hero__content {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .hero__content {
    grid-column: 1 / 11;
  }
}

.hero__tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  display: block;
  color: #EBB9D1;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(3.5rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: #2d3435;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 5rem;
  }
}

.hero__title span { color: #5a6061; }

.hero__body {
  max-width: 42rem;
}

.hero__body p {
  font-size: 1.25rem;
  color: #5a6061;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
}
.hero__text > a {
  color: #5a6061;
  border-bottom: 3px solid #EBB9D1;
  padding-bottom: 0.2rem;
}


.btn-primary {
  background: linear-gradient(135deg, #EBB9D1 0%, #EBB9D1 100%);
  color: #f9f8ff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  border-radius: 0.375rem;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
  padding: 1rem 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.btn-primary:hover { opacity: 0.8; }

.btn-secondary {
  background: #dde4e5;
  color: #2d3435;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  border-radius: 0.375rem;
  cursor: pointer;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
}


.featured {
  background: #f2f4f4;
  padding: 8rem 1.5rem;
}

.featured__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.featured__header {
  margin-bottom: 4rem;
}

.featured__header .section-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  display: block;
  color: #5a6061;
}

.featured__header h2 {
  font-family: 'Inter', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #2d3435;
  margin-top: 0.5rem;
}

.featured__card {
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 1024px) {
  .featured__card {
    flex-direction: row;
  }
}

.featured__image {
  overflow: hidden;
}

@media (min-width: 1024px) {
  .featured__image {
    width: 50%;
  }
}

.featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.7s;
}

.featured__image img:hover { filter: grayscale(0); }

.featured__content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .featured__content {
    padding: 4rem;
  }
}

@media (min-width: 1024px) {
  .featured__content {
    width: 50%;
  }
}

.featured__tags {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.featured__tags span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  background: #dde4e5;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #5a6061;
}

.featured__title {
  font-family: 'Inter', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.featured__desc {
  color: #5a6061;
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.featured__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  border-top: 1px solid rgba(173, 179, 180, 0.2);
  padding-top: 2rem;
  margin-bottom: 2rem;
}

.featured__meta .meta-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #5a6061;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.featured__meta .meta-value {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: #2d3435;
}

.featured__link {
  color: #EBB9D1;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.featured__link .icon { transition: transform 0.2s; }

.featured__link:hover .icon { transform: translateX(4px); }


.work {
  padding: 8rem 1.5rem;
}

.work__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.work__header {
  margin-bottom: 5rem;
}

.work__header .section-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  display: block;
  color: #5a6061;
}

.work__header h2 {
  font-family: 'Inter', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #2d3435;
  margin-top: 0.5rem;
}

.work__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .work__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Project Card */

.project-card:hover .project-card__image img {
  filter: grayscale(0);
  transform: scale(1.05);
}

.project-card__image {
  aspect-ratio: 16 / 9;
  background: #ebeeef;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.5s, transform 0.5s;
}

.project-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.project-card__name {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.project-card__year {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  color: #5a6061;
  margin-top: 0.25rem;
}

.project-card__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.project-card__tags span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.625rem;
  padding: 0.125rem 0.5rem;
  background: #dde4e5;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: -0.025em;
}

.project-card__desc {
  color: #5a6061;
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.project-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(173, 179, 180, 0.1);
  padding-top: 1rem;
}

.project-card__role {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: #5a6061;
}

.project-card__link-icon {
  color: #5a6061;
  cursor: pointer;
  transition: color 0.15s;
  font-size: 1.25rem;
}

.project-card__link-icon:hover { color: #EBB9D1; }

.skills {
  background: #e4e9ea;
  padding: 8rem 1.5rem;
}

.skills__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 768px) {
  .skills__inner {
    grid-template-columns: 4fr 8fr;
  }
}

.skills__intro .section-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  display: block;
  color: #5a6061;
  margin-bottom: 1rem;
}

.skills__intro h2 {
  font-family: 'Inter', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  margin-bottom: 2rem;
}

.skills__intro p {
  color: #5a6061;
  line-height: 1.7;
}

.skills__grid {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 4rem;
}

@media (min-width: 768px) {
  .skills__grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 3rem;
  }
}


.skill-category__title {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-category__title .icon { color: #EBB9D1; }

.skill-category__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-category__tags span {
  padding: 0.5rem 1rem;
  background: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(173, 179, 180, 0.2);
  border-radius: 0.125rem;
  transition: 0.4s;
}
.skill-category__tags > span:hover {
  transition: 0.4s;
  background: #EBB9D1;
}

.contact {
  padding: 8rem 1.5rem;
  text-align: center;
}

.contact__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.contact h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .contact h2 {
    font-size: clamp(4rem, 10vw, 6rem);
  }
}

.contact p {
  font-size: 1.25rem;
  color: #5a6061;
  max-width: 36rem;
  margin: 0 auto 4rem;
  line-height: 1.7;
}

.contact__email {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  font-weight: 700;
  color: #EBB9D1;
  border-bottom: 4px solid #EBB9D1;
  padding-bottom: 0.5rem;
  transition: opacity 0.2s;
}

.contact__email:hover { opacity: 0.8; }

@media (min-width: 768px) {
  .contact__email {
    font-size: clamp(2rem, 6vw, 3rem);
  }
}


.footer {
  background: #fafafa;
  padding: 5rem 1.5rem;
  border-top: 1px solid #e4e4e7;
}

.footer__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__brand {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: #18181b;
}

.footer__copy {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #71717a;
}

.footer__links {
  display: flex;
  gap: 2rem;
}

.footer__links a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #71717a;
  transition: color 0.15s;
}

.footer__links a:hover { color: #EBB9D1; }

.footer__links a.underlined {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
#resume {
  display: none;
}

#resume.resume {
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: fixed;
  width: 20vw;
  height: auto;
  z-index: 240;
}

.resume__buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2vw;
  margin-top: 25px;
}
.resume__buttons > *:nth-child(1) > button {
  background-color: #EBB9D1;
  color: #f9f8ff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  border-radius: 0.375rem;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
  padding: 1rem 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}
.resume__buttons > *:nth-child(2) {
  background: #dde4e5;
  color: #2d3435;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  border-radius: 0.375rem;
  cursor: pointer;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
}
#overlay {
  z-index: -1;
  position: fixed;
  background-color: #ffffff00;
  transition: 0.3s;
  transition: background-color 0.3s, width 0.3s, height 0.3s;
}

#overlay.whiteoverlay {
z-index: 235;
  background-color: #5454547f;
  width: 100%;
  height: 100vh;
  transition: 0.3s;
}
.contact__inner > a {
  cursor:pointer;
  transition: 0.2s;
}
.contact__inner > a:active {
  transform: scale(0.95);
}
@media (max-width: 480px) {
  .hero {
    padding: 8rem 1rem 4rem; 
  }

  .hero__title {
    font-size: 2.5rem; 
    line-height: 1.1;
    margin-bottom: 1.5rem;
  }

  .hero__body p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .hero__actions {
    flex-direction: column; 
    width: 100%;
  }

  .btn-primary, .btn-secondary {
    width: 100%; 
    justify-content: center;
  }

  .featured__content {
    padding: 2rem 1.5rem;
  }

  .featured__title {
    font-size: 1.75rem;
  }

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

  .work__header h2, .featured__header h2 {
    font-size: 1.8rem;
  }

  
  #resume.resume {
    width: 90vw; 
    max-height: 80vh;
    overflow-y: auto;
    padding: 1.5rem;
    background: white; 
    border-radius: 0.5rem;
  }

  .resume__buttons {
    flex-direction: column; 
    gap: 10px;
  }

  
  .skills__intro h2 {
    font-size: 2.25rem;
  }

  .skill-category__tags span {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  
  .contact h2 {
    font-size: 2.5rem; 
  }

  .contact__email {
    font-size: 1.1rem; 
    word-break: break-all; 
  }
  .nav__inner {
    padding: 0 1rem;
  }

  .nav__brand {
    font-size: 1.1rem;
  }
}
@media (max-width: 430px) {
  .hero {
    padding: 7rem 1rem 4rem; 
  }
  .hero__inner {
    display: block; 
    padding: 0;
  }

  .hero__title {
    font-size: 2.6rem; 
    line-height: 1.1; 
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    word-wrap: break-word;
  }

  .hero__tag {
    margin-bottom: 1rem;
    font-size: 0.75rem;
  }

  .hero__body p {
    font-size: 1.05rem; 
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  
  .hero__actions {
    flex-direction: column; 
    gap: 0.75rem;
    width: 100%;
  }

  .btn-primary, 
  .btn-secondary {
    width: 100%; 
    justify-content: center;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
  
  
  .avatar {
    position: relative; 
    margin-bottom: 2rem;
    width: 60px;
    height: 60px;
  }
}