/* Readable composition on the independently owned warm material field. */
body.cinematic-preview {
  color: #173238;
}

.cinematic-preview :is(#intro, #build, #timeline) {
  color: #173238;
}

.cinematic-preview #intro .intro-biography :is(h1, .hero-description) { color: #173238; }
.cinematic-preview #intro .beta-link { color: #174640; }
.cinematic-preview #build .snap-hint,
.cinematic-preview #timeline .lede { color: #294b4d; }

.cinematic-preview #contact { color: #173238; }
.cinematic-preview #contact-title {
  color: #173238;
  font-size: clamp(40px, 6.5vw, 96px);
  line-height: .92;
}
.cinematic-preview #contact .contact-copy {
  --fg: #eef4f3;
  --fg-muted: #c4d0d0;
  --link: #b5e4dd;
  color: #eef4f3;
  background: #10252b;
}
.cinematic-preview .site-footer :is(.footer-copy, .footer-note, .sep) { color: #294b4d; }
.cinematic-preview .site-footer :is(a, a:visited) { color: #174640; text-decoration: underline; }

.cinematic-preview :is(#build, #timeline) :is(.build-card, .material-card) {
  --t-text: #eef4f3;
  --t-heading: #f3e6cd;
  --t-muted: #c4d0d0;
  --t-link: #b5e4dd;
  --fg: #eef4f3;
  --fg-strong: #f3e6cd;
  --fg-muted: #c4d0d0;
  color: #eef4f3;
  background: #10252b;
}

.cinematic-preview [data-cinematic-crew-skip] > .crew-lane { display: none; }
.materials-ready .cinematic-preview #timeline-track { padding-top: 0; }
.materials-ready .cinematic-preview #timeline-track::before,
.materials-ready .cinematic-preview #timeline-track > .timeline-card::after { display: none; }

/* The journey has its own runway; real career copy remains in the cards below. */
.cinematic-preview [data-cinematic-journey] {
  --journey-gold: #ead8ae;
  --journey-cyan: #a7ddd6;
  position: relative;
  margin: 20px 0 24px;
  color: #173238;
  background: transparent;
  border-bottom: 1px solid rgb(23 50 56 / 24%);
  isolation: isolate;
}

.cinematic-preview .cinematic-journey-shell { padding: 12px 16px 0; }

.cinematic-preview .cinematic-journey-caption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-height: 28px;
  line-height: 1.25;
}

.cinematic-preview .cinematic-journey-date {
  flex: 0 0 auto;
  font: 600 11px/1.3 var(--font-body, sans-serif);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #294b4d;
}

.cinematic-preview .cinematic-journey-title {
  font: 600 22px/1.1 var(--font-display, "Cormorant Garamond", serif);
  color: #173238;
}

.cinematic-preview .cinematic-journey-runway {
  position: relative;
  height: 120px;
  overflow: hidden;
}

.cinematic-preview .cinematic-journey-line,
.cinematic-preview .cinematic-journey-fill {
  position: absolute;
  left: 0;
  top: 91px;
  height: 1px;
  pointer-events: none;
}

.cinematic-preview .cinematic-journey-line {
  right: 0;
  background: rgb(45 98 91 / 40%);
}

.cinematic-preview .cinematic-journey-fill {
  height: 2px;
  background: linear-gradient(90deg, #a47633, #9e7a3b 60%, #2d746a);
}

.cinematic-preview .cinematic-journey-stop {
  position: absolute;
  top: 104px;
  width: 64px;
  transform: translateX(-50%);
  text-align: center;
  color: #294b4d;
  font: 600 10px/1.1 var(--font-body, sans-serif);
  letter-spacing: .03em;
}

.cinematic-preview .cinematic-journey-stop::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  top: -15px;
  left: calc(50% - 3px);
  border: 1px solid #426f66;
  background: #f3eedf;
  transform: rotate(45deg);
}

.cinematic-preview .cinematic-journey-stop[data-active="true"] { color: #173238; }
.cinematic-preview .cinematic-journey-stop[data-active="true"]::before {
  background: #d6a44f;
  border-color: #9a7134;
  box-shadow: 0 0 0 4px rgb(214 164 79 / 16%);
}

.cinematic-preview .cinematic-journey-actor {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  width: 96px;
  height: 96px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  pointer-events: none;
}

.cinematic-preview .cinematic-journey-actor[hidden] { display: none; }

@media (max-width: 720px) {
  .cinematic-preview .cinematic-journey-shell { padding: 12px 8px 0; }
  .cinematic-preview .cinematic-journey-caption { display: block; min-height: 42px; }
  .cinematic-preview .cinematic-journey-date { display: block; margin-bottom: 3px; font-size: 9px; }
  .cinematic-preview .cinematic-journey-title { display: block; font-size: 18px; }
  .cinematic-preview .cinematic-journey-runway { height: 88px; }
  .cinematic-preview .cinematic-journey-line,
  .cinematic-preview .cinematic-journey-fill { top: 63px; }
  .cinematic-preview .cinematic-journey-stop { top: 76px; width: 42px; font-size: 8px; }
  .cinematic-preview .cinematic-journey-actor { width: 64px; height: 64px; }
}

@media print {
  .cinematic-preview [data-cinematic-journey] { display: none; }
  body.cinematic-preview,
  .cinematic-preview :is(#intro, #build, #timeline) { color: #111; background: #fff; }
  .cinematic-preview :is(#build, #timeline) :is(.build-card, .material-card) {
    --t-text: #111;
    --t-heading: #111;
    --t-muted: #333;
    --t-link: #111;
    --fg: #111;
    --fg-strong: #111;
    --fg-muted: #333;
    color: #111;
    background: #fff;
  }
  .cinematic-preview #contact .contact-copy { --link: #111; color: #111; background: #fff; }
}
