/* ============================================================
   MIREILLE KAZAN — Spatial Drawing & Ink Installation
   Style System — Warm Ink-on-Paper Editorial
   ============================================================ */

/* ============================================================
   01. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================================ */

:root {
  --black:       #0a0908;
  --charcoal:    #141210;
  --umber:       #1e1a16;
  --ink:         #211d19;
  --slate:       #2a2420;
  --warm-gray:   #6b6159;
  --paper:       #e8ddd0;
  --paper-dim:   #c4b8aa;
  --gold-ink:    #8a7355;

  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        'Outfit', system-ui, sans-serif;

  --ease-cinema: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-expo:   cubic-bezier(0.16, 1, 0.3, 1);

  --px:          clamp(28px, 5.5vw, 88px);
  --py:          clamp(80px, 12vw, 180px);
}

/* ============================================================
   02. RESET
   ============================================================ */

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

html {
  scroll-behavior: auto;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

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

/* ============================================================
   03. BASE STYLES
   ============================================================ */

body {
  background: var(--black);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-loading {
  overflow: hidden;
}

@media (min-width: 769px) {
  body {
    cursor: none;
  }
}

/* ============================================================
   04. GRAIN OVERLAY
   ============================================================ */

#grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.022;
  mix-blend-mode: overlay;
  will-change: contents;
}

/* ============================================================
   05. CUSTOM CURSOR
   ============================================================ */

.cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  top: 0;
  left: 0;
}

.cursor__dot {
  width: 5px;
  height: 5px;
  background: var(--paper);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
}

.cursor__ring {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(232, 221, 208, 0.4);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-cinema), height 0.3s var(--ease-cinema), border-color 0.3s var(--ease-cinema);
}

.cursor--hover .cursor__ring {
  width: 46px;
  height: 46px;
  border-color: rgba(232, 221, 208, 0.7);
}

@media (max-width: 768px) {
  .cursor {
    display: none;
  }
}

/* ============================================================
   06. LOADER
   ============================================================ */

.loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.loader__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.loader__name-wrap {
  overflow: hidden;
}

.loader__name {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.4em;
  color: var(--paper);
  white-space: nowrap;
  display: block;
  opacity: 0;
  transform: translateY(10px);
}

.loader__bar-track {
  width: 140px;
  height: 1px;
  background: rgba(232, 221, 208, 0.1);
  position: relative;
  overflow: hidden;
}

.loader__bar {
  height: 100%;
  width: 0%;
  background: var(--paper);
  transform-origin: left center;
  position: absolute;
  top: 0;
  left: 0;
}

.loader__counter {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--warm-gray);
}

/* ============================================================
   07. HEADER
   ============================================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 18px var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  mix-blend-mode: difference;
  color: var(--paper);
}

.header__logo {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
}

.header__nav {
  display: flex;
  gap: 2.5rem;
}

.header__link {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.65;
  transition: opacity 0.3s var(--ease-cinema);
}

.header__link:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .header__nav {
    display: none;
  }
}

/* ============================================================
   08. NAV TOGGLE (HAMBURGER)
   ============================================================ */

.nav-toggle {
  position: relative;
  width: 40px;
  height: 24px;
  cursor: pointer;
  z-index: 201;
}

.nav-toggle__line {
  position: absolute;
  right: 0;
  height: 1px;
  background: var(--paper);
  transition: width 0.4s var(--ease-cinema), transform 0.4s var(--ease-cinema), opacity 0.3s;
}

.nav-toggle__line:nth-child(1) {
  top: 4px;
  width: 100%;
}

.nav-toggle__line:nth-child(2) {
  bottom: 4px;
  width: 55%;
}

.nav-toggle:hover .nav-toggle__line:nth-child(2) {
  width: 100%;
}

.nav-toggle.is-open .nav-toggle__line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 100%;
}

.nav-toggle.is-open .nav-toggle__line:nth-child(2) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
  width: 100%;
}

/* ============================================================
   09. MENU OVERLAY
   ============================================================ */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s var(--ease-cinema);
}

.menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-overlay__inner {
  padding: 15vh var(--px);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.menu-overlay__list {
  display: flex;
  flex-direction: column;
}

.menu-overlay__list li {
  overflow: hidden;
  margin: 0.8vh 0;
}

.menu-link {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vh, 4rem);
  font-weight: 300;
  color: var(--paper);
  transition: opacity 0.3s var(--ease-cinema);
}

.menu-link:hover {
  opacity: 0.4;
}

.menu-link__index {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--warm-gray);
  min-width: 2rem;
}

.menu-link__label {
  display: block;
}

.menu-overlay__footer {
  margin-top: auto;
  padding-top: 4vh;
  display: flex;
  gap: 3rem;
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--warm-gray);
}

/* ============================================================
   10. T-MASK
   ============================================================ */

.t-mask {
  overflow: hidden;
  display: block;
}

/* ============================================================
   11. SCENE BASE
   ============================================================ */

.scene {
  position: relative;
}

/* ============================================================
   12. HERO SECTION
   ============================================================ */

.scene-hero {
  height: 100vh;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title-wrap {
  margin-bottom: 1.8rem;
}

.hero-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(4.5rem, 12vw, 13rem);
  letter-spacing: 0.1em;
  line-height: 0.92;
  color: var(--paper);
  display: block;
}

.hero-sub-wrap {
  display: block;
}

.hero-sub {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(0.7rem, 1vw, 0.9rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(232, 221, 208, 0.5);
}

.hero-scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 3;
  mix-blend-mode: difference;
}

.hero-scroll-cue__text {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paper);
}

.hero-scroll-cue__line {
  width: 1px;
  height: 56px;
  background: rgba(232, 221, 208, 0.25);
  overflow: hidden;
  position: relative;
}

.hero-scroll-cue__line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--paper);
  animation: scrollPulse 2.5s infinite var(--ease-cinema);
}

@keyframes scrollPulse {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.hero-meta {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  padding: 0 var(--px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232, 221, 208, 0.28);
  z-index: 2;
}

/* ============================================================
   13. COMPOSITION SECTION (CENTERPIECE)
   ============================================================ */

.scene-composition {
  position: relative;
  background: var(--black);
}

.composition-pin {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.composition-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.comp-layer {
  position: absolute;
}

#comp-ground {
  inset: 0;
  background: linear-gradient(160deg, #0a0908 0%, #141210 40%, #0e0c0a 100%);
  z-index: 1;
}

#comp-line1 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 1px;
  background: rgba(232, 221, 208, 0.3);
  transform-origin: left center;
  z-index: 5;
}

#comp-wash1 {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  opacity: 0;
  clip-path: polygon(10% 10%, 45% 10%, 45% 85%, 10% 85%);
  filter: grayscale(0.8) brightness(0.7);
}

.comp-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

#comp-grid {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  opacity: 0;
  clip-path: polygon(30% 0, 70% 0, 70% 100%, 30% 100%);
  filter: contrast(1.1) brightness(0.85);
}

#comp-wash2 {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 6;
  opacity: 0;
  clip-path: polygon(40% 20%, 95% 20%, 95% 70%, 40% 70%);
  filter: contrast(1.2) brightness(0.5);
  mix-blend-mode: screen;
}

#comp-title {
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 8;
  pointer-events: none;
}

.comp-title__mask {
  overflow: hidden;
}

.comp-title__text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(7rem, 17vw, 20rem);
  letter-spacing: 0.06em;
  color: rgba(232, 221, 208, 0.06);
  transform: translateY(100%);
  display: block;
  line-height: 0.95;
  text-align: center;
}

#comp-ink-deep {
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0) 20%, rgba(10, 9, 8, 0.5) 100%);
  z-index: 7;
  opacity: 0;
}

#comp-light {
  top: 50%;
  left: -5%;
  width: 110%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 221, 208, 0.5), transparent);
  z-index: 9;
  opacity: 0;
}

#comp-meta {
  bottom: 7%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  z-index: 12;
  text-align: center;
  white-space: nowrap;
}

.comp-meta__text {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 221, 208, 0.38);
}

#comp-atmosphere {
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(30, 26, 22, 0.4) 0%, transparent 65%);
  z-index: 6;
  opacity: 0;
  pointer-events: none;
}

.comp-progress {
  position: absolute;
  bottom: 2.5rem;
  right: var(--px);
  width: 80px;
  height: 1px;
  background: rgba(232, 221, 208, 0.1);
  z-index: 20;
}

.comp-progress__bar {
  height: 100%;
  width: 0%;
  background: var(--gold-ink);
  transform-origin: left center;
}

.comp-chapter-label {
  position: absolute;
  top: var(--px);
  left: var(--px);
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 221, 208, 0.25);
  z-index: 20;
}

/* ============================================================
   14. STATEMENT SECTION
   ============================================================ */

.scene-statement {
  background: var(--black);
  color: var(--paper);
  padding: var(--py) var(--px);
  min-height: 100vh;
}

.statement-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.statement-index {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 221, 208, 0.22);
  margin-bottom: clamp(60px, 10vw, 120px);
}

.statement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 8vw, 130px);
  align-items: start;
}

.statement-pull-wrap {
  display: block;
}

.statement-pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 3.8vw, 4.5rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--paper);
}

.statement-col--right {
  margin-top: clamp(80px, 12vw, 160px);
}

.statement-body p {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(0.88rem, 1vw, 1rem);
  line-height: 1.95;
  color: rgba(232, 221, 208, 0.58);
  margin-bottom: 1.8rem;
}

.statement-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .statement-grid {
    grid-template-columns: 1fr;
  }

  .statement-col--right {
    margin-top: 3rem;
  }
}

/* ============================================================
   15. WORKS SECTION
   ============================================================ */

.scene-works {
  background: var(--black);
  color: var(--paper);
  padding-top: var(--py);
}

.works-header {
  padding: 0 var(--px) clamp(80px, 12vw, 160px);
  max-width: 1280px;
  margin: 0 auto;
}

.works-header__index {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 221, 208, 0.22);
  margin-bottom: clamp(24px, 3vw, 40px);
}

.works-header__title-wrap {
  display: block;
}

.works-header__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(4rem, 10vw, 12rem);
  letter-spacing: -0.02em;
  line-height: 0.9;
}

.works-header__title em {
  font-style: italic;
  color: rgba(232, 221, 208, 0.38);
}

.work-item {
  display: grid;
  align-items: stretch;
  min-height: 80vh;
  border-top: 1px solid rgba(232, 221, 208, 0.05);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.work-item--odd {
  grid-template-columns: 48% 1fr;
}

.work-item--even {
  grid-template-columns: 1fr 48%;
}

.work-item__image-col {
  overflow: hidden;
  position: relative;
}

.work-item__image-frame {
  height: 100%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 4px 18px rgba(0, 0, 0, 0.4);
}

.work-image {
  width: 100%;
  height: 100%;
  min-height: 480px;
  position: relative;
}

.work-image__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-cinema);
  will-change: transform, filter;
}

.work-item:hover .work-image__img {
  transform: scale(1.05);
}

.work-item__text-col {
  display: flex;
  align-items: center;
  padding: clamp(48px, 7vw, 96px) var(--px);
}

.work-item__content {
  max-width: 400px;
}

.work-item__number {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: rgba(232, 221, 208, 0.18);
  display: block;
  margin-bottom: 1.5rem;
}

.work-item__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 6rem);
  line-height: 1.0;
  margin-bottom: 2rem;
}

.work-item__meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(232, 221, 208, 0.32);
  margin-bottom: 1.8rem;
}

.work-item__year {
  color: rgba(232, 221, 208, 0.5);
}

.work-item__desc {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.88rem;
  line-height: 1.85;
  color: rgba(232, 221, 208, 0.52);
  margin-bottom: 1.5rem;
}

.work-item__detail {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232, 221, 208, 0.2);
}

@media (max-width: 768px) {
  .work-item--odd {
    grid-template-columns: 1fr;
  }

  .work-item--even {
    grid-template-columns: 1fr;
  }

  .work-item--even .work-item__image-col {
    grid-row: 1;
  }

  .work-image {
    min-height: 300px;
  }
}

/* ============================================================
   16. ABOUT SECTION
   ============================================================ */

.scene-about {
  background: var(--black);
  color: var(--paper);
  padding: var(--py) var(--px);
  min-height: 100vh;
}

.about-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.about-index {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 221, 208, 0.22);
  margin-bottom: clamp(60px, 10vw, 120px);
}

.about-grid {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: clamp(60px, 8vw, 130px);
  align-items: start;
}

.about-portrait-col {
  position: sticky;
  top: clamp(80px, 10vh, 120px);
}

.about-portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
  background: var(--umber);
}

.about-portrait__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  will-change: transform, filter;
}

.about-portrait__caption {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(232, 221, 208, 0.22);
}

.about-text-col {
  padding-top: clamp(20px, 4vw, 60px);
}

.about-text-inner {
  max-width: 560px;
}

.about-name-wrap {
  display: block;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.about-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 7rem);
  line-height: 1.0;
}

.about-name em {
  font-style: italic;
}

.about-bio p {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.93rem;
  line-height: 1.9;
  color: rgba(232, 221, 208, 0.6);
  margin-bottom: 1.4rem;
}

.about-bio p:last-child {
  margin-bottom: 0;
}

.about-section-title {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 221, 208, 0.22);
  margin-bottom: 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(232, 221, 208, 0.07);
}

.about-list {
  list-style: none;
}

.about-list li {
  display: flex;
  gap: 2rem;
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.83rem;
  color: rgba(232, 221, 208, 0.48);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(232, 221, 208, 0.05);
}

.about-list__year {
  color: rgba(232, 221, 208, 0.3);
  min-width: 3rem;
  flex-shrink: 0;
}

.about-list--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
}

.about-list--inline li {
  border: none;
  padding: 0.2rem 0;
  font-size: 0.78rem;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-portrait-col {
    position: static;
  }
}

/* ============================================================
   17. CONTACT SECTION
   ============================================================ */

.scene-contact {
  background: #000;
  color: var(--paper);
  padding: var(--py) var(--px);
  min-height: 80vh;
  position: relative;
  will-change: filter;
}

.contact-inner {
  max-width: 860px;
}

.contact-top {
  margin-bottom: clamp(60px, 10vw, 110px);
}

.contact-index {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 221, 208, 0.22);
}

.contact-main {
  display: flex;
  flex-direction: column;
  gap: clamp(38px, 5.5vw, 65px);
}

.contact-heading-wrap {
  display: block;
}

.contact-heading {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(4rem, 9vw, 11rem);
  letter-spacing: -0.02em;
  line-height: 0.93;
}

.contact-heading em {
  font-style: italic;
}

.contact-gallery__label,
.contact-direct__label {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(232, 221, 208, 0.22);
  display: block;
  margin-bottom: 0.8rem;
}

.contact-gallery__name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.3rem;
  color: rgba(232, 221, 208, 0.78);
  margin-bottom: 0.4rem;
}

.contact-gallery__city {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232, 221, 208, 0.28);
  margin-left: 1.5rem;
}

.contact-email {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  color: var(--paper);
  border-bottom: 1px solid rgba(232, 221, 208, 0.18);
  padding-bottom: 4px;
  transition: border-color 0.4s var(--ease-cinema);
  display: inline-block;
}

.contact-email:hover {
  border-color: transparent;
}

.contact-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.contact-social__link {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  transition: opacity 0.3s var(--ease-cinema);
}

.contact-social__link:hover {
  opacity: 0.45;
}

.contact-footer__location {
  opacity: 0.6;
}

/* ============================================================
   17. WORK MODAL (FULLSCREEN)
   ============================================================ */

.work-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s var(--ease-cinema);
}

.work-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.work-modal__close {
  position: absolute;
  top: var(--px);
  right: var(--px);
  width: 40px;
  height: 40px;
  z-index: 501;
  cursor: pointer;
}

.work-modal__close .nav-toggle__line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--paper);
  transition: transform 0.4s var(--ease-cinema);
}

.work-modal__close .nav-toggle__line:nth-child(1) {
  transform: rotate(45deg);
}

.work-modal__close .nav-toggle__line:nth-child(2) {
  transform: rotate(-45deg);
}

.work-modal__close:hover .nav-toggle__line {
  background: #fff;
}

.work-modal__inner {
  width: 100%;
  height: 100%;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 5vh;
}

.work-modal__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 1.2s var(--ease-cinema), transform 1.2s var(--ease-cinema);
}

.work-modal.is-open .work-modal__img {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.3s;
}

.work-modal__caption {
  margin-top: 1.5rem;
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-gray);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s var(--ease-cinema), transform 0.8s var(--ease-cinema);
}

.work-modal.is-open .work-modal__caption {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.contact-social__sep {
  color: rgba(232, 221, 208, 0.18);
}

.contact-footer {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  padding: 0 var(--px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232, 221, 208, 0.18);
}

@media (max-width: 768px) {
  .contact-footer {
    position: static;
    margin-top: clamp(60px, 10vw, 100px);
    flex-direction: column-reverse;
    gap: 1rem;
    align-items: flex-start;
  }
}

/* ============================================================
   18. CINEMATIC DEPTH SYSTEM
   ============================================================ */

#scene-curtain {
  will-change: transform;
}

/* ============================================================
   19. JS-DRIVEN ANIMATION INITIAL STATES
   (ensures no flash before JS sets state)
   ============================================================ */

.js-fade-up {
  opacity: 0;
  transform: translateY(28px);
}

/* ============================================================
   20. SELECTION COLOR
   ============================================================ */

::selection {
  background: rgba(138, 115, 85, 0.3);
  color: var(--paper);
}

/* ============================================================
   21. FOCUS VISIBLE
   ============================================================ */

:focus-visible {
  outline: 1px solid rgba(232, 221, 208, 0.4);
  outline-offset: 4px;
}

/* ============================================================
   22. SCROLL BAR STYLING
   ============================================================ */

::-webkit-scrollbar {
  width: 4px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--warm-gray);
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--paper-dim);
}

/* ============================================================
   23. TRANSITION HELPERS
   ============================================================ */

.transition-opacity {
  transition: opacity 0.4s var(--ease-cinema);
}

/* ============================================================
   24. MOBILE ADJUSTMENTS
   ============================================================ */

@media (max-width: 768px) {
  .hero-name {
    font-size: clamp(3rem, 12vw, 4.5rem);
    line-height: 1.05;
    padding-bottom: 0.1em;
  }

  .comp-title__text {
    font-size: clamp(4rem, 18vw, 8rem);
  }

  #comp-wash1 {
    top: 10%;
    left: 5%;
    width: 88%;
    height: 60%;
  }

  #comp-wash2 {
    top: 35%;
    right: 2%;
    width: 72%;
    height: 40%;
  }

  .comp-meta__text {
    font-size: 0.55rem;
    white-space: normal;
    text-align: center;
    max-width: 80vw;
  }

  #comp-meta {
    bottom: 12%;
    width: 90%;
    left: 5%;
    transform: none;
  }

  .hero-meta {
    display: none;
  }
}

/* ============================================================
   25. PRINT STYLES
   ============================================================ */

@media print {
  .loader,
  .cursor,
  #grain,
  .hero-bg-img,
  .comp-img,
  .work-image__img,
  .about-portrait__img {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}
