/* ============================================================
   CHRIS JEFFRIES — Portfolio Site
   Style: Dark minimal, GMUNK-inspired
   v2 — 2026-03-11
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0d0d0d;
  --fg: #ffffff;
  --fg-dim: #999;
  --fg-muted: #444;
  --fg-faint: #222;
  --nav-h: 68px;
  --grid-gap: 32px;
  --font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'Courier New', monospace;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 13px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-bottom: 70px; /* fixed footer clearance */
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ─── NAVIGATION ───────────────────────────────────────────── */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid #181818;
}

.nav-main {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}
@media (min-width: 1400px) {
  .nav-main { padding: 0 80px; }
}
@media (min-width: 1800px) {
  .nav-main { padding: 0 96px; }
}

.nav-logo {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  min-width: 196px;
  display: grid;
  align-items: center;
  height: var(--nav-h);
  color: var(--fg);
  flex-shrink: 0;
  position: relative;
  white-space: nowrap;
  line-height: 1;
}
.nav-logo:hover { opacity: 0.5; }

.nav-logo-text {
  position: absolute;
  left: 0;
  top: 50%;
  display: inline-block;
  transform: translateY(-50%);
  transform-origin: left center;
  white-space: nowrap;
  line-height: 1;
  font-variant-ligatures: none;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover { color: var(--fg); opacity: 1; }
.nav-links a.active { color: var(--fg); }

/* Active underline indicator */
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: var(--fg);
}

/* ─── NAV RIGHT + WORK GROUP ────────────────────────────────── */

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-work-group {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-work-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.nav-work-link:hover,
.nav-work-link.active { color: var(--fg); }

/* Inline sub-categories: slide in from right of "Work" */
.nav-sub {
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-width 0.65s cubic-bezier(0.4,0,0.2,1), opacity 0.65s ease;
}
.nav-sub.visible {
  max-width: 600px;
  opacity: 1;
  pointer-events: auto;
}

.filter-btn {
  background: none;
  border: none;
  color: var(--fg-muted);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: none;
  padding: 6px 20px;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
}
.filter-btn:hover { color: var(--fg-dim); }
.filter-btn.active { color: var(--fg); }
.filter-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 20px; right: 20px;
  height: 1px;
  background: var(--fg);
}

.filter-divider {
  width: 1px;
  height: 14px;
  background: #282828;
  align-self: center;
  flex-shrink: 0;
}

/* ─── GRID ──────────────────────────────────────────────────── */

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gap);
  padding: calc(var(--nav-h) + 44px + 40px) 40px 80px;
}

/* When hero is visible (in flow), reduce top padding since hero pushes grid down */
body.has-hero .work-grid {
  padding-top: 40px;
}

/* Wider screens: more breathing room but stay 2 cols */
@media (min-width: 1400px) {
  .work-grid {
    gap: 48px;
    padding: calc(var(--nav-h) + 44px + 56px) 80px 120px;
  }
  body.has-hero .work-grid {
    padding-top: 56px;
  }
}

@media (min-width: 1800px) {
  .work-grid {
    gap: 56px;
    padding: calc(var(--nav-h) + 44px + 64px) 96px 120px;
  }
  body.has-hero .work-grid {
    padding-top: 64px;
  }
}

/* ─── WORK ITEM ─────────────────────────────────────────────── */

.work-item {
  display: block;
  cursor: pointer;
}

.work-item-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #0f0f0f;
}

.work-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* preserve text at top of thumbnails (e.g. Vimeo titles) */
  filter: brightness(0.9) saturate(0.88);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.4s ease;
}
/* Per-item override: add data-thumb-pos="center" on .work-item for centered crops */
.work-item[data-thumb-pos="center"] .work-item-image img { object-position: center center; }
.work-item[data-thumb-pos="bottom"] .work-item-image img { object-position: center bottom; }
.work-item[data-thumb-fit="contain"] .work-item-image {
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.06), transparent 55%),
    linear-gradient(180deg, #101010 0%, #050505 100%);
}
.work-item[data-thumb-fit="contain"] .work-item-image img {
  object-fit: contain;
  object-position: center center;
  padding: 14px;
}
.work-item[data-thumb-fit="contain"]:hover .work-item-image img {
  transform: scale(1.01);
}
.work-item:hover .work-item-image img {
  transform: scale(1.03);
  filter: brightness(0.75) saturate(0.7);
}

/* Video play button — large, always visible */
.work-item[data-type="video"] .work-item-image::after {
  content: '';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  pointer-events: none;
}
.play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 22px;
  border-color: transparent transparent transparent rgba(255,255,255,0.85);
  margin-left: 5px;
}
.work-item:hover .play-btn {
  border-color: rgba(255,255,255,1);
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.08);
}
.work-item:hover .play-btn::after {
  border-color: transparent transparent transparent #ffffff;
}

/* Placeholder when no image */
.work-item-thumb-placeholder {
  width: 100%; height: 100%;
  background: #101010;
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-item-thumb-placeholder svg {
  opacity: 0.12;
  width: 48px; height: 48px;
}

/* ─── WORK ITEM TEXT — overlaid on image, fades in on hover ── */

.work-item-text {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 48px 20px 18px;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.72) 100%);
  pointer-events: none;
}

.work-item-title {
  font-size: clamp(14px, 1.6vw, 22px);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 6px;
  opacity: 0.1;
  transition: opacity var(--transition);
}
.work-item:hover .work-item-title { opacity: 1; }

.work-item-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  opacity: 0.1;
  transition: opacity var(--transition);
  pointer-events: auto;
  cursor: pointer;
}
.work-item:hover .work-item-cat { opacity: 1; }
.work-item-cat:hover { color: #fff; }

/* Hidden state for filter */
.work-item.hidden { display: none; }

/* ─── WORK DETAIL PAGE ──────────────────────────────────────── */

.work-detail {
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 44px);
}

.work-hero {
  width: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 92vh;
  overflow: hidden;
}
.work-hero img {
  width: 100%;
  max-height: 92vh;
  object-fit: contain;
  display: block;
}

.work-hero-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
}
.work-hero-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.work-meta {
  padding: 56px 40px 40px;
  max-width: 900px;
}

.work-meta h1 {
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 0.9;
  margin-bottom: 28px;
}

.work-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.work-meta-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border: 1px solid #242424;
  padding: 5px 12px;
}

.work-meta-date {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.work-meta-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--fg-dim);
  margin-top: 24px;
  max-width: 640px;
}

.work-meta-excerpt {
  font-size: 15px;
  line-height: 1.8;
  color: var(--fg-dim);
  max-width: 600px;
}

.work-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 32px;
  transition: color var(--transition);
}
.work-back:hover { color: var(--fg); opacity: 1; }

.work-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 3px;
  margin-top: 3px;
}
.work-images img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.work-nav {
  display: flex;
  justify-content: space-between;
  padding: 40px;
  border-top: 1px solid #181818;
  margin-top: 64px;
}
.work-nav a {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color var(--transition);
}
.work-nav a:hover { color: var(--fg); }
.work-nav a span { font-size: 16px; font-weight: 300; }

/* ─── ABOUT PAGE ────────────────────────────────────────────── */

.about-wrap {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 44px + 72px) 40px 80px;
  max-width: 1100px;
}

.about-wrap h1 {
  font-size: clamp(48px, 9vw, 110px);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.85;
  margin-bottom: 80px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #111;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
}

.about-text h2 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 24px;
}
.about-text p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--fg-dim);
  margin-bottom: 28px;
}

/* ─── CONTACT PAGE ──────────────────────────────────────────── */

.contact-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px;
}

.contact-wrap h1 {
  font-size: clamp(56px, 12vw, 140px);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.82;
  margin-bottom: 56px;
}

.contact-email {
  display: inline-block;
  font-size: clamp(18px, 3vw, 36px);
  font-weight: 300;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--fg-muted);
  padding-bottom: 6px;
  transition: border-color var(--transition);
}
.contact-email:hover { border-color: var(--fg); opacity: 1; }

.contact-links {
  display: flex;
  gap: 32px;
  margin-top: 56px;
}
.contact-links a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color var(--transition);
}
.contact-links a:hover { color: var(--fg); }

/* ─── SHOWREEL PAGE ─────────────────────────────────────────── */

.showreel-wrap {
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 44px);
}
.showreel-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
}
.showreel-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.showreel-title {
  padding: 32px 40px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border-top: 1px solid #181818;
}

/* ─── HERO ──────────────────────────────────────────────────── */

.hero {
  position: relative;
  width: 100%;
  margin-top: var(--nav-h);
  background: #000;
  overflow: hidden;
  /* No forced height — hero auto-sizes to video content, removing the fold */
  transition: opacity 0.6s ease, height 0.9s cubic-bezier(0.4,0,0.2,1);
}
.hero.dismissing { opacity: 0; }
.hero.dismissed {
  height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Video frame: anchored to top, scales to full width within margins */
.hero-video-frame {
  position: relative;
  margin: 12px 40px 0;
  overflow: hidden;
  background: #000;
  /* Video scales to container width — aspect ratio preserved by Vimeo embed */
}
@media (min-width: 1400px) {
  .hero-video-frame { margin: 12px 80px 0; }
}
@media (min-width: 1800px) {
  .hero-video-frame { margin: 12px 96px 0; }
}

/* Vimeo responsive wrapper: width-first scaling, no side clipping */
.hero-video-wrap {
  width: 100%;
  position: relative;
  background: #000;
  max-height: 70vh; /* constrain very tall videos but never clip sides */
  overflow: hidden;
}
.hero-video-wrap iframe {
  border: 0;
  width: 100%;
}

/* Cycling name text */
.hero-name {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(28px, 5.5vw, 80px);
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255,255,255,0.85);
  pointer-events: none;
  letter-spacing: 0.05em;
  transition: font-family 0.1s, font-weight 0.1s;
}

/* Controls strip below video — info left, scroll+pause right.
   Sits BELOW the video, never overlaps it. */
.hero-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px 22px;
  min-height: 68px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
@media (min-width: 1400px) { .hero-controls { padding: 18px 80px 22px; } }
@media (min-width: 1800px) { .hero-controls { padding: 18px 96px 22px; } }

.hero-controls-right {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

/* Video info — title + link */
.hero-info {
  display: flex;
  align-items: center;
  gap: 20px;
  pointer-events: auto;
  min-width: 0;
}

.hero-info-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 50vw;
}
.hero-info-link {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 1px;
  transition: color 0.3s, border-color 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}
.hero-info-link:hover {
  color: rgba(255,255,255,1);
  border-color: rgba(255,255,255,0.7);
}

/* Scroll arrow — more prominent */
.hero-scroll {
  color: rgba(255,255,255,0.9);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroScrollBounce 2s ease-in-out infinite;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  transition: background 0.3s ease;
}
.hero-scroll:hover { background: rgba(255,255,255,0.1); }
.hero-scroll svg { width: 22px; height: 22px; }

@keyframes heroScrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.8; }
  50%       { transform: translateY(5px); opacity: 1; }
}

/* Pause button — more prominent */
.hero-pause-btn {
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.95);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}
.hero-pause-btn:hover { background: rgba(255,255,255,0.28); color: #fff; border-color: rgba(255,255,255,0.7); transform: scale(1.06); }
.hero-pause-btn svg { width: 16px; height: 16px; }

/* ─── SORT TOAST ─────────────────────────────────────────────── */

.sort-toast {
  position: fixed;
  top: calc(var(--nav-h) + 52px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(20,20,20,0.92);
  border: 1px solid #2a2a2a;
  color: rgba(255,255,255,0.75);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 10px 24px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  white-space: nowrap;
}
.sort-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ─── FOOTER ────────────────────────────────────────────────── */

footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  padding: 20px 40px;
  background: var(--bg);
  border-top: 1px solid #181818;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (min-width: 1400px) {
  footer { padding: 20px 80px; }
}
@media (min-width: 1800px) {
  footer { padding: 20px 96px; }
}
footer p {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
}
footer a { color: var(--fg); text-transform: uppercase; transition: opacity var(--transition); }
footer a:hover { opacity: 0.5; }

/* ─── CURSOR ────────────────────────────────────────────────── */

.cursor {
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.12s ease;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: width 0.3s ease, height 0.3s ease, opacity 0.2s ease;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

/* ─── LOADER ────────────────────────────────────────────────── */

.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}
.loader.done { opacity: 0; pointer-events: none; }
.loader-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ─── PAGE TRANSITION ───────────────────────────────────────── */

.page-transition {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.page-transition.active { opacity: 1; }

/* ─── MOBILE NAV TOGGLE ─────────────────────────────────────── */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--fg);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */

@media (max-width: 900px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: calc(var(--nav-h) + 44px + 28px) 24px 60px;
  }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .work-meta { padding: 40px 24px 32px; }
}

@media (max-width: 640px) {
  :root { --nav-h: 60px; }

  .nav-main { padding: 0 24px; }

  .nav-right { display: none; }
  .nav-right.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg);
    z-index: 99;
    padding: 8px 0;
    gap: 0;
  }
  .nav-work-group { flex-direction: column; align-items: flex-start; }
  .nav-sub { max-width: none !important; opacity: 1 !important; pointer-events: auto !important; flex-direction: column; }
  .nav-work-link, .nav-right > a { padding: 14px 24px; border-bottom: 1px solid #181818; display: block; }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #0d0d0d;
    border-bottom: 1px solid #222;
    z-index: 99;
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 14px 24px; border-bottom: 1px solid #181818; }
  .nav-toggle { display: flex; }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: calc(var(--nav-h) + 44px + 24px) 20px 60px;
  }

  .work-item-title { font-size: 20px; }

  .about-wrap { padding: calc(var(--nav-h) + 44px + 40px) 20px 40px; }
  .contact-wrap { padding: 0 20px; }
  footer { position: static; padding: 28px 20px; flex-direction: column; gap: 12px; text-align: center; }

  /* Hero mobile */
  .hero-name { font-size: 36px; }
  .hero-tagline { font-size: 10px; letter-spacing: 0.25em; }
  .hero-controls { padding: 10px 20px 14px; }
  .hero-video-frame { margin: 8px 20px 0; }
  .hero-info-title { font-size: 10px; }
  .hero-info-link { display: none; }
}
