:root {
  --bg: #0a0d12;
  --bg2: #10141b;
  --fg: #e8eaef;
  --dim: #5d6573;
  --line: rgba(232, 234, 239, 0.07);
  --accent: #e85a3c;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; }

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
/* Only hide when JS is on — without JS, content shows normally.       */
/* The .js class is set inline in <head> on every page.                 */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 64px, 0) scale(0.985);
  filter: blur(6px);
  transition:
    opacity 1.1s cubic-bezier(.2, .7, .25, 1),
    transform 1.1s cubic-bezier(.2, .7, .25, 1),
    filter 0.9s cubic-bezier(.2, .7, .25, 1);
  will-change: opacity, transform, filter;
}
.js [data-reveal-fade] {
  opacity: 0;
  transform: none;
  filter: none;
  transition: opacity 1s ease;
}
.js [data-reveal].is-revealed,
.js [data-reveal-fade].is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

/* Bigger movement for headlines — they really sweep in */
.js .hero-title[data-reveal],
.js .page-hero h1[data-reveal],
.js .cta h2[data-reveal] {
  transform: translate3d(0, 96px, 0) scale(0.97);
}
.js .hero-title.is-revealed,
.js .page-hero h1.is-revealed,
.js .cta h2.is-revealed {
  transform: translate3d(0, 0, 0) scale(1);
}

/* Stagger delays */
.js [data-reveal][data-reveal-delay="1"] { transition-delay: 0.10s; }
.js [data-reveal][data-reveal-delay="2"] { transition-delay: 0.20s; }
.js [data-reveal][data-reveal-delay="3"] { transition-delay: 0.30s; }
.js [data-reveal][data-reveal-delay="4"] { transition-delay: 0.40s; }
.js [data-reveal][data-reveal-delay="5"] { transition-delay: 0.50s; }
.js [data-reveal][data-reveal-delay="6"] { transition-delay: 0.60s; }
.js [data-reveal][data-reveal-delay="7"] { transition-delay: 0.70s; }
.js [data-reveal][data-reveal-delay="8"] { transition-delay: 0.80s; }

/* Hero background parallax target */
.js .hero-bg { will-change: transform; }
.js .hero-title { will-change: transform, opacity; }
.js .hero-overlay { will-change: opacity; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal],
  .js [data-reveal-fade],
  .js .hero-title[data-reveal],
  .js .page-hero h1[data-reveal],
  .js .cta h2[data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .js .hero-bg,
  .js .hero-title,
  .js .hero-overlay { transform: none !important; opacity: 1 !important; }
}

/* ─── CURSOR ─────────────────────────────────────────────── */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid var(--fg);
  background: transparent;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.4s cubic-bezier(.2,.7,.3,1), background 0.3s;
  mix-blend-mode: difference;
  z-index: 50;
}
.cursor.over { transform: translate(-50%, -50%) scale(6); background: var(--fg); }
.cursor-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; color: var(--bg); letter-spacing: 1px;
  font-weight: 700; opacity: 0; transform: scale(0.18);
  font-family: var(--mono);
}
.cursor.over .cursor-label { opacity: 1; }

/* ─── TOP BAR ────────────────────────────────────────────── */
.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 25;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: transparent;
  transition: background 0.3s, backdrop-filter 0.3s;
}
.top-bar.scrolled {
  background: rgba(10, 13, 18, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.brand { font-weight: 600; }
.brand .tag { color: var(--dim); font-weight: 400; }
.availability {
  display: flex; align-items: center; gap: 6px;
  color: var(--dim); font-size: 10px;
}
.availability .dot {
  width: 6px; height: 6px; border-radius: 3px;
  background: var(--accent); animation: pulse 1.6s infinite;
}
.top-nav { display: flex; gap: 28px; }
.top-nav a.active { color: var(--accent); }

.link { position: relative; }
.link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(.2,.7,.3,1);
}
.link:hover::after { transform: scaleX(1); transform-origin: left; }

/* ─── SIDE NAV ───────────────────────────────────────────── */
.side-nav {
  position: fixed;
  left: 28px; top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  display: flex; flex-direction: column; gap: 14px;
  font-size: 9px; letter-spacing: 2px;
  color: var(--dim); text-transform: uppercase;
  mix-blend-mode: difference;
}
.side-nav-item {
  display: flex; align-items: center; gap: 10px;
  color: var(--dim); transition: color 0.3s;
}
.side-nav-item.active { color: var(--fg); }
.side-nav-tick {
  width: 8px; height: 1px;
  background: currentColor;
  transition: width 0.35s;
}
.side-nav-item.active .side-nav-tick { width: 28px; }
.side-nav-label { min-width: 70px; }

/* ─── MEDIA PLACEHOLDER ──────────────────────────────────── */
.media {
  position: relative;
  width: 100%;
  background: oklch(0.10 0.03 var(--hue));
  overflow: hidden;
  cursor: none;
}
.media-fill {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 60% 40%, oklch(0.32 0.08 var(--hue)) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, oklch(0.20 0.05 var(--hue-shift)) 0%, transparent 50%),
    repeating-linear-gradient(var(--hue-deg),
      oklch(0.13 0.03 var(--hue)) 0 1px,
      oklch(0.16 0.04 var(--hue)) 1px 4px,
      oklch(0.10 0.02 var(--hue)) 4px 7px);
  transform: scale(1);
  transition: transform 1.4s cubic-bezier(.2,.7,.3,1), filter 1.4s;
  filter: brightness(1);
  z-index: 0;
}
.media-img,
.media-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 1.4s cubic-bezier(.2,.7,.3,1), filter 1.4s;
  filter: brightness(1);
  z-index: 1;
  display: block;
}
.media:hover .media-fill,
.media:hover .media-img,
.media:hover .media-vid {
  transform: scale(1.06);
  filter: brightness(1.15);
}
.media-vignette {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 13, 18, 0.7));
  pointer-events: none;
  z-index: 2;
}

/* ─── COVER CAROUSEL ─────────────────────────────────────── */
.carousel { position: absolute; inset: 0; z-index: 1; }
.carousel .carousel-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(.25,.46,.45,.94), transform 1.4s cubic-bezier(.2,.7,.3,1), filter 1.4s;
  filter: brightness(1);
  z-index: 1;
}
.carousel .carousel-slide.is-active { opacity: 1; z-index: 2; }
.media:hover .carousel .carousel-slide.is-active {
  transform: scale(1.06);
  filter: brightness(1.15);
}
.carousel-dots {
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  display: flex; justify-content: center;
  gap: 6px;
  z-index: 4;
  pointer-events: auto;
}
.carousel-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot:hover { background: rgba(255, 255, 255, 0.65); }
.carousel-dot.is-active { background: var(--fg, #fff); transform: scale(1.25); }
.media-meta {
  position: absolute;
  top: 16px; left: 16px;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--fg);
  opacity: 0.7;
  font-family: var(--mono);
  pointer-events: none;
  z-index: 3;
}
.media-tc {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 10px;
  color: var(--fg);
  opacity: 0.7;
  letter-spacing: 2px;
  font-family: var(--mono);
  pointer-events: none;
}
.media-foot {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  display: flex; justify-content: space-between;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--fg);
  opacity: 0.85;
  font-family: var(--mono);
  pointer-events: none;
}

.ratio-21-9 { aspect-ratio: 21 / 9; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-4-5  { aspect-ratio: 4 / 5; }
.ratio-3-4  { aspect-ratio: 3 / 4; }
.ratio-1-1  { aspect-ratio: 1 / 1; }

/* ─── SECTIONS ───────────────────────────────────────────── */
section { position: relative; }
section[id] { scroll-margin-top: 64px; }

/* ─── PAGE HERO (subpages) ───────────────────────────────── */
.page-hero {
  padding: 200px 80px 80px;
  border-bottom: 1px solid var(--line);
}
.page-hero-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--dim);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.page-hero h1 {
  font-family: var(--mono);
  font-size: clamp(56px, 8vw, 124px);
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: -3px;
  max-width: 1300px;
}
.page-hero h1 .accent { color: var(--accent); }
.page-hero .subhead {
  margin-top: 32px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  opacity: 0.85;
  max-width: 640px;
}

/* ─── HOME HERO (full-bleed) ─────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
}
@supports (height: 100svh) {
  .hero { height: 100svh; }
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg .media { width: 100%; height: 100%; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 13, 18, 0.8) 0%,
    transparent 30%,
    transparent 60%,
    var(--bg) 100%);
  pointer-events: none;
}
.hero-inner {
  position: absolute; inset: 0;
  padding: 120px 80px 60px;
  display: flex; flex-direction: column; justify-content: space-between;
  z-index: 5;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--dim);
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--mono);
  font-size: clamp(64px, 8.5vw, 132px);
  line-height: 0.94;
  font-weight: 600;
  letter-spacing: -3px;
  margin: 0;
  mix-blend-mode: difference;
  color: #fff;
  max-width: 1200px;
}
.hero-title .accent { color: var(--accent); }
.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 32px;
  gap: 32px;
}
.hero-bio {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg);
  max-width: 480px;
  opacity: 0.85;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: none;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.btn:hover {
  border-color: var(--fg);
  background: rgba(255, 255, 255, 0.04);
}
.btn-primary {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--fg);
}
.btn-accent {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent);
  color: var(--fg);
}

/* ─── SECTION HEADING ────────────────────────────────────── */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 56px;
}
.section-eyebrow {
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--dim);
  text-transform: uppercase;
  font-weight: 400;
}
.section-meta {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--dim);
  text-transform: uppercase;
}

/* ─── SERVICES ───────────────────────────────────────────── */
.services {
  padding: 120px 80px;
  border-top: 1px solid var(--line);
  background: var(--bg2);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.service {
  padding: 40px 28px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: inherit;
  text-decoration: none;
  transition: background 0.3s;
  min-height: 240px;
}
.service:first-child { border-left: 0; }
.service:hover { background: rgba(255, 255, 255, 0.02); }
.service-num {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--dim);
  text-transform: uppercase;
}
.service-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.4px;
  font-family: var(--mono);
}
.service-desc {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.55;
}
.service-cta {
  margin-top: auto;
  padding-top: 24px;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--dim);
  text-transform: uppercase;
  transition: color 0.3s;
}
.service:hover .service-cta { color: var(--accent); }

/* ─── WORK GRID ──────────────────────────────────────────── */
.work {
  padding: 120px 80px 80px;
}
.work-intro {
  max-width: 720px;
  margin-bottom: 64px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  opacity: 0.85;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 32px;
}
.work-card {
  display: block;
  cursor: none;
  position: relative;
}
.work-card:nth-child(even) { margin-top: 80px; }
.work-card .media { aspect-ratio: 4 / 5; }
.work-card[data-ratio="16-9"] .media { aspect-ratio: 16 / 9; }
.work-card[data-ratio="21-9"] .media { aspect-ratio: 21 / 9; }
.work-card[data-ratio="3-4"] .media { aspect-ratio: 3 / 4; }
.work-card[data-ratio="1-1"] .media { aspect-ratio: 1 / 1; }
.work-card-meta {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--dim);
  text-transform: uppercase;
}
.work-card-title {
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.8px;
  margin-top: 8px;
  position: relative;
  display: inline-block;
}
.work-card-title::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(.2,.7,.3,1);
}
.work-card:hover .work-card-title::after {
  transform: scaleX(1);
  transform-origin: left;
}
.work-card-blurb {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--dim);
  max-width: 520px;
}

/* ─── ABOUT (home preview) ───────────────────────────────── */
.about {
  padding: 120px 80px;
  border-top: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-eyebrow { margin-bottom: 32px; }
.about-text {
  font-family: var(--mono);
  font-size: 22px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.3px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-text .accent { color: var(--accent); }
.about-text .lede {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.6px;
  line-height: 1.25;
}
.about-image .media { aspect-ratio: 4 / 5; }
.about-cta {
  margin-top: 32px;
  display: inline-flex;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* About page extras */
.about-extra {
  padding: 120px 80px;
  border-top: 1px solid var(--line);
  background: var(--bg2);
}
.about-extra-head { margin-bottom: 56px; }
.about-table { border-top: 1px solid var(--line); }
.about-table-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.about-table-row .k {
  color: var(--dim);
  letter-spacing: 2px;
  font-size: 10px;
  text-transform: uppercase;
}
.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
}
.about-list li {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.3px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

/* ─── CTA SECTION ────────────────────────────────────────── */
.cta {
  padding: 160px 80px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--dim);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.cta h2 {
  font-family: var(--mono);
  font-size: clamp(56px, 7vw, 104px);
  font-weight: 500;
  letter-spacing: -2.5px;
  line-height: 1.05;
  max-width: 1100px;
  margin: 0 auto;
}
.cta h2 .accent { color: var(--accent); }
.cta-copy {
  margin: 32px auto 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  opacity: 0.85;
  max-width: 560px;
}
.cta-buttons {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── CONTACT (page) ─────────────────────────────────────── */
.contact-page {
  padding: 80px 80px 60px;
}
.contact-page-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-page-copy {
  font-family: var(--mono);
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -0.2px;
  color: var(--fg);
  opacity: 0.9;
}
.contact-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-item {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.contact-item:last-child {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}
.contact-item .k {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--dim);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-item a {
  font-family: var(--mono);
  font-size: 22px;
  letter-spacing: -0.4px;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
footer.site-footer {
  padding: 80px 80px 32px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand h3 {
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--dim);
  max-width: 320px;
}
.footer-col .k {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--dim);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col a, .footer-col span {
  font-size: 13px;
}
.footer-bot {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--dim);
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── LIGHTBOX ───────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(.2,.7,.3,1), visibility 0s linear 0.35s;
  cursor: none;
}
.lightbox.open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.35s cubic-bezier(.2,.7,.3,1);
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 13, 18, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  cursor: none;
}
.lightbox-shell {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 96px;
}
.lightbox-content {
  position: relative;
  width: 100%;
  max-width: 1300px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: center;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(.2,.7,.3,1) 0.05s, opacity 0.4s ease 0.05s;
}
.lightbox.open .lightbox-content {
  transform: translateY(0);
  opacity: 1;
}
.lightbox-media-wrap { width: 100%; max-height: 80vh; }
.lightbox-media-wrap .media { max-height: 80vh; }
.lightbox-meta {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-height: 80vh;
  overflow-y: auto;
}
.lightbox-meta::-webkit-scrollbar { width: 6px; }
.lightbox-meta::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
}
.lightbox-num {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--dim);
  text-transform: uppercase;
}
.lightbox-title {
  font-family: var(--mono);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -1.5px;
  line-height: 0.96;
  margin: 0;
}
.lightbox-blurb {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg);
  opacity: 0.85;
  max-width: 460px;
  margin: 0;
}
.lightbox-section {
  margin-top: 8px;
}
.lightbox-section h4 {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--dim);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 8px;
}
.lightbox-section p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg);
  opacity: 0.85;
}
.lightbox-table { border-top: 1px solid var(--line); margin-top: 8px; }
.lightbox-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.lightbox-row .k {
  color: var(--dim);
  letter-spacing: 2px;
  font-size: 10px;
  text-transform: uppercase;
}
.lightbox-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 4px;
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  appearance: none; border: 0; background: transparent;
  color: var(--fg);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: none;
  padding: 10px 14px;
  z-index: 2;
}
.lightbox-close::before { content: '✕  CLOSE'; }
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 16px;
  cursor: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  z-index: 2;
}
.lightbox-arrow:hover {
  border-color: var(--fg);
  background: rgba(255,255,255,0.06);
  transform: translateY(-50%) scale(1.05);
}
.lightbox-prev { left: 32px; }
.lightbox-next { right: 32px; }
.lightbox-counter {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--dim);
  text-transform: uppercase;
  z-index: 2;
}

/* Lightbox gallery — additional images shown below the project meta */
.lightbox-gallery {
  grid-column: 1 / -1;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.lightbox-gallery-item {
  margin: 0;
  background: var(--bg2);
  overflow: hidden;
}
.lightbox-gallery-item img,
.lightbox-gallery-item video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 85vh;
}
.lightbox-shell { overflow-y: auto; }

body.lb-open { overflow: hidden; cursor: auto; }
body.lb-open .cursor { display: none; }
.lightbox,
.lightbox-backdrop,
.lightbox-shell,
.lightbox-content,
.lightbox .media { cursor: default; }
.lightbox-close,
.lightbox-arrow,
.lightbox-cta,
.lightbox a,
.lightbox-backdrop { cursor: pointer; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .top-bar { padding: 16px 24px; }
  .top-nav { gap: 18px; }
  .side-nav { display: none; }
  .hero-inner { padding: 100px 28px 40px; }
  .page-hero { padding: 140px 32px 64px; }
  .work { padding: 80px 32px 60px; }
  .work-grid { gap: 48px 24px; }
  .work-card:nth-child(even) { margin-top: 56px; }
  .work-card-title { font-size: 30px; }
  .about { padding: 80px 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-text .lede { font-size: 26px; }
  .about-extra { padding: 80px 32px; }
  .about-table-row { grid-template-columns: 160px 1fr; }
  .services { padding: 80px 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(2) { border-left: 1px solid var(--line); }
  .service:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .service:nth-child(4) { border-top: 1px solid var(--line); }
  .cta { padding: 120px 32px; }
  .contact-page { padding: 64px 32px 40px; }
  .contact-page-grid { grid-template-columns: 1fr; gap: 48px; }
  footer.site-footer { padding: 64px 32px 24px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .lightbox-shell { padding: 64px 64px; }
  .lightbox-content { gap: 40px; }
}

@media (max-width: 768px) {
  .hero { min-height: 0; }
  .hero-inner { padding: 96px 24px 32px; }
  .hero-title { font-size: clamp(48px, 11vw, 88px); letter-spacing: -2px; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-bio { font-size: 14px; max-width: 100%; }
  .page-hero { padding: 120px 24px 56px; }
  .page-hero h1 { font-size: clamp(44px, 11vw, 80px); letter-spacing: -2px; }
  .work { padding: 64px 24px 56px; }
  .work-grid { grid-template-columns: 1fr; gap: 48px; }
  .work-card:nth-child(even) { margin-top: 0; }
  .work-card-title { font-size: 28px; }
  .about { padding: 64px 24px; }
  .about-text { font-size: 18px; }
  .about-text .lede { font-size: 22px; }
  .about-extra { padding: 64px 24px; }
  .about-list { grid-template-columns: 1fr; }
  .about-list li { font-size: 16px; }
  .services { padding: 64px 24px; }
  .cta { padding: 96px 24px; }
  .cta h2 { font-size: clamp(40px, 9vw, 64px); letter-spacing: -1.5px; }
  .contact-page-copy { font-size: 18px; }
  .contact-item a { font-size: 18px; }
  .lightbox-shell { padding: 64px 24px 96px; }
  .lightbox-content { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .lightbox-media-wrap { max-height: 50vh; }
  .lightbox-media-wrap .media { max-height: 50vh; }
  .lightbox-meta { max-height: none; overflow: visible; }
  .lightbox-title { font-size: clamp(28px, 7vw, 44px); }
  .lightbox-arrow {
    width: 44px; height: 44px;
    top: auto; bottom: 24px;
    transform: none;
  }
  .lightbox-arrow:hover { transform: scale(1.05); }
  .lightbox-prev { left: 24px; }
  .lightbox-next { right: 24px; }
  .lightbox-counter { bottom: 38px; }
  .lightbox-close { top: 16px; right: 16px; }
}

@media (max-width: 640px) {
  body { cursor: auto; }
  .cursor { display: none; }
  .top-bar {
    padding: max(12px, env(safe-area-inset-top)) 16px 12px;
    font-size: 10px;
    letter-spacing: 1.5px;
    gap: 12px;
  }
  .brand .tag { display: none; }
  .availability { display: none; }
  .top-nav { gap: 14px; }
  .hero-inner { padding: 80px 20px 24px; }
  .hero-title { font-size: clamp(40px, 12vw, 64px); letter-spacing: -1.6px; }
  .hero-eyebrow { font-size: 9px; letter-spacing: 1.8px; }
  .hero-bio { font-size: 13px; line-height: 1.5; }
  .hero-ctas { width: 100%; gap: 10px; }
  .hero-ctas .btn { flex: 1; justify-content: center; padding: 13px 16px; }
  section[id] { scroll-margin-top: 56px; }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 32px;
  }
  .page-hero { padding: 96px 20px 48px; }
  .page-hero h1 { font-size: clamp(38px, 12vw, 64px); letter-spacing: -1.5px; }
  .page-hero .subhead { font-size: 14px; }
  .work { padding: 56px 20px 40px; }
  .work-card-title { font-size: 24px; }
  .about { padding: 56px 20px; }
  .about-text { font-size: 16px; line-height: 1.55; }
  .about-text .lede { font-size: 20px; }
  .about-extra { padding: 48px 20px; }
  .about-table-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .services { padding: 48px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .service {
    padding: 24px 0;
    min-height: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .service:first-child { border-top: 0; padding-top: 0; }
  .service:last-child { padding-bottom: 0; }
  .service:nth-child(2),
  .service:nth-child(3),
  .service:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .cta { padding: 80px 20px; }
  .cta h2 { font-size: clamp(34px, 9vw, 52px); letter-spacing: -1.2px; }
  .cta-buttons { width: 100%; flex-direction: column; gap: 10px; }
  .cta-buttons .btn { justify-content: center; }
  .contact-page { padding: 48px 20px 32px; }
  .contact-page-copy { font-size: 16px; }
  footer.site-footer { padding: 48px 20px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 40px; }
  .footer-bot {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    padding-bottom: max(0px, env(safe-area-inset-bottom));
  }
  .lightbox-shell { padding: 56px 16px 96px; }
  .lightbox-blurb { font-size: 13px; }
  .lightbox-row { grid-template-columns: 80px 1fr; }
}

@media (max-width: 380px) {
  .top-bar { padding-left: 12px; padding-right: 12px; }
  .top-nav { gap: 10px; }
  .hero-title { font-size: clamp(34px, 11vw, 48px); letter-spacing: -1.4px; }
  .work-card-title { font-size: 22px; }
}

@media (hover: none) {
  body { cursor: auto; }
  .cursor { display: none; }
  .media:hover .media-fill { transform: scale(1); filter: brightness(1); }
  .work-card:hover .work-card-title::after { transform: scaleX(0); }
}
