/* ================================================================
   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: none;
}

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__bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  filter: grayscale(100%);
  z-index: 0;
}

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

.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;
}


/* ================================================================
   STICKY HEADER NAV
   ================================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  padding: 0 5%;
  background: rgba(253, 248, 243, 0.0);
  backdrop-filter: blur(0px);
  transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(-100%);
}

.site-header.visible {
  transform: translateY(0);
}

.site-header.scrolled {
  background: rgba(253, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.header__inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.header__logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--dark);
  letter-spacing: 2px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.header__logo:hover {
  color: var(--pink-dark);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.header__link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  letter-spacing: 0.3px;
  transition: background 0.3s ease, color 0.3s ease;
}

.header__link:hover {
  background: rgba(232, 160, 191, 0.15);
  color: var(--pink-dark);
}

.header__link.active {
  background: rgba(232, 160, 191, 0.2);
  color: var(--pink-dark);
  font-weight: 600;
}

.header__link--cta {
  background: var(--dark);
  color: var(--cream);
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  margin-left: 0.5rem;
}

.header__link--cta:hover {
  background: #333;
  color: var(--cream);
}

/* Hamburger toggle */
.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  z-index: 10;
}

.header__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.header__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.header__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ================================================================
   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: none;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.col-project a::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23E8A0BF'%3E%3Cpath d='M4.5 2.5a.5.5 0 000 1h6.793L2.146 12.646a.5.5 0 00.708.708L12 4.207V11a.5.5 0 001 0V2.5H4.5z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.col-project a:hover::after {
  transform: translate(2px, -2px);
}

.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;
}

/* (sneaker sticker removed) */

.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: none;
  margin: 0.2rem 0;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.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 (Card-based layout)
   ================================================================ */
.section--collage {
  background: var(--pink);
  min-height: 100vh;
  padding: 4rem 3%;
}

/* Card-based collage layout */
.collage-cards {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  padding: 2rem 0;
}

.collage-card {
  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;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.collage-card--left {
  flex: 0 0 42%;
  transform: rotate(-1deg);
}

.collage-card--right {
  flex: 0 0 48%;
  transform: rotate(1deg);
}

.collage-card__photo {
  width: 100%;
}

.collage-card__photo .polaroid__image-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.collage-card__label {
  align-self: flex-start;
  margin: 0;
}

.collage-card__sublabel {
  align-self: flex-start;
}

.collage-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  width: 100%;
}

.collage-card__grid .polaroid {
  width: 100%;
}

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

/* Stickers between cards */
.collage-stickers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

.collage-sticker {
  position: absolute;
}

.collage-sticker--1 { top: 5%; left: 42%; width: 40px; }
.collage-sticker--2 { bottom: 35%; left: 44%; width: 55px; }
.collage-sticker--3 { top: 15%; right: 5%; width: 55px; }
.collage-sticker--4 { bottom: 10%; right: 15%; width: 50px; }

/* Center column for section 9 */
.collage-center {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0;
  align-self: center;
}

.collage-sticker--arrow { width: 60px; }
.collage-sticker--leaf { width: 30px; }

.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%;
}

.push-pin--top {
  top: -8px;
  left: 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;
}

/* 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; transform: rotate(-1deg); }
.gallery-frame--2 { grid-column: 2; grid-row: 1; transform: rotate(1.5deg); }
.gallery-frame--3 { grid-column: 2; grid-row: 2; transform: rotate(-0.5deg); }
.gallery-frame--4 { grid-column: 1; grid-row: 2; transform: rotate(2deg); }
.gallery-frame--5 { grid-column: 3 / 5; grid-row: 1; transform: rotate(-0.8deg); }
.gallery-frame--6 { grid-column: 3 / 5; grid-row: 2; transform: rotate(0.5deg); }

.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__bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%);
  z-index: 0;
}

.process__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35));
  z-index: 1;
}

.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: 80px;
  height: 80px;
  margin: 1.5rem auto 0;
  filter: drop-shadow(2px 3px 4px rgba(0,0,0,0.3));
}

.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: 80px;
  height: 80px;
  background: var(--white);
  border-radius: 16px;
  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.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.contact__icon:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 3px 12px 30px rgba(0,0,0,0.25);
}

.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 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.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
   ================================================================ */

/* Large tablet / small desktop */
@media (max-width: 1200px) {
  .section {
    min-height: auto;
  }

  .collage-cards {
    padding: 2rem 3%;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .section--hero {
    min-height: 100vh;
  }

  .section--about {
    flex-direction: column;
    padding: 3rem 4%;
  }

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

  .about__content {
    width: 100%;
  }

  .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;
  }

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

  .dubai__title-area {
    flex: none;
  }

  /* Header always visible on mobile — horizontal scroll */
  .header__toggle {
    display: none !important;
  }

  .header__inner {
    height: 48px;
  }

  .header__logo {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-right: 0.5rem;
  }

  .header__nav {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.1rem;
    flex: 1;
    min-width: 0;
  }

  .header__nav::-webkit-scrollbar {
    display: none;
  }

  .header__link {
    flex-shrink: 0;
    padding: 0.3rem 0.55rem;
    font-size: 0.7rem;
    border-radius: 6px;
    white-space: nowrap;
  }

  .header__link--cta {
    padding: 0.3rem 0.8rem;
    border-radius: 14px;
    margin-left: 0.2rem;
    font-size: 0.7rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .section--hero {
    min-height: 100svh;
  }

  .hero__bg-photo {
    object-position: 58% center;
  }

  .hero__content {
    padding: 0 5%;
  }

  .hero__title span {
    font-size: clamp(2.8rem, 12vw, 5rem);
  }


  .about__photo-frame {
    width: 70%;
    max-width: 300px;
  }

  /* Speech bubble fix for mobile - "Hello my name is Zahra" */
  .speech-bubble {
    border-radius: 20px;
    padding: 1.8rem 1.5rem;
  }

  .about__title span {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .quote-mark {
    font-size: 2.5rem;
  }

  .quote-mark--open {
    top: 0.3rem;
    right: 1rem;
  }

  .quote-mark--close {
    bottom: 0.8rem;
    right: 1rem;
  }

  .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 role titles visible on mobile */
  .theatre-table__header {
    display: none;
  }

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

  .theatre-role {
    text-align: left;
    font-size: 1.15rem;
    color: var(--cream);
    background: var(--pink-dark);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
    font-weight: 700;
  }

  .theatre-productions {
    padding-left: 0.5rem;
  }

  .theatre-productions a {
    display: block;
    padding: 0.25rem 0;
    font-size: 0.95rem;
  }

  .collage-cards {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 5%;
  }

  .collage-card--left,
  .collage-card--right {
    flex: none;
    width: 90%;
    max-width: 500px;
    transform: none;
  }

  .collage-stickers {
    display: none;
  }

  .collage-center {
    flex-direction: row;
    padding: 0;
  }

  /* Letters grid - all same size on mobile */
  .letters__grid {
    grid-template-columns: 1fr;
    max-width: 350px;
  }

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

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

  .process__card {
    padding: 3rem 1.5rem;
    width: 95%;
  }

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

  /* Theater gallery - ensure ALL photos visible on mobile */
  .theatre-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    padding: 0 4%;
  }

  .gallery-frame--1,
  .gallery-frame--2,
  .gallery-frame--3,
  .gallery-frame--4,
  .gallery-frame--5,
  .gallery-frame--6 {
    grid-column: auto;
    grid-row: auto;
    transform: none;
  }

  .contact__icons {
    gap: 1.2rem;
  }

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

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

  /* Highlights mobile - side-by-side compact layout */
  .section--highlights {
    padding: 3rem 5%;
    gap: 1.5rem;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .highlights__photo {
    flex: 0 0 35%;
    max-width: 160px;
  }

  .highlights__notebook {
    flex: 1;
    min-width: 0;
  }

  .notebook-page {
    padding: 1.5rem 1.5rem 1.5rem 2.5rem;
  }

  .highlights__list li {
    font-size: 0.95rem;
    padding: 0.7rem 0;
  }

  .section--contact {
    padding: 3rem 5%;
    gap: 2.5rem;
  }

  .section--letters {
    padding: 3rem 5%;
  }

  /* Hide timeline on mobile */
  .reading-timeline {
    display: none;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .hero__bg-photo {
    object-position: 55% center;
  }


  .hero__title span {
    font-size: clamp(2.2rem, 14vw, 3.5rem);
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .header__link {
    font-size: 0.62rem;
    padding: 0.25rem 0.4rem;
  }

  .header__link--cta {
    font-size: 0.62rem;
    padding: 0.25rem 0.6rem;
  }

  .header__logo {
    font-size: 0.95rem;
  }

  .header__inner {
    height: 42px;
  }

  .about__photo-frame {
    width: 85%;
  }

  .about__text p {
    font-size: 0.95rem;
  }

  .speech-bubble {
    padding: 1.2rem;
    border-radius: 16px;
  }

  .about__title span {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }

  .dubai__table {
    padding: 0 4%;
  }

  .nobitex__left {
    padding: 2rem 4%;
  }

  .nobitex__right {
    padding: 1.5rem 4%;
  }

  .collage-card {
    padding: 1rem;
  }

  .collage-card__grid {
    grid-template-columns: 1fr;
  }

  .watercolor-label,
  .torn-paper-label--small {
    font-size: 0.75rem;
  }

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

  .process__card {
    padding: 2.5rem 1.2rem;
  }

  .process__title {
    font-size: clamp(2rem, 8vw, 4rem);
  }

  /* Highlights stacked on small mobile */
  .section--highlights {
    flex-direction: column;
    align-items: center;
  }

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

  .highlights__notebook {
    width: 100%;
  }

  .notebook-page {
    padding: 1.2rem 1.2rem 1.2rem 2rem;
  }

  .highlights__list li {
    font-size: 0.9rem;
    padding: 0.6rem 0;
  }

  .contact__notebook {
    width: 95%;
  }

  .contact-form {
    max-width: 100%;
  }

  .contact__lets-talk {
    font-size: 1.4rem;
  }

  /* Theater gallery 2 columns on small mobile (not 1) */
  .theatre-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .gallery-frame--5 .white-frame--large,
  .gallery-frame--6 .white-frame--large {
    width: 100%;
  }

  .white-frame--large .gallery-img {
    aspect-ratio: 4/3;
  }

  .letters__title {
    font-size: clamp(3rem, 15vw, 6rem);
  }
}

/* ================================================================
   LIGHTBOX MODAL
   ================================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
  backdrop-filter: blur(8px);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.lightbox__close:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

.lightbox__content {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox__content img {
  transform: scale(1);
}

.lightbox__content iframe {
  width: 80vw;
  height: 85vh;
  border: none;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.letter-frame[data-lightbox] {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.letter-frame[data-lightbox]:hover {
  transform: translateY(-5px);
}

/* ================================================================
   VIDEO EMBED CONTAINER (for future YouTube embeds)
   ================================================================ */
.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 4px 6px 20px rgba(0,0,0,0.2);
  margin: 1.5rem 0;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- 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 background photo is now handled by .hero__bg-photo in the hero section */

/* 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 sitewide (arrow pointer from Let's Talk section) --- */
body {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 9-6 2-4 7z' fill='%23111' stroke='%23fff' stroke-width='1'/%3E%3C/svg%3E") 5 3, auto;
}

a, button, .toc__item, .polaroid, [data-lightbox], [role="button"] {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 9-6 2-4 7z' fill='%23E8A0BF' stroke='%23333' stroke-width='1'/%3E%3C/svg%3E") 5 3, 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 {
  text-shadow: 0 0 8px rgba(232, 160, 191, 0.4);
}

/* Header link hover glow */
.header__link:hover {
  text-shadow: 0 0 8px rgba(232, 160, 191, 0.3);
}

/* --- 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: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

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

.timeline__track {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  z-index: 0;
}

.timeline__progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--dark);
  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: center;
  padding: 8px 0;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  width: 28px;
}

.timeline__dot::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
}

.timeline__dot:hover::after {
  background: var(--dark);
  border-color: var(--dark);
  transform: scale(1.6);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
}

.timeline__dot.active::after {
  background: var(--dark);
  border-color: #fff;
  transform: scale(1.4);
  box-shadow: 0 0 0 3px var(--dark), 0 0 15px rgba(0, 0, 0, 0.2);
}

.timeline__label {
  position: absolute;
  right: calc(100% + 8px);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  background: rgba(253, 248, 243, 0.95);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.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 {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.reading-timeline.on-dark .timeline__dot.active::after {
  background: #fff;
  border-color: var(--dark);
  box-shadow: 0 0 0 3px #fff, 0 0 15px rgba(255, 255, 255, 0.3);
}

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

.reading-timeline.on-dark .timeline__progress {
  background: #fff;
}
