:root{
  --plum:#402437;
  --text:#1F2937;
  --muted:#4B5563;
  --border:#E5E7EB;

  --container: 1200px;
  --pad: clamp(18px, 4vw, 64px);
}

*{ box-sizing:border-box; }

body{
  margin:0;
  background:#fff;
  color:var(--text);
}

.container{
  width:min(var(--container), 100% - (var(--pad) * 2));
  margin:0 auto;
}

.underline{
  text-decoration: underline;
  text-underline-offset: 10px;
}

/* ===== NAVIGATION ===== */
.site-header{
  background: rgba(255,255,255,.90);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 16px 0;
}

.brand{
  font-family: "Viaoda Libre", serif;
  font-size: 32px;
  line-height: 32px;
  text-decoration:none;
  color:var(--text);
}

.nav-desktop{
  display:flex;
  align-items:center;
  gap: 40px;
}

.nav-desktop a{
  font-family:"Rozha One", serif;
  font-size:20px;
  line-height: 26px;
  color:var(--muted);
  text-decoration:none;
}

.nav-desktop a:hover,
.nav-mobile a:hover{
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Hamburger button */
.nav-toggle{
  display:none;
  background:none;
  border:0;
  cursor:pointer;
  padding: 6px;
}

.hamburger{
  width: 28px;
  height: 2px;
  background: var(--text);
  display:block;
  position:relative;
}

.hamburger::before,
.hamburger::after{
  content:"";
  position:absolute;
  left:0;
  width:28px;
  height:2px;
  background: var(--text);
}

.hamburger::before{ top:-8px; }
.hamburger::after{ top:8px; }

/* Mobile dropdown wrapper */
.mobile-menu{
  background: transparent;
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.mobile-menu[hidden]{
  display: none;
}

.nav-mobile{
  display:flex;
  flex-direction:column;
  gap: 14px;
  padding: 16px var(--pad);
}

.nav-mobile a{
  font-family:"Rozha One", serif;
  font-size:18px;
  color:var(--muted);
  text-decoration:none;
}

/* ===== HERO ===== */
.hero{
  background: var(--plum);
  padding: 115px 0 40px;
}

.hero-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 30px;
}

.hero-stage{
  position: relative;
  width: min(1186px, 100%);
  display:flex;
  justify-content:center;
  container-type: inline-size;
}

.hero-img{
  display:block;
  width: min(912px, 86vw);
  height:auto;
  padding: 10px;
}

.hero-overlay{
  position:absolute;
  top: 28%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: none;
  text-align:center;

  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 6px;

  padding: 0 12px;
  pointer-events:none;
}

.hero-title{
  margin:0;
  font-family:"Viaoda Libre", serif;
  color:#fff;
  font-size: clamp(56px, 14cqw, 190px);
  line-height: 1.0;
  font-weight:400;
  white-space: nowrap;
}

.hero-name{
  margin:0;
  font-family:"Viaoda Libre", serif;
  color:#fff;
  font-size: clamp(42px, 8.5cqw, 90px);
  line-height: 1.05;
  font-weight:400;
  white-space: nowrap;
}

.hero-tagline{
  margin:0;
  font-family:"Anton", sans-serif;
  color:#fff;
  font-size: clamp(10px, 2cqw, 24px);
  letter-spacing: .4px;
  white-space: nowrap;
}

/* icons row */
.hero-icons{
  display:flex;
  gap: 50px;
  justify-content:center;
  align-items:center;
}

.icon{
  width: clamp(22px, 4vw, 34px);
  height: clamp(22px, 4vw, 34px);
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.icon img{
  width: 100%;
  height: 100%;
  object-fit:contain;
}


/* ===== ABOUT ===== */
.about{
  background:#fff;
  padding: 60px 0;
}

.section-title{
  font-family:"Viaoda Libre", serif;
  font-weight:400;
  font-size: clamp(34px, 4vw, 54px);
  text-align:center;
  margin: 0 0 50px;
  line-height: 1.1;
}

.section-title--light{ color:#fff; }

.about-grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 6vw, 150px);
  align-items: center;
  justify-content: center;
}

.about-text{
  max-width: 555px;
  margin: 0 auto;
  font-family:"Amiri", serif;
  font-size:17px;
  line-height: 25.6px;
}

.about-image{
  width: clamp(260px, 40vw, 378px);
  aspect-ratio: 378 / 477;
  border: 10px solid var(--plum);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.about-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ===== FEATURED WORK ===== */
.featured{
  background: var(--plum);
  padding: 60px 0;
  overflow: hidden;
}

.work-scroller{
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-left: 10px;
  scroll-padding-right: 10px;

  padding: 10px 6px 18px;
  cursor: grab;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.work-scroller::-webkit-scrollbar{
  display: none;
}

.work-scroller.is-dragging{
  cursor: grabbing;
}

.work-scroller.is-auto{
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.featured-grid{
  display: flex;
  flex-wrap: nowrap;
  gap: 80px;
  width: max-content;
  padding: 0 10px;
  justify-content: flex-start;
  align-items: flex-start;
}

/* Card */
.work-card{
  flex: 0 0 auto;
  width: 352px;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  scroll-snap-align: center;
}

.frame{
  width: clamp(260px, 80vw, 352px);
  aspect-ratio: 352 / 436.44;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frame-art{
  position: absolute;
  inset: 42px 46px 52px 46px;
  width: calc(100% - 92px);
  height: calc(100% - 94px);
  object-fit: cover;
  z-index: 1;
}

.frame-art-susan{
  position: absolute;
  inset: 42px 46px 52px 68px;
  width: calc(100% - 92px);
  height: calc(100% - 94px);
  object-fit: cover;
  z-index: 1;
}

.frame-png{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
}

.work-description{
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.work-title{
  font-family: "Viaoda Libre", serif;
  font-weight: 400;
  font-size: clamp(22px, 3.5vw, 36px);
  line-height: 46.8px;
  margin: 0;
  text-align: center;
}

.work-date{
  font-family: "Amiri", serif;
  font-weight: 400;
  font-size: clamp(18px, 3vw, 32px);
  line-height: 46.8px;
  margin: 0;
  text-align: center;
}

.swipe-hint{
  margin-top: 20px;
  text-align: center;

  font-family: "Amiri", serif;
  font-size: clamp(14px, 3vw, 18px);
  letter-spacing: 0.08em;

  color: rgba(255,255,255,0.75);
  user-select: none;
}

.work-card .frame{
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}

/* ===== FOOTER ===== */
.site-footer{
  background: white;
  padding: 22px 0;
}

.footer-inner{
  width: min(var(--container), 100% - (var(--pad) * 2));
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy{
  margin: 0;
  font-family:"Viaoda Libre", serif;
  font-size: 18px;
  letter-spacing: 1px;
  -webkit-text-stroke: 0.2px currentColor;
  line-height: 1.4;
  color: var(--text);
  opacity: 0.9;
}

.footer-link{
  font-family:"Viaoda Libre", serif;
  font-size: 16px;
  letter-spacing: 1px;
  -webkit-text-stroke: 0.2px currentColor;
  color: var(--text);
  opacity: 0.9;
  text-decoration: none;
}

.footer-link:hover{
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}


/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 700px){
  .nav-desktop{ display:none; }
  .nav-toggle{ display:block; }

  .about-grid{ grid-template-columns: 1fr; }

  .about-image{ width:min(378px, 100%); }

  .featured-grid{ gap: 40px; }
}

@media (max-width: 600px){
  .hero{ padding: 80px 0 40px; }
  
  .hero-icons{ gap: 28px; }

  .work-title{ line-height: 1.2; }

  .work-date{ line-height: 1.1; }

  .footer-inner{
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .about-image{
    border-width: 10px;
    box-sizing: border-box;
  }
}

@media (hover: hover){
  .work-card:hover .frame{
    transform: translateY(-12px) scale(1.02);
  }
}


/* ===== ASSIGNMENT PAGE - WHITE THEME ===== */
.assignment-page{
  background: #fff;
  padding: 60px 0 80px;
}

.assignment-inner{
  display:flex;
  flex-direction:column;
  gap: 50px;
}

.page-title{
  font-family:"Viaoda Libre", serif;
  font-weight:400;
  font-size: clamp(34px, 4vw, 54px);
  text-align:center;
  margin: 0;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 10px;
}

.assignment-content{
  display: flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: clamp(28px, 6vw, 120px);
}

.text-middle{
  flex: 1;
  display: flex;
  flex-direction: column;
  font-family: "Amiri", serif;
  font-size: 17px;
  line-height: 1.6;
}

.text-middle p{
  margin: 0 0 28px;
}

.text-column{
  flex: 1;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: "Amiri", serif;
  font-size: 17px;
  line-height: 1.6;
}

.text-column p{
  margin: 0 0 28px;
}

.image-column{
  width: clamp(280px, 38vw, 378px);
  height: auto;
  max-height: 477px;
  background: var(--plum);
  aspect-ratio: 0.7;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Download button - white theme */
.download-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding: 8px 26px;
  border-radius: 10px;

  background: var(--plum);
  border: 3px solid #b77745;

  font-family:"Viaoda Libre", serif;
  font-size: 24px;
  line-height: 1.2;
  color: #fff;

  text-decoration:none;
  transition: all 160ms ease;
  cursor: pointer;
}

.download-btn:hover{
  transform: translateY(-3px);
  text-decoration: underline;
}


/* ===== ASSIGNMENT PAGE - PURPLE THEME ===== */
.assignment-page-purple{
  background: var(--plum);
  color: #fff;
  padding: 60px 0 80px;
}

.assignment-inner-purple{
  display:flex;
  flex-direction:column;
  gap: 50px;
}

.assignment-grid-purple{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: clamp(28px, 6vw, 120px);
}

/* left text */
.assignment-text-purple{
  flex: 1;
  max-width: 560px;
  font-family: "Amiri", serif;
  font-size: 17px;
  line-height: 1.6;
}

.assignment-text-purple p{
  margin: 0 0 28px;
}

.assignment-text-purple-wide{
  font-family: "Amiri", serif;
  font-size: 17px;
  line-height: 1.6;
}

/* right media */
.assignment-media-purple{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 14px;
}

.assignment-figure-purple{
  margin: 0;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 10px;
}

/* images */
.assignment-img-purple{
  width: clamp(280px, 38vw, 480px);
  height: auto;
  display:block;

  border: 6px solid #fff;
  background: transparent;
}

.assignment-img-purple-eye{
  width: clamp(280px, 38vw, 480px);
  height: auto;
  display:block;
  padding: 25px;
  display:flex;
  align-items: center;
  justify-content: center;

  border: 6px solid #fff;
  background: rgba(255, 255, 255, 0.75);
}

.assignment-img-5x7{
  width: 480px;
  height: 672px;
  display:block;

  border: 6px solid #fff;
  background: transparent;
  object-fit: cover;
}

/* Specific 1920x1080 image - full size */
.assignment-img-1980X1080{
  width: 1920px;
  height: 1080px;
  display:block;

  border: 6px solid #fff;
  background: transparent;
  object-fit: cover;
}

.assignment-img-1920{
  width: min(100%, 960px);
  aspect-ratio: 16 / 9;
  height: auto;

  border: 6px solid #fff;
  background: transparent;
  object-fit: cover;
  display:block;
}

.assignment-caption-purple{
  margin: 0;
  font-family:"Viaoda Libre", serif;
  font-size: clamp(20px, 2.6vw, 32px);
  line-height: 1.2;
  text-align:center;
  color: #fff;
}

/* button */
.assignment-btn-purple{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding: 8px 26px;
  border-radius: 10px;

  background:#fff;
  border: 3px solid #b77745;

  font-family:"Viaoda Libre", serif;
  font-size: 24px;
  line-height: 1.2;
  color: var(--plum);

  text-decoration:none;
  transition: all 160ms ease;
}

.assignment-btn-purple:hover{
  transform: translateY(-3px);
  text-decoration: underline;
}

/* Center single media without text */
.assignment-grid-purple-center{
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Download button - purple theme */
.download-btn-purple{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding: 8px 26px;
  border-radius: 10px;

  background:#fff;
  border: 3px solid #b77745;

  font-family:"Viaoda Libre", serif;
  font-size: 24px;
  line-height: 1.2;
  color: var(--plum);

  text-decoration:none;
  transition: all 160ms ease;
  cursor: pointer;
}

.download-btn-purple:hover{
  transform: translateY(-3px);
  text-decoration: underline;
}

/* responsive */
@media (max-width: 900px){
  .assignment-content{
    flex-direction:column;
    align-items:center;
  }

  .text-column{
    max-width: 680px;
  }

  .assignment-grid-purple{
    flex-direction:column;
    align-items:center;
  }

  .assignment-text-purple{
    max-width: 680px;
  }
}

/* LIGHTBOX OVERLAY */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: zoom-out;
}

.lightbox.open{
  display: flex;
}

.lightbox img{
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border: 8px solid #fff;
  background-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.lightbox-img{
  cursor: zoom-in;
}