@charset "UTF-8";
html * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #a05d5d;
  outline-offset: 2px;
  background: rgba(93, 49, 54, 0.08);
}

.project:focus-visible,
.link:focus-visible {
  outline: 2px solid #5d3136;
  outline-offset: 2px;
  background: rgba(93, 49, 54, 0.08);
  border-radius: 6px;
}

html {
  height: 100vh;
  height: 100dvh;
  width: 100vw;
}

html,
body {
  overflow-y: auto;
  background: transparent;
}
@media (min-width: 768px) {
  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    display: none;
  }
}

body {
  font-family: "Sora", "Arial", sans-serif;
  line-height: 1.6;
  background-color: #f9ecdf;
  color: black;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh; /* Use dynamic viewport height for mobile */
  min-height: 100vh;
  min-height: 100dvh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
  mix-blend-mode: multiply;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='noiseFilter'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23noiseFilter)'/></svg>");
  background-repeat: repeat;
  background-size: 400px 400px;
}

.intro-overlay::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
  mix-blend-mode: multiply;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='noiseFilter'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23noiseFilter)'/></svg>");
  background-repeat: repeat;
  background-size: 400px 400px;
}

h1 {
  font-size: 4rem;
}

h1,
h2 {
  font-weight: 400;
  color: #5d3136;
}

#custom-scrollbar {
  position: fixed;
  top: 25vh;
  right: 24px;
  height: 50vh;
  width: 4px;
  background: rgba(93, 49, 54, 0.08);
  border-radius: 2px;
  z-index: 999;
  pointer-events: none;
}

#custom-scrollbar-thumb {
  position: absolute;
  left: 0;
  width: 100%;
  height: 40px;
  background: #5d3136;
  border-radius: 2px;
  opacity: 0.7;
  transition: background 0.2s;
}

.hover-link {
  color: #a05d5d;
  text-decoration: none;
  position: relative;
  display: inline-block;
  line-height: 1.2rem;
}
.hover-link::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: -2px;
  right: 0;
  height: 2px;
  background: #a05d5d;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
  transform-origin: left;
}
.hover-link:hover::after, .hover-link:focus::after {
  transform: scaleX(1);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4rem 1rem 4rem;
  font-size: 1rem;
  color: #5d3136;
  border-top: 1px solid black;
  background: transparent;
}
.site-footer .footer-left {
  font-weight: 600;
  letter-spacing: 1px;
}
.site-footer .footer-right {
  display: flex;
  gap: 2rem;
}
.site-footer .footer-right .footer-icon {
  color: #5d3136;
  font-size: 1.6rem;
  transition: color 0.2s;
  text-decoration: none;
}
.site-footer .footer-right .footer-icon:hover {
  color: #5d3136;
}

.hamburger,
.mobile-menu {
  display: none;
}

.nav-links-wrapper {
  position: relative;
  display: flex;
  align-items: flex-start;
}

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 64px;
  background: rgba(255, 218, 181, 0.15);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 1000;
  border-bottom: 0.5px solid black;
}
.top-nav::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
  mix-blend-mode: multiply;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='noiseFilter'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23noiseFilter)'/></svg>");
  background-repeat: repeat;
  background-size: 400px 400px;
}
.top-nav > * {
  position: relative;
  z-index: 1;
}
.top-nav .logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  color: #5d3136;
  line-height: 1.1rem;
}
.top-nav .logo .name-tag {
  display: inline-block;
  width: auto;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  padding: 0;
  color: inherit;
  font-size: 1.1rem;
  font-weight: 400;
}
.top-nav .logo.inactive .name-tag {
  color: #222;
}
.top-nav ul {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.top-nav li {
  display: flex;
  align-items: center;
}
.top-nav .nav-circle,
.top-nav .logo-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  vertical-align: middle;
}
.top-nav .nav-circle {
  margin-right: 0.3rem;
}
.top-nav .logo-circle {
  margin-left: 0.3rem;
}
.top-nav a {
  align-items: center;
  font-size: 0.7rem;
  color: #222;
  font-weight: 400;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.2s, font-weight 0.2s;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
}

.top-nav .cv-format-link,
.mobile-menu .cv-format-link {
  text-align: center;
  border: 0.5px solid #5d3136;
  padding: 0.5rem;
}
.top-nav .cv-format-link:hover,
.mobile-menu .cv-format-link:hover {
  background: #5d3136;
}
.top-nav .cv-format-link:hover a,
.mobile-menu .cv-format-link:hover a {
  color: #f9ecdf;
}

@media (max-width: 900px) {
  .top-nav .logo .name-tag {
    width: 120px;
    min-width: 0;
    max-width: 100%;
  }
}
@media (max-width: 767px) {
  .top-nav .logo .name-tag {
    width: auto;
  }
  .logo-circle {
    display: none !important;
  }
  #nav-links-wrapper {
    display: none !important;
  }
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1101;
  }
  .hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    margin: 4px 0;
    background: #a05d5d;
    border-radius: 2px;
    transition: all 0.3s;
  }
  .hamburger.open span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
  .mobile-menu {
    position: fixed;
    top: calc(64px + env(safe-area-inset-top, 0px));
    left: 0;
    width: 100vw;
    height: calc(100vh - (64px + env(safe-area-inset-top, 0px)) - env(safe-area-inset-bottom, 0px));
    max-height: calc(100vh - (64px + env(safe-area-inset-top, 0px)) - env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(249, 236, 223, 0.98);
    z-index: 1001;
    transform: scaleY(0);
    transform-origin: top;
    visibility: hidden;
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1), visibility 0s linear 0.5s;
    /* ensure inner scrolling, smooth momentum on iOS */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    padding: 1.5rem 1rem calc(env(safe-area-inset-bottom, 0px) + 1rem);
    overscroll-behavior-y: contain; /* prevents the page behind from scrolling */
  }
  .mobile-menu.open {
    visibility: visible;
    transform: scaleY(1);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1), visibility 0s;
  }
  .mobile-menu::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
    mix-blend-mode: multiply;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='noiseFilter'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23noiseFilter)'/></svg>");
    background-repeat: repeat;
    background-size: 400px 400px;
  }
  .mobile-menu .close-menu {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #a05d5d;
    cursor: pointer;
    z-index: 1200;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
  }
  .mobile-menu .close-menu:hover {
    color: #222;
  }
  .mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .mobile-menu li {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
  }
  .mobile-menu li:last-child {
    margin-bottom: 0;
  }
  .mobile-menu li:nth-last-child(2) {
    margin-bottom: 2rem;
  }
  .mobile-menu a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #a05d5d;
    text-decoration: none;
    transition: color 0.2s;
  }
  .mobile-menu a:hover {
    color: #222;
  }
  .mobile-menu .cv-format-link {
    font-size: 1rem;
  }
  .mobile-menu ul li {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s, transform 0.4s;
  }
  .mobile-menu.open ul li {
    opacity: 1;
    transform: translateY(0);
  }
  .mobile-menu.open ul li:nth-child(1) {
    transition-delay: 0.2s;
  }
  .mobile-menu.open ul li:nth-child(2) {
    transition-delay: 0.3s;
  }
  .mobile-menu.open ul li:nth-child(3) {
    transition-delay: 0.35s;
  }
  .mobile-menu.open ul li:nth-child(4) {
    transition-delay: 0.4s;
  }
  .mobile-menu.open ul li:nth-child(5) {
    transition-delay: 0.45s;
  }
  .mobile-menu.open ul li:nth-child(6) {
    transition-delay: 0.5s;
  }
}
.mobile-menu .nav-circle,
.mobile-menu .mobile-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  margin-left: 0.6rem;
  vertical-align: middle;
}

.hero-content h2 {
  font-size: 4rem;
  line-height: 100px;
  margin-bottom: 30px;
}

#hero .section-content {
  flex-direction: row;
}

.hero {
  color: rgb(0, 0, 0);
  gap: clamp(1rem, 5vw, 5rem);
}
.hero .available-tag {
  font-weight: bold;
}
.hero .hero-content {
  display: flex;
  flex-direction: column;
  max-width: 350px;
}
.hero .hero-content p {
  margin-bottom: 25px;
}
.hero .hero-image-wrapper {
  position: relative;
  display: inline-block;
}
.hero .hero-image-wrapper img {
  width: 100%;
  max-width: 350px;
  min-width: 300px;
  height: auto;
  display: block;
  object-fit: cover;
}
.hero .hero-image-wrapper .noise-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.8;
  mix-blend-mode: multiply;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='noiseFilter'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23noiseFilter)'/></svg>");
  background-repeat: repeat;
  background-size: 400px 400px;
}
.hero .cta-button {
  padding: 10px 20px;
  background-color: #a05d5d;
  color: rgb(0, 0, 0);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
}
.hero .cta-button:hover {
  background-color: #a05d5d;
}
.hero .scroll-down-indicator {
  font-size: 2rem;
}

@media (max-width: 1023px) {
  .hero h2 {
    font-size: 3.5rem;
  }
}
@media (max-width: 767px) {
  #hero .section-content {
    flex-direction: column;
  }
  .hero {
    gap: 1rem;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero h2 {
    margin: 0;
    font-size: 3rem;
  }
  .hero .hero-image-wrapper img {
    max-width: 350px;
  }
}
#about .section-content {
  align-items: center;
}

.about {
  text-align: justify;
}
.about .about-heading {
  min-width: 250px;
}
.about .content-wrapper {
  display: flex;
  justify-content: center;
  flex-direction: row;
  gap: clamp(2rem, 4.2vw, 5rem);
}
.about .content-wrapper h2 {
  height: 100%;
  line-height: 100%;
}
.about .content-wrapper .content {
  max-width: 400px;
}
.about p {
  margin-bottom: 1.5rem;
}
.about p:last-child {
  margin-bottom: 0;
}
.about a {
  color: #a05d5d;
  text-decoration: none;
  position: relative;
  display: inline-block;
}
.about a::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: -2px;
  right: 0;
  width: 100%;
  height: 2px;
  background: #a05d5d;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
  transform-origin: left;
}
.about a:hover::after, .about a:focus::after {
  transform: scaleX(1);
}

@media (max-width: 767px) {
  .about .content-wrapper {
    flex-direction: column;
  }
  .about .content-wrapper .content {
    max-width: 350px;
  }
}
.projects-wrapper {
  position: relative;
  display: flex;
  min-height: 500px;
  gap: clamp(2rem, 4.2vw, 5rem);
}

#projects .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.projects-heading {
  margin-bottom: 3rem;
}

.link, .modal-section-content a {
  position: relative;
  color: #5d3136;
  gap: 0.4em;
  font-size: 0.9rem;
  text-decoration: none;
  transition: letter-spacing 0.3s cubic-bezier(0.4, 1.7, 0.7, 1);
}
.link::after, .modal-section-content a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
  opacity: 0.8;
}
.link:hover::after, .modal-section-content a:hover::after {
  transform: scaleX(1);
}

.project-info a#read-more,
.modal-left a {
  position: relative;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.9rem;
  text-decoration: none;
  transition: letter-spacing 0.3s cubic-bezier(0.4, 1.7, 0.7, 1);
}
.project-info a#read-more::after,
.modal-left a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
  opacity: 0.8;
}
.project-info a#read-more:hover::after,
.modal-left a:hover::after {
  transform: scaleX(1);
}

.project-info a#read-more {
  color: #f9ecdf;
}
.project-info a#read-more::after {
  background: #f9ecdf;
}

.modal-left a {
  color: #5d3136;
}
.modal-left a::after {
  background: #5d3136;
}

.project-info {
  width: 300px;
  min-height: 400px;
  margin: 6rem 0;
  margin-left: clamp(2rem, 1vw, 6rem);
  margin-right: clamp(2rem, 1vw, 6rem);
  background: #5d3136;
  color: #f9ecdf;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
}
.project-info h3 {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #f9ecdf;
}
.project-info p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: start;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-left: auto;
}

.project-date {
  font-size: 0.8rem;
  color: #5d3136;
}

.project.active .project-date, .active.project-link .project-date,
.project:hover .project-date,
.project-link:hover .project-date {
  color: #f9ecdf;
}

.project, .project-link {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  flex-direction: column;
  width: 300px;
  letter-spacing: 1px;
  color: #5d3136;
  height: 80px;
  background: none;
  border: 0.5px solid #5d3136;
  cursor: pointer;
  font: inherit;
  display: flex;
  align-items: center;
  padding: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 1.7, 0.7, 1);
}
.project:hover, .project-link:hover, .project.active, .active.project-link {
  border-width: 1.5px;
  background-color: #5d3136;
  color: #f9ecdf;
}

.tcf-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.project-link {
  text-decoration: none;
  max-width: 200px;
  height: 48px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.project-list .project:nth-child(2), .project-list .project-link:nth-child(2),
.project-list .project:nth-child(4),
.project-list .project-link:nth-child(4) {
  border-radius: 50%;
}

#connector-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.project-modal {
  position: fixed;
  top: 64px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 64px);
  height: calc(100dvh - 64px);
  background: #f9ecdf;
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100vw);
  transition: opacity 0.4s cubic-bezier(0.4, 1.7, 0.7, 1), transform 0.6s cubic-bezier(0.4, 1.7, 0.7, 1);
}
.project-modal::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
  mix-blend-mode: multiply;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='noiseFilter'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23noiseFilter)'/></svg>");
  background-repeat: repeat;
  background-size: 400px 400px;
}
.project-modal.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 2rem;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #5d3136;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.4, 1.7, 0.7, 1);
}
.modal-close:hover {
  transform: scale(1.25);
}

.modal-body {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.modal-content {
  display: flex;
  width: 100%;
  height: 100%;
}

.modal-left {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 5rem 3rem;
  background: transparent;
  z-index: 1;
  max-width: 350px;
}
.modal-left .modal-top {
  flex: 1;
}
.modal-left .modal-title {
  margin-bottom: 0.7rem;
  font-size: 2rem;
  text-align: start;
}
.modal-left .modal-brief {
  text-align: start;
  margin-bottom: 1rem;
}
.modal-left .modal-nav-links {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.modal-right {
  text-align: start;
  overflow-y: auto;
  max-height: 100%;
  height: 100%;
  flex: 2;
  padding: 6rem;
  background: transparent;
  z-index: 1;
  border-left: 0.5px solid black;
  padding-right: 2rem;
  scrollbar-color: #5d3136 transparent;
}
.modal-right::-webkit-scrollbar {
  width: 16px;
  background: transparent;
}
.modal-right::-webkit-scrollbar-thumb {
  background: #5d3136;
  border-radius: 6px;
  border: 2px solid #f9ecdf;
  min-height: 40px;
  transition: background 0.2s;
}
.modal-right::-webkit-scrollbar-thumb:hover {
  background: #7a474e;
}

.modal-section {
  margin-bottom: 2.5rem;
}
.modal-section .section-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
}
.modal-section .section-header .section-title {
  font-size: 1rem;
  font-weight: 400;
  color: #5d3136;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 1rem;
  white-space: nowrap;
}
.modal-section .section-header .section-line {
  flex: 1;
  height: 0.5px;
  background: #5d3136;
  margin-right: 2rem;
}
.modal-section .modal-section-content.tech-list span {
  display: inline-block;
  position: relative;
  background: #f9ecdf;
  color: #5d3136;
  padding: 0.3em 0.8em;
  border-radius: 6px;
  margin-bottom: 0.3em;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(93, 49, 54, 0.06);
  border: 1px solid #c1b2b2;
}
.modal-section .modal-section-content.tech-list span::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
  border-radius: 6px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><filter id='noiseFilter'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23noiseFilter)'/></svg>");
  background-repeat: repeat;
  background-size: 40px 40px;
  mix-blend-mode: multiply;
}
.modal-section .modal-section-content.tech-list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 0.5em;
}
.modal-section .modal-section-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0 2rem 0 9rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #23232a;
}
.modal-section .modal-section-content ul {
  list-style: none;
}
.modal-section .modal-section-content ul li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.7rem;
}
.modal-section .modal-section-content ul li:last-child {
  margin-bottom: 0;
}
.modal-section .modal-section-content ul li::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0.85rem;
  width: 0.3rem;
  height: 0.3rem;
  border: 1px solid #5d3136;
  border-radius: 50%;
  background: transparent;
  transform: translateY(-50%);
}

@media (max-width: 767px) {
  .modal-section-content {
    padding-left: 1.5rem;
    padding-top: 0.5rem;
  }
  .section-header {
    margin-top: 2rem;
  }
  .modal-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: #5d3136;
    font-size: 1.7rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(93, 49, 54, 0.08);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 1.7, 0.7, 1);
    will-change: transform;
  }
  .modal-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
    color: #f9ecdf;
    border-top: none;
    background: #5d3136;
    gap: 0;
    transition: transform 0.4s cubic-bezier(0.4, 1.7, 0.7, 1);
    will-change: transform;
  }
  .modal-nav-btn {
    width: 50vw;
    height: 45px;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #f9ecdf;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
  }
  .next-btn {
    border-left: 1px solid #f9ecdf;
  }
  .modal-footer .next-btn:only-child {
    border-left: 1px solid #f9ecdf;
    margin-left: auto;
    width: 50vw;
  }
  .modal-footer .prev-btn:only-child {
    border-right: 1px solid #f9ecdf;
  }
  .modal-mobile-top {
    display: flex;
    flex-direction: column;
  }
  .modal-mobile-top .official-link {
    margin-bottom: 0.5rem;
  }
  .modal-controls-hidden .modal-footer {
    transform: translateY(100%);
  }
  .modal-controls-hidden #modal-close {
    transform: translateX(200%);
  }
  .modal-footer.modal-controls-hidden {
    transform: translateY(100%);
  }
  #modal-close.modal-controls-hidden {
    transform: translateX(120%);
  }
  .modal-right {
    padding: 1.5rem;
  }
  .modal-right .modal-section-content {
    margin: 0;
  }
  .project-info {
    display: none !important;
  }
  .projects-heading {
    margin-left: 0;
    text-align: center;
  }
  .project-list {
    width: 100%;
    margin: 0 auto;
  }
}
#contact {
  padding-bottom: 0 !important;
}
#contact h2 {
  font-size: clamp(2.8rem, 8vw, 4rem) !important;
}

.contact .contact-label {
  color: #5d3136;
}
.contact h2 {
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.contact form {
  width: 100%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 12px;
}
.contact input,
.contact textarea {
  width: 100%;
  padding: 8px 10px;
  border: none;
  font-weight: 300;
  font-size: 0.9rem;
  border: 1px solid #5d3136;
  background: transparent;
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
  caret-color: #5d3136;
}
.contact textarea {
  min-height: 200px;
  resize: vertical;
  scrollbar-width: thin;
  scrollbar-color: #5d3136 transparent;
}
.contact textarea::-webkit-scrollbar {
  width: 8px;
  background: transparent;
}
.contact textarea::-webkit-scrollbar-thumb {
  background: #5d3136;
  border-radius: 6px;
  border: 2px solid #f9ecdf;
  min-height: 40px;
  transition: background 0.2s;
}
.contact textarea::-webkit-scrollbar-thumb:hover {
  background: #7a474e;
}
.contact input:focus,
.contact textarea:focus {
  border-color: #a05d5d;
}
.contact button[type=submit] {
  background: transparent;
  color: #5d3136;
  border: 1px solid #5d3136;
  border-radius: 50%;
  height: 5rem;
  width: 100%;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.contact button[type=submit]:hover {
  background: #5d3136;
  color: #f9ecdf;
}
.contact div {
  display: flex;
  flex-direction: column;
}
.contact input.show-error,
.contact textarea.show-error {
  border: 1px solid #e74c3c;
  background: rgba(231, 76, 60, 0.04);
}
.contact .error-message {
  display: none;
  color: #e74c3c;
  font-size: 0.95rem;
  margin-top: 4px;
  font-weight: 400;
  letter-spacing: 0.5px;
}
.contact input:invalid:focus + .error-message,
.contact textarea:invalid:focus + .error-message {
  display: block;
}
.contact input::placeholder,
.contact textarea::placeholder {
  color: #837c74;
  opacity: 1;
  font-weight: 300;
}
.contact input:invalid,
.contact textarea:invalid {
  box-shadow: none;
}
.contact input:-webkit-autofill,
.contact textarea:-webkit-autofill {
  background: transparent !important;
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  color: #5d3136 !important;
  font-weight: 300;
  transition: background-color 5000s ease-in-out 0s;
}
.contact .contact-alternatives {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #5d3136;
}
.contact .contact-alternatives .contact-icons {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
}
.contact .contact-alternatives .contact-icon {
  font-size: 1.6rem;
  color: #5d3136;
  transition: color 0.2s;
  text-decoration: none;
}
.contact .contact-alternatives .contact-icon:hover {
  color: #5d3136;
}

.main-layout {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5rem;
  box-sizing: border-box;
}
.main-layout section::after {
  content: "";
  display: block;
  position: relative;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 90%;
  border-bottom: 1px solid #000000;
}
.main-layout section:last-child::after {
  border: none;
}

.section-content {
  padding: 6rem 0;
  text-align: justify;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.section-content h2 {
  font-size: 3rem;
}

footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-top: 1px solid black;
  background-color: #5d3136;
  color: #f9ecdf;
  gap: 0.2rem;
  font-size: 0.9rem;
}
footer .contact-icons {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
footer .contact-icons a {
  color: #f9ecdf;
  font-size: 1.2rem;
}

@media (max-width: 1023px) {
  .main-layout {
    max-width: 100%;
    padding: 0 3rem;
  }
}
@media (max-width: 767px) {
  p {
    font-size: 16px;
  }
  .main-layout {
    padding: 0 2rem;
  }
  .section-content {
    flex-direction: column;
    padding: 4rem 0;
  }
  .section-content.hero {
    padding-top: 6rem;
  }
  h2 {
    font-size: 2.5rem !important;
    margin: 0;
  }
  footer {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
  }
  footer .contact-icons {
    order: 1;
    gap: 1rem;
  }
  footer .contact-icons a {
    font-size: 1.2rem;
  }
  footer .footer-name {
    order: 2;
  }
}
.skills-section {
  margin-top: 2rem;
}

.skills-group {
  margin-bottom: 2.2rem;
}

#skills .content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: clamp(2rem, 4.2vw, 5rem);
}
#skills .title-wrapper {
  min-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#skills .title-wrapper .skills-title {
  line-height: 3rem;
  margin-top: 0.5rem;
}
#skills .content {
  max-width: 400px;
}

.skills-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.7rem;
}
.skills-header .skills-title {
  font-size: 1rem;
  font-weight: 400;
  color: #5d3136;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 1rem;
  white-space: nowrap;
}

.skills-list span {
  position: relative;
  background: #f9ecdf;
  color: #5d3136;
  padding: 0.3em 0.8em;
  border-radius: 6px;
  margin-bottom: 0.3em;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(93, 49, 54, 0.06);
  border: 1px solid #c1b2b2;
}
.skills-list span::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
  border-radius: 6px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><filter id='noiseFilter'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23noiseFilter)'/></svg>");
  background-repeat: repeat;
  background-size: 40px 40px;
  mix-blend-mode: multiply;
}

.skills-list span {
  position: relative;
  z-index: 1;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

@media (max-width: 767px) {
  #skills .content-wrapper {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 350px;
  }
  #skills .title-wrapper {
    width: 100%;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }
  #skills .skills-section {
    margin-top: 1.2rem;
  }
  #skills .skills-group {
    margin-bottom: 1.5rem;
  }
  #skills .skills-header .skills-title {
    font-size: 0.95rem;
  }
  #skills .skills-list {
    font-size: 0.98rem;
    line-height: 1.5;
  }
}
.cv-layout {
  max-width: 700px;
  padding: 1rem;
  margin: 2rem auto;
}
.cv-layout .section-title {
  background-color: #5d3136;
  color: #f9ecdf;
  width: 100%;
  text-align: center;
  margin: 2rem 0 1.5rem 0;
  font-size: 1.3rem;
  font-weight: 500;
}
.cv-layout .name-tag {
  font-size: 2rem;
  background-color: #5d3136;
  color: #f9ecdf;
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
}
.cv-layout .contact {
  margin-bottom: 2rem;
  border-bottom: 1px solid #5d3136;
  padding: 0 2rem 2rem 2rem;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.cv-layout .intro {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}
.cv-layout .intro .intro-text {
  width: 100%;
}
.cv-layout .intro .open-to-discuss {
  text-align: center;
  font-weight: 500;
}
.cv-layout .main-skills {
  width: 100%;
}
.cv-layout .main-skills .skills-intro {
  margin-bottom: 2rem;
}
.cv-layout .main-skills .cv-skills-columns {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}
.cv-layout .main-skills .cv-skills-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cv-layout .main-skills .cv-skill-heading {
  font-weight: 600;
  color: #5d3136;
  font-size: 1rem;
  display: block;
  letter-spacing: 0.5px;
}
.cv-layout .main-skills .cv-skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cv-layout .main-skills .cv-skill-list span {
  position: relative;
  background: #f9ecdf;
  color: #5d3136;
  padding: 0.25em 0.7em;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(93, 49, 54, 0.06);
  border: 1px solid #c1b2b2;
  margin-bottom: 0.2em;
}
.cv-layout .experience {
  /* added: toggle button and collapsed state */
}
.cv-layout .experience .toggle-btn {
  background: transparent;
  border: none;
  padding: 0 0.35rem;
  font-size: 0.95rem;
  line-height: 1;
  color: #5d3136;
  cursor: pointer;
  margin-left: 0.4rem;
}
.cv-layout .experience .project-header {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  padding: 0.3rem;
}
.cv-layout .experience .project-header:hover {
  background-color: rgba(93, 49, 54, 0.1);
  border-radius: 4px;
}
.cv-layout .experience .project-header:focus-visible {
  outline: 2px solid #a05d5d;
  outline-offset: 2px;
  background: rgba(93, 49, 54, 0.08);
}
.cv-layout .experience .project-heading {
  margin-left: 21px;
  font-size: 1.4rem;
  line-height: 1.4rem;
  color: #5d3136;
  transition: all 0.2s ease;
  position: relative;
}
.cv-layout .experience .project-heading::before {
  content: "▸";
  position: absolute;
  left: -1.5rem;
  top: 0;
  font-size: 1.2rem;
  color: #5d3136;
  transition: all 0.2s ease;
}
.cv-layout .experience .project-heading::before:hover {
  background-color: rgba(93, 49, 54, 0.1);
  border-radius: 4px;
}
.cv-layout .experience .project-header[aria-expanded=true] .project-heading::before {
  content: "▾";
}
.cv-layout .experience .project-date {
  font-style: italic;
  font-size: 0.9rem;
  color: black;
}
.cv-layout .experience .projects {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.cv-layout .experience .freelance-project {
  padding-bottom: 1rem;
  border-bottom: 1px solid black;
}
.cv-layout .experience .project-content {
  padding-left: 1.3rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}
.cv-layout .experience .freelance-project:not(.collapsed) .project-content {
  max-height: 2000px;
  opacity: 1;
}
.cv-layout .experience .cv-section-header.top {
  margin-top: 1.5rem;
}
.cv-layout .experience .cv-section-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}
.cv-layout .experience .cv-section-header .cv-section-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: #5d3136;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 1rem;
  white-space: nowrap;
}
.cv-layout .experience .cv-section-header .cv-section-line {
  flex: 1;
  height: 1px;
  background: #5d3136;
  opacity: 0.5;
  border-radius: 1px;
  margin-right: 1rem;
}
.cv-layout .experience .cv-section-content {
  margin-left: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.7;
}
.cv-layout .experience .cv-section-content .inner-list {
  margin-left: 2rem;
}
.cv-layout .experience .cv-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cv-layout .education .education-item {
  margin-bottom: 1rem;
}
.cv-layout .education .education-item .uni-date {
  font-style: italic;
  font-size: 0.9rem;
  color: black;
}
.cv-layout .education .education-item .hover-link {
  font-size: 1.4rem;
  line-height: 1.4rem;
  font-weight: 500;
  color: #5d3136;
}
.cv-layout .education .education-item p {
  margin: 0.2rem 0;
  font-size: 0.9rem;
}
.cv-layout .volunteering .volunteering-item {
  margin-bottom: 1rem;
}
.cv-layout .volunteering .volunteering-item h4 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #5d3136;
}
.cv-layout .volunteering .volunteering-item p {
  margin: 0.2rem 0;
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .cv-layout .contact {
    flex-direction: column;
    align-items: center;
  }
  .main-skills .cv-skills-columns {
    flex-direction: column;
    gap: 1.5rem;
  }
  .main-skills .cv-skills-col {
    width: 100%;
  }
}
@media print {
  body,
  .cv-layout,
  .cv-layout * {
    color: #000 !important;
    background: #fff !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  .cv-skills-columns {
    display: flex !important;
    flex-direction: row !important;
    gap: 2rem !important;
    page-break-inside: avoid;
  }
  .cv-skills-col {
    width: 50% !important;
    box-sizing: border-box;
    page-break-inside: avoid;
  }
  .cv-skill-list span {
    padding: 0.1rem 0.3rem;
  }
  .section-title {
    margin: 1.5rem 0 0.7rem 0;
  }
  .project-content {
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    display: block !important;
  }
  .project-heading::before {
    display: none !important;
  }
}

/*# sourceMappingURL=main.css.map */
