:root{color-scheme:dark;--ink:#0b1719;--gold:#f4cc55;--text:#f5f4e9;scrollbar-color:var(--gold) var(--ink);scroll-behavior:smooth;scroll-snap-type:y proximity}*{box-sizing:border-box}body{margin:0;background:var(--ink);color:var(--text);font:16px Arial,sans-serif}section{min-height:100svh;display:grid;place-items:center;scroll-snap-align:start}.visual-frame{position:relative;width:min(100%,calc(100svh * 1672 / 941));aspect-ratio:1672/941;isolation:isolate}.approved-art{display:block;width:100%;height:100%}button{font:inherit;cursor:pointer;color:inherit;border:1px solid #63706c;background:#162526}button:focus-visible{outline:3px solid white;outline-offset:3px}.art-control{position:absolute;border:0;background:transparent;padding:0;z-index:2}.art-control:hover{box-shadow:inset 0 0 0 2px #f4cc5599;background:#fff1}.art-control:active{background:#fff2}#start{left:39.2%;top:70.1%;width:21.3%;height:7%}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}dialog{max-width:95vw;border:1px solid var(--gold);background:var(--ink)}dialog::backdrop{background:#000c}dialog img{display:block;max-width:88vw;max-height:80svh}#close{padding:12px;margin-bottom:10px}
.project-select-layout{container-type:inline-size;overflow:hidden}#scene,.project-scene{position:absolute;inset:0;z-index:0}.scene-background{position:absolute;width:100%;height:100%;object-fit:cover}.scene-shade{position:absolute;inset:0;background:linear-gradient(90deg,#081918a8,#06191855 50%,#0719189c)}.project-scene img:not(.scene-background){position:absolute;height:auto}.opinionated-robot .scene-background{object-position:top;clip-path:inset(0 0 7% 0);height:108%}.listener{width:19%}.opinion-bubble{width:7%}.photography-poster{left:24%;top:25%;width:48%;transform:rotate(-5deg);border:1px solid #b9b599}.suspect{width:100%;left:0;top:1.2%;}
#back{position:absolute;left:3.3%;top:3%;font-size:3.25cqw;font-weight:900;font-style:italic;border:0;background:none;z-index:3;padding:0}.page-label{position:absolute;right:2.5%;top:4%;font:700 .65cqw monospace;letter-spacing:.12cqw;border:1px solid #acb29b60;border-left:3px solid var(--gold);padding:.7cqw 1cqw}.top-rule{position:absolute;left:3.3%;right:2.5%;top:14.3%;height:1px;background:linear-gradient(90deg,#b9c5b9 0 70%,transparent 70% 74%,var(--gold) 74%)}nav{position:absolute;left:3.3%;top:19%;width:22%;z-index:3}.nav-kicker{font:700 .7cqw monospace;letter-spacing:.17cqw;color:var(--gold);margin:0 0 .65cqw}nav h2{font-size:2.05cqw;font-style:italic;letter-spacing:.1cqw;font-weight:400;margin:0 0 1.8cqw;white-space:nowrap}#choices{display:grid;gap:1.1cqw}#choices button{position:relative;padding:1px;background:#a1ac9a75;border:0;transform:skewY(-3deg);clip-path:polygon(0 0,100% 0,100% 81%,94% 100%,0 100%);height:5.6cqw;text-align:left}#choices button[aria-pressed=true]{padding:.28cqw;background:var(--gold);margin-left:1cqw;margin-right:-1cqw}#choices button:hover{background:var(--gold)}#choices button:focus-visible{background:white}.nav-inner{display:flex;align-items:center;gap:.9cqw;height:100%;padding:.65cqw .9cqw;background:#132320ee;clip-path:inherit}.nav-inner img{width:32%;border:1px solid #c4c4aa}.nav-copy{display:grid;gap:.35cqw;font-size:1.25cqw;line-height:1.1}.nav-copy small{font:700 .6cqw monospace;letter-spacing:.1cqw}#choices [aria-pressed=true] small{color:var(--gold)}
#project-title{position:absolute;left:28%;top:77%;width:43%;z-index:2;text-shadow:0 2px 3px #0009}.title-kicker{font:700 .75cqw monospace;letter-spacing:.18cqw;color:var(--gold);margin:0 0 .6cqw}.title-kicker:before{content:'';display:inline-block;width:2cqw;height:.4cqw;background:var(--gold);margin-right:.7cqw}#project-title h1{font-size:3.65cqw;letter-spacing:-.1cqw;font-style:italic;font-weight:900;margin:0;white-space:nowrap;line-height:1.1}#project-title:has(h1[data-long]) h1{font-size:3.2cqw}.project-subtitle{font:700 .67cqw monospace;letter-spacing:.18cqw;margin-top:1.05cqw}
#profile{position:absolute;left:71.5%;top:18%;width:26%;height:73%;background:#0c1918ed;border:1px solid #73817780;z-index:3;clip-path:polygon(4% 0,100% 0,100% 94%,94% 100%,0 100%,0 7%)}#profile header{height:3cqw;padding:0 1.3cqw;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(90deg,#455648,#d9ab59);border-top:.3cqw solid var(--gold)}#profile h2{font-size:1.2cqw;letter-spacing:.08cqw;font-style:italic;margin:0}#profile header>span{font:700 .6cqw monospace}.profile-body{padding:.8cqw 1.3cqw}.project-type{font:700 .65cqw monospace;color:var(--gold);letter-spacing:.09cqw;margin:0 0 .65cqw}#profile h3{font-size:1.7cqw;line-height:1.05;margin:0 0 .6cqw}.project-summary{font-size:.8cqw;line-height:1.5;margin:0;min-height:3.2cqw}.attributes-heading{display:flex;justify-content:space-between;border-top:1px solid #80918160;padding-top:.6cqw;font:700 .65cqw monospace;letter-spacing:.1cqw}.attributes-heading span{color:var(--gold)}#profile svg{display:block;width:100%;height:14.2cqw;overflow:visible}.radar-grid{fill:none;stroke:#a9b9ab55;stroke-width:.7}.radar-value{fill:#e9bd4c40;stroke:var(--gold);stroke-width:1.5}#profile circle{fill:var(--gold);stroke:#172b22;stroke-width:1}#profile text{fill:#e6ebe0;font:700 8px Arial}#profile dl{display:grid;grid-template-columns:1fr 1fr;gap:.55cqw .8cqw;margin:.4cqw 0 .7cqw}#profile dl div{display:flex;justify-content:space-between;align-items:baseline;border-bottom:1px solid #63786b30;padding-bottom:.3cqw}dt{font:700 .56cqw monospace}dd{font-size:1.1cqw;margin:0}dd small{font-size:.6cqw;margin-left:.15cqw}.core{font:700 .6cqw monospace;letter-spacing:.02cqw;margin:.55cqw 0 .8cqw;white-space:nowrap}.artwork-button{display:flex;justify-content:center;align-items:center;width:100%;height:2.8cqw;background:var(--gold);color:#14201a;font-weight:800;font-size:1.25cqw;letter-spacing:.04cqw;border:0;clip-path:polygon(0 0,100% 0,100% 75%,96% 100%,0 100%);position:relative}.artwork-button span{position:absolute;right:1.2cqw;font-size:1.5cqw}.artwork-button:hover{background:#ffe38a}.artwork-button:active{transform:translateY(1px)}footer{position:absolute;left:3.3%;right:2.5%;bottom:2.5%;padding-top:.8cqw;border-top:1px solid #9bac9e80;text-align:right;font:700 .6cqw monospace;letter-spacing:.15cqw}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*{scroll-behavior:auto!important}}
/* Shared title sizing keeps the longest project name within its column. */
#project-title h1{font-size:3.1cqw;letter-spacing:-.1cqw}#profile text{font:700 11px Arial}dt{font:700 .62cqw Arial,sans-serif}.nav-copy small,.project-type,.attributes-heading,.core,.page-label,.nav-kicker,.title-kicker,.project-subtitle,footer{font-family:Consolas,'Courier New',monospace}#profile{background:#0c1918f5}#profile h3{min-height:1.8cqw}.suspect{top:0}
.robot-landscape { position: absolute; inset: 0; background-color: #11b04f; }
.opinionated-robot .scene-background { top: -8%; }
.opinionated-robot .scene-shade {
  background:
    linear-gradient(90deg, #0a273e8a, #0a273e52 22%, transparent 42%),
    radial-gradient(ellipse 66% 78% at 49% 42%, transparent 19%, #123c4738 57%, #09252eb0 100%),
    linear-gradient(to bottom, #18344229, transparent 32%, #0e482c29 55%, #10352780);
}
.opinionated-robot .robot-character {
  position: absolute;
  pointer-events: none;
}
.opinionated-robot .robot-character img {
  inset: 0;
  width: 100%;
}
.opinionated-robot .robot-character::before {
  content: '';
  position: absolute;
  left: var(--foot-x, 50%);
  top: var(--foot-y, 71%);
  width: var(--shadow-width, 48%);
  height: var(--shadow-height, 8.5%);
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, #05261989 0%, #06351b52 42%, transparent 73%);
}
.opinionated-robot .listener { aspect-ratio: 1; }
.opinionated-robot .robot-speaker {
  left: 40.13%; top: 36.24%; width: 18%; aspect-ratio: 301 / 199;
  --foot-x: 34%; --foot-y: 96%; --shadow-width: 55%; --shadow-height: 15%;
}
.opinionated-robot .opinion-bubble {
  filter: drop-shadow(0 .24cqw .19cqw #09233552);
}
@media (prefers-reduced-motion: no-preference) {
  .robot-entrance .robot-landscape {
    animation: robot-landscape-in 400ms ease-out;
  }
  .robot-entrance .robot-speaker {
    transform-origin: 34% 96%;
    animation: robot-pop 520ms cubic-bezier(.25,.85,.35,1.35) 180ms;
    --start-scale: .92;
  }
  .robot-entrance .listener {
    animation: robot-listener-in 320ms cubic-bezier(.2,.7,.3,1) calc(300ms + 110ms * var(--entry-index));
  }
  .robot-entrance .opinion-bubble {
    transform-origin: 50% 85%;
    animation: robot-pop 330ms cubic-bezier(.23,.9,.35,1.35) calc(550ms + 80ms * var(--entry-index));
    --start-scale: .75;
  }
  .robot-entrance .sound-marks {
    transform-origin: 80% 39%;
    animation: robot-pop 400ms cubic-bezier(.22,.88,.38,1.45) 850ms;
    --start-scale: .86;
  }
  .robot-entrance.robot-playing { --robot-play-state: running; }
  .robot-entrance :is(.robot-landscape, .robot-speaker, .listener, .opinion-bubble, .sound-marks) {
    animation-fill-mode: backwards;
    animation-play-state: var(--robot-play-state, paused);
  }
}
@keyframes robot-landscape-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes robot-listener-in {
  from { opacity: 0; translate: 0 16px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes robot-pop {
  from { opacity: 0; scale: var(--start-scale); }
  to { opacity: 1; scale: 1; }
}
.miles-and-memories .scene-background {
  filter: sepia(.14) saturate(.86) contrast(.86) brightness(.75) blur(.038cqw);
}
.miles-and-memories .scene-shade {
  background:
    radial-gradient(ellipse 64% 80% at 51% 45%, transparent 12%, #32261e46 49%, #101615c9 98%),
    linear-gradient(180deg, #211c1880, #39251a14 30%, #472e2021 66%, #12171980);
}
.miles-and-memories .trip-card {
  transform: rotate(var(--tilt));
  filter: sepia(.1) saturate(.86) brightness(var(--light))
    drop-shadow(.22cqw .48cqw .42cqw #21190e70);
}
.miles-and-memories .gas-station {
  left: 24.1%; top: 23.5%; width: 15.5%; --tilt: -10deg; --light: .77; opacity: .67;
}
.miles-and-memories .lower-photos {
  left: 54.3%; top: 63.5%; width: 23%; --tilt: -10deg; --light: .65; opacity: .66;
}
.miles-and-memories .lower-license {
  left: 60%; top: 80%; width: 17.4%; --tilt: 11deg; --light: .71; opacity: .60;
}
.miles-and-memories .cat-license {
  left: 58.7%; top: 24%; width: 15.6%; --tilt: 8deg; --light: .86; opacity: .82;
}
.miles-and-memories .road-trip-car {
  left: 53.6%; top: 57.3%; width: 31.6%;
  --car-tilt: -21deg;
  transform: translate(-50%, -50%) rotate(var(--car-tilt));
  filter: sepia(.21) saturate(.87) contrast(.85) brightness(.72) blur(.073cqw)
    drop-shadow(-.42cqw .75cqw .7cqw #21170fc2);
}
.miles-and-memories .toolbox {
  left: 24%; top: 68%; width: 16.5%; --tilt: 13deg; --light: .64; opacity: .65;
}
.miles-and-memories .photo-envelope {
  left: 28.6%; top: 24%; width: 13.6%; --tilt: -12deg; --light: .94; opacity: .83;
}
.miles-and-memories .letter-envelope {
  left: 30.4%; top: 48.4%; width: 12.8%; --tilt: 10deg; --light: .91; opacity: .79;
}
.miles-and-memories .food-supply {
  left: 54.8%; top: 55.7%; width: 11.2%; --tilt: -8deg; --light: .89; opacity: .83;
}
.miles-and-memories::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, #1716199c, transparent 31%);
}

/* Timings follow the viewing order; the existing DOM order controls overlap. */
@media (prefers-reduced-motion: no-preference) {
  .miles-entrance .scene-background {
    animation: miles-map-in 400ms ease-out;
  }
  .miles-entrance .road-trip-car {
    animation: miles-car-in 620ms cubic-bezier(.2,.7,.3,1) 180ms;
  }
  .miles-entrance .photo-envelope   { --entry-delay: 400ms; }
  .miles-entrance .cat-license      { --entry-delay: 505ms; --entry-turn: 2deg; }
  .miles-entrance .letter-envelope  { --entry-delay: 610ms; }
  .miles-entrance .food-supply      { --entry-delay: 715ms; --entry-turn: 2deg; }
  .miles-entrance .gas-station      { --entry-delay: 820ms; }
  .miles-entrance .toolbox          { --entry-delay: 925ms; --entry-turn: 2deg; }
  .miles-entrance .lower-photos     { --entry-delay: 1030ms; }
  .miles-entrance .lower-license    { --entry-delay: 1135ms; --entry-turn: 2deg; }
  .miles-entrance .trip-card {
    animation: miles-card-in 325ms cubic-bezier(.2,.7,.3,1) var(--entry-delay);
  }
  .miles-entrance.miles-playing { --miles-play-state: running; }
  .miles-entrance :is(.scene-background, .road-trip-car, .trip-card) {
    animation-fill-mode: backwards;
    animation-play-state: var(--miles-play-state, paused);
  }
}
/* Implicit end keyframes use the static transform and each card's own opacity. */
@keyframes miles-map-in {
  from { opacity: 0; }
}
@keyframes miles-car-in {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 12px)) rotate(calc(var(--car-tilt) - 2deg)) scale(.94);
  }
}
@keyframes miles-card-in {
  from { opacity: 0; translate: 0 16px; rotate: var(--entry-turn, -2deg); scale: .95; }
}

/* The three prints share a plane beneath the camera poster. */
.truthfeed .photo-stack {
  position: absolute;
  left: 4.5%;
  top: 5%;
  width: 90%;
  height: 90%;
  pointer-events: none;
}
.truthfeed .photo-fan {
  position: absolute;
  inset: 0;
  z-index: 2;
  isolation: isolate;
  pointer-events: none;
}
.truthfeed .rear-photo {
  position: absolute;
  margin: 0;
  aspect-ratio: 1.66;
  overflow: hidden;
  border: .359375cqw solid rgb(229 234 222 / 48%);
  background: rgb(183 199 185 / 7%);
  box-shadow: 0 .3cqw .65cqw rgb(8 23 17 / 14%);
}
.truthfeed .rear-photo img {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.58) brightness(.73);
  opacity: .29;
}
.truthfeed .photo-left {
  left: 18.2%; top: 21.6%; width: 44.6%;
  transform: rotate(9deg);
  z-index: 0;
}
.truthfeed .photo-center {
  left: 19.8%; top: 24.5%; width: 46.3%;
  transform: rotate(3.5deg);
  border-color: rgb(229 234 222 / 36%);
  z-index: 1;
}
.truthfeed .photo-right {
  left: 22.7%; top: 25.6%; width: 46.6%;
  transform: rotate(-2deg);
  border-color: rgb(229 234 222 / 30%);
  z-index: 2;
}

/* TruthFeed — cinematic background */

.truthfeed .scene-background {
  filter: brightness(0.62) saturate(0.72) contrast(1.05);
}

.truthfeed .scene-shade {
  background:
    radial-gradient(
      ellipse at 50% 42%,
      transparent 18%,
      rgba(3, 18, 19, 0.38) 100%
    ),
    linear-gradient(
      115deg,
      rgba(5, 30, 32, 0.28),
      rgba(7, 29, 30, 0.12) 48%,
      rgba(3, 18, 22, 0.45)
    );
}

.truthfeed .photography-poster {
  z-index: 3;
}


/* TruthFeed — greener cinematic background */
.truthfeed .scene-background {
  filter: brightness(0.60) saturate(0.80);
}

.truthfeed .scene-shade {
  background:
    radial-gradient(
      ellipse at 50% 42%,
      rgba(8, 45, 26, 0.08) 15%,
      rgba(3, 24, 16, 0.48) 100%
    ),
    linear-gradient(
      115deg,
      rgba(7, 49, 28, 0.36),
      rgba(12, 55, 34, 0.22) 50%,
      rgba(3, 31, 19, 0.50)
    );
}

/* TruthFeed — main poster white border */

.truthfeed .photography-poster {
  box-sizing: border-box;
  border: 2px solid rgba(240, 242, 232, 0.9);
  /* The outer stroke thickens the frame without resizing the poster. */
  box-shadow: 0 0 0 2.6875px rgba(240, 242, 232, 0.9), 0 12px 28px rgba(0, 0, 0, 0.25);
}

@media (prefers-reduced-motion: no-preference) {
  .truthfeed-entrance .scene-background {
    animation: truthfeed-office-in 400ms ease-out;
  }
  .truthfeed-entrance .photo-left {
    --print-delay: 200ms;
    --print-offset: -18px -10px;
    --print-turn: -2deg;
  }
  .truthfeed-entrance .photo-center {
    --print-delay: 340ms;
    --print-offset: 4px -20px;
    --print-turn: 1.5deg;
  }
  .truthfeed-entrance .photo-right {
    --print-delay: 480ms;
    --print-offset: 17px -8px;
    --print-turn: -1deg;
  }
  .truthfeed-entrance .rear-photo {
    animation: truthfeed-print-in 520ms cubic-bezier(.22,.72,.28,1) var(--print-delay);
  }
  .truthfeed-entrance .photography-poster {
    animation: truthfeed-poster-in 850ms cubic-bezier(.22,.72,.28,1) 550ms;
  }
  .truthfeed-entrance.truthfeed-playing { --truthfeed-play-state: running; }
  .truthfeed-entrance :is(.scene-background, .rear-photo, .photography-poster) {
    animation-fill-mode: backwards;
    animation-play-state: var(--truthfeed-play-state, paused);
  }
}

/* Animate the framed prints as units, leaving their static transforms and image opacity intact. */
@keyframes truthfeed-office-in {
  from { opacity: 0; }
}
@keyframes truthfeed-print-in {
  from { opacity: 0; translate: var(--print-offset); rotate: var(--print-turn); }
}
@keyframes truthfeed-poster-in {
  from { opacity: 0; translate: 0 15px; rotate: 1.5deg; scale: .95; }
}

@media (prefers-reduced-motion: no-preference) {
  .interrogation-entrance .scene-background {
    animation: interrogation-room-in 450ms ease-out backwards;
    animation-play-state: var(--interrogation-play-state, paused);
  }
  .interrogation-entrance .suspect {
    animation: interrogation-suspect-in 850ms cubic-bezier(.24,.65,.36,1) 350ms backwards;
    animation-play-state: var(--interrogation-play-state, paused);
  }
  .interrogation-entrance .suspect-rear {
    animation: interrogation-room-in 650ms ease-out 1200ms backwards;
    animation-play-state: var(--interrogation-play-state, paused);
  }
  .interrogation-entrance.interrogation-playing { --interrogation-play-state: running; }
}

.interrogation-room .suspect-rear-layer {
  position: absolute;
  inset: 0;
  /* The back edge of the illustrated desk sits 72% down the scene. */
  clip-path: inset(0 0 28% 0);
  pointer-events: none;
}

.interrogation-room .suspect-rear {
  width: 80%;
  left: 22.55%;
  top: -7.41%;
  transform: scale(1.7);
  transform-origin: 55% 15%;
  opacity: .32;
  pointer-events: none;
}

@keyframes interrogation-room-in {
  from { opacity: 0; }
}

@keyframes interrogation-suspect-in {
  from { opacity: 0; translate: 0 10px; }
  /* Settle the forearms at the desk while the silhouette is still faint. */
  35% { opacity: .2; translate: 0 1px; }
  to { opacity: 1; translate: none; }
}

html.detail-open { scroll-snap-type: none; scroll-behavior: auto; }
.detail-open body > main { display: none; }
/* Shared by all four previews; preserve approved scene and title placement. */
.project-select-layout .title-kicker,
.project-select-layout .project-subtitle,
.project-select-layout .page-label,
.project-select-layout .top-rule,
.project-select-layout .nav-copy small{visibility:hidden}
