:root {
  --ink: #1a171b;
  --ink-soft: #221e23;
  --ice: #ffffff;
  --body: #a9aaad;
  --grey: #87888a;
  --accent: #d50025;
  --accent-dark: #b0001f;
  --rupture: #EF5350;
  --continuation: #87888a;
  --recovery: #4CAF50;
  --ghost: #42A5F5;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --logo: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--ink);
  color: var(--ice);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--ice); }

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

/* the film ends with the intro: canvas and rail bow out */
body.past-intro #scene,
body.past-intro .rail { opacity: 0; }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 3vw;
  background: linear-gradient(to bottom, rgba(26, 23, 27, 0.82), rgba(26, 23, 27, 0));
  border-bottom: 1px solid rgba(213, 0, 37, 0.55);
}

.nav__brand { text-decoration: none; display: flex; align-items: baseline; gap: 0.8rem; }

/* Omen wordmark, per brand guideline: Helvetica Black, crosshair O */
.omen-word { display: flex; align-items: center; line-height: 1; }

.omen-word .letter,
.omen-word .letter-o .char {
  font-family: var(--logo);
  font-weight: 900;
  font-size: 23px;
  color: var(--ice);
}

.omen-word .letter-o {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.omen-word .letter-o .crosshair { position: absolute; pointer-events: none; }

.nav__by {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--body);
}

.nav__links { display: flex; gap: 0.8rem; }

.btn {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.68rem 1.3rem;
  border-radius: 4px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn--ghost {
  color: var(--ice);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--ice); background: rgba(213, 0, 37, 0.12); }

.btn--solid {
  color: var(--ice);
  background: var(--accent);
  border: 1px solid var(--accent);
}
.btn--solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn--lg { font-size: 0.78rem; padding: 0.95rem 2rem; }

/* ---------- progress rail ---------- */

.rail {
  position: fixed;
  left: 2.4vw;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: opacity 0.7s ease;
}

.rail__line {
  width: 1px;
  height: 34vh;
  background: rgba(255, 255, 255, 0.14);
  position: relative;
}

.rail__fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(213, 0, 37, 0.8);
}

.rail__label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey);
  writing-mode: vertical-rl;
}

/* ---------- panels ---------- */

main { position: relative; z-index: 10; }

.panel {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 9vw;
}

/* act 2: the film is over, this is the page */
#act2 {
  position: relative;
  z-index: 10;
  background: var(--ink);
  border-top: 1px solid rgba(213, 0, 37, 0.5);
}

.panel--flow {
  min-height: auto;
  padding-top: 6rem;
  padding-bottom: 6rem;
  flex-direction: column;
  align-items: center;
}

/* act 2 is editorial: smaller headings, brighter body, tighter air */
#act2 h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  letter-spacing: 0.03em;
  margin-bottom: 1.1rem;
}

#act2 .chapter__kicker { margin-bottom: 1rem; }

#act2 .chapter__text {
  color: #b9bdc4;
  font-size: 0.98rem;
  line-height: 1.75;
}

#act2 .chapter__body::before,
#act2 .proof__body::before,
#act2 .case__body::before,
#act2 .cta__body::before { display: none; }

/* ---------- hero ---------- */

.hero {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  min-height: 102vh;
}

.hero__inner { perspective: 1100px; position: relative; }

.hero__eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.2rem;
}

.hero__title {
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(2.7rem, 6.8vw, 5.9rem);
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero__line { display: block; }

.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__sub {
  margin-top: 2.4rem;
  color: var(--body);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.25vw, 1.12rem);
  line-height: 1.85;
}

.hero__scroll {
  position: absolute;
  bottom: 4.5vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.hero__scroll-text {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.64rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--body);
  white-space: nowrap;
}

.hero__scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollPulse {
  0% { transform: scaleY(0); opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(18px); opacity: 0; }
}

/* ---------- chapters ---------- */

.chapter__num {
  position: absolute;
  top: 50%;
  right: 6vw;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(11rem, 26vw, 24rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
  user-select: none;
  pointer-events: none;
}

.chapter--alt .chapter__num { right: auto; left: 6vw; }

.chapter__body { max-width: 36rem; position: relative; }

/* soft dark scrim so copy stays legible over the bright path */
.chapter__body::before,
.proof__body::before,
.cta__body::before,
.hero__inner::before {
  content: "";
  position: absolute;
  inset: -4rem -5rem;
  z-index: -1;
  background: radial-gradient(ellipse at center,
    rgba(26, 23, 27, 0.86) 0%,
    rgba(26, 23, 27, 0.56) 48%,
    rgba(26, 23, 27, 0) 78%);
  pointer-events: none;
}

.proof__body { position: relative; }
.cta__body { position: relative; }

.chapter--alt .chapter__body { margin-left: auto; }

.chapter__kicker {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.6rem;
}

.chapter h2, .proof h2, .case h2, .showcase h2, .deliver h2, .doors h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2rem, 3.9vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  margin-bottom: 1.7rem;
}

.chapter__text {
  color: var(--body);
  font-weight: 400;
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  line-height: 1.85;
}

.chapter__legend {
  list-style: none;
  display: flex;
  gap: 1.8rem;
  margin-top: 2rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--body);
}

.chapter__legend li { display: flex; align-items: center; gap: 0.55rem; }

.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot--rupture { background: var(--rupture); box-shadow: 0 0 7px var(--rupture); }
.dot--continuation { background: var(--continuation); box-shadow: 0 0 7px var(--continuation); }
.dot--recovery { background: var(--recovery); box-shadow: 0 0 7px var(--recovery); }

/* ---------- case study (the receipt) ---------- */

.case__wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4.5rem;
  width: min(68rem, 100%);
  align-items: start;
}

.case__body { position: relative; }

.case__body::before {
  content: "";
  position: absolute;
  inset: -4rem -5rem;
  z-index: -1;
  background: radial-gradient(ellipse at center,
    rgba(26, 23, 27, 0.88) 0%,
    rgba(26, 23, 27, 0.6) 55%,
    rgba(26, 23, 27, 0) 80%);
  pointer-events: none;
}

.case__intro { margin-bottom: 3rem; }

.case__timeline {
  list-style: none;
  position: relative;
  padding-left: 2rem;
}

.case__timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), rgba(213, 0, 37, 0.15));
}

.case__timeline li { position: relative; padding-bottom: 1.5rem; }
.case__timeline li:last-child { padding-bottom: 0; }

.case__timeline li::before {
  content: "";
  position: absolute;
  left: calc(-2rem - 3.5px);
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 9px rgba(213, 0, 37, 0.9);
}

.case__tag {
  display: inline-block;
  font-weight: 700;
  font-size: 0.64rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-right: 1.1rem;
}

.case__stat {
  display: inline-block;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #f5b623;
}

.case__timeline p {
  margin-top: 0.4rem;
  color: #b9bdc4;
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 40rem;
}

/* ---------- showcase: console + brief ---------- */

.showcase__head { max-width: 46rem; width: 100%; margin-bottom: 2.2rem; text-align: center; }

.showcase__caption {
  margin-top: 1.6rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  text-align: center;
  max-width: 46rem;
}

/* real screenshots, framed */

.shot {
  width: min(70rem, 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
  background: #131114;
}

.shot__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.6rem 1rem;
  background: #211d23;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.shot__chrome i { width: 9px; height: 9px; border-radius: 50%; background: #3a343c; }

.shot__chrome span {
  margin-left: 0.8rem;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--grey);
}

.shot img { display: block; width: 100%; height: auto; }

.paper {
  width: min(31rem, 92%);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65), 0 4px 18px rgba(0, 0, 0, 0.4);
  border-radius: 2px;
  overflow: hidden;
}

.paper img { display: block; width: 100%; height: auto; }

/* ---------- doors: who runs Omen ---------- */

.doors__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  width: min(70rem, 100%);
}

.door {
  background: #211d22;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 1.25rem 1.35rem 1.15rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease;
}

.door:hover { border-color: rgba(213, 0, 37, 0.6); }

.door__sector {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.door h3 {
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.door__job { font-size: 0.78rem; color: var(--ice); margin-bottom: 0.9rem; }

.door__verbs { flex: 1; }

.door__verbs div {
  display: grid;
  grid-template-columns: 3.9rem 1fr;
  gap: 0.7rem;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.door__verbs dt {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f5b623;
  padding-top: 0.15rem;
}

.door__verbs dd { font-size: 0.74rem; line-height: 1.5; color: #b0b3ba; }

.door__cta {
  margin-top: 1rem;
  align-self: flex-start;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.2rem;
  transition: color 0.25s ease;
}

.door__cta:hover { color: var(--accent); }

@media (max-width: 1080px) {
  .doors__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .doors__grid { grid-template-columns: 1fr; }
  .case__wrap { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- proof ---------- */

.proof { justify-content: center; text-align: center; }

.proof__body { max-width: 44rem; }

.proof__meta {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 3rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--body);
}

.proof__meta li { padding: 0.4rem 1.6rem; border-left: 1px solid rgba(255, 255, 255, 0.18); }
.proof__meta li:first-child { border-left: none; }

/* ---------- cta ---------- */

.cta { flex-direction: column; justify-content: center; text-align: center; }

.cta__title {
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(2.4rem, 5.6vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.cta__title em { font-style: normal; color: var(--accent); }

.cta__text { margin-top: 1.8rem; }

.cta__actions { margin-top: 3rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.cta__hint {
  position: absolute;
  bottom: 4.5vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

/* ---------- outro (end of act 2) ---------- */

.outro { text-align: center; }

.outro__body { position: relative; }

.outro__title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  letter-spacing: 0.015em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer--static {
  position: static;
  margin-top: 7rem;
}

.footer {
  position: absolute;
  bottom: 3vh;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 2.6rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(169, 170, 173, 0.6);
}

.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--accent); }

/* ---------- reveal choreography ---------- */

.rev {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(7px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.rev:nth-child(2), .chapter__body .rev:nth-child(2) { transition-delay: 0.08s; }
.rev:nth-child(3), .chapter__body .rev:nth-child(3) { transition-delay: 0.16s; }
.rev:nth-child(4), .chapter__body .rev:nth-child(4) { transition-delay: 0.24s; }

.is-active .rev {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ---------- fallback / motion ---------- */

body.no-webgl #scene { display: none; }
body.no-webgl {
  background: radial-gradient(ellipse at 50% 20%, #262028 0%, var(--ink) 60%);
}

@media (prefers-reduced-motion: reduce) {
  .rev { transition: opacity 0.4s ease; transform: none; filter: none; }
  .hero__scroll-line { animation: none; }
}

@media (max-width: 760px) {
  .rail { display: none; }
  .nav { padding: 0.9rem 4vw; }
  .nav__by { display: none; }
  .btn { padding: 0.55rem 0.85rem; font-size: 0.62rem; }
  .panel { padding: 0 7vw; }
  .chapter__num { font-size: 38vw; opacity: 0.7; }
  .footer { flex-direction: column; gap: 0.5rem; align-items: center; }
}

/* ================= ACT 2: LIGHT ================= */

#act2 { background: #ffffff; color: var(--ink); border-top: none; }
#act2 h2 { color: var(--ink); }
#act2 .chapter__text { color: #4a474b; }
#act2 .showcase__caption { color: #87888a; }

#act2 .shot { border-color: #e3e1e2; box-shadow: 0 30px 70px rgba(26, 23, 27, 0.22); }
#act2 .shot__chrome { background: #f2f2f2; border-bottom: 1px solid #e3e1e2; }
#act2 .shot__chrome i { background: #d4d2d3; }
#act2 .shot__chrome span { color: #87888a; }
#act2 .paper { border: 1px solid #e9e7e8; box-shadow: 0 30px 70px rgba(26, 23, 27, 0.25), 0 4px 16px rgba(26, 23, 27, 0.12); }

/* the product tour: pinned, three acts */

.trio { position: relative; height: 340vh; }

.trio__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5.5rem 7vw 2.5rem;
  overflow: hidden;
}

.trio__head { margin: 0 auto 2.2rem; }

.trio__grid {
  display: grid;
  grid-template-columns: 20rem 1fr;
  gap: 3.5rem;
  align-items: center;
  width: min(80rem, 100%);
  margin: 0 auto;
}

.trio__copy { position: relative; min-height: 17rem; }

.trio__step {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.trio__step.on { opacity: 1; transform: none; }

.trio__num { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.35em; color: var(--accent); }

.trio__step h3 {
  font-size: 2.1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0.5rem 0 0.4rem;
}

.trio__lead { font-weight: 700; font-size: 1rem; margin-bottom: 0.7rem; }

.trio__text { font-size: 0.95rem; line-height: 1.7; color: #4a474b; }

.trio__dots { position: absolute; bottom: 0; left: 0; display: flex; gap: 0.45rem; }
.trio__dots i { width: 2.2rem; height: 3px; background: #e3e1e2; border-radius: 2px; transition: background 0.3s ease; }
.trio__dots i.on { background: var(--accent); }

.shot__stack { position: relative; }
.trio__img { display: block; width: 100%; height: auto; opacity: 0; transition: opacity 0.45s ease; }
.trio__img:not(:first-child) { position: absolute; inset: 0; }
.trio__img.on { opacity: 1; }

/* calls that held */

.calls__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  width: min(72rem, 100%);
}

.call {
  border: 1px solid #e3e1e2;
  border-top: 3px solid var(--accent);
  border-radius: 4px;
  padding: 1.3rem 1.3rem 1.2rem;
  background: #ffffff;
}

.call__stamp {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 0.9rem;
}
.call__stamp--held { color: #2e7d32; border: 1px solid rgba(76, 175, 80, 0.6); background: rgba(76, 175, 80, 0.07); }
.call__stamp--early { color: #1565c0; border: 1px solid rgba(66, 165, 245, 0.6); background: rgba(66, 165, 245, 0.07); }
.call__stamp--first { color: #b06d00; border: 1px solid rgba(245, 182, 35, 0.7); background: rgba(245, 182, 35, 0.1); }

.call h3 { font-size: 0.98rem; font-weight: 800; line-height: 1.35; margin-bottom: 0.55rem; }
.call p { font-size: 0.82rem; line-height: 1.6; color: #4a474b; }

/* doors, light with duotone photos */

#act2 .door { background: #ffffff; border: 1px solid #e3e1e2; padding: 0; overflow: hidden; }
#act2 .door:hover { border-color: rgba(213, 0, 37, 0.55); }

.door__photo {
  height: 6.5rem;
  background-size: cover;
  background-position: center;
  background-color: #76747a;
  background-blend-mode: luminosity;
  position: relative;
}
.door__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(26, 23, 27, 0.28), rgba(213, 0, 37, 0.20));
}

.door__in { padding: 1.15rem 1.3rem 1.1rem; display: flex; flex-direction: column; flex: 1; }

#act2 .door h3 { color: var(--ink); }
#act2 .door__job { color: #4a474b; }
#act2 .door__verbs div { border-top: 1px solid #eceaeb; }
#act2 .door__verbs dt { color: var(--accent); }
#act2 .door__verbs dd { color: #555; }
#act2 .door__cta { color: var(--ink); }
#act2 .door__cta:hover { color: var(--accent); }

/* proof + outro on light page, outro closes dark */

#act2 .proof__meta { color: #87888a; }
#act2 .proof__meta li { border-left: 1px solid #e3e1e2; }
#act2 .proof__meta li:first-child { border-left: none; }

#act2 .outro {
  background: var(--ink);
  color: var(--ice);
  padding-top: 7rem;
  padding-bottom: 7rem;
}
#act2 .outro .outro__title { color: var(--ice); }
#act2 .outro .chapter__text { color: var(--body); }

@media (max-width: 1000px) {
  .trio { height: auto; }
  .trio__sticky { position: static; height: auto; padding-top: 4rem; }
  .trio__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .trio__copy { min-height: 14rem; }
  .calls__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .calls__grid { grid-template-columns: 1fr; }
}

/* nav flips light once the film is over */
.nav, .nav .letter, .nav .char, .nav__by, .nav .btn--ghost { transition: all 0.5s ease; }
body.past-intro .nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eceaeb;
}
body.past-intro .omen-word .letter,
body.past-intro .omen-word .letter-o .char { color: var(--ink); }
body.past-intro .nav__by { color: #87888a; }
body.past-intro .nav .btn--ghost { color: var(--ink); border-color: rgba(26, 23, 27, 0.35); }

/* the brief sits on a grey band so the white page reads as paper */
#act2 .deliver { background: #f4f3f3; }

/* ================= MOBILE FIXES ================= */

@media (max-width: 760px) {
  html { overflow-x: clip; }

  /* the nowrap hint forced a 726px layout viewport: let it wrap */
  .hero__scroll-text {
    white-space: normal;
    max-width: 84vw;
    text-align: center;
    letter-spacing: 0.18em;
    line-height: 1.7;
  }

  .hero__sub br { display: none; }

  .nav { background: rgba(26, 23, 27, 0.85); backdrop-filter: blur(8px); }

  .panel--flow { padding-top: 4rem; padding-bottom: 4rem; }

  .showcase__caption { letter-spacing: 0.12em; line-height: 1.8; }

  .proof__meta li { padding: 0.4rem 0.9rem; }

  .footer--static { margin-top: 4rem; }
}

@media (max-width: 1000px) {
  /* trio on small screens: image once, all three verbs stacked and readable */
  .trio__grid { display: flex; flex-direction: column; }
  .trio__grid .shot { order: -1; margin-bottom: 2rem; }
  .trio__copy { min-height: 0; }
  .trio__step {
    position: static;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto;
    margin-bottom: 2rem;
  }
  .trio__step:last-of-type { margin-bottom: 0; }
  .trio__step h3 { font-size: 1.5rem; }
  .trio__dots { display: none; }
  .shot__stack .trio__img { display: none; opacity: 1; }
  .shot__stack .trio__img:first-child { display: block; position: static; }
}
