/* Self-hosted fonts (see assets/fonts/): no external requests. */
@font-face {
  font-family: "Anton";
  src: url("assets/fonts/anton-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("assets/fonts/spacemono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("assets/fonts/spacemono-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   RECORDED BY RISHIK: Design System v1
   Dark cinematic sports-editorial. Builder 2: read this file + main.js
   before building pricing.html / contact.html. Tokens, components, and
   motion patterns below are the contract.
   --------------------------------------------------------------------------
   TOKENS
   --bg #0B0B0D (page) · --surface #141417 (cards) · --text #F4F1EA
   --muted #A39E93 · --accent #E8B44A (floodlight amber, sparing)
   --hairline rgba(244,241,234,.12)
   FONTS: Anton (display, uppercase) · Inter (body) · Space Mono (eyebrow)
   SHAPE: all-sharp, radius 0 everywhere (buttons, cards, images)
   Z-INDEX: nav 50 · mobile menu 60 · lightbox 70
   ========================================================================== */

:root {
  --bg: #0b0b0d;
  --surface: #141417;
  --text: #f4f1ea;
  --muted: #a39e93;
  --accent: #e8b44a;
  --accent-ink: #141005;
  --hairline: rgba(244, 241, 234, 0.12);
  --scrim: rgba(5, 5, 7, 0.94);

  --font-display: "Anton", "Arial Narrow", "Impact", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SFMono-Regular", monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;
  --wrap: 1440px;
  --gutter: clamp(1.25rem, 4vw, 4rem);

  --z-nav: 50;
  --z-menu: 60;
  --z-lightbox: 70;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--wrap), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.h-display {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.h-xl { font-size: clamp(2.75rem, 11vw, 10.5rem); }
.h-lg { font-size: clamp(2.75rem, 7vw, 6rem); }
.h-md { font-size: clamp(2rem, 4.5vw, 3.5rem); }

.lede {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.7;
  max-width: 38ch;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 1.75rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), background-color 0.25s var(--ease-out),
    color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.btn:active { transform: scale(0.98); }

.btn-solid {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-solid:hover { background: #f2c56a; transform: translateY(-1px); }

.btn-ghost {
  border-color: var(--hairline);
  color: var(--text);
  background: rgba(11, 11, 13, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

.btn-sm { padding: 0.65rem 1.15rem; font-size: 0.6875rem; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--hairline);
  transition: color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.link-arrow .arr { transition: transform 0.25s var(--ease-out); }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow:hover .arr { transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: var(--z-nav);
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out),
    backdrop-filter 0.3s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 11, 13, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--hairline);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand .dot { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  list-style: none;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s var(--ease-out);
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--accent);
}
.nav-cta { display: inline-flex; }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Keep nav (logo + toggle) above the open menu so the X stays tappable */
body.menu-open .nav {
  z-index: 61;
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* Fullscreen mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: var(--scrim);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0s 0.35s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity 0.35s var(--ease-out); }
body.menu-open { overflow: hidden; }
.mobile-menu a.mlink {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 12vw, 4rem);
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--text);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.2s;
}
.mobile-menu a.mlink:hover { color: var(--accent); }
body.menu-open .mobile-menu a.mlink { opacity: 1; transform: none; }
body.menu-open .mobile-menu a.mlink:nth-child(1) { transition-delay: 0.08s; }
body.menu-open .mobile-menu a.mlink:nth-child(2) { transition-delay: 0.14s; }
body.menu-open .mobile-menu a.mlink:nth-child(3) { transition-delay: 0.2s; }
body.menu-open .mobile-menu a.mlink:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu .mfoot {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: -25% 0; /* overscan buffer for parallax travel */
  will-change: transform;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 11, 13, 0.62) 0%,
    rgba(11, 11, 13, 0.18) 42%,
    rgba(11, 11, 13, 0.82) 100%
  );
}
.hero-content {
  position: relative;
  width: min(var(--wrap), 100% - (var(--gutter) * 2));
  margin-inline: auto;
  padding-bottom: clamp(4rem, 9vh, 7rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  will-change: transform, opacity;
}
.hero-content .lede { max-width: 34ch; color: #d8d3c6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.5rem; }

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(4rem, 9vh, 7rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  writing-mode: vertical-rl;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 56px;
  background: var(--accent);
  animation: cue-drop 2.2s var(--ease-out) infinite;
  transform-origin: top;
}
@keyframes cue-drop {
  0% { transform: scaleY(0); }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform-origin: bottom; transform: scaleY(1); }
  100% { transform-origin: bottom; transform: scaleY(0); }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  padding: 1.15rem 0;
  background: var(--bg);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  padding-right: 0.6em;
  color: transparent;
  -webkit-text-stroke: 1px var(--muted);
}
@supports not (-webkit-text-stroke: 1px black) {
  .marquee-track span { color: var(--muted); }
}
.marquee-track span b {
  color: var(--accent);
  -webkit-text-stroke: 0;
  font-weight: 400;
  padding: 0 0.35em;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Stats ---------- */
.stats {
  border-bottom: 1px solid var(--hairline);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: clamp(1.75rem, 3.5vw, 3rem) clamp(1rem, 2.5vw, 2rem);
  border-left: 1px solid var(--hairline);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1;
  color: var(--text);
}
.stat-num em { font-style: normal; color: var(--accent); }
.stat-label {
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Sections ---------- */
.section { padding: clamp(5rem, 10vw, 9rem) 0; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head .eyebrow { display: block; margin-bottom: 1.25rem; }
.section-head .h-lg { max-width: 12ch; }

/* ---------- Selected work (editorial staggered grid) ---------- */
.work-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
.work-grid .work-card:nth-child(even) {
  margin-top: clamp(2.5rem, 7vw, 7rem);
}
.work-grid .work-card:last-child {
  grid-column: 1 / -1;
  margin-top: 0;
}
.work-card { position: relative; display: block; }
.work-media {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}
.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .work-card:hover .work-media img { transform: scale(1.04); }
}
.work-cap {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.5rem 1.25rem 1.1rem;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 7, 0.85));
  transform: translateY(6px);
  opacity: 0.92;
  transition: transform 0.45s var(--ease-out), opacity 0.45s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .work-card:hover .work-cap { transform: none; opacity: 1; }
}
.work-cap .idx {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.work-cap .cat {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: auto;
  margin-right: 0.75rem;
}
.work-cap .ttl {
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
}
.work-more {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  justify-content: flex-end;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.about-media {
  overflow: hidden;
  background: var(--surface);
}
.about-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .about-media:hover img { transform: scale(1.03); }
}
.about-copy .h-lg { margin-bottom: 1.75rem; }
.about-copy p { color: var(--muted); max-width: 46ch; }
.about-copy p + p { margin-top: 1.1rem; }
.about-copy p strong { color: var(--text); font-weight: 600; }
.cred-line {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  align-items: center;
  justify-content: space-between;
}

/* ---------- Services teaser ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.svc-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline);
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.svc-card:hover { transform: translateY(-4px); border-color: rgba(232, 180, 74, 0.45); }
.svc-media { overflow: hidden; aspect-ratio: 16 / 10; }
.svc-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.svc-card:hover .svc-media img { transform: scale(1.05); }
.svc-body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.6rem 1.6rem 1.75rem;
  flex: 1;
}
.svc-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.svc-idx {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.svc-price {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}
.svc-price b { color: var(--accent); font-weight: 700; }
.svc-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
}
.svc-body p { color: var(--muted); font-size: 0.9375rem; flex: 1; }
.svc-link { margin-top: 0.5rem; }

/* ---------- CTA + footer ---------- */
.cta { text-align: center; padding-bottom: clamp(4rem, 8vw, 7rem); }
.cta .h-xl { max-width: 14ch; margin: 0 auto 1.5rem; }
.cta .lede { margin: 0 auto 2.5rem; }
.cta .btn-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }

.footer {
  border-top: 1px solid var(--hairline);
  padding: clamp(2.5rem, 5vw, 4rem) 0 0;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.foot-brand .brand { margin-bottom: 1rem; display: inline-block; }
.foot-brand p { color: var(--muted); font-size: 0.875rem; max-width: 30ch; }
.foot-links { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); list-style: none; }
.foot-links a {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.foot-links a:hover { color: var(--accent); }
.foot-contact { text-align: right; display: flex; flex-direction: column; gap: 0.6rem; }
.foot-contact a.ig {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--text);
}
.foot-contact a.ig:hover { color: var(--accent); }
.foot-wordmark {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12.5vw, 11.5rem);
  line-height: 0.9;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 241, 234, 0.22);
  user-select: none;
  padding: 1rem 0 0.5rem;
  white-space: nowrap;
  overflow: hidden;
}
@supports not (-webkit-text-stroke: 1px black) {
  .foot-wordmark { color: rgba(244, 241, 234, 0.14); }
}
.foot-base {
  border-top: 1px solid var(--hairline);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.foot-base small {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Gallery page ---------- */
.page-head {
  padding: calc(var(--nav-h) + clamp(3rem, 7vw, 6rem)) 0 clamp(2rem, 4vw, 3.5rem);
}
.page-head .eyebrow { display: block; margin-bottom: 1.25rem; }
.page-head .meta {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--hairline);
  padding-top: 1.25rem;
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--hairline);
  padding: 0.7rem 1.35rem;
  cursor: pointer;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out),
    background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.filter-btn:hover { color: var(--text); border-color: var(--text); }
.filter-btn:active { transform: scale(0.97); }
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.masonry { columns: 3; column-gap: 1.25rem; }
.g-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 1.25rem;
  break-inside: avoid;
  overflow: hidden;
  background: var(--surface);
  border: 0;
  padding: 0;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
  text-align: left;
  opacity: 1;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.g-item img {
  width: 100%;
  height: auto;
  transition: transform 0.7s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .g-item:hover img { transform: scale(1.03); }
}
.g-item .g-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 1rem 0.9rem;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 7, 0.85));
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .g-item:hover .g-cap, .g-item:focus-visible .g-cap { transform: none; opacity: 1; }
}
@media (hover: none) {
  .g-item .g-cap { transform: none; opacity: 1; }
}
.g-cap .cat {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.g-cap .ttl { font-size: 0.8125rem; font-weight: 500; }
.g-item.is-hidden { display: none; }
.g-item.is-fading { opacity: 0; transform: scale(0.98); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  background: var(--scrim);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0s 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; transition: opacity 0.3s var(--ease-out); }
.lb-stage {
  position: relative;
  max-width: min(1200px, 92vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}
.lb-stage img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  transform: scale(0.97);
  opacity: 0;
  transition: transform 0.35s var(--ease-out), opacity 0.35s var(--ease-out);
}
.lightbox.open .lb-stage img { transform: none; opacity: 1; }
.lb-stage img.lb-fade { opacity: 0; transform: scale(0.985); }
.lb-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 1rem;
}
.lb-meta .cat {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.lb-meta .ttl { font-size: 0.9375rem; font-weight: 500; }
.lb-meta .count {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-left: auto;
}
.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 11, 13, 0.55);
  border: 1px solid var(--hairline);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
  z-index: 1;
}
.lb-btn:hover { border-color: var(--accent); color: var(--accent); }
.lb-prev { left: -68px; }
.lb-next { right: -68px; }
.lb-close {
  position: absolute;
  top: -58px;
  right: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--hairline);
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.2s var(--ease-out);
}
.lb-close:hover { border-color: var(--accent); color: var(--accent); transform: rotate(90deg); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Skip link ---------- */
.skip {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.75rem 1.25rem;
  transition: top 0.2s;
}
.skip:focus { top: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .masonry { columns: 2; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--hairline); padding-left: 0; }
  .stat:nth-child(-n + 2) { border-top: 0; }
  .stat:nth-child(odd) { border-right: 1px solid var(--hairline); padding-right: 1rem; }
  .stat:nth-child(even) { padding-left: 1.5rem; }

  .work-grid { grid-template-columns: 1fr; }
  .work-grid .work-card:nth-child(even) { margin-top: 0; }

  .about-grid { grid-template-columns: 1fr; }
  .about-media img { aspect-ratio: 4 / 3; }

  .svc-grid { grid-template-columns: 1fr; max-width: 560px; }

  .foot-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .foot-contact { text-align: left; }

  .scroll-cue { display: none; }
}

@media (max-width: 560px) {
  .masonry { columns: 1; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .lb-btn { width: 44px; height: 44px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .scroll-cue::after { animation: none; transform: scaleY(1); }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media { inset: 0; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
