/* ================================================================
   ZIZI PORTFOLIO - Zahra Taghitabar | Creative Event Facilitator
   ================================================================ */

/* --- CSS Variables --- */
:root {
  --pink: #E8A0BF;
  --pink-dark: #d48aa8;
  --pink-light: #f5c6d8;
  --pink-bg: #E8A0BF;
  --cream: #fdf8f3;
  --cream-dark: #f5ede3;
  --dark: #111111;
  --white: #ffffff;
  --gray: #555555;
  --font-display: 'Anton', 'Impact', sans-serif;
  --font-script: 'Caveat', cursive;
  --font-body: 'DM Sans', sans-serif;
  --font-serif: 'Playfair Display', serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration-color: var(--dark);
}

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

/* --- Section Base --- */
.section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ================================================================
   SECTION 1: HERO
   ================================================================ */
.section--hero {
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,17,17,0.85) 0%, rgba(17,17,17,0.6) 100%);
  z-index: 1;
}

/* Grayscale bg pattern for hero */
.section--hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 40%, rgba(232,160,191,0.15) 0%, transparent 50%),
    radial-gradient(circle at 30% 70%, rgba(232,160,191,0.08) 0%, transparent 40%);
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 900px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -2px;
}

.hero__title span {
  display: block;
  font-size: clamp(4rem, 12vw, 10rem);
  color: var(--pink);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--cream);
  margin-top: 1.5rem;
  letter-spacing: 1px;
  text-align: center;
}

.hero__photo-outline {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(180px, 22vw, 320px);
  z-index: 3;
}

.hero__photo-outline svg {
  width: 100%;
  height: auto;
}

.hero__photo-placeholder {
  position: absolute;
  top: 12%;
  left: 10%;
  width: 80%;
  height: 72%;
  border-radius: 50% 50% 45% 45%;
  background: linear-gradient(135deg, #666 0%, #444 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 0.85rem;
  overflow: hidden;
}

/* ================================================================
   SECTION 2: TABLE OF CONTENTS
   ================================================================ */
.section--toc {
  display: flex;
  min-height: 100vh;
}

.toc__card {
  background: var(--pink);
  border-radius: 0 30px 30px 0;
  padding: 4rem 3rem 4rem 4rem;
  width: 55%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.toc__holes {
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.toc__holes .hole {
  width: 24px;
  height: 24px;
  background: var(--cream);
  border-radius: 50%;
  display: block;
  box-shadow: inset 2px 2px 4px rgba(0,0,0,0.1);
}

.toc__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.95;
  color: var(--cream);
  margin-bottom: 3rem;
  letter-spacing: -1px;
}

.toc__list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.toc__item {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toc__item:hover {
  transform: translateX(10px);
}

.toc__num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--cream);
  min-width: 2.5rem;
}

.toc__link {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-transform: uppercase;
}

.toc__desc {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--cream);
  opacity: 0.85;
}

.toc__image-side {
  flex: 1;
  position: relative;
}

.toc__bg-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #555 0%, #333 100%);
  filter: grayscale(100%);
}

/* ================================================================
   SECTION 3: ABOUT ME
   ================================================================ */
.section--about {
  background: var(--pink);
  display: flex;
  align-items: center;
  padding: 4rem 5%;
  gap: 4rem;
}

.about__photo-frame {
  flex: 0 0 38%;
  position: relative;
}

.grid-paper {
  background:
    var(--cream)
    repeating-linear-gradient(0deg, transparent, transparent 24px, #ddd8d2 24px, #ddd8d2 25px)
    repeating-linear-gradient(90deg, transparent, transparent 24px, #ddd8d2 24px, #ddd8d2 25px);
  background-color: var(--cream);
  border-radius: 4px;
  padding: 1.5rem;
  box-shadow: 4px 6px 20px rgba(0,0,0,0.15);
  position: relative;
}

.washi-tape {
  position: absolute;
  z-index: 5;
}

.washi-tape--top {
  top: -10px;
  left: 20%;
  right: 20%;
  height: 22px;
  background: linear-gradient(90deg, var(--pink-light), var(--pink));
  opacity: 0.7;
  transform: rotate(-1deg);
  border-radius: 2px;
}

.about__photo-frame .photo-placeholder,
.about__photo-frame .polaroid__image {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #888 0%, #666 100%);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}

.about__content {
  flex: 1;
}

.speech-bubble {
  background: var(--cream);
  border-radius: 50% 50% 50% 10%;
  padding: 2.5rem 3rem;
  position: relative;
  margin-bottom: 2rem;
  box-shadow: 4px 6px 20px rgba(0,0,0,0.08);
}

.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 15%;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 25px solid var(--cream);
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: #8899bb;
  line-height: 1;
  position: absolute;
}

.quote-mark--open {
  top: 0.5rem;
  right: 2rem;
}

.quote-mark--close {
  bottom: 1.5rem;
  right: 2rem;
}

.about__title {
  font-family: var(--font-display);
  line-height: 0.95;
  letter-spacing: -1px;
}

.about__title span {
  display: block;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--dark);
  -webkit-text-stroke: 2px var(--dark);
  -webkit-text-fill-color: transparent;
}

.about__text {
  margin-top: 2rem;
}

.about__text p {
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

/* ================================================================
   SECTION 4: DUBAI - EXPANDING THE STAGE
   ================================================================ */
.section--dubai {
  flex-direction: column;
  min-height: auto;
  padding: 0;
}

.dubai__header {
  background: var(--pink);
  width: 100%;
  padding: 5rem 5% 4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 3rem;
  position: relative;
}

.dubai__title-area {
  flex: 0 0 40%;
  position: relative;
}

.dubai__title {
  line-height: 1;
}

.dubai__title .script-font {
  display: block;
  font-family: var(--font-script);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  color: var(--cream);
}

.hand-arrow {
  width: 50px;
}

.hand-arrow--down {
  margin-top: 1rem;
}

.dubai__intro {
  flex: 1;
}

.dubai__intro p {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.65;
}

.small-text {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 400;
}

/* Decorative scattered cards */
.deco-cards {
  position: absolute;
  right: 5%;
  top: 2rem;
  width: 80px;
  height: 80px;
}

.deco-card {
  position: absolute;
  width: 35px;
  height: 45px;
  background: var(--cream);
  border-radius: 2px;
  box-shadow: 2px 3px 8px rgba(0,0,0,0.2);
}

.deco-card--1 { transform: rotate(-15deg); top: 0; left: 0; }
.deco-card--2 { transform: rotate(5deg); top: 5px; left: 15px; }
.deco-card--3 { transform: rotate(20deg); top: -5px; left: 30px; }

/* Project tables (shared between Dubai & Nobitex) */
.dubai__table,
.nobitex__right {
  background: var(--cream);
  width: 100%;
  padding: 3rem 5%;
}

.table-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--pink-light);
  margin-bottom: 1.5rem;
}

.table-header .script-font {
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--pink);
  font-weight: 700;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  align-items: start;
}

.table-row:last-child {
  border-bottom: none;
}

.col-project a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}

.col-project a:hover {
  color: var(--pink-dark);
}

.col-role {
  text-align: center;
  font-size: 0.95rem;
}

.col-desc {
  font-size: 0.95rem;
  text-align: center;
  color: var(--gray);
}

/* ================================================================
   SECTION 5: NOBITEX
   ================================================================ */
.section--nobitex {
  display: flex;
  min-height: auto;
  align-items: stretch;
}

.nobitex__left {
  background: linear-gradient(180deg, var(--pink) 0%, var(--pink-light) 100%);
  width: 38%;
  padding: 5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nobitex__title span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.95;
  color: var(--dark);
  letter-spacing: -1px;
}

.hand-arrow--squiggle {
  width: 50px;
  margin: 1.5rem 0;
}

.nobitex__intro {
  font-size: 1.05rem;
  color: var(--dark);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.nobitex__right {
  flex: 1;
  padding: 3rem 4rem;
}

/* ================================================================
   SECTION 6: THEATRE EXPERIENCE
   ================================================================ */
.section--theatre {
  background: var(--pink);
  display: flex;
  align-items: center;
  padding: 4rem 5%;
  gap: 3rem;
}

.theatre__left {
  flex: 0 0 42%;
  position: relative;
}

/* Polaroid frame */
.polaroid {
  background: var(--cream);
  padding: 12px 12px 40px 12px;
  box-shadow: 4px 6px 20px rgba(0,0,0,0.15);
  position: relative;
  transition: transform 0.4s ease;
}

.polaroid:hover {
  transform: scale(1.02) rotate(-1deg);
}

.polaroid__image {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #777 0%, #555 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 0.8rem;
  text-align: center;
  padding: 1rem;
  overflow: hidden;
}

.polaroid--camera {
  transform: rotate(-2deg);
}

.sticker {
  position: absolute;
  z-index: 10;
}

.sticker--camera {
  top: -25px;
  left: -15px;
  width: 60px;
}

.sticker--sneaker {
  bottom: -10px;
  right: 20px;
  width: 50px;
}

.torn-paper-label {
  display: inline-block;
  background: var(--cream);
  padding: 0.5rem 2rem;
  position: relative;
  margin: 1.5rem 0;
  clip-path: polygon(0 15%, 2% 0, 5% 12%, 8% 2%, 12% 10%, 15% 0, 18% 8%, 22% 2%, 25% 15%, 28% 5%, 32% 12%, 35% 0, 38% 10%, 42% 3%, 45% 15%, 48% 5%, 52% 12%, 55% 0, 58% 8%, 62% 2%, 65% 15%, 68% 5%, 72% 10%, 75% 0, 78% 12%, 82% 3%, 85% 15%, 88% 0, 92% 10%, 95% 2%, 98% 12%, 100% 0, 100% 85%, 98% 100%, 95% 88%, 92% 100%, 88% 90%, 85% 100%, 82% 88%, 78% 97%, 75% 85%, 72% 100%, 68% 90%, 65% 100%, 62% 88%, 58% 97%, 55% 85%, 52% 100%, 48% 90%, 45% 100%, 42% 88%, 38% 97%, 35% 85%, 32% 100%, 28% 90%, 25% 100%, 22% 88%, 18% 97%, 15% 85%, 12% 100%, 8% 90%, 5% 100%, 2% 88%, 0 100%);
}

.torn-paper-label span,
.theatre__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: -1px;
  line-height: 1;
}

.torn-paper-label--small span {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

.theatre__quote {
  font-size: 1.05rem;
  color: var(--dark);
  line-height: 1.7;
  margin-top: 1rem;
}

.theatre__right {
  flex: 1;
}

/* Theatre table */
.theatre-table__header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--pink-dark);
  margin-bottom: 1.5rem;
}

.theatre-table__header .script-font {
  font-family: var(--font-script);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--pink-dark);
  font-weight: 700;
}

.theatre-table__row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  align-items: start;
}

.theatre-role {
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
}

.theatre-productions a {
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin: 0.2rem 0;
  transition: color 0.3s ease;
}

.theatre-productions a:hover {
  color: var(--pink-dark);
}

.theatre__closing-note {
  margin-top: 2rem;
}

.torn-paper-note {
  background: var(--cream);
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--gray);
  border-radius: 2px;
  box-shadow: 2px 3px 10px rgba(0,0,0,0.08);
  position: relative;
  clip-path: polygon(0 8%, 3% 0, 6% 5%, 10% 0, 100% 0, 100% 92%, 97% 100%, 94% 95%, 90% 100%, 0 100%);
}

/* ================================================================
   SECTION 7: RECOMMENDATION LETTERS
   ================================================================ */
.section--letters {
  background: var(--pink);
  flex-direction: column;
  padding: 4rem 5%;
  gap: 3rem;
}

.letters__header {
  text-align: center;
}

.torn-paper-banner {
  display: inline-block;
  background: var(--cream);
  padding: 0.8rem 4rem;
  clip-path: polygon(0 10%, 2% 0, 4% 8%, 8% 0, 100% 0, 100% 90%, 98% 100%, 96% 92%, 92% 100%, 0 100%);
}

.letters__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--dark);
  letter-spacing: 2px;
}

.letters__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  width: 100%;
}

.letter-frame {
  text-align: center;
}

.ornate-frame {
  background: var(--dark);
  padding: 20px;
  border: 8px solid #8B7355;
  box-shadow:
    inset 0 0 0 4px #A0875C,
    inset 0 0 0 6px #6B5B3E,
    6px 8px 25px rgba(0,0,0,0.4);
  position: relative;
}

.ornate-frame::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 2px solid #C4A96A;
  pointer-events: none;
}

.letter-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  gap: 0.5rem;
}

.letter-org {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 1px;
}

.letter-text {
  font-size: 0.8rem;
  color: var(--gray);
}

.letter-label {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--cream);
  font-weight: 500;
}

/* ================================================================
   SECTION 8 & 9: COLLAGE SECTIONS
   ================================================================ */
.section--collage {
  background: var(--pink);
  min-height: 100vh;
  padding: 4rem 3%;
}

.collage-scattered {
  position: relative;
  width: 100%;
  max-width: 1300px;
  height: 80vh;
  min-height: 600px;
  margin: 0 auto;
}

/* Position collage items absolutely for scrapbook effect */
.collage-item {
  position: absolute;
}

/* Section 8 positions */
.collage-item--1 { top: 2%; left: 2%; z-index: 5; }
.collage-item--2 { top: 3%; left: 8%; z-index: 3; transform: rotate(-3deg); }
.collage-item--3 { top: 55%; left: 15%; z-index: 6; }
.collage-item--4 { top: 55%; left: 5%; z-index: 2; transform: rotate(2deg); }
.collage-item--5 { top: 5%; left: 45%; z-index: 7; }
.collage-item--6 { top: 25%; right: 25%; z-index: 6; }
.collage-item--7 { top: 5%; right: 20%; z-index: 3; transform: rotate(3deg); }
.collage-item--8 { top: 35%; right: 10%; z-index: 2; transform: rotate(-2deg); }
.collage-item--9 { top: 60%; right: 5%; z-index: 4; }
.collage-item--10 { bottom: 5%; right: 15%; z-index: 3; transform: rotate(5deg); }
.collage-item--11 { top: 45%; left: 42%; z-index: 7; }
.collage-item--12 { bottom: 8%; left: 35%; z-index: 7; }

.collage-scattered .polaroid {
  width: clamp(180px, 22vw, 280px);
}

.collage-scattered .polaroid--small {
  width: clamp(140px, 16vw, 200px);
}

.collage-scattered .polaroid--instagram {
  width: clamp(150px, 18vw, 220px);
}

.collage-scattered .polaroid__image {
  aspect-ratio: 4/3;
}

.watercolor-label {
  background: linear-gradient(90deg, rgba(232,160,191,0.3) 0%, rgba(232,160,191,0.6) 50%, rgba(232,160,191,0.3) 100%);
  padding: 0.3rem 1.2rem;
  border-radius: 4px;
}

.watercolor-label span {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--cream);
}

.push-pin {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: radial-gradient(circle at 40% 40%, #e88faf, #c46888);
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
  z-index: 10;
}

.push-pin::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
}

/* Nobitex center label */
.nobitex-center-label {
  background: var(--cream);
  padding: 0.5rem 1.5rem;
  clip-path: polygon(0 10%, 3% 0, 6% 8%, 100% 0, 100% 90%, 97% 100%, 94% 92%, 0 100%);
}

.nobitex-center-label span {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--dark);
  letter-spacing: 2px;
}

/* Section 9 - reposition items for variety */
.section--collage-2 .collage-item--1 { top: 5%; left: 5%; }
.section--collage-2 .collage-item--2 { top: 5%; left: 3%; z-index: 3; transform: rotate(-4deg); }
.section--collage-2 .collage-item--3 { top: 5%; left: 35%; z-index: 3; transform: rotate(2deg); }
.section--collage-2 .collage-item--4 { top: 65%; left: 8%; z-index: 6; }
.section--collage-2 .collage-item--5 { top: 50%; left: 30%; z-index: 2; transform: rotate(-1deg); }
.section--collage-2 .collage-item--6 { top: 35%; left: 40%; z-index: 5; }
.section--collage-2 .collage-item--7 { bottom: 8%; left: 35%; z-index: 4; }
.section--collage-2 .collage-item--8 { top: 5%; right: 8%; z-index: 6; }
.section--collage-2 .collage-item--9 { top: 25%; right: 3%; z-index: 3; transform: rotate(3deg); }
.section--collage-2 .collage-item--10 { bottom: 10%; right: 20%; z-index: 7; }
.section--collage-2 .collage-item--11 { bottom: 5%; right: 5%; z-index: 7; }

/* Sticker styles */
.sticker--smiley { width: 40px; }
.sticker--cloud { width: 55px; }
.sticker--cloud-yellow { width: 55px; }
.sticker--leaf { width: 28px; }
.sticker--confetti { width: 50px; }

/* ================================================================
   SECTION 10: THEATER PHOTO COLLAGE
   ================================================================ */
.section--theatre-collage {
  background: var(--pink);
  flex-direction: column;
  padding: 4rem 5%;
  gap: 2rem;
}

.torn-paper-label--left {
  align-self: flex-start;
}

.theatre-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
  max-width: 1200px;
  width: 100%;
  position: relative;
}

.white-frame {
  background: var(--white);
  padding: 10px;
  box-shadow: 3px 5px 15px rgba(0,0,0,0.12);
}

.gallery-frame .photo-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #777 0%, #555 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 0.75rem;
  text-align: center;
  padding: 0.8rem;
}

.gallery-frame--1 { grid-column: 1; grid-row: 1; }
.gallery-frame--2 { grid-column: 2; grid-row: 1; }
.gallery-frame--3 { grid-column: 2; grid-row: 2; }
.gallery-frame--4 { grid-column: 1; grid-row: 2; }
.gallery-frame--5 { grid-column: 3 / 5; grid-row: 1; }
.gallery-frame--6 { grid-column: 3 / 5; grid-row: 2; }

.photo-placeholder--poster {
  background: linear-gradient(135deg, #E8A0BF 0%, #4444aa 50%, #222266 100%) !important;
  color: var(--cream) !important;
}

.torn-paper-label--center {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.sticker--masks {
  position: absolute;
  bottom: -20px;
  right: 5%;
  width: 50px;
  z-index: 5;
}

.sticker--ticket {
  position: absolute;
  bottom: -30px;
  right: 20%;
  z-index: 5;
}

.ticket-stub {
  background: var(--cream);
  border: 2px dashed #999;
  padding: 0.4rem 1rem;
  border-radius: 3px;
  text-align: center;
  transform: rotate(-5deg);
}

.ticket-text {
  font-family: var(--font-display);
  font-size: 0.8rem;
  display: block;
  letter-spacing: 2px;
}

.ticket-detail {
  font-size: 0.6rem;
  color: var(--gray);
}

/* ================================================================
   SECTION 11: MY PROCESS
   ================================================================ */
.section--process {
  background: var(--dark);
  position: relative;
}

.process__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    radial-gradient(circle at 50% 50%, rgba(232,160,191,0.1) 0%, transparent 60%);
}

.process__card {
  position: relative;
  z-index: 2;
  background: rgba(232, 160, 191, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 4rem 3rem;
  max-width: 1100px;
  width: 90%;
}

.process__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--cream);
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -1px;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process__step {
  text-align: center;
}

.process__step-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 0.8rem;
  letter-spacing: 1px;
}

.process__step-text {
  font-size: 0.95rem;
  color: var(--cream);
  line-height: 1.6;
}

.process__step-icon {
  width: 60px;
  height: 60px;
  margin: 1.5rem auto 0;
}

.process__step-icon svg {
  width: 100%;
  height: 100%;
}

/* ================================================================
   SECTION 12: HIGHLIGHTS / QUOTES
   ================================================================ */
.section--highlights {
  background: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 5%;
  gap: 3rem;
}

.highlights__photo {
  flex: 0 0 30%;
  position: relative;
}

.photo-placeholder--cutout {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #888 0%, #666 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 0.8rem;
  text-align: center;
  padding: 1rem;
}

.highlights__photo .sticker--cat {
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
}

.highlights__photo .sticker--cloud-yellow {
  bottom: 15%;
  left: -20px;
}

.highlights__notebook {
  flex: 1;
  max-width: 600px;
  position: relative;
}

.notebook-page {
  background:
    var(--cream)
    repeating-linear-gradient(0deg, transparent, transparent 24px, #ddd8d2 24px, #ddd8d2 25px)
    repeating-linear-gradient(90deg, transparent, transparent 24px, #ddd8d2 24px, #ddd8d2 25px);
  background-color: var(--cream);
  border-radius: 8px;
  padding: 2.5rem 2.5rem 2.5rem 3.5rem;
  box-shadow: 4px 6px 20px rgba(0,0,0,0.12);
  position: relative;
}

.notebook-holes {
  position: absolute;
  right: -8px;
  top: 10%;
  bottom: 10%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.notebook-holes span {
  width: 18px;
  height: 18px;
  background: var(--pink);
  border-radius: 50%;
  display: block;
  box-shadow: inset 1px 1px 3px rgba(0,0,0,0.15);
}

.notebook-spine {
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--pink);
  border-radius: 2px;
}

.highlights__list {
  list-style: none;
  padding: 0;
}

.highlights__list li {
  font-size: 1.15rem;
  color: var(--dark);
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  line-height: 1.6;
}

.highlights__list li::before {
  content: '\2022';
  color: var(--pink-dark);
  margin-right: 0.8rem;
  font-size: 1.4rem;
}

.highlights__list li:last-child {
  border-bottom: none;
}

.sticker--halftone {
  position: absolute;
  top: -30px;
  right: -20px;
  width: 80px;
  height: 60px;
  background: radial-gradient(circle, var(--dark) 1px, transparent 1px);
  background-size: 6px 6px;
  opacity: 0.25;
  border-radius: 50%;
}

/* ================================================================
   SECTION 13: CONTACT
   ================================================================ */
.section--contact {
  background: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 5%;
  gap: 4rem;
  flex-wrap: wrap;
}

.contact__notebook {
  flex: 0 0 35%;
  min-width: 280px;
}

.contact__notebook .grid-paper {
  padding: 2rem;
  position: relative;
}

.paperclip {
  position: absolute;
  top: -15px;
  left: 15%;
  width: 20px;
  height: 50px;
  border: 3px solid #B8A070;
  border-radius: 10px 10px 0 0;
  border-bottom: none;
  z-index: 5;
}

.paperclip::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 2px;
  width: 8px;
  height: 30px;
  border: 2px solid #B8A070;
  border-radius: 0 0 6px 6px;
  border-top: none;
}

.contact__photo {
  margin: 0 auto 1.5rem;
  max-width: 180px;
}

.contact__message {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--pink-dark);
  line-height: 1.5;
  font-weight: 700;
}

.contact__cta {
  flex: 1;
  text-align: center;
  min-width: 280px;
}

.contact__icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.contact__icon {
  width: 65px;
  height: 65px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink);
  box-shadow: 3px 5px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact__icon svg {
  width: 32px;
  height: 32px;
}

.contact__icon:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 3px 8px 25px rgba(0,0,0,0.2);
}

.contact__lets-talk {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--cream);
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.cursor-icon {
  animation: cursor-blink 1s ease-in-out infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Contact Form */
.contact-form {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 2px solid transparent;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(5px);
  color: var(--dark);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--pink-dark);
  box-shadow: 0 0 0 4px rgba(232,160,191,0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  background: var(--dark);
  color: var(--cream);
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 2px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  background: #222;
}

/* ================================================================
   ANIMATIONS
   ================================================================ */

/* Initial hidden states for scroll-triggered animations */
.animate-slide-left,
.animate-slide-right,
.animate-fade-up,
.animate-pop,
.animate-tilt-in,
.animate-rotate-in,
.animate-slide-up,
.animate-scatter,
.animate-stagger,
.animate-bounce {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-slide-left { transform: translateX(-60px); }
.animate-slide-right { transform: translateX(60px); }
.animate-fade-up { transform: translateY(40px); }
.animate-pop { transform: scale(0.8); }
.animate-tilt-in { transform: rotate(-5deg) scale(0.9); }
.animate-rotate-in { transform: rotate(-10deg) translateY(30px); }
.animate-slide-up { transform: translateY(50px); }
.animate-scatter { transform: translateY(80px) rotate(var(--scatter-rotate, 10deg)) scale(0.7); }
.animate-bounce { transform: translateY(30px); }

/* Visible states */
.animate-slide-left.visible,
.animate-slide-right.visible,
.animate-fade-up.visible,
.animate-pop.visible,
.animate-tilt-in.visible,
.animate-rotate-in.visible,
.animate-slide-up.visible,
.animate-scatter.visible,
.animate-stagger.visible,
.animate-bounce.visible {
  opacity: 1;
  transform: none;
}

/* Stagger children */
.animate-stagger.visible {
  transition-delay: var(--stagger-delay, 0s);
}

/* Bounce effect for contact icons */
.animate-bounce.visible {
  animation: bounceIn 0.6s ease forwards;
  animation-delay: var(--stagger-delay, 0s);
}

@keyframes bounceIn {
  0% { opacity: 0; transform: translateY(30px) scale(0.5); }
  60% { opacity: 1; transform: translateY(-8px) scale(1.05); }
  80% { transform: translateY(3px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Continuous subtle floating for stickers */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

.sticker--smiley,
.sticker--confetti,
.sticker--cat {
  animation: float 4s ease-in-out infinite;
}

.sticker--cloud {
  animation: float 5s ease-in-out infinite;
  animation-delay: 1s;
}

/* Parallax-lite shimmer for hero */
@keyframes heroShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.section--hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(232,160,191,0.03) 50%,
    transparent 70%
  );
  background-size: 200% 200%;
  animation: heroShimmer 8s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

/* ================================================================
   RESPONSIVE DESIGN
   ================================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .section--about {
    flex-direction: column;
    padding: 3rem 4%;
  }

  .about__photo-frame {
    flex: none;
    width: 60%;
    max-width: 350px;
  }

  .section--nobitex {
    flex-direction: column;
  }

  .nobitex__left {
    width: 100%;
    padding: 3rem 5%;
  }

  .nobitex__right {
    padding: 2rem 5%;
  }

  .section--theatre {
    flex-direction: column;
  }

  .theatre__left {
    flex: none;
    width: 100%;
    text-align: center;
  }

  .theatre__left .polaroid {
    max-width: 400px;
    margin: 0 auto;
  }

  .letters__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .letters__grid .letter-frame:last-child {
    grid-column: 1 / -1;
    max-width: 350px;
    margin: 0 auto;
  }

  .process__steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .section--highlights {
    flex-direction: column;
  }

  .highlights__photo {
    flex: none;
    width: 50%;
    max-width: 250px;
  }

  .section--contact {
    flex-direction: column;
    text-align: center;
  }

  .contact__notebook {
    flex: none;
    width: 80%;
    max-width: 400px;
  }

  .theatre-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-frame--5,
  .gallery-frame--6 {
    grid-column: span 1;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .section--toc {
    flex-direction: column;
  }

  .toc__card {
    width: 100%;
    border-radius: 0;
    padding: 3rem 2rem;
    min-height: auto;
  }

  .toc__image-side {
    min-height: 200px;
  }

  .toc__holes {
    right: auto;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 2rem;
  }

  .hero__photo-outline {
    display: none;
  }

  .hero__title span {
    font-size: 3.5rem;
  }

  .dubai__header {
    flex-direction: column;
    gap: 1.5rem;
    padding: 3rem 4%;
  }

  .dubai__title-area {
    flex: none;
  }

  .table-header,
  .table-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    text-align: left;
  }

  .col-role,
  .col-desc {
    text-align: left;
  }

  .table-header {
    display: none;
  }

  .table-row {
    padding: 1.5rem 0;
  }

  .col-project::before { content: 'Project: '; font-weight: 400; color: var(--pink-dark); font-family: var(--font-script); font-size: 1.2rem; }
  .col-role::before { content: 'Role: '; font-weight: 400; color: var(--pink-dark); font-family: var(--font-script); font-size: 1.2rem; }
  .col-desc::before { content: 'Description: '; font-weight: 400; color: var(--pink-dark); font-family: var(--font-script); font-size: 1.2rem; }

  .theatre-table__header {
    display: none;
  }

  .theatre-table__row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .theatre-role {
    text-align: left;
    font-size: 1.1rem;
    color: var(--pink-dark);
  }

  .collage-scattered {
    height: auto;
    min-height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .collage-item {
    position: static !important;
    transform: none !important;
  }

  .collage-scattered .polaroid {
    width: 45%;
  }

  .letters__grid {
    grid-template-columns: 1fr;
    max-width: 350px;
  }

  .letters__grid .letter-frame:last-child {
    max-width: 100%;
  }

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

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

  .about__photo-frame {
    width: 85%;
  }

  .contact__icons {
    gap: 1.2rem;
  }

  .contact__icon {
    width: 55px;
    height: 55px;
  }
}

/* --- Scrollbar styling --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: var(--pink);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--pink-dark);
}

/* --- Selection color --- */
::selection {
  background: var(--pink);
  color: var(--cream);
}

/* --- Photo placeholder shared styles (for Art Jameel card) --- */
.photo-placeholder {
  background: linear-gradient(135deg, #888 0%, #666 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 0.8rem;
  text-align: center;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.photo-placeholder span {
  font-family: var(--font-body);
  font-style: italic;
  opacity: 0.7;
  z-index: 1;
}

/* ================================================================
   REAL IMAGE STYLES
   ================================================================ */

/* Hero photo */
.hero__photo-img {
  position: absolute;
  top: 8%;
  left: 5%;
  width: 90%;
  height: 80%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50% 50% 45% 45%;
  filter: grayscale(20%) contrast(1.05);
}

/* TOC background image */
.toc__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%);
  position: absolute;
  inset: 0;
}

/* About photo */
.about__photo-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  display: block;
}

/* Polaroid images (used in collages, theatre, contact) */
.polaroid__image-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

/* Letter images */
.letter-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: contain;
  background: var(--cream);
  display: block;
}

/* Art Jameel placeholder card */
.letter-placeholder--artjameel {
  background: var(--cream);
  width: 100%;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1.5rem;
  transition: background 0.3s ease;
}

.letter-link {
  text-decoration: none;
  display: block;
}

.letter-link:hover .letter-placeholder--artjameel {
  background: #f0e8dd;
}

.artjameel-logo {
  width: 100px;
  margin-bottom: 0.5rem;
}

.letter-view-pdf {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: normal;
  color: var(--pink-dark);
  font-weight: 700;
  margin-top: 0.5rem;
  opacity: 1;
  transition: color 0.3s ease;
}

.letter-link:hover .letter-view-pdf {
  color: var(--pink);
}

/* Gallery images */
.gallery-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.white-frame--large .gallery-img {
  aspect-ratio: 16/9;
}

/* Highlights photo */
.highlights__photo-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  display: block;
}

/* --- Custom cursor on interactive elements --- */
a, button, .toc__item, .polaroid {
  cursor: pointer;
}

/* --- Smooth page transitions --- */
.section {
  will-change: transform;
}

/* --- Gradient border on form focus --- */
.form-group input:focus,
.form-group textarea:focus {
  background: linear-gradient(var(--white), var(--white)) padding-box,
              linear-gradient(135deg, var(--pink), var(--pink-dark)) border-box;
  border: 2px solid transparent;
}

/* --- Link hover glow effect --- */
.col-project a:hover,
.theatre-productions a:hover,
.toc__link:hover {
  text-shadow: 0 0 8px rgba(232, 160, 191, 0.4);
}

/* --- Loading animation for page --- */
@keyframes pageLoad {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  animation: pageLoad 0.6s ease-out;
}

/* ================================================================
   READING TIMELINE (right side navigation)
   ================================================================ */
.reading-timeline {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.reading-timeline.visible {
  opacity: 1;
  pointer-events: auto;
}

.timeline__track {
  position: absolute;
  right: 5px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(232, 160, 191, 0.25);
  border-radius: 2px;
  z-index: 0;
}

.timeline__progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--pink);
  border-radius: 2px;
  transition: height 0.15s linear;
}

.timeline__dots {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 1;
}

.timeline__dot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 7px 0;
  text-decoration: none;
  position: relative;
  cursor: pointer;
}

.timeline__dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(232, 160, 191, 0.35);
  border: 1.5px solid rgba(232, 160, 191, 0.5);
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.timeline__dot:hover::after,
.timeline__dot.active::after {
  background: var(--pink);
  border-color: var(--pink);
  transform: scale(1.4);
  box-shadow: 0 0 8px rgba(232, 160, 191, 0.5);
}

.timeline__dot.active::after {
  background: var(--pink);
  border-color: #fff;
  box-shadow: 0 0 0 2px var(--pink), 0 0 12px rgba(232, 160, 191, 0.4);
}

.timeline__label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--pink-dark);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(5px);
  transition: all 0.25s ease;
  pointer-events: none;
  background: rgba(253, 248, 243, 0.92);
  backdrop-filter: blur(4px);
  padding: 2px 8px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.timeline__dot:hover .timeline__label,
.timeline__dot.active .timeline__label {
  opacity: 1;
  transform: translateX(0);
}

/* Dark section adjustments for timeline */
.reading-timeline.on-dark .timeline__track {
  background: rgba(255, 255, 255, 0.15);
}

.reading-timeline.on-dark .timeline__dot::after {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
}

.reading-timeline.on-dark .timeline__dot:hover::after,
.reading-timeline.on-dark .timeline__dot.active::after {
  background: var(--pink);
  border-color: #fff;
}

.reading-timeline.on-dark .timeline__label {
  color: var(--cream);
  background: rgba(17, 17, 17, 0.85);
}

/* Hide timeline on mobile */
@media (max-width: 768px) {
  .reading-timeline {
    display: none;
  }
}
