@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300&family=Playfair+Display:ital,wght@0,300;0,400;0,700;1,300;1,700&family=Space+Mono:wght@400;700&display=swap');

/*
  FONT ROLES
  Playfair Display 700  — display headlines, tile titles, stat numbers
  Playfair Display 300  — body, paragraphs, descriptions
  Cormorant Garamond    — hero sub-tagline, small italic accents
  Space Mono            — labels, nav, footer, metadata
*/

:root {
  --black: #080808;
  --white: #f5f0eb;
  --gray: #1a1a1a;
  --gray-mid: #2e2e2e;
  --gray-light: #888;
  --accent: #c8a96e;
  --accent-dim: rgba(200,169,110,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* Hide native cursor only on true pointer devices */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button, [onclick] { cursor: none; }
}

/* ── RANGEFINDER CURSOR — desktop only ── */
.rf-cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .rf-cursor {
    display: block;
    width: 80px; height: 80px;
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0.88;
    will-change: transform;
  }
  .rf-cursor img { width: 100%; height: 100%; display: block; }
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 48px;
  background: linear-gradient(to bottom, rgba(8,8,8,0.95) 0%, transparent 100%);
  transition: background 0.4s, padding 0.4s;
}
nav.scrolled {
  background: rgba(8,8,8,0.97);
  padding: 16px 48px;
  border-bottom: 1px solid rgba(200,169,110,0.1);
}
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  color: var(--white); text-decoration: none;
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.7; transition: opacity 0.3s, color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.nav-links a:hover { opacity: 1; color: var(--accent); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px; cursor: pointer;
}
.nav-hamburger span { display: block; width: 24px; height: 1px; background: var(--white); transition: transform 0.3s, opacity 0.3s; }

/* ── HERO ── */
#hero {
  position: relative; height: 100vh; height: 100dvh;
  display: flex; align-items: flex-end; overflow: hidden;
}
.hero-video-wrap { position: absolute; inset: 0; background: var(--black); overflow: hidden; }
.hero-video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.3) 50%, rgba(8,8,8,0.1) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 0 48px 48px; max-width: 900px; }
.hero-tagline {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px;
  opacity: 0; animation: fadeUp 0.8s 0.3s forwards;
}
.hero-headline {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1.0; letter-spacing: -0.01em; color: var(--white);
  opacity: 0; animation: fadeUp 0.8s 0.5s forwards;
}
.gold { color: var(--accent); }
.hero-sub {
  margin-top: 32px;
  font-family: 'Cormorant Garamond', serif; font-weight: 300; font-style: italic;
  font-size: clamp(17px, 1.8vw, 23px); line-height: 1.7;
  color: rgba(245,240,235,0.75); max-width: 620px;
  opacity: 0; animation: fadeUp 0.8s 0.7s forwards;
}
.hero-scroll {
  position: absolute; bottom: 40px; right: 48px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  opacity: 0; animation: fadeIn 1s 1.2s forwards;
}
.hero-scroll span {
  font-family: 'Space Mono', monospace; font-size: 9px;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--gray-light);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s infinite;
}

/* ── SECTION LABELS ── */
.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.section-title {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: clamp(34px, 4.5vw, 58px);
  letter-spacing: -0.01em; color: var(--white); line-height: 1.05;
}

/* ── STATEMENT ── */
#statement { padding: 120px 48px; max-width: 1100px; margin: 0 auto; }
.statement-text {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-style: italic;
  font-size: clamp(19px, 2.2vw, 26px); line-height: 1.85;
  color: rgba(245,240,235,0.85);
  border-left: 2px solid var(--accent); padding-left: 40px;
}
.statement-text strong { color: var(--white); font-weight: 300; }

/* ── MOSAIC GRID ── */
#work { padding: 48px 48px 120px; }
.work-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  max-width: 1400px; margin: 0 auto 48px; padding-bottom: 48px;
}
.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px;
  gap: 6px;
  max-width: 1400px; margin: 0 auto;
}
.tile:nth-child(1) { grid-column: span 7; grid-row: span 4; }
.tile:nth-child(2) { grid-column: span 5; grid-row: span 2; }
.tile:nth-child(3) { grid-column: span 5; grid-row: span 2; }
.tile:nth-child(4) { grid-column: span 4; grid-row: span 3; }
.tile:nth-child(5) { grid-column: span 4; grid-row: span 3; }
.tile:nth-child(6) { grid-column: span 4; grid-row: span 3; }
.tile:nth-child(7) { grid-column: span 6; grid-row: span 3; }
.tile:nth-child(8) { grid-column: span 6; grid-row: span 3; }
.tile {
  position: relative; overflow: hidden;
  cursor: pointer; display: block; text-decoration: none;
  background: var(--gray-mid);
}
.tile video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.5s;
  filter: grayscale(20%) brightness(0.75);
}
.tile:hover video { transform: scale(1.05); filter: grayscale(0%) brightness(0.65); }
.tile-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(8,8,8,0.9) 0%, rgba(8,8,8,0.2) 60%, transparent 100%);
  transition: background 0.4s;
}
.tile:hover .tile-overlay {
  background: linear-gradient(to top, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.5) 60%, rgba(8,8,8,0.2) 100%);
}
.tile-content {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 24px 28px;
  transform: translateY(8px); transition: transform 0.4s;
}
.tile:hover .tile-content { transform: translateY(0); }
.tile-client {
  font-family: 'Space Mono', monospace;
  font-size: 9px; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 6px;
  opacity: 0; transition: opacity 0.3s 0.1s;
}
.tile:hover .tile-client { opacity: 1; }
.tile-title {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: clamp(16px, 2vw, 28px);
  letter-spacing: -0.01em; color: var(--white); line-height: 1.1;
}
.tile-arrow {
  position: absolute; top: 24px; right: 24px; z-index: 2;
  width: 36px; height: 36px;
  border: 1px solid rgba(200,169,110,0.4); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(-4px);
  transition: opacity 0.3s, transform 0.3s, border-color 0.3s;
}
.tile:hover .tile-arrow { opacity: 1; transform: translateY(0); border-color: var(--accent); }
.tile-arrow svg { stroke: var(--accent); }

/* ── PAGE SYSTEM ── */
.page { display: none; }
.page.active { display: block; }

/* ── PROJECT PAGE ── */
.project-hero {
  position: relative; display: flex; flex-direction: column;
  background: var(--black); overflow: hidden;
}
.project-hero-img {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('../img/placeholder.jpg');
  background-size: cover; background-position: center top;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 25%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 25%, rgba(0,0,0,0) 100%);
}
.project-hero-content {
  position: relative; z-index: 2;
  padding: 90px 80px 32px;
}
/* Title left, Prev/Next right — buttons aligned to bottom of title text */
.proj-title-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding-bottom: 24px;  /* spacing below whole row, replaces title margin-bottom */
}
.proj-title-left { flex: 1; min-width: 0; }
.project-client-label {
  font-family: 'Space Mono', monospace; font-size: 10px;
  letter-spacing: 0.4em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.project-subtitle {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300;
  font-size: clamp(16px, 1.6vw, 22px); color: rgba(245,240,235,0.65);
  margin-bottom: 12px; letter-spacing: 0.01em;
}
.project-title {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: clamp(40px, 6vw, 82px); letter-spacing: -0.02em; line-height: 1.0;
  margin-bottom: 0;  /* no margin — spacing handled by .proj-title-row padding-bottom */
}
.proj-nav-btns {
  display: flex; gap: 12px; flex-shrink: 0;
  align-items: flex-end; padding-bottom: 0;
  /* align-items:flex-end on parent + no margin on title = buttons sit at title text baseline */
}
.proj-nav-btn {
  background: transparent; border: 1px solid var(--accent);
  color: var(--accent); font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 10px 20px; cursor: pointer; transition: all 0.3s;
}
.proj-nav-btn:hover { background: var(--accent-dim); }

/* Video player */
.project-video-section { position: relative; z-index: 2; padding: 8px 80px 60px; }
.project-video-wrap {
  width: 100%; aspect-ratio: 16/9;
  background: rgba(14,14,14,0.9);
  border: 1px solid rgba(200,169,110,0.12);
  position: relative; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.8);
}
.video-placeholder-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.play-btn {
  width: 72px; height: 72px;
  border: 1px solid rgba(200,169,110,0.5); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s; background: transparent;
}
.play-btn:hover { background: rgba(200,169,110,0.1); border-color: var(--accent); transform: scale(1.05); }
.play-btn svg { fill: var(--accent); margin-left: 4px; }

/* Fullscreen button (desktop) */
.fullscreen-btn {
  position: absolute; bottom: 14px; right: 14px; z-index: 4;
  background: rgba(8,8,8,0.6); border: 1px solid rgba(200,169,110,0.3);
  color: var(--accent); cursor: pointer; padding: 7px 10px;
  transition: all 0.3s; line-height: 1;
}
.fullscreen-btn:hover { background: var(--accent-dim); border-color: var(--accent); }
.fullscreen-btn svg { display: block; width: 14px; height: 14px; fill: none; stroke: var(--accent); stroke-width: 1.8; }

/* Mobile fullscreen button */
.fullscreen-btn-mobile {
  position: absolute; bottom: 14px; right: 14px; z-index: 4;
  background: rgba(8,8,8,0.6); border: 1px solid rgba(200,169,110,0.3);
  color: var(--accent); cursor: pointer; padding: 7px 12px;
  transition: all 0.3s; line-height: 1;
  font-family: 'Space Mono', monospace; font-size: 9px;
  letter-spacing: 0.15em; text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
}
.fullscreen-btn-mobile:hover { background: var(--accent-dim); border-color: var(--accent); }
.fullscreen-btn-mobile svg { display: block; width: 12px; height: 12px; fill: none; stroke: var(--accent); stroke-width: 2; }

/* Mobile fullscreen X exit button */
.mobile-fs-exit {
  position: absolute; top: 16px; right: 16px; z-index: 10;
  background: rgba(8,8,8,0.85); border: 1px solid var(--accent);
  color: var(--accent); font-size: 18px;
  width: 40px; height: 40px;
  display: none; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s;
}
.mobile-fs-exit:hover { background: var(--accent-dim); }

/* ── VIDEO SHARE (three-dot menu) ── */
.video-share-wrap {
  position: absolute; bottom: 14px; left: 14px; z-index: 4;
}
.video-share-btn {
  background: rgba(8,8,8,0.6); border: 1px solid rgba(200,169,110,0.3);
  color: var(--accent); font-size: 20px; line-height: 1;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s;
}
.video-share-btn:hover { background: var(--accent-dim); border-color: var(--accent); }
.video-share-menu {
  position: absolute; bottom: 42px; left: 0;
  background: rgba(8,8,8,0.96); border: 1px solid rgba(200,169,110,0.25);
  min-width: 200px; display: none; flex-direction: column;
}
.video-share-menu.open { display: flex; }
.share-item {
  font-family: 'Space Mono', monospace; font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
  padding: 12px 16px; cursor: pointer;
  background: none; border: none; text-align: left;
  border-bottom: 1px solid rgba(200,169,110,0.08);
  transition: background 0.2s;
}
.share-item:last-child { border-bottom: none; }
.share-item:hover { background: var(--accent-dim); }
.share-toast {
  position: fixed; bottom: 40px; left: 50%; transform: translateX(-50%);
  background: rgba(8,8,8,0.9); border: 1px solid var(--accent);
  color: var(--accent); font-family: 'Space Mono', monospace; font-size: 9px;
  letter-spacing: 0.3em; text-transform: uppercase;
  padding: 10px 24px; z-index: 99999;
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.share-toast.show { opacity: 1; }

/* Rangefinder cursor clone — injected into video wrap on fullscreen enter */
.rf-cursor-inner {
  width: 80px; height: 80px;
  position: absolute; top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  opacity: 0.88;
  will-change: transform;
  display: block;
}
.rf-cursor-inner img { width: 100%; height: 100%; display: block; }

/* Fullscreen — rangefinder inside */
:fullscreen .rf-cursor-inner,
:-webkit-full-screen .rf-cursor-inner { display: block; }
.fs-exit-btn {
  position: absolute; top: 20px; right: 20px; z-index: 10;
  background: rgba(8,8,8,0.7); border: 1px solid rgba(200,169,110,0.5);
  color: var(--accent); font-family: 'Space Mono', monospace;
  font-size: 13px; letter-spacing: 0.1em;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  cursor: none; transition: all 0.3s;
}
.fs-exit-btn:hover { background: var(--accent-dim); border-color: var(--accent); }

/* ── PROJECT BODY ── */
.project-body { max-width: 1100px; margin: 0 auto; padding: 48px 80px 80px; }
.project-info-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 80px; margin-bottom: 32px; }
.project-desc {
  font-family: 'Playfair Display', serif; font-weight: 300;
  font-size: 17px; line-height: 1.9; color: rgba(245,240,235,0.82);
}
.project-desc p { margin-bottom: 1.2em; }
.project-desc p:last-child { margin-bottom: 0; }
.project-meta h4 {
  font-family: 'Space Mono', monospace; font-size: 9px;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px; margin-top: 24px;
}
.project-meta h4:first-child { margin-top: 0; }
.project-meta p {
  font-family: 'Playfair Display', serif; font-weight: 300;
  font-size: 14px; color: rgba(245,240,235,0.7); line-height: 1.7;
}

/* External link button */
.project-ext-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Mono', monospace; font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
  border: 1px solid var(--accent); padding: 10px 20px; margin-top: 28px;
  transition: all 0.3s;
}
.project-ext-link:hover { background: var(--accent-dim); gap: 12px; }

/* ── CREDITS ACCORDION ── */
.credits-accordion { margin-top: 16px; }
.credits-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; border-top: 1px solid rgba(200,169,110,0.2);
  padding: 12px 0; cursor: pointer; transition: opacity 0.2s;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.credits-toggle:hover { opacity: 0.75; }
.credits-toggle-label {
  font-family: 'Space Mono', monospace; font-size: 9px;
  letter-spacing: 0.35em; text-transform: uppercase; color: var(--accent);
}
.credits-toggle-icon {
  font-family: 'Space Mono', monospace; font-size: 20px;
  color: var(--accent); line-height: 1; flex-shrink: 0;
}
.credits-body { padding-top: 4px; }

/* Credits list — lighter dividers */
.credits-list { list-style: none; margin: 0; padding: 0; }
.credits-list li {
  display: flex; flex-direction: column;
  padding: 7px 0; border-bottom: 1px solid rgba(200,169,110,0.18);
}
.credits-list li:last-child { border-bottom: none; }
.credit-role {
  font-family: 'Space Mono', monospace; font-size: 8px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 2px;
}
.credit-name {
  font-family: 'Playfair Display', serif; font-weight: 300;
  font-size: 13px; color: rgba(245,240,235,0.8); line-height: 1.5;
}

/* ── PHOTO STRIP ── */
.proj-gallery-section { padding: 16px 0 80px; overflow: hidden; }
.proj-gallery-label { padding: 0 80px; margin-bottom: 24px; }
.gallery-strip-wrap { position: relative; overflow: hidden; width: 100%; }
.gallery-strip {
  display: flex; gap: 10px;
  will-change: transform; cursor: grab;
}
.gallery-strip.grabbing { cursor: grabbing; }
.gallery-photo {
  flex: 0 0 auto; width: 460px; height: 300px;
  overflow: hidden; background: var(--gray); position: relative;
}
.gallery-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: brightness(0.82); pointer-events: none;
}
.gallery-photo:hover img { transform: scale(1.04); filter: brightness(1); }
.gallery-photo-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s; background: rgba(8,8,8,0.3);
}
.gallery-photo:hover .gallery-photo-overlay { opacity: 1; }
.gallery-zoom-icon {
  width: 44px; height: 44px;
  border: 1px solid rgba(200,169,110,0.6); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
/* Touch mode (mobile) — native scroll */
.gallery-strip-wrap.touch-mode {
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; cursor: default;
}
.gallery-strip-wrap.touch-mode::-webkit-scrollbar { display: none; }
.gallery-strip-wrap.touch-mode .gallery-strip { transform: none !important; cursor: default; }

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(8,8,8,0.97);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
  cursor: none;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-close {
  position: absolute; top: 24px; right: 28px;
  background: none; border: none;
  color: var(--accent); font-size: 22px; cursor: none;
  opacity: 0.7; transition: opacity 0.3s; z-index: 2;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-img {
  max-width: 85vw; max-height: 78vh;
  object-fit: contain; display: block;
  cursor: none;
}
.lightbox-controls {
  display: flex; align-items: center; gap: 24px; margin-top: 24px; z-index: 2;
}
.lightbox-prev, .lightbox-next {
  background: transparent; border: 1px solid var(--accent);
  color: var(--accent); font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 10px 20px; cursor: none; transition: all 0.3s;
}
.lightbox-prev:hover, .lightbox-next:hover { background: var(--accent-dim); }
.lightbox-counter {
  font-family: 'Space Mono', monospace; font-size: 9px;
  letter-spacing: 0.3em; color: var(--gray-light); min-width: 60px; text-align: center;
}
/* Rangefinder cursor for lightbox — fixed to viewport, JS shows/hides it */
#lbCursor {
  position: fixed; width: 80px; height: 80px;
  pointer-events: none; z-index: 10002;
  opacity: 0.88; top: 0; left: 0;
  display: none;
}
#lbCursor img { width: 100%; height: 100%; display: block; }

/* ── ABOUT PAGE ── */
.about-hero { padding: 160px 80px 80px; max-width: 1100px; margin: 0 auto; }
.about-hero h1 {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: clamp(52px, 7.5vw, 108px); letter-spacing: -0.02em; line-height: 1.0; margin-bottom: 48px;
}
.about-short {
  font-family: 'Playfair Display', serif; font-weight: 300;
  font-size: clamp(19px, 1.9vw, 25px); line-height: 1.75; color: rgba(245,240,235,0.85);
  border-left: 2px solid var(--accent); padding-left: 40px; max-width: 700px; margin-bottom: 80px;
}
.about-divider { width: 60px; height: 1px; background: var(--accent-dim); margin: 60px 0; }
.about-long {
  font-family: 'Playfair Display', serif; font-weight: 300;
  font-size: 16px; line-height: 1.95; color: rgba(245,240,235,0.75); max-width: 720px;
}
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; max-width: 1100px; margin: 80px auto; padding: 0 80px;
}
.stat-block { background: var(--gray); padding: 40px; border-top: 1px solid rgba(200,169,110,0.2); }
.stat-num { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 72px; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.stat-label { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gray-light); }

/* ── CONTACT PAGE ── */
.contact-wrap {
  padding: 160px 80px 120px; max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 100px;
}
.contact-left h1 {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: clamp(42px, 5.5vw, 76px); letter-spacing: -0.02em; line-height: 1.0; margin-bottom: 32px;
}
.contact-left p:not(.section-label) {
  font-family: 'Playfair Display', serif; font-weight: 300;
  font-size: 15px; line-height: 1.85; color: rgba(245,240,235,0.7); margin-bottom: 40px;
}
.contact-detail { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 36px; }
.contact-detail-label {
  font-family: 'Space Mono', monospace; font-size: 9px;
  letter-spacing: 0.35em; text-transform: uppercase; color: var(--accent); min-width: 60px; padding-top: 3px;
}
.contact-detail-val {
  font-family: 'Playfair Display', serif; font-weight: 300;
  font-size: 15px; color: var(--white);
}
.contact-detail-val a { color: var(--white); text-decoration: none; transition: opacity 0.3s; }
.contact-detail-val a:hover { opacity: 0.7; }
.social-links { display: flex; gap: 16px; margin-top: 48px; flex-wrap: wrap; }
.social-link {
  font-family: 'Space Mono', monospace; font-size: 9px;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gray-light); text-decoration: none;
  border: 1px solid var(--gray-mid); padding: 10px 16px; transition: all 0.3s;
}
.social-link:hover { border-color: var(--accent); color: var(--accent); }
.contact-form { display: flex; flex-direction: column; gap: 0; padding-top: 24px; }
.form-field { display: flex; flex-direction: column; gap: 14px; padding-bottom: 24px; }
.form-field:last-of-type { padding-bottom: 0; }
.form-field label {
  font-family: 'Space Mono', monospace; font-size: 9px;
  letter-spacing: 0.35em; text-transform: uppercase; color: var(--gray-light);
}
.form-field input, .form-field textarea, .form-field select {
  background: var(--gray); border: 1px solid var(--gray-mid);
  border-bottom: 1px solid rgba(200,169,110,0.3);
  color: var(--white); padding: 14px 16px;
  font-family: 'Playfair Display', serif; font-weight: 300; font-size: 15px;
  outline: none; transition: border-color 0.3s; resize: none;
}
.form-field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-field input:focus, .form-field textarea:focus { border-bottom-color: var(--accent); background: rgba(200,169,110,0.04); }
.form-submit {
  background: transparent; border: 1px solid rgba(200,169,110,0.5);
  color: var(--accent); font-family: 'Space Mono', monospace; font-size: 11px;
  letter-spacing: 0.3em; text-transform: uppercase; padding: 18px 40px;
  cursor: pointer; margin-top: 48px; transition: all 0.3s; align-self: flex-start;
}
.form-submit:hover { background: var(--accent-dim); border-color: var(--accent); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--gray-mid); padding: 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo img { height: 24px; width: auto; opacity: 0.6; }
.footer-copy { font-family: 'Space Mono', monospace; font-size: 9px; letter-spacing: 0.25em; color: var(--gray-light); text-transform: uppercase; }
.footer-credit { color: var(--accent); text-decoration: none; transition: opacity 0.3s; }
.footer-credit:hover { opacity: 0.7; }
.footer-links { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; }
.footer-links a {
  color: var(--accent);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.25s, opacity 0.25s;
}
.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.footer-links a:hover { opacity: 0.85; }
.footer-links a:hover::after { width: 100%; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}

/* ── REVEAL ON SCROLL ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════ */

/* ── Tablet ≤ 900px ── */
@media (max-width: 900px) {
  nav { padding: 20px 20px; }
  nav.scrolled { padding: 14px 20px; }
  .nav-logo img { height: 28px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed; inset: 0;
    background: rgba(8,8,8,0.98); align-items: center; justify-content: center;
    gap: 36px; z-index: 99;
  }
  .nav-links.open a { font-size: 13px; opacity: 1; }

  #hero { height: 85dvh; min-height: 560px; align-items: center; justify-content: center; padding-top: 60px; }
  .hero-content { padding: 0 24px; }
  .hero-scroll { display: none; }

  #statement { padding: 72px 24px; }
  .statement-text { font-size: 16px; padding-left: 28px; }

  #work { padding: 56px 16px 80px; }
  .work-header { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 28px; padding-bottom: 28px; }
  .mosaic-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; gap: 4px; }
  .tile:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .tile-client { opacity: 1; }
  .tile-content { transform: translateY(0); }
  .tile-arrow { opacity: 0; }

  .project-hero-content { padding: 120px 20px 24px; }
  .proj-title-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .proj-nav-btns { align-items: flex-start; padding-bottom: 0; }
  .project-title { font-size: clamp(30px, 7.5vw, 56px); }
  .project-video-section { padding: 16px 16px 40px; }
  .project-body { padding: 32px 20px 72px; max-width: 100%; }
  .project-info-grid { grid-template-columns: 1fr; gap: 40px; margin-bottom: 24px; }

  .proj-gallery-section { padding: 16px 0 60px; }
  .proj-gallery-label { padding: 0 20px; }
  .gallery-photo { width: 260px; height: 180px; }

  .lightbox-img { max-width: 92vw; max-height: 72vh; }

  .about-hero { padding: 110px 20px 60px; }
  .about-short { padding-left: 24px; font-size: 18px; }
  .about-stats { grid-template-columns: 1fr; padding: 0 20px; }
  .stat-block { padding: 32px 24px; }
  .stat-num { font-size: 60px; }

  .contact-wrap { grid-template-columns: 1fr; padding: 110px 20px 72px; gap: 48px; }

  footer { flex-direction: column; gap: 20px; text-align: center; padding: 32px 20px; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
}

/* ── Phone ≤ 480px ── */
@media (max-width: 480px) {
  .hero-content { padding: 0 20px 15vh; margin-top: auto; }
  .hero-headline { font-size: clamp(36px, 12vw, 54px); }
  .hero-sub { font-size: 15px; margin-top: 18px; }
  .hero-tagline { font-size: 9px; letter-spacing: 0.3em; }

  #statement { padding: 56px 20px; }
  .statement-text { font-size: 15px; padding-left: 20px; }

  #work { padding: 40px 12px 56px; }
  .mosaic-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; gap: 4px; }
  .tile:nth-child(n) { grid-column: span 1 !important; grid-row: span 1; }

  .project-hero-content { padding: 100px 16px 20px; }
  .project-title { font-size: clamp(26px, 9vw, 40px); }
  .project-video-section { padding: 12px 12px 32px; }
  .project-body { padding: 24px 16px 56px; }
  .project-desc { font-size: 15px; line-height: 1.8; }
  .proj-nav-btn { font-size: 9px; padding: 9px 14px; }
  .play-btn { width: 64px; height: 64px; }

  .gallery-photo { width: 220px; height: 150px; }

  .lightbox-img { max-width: 100vw; max-height: 68vh; }
  .lightbox-controls { gap: 12px; margin-top: 16px; }
  .lightbox-prev, .lightbox-next { padding: 9px 14px; font-size: 9px; }

  .about-hero { padding: 80px 16px 40px; }
  .about-hero h1 { font-size: clamp(48px, 16vw, 80px); }
  .about-short { padding-left: 18px; font-size: 15px; margin-bottom: 48px; }
  .stat-num { font-size: 48px; }
  .stat-block { padding: 24px 16px; }

  .contact-wrap { padding: 80px 16px 56px; gap: 36px; }
  .contact-left h1 { font-size: clamp(32px, 11vw, 52px); }
  .form-field input, .form-field textarea, .form-field select { font-size: 16px !important; }
  .form-submit { width: 100%; text-align: center; }

  footer { padding: 24px 16px; gap: 16px; }
  .footer-copy { font-size: 8px; letter-spacing: 0.1em; }
}

/* ── Hide rangefinder SVG on phones only (not iPad) ── */
@media (hover: none) and (pointer: coarse) and (max-width: 767px) {
  .rf-cursor, .rf-cursor-inner, #lbCursor, #fsCursor { display: none !important; }
  body { cursor: auto !important; }
  a, button, [onclick], .credits-toggle, .proj-nav-btn, .tile { cursor: pointer !important; }
}
