/* ============================================================
   NOAH VEIL — Production CSS
   World-class immersive art portfolio
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS + RESET
   ============================================================ */

:root {
  /* Color tokens */
  --black:       #050505;
  --charcoal:    #0f0f0e;
  --navy:        #0a0e1a;
  --petrol:      #1c2a3a;
  --deep-green:  #0d1510;
  --graphite:    #141820;
  --silver:      #8a8f9a;
  --gold:        #a89060;
  --ivory:       #f5f4ef;
  --ivory-dim:   #e0ddd5;
  --gray:        #777;

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

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

  /* Spacing */
  --px: clamp(24px, 5vw, 80px);
  --py: clamp(80px, 12vw, 180px);
}

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

html {
  scroll-behavior: auto;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 200;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-loading {
  overflow: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}


/* ============================================================
   2. CURSOR
   ============================================================ */

@media (hover: hover) and (pointer: fine) {
  body {
    cursor: none;
  }

  a,
  button,
  [role="button"] {
    cursor: none;
  }
}

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

.cursor__dot {
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, opacity 0.3s ease;
}

.cursor__ring {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  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 ease;
}

.cursor--hovering .cursor__ring {
  width: 48px;
  height: 48px;
  border-color: rgba(255, 255, 255, 0.8);
}

.cursor--hovering .cursor__dot {
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
}


/* ============================================================
   3. LOADER
   ============================================================ */

.loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1s var(--ease-cinema);
}

.loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.loader__content {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.loader__name-wrap {
  overflow: hidden;
}

.loader__name {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  color: white;
  display: block;
  transform: translateY(100%);
  transition: transform 0.9s var(--ease-expo);
}

.loader__name.is-visible {
  transform: translateY(0);
}

.loader__bar-track {
  width: 160px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
}

.loader__bar {
  height: 100%;
  width: 0%;
  background: var(--ivory);
  transform-origin: left;
  transition: none;
}

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


/* ============================================================
   4. HEADER
   ============================================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 200;
  padding: 18px var(--px);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  mix-blend-mode: difference;
  pointer-events: none;
}

.header__logo {
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.header__nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  pointer-events: auto;
}

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

.header__link:hover {
  opacity: 1;
}

.nav-toggle {
  position: relative;
  width: 40px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  pointer-events: auto;
}

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

.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: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  width: 100%;
}


/* ============================================================
   5. 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 {
  list-style: none;
}

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

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

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

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

.menu-link__label {
  display: block;
}

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


/* ============================================================
   6. T-MASK
   ============================================================ */

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


/* ============================================================
   7. 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%;
  display: block;
  object-fit: cover;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(10, 14, 26, 0.45) 0%, transparent 60%),
    radial-gradient(ellipse at 72% 28%, rgba(28, 42, 58, 0.45) 0%, transparent 50%);
}

.hero-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

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

.hero-name {
  font-family: var(--serif);
  font-size: clamp(5rem, 14vw, 15rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 0.9;
  color: white;
  display: block;
  white-space: nowrap;
}

.hero-name__space {
  display: inline-block;
  width: 0.3em;
}

.hero-sub-wrap {
  overflow: hidden;
}

.hero-sub {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(0.75rem, 1.1vw, 0.95rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  display: block;
}

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

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

.hero-scroll-cue__arrow svg {
  opacity: 0.4;
  animation: scrollPulse 2.5s infinite var(--ease-cinema);
}

@keyframes scrollPulse {
  0%   { opacity: 0.4; transform: translateY(0); }
  50%  { opacity: 0.8; transform: translateY(8px); }
  100% { opacity: 0.4; transform: translateY(0); }
}

.hero-meta {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  padding: 0 var(--px);
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 200;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  z-index: 2;
  pointer-events: none;
}


/* ============================================================
   8. COMPOSITION SECTION
   ============================================================ */

.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-field {
  inset: 0;
  background: var(--navy);
  opacity: 1;
}

#comp-line {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  transform-origin: center;
}

#comp-rect {
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
}

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

#comp-panel2 {
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  z-index: 4;
}

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

.comp-title__mask {
  overflow: hidden;
}

.comp-title__text {
  font-family: var(--serif);
  font-size: clamp(8rem, 18vw, 22rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.08);
  display: block;
  transform: translateY(100%);
  line-height: 1;
  will-change: transform;
}

#comp-gold {
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  z-index: 5;
}

#comp-haze {
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(28, 42, 58, 0.6) 0%, transparent 70%);
  opacity: 0;
  z-index: 10;
}

#comp-sweep {
  top: 48%;
  left: -10%;
  width: 120%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 144, 96, 0.6), transparent);
  opacity: 0;
  z-index: 11;
}

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

.comp-meta__text {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 200;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

#comp-glow {
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(28, 42, 58, 0.3) 0%, transparent 60%);
  opacity: 0;
  z-index: 8;
  pointer-events: none;
}

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

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

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


/* ============================================================
   9. STATEMENT SECTION
   ============================================================ */

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

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

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

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

.statement-col--left {
  grid-column: 1;
}

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

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

.statement-body p {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 1.8rem;
}

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


/* ============================================================
   10. WORKS SECTION
   ============================================================ */

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

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

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

.works-header__title-wrap {
  overflow: hidden;
}

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

.works-header__title em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.4);
}

.work-item {
  display: grid;
  gap: 0;
  align-items: stretch;
  min-height: 80vh;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  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;
  position: relative;
  box-shadow:
    0 20px 70px rgba(0, 0, 0, 0.6),
    0 4px 20px rgba(0, 0, 0, 0.4);
}

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

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

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

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

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

.work-item--even .work-item__text-col {
  justify-self: start;
  margin-left: auto;
}

.work-item__number {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 200;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.2);
  display: block;
  margin-bottom: 1.5rem;
}

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

.work-item__meta {
  display: flex;
  gap: 1rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 200;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1.8rem;
  align-items: center;
}

.work-item__year {
  color: rgba(255, 255, 255, 0.5);
}

.work-item__desc {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.5rem;
}

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


/* ============================================================
   11. ABOUT SECTION
   ============================================================ */

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

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

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

.about-grid {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: clamp(60px, 8vw, 140px);
  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(--graphite);
}

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

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

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

.about-text-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-name {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 7rem);
  font-weight: 300;
  line-height: 1.0;
  margin-bottom: clamp(32px, 5vw, 60px);
  color: var(--ivory);
}

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

.about-bio p {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 1.4rem;
}

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

.about-section-title {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 200;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-exhibitions,
.about-publications {
  margin-top: 0;
}

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

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

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

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

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


/* ============================================================
   12. CONTACT SECTION
   ============================================================ */

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

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

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

.contact-index {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 200;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
}

.contact-main {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 70px);
  padding-bottom: clamp(80px, 12vw, 160px);
}

.contact-heading-wrap {
  overflow: hidden;
}

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

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

.contact-gallery__label,
.contact-direct__label {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 200;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  display: block;
  margin-bottom: 0.8rem;
}

.contact-gallery__name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: baseline;
  gap: 0;
}

.contact-gallery__city {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 200;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-left: 1.5rem;
}

.contact-email {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  display: inline-block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 4px;
  transition: border-color 0.4s ease;
  color: var(--ivory);
}

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

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

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

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

.contact-social__sep {
  color: rgba(255, 255, 255, 0.2);
}

.contact-footer {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  width: 100%;
  padding: 0 var(--px);
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 200;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
}


/* ============================================================
   13. GRAIN CANVAS (GLOBAL OVERLAY)
   ============================================================ */

.grain-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.025;
  mix-blend-mode: overlay;
  will-change: contents;
}


/* ============================================================
   14. CINEMATIC SYSTEM — HARDWARE ACCELERATION + DEPTH
   ============================================================ */

.work-image__canvas,
.about-portrait__canvas {
  will-change: transform, filter;
}

.scene-contact {
  will-change: filter;
}

#grain {
  will-change: contents;
}

.work-item__image-frame {
  box-shadow:
    0 20px 70px rgba(0, 0, 0, 0.6),
    0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Scene base */
.scene {
  position: relative;
}

/* JS animation initial states — hidden until JS runs */
.js-fade-up {
  opacity: 0;
  transform: translateY(30px);
}


/* ============================================================
   15. RESPONSIVE — max-width: 768px
   ============================================================ */

@media (max-width: 768px) {

  body {
    cursor: default;
  }

  .cursor {
    display: none;
  }

  /* Header */
  .header__nav {
    display: none;
  }

  /* Menu links */
  .menu-link {
    font-size: 2.5rem;
  }

  /* Hero */
  .hero-name {
    letter-spacing: 0.06em;
    font-size: clamp(4rem, 16vw, 8rem);
  }

  /* Composition adjustments */
  #comp-panel2 {
    width: 80vw;
    height: 50vh;
  }

  #comp-gold {
    width: 60vw;
    height: 45vh;
  }

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

  /* Statement */
  .statement-grid {
    grid-template-columns: 1fr;
    gap: clamp(40px, 8vw, 80px);
  }

  .statement-col--left {
    grid-column: 1;
  }

  .statement-col--right {
    grid-column: 1;
    margin-top: 0;
  }

  /* Works */
  .work-item--odd,
  .work-item--even {
    grid-template-columns: 1fr;
  }

  .work-item--even .work-item__text-col {
    grid-row: 1;
    margin-left: 0;
    justify-self: auto;
  }

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

  .work-item {
    min-height: auto;
  }

  .work-image {
    min-height: 280px;
    aspect-ratio: 4 / 3;
  }

  .work-item__text-col {
    padding: clamp(32px, 8vw, 60px) var(--px);
  }

  .work-item__content {
    max-width: 100%;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: clamp(40px, 8vw, 80px);
  }

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

  .about-portrait {
    aspect-ratio: 4 / 3;
  }

  /* Contact footer */
  .contact-footer {
    position: static;
    margin-top: clamp(60px, 10vw, 100px);
    flex-direction: column;
    gap: 0.6rem;
  }

  .contact-main {
    padding-bottom: 0;
  }
}

/* Medium screens */
@media (max-width: 1024px) and (min-width: 769px) {

  .works-header__title {
    font-size: clamp(3.5rem, 8vw, 10rem);
  }

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

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

  .about-grid {
    grid-template-columns: 40% 1fr;
  }
}


/* ============================================================
   16. UTILITY + ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-scroll-cue__arrow svg {
    animation: none;
  }
}

/* Selection */
::selection {
  background: rgba(168, 144, 96, 0.2);
  color: var(--ivory);
}

/* Focus (accessibility) */
a:focus-visible,
button:focus-visible {
  outline: 1px solid rgba(168, 144, 96, 0.6);
  outline-offset: 4px;
}
