:root {
  --ink: #171714;
  --muted: #68645d;
  --ivory: #f5f0e8;
  --paper: #fbf9f5;
  --gold: #b99a63;
  --line: rgba(23, 23, 20, .16);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }

/* Header */
.site-header {
  height: 86px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.wordmark {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  letter-spacing: .11em;
}
.wordmark span { font-size: 15px; font-weight: 600; }
.wordmark small { font-size: 8px; letter-spacing: .45em; margin-top: 5px; color: var(--gold); }
.header-status {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}

/* Hero */
.work-hero {
  padding-top: 80px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}
.work-hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.work-pill-badge {
  display: inline-block;
  padding: 5px 12px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  background: var(--ivory);
  border: 1px solid var(--gold);
  color: var(--ink);
  border-radius: 999px;
}
.work-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  background: rgba(185, 154, 99, 0.12);
  color: #7d602a;
  border-radius: 999px;
}
.work-status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2e7d32;
}
.work-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 6.5vw, 92px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
}
.work-subheadline {
  font-size: clamp(14px, 1.4vw, 18px);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 24px;
}
.work-summary-copy {
  max-width: 820px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 36px;
}
.work-action-bar {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 3px;
  transition: all .2s;
}
.button-dark { background: var(--ink); color: var(--ivory); }
.button-dark:hover { background: var(--gold); color: var(--ink); }
.button-light { background: var(--ivory); color: var(--ink); border: 1px solid var(--line); }
.button-light:hover { background: var(--gold); }
.text-link {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}
.work-location-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

/* Showcase */
.work-showcase-section { padding-top: 60px; padding-bottom: 120px; }
.category-group { margin-bottom: 90px; }
.eyebrow {
  margin: 0 0 16px;
  font-size: 10px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .25em;
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin: 0 12px 3px 0;
}
.display-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -.03em;
  margin: 0 0 32px;
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
}
.case-card {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 44px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.case-card:hover {
  border-color: rgba(185, 154, 99, 0.5);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.05);
}
.card-full { grid-column: span 12; }
.card-half { grid-column: span 6; }

.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.card-tag {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}
.card-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.1;
  margin: 0 0 6px;
  font-weight: 500;
}
.card-subtitle { font-size: 13px; color: var(--muted); margin: 0; }
.card-live-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--ink);
  color: var(--ivory);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  border-radius: 4px;
}
.card-live-btn:hover { background: var(--gold); color: var(--ink); }

.tech-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 28px;
}
.tech-pill {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--ivory);
  color: var(--ink);
  border: 1px solid rgba(23, 23, 20, 0.08);
  border-radius: 4px;
  font-weight: 500;
}
.card-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.feature-box h4 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 8px;
  font-weight: 600;
}
.feature-box p { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }

.work-bullet-list { list-style: none; padding: 0; margin: 0 0 24px; }
.work-bullet-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.work-bullet-list li strong { color: var(--ink); }
.work-bullet-list li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }

/* Media Grids */
.campaign-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.media-card-item {
  cursor: pointer;
  border: 1px solid var(--line);
  background: #fbf9f5;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.media-card-item:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); }
.media-zoom-overlay { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #111; }
.media-zoom-overlay img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.media-card-item:hover .media-zoom-overlay img { transform: scale(1.04); }
.media-caption-bar { padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.media-caption-bar strong { font-size: 13px; color: var(--ink); }
.media-caption-bar span { font-size: 11px; color: var(--muted); }

/* Video Spots */

/* Photography */
.photo-series-block { background: #fff; border: 1px solid var(--line); padding: 40px; margin-bottom: 30px; }
.photo-series-info { margin-bottom: 28px; }
.photo-series-info h3 { font-family: var(--font-display); font-size: 28px; margin: 0 0 8px; font-weight: 500; }
.photo-series-info p { font-size: 15px; color: var(--muted); margin: 0; max-width: 760px; }
.gallery-masonry-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-headshots-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.gallery-item-card {
  position: relative;
  overflow: hidden;
  background: #1a1a18;
  aspect-ratio: 3 / 4;
  cursor: pointer;
}
.gallery-item-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item-card:hover img { transform: scale(1.05); }
.gallery-hover-info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 16px 14px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), transparent);
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.25s;
}
.gallery-item-card:hover .gallery-hover-info { opacity: 1; transform: translateY(0); }
.gallery-hover-info h4 { font-size: 13px; margin: 0 0 4px; font-weight: 600; }
.gallery-hover-info p { font-size: 11px; color: rgba(255, 255, 255, 0.78); margin: 0; }
.headshot-card { aspect-ratio: 4 / 5; }

/* History & Skills */
.history-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.history-card { background: #fff; border: 1px solid var(--line); padding: 32px; }
.history-years {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}
.history-card h3 { font-family: var(--font-display); font-size: 24px; margin: 0 0 4px; font-weight: 500; }
.history-card h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin: 0 0 16px; font-weight: 600; }
.history-card p { font-size: 13px; line-height: 1.65; color: var(--muted); margin: 0; }

.skills-matrix-wrap { background: #fff; border: 1px solid var(--line); padding: 44px; }
.matrix-title { font-family: var(--font-display); font-size: 28px; margin: 0 0 28px; font-weight: 500; }
.matrix-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.matrix-column h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.matrix-column ul { list-style: none; padding: 0; margin: 0; }
.matrix-column li { position: relative; padding-left: 18px; margin-bottom: 10px; font-size: 13px; color: var(--ink); }
.matrix-column li::before { content: "•"; position: absolute; left: 0; color: var(--gold); }

/* CTA */
.work-contact-band {
  background: radial-gradient(circle at 78% 15%, rgba(186, 154, 99, 0.24), transparent 40%), linear-gradient(135deg, #11110f, #25241e);
  color: var(--ivory);
  padding: 70px 60px;
  margin-top: 80px;
  border-radius: 4px;
}
.cta-headline { font-family: var(--font-display); font-size: clamp(40px, 4.5vw, 68px); line-height: 1; font-weight: 400; margin: 12px 0 16px; }
.cta-copy { max-width: 650px; font-size: 16px; color: rgba(245, 240, 232, 0.8); line-height: 1.6; margin: 0; }

/* Lightbox */
.lightbox-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 10, 8, 0.88);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox-backdrop.active { display: flex; }
.lightbox-content {
  position: relative;
  max-width: 1000px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: #1a1a18;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  overflow: hidden;
}
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-media-wrapper {
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
.lightbox-image { max-width: 100%; max-height: 75vh; object-fit: contain; }
.lightbox-caption { padding: 18px 24px; background: #141412; color: var(--ivory); }
.lightbox-caption h3 { font-family: var(--font-display); font-size: 20px; margin: 0 0 4px; }
.lightbox-caption p { font-size: 13px; color: rgba(245, 240, 232, 0.7); margin: 0; }

@media (max-width: 960px) {
  .card-half, .campaign-media-grid, .card-feature-grid, .gallery-headshots-grid, .history-cards-grid, .matrix-grid { grid-template-columns: 1fr; }
  .gallery-masonry-4 { grid-template-columns: repeat(2, 1fr); }
  .work-contact-band { padding: 40px 24px; }
  .work-location-tag { border-left: 0; padding-left: 0; width: 100%; }
}

/* --- Proof strip, featured credits, store cards (added) --- */
.work-throughline { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; color: var(--ink); max-width: 900px; margin: 0 0 18px; }
.work-throughline em { font-style: italic; color: var(--gold); }
.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px; }
.proof-item { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; color: var(--ink); transition: border-color .25s, transform .25s; }
.proof-item:hover { border-color: var(--gold); transform: translateY(-2px); }
.proof-item b { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 600; line-height: 1; }
.proof-item span { display: block; margin-top: 8px; font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.featured-credits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.featured-credit { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); text-decoration: none; }
.featured-credit img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .3s, transform .5s; display: block; }
.featured-credit:hover img { opacity: 1; transform: scale(1.03); }
.featured-credit div { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; background: linear-gradient(transparent, rgba(10,10,8,.88)); color: #fff; }
.featured-credit strong { display: block; font-size: 14px; }
.featured-credit span { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #e6d7b8; margin-top: 2px; }
.credit-line { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 14px 0 18px; padding: 12px 16px; border-left: 3px solid var(--gold); background: var(--ivory); font-size: 13px; }
.credit-line span b { font-weight: 700; text-transform: uppercase; font-size: 10px; letter-spacing: .12em; color: var(--muted); margin-right: 6px; }
.category-group[id] { scroll-margin-top: 90px; }
.store-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.store-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .25s, transform .25s, box-shadow .25s; }
.store-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(23,23,20,.5); }
.store-shot { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ivory); border-bottom: 1px solid var(--line); }
.store-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.store-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.store-head { display: flex; align-items: center; gap: 12px; }
.store-head img { width: 46px; height: 46px; border-radius: 11px; flex: none; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.store-head strong { display: block; font-size: 15px; line-height: 1.25; }
.store-head small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.store-body p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); flex: 1; }
.store-cta { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.book-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.book-card { display: block; text-decoration: none; color: var(--ink); }
.book-cover { aspect-ratio: 2 / 3; border-radius: 6px; overflow: hidden; background: var(--ink); box-shadow: 0 18px 30px -18px rgba(23,23,20,.6); transition: transform .3s, box-shadow .3s; }
.book-card:hover .book-cover { transform: translateY(-4px); box-shadow: 0 26px 40px -20px rgba(23,23,20,.7); }
.book-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book-cover--text { display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: #fff; background: linear-gradient(160deg, #2b2a24, #171714); }
.book-cover--text b { font-family: var(--font-display); font-size: 24px; line-height: 1.1; font-weight: 600; }
.book-cover--text span { margin-top: 10px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.book-card strong { display: block; margin-top: 12px; font-size: 13px; line-height: 1.35; }
.book-card small { display: block; margin-top: 3px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.section-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.game-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.game-card { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.game-shot { aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; cursor: zoom-in; }
.game-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.game-body { padding: 18px; }
.game-body h3 { margin: 6px 0 8px; font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.15; }
.game-body p { margin: 0 0 12px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.also-built { margin-top: 22px; padding: 16px 20px; border: 1px dashed var(--line); border-radius: 12px; font-size: 13px; color: var(--muted); }
.also-built b { color: var(--ink); }
@media (max-width: 960px) {
  .proof-strip, .store-grid, .book-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-credits, .game-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .store-grid { grid-template-columns: 1fr; }
  .store-shot { aspect-ratio: 5 / 4; }
  .proof-item b { font-size: 26px; }
}

/* --- Hub + lens pages (header nav, section nav, doors, reels, diagram, bridge strips) --- */
.wordmark { color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 999px;
  white-space: nowrap;
  transition: color .2s, border-color .2s, background .2s;
}
.site-nav a:hover { color: var(--ink); border-color: var(--line); }
.site-nav a[aria-current="page"] { background: var(--ink); color: var(--ivory); }
a:focus-visible, button:focus-visible, video:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.section-nav {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgba(251, 249, 245, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.section-nav-inner {
  display: flex;
  gap: 8px;
  padding: 14px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
}
.section-nav-inner::-webkit-scrollbar { display: none; }
.section-nav a {
  flex: none;
  padding: 7px 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
}
.section-nav a:last-child { margin-right: 40px; }
.section-nav a:hover { border-color: var(--ink); color: var(--ink); }
.category-group[id], .work-contact-band[id] { scroll-margin-top: 80px; }
.lead-copy { max-width: 820px; margin: 0 0 22px; }

/* Hub doors */
.door-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.door {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 460px;
  padding: 36px;
  border-radius: 14px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #11110f, #25241e);
  isolation: isolate;
}
.door > img.door-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.door::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,8,.15) 20%, rgba(10,10,8,.9) 78%); }
.door:hover > img.door-bg { transform: scale(1.03); }
.door-ai::after { background: radial-gradient(circle at 80% 10%, rgba(186,154,99,.3), transparent 45%); }
.door-icons { position: absolute; top: 36px; left: 36px; display: flex; gap: 12px; }
.door-icons img { width: 58px; height: 58px; border-radius: 14px; box-shadow: 0 6px 18px rgba(0,0,0,.45); }
.door-tag { font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #e6d7b8; }
.door h2 { font-family: var(--font-display); font-size: clamp(34px, 3.6vw, 48px); font-weight: 400; line-height: 1.05; letter-spacing: -.02em; margin: 10px 0 12px; }
.door p { margin: 0 0 20px; max-width: 460px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.82); }
.door-cta { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #e6d7b8; }

/* Vertical reels: whole 9:16 frame, never cropped */
.reel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; }
.reel-card { display: grid; grid-template-columns: minmax(200px, 270px) 1fr; gap: 32px; align-items: start; }
.reel-frame { aspect-ratio: 9 / 16; background: #000; border-radius: 10px; overflow: hidden; box-shadow: 0 18px 36px -22px rgba(23,23,20,.7); }
.reel-frame video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.reel-card .credit-line { flex-direction: column; gap: 6px; }

/* Bridge strip: the other discipline, in this audience's terms */
.bridge-strip { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; padding: 40px 44px; background: #fff; border: 1px solid var(--line); }
.bridge-strip h3 { font-family: var(--font-display); font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; line-height: 1.15; margin: 0 0 12px; }
.bridge-strip p { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.bridge-media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bridge-media a { display: block; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; background: var(--ink); }
.bridge-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.bridge-media a:hover img { transform: scale(1.04); }
.bridge-app { display: flex; gap: 18px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.bridge-app img { width: 72px; height: 72px; border-radius: 16px; flex: none; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.bridge-app strong { display: block; font-size: 15px; }
.bridge-app span { display: block; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* Pipeline diagram + evidence */
.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 28px 0 8px; counter-reset: stage; }
.stage { position: relative; padding: 18px 18px 18px 20px; background: var(--ivory); border: 1px solid var(--line); border-right: 0; counter-increment: stage; }
.stage:last-child { border-right: 1px solid var(--line); }
.stage::before { content: "0" counter(stage); display: block; font-size: 10px; font-weight: 700; letter-spacing: .18em; color: var(--gold); margin-bottom: 6px; }
.stage:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -7px; width: 12px; height: 12px; background: var(--ivory); border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: translateY(-50%) rotate(45deg); z-index: 1; }
.stage.gate { background: var(--ink); color: var(--ivory); }
.stage.gate:not(:last-child)::after { background: var(--ink); }
.stage b { display: block; font-size: 13px; line-height: 1.3; }
.stage span { display: block; margin-top: 6px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.stage.gate span { color: rgba(245,240,232,.72); }
.pipeline-loop { margin: 0 0 8px; font-size: 12px; color: var(--muted); }
.pipeline-loop b { color: var(--ink); }
.evidence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 24px; border-top: 1px solid var(--line); padding-top: 24px; }
.evidence-grid h4 { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.evidence-grid .work-bullet-list { margin: 0; }
.cover-row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; margin-top: 24px; }
.cover-row a { display: block; aspect-ratio: 2 / 3; border-radius: 4px; overflow: hidden; background: var(--ink); box-shadow: 0 10px 18px -12px rgba(23,23,20,.6); transition: transform .3s; }
.cover-row a:hover { transform: translateY(-3px); }
.cover-row img { width: 100%; height: 100%; object-fit: cover; }

/* Lightbox triggers are links now (keyboard + no-JS friendly) */
a.media-card-item, a.gallery-item-card, a.game-shot { display: block; color: inherit; }
.gallery-item-card:focus-visible .gallery-hover-info { opacity: 1; transform: translateY(0); }
@media (hover: none) { .gallery-hover-info { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .reel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .door-grid, .bridge-strip, .evidence-grid { grid-template-columns: 1fr; }
  .door { min-height: 380px; padding: 28px; }
  .door-icons { top: 28px; left: 28px; }
  .bridge-strip { padding: 28px 24px; gap: 24px; }
  .pipeline { grid-template-columns: 1fr; }
  .stage { border-right: 1px solid var(--line); border-bottom: 0; }
  .stage:last-child { border-bottom: 1px solid var(--line); }
  .stage:not(:last-child)::after { top: auto; bottom: -7px; right: auto; left: 28px; transform: rotate(135deg); }
  .cover-row { grid-template-columns: repeat(4, 1fr); }
  .case-card { padding: 28px 22px; }
  .photo-series-block, .skills-matrix-wrap { padding: 28px 22px; }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 40px); }
  .site-header { height: auto; padding: 14px 0; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .site-nav { margin-left: -14px; }
  .site-nav a { padding: 7px 12px; font-size: 10px; letter-spacing: .1em; }
  .work-hero { padding-top: 48px; }
  .reel-card { grid-template-columns: 1fr; }
  .reel-frame { width: min(100%, 320px); margin-inline: auto; }
  .door-icons img { width: 48px; height: 48px; border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* --- Landscape gallery cells, Las Vegas set, inline links (film page) --- */
.gallery-item-card.wide { aspect-ratio: 3 / 2; }
.gallery-item-card.wide43 { aspect-ratio: 4 / 3; }
.gallery-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gallery-wide-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.inline-link { border-bottom: 1px solid var(--gold); color: var(--ink); font-weight: 600; }
.inline-link:hover { color: var(--gold); }
.reel-card .tech-tags-cloud { margin-bottom: 0; }
@media (max-width: 960px) {
  .gallery-wide-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .gallery-grid-2 { grid-template-columns: 1fr; }
}

/* --- AI page: artifact block + four-up history grid --- */
.artifact { margin: 0; padding: 18px 20px; background: var(--ink); color: var(--ivory); border-radius: 8px; overflow-x: auto; font: 12.5px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; }
.artifact code { font: inherit; }
.artifact-note { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.history-cards-grid.four { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.history-cards-grid.four .history-card { padding: 26px 22px; }
.history-cards-grid.four .history-card h3 { font-size: 21px; line-height: 1.2; }
@media (max-width: 1100px) { .history-cards-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .history-cards-grid.four { grid-template-columns: 1fr; } }
