:root {
  --paper: #F3F1EB;
  --paper-2: #E7E4DC;
  --ink: #222222;
  --stage: #222222;
  --stage-2: #2C2C2C;
  --muted: #686963;
  --rule: #C9C6BD;
  --signal-soft: #e6f9a1;
  --signal-wash: rgba(215, 245, 87, 0.13);
  --project-surface: var(--paper);
  --max-w: 1680px;
  --page-width: min(90vw, var(--max-w));
}

/* One shared content edge keeps the long page visually coherent. */
.wrap {
  width: var(--page-width);
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

html {
  scroll-behavior: smooth;
}

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

/* Hero: full-height split composition from the approved reference. */
.split-hero {
  position: relative;
  grid-template-columns: minmax(640px, 58%) minmax(0, 42%);
  min-height: 100svh;
  padding: 0 !important;
  background: var(--stage);
}

.split-panel {
  min-height: 100svh;
  padding: clamp(28px, 5vw, 80px);
}

.panel-topbar {
  margin-bottom: 0;
  padding: 0;
  min-height: 44px;
  position: static;
  z-index: 12;
  transition: opacity 320ms ease, transform 480ms var(--ease);
}

.brand-home-dark img {
  height: 48px;
}

.panel-top-links {
  position: absolute;
  top: clamp(26px, 3vw, 46px);
  left: calc(58% + clamp(18px, 2vw, 30px));
  right: clamp(24px, 3vw, 46px);
  z-index: 10;
  justify-content: flex-end;
  gap: 8px;
  pointer-events: auto;
  transition: opacity 280ms ease, transform 480ms var(--ease), visibility 280ms ease;
}

.panel-top-links a {
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 12px rgba(34, 34, 34, 0.75);
  padding: 8px 13px;
  border: 1px solid rgba(251, 251, 248, 0.46);
  border-radius: 999px;
  background: rgba(34, 34, 34, 0.48);
  backdrop-filter: blur(10px);
}

.panel-top-links a:hover,
.panel-top-links a:focus-visible {
  color: var(--signal);
}

.panel-util-resume,
.util-resume {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 8px 14px;
  background: transparent;
}

.panel-util-resume {
  border-color: var(--signal) !important;
  background: var(--signal) !important;
  color: var(--ink) !important;
  text-shadow: none !important;
}

.panel-util-resume:hover,
.util-resume:hover {
  background: var(--ink);
  color: var(--white);
}

.panel-body {
  width: 100%;
  max-width: none;
  margin: auto 0;
  padding: clamp(56px, 10vh, 118px) 0 clamp(44px, 7vh, 84px);
}

.split-hero h1 {
  font-size: clamp(3.5rem, 5vw, 5.8rem);
  letter-spacing: -0.055em;
  line-height: 0.91;
}

.role-line {
  max-width: none;
  font-size: clamp(1.45rem, 2vw, 2.25rem);
  line-height: 1.08;
  margin-top: 24px;
}

.support-line {
  max-width: 72ch;
  margin-top: 22px;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.52;
}

.panel-meta {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 9px;
  margin-top: 34px;
}

.panel-meta .line,
.panel-meta .line:first-child {
  border: 0;
  padding: 0;
}

.availability-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--signal-soft);
}

.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(215, 245, 87, 0.55);
  animation: availability-pulse 2.1s ease-out infinite;
}

.availability-status:not(.is-ready) .status-dot {
  animation: availability-check-core 1.15s ease-in-out infinite;
}

.availability-status:not(.is-ready) .status-dot::before,
.availability-status:not(.is-ready) .status-dot::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(215, 245, 87, 0.8);
  border-radius: 50%;
  animation: availability-scan 1.45s ease-out infinite;
  pointer-events: none;
}

.availability-status:not(.is-ready) .status-dot::after {
  animation-delay: 0.58s;
}

@keyframes availability-check-core {
  0%, 100% { opacity: 0.55; transform: scale(0.82); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes availability-scan {
  0% { opacity: 0.8; transform: scale(0.6); }
  78%, 100% { opacity: 0; transform: scale(3.1); }
}

@keyframes availability-pulse {
  0% { box-shadow: 0 0 0 0 rgba(215, 245, 87, 0.52); }
  65%, 100% { box-shadow: 0 0 0 9px rgba(215, 245, 87, 0); }
}

.panel-trust {
  margin-top: 28px;
}

.panel-ai-line {
  display: block;
  margin-top: 5px;
  color: var(--signal-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.panel-reel-btn {
  margin-top: 32px;
  padding: 10px 0 7px;
  border: 0;
  border-bottom: 1px solid rgba(251, 251, 248, 0.45);
  border-radius: 0;
}

.panel-reel-btn:hover {
  border-bottom-color: var(--signal);
  color: var(--signal-soft);
}

.mosaic {
  min-height: 100svh;
  padding: 8px 8px 8px 0;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
}

.mosaic::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 120px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(34, 34, 34, 0.62), transparent);
}

.mosaic-cell {
  border-radius: 12px;
}

.mosaic-cell.lead { grid-column: 1; grid-row: 1; }
.mosaic-cell.support-a { grid-column: 2; grid-row: 1; }
.mosaic-cell.support-b { grid-column: 1; grid-row: 2; }
.mosaic-cell.support-c { grid-column: 2; grid-row: 2; }
.mosaic-cell.support-d { grid-column: 1 / -1; grid-row: 3; }

.mosaic-cell img,
.mosaic-cell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease), filter 600ms var(--ease);
}

.mosaic:hover .mosaic-cell img,
.mosaic:hover .mosaic-cell video {
  transform: scale(1.015);
  filter: grayscale(0) brightness(0.94);
}

.mosaic-play {
  transition: transform 420ms var(--ease), border-color 260ms var(--ease), background 260ms var(--ease);
}

.mosaic:hover .mosaic-play {
  transform: translate(-50%, -50%) scale(1.08);
}

/* Sticky navigation becomes a quiet utility after the hero. */
.sticky-nav {
  box-shadow: 0 6px 24px rgba(34, 34, 34, 0.06);
  transform: translateY(-16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, transform 480ms var(--ease), visibility 300ms ease;
}

.sticky-nav.visible {
  transform: none;
  opacity: 1;
  visibility: visible;
}

body.hero-scrolled .panel-topbar,
body.hero-scrolled .panel-top-links {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  pointer-events: none;
}

.sticky-nav .util-resume {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--ink);
}

.sticky-nav .util-resume:hover,
.sticky-nav .util-resume:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.sticky-nav .brand-home img {
  height: 38px;
}

.nav-links {
  gap: 8px;
}

.nav-links a {
  padding: 7px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--ink);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #4e5d00;
}

/* Reel expands instead of appearing as an abrupt new state. */
.reel-panel,
.reel-panel[hidden] {
  display: block !important;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  transform: translateY(-16px);
  transition: max-height 720ms var(--ease), opacity 360ms ease, transform 620ms var(--ease), margin 620ms var(--ease);
  pointer-events: none;
}

.reel-panel.open {
  max-height: calc(100svh - 96px);
  opacity: 1;
  transform: translateY(0);
  margin-bottom: 48px;
  pointer-events: auto;
}

.reel-stage {
  width: min(100%, calc((100svh - 112px) * 16 / 9));
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(34, 34, 34, 0.18);
}

.reel-stage iframe,
.project-hero-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.reel-controls {
  display: none;
}

.reel-close-btn {
  border: 0;
  border-bottom: 1px solid rgba(251, 251, 248, 0.7);
  border-radius: 0;
  padding: 7px 0;
}

/* Work browsing is editorial, with fewer capsule controls. */
.filter-pill {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 10px 0 8px;
  margin-right: 22px;
}

.filter-pill:hover {
  border-color: var(--rule);
}

.filter-pill[aria-pressed="true"] {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--ink);
  padding-left: 10px;
  padding-right: 10px;
}

.filter-pill[aria-pressed="true"] .dot {
  background: #728300 !important;
}

.work-grid {
  --packing-gap: 8px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: clamp(54px, 5.6vw, 96px);
  gap: var(--packing-gap);
}

#work {
  scroll-margin-top: var(--nav-h-desktop);
  background: var(--paper);
}

.work-proof {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.work-reel-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  padding: 12px 18px;
  border: 1px solid var(--signal);
  border-radius: 999px;
  background: var(--signal);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 180ms ease, visibility 180ms ease, background 180ms var(--ease), transform 180ms var(--ease);
}

.work-reel-btn:hover,
.work-reel-btn:focus-visible {
  background: var(--signal-soft);
  transform: translateY(-2px);
}

.work-reel-btn[aria-expanded="true"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.work-reel-icon {
  font-size: 10px;
  line-height: 1;
}

.tile {
  border-radius: 12px;
  animation: tile-enter 520ms var(--ease) both;
}

/* Count-aware four-piece units tile exactly, including every filter remainder. */
.work-grid .tile.pack-focus { grid-column: span 6; grid-row: span 6; }
.work-grid .tile.pack-wide { grid-column: span 6; grid-row: span 3; }
.work-grid .tile.pack-square { grid-column: span 3; grid-row: span 3; }
.work-grid .tile.pack-rem-full { grid-column: span 12; grid-row: span 4; }
.work-grid .tile.pack-rem-half { grid-column: span 6; grid-row: span 4; }
.work-grid .tile.pack-rem-focus { grid-column: span 6; grid-row: span 4; }
.work-grid .tile.pack-rem-wide { grid-column: span 6; grid-row: span 2; }

@keyframes tile-enter {
  from { opacity: 0; transform: translateY(14px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.tile-loop {
  opacity: 0;
  transition: opacity 480ms var(--ease);
}

.tile-embed {
  border: 0;
  background: transparent;
  pointer-events: none;
}

.tile.is-previewing .tile-loop {
  opacity: 1;
}

.tile-chip {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--ink);
  font-weight: 650;
}

.tile-signal-art {
  position: absolute;
  inset: 0;
  padding: 18px;
  background: var(--signal);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tile-signal-art strong {
  max-width: 11ch;
  font-family: var(--font-sans);
  font-size: clamp(1.45rem, 2.8vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-transform: none;
}

/* Project view uses the reference's single clear top bar and split card. */
body.project-open {
  overflow: hidden;
}

body.project-open .sticky-nav {
  visibility: hidden;
  pointer-events: none;
}

body.project-open.header-returning .sticky-nav {
  visibility: visible;
  pointer-events: none;
}

.project-detail {
  position: fixed;
  inset: 0;
  z-index: 500;
  padding: 0;
  border: 0;
  background: var(--project-surface);
  overflow: hidden;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.94);
  transform-origin: var(--origin-x, 50%) var(--origin-y, 50%);
  transition: opacity 300ms ease, transform 480ms var(--ease), visibility 300ms ease;
  pointer-events: none;
}

.project-detail.is-open {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}

.project-detail.is-closing {
  opacity: 0;
  visibility: visible;
  transform: scale(1);
  pointer-events: none;
}

@keyframes project-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.minibar {
  top: 0;
  flex: 0 0 auto;
  border-radius: 0;
}

.minibar-back {
  border: 1px solid rgba(251, 251, 248, 0.42);
  border-radius: 999px;
  padding: 7px 13px;
  color: var(--white);
}

.minibar-pos {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(251, 251, 248, 0.08);
}

.minibar-row-2 {
  align-items: center;
  gap: 12px;
}

.minibar-copy {
  border: 1px solid rgba(251, 251, 248, 0.3);
  border-radius: 999px;
  padding: 7px 12px;
  color: rgba(251, 251, 248, 0.72);
}

.minibar-sequence {
  display: inline-flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(251, 251, 248, 0.42);
  border-radius: 999px;
}

.minibar-sequence .minibar-btn {
  border: 0;
  border-radius: 0;
  padding: 7px 12px;
}

.minibar-sequence .minibar-btn + .minibar-btn {
  border-left: 1px solid rgba(251, 251, 248, 0.22);
}

.minibar-back:hover,
.minibar-btn:hover,
.minibar-back:focus-visible,
.minibar-btn:focus-visible {
  color: var(--white);
}

.minibar-back:hover,
.minibar-back:focus-visible {
  background: rgba(251, 251, 248, 0.1);
  color: var(--white);
}

.minibar-copy:hover,
.minibar-copy:focus-visible,
.minibar-sequence .minibar-btn:hover,
.minibar-sequence .minibar-btn:focus-visible {
  background: rgba(251, 251, 248, 0.08);
}

.project-frame {
  width: var(--page-width);
  max-width: none;
  height: calc(100dvh - 61px);
  margin: 0 auto;
  align-items: stretch;
  grid-template-columns: minmax(0, 67%) minmax(340px, 33%);
  border-radius: 0;
  overflow: hidden;
  background: var(--project-surface);
}

.project-hero-stage {
  background: var(--project-surface);
}

.project-hero-stage .hero-media-inner {
  background: var(--project-surface);
}

.project-hero-stage .hero-media-inner > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--project-surface);
}

.project-body {
  max-width: 1500px;
  margin: 0 auto;
  padding: 64px clamp(28px, 5vw, 80px) 88px;
  background: var(--project-surface);
  color: var(--ink);
}

.project-info-card {
  height: 100%;
  padding: clamp(28px, 3vw, 48px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
  background: var(--project-surface);
}

.project-info-title {
  max-width: 14ch;
  font-size: clamp(2rem, 2.8vw, 2.75rem);
  line-height: 0.98;
}

.project-info-rule {
  margin: 24px 0;
}

.project-fact-grid {
  gap: 0 26px;
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.project-fact {
  padding: 0 0 20px;
  border-left: 0;
}

.project-fact .label,
.project-info-block h3,
.project-deep-info .project-block h3 {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.075em;
}

.project-info-block {
  margin-top: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.project-fact .value {
  margin-top: 8px;
  line-height: 1.42;
}

.project-fact-team {
  grid-column: 1 / -1;
  padding: 18px 0 0;
  border-top: 1px solid var(--rule);
}

.project-team-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 18px;
}

.project-team-list li {
  position: relative;
  display: grid;
  gap: 1px;
  padding-left: 13px;
  font-size: 14px;
  line-height: 1.35;
}

.project-team-list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
}

.team-role {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

#blockWorkSummary {
  margin-top: 0;
}

#blockWorkSummary p {
  font-size: 16px;
  line-height: 1.48;
}

@media (min-width: 1001px) {
  .project-hero-stage {
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
  }

  .project-hero-stage .hero-media-inner {
    inset: auto 0 !important;
    top: 50% !important;
    width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 9;
    transform: translateY(-50%);
    background: var(--project-surface);
  }

  .project-info-card {
    padding: clamp(28px, 3vw, 48px);
  }

  #blockCreditsShort {
    display: none;
  }
}

.project-deep-info {
  margin-top: 28px;
  padding-top: 0;
  border-top: 1px solid var(--rule);
}

#blockCreditsShort,
.project-deep-info #blockRole {
  display: none;
}

.project-deep-info .project-block {
  margin: 0;
  padding: 21px 0;
  border-bottom: 1px solid rgba(201, 198, 189, 0.72);
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  background: transparent;
}

.project-deep-info .project-block:last-child {
  border-bottom: 0;
}

.project-deep-info .project-block h3 {
  font-size: 11px;
}

.project-deep-info .project-block p,
.project-deep-info .project-block li {
  font-size: 14px;
  line-height: 1.5;
}

.project-deep-info .project-block ul {
  gap: 9px;
}

.project-deep-info .project-block li {
  position: relative;
  padding-left: 16px;
}

.project-deep-info .project-block li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 2px;
  background: var(--ink);
}

.project-chip {
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 5px 10px;
  margin-right: 14px;
}

.project-hero-scrim {
  display: none;
  pointer-events: none;
  z-index: 2;
}

.hero-media-inner {
  z-index: 1;
}

.project-body {
  max-width: 1200px;
}

/* A spacious editorial life gallery balances the denser career story. */
.about-grid {
  grid-template-columns: minmax(390px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(72px, 7vw, 128px);
  max-width: none;
}

#about {
  padding-top: 120px;
  padding-bottom: 140px;
  background: var(--paper-2);
}

.about-copy p:first-child {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.27;
  letter-spacing: -0.025em;
}

.about-media {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(6, minmax(88px, 1fr));
  gap: 12px;
  height: clamp(680px, 57vw, 820px);
  min-height: 0;
  align-self: start;
}

.life-card {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--stage-2);
  color: var(--white);
  cursor: zoom-in;
  font: inherit;
  text-align: left;
  isolation: isolate;
  transition: transform 420ms var(--ease), box-shadow 420ms var(--ease);
}

.life-card:hover,
.life-card:focus-visible {
  transform: scale(1.018);
  box-shadow: 0 18px 44px rgba(34, 34, 34, 0.22);
  z-index: 2;
}

.life-card:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

.life-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease), filter 500ms var(--ease);
}

.life-card:hover img,
.life-card:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
}

.life-card > span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(34, 34, 34, 0.76);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.life-family { grid-column: 1 / span 5; grid-row: 1 / span 4; }
.life-overlook { grid-column: 6 / span 7; grid-row: 1 / span 2; }
.life-bike { grid-column: 6 / span 4; grid-row: 3 / span 2; }
.life-snow { grid-column: 10 / span 3; grid-row: 3 / span 2; }
.life-desert { grid-column: 1 / span 7; grid-row: 5 / span 2; }
.life-headshot { grid-column: 8 / span 5; grid-row: 5 / span 2; }

.life-family img { object-position: center 32%; }
.life-snow img { object-position: center 42%; }

.life-preview {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 90;
  width: var(--life-preview-width, clamp(300px, 34vw, 500px));
  max-height: min(68vh, 600px);
  padding: 8px;
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 28px 90px rgba(34, 34, 34, 0.34);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--preview-x, 24px), var(--preview-y, 24px), 0) scale(0.96);
  transition: opacity 180ms ease, transform 240ms var(--ease);
  overflow: hidden;
}

.life-preview.visible {
  opacity: 1;
  transform: translate3d(var(--preview-x, 24px), var(--preview-y, 24px), 0) scale(1);
}

.life-preview img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 7px;
  object-fit: initial;
  background: transparent;
}

.life-preview span {
  display: block;
  padding: 10px 4px 3px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.life-lightbox[hidden] { display: none; }

body.life-lightbox-open { overflow: hidden; }

.life-lightbox {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 56px);
  background: rgba(34, 34, 34, 0.94);
  backdrop-filter: blur(12px);
}

.life-lightbox figure {
  display: grid;
  gap: 12px;
  justify-items: center;
  width: fit-content;
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  margin: 0;
}

.life-lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(92vw, 1100px);
  max-height: 80vh;
  border-radius: 10px;
  object-fit: initial;
}

.life-lightbox figcaption {
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.life-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  padding: 9px 14px;
  border: 1px solid rgba(251, 251, 248, 0.55);
  border-radius: 999px;
  background: rgba(34, 34, 34, 0.6);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  cursor: pointer;
}

.outside-note {
  margin-top: 28px;
  padding-left: 18px;
  border-left: 3px solid var(--signal);
  color: var(--muted);
}

.facts {
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 42px;
}

.fact {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: baseline;
  gap: 18px;
}

.about-ai {
  margin-top: 36px;
  padding: 22px 24px;
  border-radius: 12px;
  background: var(--signal);
  color: var(--ink);
}

.about-ai .label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.about-ai p {
  max-width: 54ch;
  line-height: 1.5;
}

.selected-clients {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
}

.selected-clients .label {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.selected-clients p {
  max-width: 56ch;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  line-height: 1.45;
  letter-spacing: -0.018em;
}

.contact-section {
  position: relative;
  background: var(--stage);
  color: var(--white);
  border-top: 0;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(28vw, 360px);
  height: 4px;
  background: var(--signal);
}

.contact-section .avail-line {
  color: rgba(251, 251, 248, 0.68);
}

.contact-status {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.contact-grid {
  align-items: end;
}

.contact-actions {
  min-width: min(100%, 430px);
  align-items: flex-end;
  justify-content: flex-end;
}

.contact-email {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 48px;
  color: var(--ink);
}

.contact-email-main {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 25px;
  border-radius: 999px;
  outline: 5px solid var(--stage);
  background: var(--signal);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  text-decoration: none;
}

.contact-email-copy {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  width: 92px;
  height: 48px;
  margin-left: -40px;
  padding: 0 19px 0 0;
  border: 2px solid var(--stage);
  border-radius: 999px;
  background: var(--signal);
  color: var(--ink);
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms var(--ease);
}

.contact-email-copy:hover,
.contact-email-copy:focus-visible {
  transform: translateX(2px);
  background: var(--signal-soft);
}

.contact-email::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -7px;
  bottom: -7px;
  right: 56px;
  width: 30px;
  border-radius: 999px;
  background: var(--stage);
  pointer-events: none;
}

.contact-email-copy .copy-ok {
  display: none;
}

.contact-email-copy.copied .copy-icon {
  display: none;
}

.contact-email-copy.copied .copy-ok {
  display: inline-flex;
}

.contact-book {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 11px 18px;
  border: 1px solid rgba(251, 251, 248, 0.42);
  border-radius: 999px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 180ms var(--ease), color 180ms var(--ease);
}

.contact-book:hover,
.contact-book:focus-visible {
  border-color: var(--signal);
  color: var(--signal-soft);
}

.footer-mark img {
  width: 42px;
  height: 42px;
  filter: brightness(0) invert(1);
}

footer {
  padding: 44px 0;
  background: var(--stage);
  color: var(--white);
  border-top-color: rgba(251, 251, 248, 0.16);
}

.footer-row {
  min-height: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}

.footer-identity {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.footer-nav-groups {
  display: grid;
  grid-template-columns: max-content max-content;
  justify-content: end;
  gap: clamp(56px, 8vw, 120px);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.footer-links a {
  text-decoration: none;
  text-underline-offset: 4px;
  line-height: 1.15;
  font-size: 12px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

.footer-heading {
  margin-bottom: 5px;
  color: rgba(251, 251, 248, 0.46);
  font-size: 9px;
  letter-spacing: 0.09em;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(251, 251, 248, 0.58);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer-meta span + span::before {
  content: "·";
  margin-right: 12px;
}

.availability-status > :last-child {
  display: inline-block;
}

.availability-link {
  display: inline-block;
  padding: 2px 4px;
  margin: -2px -4px;
  border-radius: 4px;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 180ms var(--ease);
}

.availability-link:hover,
.availability-link:focus-visible {
  background: rgba(215, 245, 87, 0.12);
  text-decoration: none;
}

.availability-status.is-ready > :last-child {
  animation: availability-settle 620ms var(--ease) both;
}

@keyframes availability-settle {
  0% { opacity: 0; transform: translateY(7px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1000px) {
  .split-hero {
    grid-template-columns: 1fr;
  }

  .split-panel {
    min-height: 76svh;
    padding: 20px;
  }

  .brand-home-dark img {
    height: 42px;
  }

  .panel-top-links.mobile-menu {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
  }

  .panel-mobile-resume {
    margin-left: auto;
  }

  .panel-body {
    width: 100%;
    padding: 72px 0 42px;
  }

  .role-line,
  .support-line {
    max-width: 36ch;
  }

  .mosaic {
    min-height: 0;
    width: var(--page-width);
    aspect-ratio: 16 / 10;
    margin-inline: auto;
    padding: 0 0 12px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .project-hero-stage .hero-media-inner {
    position: absolute !important;
    inset: 0 !important;
    width: 100%;
    height: 100% !important;
    aspect-ratio: auto;
    transform: none;
  }

  .about-media {
    width: 100%;
    max-width: 900px;
    height: 720px;
  }

  .project-detail {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .project-frame {
    display: block;
    height: auto;
    min-height: calc(100dvh - 112px);
  }

  .project-info-card {
    height: auto;
    padding: 30px 24px 54px;
    overflow: visible;
  }
}

/* A deliberate handoff from the project overlay back to the page header. */
body.header-returning .sticky-nav {
  animation: header-return 300ms var(--ease) both;
}

body.header-returning .sticky-nav .brand-home {
  animation: header-brand-return 300ms var(--ease) both;
}

body.header-returning .sticky-nav .nav-cluster {
  animation: header-nav-return 300ms var(--ease) both;
}

@keyframes header-return {
  from { opacity: 1; transform: translateY(-100%); }
  to { opacity: 1; transform: none; }
}

@keyframes header-brand-return {
  from { opacity: 0; transform: translate(-24px, -50%); }
  to { opacity: 1; transform: translateY(-50%); }
}

@keyframes header-nav-return {
  from { opacity: 0; transform: translate(28px, -50%); }
  to { opacity: 1; transform: translateY(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  body.header-returning .sticky-nav,
  body.header-returning .sticky-nav .brand-home,
  body.header-returning .sticky-nav .nav-cluster {
    animation: none;
  }
}

@media (max-width: 640px) {
  section {
    padding: 76px 0;
  }

  .split-panel {
    min-height: 72svh;
  }

  .split-hero h1 {
    font-size: clamp(3.15rem, 15vw, 4.2rem);
  }

  .role-line {
    font-size: 1.35rem;
  }

  .panel-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .mosaic {
    aspect-ratio: 4 / 3;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }

  .mosaic-cell.lead { grid-column: 1 / -1; grid-row: 1; }
  .mosaic-cell.support-a { grid-column: 1; grid-row: 2; }
  .mosaic-cell.support-b { grid-column: 2; grid-row: 2; }
  .mosaic-cell.support-c { grid-column: 1; grid-row: 3; }
  .mosaic-cell.support-d { grid-column: 2; grid-row: 3; }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: calc((90vw - var(--packing-gap)) / 2);
  }

  .work-grid .tile.pack-focus,
  .work-grid .tile.pack-wide,
  .work-grid .tile.pack-square,
  .work-grid .tile.pack-rem-full,
  .work-grid .tile.pack-rem-half,
  .work-grid .tile.pack-rem-focus,
  .work-grid .tile.pack-rem-wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .work-grid .tile.mobile-fill {
    grid-column: span 2;
    grid-row: span 1;
  }

  .reel-panel.open {
    margin-bottom: 32px;
  }

  .project-detail {
    padding: 0;
  }

  .minibar,
  .project-frame {
    border-radius: 0;
  }

  .minibar-row-2 {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.5fr);
    gap: 8px;
  }

  .minibar-copy,
  .minibar-sequence {
    width: 100%;
  }

  .minibar-sequence .minibar-btn {
    flex: 1 1 0;
  }

  .project-team-list {
    grid-template-columns: 1fr;
  }

  .about-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, 150px);
    gap: 8px;
    height: auto;
    min-height: 0;
  }

  .life-family { grid-column: 1; grid-row: 1 / span 2; }
  .life-overlook { grid-column: 2; grid-row: 1; }
  .life-bike { grid-column: 2; grid-row: 2; }
  .life-snow { grid-column: 1; grid-row: 3; }
  .life-desert { grid-column: 2; grid-row: 3; }
  .life-headshot { grid-column: 1 / span 2; grid-row: 4; }

  .life-headshot img { object-position: center 38%; }

  .life-card > span {
    left: 7px;
    bottom: 7px;
    padding: 4px 7px;
    font-size: 9px;
  }

  .life-lightbox-close { top: 12px; right: 12px; }

  #about {
    padding-top: 84px;
    padding-bottom: 92px;
  }

  .fact {
    grid-template-columns: 72px 1fr;
  }

  .contact-grid {
    display: grid;
    gap: 44px;
  }

  .contact-actions {
    min-width: 0;
    align-items: flex-start;
  }

  .contact-email-main {
    padding: 0 20px;
    font-size: 12px;
  }

  .footer-row {
    display: grid;
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 40px;
  }

  .footer-identity {
    align-items: flex-start;
    gap: 18px;
  }

  .footer-meta {
    justify-content: flex-start;
    flex-wrap: wrap;
    white-space: normal;
  }

  .footer-nav-groups {
    grid-template-columns: 1fr;
    justify-content: start;
    gap: 32px;
  }

  .footer-mark img {
    width: 36px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .status-dot,
  .status-dot::before,
  .status-dot::after { animation: none !important; }
  .reel-panel { transition: none; }
  .tile, .project-detail { animation: none; }
  .life-card, .life-card img, .life-preview { transition: none; }
}

@media (hover: none), (pointer: coarse) {
  .life-preview { display: none; }
}

/* September feedback pass: one continuous header, a locked first screen and roomier proof sections. */
.sticky-nav {
  height: var(--header-height, 92px);
  transform: none;
  opacity: 1;
  visibility: visible;
  background: rgba(243, 241, 235, var(--header-bg-alpha, 0));
  color: var(--header-fg, var(--white));
  border-bottom-color: rgba(201, 198, 189, var(--header-rule-alpha, 0));
  box-shadow: 0 6px 24px rgba(34, 34, 34, var(--header-shadow-alpha, 0));
  transition: none;
}

.sticky-nav.visible {
  transform: none;
}

.sticky-nav .wrap {
  position: relative;
  width: var(--page-width);
  height: 100%;
}

.sticky-nav .brand-home img {
  width: auto;
  height: var(--header-brand-size, 48px);
  filter: invert(var(--header-logo-invert, 1));
  transition: none;
}

.nav-cluster,
.sticky-nav .wrap > .nav-cluster {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  flex-shrink: 0;
  transform: translate3d(var(--header-nav-shift, -11vw), 0, 0);
  will-change: transform;
}

.nav-utility {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sticky-nav .nav-links {
  margin: 0;
}

.sticky-nav .nav-links a {
  color: var(--header-fg, var(--white));
  border-color: color-mix(in srgb, var(--header-fg, var(--white)) 42%, transparent);
  background: var(--header-pill-bg, rgba(34, 34, 34, 0.48));
  text-shadow: 0 1px 12px rgba(34, 34, 34, 0.72);
  backdrop-filter: blur(10px);
}

.sticky-nav .nav-links a:hover,
.sticky-nav .nav-links a:focus-visible {
  color: var(--signal);
  border-color: var(--signal);
}

body.hero-scrolled .sticky-nav .nav-links a {
  text-shadow: none;
}

.panel-topbar {
  display: none;
}

.split-hero {
  height: 100svh;
  min-height: 100svh;
  max-height: 100svh;
  overflow: hidden;
}

.split-panel {
  height: 100%;
  min-height: 0;
  justify-content: center;
  padding-top: max(88px, 8vh);
  padding-bottom: max(88px, 8vh);
}

.panel-body {
  margin: 0;
  padding: 0;
}

.mosaic {
  height: 100%;
  min-height: 0;
  max-height: 100svh;
}

/* Trango's source loop contains thin encoded black bars. This crop removes only those bars. */
.mosaic-cell.support-a video {
  transform: scale(1.07);
}

.mosaic:hover .mosaic-cell.support-a video {
  transform: scale(1.085);
}

#work,
#about,
.contact-section {
  position: relative;
}

.section-signal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(38vw, 520px);
  height: 4px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0.96;
  z-index: 2;
}

.section-signal.is-revealed::before {
  animation: signal-arrive-and-settle 4.8s linear both;
}

@keyframes signal-arrive-and-settle {
  0% { transform: scaleX(0); opacity: 0.72; }
  18% { transform: scaleX(0.74); opacity: 1; }
  46% { transform: scaleX(0.91); }
  70% { transform: scaleX(0.965); }
  86% { transform: scaleX(0.987); }
  100% { transform: scaleX(1); opacity: 0.96; }
}

#about .section-head {
  margin-bottom: clamp(48px, 5vw, 76px);
}

.about-copy p {
  margin-bottom: 30px;
  line-height: 1.58;
}

.about-copy p:first-child {
  margin-bottom: 36px;
}

.facts {
  gap: 20px;
  margin-top: 52px;
}

.fact {
  padding-top: 19px;
}

.about-ai {
  margin-top: 48px;
  padding: 27px 28px;
}

.selected-clients {
  margin-top: 48px;
  padding-top: 30px;
}

.selected-clients .label {
  margin-bottom: 22px;
}

.selected-clients ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 64px);
  row-gap: 18px;
}

.selected-clients li {
  padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, var(--rule) 72%, transparent);
  font-size: clamp(1.05rem, 1.28vw, 1.28rem);
  line-height: 1.25;
  letter-spacing: -0.018em;
}

.outside-note {
  margin-top: 46px;
  padding-left: 20px;
}

.about-media-column {
  align-self: center;
  width: 100%;
  min-width: 0;
}

.about-media {
  align-self: center;
  margin-inline: auto;
}

.about-resume {
  scroll-margin-top: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}

.about-resume > span {
  color: var(--muted);
  font-size: 14px;
}

.about-resume a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms var(--ease), color 180ms var(--ease);
}

.about-resume a:hover,
.about-resume a:focus-visible {
  background: var(--ink);
  color: var(--white);
}

@media (max-width: 1000px) {
  .nav-cluster,
  .sticky-nav .wrap > .nav-cluster {
    transform: none;
  }

  .split-hero {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 62fr) minmax(0, 38fr);
  }

  .split-panel {
    height: 100%;
    min-height: 0;
    padding: max(64px, 7vh) 20px;
  }

  .panel-body {
    padding: 0;
  }

  .mosaic {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    margin: 0;
    padding: 0 12px 12px;
    aspect-ratio: auto;
  }

  .about-media-column {
    max-width: 900px;
    margin-inline: auto;
  }
}

@media (max-width: 820px) {
  .sticky-nav .nav-links {
    color: var(--ink);
    transform: translateY(-8px);
  }

  .sticky-nav .nav-links.open {
    transform: translateY(0);
  }

  body:not(.hero-scrolled) .sticky-nav .nav-links {
    background: rgba(34, 34, 34, 0.97);
  }

  body:not(.hero-scrolled) .sticky-nav .nav-links a {
    color: var(--white);
    border-color: rgba(251, 251, 248, 0.16);
    background: transparent;
    text-shadow: none;
  }

  body.hero-scrolled .sticky-nav .nav-links {
    background: var(--paper);
  }

  body.hero-scrolled .sticky-nav .nav-links a {
    color: var(--ink);
    background: transparent;
    text-shadow: none;
  }

  .nav-menu-btn {
    border-color: var(--header-fg, var(--white));
  }

  .nav-menu-btn span,
  .nav-menu-btn span::before,
  .nav-menu-btn span::after {
    background: var(--header-fg, var(--white));
  }
}

@media (max-width: 640px) {
  .split-hero {
    grid-template-rows: minmax(0, 76fr) minmax(0, 24fr);
  }

  .split-panel {
    min-height: 0;
    padding: max(56px, 7vh) 18px;
  }

  .split-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .role-line {
    margin-top: 17px;
    font-size: 1.22rem;
  }

  .support-line {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.42;
  }

  .panel-meta {
    gap: 6px;
    margin-top: 19px;
    font-size: 11px;
  }

  .panel-trust {
    margin-top: 16px;
    font-size: 12px;
  }

  .panel-reel-btn {
    margin-top: 17px;
    padding-top: 7px;
    font-size: 11px;
  }

  .mosaic {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr);
    gap: 5px;
    padding: 0 8px 8px;
  }

  .mosaic-cell.lead { grid-column: 1 / span 2; grid-row: 1; }
  .mosaic-cell.support-a { grid-column: 3; grid-row: 1; }
  .mosaic-cell.support-b { grid-column: 4; grid-row: 1; }
  .mosaic-cell.support-c { grid-column: 5; grid-row: 1; }
  .mosaic-cell.support-d { grid-column: 6; grid-row: 1; }

  .mosaic-play {
    width: 42px;
    height: 42px;
  }

  #about .section-head {
    margin-bottom: 40px;
  }

  .about-copy p,
  .about-copy p:first-child {
    margin-bottom: 26px;
  }

  .facts {
    margin-top: 42px;
  }

  .about-ai,
  .selected-clients {
    margin-top: 42px;
  }

  .selected-clients ul {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }

  .about-resume {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-signal::before {
    width: min(58vw, 320px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-signal::before {
    transform: scaleX(1);
    animation: none !important;
  }
}

/* Expanded projects: edge-to-edge media, one structural divider and hierarchy without rule stacking. */
.project-frame {
  width: 100%;
  max-width: none;
  margin: 0;
  grid-template-columns: minmax(0, 1fr) clamp(360px, 28vw, 470px);
  background: var(--project-surface);
}

.project-hero-stage {
  min-width: 0;
}

.project-hero-stage.is-ultrawide,
.project-hero-stage.is-ultrawide .hero-media-inner {
  background: var(--stage);
}

@media (min-width: 1001px) {
  .project-hero-stage.is-ultrawide .hero-media-inner {
    aspect-ratio: 10 / 3;
  }
}

.project-info-card {
  position: relative;
  padding: clamp(34px, 3.2vw, 54px) clamp(28px, 3vw, 48px) 64px;
  border-left: 1px solid rgba(34, 34, 34, 0.32);
  background: var(--project-surface);
}

.project-info-kicker {
  color: #596900;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.project-info-title {
  max-width: 12ch;
  margin-top: 10px;
  font-size: clamp(2.25rem, 3vw, 3.2rem);
  line-height: 0.94;
}

.project-info-rule {
  display: none;
}

.project-chips {
  gap: 8px;
  margin-top: 20px;
}

.project-chip {
  margin-right: 0;
  padding: 6px 11px;
  border-color: #9db32c;
  background: var(--signal-wash);
  color: #465300;
  font-weight: 700;
}

.project-chip:first-child {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--ink);
}

.project-fact-grid {
  gap: 20px 28px;
  margin-top: 32px;
  padding: 22px;
  border: 0;
  border-radius: 14px;
  background: rgba(251, 251, 248, 0.82);
  box-shadow: inset 0 0 0 1px rgba(201, 198, 189, 0.36);
}

.project-fact {
  padding: 0;
}

.project-fact .label {
  color: #687800;
}

.project-fact .value {
  margin-top: 7px;
  font-size: 14px;
  font-weight: 560;
}

.project-fact-team {
  margin-top: 2px;
  padding: 0;
  border: 0;
}

.project-team-list li {
  padding-left: 12px;
}

.project-team-list li::before {
  top: 0.52em;
  width: 5px;
  height: 5px;
  background: #91a51e;
}

#blockWorkSummary {
  margin-top: 34px;
  padding: 24px 25px 26px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--signal) 15%, var(--paper));
}

#blockWorkSummary h3 {
  margin-bottom: 13px;
  color: #596900;
}

#blockWorkSummary p {
  font-size: 17px;
  line-height: 1.52;
  letter-spacing: -0.008em;
}

.project-deep-info {
  display: grid;
  gap: 38px;
  margin-top: 42px;
  padding-top: 0;
  border: 0;
}

.project-deep-info .project-block {
  position: relative;
  margin: 0;
  padding: 0 0 0 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.project-deep-info .project-block:empty {
  display: none;
}

.project-deep-info .project-block::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 3px;
  height: 20px;
  border-radius: 999px;
  background: var(--signal);
}

.project-deep-info .project-block h3 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.project-deep-info .project-block p,
.project-deep-info .project-block li {
  font-size: 14px;
  line-height: 1.58;
}

.project-deep-info .project-block ul {
  gap: 12px;
}

.project-deep-info .project-block li {
  padding-left: 17px;
}

.project-deep-info .project-block li::before {
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #91a51e;
}

@media (max-width: 1000px) {
  .project-frame {
    display: block;
    width: 100%;
    height: auto;
    min-height: calc(100dvh - 112px);
  }

  .project-info-card {
    height: auto;
    padding: 34px 24px 58px;
    border-top: 1px solid rgba(34, 34, 34, 0.32);
    border-left: 0;
  }

  .project-info-title {
    max-width: 16ch;
  }
}

@media (max-width: 640px) {
  .project-info-card {
    padding: 30px 18px 50px;
  }

  .project-fact-grid {
    grid-template-columns: 1fr;
    padding: 19px;
  }

  .project-fact-team {
    grid-column: auto;
  }

  .project-team-list {
    grid-template-columns: 1fr;
  }

  #blockWorkSummary {
    padding: 21px;
  }

  .project-deep-info {
    gap: 34px;
  }
}

/* September header and about-detail refinements. */
.sticky-nav {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.sticky-nav .wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.sticky-nav .brand-home {
  position: absolute;
  top: 50%;
  left: var(--header-brand-left, calc(5vw - 12px));
  transform: translateY(-50%);
}

.nav-cluster,
.sticky-nav .wrap > .nav-cluster {
  position: absolute;
  top: 50%;
  right: var(--header-nav-right, 8px);
  margin-left: 0;
  transform: translateY(-50%);
}

.sticky-nav .nav-links a {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.sticky-nav .nav-links a:hover,
.sticky-nav .nav-links a:focus-visible {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--ink);
  text-shadow: none;
}

body:not(.hero-scrolled) .sticky-nav .util-resume:hover,
body:not(.hero-scrolled) .sticky-nav .util-resume:focus-visible {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

body.hero-scrolled .sticky-nav .util-resume:hover,
body.hero-scrolled .sticky-nav .util-resume:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.selected-clients {
  padding-top: 0;
  border-top: 0;
}

.selected-clients .label {
  margin-bottom: 28px;
}

.selected-clients ul {
  row-gap: 24px;
}

.selected-clients li {
  padding-top: 0;
  border-top: 0;
}

.about-resume a {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--ink);
  font-weight: 700;
}

.about-resume a:hover,
.about-resume a:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

@media (max-width: 1000px) {
  .nav-cluster,
  .sticky-nav .wrap > .nav-cluster {
    transform: translateY(-50%);
  }

  .selected-clients ul {
    row-gap: 20px;
  }
}

/* Footer ventures: quick hover context with a fuller click-through story. */
.footer-nav-groups {
  grid-template-columns: max-content max-content max-content;
  gap: clamp(34px, 5vw, 80px);
}

.venture-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12px;
  line-height: 1.15;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.venture-link > span:not(.venture-new) {
  color: var(--signal);
  font-size: 14px;
  transition: transform 180ms var(--ease);
}

.venture-link:hover,
.venture-link:focus-visible {
  color: var(--signal);
  outline: none;
}

.venture-link:hover > span:not(.venture-new),
.venture-link:focus-visible > span:not(.venture-new) {
  transform: rotate(45deg);
}

.venture-new {
  padding: 3px 5px 2px;
  border: 1px solid rgba(215, 245, 87, 0.52);
  border-radius: 99px;
  color: var(--signal);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.venture-preview {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 105;
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 15px;
  width: min(420px, calc(100vw - 24px));
  min-height: 148px;
  padding: 10px;
  border: 1px solid rgba(34, 34, 34, 0.14);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.28);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--venture-x, 20px), var(--venture-y, 20px), 0) scale(0.96);
  transition: opacity 160ms ease, transform 220ms var(--ease);
}

.venture-preview.visible {
  opacity: 1;
  transform: translate3d(var(--venture-x, 20px), var(--venture-y, 20px), 0) scale(1);
}

.venture-preview-mark {
  display: grid;
  place-items: center;
  min-height: 126px;
  border-radius: 9px;
  border: 1px solid rgba(31, 45, 54, 0.12);
  background: #fff;
  color: #1f2d36;
}

.venture-preview-mark img {
  display: block;
  width: 72%;
  max-height: 72%;
  object-fit: contain;
}

.venture-preview[data-venture="nifty-mapworks"] .venture-preview-mark {
  border-color: rgba(0, 184, 169, 0.25);
  background:
    radial-gradient(circle at 82% 18%, rgba(38, 198, 218, 0.2), transparent 36%),
    #e2eaef;
  color: #313131;
}

.venture-preview[data-venture="engine-deck"] .venture-preview-mark {
  border-color: rgba(21, 23, 26, 0.16);
  background:
    radial-gradient(circle at 78% 22%, rgba(227, 95, 55, 0.2) 0 3px, transparent 4px),
    #f4f0e8;
}

.venture-preview[data-venture="engine-deck"] .venture-preview-mark img {
  width: 54%;
}

.venture-preview > div:last-child {
  align-self: center;
}

.venture-preview span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.venture-preview strong {
  display: block;
  font-size: 19px;
  line-height: 1;
  letter-spacing: -0.035em;
}

.venture-preview p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.36;
}

body.venture-dialog-open {
  overflow: hidden;
}

.venture-dialog[hidden] {
  display: none;
}

.venture-dialog {
  position: fixed;
  inset: 0;
  z-index: 620;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 56px);
}

.venture-dialog-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(18, 18, 18, 0.9);
  cursor: default;
}

.venture-dialog-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(400px, 1.18fr);
  width: min(1080px, 94vw);
  max-height: min(820px, 90vh);
  overflow: auto;
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.45);
  animation: venture-card-in 340ms var(--ease) both;
}

@keyframes venture-card-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.venture-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  padding: 8px 12px;
  border: 1px solid rgba(34, 34, 34, 0.24);
  border-radius: 99px;
  background: rgba(243, 241, 235, 0.9);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.venture-dialog-close:hover,
.venture-dialog-close:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  outline: none;
}

.venture-dialog-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 580px;
  overflow: hidden;
  background:
    linear-gradient(rgba(38, 198, 218, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 198, 218, 0.09) 1px, transparent 1px),
    #fff;
  background-size: 38px 38px;
  color: #1f2d36;
}

.venture-dialog-visual::before,
.venture-dialog-visual::after {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(38, 198, 218, 0.32);
  border-radius: 18px;
  transform: rotate(-9deg) scale(0.92);
}

.venture-dialog-visual::after {
  inset: 20% 5%;
  border-color: rgba(31, 45, 54, 0.14);
  transform: rotate(12deg) scale(0.78);
}

.venture-dialog-visual[data-venture="nifty-mapworks"] {
  background:
    radial-gradient(circle at 76% 22%, rgba(79, 209, 197, 0.45), transparent 30%),
    #e2eaef;
  color: #313131;
}

.venture-dialog-visual[data-venture="nifty-mapworks"]::before,
.venture-dialog-visual[data-venture="nifty-mapworks"]::after {
  border-color: rgba(0, 184, 169, 0.42);
  border-radius: 44% 56% 61% 39%;
}

.venture-dialog-visual[data-venture="engine-deck"] {
  background:
    radial-gradient(circle at 78% 24%, rgba(227, 95, 55, 0.22) 0 7px, transparent 8px),
    linear-gradient(90deg, transparent 49.8%, rgba(21, 23, 26, 0.1) 50%, transparent 50.2%),
    #f4f0e8;
  color: #15171a;
}

.venture-dialog-visual[data-venture="engine-deck"]::before,
.venture-dialog-visual[data-venture="engine-deck"]::after {
  border-color: rgba(21, 23, 26, 0.16);
  border-radius: 14px;
  transform: rotate(8deg) scale(0.88);
}

.venture-dialog-visual > img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(48%, 250px);
  max-height: 180px;
  object-fit: contain;
}

.venture-dialog-visual[data-venture="nifty-mapworks"] > img {
  width: min(54%, 280px);
}

.venture-dialog-visual[data-venture="engine-deck"] > img {
  width: min(76%, 360px);
}

.venture-dialog-state {
  position: absolute;
  left: 22px;
  top: 22px;
  z-index: 1;
  padding: 6px 8px;
  border: 1px solid currentColor;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.venture-dialog-copy {
  align-self: center;
  padding: clamp(42px, 5vw, 72px);
}

.venture-dialog-kicker,
.venture-dialog-section > span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.venture-dialog-copy h2 {
  margin: 10px 0 28px;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.venture-dialog-section {
  padding: 18px 0;
  border-top: 1px solid var(--rule);
}

.venture-dialog-section p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.45;
}

.venture-dialog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.venture-dialog-meta span {
  padding: 6px 9px;
  border-radius: 99px;
  background: #dff7f8;
  color: #1f2d36;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.venture-dialog[data-venture="nifty-mapworks"] .venture-dialog-meta span {
  background: #d5f1ee;
  color: #04352f;
}

.venture-dialog[data-venture="engine-deck"] .venture-dialog-meta span {
  background: #f5d9cf;
  color: #15171a;
}

.venture-dialog[data-venture="nifty-studio"] .venture-dialog-cta {
  border-color: #26c6da;
  background: #26c6da;
  color: #1f2d36;
}

.venture-dialog[data-venture="nifty-mapworks"] .venture-dialog-cta {
  border-color: #00b8a9;
  background: #00b8a9;
  color: #04352f;
}

.venture-dialog[data-venture="nifty-studio"] .venture-dialog-cta:hover,
.venture-dialog[data-venture="nifty-studio"] .venture-dialog-cta:focus-visible,
.venture-dialog[data-venture="nifty-mapworks"] .venture-dialog-cta:hover,
.venture-dialog[data-venture="nifty-mapworks"] .venture-dialog-cta:focus-visible {
  border-color: #1f2d36;
  background: #1f2d36;
  color: #fff;
}

.venture-dialog-cta,
.venture-dialog-coming {
  display: inline-flex;
  align-items: center;
  margin-top: 28px;
  padding: 11px 15px;
  border: 1px solid var(--ink);
  border-radius: 99px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.venture-dialog-cta:hover,
.venture-dialog-cta:focus-visible {
  background: var(--ink);
  color: var(--white);
  outline: none;
}

.venture-dialog-coming {
  border-color: var(--rule);
  color: var(--muted);
}

.venture-dialog-cta[hidden],
.venture-dialog-coming[hidden] {
  display: none;
}

@media (max-width: 1000px) {
  .footer-nav-groups {
    grid-template-columns: max-content max-content;
  }

  .footer-nav-groups .footer-links:first-child {
    grid-row: 1 / span 2;
  }

  .venture-dialog-card {
    grid-template-columns: 0.82fr 1.18fr;
  }
}

@media (max-width: 720px) {
  .footer-nav-groups {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-nav-groups .footer-links:first-child {
    grid-row: auto;
  }

  .venture-preview {
    display: none;
  }

  .venture-dialog {
    place-items: end center;
    padding: 10px;
  }

  .venture-dialog-card {
    grid-template-columns: 1fr;
    width: 100%;
    max-height: calc(100svh - 20px);
    border-radius: 16px;
  }

  .venture-dialog-visual {
    min-height: 220px;
  }

  .venture-dialog-copy {
    padding: 30px 24px 34px;
  }

  .venture-dialog-copy h2 {
    margin-bottom: 20px;
    font-size: 2.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .venture-preview,
  .venture-dialog-card,
  .venture-link > span {
    animation: none !important;
    transition: none !important;
  }
}
