/* ============================================================
   ROOT VARIABLES
   ============================================================ */
:root {
  --bg:        #0e0d0c;
  --bg2:       #151412;
  --bg3:       #1c1a18;
  --card:      #1e1c1a;
  --card2:     #252220;
  --orange:    #e8500a;
  --orange2:   #c43f05;
  --cream:     #f0ebe3;
  --muted:     #7a7068;
  --muted2:    #4a443e;
  --border:    rgba(240,235,227,0.07);
  --border2:   rgba(240,235,227,0.14);
  --mono:      'DM Mono', monospace;
  --display:   'Bebas Neue', sans-serif;
  --serif:     'Fraunces', serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.75;
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
button { cursor: none; font-family: inherit; }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-follower {
  position: fixed;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(232, 80, 10, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease-out, width 0.2s, height 0.2s, border-color 0.2s;
}

body:has(a:hover) .cursor,
body:has(button:hover) .cursor {
  width: 10px;
  height: 10px;
}

body:has(a:hover) .cursor-follower,
body:has(button:hover) .cursor-follower {
  width: 44px;
  height: 44px;
  border-color: rgba(232, 80, 10, 0.7);
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
}

.preloader-name {
  font-family: var(--display);
  font-size: clamp(3rem, 10vw, 7rem);
  letter-spacing: 0.3em;
  color: var(--cream);
  display: flex;
  gap: 0.2em;
}

.preloader-name span {
  display: inline-block;
  animation: preloader-letter 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

.preloader-name span:nth-child(1) { animation-delay: 0.05s; }
.preloader-name span:nth-child(2) { animation-delay: 0.1s; }
.preloader-name span:nth-child(3) { animation-delay: 0.15s; }
.preloader-name span:nth-child(4) { animation-delay: 0.2s; }
.preloader-name span:nth-child(5) { animation-delay: 0.25s; }
.preloader-name span:nth-child(6) { animation-delay: 0.3s; }
.preloader-name span:nth-child(7) { animation-delay: 0.35s; }

@keyframes preloader-letter {
  to { opacity: 1; transform: translateY(0); }
}

.preloader-bar {
  width: 200px;
  height: 1px;
  background: var(--muted2);
  margin: 2rem auto 0.75rem;
  overflow: hidden;
}

.preloader-fill {
  height: 100%;
  background: var(--orange);
  width: 0%;
  transition: width 0.05s linear;
}

.preloader-percent {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.15em;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  transition: background 0.3s, padding 0.3s;
}

.nav.scrolled {
  background: rgba(14, 13, 12, 0.92);
  backdrop-filter: blur(12px);
  padding: 1rem 3rem;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--cream);
  letter-spacing: 0.1em;
}

.nav-logo-dot {
  color: var(--orange);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: lowercase;
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width 0.3s ease;
}

.nav-link:hover { color: var(--cream); }
.nav-link:hover::after { width: 100%; }

.nav-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 4px;
}

.nav-menu-btn span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-menu-btn.open span:first-child { transform: rotate(45deg) translate(4px, 4px); }
.nav-menu-btn.open span:last-child  { transform: rotate(-45deg) translate(4px, -4px); }

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg2);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.mobile-nav-link {
  font-family: var(--display);
  font-size: clamp(2rem, 8vw, 3.5rem);
  color: var(--cream);
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.mobile-nav-link:hover { color: var(--orange); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease calc(var(--delay, 0s)), transform 0.7s ease calc(var(--delay, 0s));
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   SECTIONS — SHARED
   ============================================================ */
.section {
  position: relative;
  padding: 7rem 3rem 7rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-number {
  position: absolute;
  top: 5rem;
  right: 3rem;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted2);
  letter-spacing: 0.2em;
}

.section-inner {
  max-width: 800px;
}

.section-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 200;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  color: var(--cream);
}

.section-title em {
  font-style: italic;
  color: var(--muted);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 3rem 5rem;
  overflow: hidden;
  max-width: none;
  margin: 0;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 1;
}

.hero-bg-text {
  position: absolute;
  bottom: -0.1em;
  right: -0.05em;
  font-family: var(--display);
  font-size: clamp(10rem, 25vw, 22rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(240, 235, 227, 0.04);
  pointer-events: none;
  z-index: 0;
  line-height: 1;
  letter-spacing: -0.03em;
  user-select: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-name {
  font-family: var(--display);
  font-size: clamp(3rem, 10vw, 12rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.hero-name-line {
  display: block;
}

.hero-name-accent {
  color: var(--orange);
}

.char-spaced {
  letter-spacing: 0.12em;
}

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 200;
  font-style: italic;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 420px;
}

.hero-scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-plus {
  color: var(--orange);
  animation: scroll-bob 2s ease-in-out infinite;
  font-size: 1.2rem;
}

@keyframes scroll-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

.hero-stats {
  position: absolute;
  bottom: 5rem;
  right: 3rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
}

.hero-stat {
  text-align: right;
}

.stat-num {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--cream);
  line-height: 1;
}

.stat-label {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 2px;
}

.hero-stat-divider {
  width: 1px;
  height: 20px;
  background: var(--border2);
  margin-left: auto;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section {
  border-top: 1px solid var(--border);
}
.about-top {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.about-photo {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  position: relative;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(20%) contrast(1.05);
}

.about-photo::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--orange);
  z-index: -1;
}

.about-photo::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--border2);
  z-index: -1;
}
.resume-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  padding: 1.5rem 2rem;
  margin-top: 2rem;
}

.resume-cta-label {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .about-top {
    flex-direction: column;
    gap: 2rem;
  }

  .about-photo {
    width: 160px;
    height: 160px;
  }
}
.about-body { margin-top: 0; }

.about-lead {
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 200;
  color: var(--muted);
  line-height: 1.9;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  margin-bottom: 2.5rem;
}

.about-card {
  background: var(--card);
  padding: 1.75rem;
  transition: background 0.25s;
}

.about-card:hover { background: var(--card2); }

.about-card-icon {
  width: 20px;
  height: 20px;
  color: var(--orange);
  stroke-width: 1.5;
  margin-bottom: 1rem;
}

.about-card-title {
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--cream);
  margin-bottom: 0.4rem;
}

.about-card-desc {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.about-quote {
  background: var(--bg2);
  border-left: 2px solid var(--orange);
  padding: 2rem 2.5rem;
}

.about-quote p {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 200;
  font-style: italic;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.about-quote cite {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--orange);
  letter-spacing: 0.1em;
  font-style: normal;
}

/* ============================================================
   JOURNEY / TIMELINE
   ============================================================ */
.journey-section {
  border-top: 1px solid var(--border);
}

.timeline-controls {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  row-gap: 0.5rem;
}

.tl-btn {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.45rem 1.1rem;
  letter-spacing: 0.1em;
  cursor: none;
  transition: all 0.2s;
}

.tl-btn:first-child { border-right: none; }

.tl-btn.active,
.tl-btn:hover {
  color: var(--cream);
  border-color: var(--border2);
  background: var(--card);
}

.tl-progress-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted2);
  letter-spacing: 0.2em;
  margin-left: auto;
}

.tl-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tl-dot {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted2);
  cursor: none;
  transition: all 0.2s;
  flex-shrink: 0;
}

.tl-dot:hover { border-color: var(--border2); color: var(--muted); }
.tl-dot.done { border-color: var(--muted2); color: var(--muted); }
.tl-dot.current { border-color: var(--orange); color: var(--orange); background: rgba(232,80,10,0.08); }

.tl-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2.5rem;
  height: 330px;
  overflow-y: auto;
  animation: tl-slide 0.35s ease;
}

@keyframes tl-slide {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

.tl-card-year {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.tl-card-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 2px 8px;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.tl-card-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.tl-card-desc {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 540px;
}

.tl-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 2px 8px;
  letter-spacing: 0.06em;
  transition: border-color 0.2s, color 0.2s;
}

.tag:hover { border-color: var(--border2); color: var(--cream); }

.tl-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.tl-nav-btn {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.45rem 1rem;
  letter-spacing: 0.08em;
  transition: all 0.2s;
}

.tl-nav-btn:hover:not(:disabled) {
  color: var(--cream);
  border-color: var(--border2);
}

.tl-nav-btn:disabled { opacity: 0.25; pointer-events: none; }

.tl-counter {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted2);
  letter-spacing: 0.1em;
  margin-left: auto;
}

/* All view */
.tl-all-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tla-item {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.tla-item:last-child { border-bottom: 1px solid var(--border); }
.tla-item.visible { opacity: 1; transform: translateY(0); }

.tla-year {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 0.15em;
  padding-top: 4px;
}

.tla-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 0.4rem;
}

.tla-desc {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
}

.tla-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

/* ============================================================
   PROJECTS
   ============================================================ */
.projects-section {
  border-top: 1px solid var(--border);
}

.projects-lead {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 200;
  font-style: italic;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.85;
  margin-bottom: 2rem;
}

.proj-filters {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-right: none;
  padding: 0.4rem 1rem;
  letter-spacing: 0.12em;
  transition: all 0.2s;
}

.filter-btn:last-child { border-right: 1px solid var(--border); }

.filter-btn.active,
.filter-btn:hover {
  color: var(--cream);
  background: var(--card);
  border-color: var(--border2);
}

.proj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
}

.proj-card {
  background: var(--card);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.25s;
  cursor: default;
}

.proj-card:hover { background: var(--card2); }

.proj-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.proj-icon {
  width: 32px;
  height: 32px;
  background: rgba(232,80,10,0.1);
  border: 1px solid rgba(232,80,10,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.proj-icon svg {
  width: 16px;
  height: 16px;
  color: var(--orange);
  stroke-width: 1.5;
}

.proj-link {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  transition: all 0.2s;
}

.proj-link:hover { border-color: var(--border2); color: var(--cream); }

.proj-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--cream);
}

.proj-desc {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}

.proj-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: auto;
}

/* ============================================================
   PHOTOGRAPHY
   ============================================================ */

.photo-section {
  border-top: 1px solid var(--border);
}

.photo-lead {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 200;
  font-style: italic;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.85;
  margin-bottom: 2rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 260px);
  gap: 2px;
  background: var(--border);
  margin-bottom: 1.5rem;
}

.photo-slot {
  position: relative;
  overflow: hidden;
  background: var(--card);
  cursor: pointer;
}

.photo-feat { grid-column: span 2; }

.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(15%) brightness(0.85);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.photo-slot:hover img {
  transform: scale(1.04);
  filter: grayscale(0%) brightness(1);
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,13,12,0.6) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.photo-slot:hover .photo-overlay { opacity: 1; }

.photo-slot-num {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(240,235,227,0.4);
  letter-spacing: 0.15em;
  z-index: 2;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14,13,12,0.97);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  cursor: pointer;
}

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

.lightbox-img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  display: block;
  transform: scale(0.95);
  transition: transform 0.4s ease;
}

.lightbox.open .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: transparent;
  border: 1px solid rgba(240,235,227,0.2);
  color: var(--cream);
  font-size: 1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.lightbox-close:hover {
  border-color: var(--orange);
  color: var(--orange);
}

@media (max-width: 768px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .photo-feat { grid-column: span 2; }
}

@media (max-width: 480px) {
  .photo-grid { grid-template-columns: 1fr; }
  .photo-feat { grid-column: span 1; }
}
/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  margin-bottom: 2.5rem;
}

.contact-card {
  background: var(--card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: background 0.25s;
  position: relative;
}

.contact-card:not(.contact-card-muted):hover { background: var(--card2); }

.contact-card-muted { opacity: 0.45; }

.contact-card-num {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted2);
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

.contact-card-platform {
  font-family: var(--display);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: var(--cream);
}

.contact-card-handle {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.contact-card-arrow {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--muted2);
  transition: color 0.2s, transform 0.2s;
}

.contact-card:not(.contact-card-muted):hover .contact-card-arrow {
  color: var(--orange);
  transform: translate(3px, -3px);
}

.contact-cta {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 3rem 2.5rem;
  text-align: center;
}

.contact-cta-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 200;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.contact-cta-desc {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  max-width: 400px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

.cta-btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--orange);
  padding: 0.75rem 2rem;
  transition: background 0.2s;
}

.cta-btn:hover { background: var(--orange2); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-name {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--cream);
}

.footer-copy {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted2);
  letter-spacing: 0.12em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .nav { padding: 1.25rem 1.5rem; }
  .nav.scrolled { padding: 0.9rem 1.5rem; }
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }

  .hero { padding: 0 1.5rem 4rem; }
  .hero-stats {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.5rem;
  }
  .hero-stat-divider { display: none; }
  .hero-stat { text-align: left; }

  .section { padding: 5rem 1.5rem; }
  .section-number { display: none; }

  .about-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-feat { grid-column: span 2; }

  .tla-item { grid-template-columns: 1fr; gap: 0.25rem; }

  .footer { padding: 1.5rem; }
  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }

  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }
  button { cursor: pointer; }
}

@media (max-width: 480px) {
.hero-name { font-size: clamp(2.4rem, 12vw, 4rem); }
  .proj-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-feat { grid-column: span 1; aspect-ratio: 1; }
}
.photo-expand-clone {
  pointer-events: none;
}

body.photo-dimmed::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(14,13,12,0.85);
  z-index: 7999;
  pointer-events: none;
  animation: dimIn 0.4s ease forwards;
}

@keyframes dimIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}