/* ==========================================================================
   DOUBLE YOU // 2027 CINEMATIC EDITION
   ========================================================================== */

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

:root {
  /* Surface */
  --void: #0a0807;
  --void-2: #0d0a08;
  --soot: #14110c;
  --ash: #1c1813;
  --char: #2a241c;
  /* Ink */
  --bone: #f4ede0;
  --bone-2: #d8cebd;
  --bone-dim: #a39785;
  --slate: #6a6055;
  --slate-2: #443d34;
  --line: rgba(244, 237, 224, 0.08);
  --line-2: rgba(244, 237, 224, 0.14);
  /* Signal */
  --ember: #ff5b1f;
  --ember-2: #ff7b3d;
  --ember-soft: rgba(255, 91, 31, 0.14);
  --gold: #f6b73c;
  --frost: #c8d6d6;
  --jolt: #00ff95;
  --hot: #ff2d55;
  /* Type */
  --f-display: "Instrument Serif", "Times New Roman", serif;
  --f-sans: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  /* Scale */
  --col: minmax(0, 1fr);
  --maxw: 1480px;
  --pad: clamp(20px, 4vw, 56px);
}

html { scroll-behavior: smooth; overflow-x: hidden; background: var(--void); }
body {
  background: var(--void);
  color: var(--bone);
  font-family: var(--f-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.5;
  cursor: none;
}

/* Custom cursor (a small frame reticle) */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 28px; height: 28px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-14px, -14px);
  mix-blend-mode: difference;
  transition: width 0.2s, height 0.2s;
}
.cursor::before, .cursor::after {
  content: "";
  position: absolute;
  background: var(--bone);
}
.cursor::before { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-0.5px); }
.cursor::after { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-0.5px); }
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 5px; height: 5px;
  background: var(--ember);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-2.5px, -2.5px);
  transition: transform 0.08s linear;
}
@media (hover: none) {
  body { cursor: auto; }
  .cursor, .cursor-dot { display: none; }
}

/* Global ambient overlays */
#grain {
  position: fixed; inset: 0; z-index: 8;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
#vignette {
  position: fixed; inset: 0; z-index: 7;
  pointer-events: none;
  background: radial-gradient(ellipse 130% 110% at 50% 50%, transparent 40%, rgba(10, 8, 7, 0.95) 100%);
}
#scan {
  position: fixed; inset: 0; z-index: 6;
  pointer-events: none;
  opacity: 0.5;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(244, 237, 224, 0.012) 3px, rgba(244, 237, 224, 0.012) 4px);
}
#aura {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
}

/* ==========================================================================
   TOP CHROME / NAV
   ========================================================================== */

.chrome {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex; align-items: center;
  padding: 18px var(--pad);
  background: linear-gradient(180deg, rgba(10, 8, 7, 0.85), rgba(10, 8, 7, 0));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.chrome::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 30%, var(--line-2) 70%, transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.chrome.is-scrolled::after { opacity: 1; }

.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--bone);
  margin-right: 32px;
}
.brand svg { width: 22px; height: 22px; }
.brand-name {
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: 0.01em;
  font-style: italic;
}

.chrome-meta {
  display: flex; gap: 26px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--slate);
  text-transform: uppercase;
  flex: 1;
}
.chrome-meta b { color: var(--bone-dim); font-weight: 400; }
.chrome-meta .rec {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--ember-2);
}
.chrome-meta .rec::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 8px var(--ember);
  animation: rec-pulse 1.4s ease-in-out infinite;
}
@keyframes rec-pulse { 50% { opacity: 0.3; } }

.chrome-nav {
  display: flex; align-items: center; gap: 4px;
}
.chrome-nav a {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--bone-dim);
  text-decoration: none;
  padding: 8px 14px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.2s;
}
.chrome-nav a:hover { color: var(--bone); }
.chrome-nav a:hover::after {
  content: "[]";
  position: absolute; left: 2px; top: 8px;
  color: var(--ember);
  letter-spacing: -0.1em;
  font-size: 9px;
  opacity: 0.6;
}

.chrome-cta-wrap { display: flex; align-items: center; gap: 10px; }
.btn-ghost {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--bone-dim);
  text-decoration: none;
  padding: 10px 18px;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: transparent;
  transition: all 0.25s;
  cursor: none;
}
.btn-ghost:hover { color: var(--bone); border-color: var(--line-2); }

.btn-ember {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--void);
  text-decoration: none;
  padding: 11px 22px 11px 18px;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--ember);
  border: none;
  cursor: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.btn-ember::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.btn-ember:hover::before { transform: translateX(100%); }
.btn-ember:hover { background: var(--ember-2); box-shadow: 0 0 32px rgba(255, 91, 31, 0.4); }
.btn-ember .arrow { font-family: var(--f-mono); transition: transform 0.3s; }
.btn-ember:hover .arrow { transform: translateX(3px); }

/* ==========================================================================
   HERO STAGE
   ========================================================================== */

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  padding: 120px var(--pad) 80px;
  gap: 60px;
}

.hero-stage-frame {
  position: absolute;
  inset: 80px var(--pad) 40px;
  pointer-events: none;
  border: 1px solid var(--line);
  z-index: 1;
}
.hero-stage-frame::before, .hero-stage-frame::after,
.hero-stage-frame > span::before, .hero-stage-frame > span::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--ember);
}
.hero-stage-frame::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.hero-stage-frame::after { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.hero-stage-frame > span::before { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.hero-stage-frame > span::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.hero-left { position: relative; z-index: 5; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--bone-dim);
  text-transform: uppercase;
  margin-bottom: 36px;
  border: 1px solid var(--line-2);
  padding: 7px 14px 7px 12px;
}
.eyebrow .dot {
  width: 6px; height: 6px; background: var(--jolt);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--jolt);
  animation: rec-pulse 1.8s ease-in-out infinite;
}
.eyebrow span { color: var(--bone); }

.h1 {
  font-family: var(--f-display);
  font-size: clamp(72px, 11vw, 188px);
  line-height: 0.86;
  letter-spacing: -0.025em;
  color: var(--bone);
  margin-bottom: 32px;
  font-style: normal;
  font-weight: 400;
}
.h1 .you { display: block; }
.h1 .you-2 {
  display: block;
  font-style: italic;
  color: var(--bone);
  position: relative;
  /* simulate doubling */
}
.h1 .you-2::before {
  content: "you,";
  position: absolute;
  top: 4px; left: 4px;
  color: var(--ember);
  opacity: 0.4;
  filter: blur(2px);
  pointer-events: none;
}
.h1 .doubled {
  display: block;
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 0.18em;
  font-style: normal;
  letter-spacing: 0.32em;
  color: var(--slate);
  text-transform: uppercase;
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.h1 .doubled::before, .h1 .doubled::after {
  content: ""; flex: 1; height: 1px; background: var(--line-2); max-width: 80px;
}

.hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--bone-2);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 48px;
}
.hero-sub em {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--bone);
  font-size: 1.1em;
}
.hero-sub b { color: var(--bone); font-weight: 500; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 56px; }
.btn-primary {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--void);
  background: var(--bone);
  border: none;
  padding: 16px 28px;
  cursor: none;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.btn-primary:hover { background: var(--ember); color: var(--void); }
.btn-primary .arrow { transition: transform 0.3s; }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-secondary {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
  background: transparent;
  border: 1px solid var(--line-2);
  padding: 16px 24px;
  cursor: none;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.25s;
}
.btn-secondary:hover { border-color: var(--bone); background: rgba(244, 237, 224, 0.04); }

.hero-tip {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--slate);
  text-transform: uppercase;
}
.hero-tip span { color: var(--bone-dim); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-stats > div {
  padding: 22px 18px 22px 0;
  border-right: 1px solid var(--line);
}
.hero-stats > div:last-child { border-right: none; padding-right: 0; }
.hero-stats .n {
  font-family: var(--f-display);
  font-size: 44px;
  line-height: 1;
  font-style: italic;
  color: var(--bone);
  margin-bottom: 6px;
}
.hero-stats .n em { color: var(--ember); font-style: normal; font-family: var(--f-sans); font-weight: 300; }
.hero-stats .l {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--slate);
  text-transform: uppercase;
}

/* Hero right — the theatre */
.theatre {
  position: relative;
  z-index: 3;
  height: 78vh;
  min-height: 580px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255, 91, 31, 0.05), transparent),
    radial-gradient(ellipse 60% 60% at 70% 70%, rgba(200, 214, 214, 0.03), transparent),
    var(--void-2);
  overflow: hidden;
}
.theatre-corners > i {
  position: absolute;
  width: 22px; height: 22px;
  border: 1px solid var(--bone-dim);
  opacity: 0.6;
}
.theatre-corners > i:nth-child(1) { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.theatre-corners > i:nth-child(2) { top: 14px; right: 14px; border-left: none; border-bottom: none; }
.theatre-corners > i:nth-child(3) { bottom: 14px; left: 14px; border-right: none; border-top: none; }
.theatre-corners > i:nth-child(4) { bottom: 14px; right: 14px; border-left: none; border-top: none; }

.theatre-label {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--bone-dim);
  text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
  z-index: 4;
}
.theatre-label .x { color: var(--ember); }

.theatre-readout {
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--slate);
  text-transform: uppercase;
  text-align: right;
}
.theatre-readout span { color: var(--jolt); }

#cloneCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}

.theatre-caption {
  position: absolute;
  bottom: 18px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 80px);
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.theatre-caption .name {
  display: block;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0;
  color: var(--bone);
  margin-bottom: 2px;
  text-transform: none;
}
.theatre-caption .alt .name { color: var(--ember); }

/* Live wire (ticker) */
.wire {
  position: relative;
  z-index: 4;
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--void-2);
}
.wire-track {
  display: flex;
  gap: 56px;
  padding: 14px 0;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--bone-dim);
  white-space: nowrap;
  animation: wire-roll 60s linear infinite;
  text-transform: uppercase;
}
.wire-track i {
  font-style: normal;
  color: var(--ember);
  margin-right: 6px;
}
.wire-track b { color: var(--bone); font-weight: 400; }
.wire-track u {
  text-decoration: none;
  color: var(--jolt);
  font-size: 9px;
  border: 1px solid var(--jolt);
  padding: 2px 6px;
  margin-left: 8px;
}
@keyframes wire-roll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.wire-label {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--void);
  padding: 14px 16px 14px var(--pad);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ember);
  text-transform: uppercase;
  z-index: 2;
  display: flex; align-items: center; gap: 8px;
  border-right: 1px solid var(--line);
}
.wire-label::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 10px var(--ember);
  animation: rec-pulse 1.4s ease-in-out infinite;
}

/* ==========================================================================
   GLOBAL SECTION PRIMITIVES
   ========================================================================== */

section { position: relative; z-index: 4; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

.sec-head { margin-bottom: 72px; max-width: 920px; }
.sec-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ember);
  text-transform: uppercase;
  margin-bottom: 26px;
}
.sec-tag::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--ember);
}
.sec-tag .num { color: var(--slate); }
.sec-title {
  font-family: var(--f-display);
  font-size: clamp(48px, 7vw, 110px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--bone);
  margin-bottom: 20px;
  font-weight: 400;
}
.sec-title em { font-style: italic; color: var(--bone-2); }
.sec-title .ember { color: var(--ember); }
.sec-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--bone-dim);
  line-height: 1.65;
  max-width: 560px;
}

/* ==========================================================================
   SECTION: WHILE YOU SLEEP / OUTPUT
   ========================================================================== */

.factory {
  padding: 140px 0 120px;
  border-top: 1px solid var(--line);
}
.factory-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
  align-items: start;
}
.factory-h {
  grid-column: 1 / 8;
  font-family: var(--f-display);
  font-size: clamp(48px, 7vw, 110px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.factory-h em { font-style: italic; color: var(--bone-2); }
.factory-h .tiny {
  display: block;
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 16px;
}
.factory-side {
  grid-column: 9 / 13;
  display: flex; flex-direction: column; gap: 20px;
}
.factory-stat {
  border-top: 1px solid var(--line-2);
  padding-top: 18px;
}
.factory-stat .n {
  font-family: var(--f-display);
  font-size: 64px;
  line-height: 1;
  font-style: italic;
  color: var(--bone);
  margin-bottom: 4px;
}
.factory-stat .n em { color: var(--ember); font-style: italic; }
.factory-stat .l {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--bone-dim);
  text-transform: uppercase;
}

/* ==========================================================================
   SECTION: CLONE PROTOCOL (the four steps with surfaces)
   ========================================================================== */

.protocol { padding: 120px 0 140px; }
.protocol-stage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.proto-step {
  padding: 56px 32px 40px;
  border-right: 1px solid var(--line);
  position: relative;
  min-height: 460px;
  display: flex; flex-direction: column;
}
.proto-step:last-child { border-right: none; }
.proto-step:hover { background: linear-gradient(180deg, rgba(255, 91, 31, 0.02), transparent); }

.proto-n {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ember);
  text-transform: uppercase;
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 8px;
}
.proto-n::after {
  content: "→";
  margin-left: auto;
  color: var(--slate);
  font-size: 14px;
}
.proto-step:last-child .proto-n::after { content: "●"; color: var(--jolt); }

.proto-h {
  font-family: var(--f-display);
  font-size: 32px;
  line-height: 1.05;
  color: var(--bone);
  margin-bottom: 14px;
  font-weight: 400;
}
.proto-h em { font-style: italic; color: var(--ember-2); }
.proto-p {
  font-size: 14px;
  color: var(--bone-dim);
  line-height: 1.65;
  margin-bottom: 32px;
}

.proto-surface {
  margin-top: auto;
  background: var(--void-2);
  border: 1px solid var(--line);
  padding: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
}

/* Surface variants */
.surf-upload { display: flex; align-items: center; gap: 12px; }
.surf-upload .ph {
  width: 50px; height: 64px;
  background: linear-gradient(135deg, var(--ash), var(--char));
  border: 1px solid var(--line-2);
  position: relative;
  overflow: hidden;
}
.surf-upload .ph::after {
  content: "";
  position: absolute; inset: 18% 30% 35%;
  border-radius: 50% 50% 45% 45%;
  background: linear-gradient(180deg, var(--slate), var(--slate-2));
}
.surf-upload .ph::before {
  content: "";
  position: absolute; inset: 60% 22% 0%;
  background: linear-gradient(180deg, var(--slate), transparent);
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
}
.surf-upload .meta { font-size: 10px; color: var(--bone-dim); letter-spacing: 0.06em; line-height: 1.5; }
.surf-upload .meta b { color: var(--jolt); font-weight: 400; }
.surf-upload .meta u { text-decoration: none; color: var(--bone); display: block; }

.surf-voice { display: flex; align-items: center; gap: 10px; }
.surf-voice .rec-dot {
  width: 28px; height: 28px;
  border: 1px solid var(--ember);
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.surf-voice .rec-dot::after {
  content: ""; width: 12px; height: 12px; background: var(--ember); border-radius: 50%;
  animation: rec-pulse 1.4s ease-in-out infinite;
}
.surf-voice .wave {
  flex: 1;
  display: flex; align-items: center; gap: 2px;
  height: 28px;
}
.surf-voice .wave span {
  flex: 1; background: var(--ember); opacity: 0.6;
  animation: bar 1.2s ease-in-out infinite;
}
.surf-voice .wave span:nth-child(2n) { animation-delay: 0.1s; }
.surf-voice .wave span:nth-child(3n) { animation-delay: 0.2s; }
.surf-voice .wave span:nth-child(5n) { animation-delay: 0.3s; }
@keyframes bar { 0%, 100% { height: 30%; } 50% { height: 100%; } }
.surf-voice .t {
  font-size: 10px; color: var(--bone-dim); letter-spacing: 0.06em;
}
.surf-voice .t b { color: var(--bone); font-weight: 400; }

.surf-style {
  font-size: 11px;
  color: var(--bone-2);
  line-height: 1.65;
  letter-spacing: 0;
  font-family: var(--f-sans);
}
.surf-style .quote {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 14px;
  color: var(--bone);
  display: block;
  margin-bottom: 8px;
}
.surf-style .who {
  font-family: var(--f-mono);
  font-size: 9px;
  color: var(--ember);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.surf-deploy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  font-size: 9px;
  color: var(--bone-dim);
  letter-spacing: 0.06em;
}
.surf-deploy span {
  text-align: center;
  padding: 8px 4px;
  border: 1px solid var(--line-2);
  text-transform: uppercase;
}
.surf-deploy span.on {
  color: var(--jolt);
  border-color: var(--jolt);
  background: rgba(0, 255, 149, 0.04);
}

/* ==========================================================================
   SECTION: CAPABILITIES (the long horizontal/vertical scene)
   ========================================================================== */

.capabilities { padding: 140px 0; border-top: 1px solid var(--line); }
.cap-stack { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cap-row {
  display: grid;
  grid-template-columns: 220px 1fr 1.4fr;
  gap: 0;
  background: var(--void);
  min-height: 280px;
  transition: background 0.4s;
}
.cap-row:hover { background: var(--void-2); }
.cap-row .label {
  padding: 32px 32px 32px 0;
  border-right: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ember);
  text-transform: uppercase;
  display: flex; flex-direction: column; justify-content: space-between;
}
.cap-row .label .ord {
  color: var(--slate);
  font-size: 10px;
}
.cap-row .copy {
  padding: 32px;
  border-right: 1px solid var(--line);
}
.cap-row .copy h3 {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  font-weight: 400;
  color: var(--bone);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.cap-row .copy h3 em { font-style: italic; color: var(--bone-2); }
.cap-row .copy p {
  font-size: 15px;
  color: var(--bone-dim);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 24px;
}
.cap-row .copy .deep {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 4px;
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase;
  transition: all 0.25s;
}
.cap-row .copy .deep:hover { color: var(--ember); border-color: var(--ember); }
.cap-row .surface {
  padding: 28px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Specific product surfaces inside capabilities */

/* Generate — studio scene grid */
.surface-studio {
  width: 100%; max-width: 420px;
  background: var(--void-2);
  border: 1px solid var(--line);
  padding: 16px;
  font-family: var(--f-sans);
}
.surface-studio .stbar {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
  font-family: var(--f-mono);
  font-size: 9px;
  color: var(--slate);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.surface-studio .stbar .av {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--char), var(--slate-2));
  border: 1px solid var(--bone-dim);
}
.surface-studio .stbar b { color: var(--bone); font-weight: 400; }
.surface-studio .stbar .cred {
  margin-left: auto; color: var(--ember); border: 1px solid var(--ember-soft);
  padding: 3px 8px;
}
.surface-studio .prompt {
  border: 1px solid var(--line-2);
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--bone-2);
  font-style: italic;
  font-family: var(--f-display);
}
.surface-studio .prompt::before {
  content: "›";
  margin-right: 8px;
  color: var(--ember);
  font-style: normal;
}
.surface-studio .scenes {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
}
.surface-studio .scene {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--ash), var(--char));
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
  font-family: var(--f-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  color: var(--bone-dim);
  text-transform: uppercase;
  padding: 6px;
  display: flex; align-items: flex-end;
}
.surface-studio .scene.on { border-color: var(--ember); color: var(--ember); box-shadow: inset 0 0 0 1px var(--ember-soft); }
.surface-studio .scene::before {
  content: "";
  position: absolute; inset: 6px 6px 30%;
  background: repeating-linear-gradient(135deg, transparent 0, transparent 6px, rgba(244,237,224,0.04) 6px, rgba(244,237,224,0.04) 7px);
}

/* Calendar */
.surface-cal {
  width: 100%; max-width: 460px;
  background: var(--void-2);
  border: 1px solid var(--line);
  padding: 16px;
  font-family: var(--f-mono);
  font-size: 10px;
}
.surface-cal .cbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
  color: var(--slate);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.surface-cal .cbar b { color: var(--bone); font-weight: 400; }
.surface-cal .week {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
}
.surface-cal .day {
  aspect-ratio: 3 / 5;
  border: 1px solid var(--line);
  padding: 6px 5px;
  display: flex; flex-direction: column;
  font-size: 9px;
  color: var(--bone-dim);
  letter-spacing: 0.04em;
}
.surface-cal .day .dn { color: var(--slate); font-size: 8px; margin-bottom: 4px; }
.surface-cal .day .post {
  background: var(--ember);
  color: var(--void);
  padding: 2px 3px;
  margin-top: 2px;
  font-size: 7px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.surface-cal .day .post.alt { background: var(--frost); }
.surface-cal .day .post.cool { background: rgba(244, 237, 224, 0.18); color: var(--bone); }
.surface-cal .day.today { border-color: var(--ember); background: rgba(255, 91, 31, 0.04); }

/* Talk surface */
.surface-talk {
  width: 100%; max-width: 420px;
  background: var(--void-2);
  border: 1px solid var(--line);
  padding: 22px 18px;
  font-family: var(--f-sans);
  display: flex; flex-direction: column; align-items: center;
  position: relative;
}
.surface-talk .pulse {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ember) 0%, rgba(255, 91, 31, 0.6) 30%, transparent 70%);
  display: grid; place-items: center;
  position: relative;
  margin-bottom: 18px;
  animation: talk-pulse 2.2s ease-in-out infinite;
}
.surface-talk .pulse::after {
  content: ""; position: absolute; inset: -16px;
  border: 1px solid var(--ember-soft);
  border-radius: 50%;
  animation: talk-ring 2.2s ease-out infinite;
}
.surface-talk .pulse > i {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--char), var(--slate-2));
  border: 2px solid var(--void);
}
@keyframes talk-pulse { 50% { transform: scale(1.06); } }
@keyframes talk-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}
.surface-talk .talk-line {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 18px;
  color: var(--bone);
  text-align: center;
  line-height: 1.3;
  margin-bottom: 8px;
}
.surface-talk .talk-meta {
  font-family: var(--f-mono);
  font-size: 9px;
  color: var(--bone-dim);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex; gap: 14px;
}
.surface-talk .talk-meta b { color: var(--jolt); font-weight: 400; }

/* Score surface */
.surface-score {
  width: 100%; max-width: 440px;
  background: var(--void-2);
  border: 1px solid var(--line);
  padding: 22px;
  font-family: var(--f-sans);
}
.surface-score .top {
  display: flex; gap: 22px; align-items: center;
  margin-bottom: 20px;
}
.surface-score .ring {
  width: 92px; height: 92px;
  position: relative;
  flex-shrink: 0;
}
.surface-score .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.surface-score .ring .val {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-size: 32px;
  color: var(--bone);
  font-style: italic;
}
.surface-score .tier {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--ember);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.surface-score h4 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--bone);
  margin-bottom: 6px;
}
.surface-score .next {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--bone-dim);
  letter-spacing: 0.08em;
}
.surface-score .bars { display: flex; flex-direction: column; gap: 7px; }
.surface-score .bar {
  display: grid;
  grid-template-columns: 90px 1fr 30px;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 9px;
  color: var(--bone-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.surface-score .bar .track {
  height: 4px; background: var(--ash); position: relative;
}
.surface-score .bar .track::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--w, 50%);
  background: var(--ember);
}
.surface-score .bar.warm .track::after { background: var(--gold); }
.surface-score .bar.cool .track::after { background: var(--frost); }
.surface-score .bar.off .track::after { background: var(--slate-2); }
.surface-score .bar .pct { color: var(--bone); text-align: right; }

/* Live surface */
.surface-live {
  width: 100%; max-width: 440px;
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--ash), var(--char));
  border: 1px solid var(--line-2);
  overflow: hidden;
}
.surface-live::before {
  /* head silhouette */
  content: "";
  position: absolute;
  inset: 18% 30% 0%;
  background:
    radial-gradient(ellipse 50% 35% at 50% 30%, var(--slate) 0%, transparent 60%),
    radial-gradient(ellipse 70% 55% at 50% 90%, var(--slate-2) 0%, transparent 70%);
}
.surface-live::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 100% 60% at 50% 100%, rgba(255, 91, 31, 0.18), transparent 60%);
}
.surface-live .live-chip {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--bone);
  background: var(--hot);
  padding: 4px 8px;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
  z-index: 2;
}
.surface-live .live-chip::before {
  content: ""; width: 5px; height: 5px; background: var(--bone); border-radius: 50%;
  animation: rec-pulse 1.1s infinite;
}
.surface-live .live-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px;
  z-index: 2;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--bone-dim);
  text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.surface-live .live-meta b { color: var(--bone); font-weight: 400; }
.surface-live .live-meta .t {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 18px;
  color: var(--bone);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 2px;
}
.surface-live .wave-strip {
  position: absolute;
  bottom: 64px; left: 14px; right: 14px;
  height: 22px;
  display: flex; align-items: center; gap: 2px;
}
.surface-live .wave-strip span {
  flex: 1; background: var(--bone); opacity: 0.85;
  animation: bar 0.9s ease-in-out infinite;
}

/* Gallery surface */
.surface-gallery {
  width: 100%; max-width: 420px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.surface-gallery .tile {
  aspect-ratio: 9 / 16;
  background: linear-gradient(180deg, var(--ash), var(--char));
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.surface-gallery .tile::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 30%, var(--slate) 0%, transparent 65%),
    linear-gradient(180deg, transparent 60%, rgba(255, 91, 31, 0.12) 100%);
}
.surface-gallery .tile.warm::before { background: radial-gradient(ellipse 60% 40% at 50% 30%, var(--ember-2) 0%, transparent 70%), linear-gradient(180deg, var(--ash) 50%, var(--char) 100%); opacity: 0.55; }
.surface-gallery .tile.cool::before { background: radial-gradient(ellipse 60% 40% at 50% 30%, var(--frost) 0%, transparent 60%), linear-gradient(180deg, var(--ash), var(--soot)); opacity: 0.55; }
.surface-gallery .tile .badge {
  position: absolute; bottom: 6px; left: 6px;
  font-family: var(--f-mono); font-size: 7px;
  color: var(--bone-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
}
.surface-gallery .tile .badge::before { content: "▸ "; color: var(--ember); }

/* ==========================================================================
   SECTION: PLATFORMS
   ========================================================================== */

.platforms {
  padding: 140px 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--void), var(--void-2) 50%, var(--void));
}
.plat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.plat {
  padding: 32px 22px 28px;
  border-right: 1px solid var(--line);
  position: relative;
  min-height: 280px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.plat:last-child { border-right: none; }
.plat-mark {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 36px;
  color: var(--bone);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.plat-tag {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--slate);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.plat-stat {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--bone-dim);
  text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.plat-stat b { color: var(--jolt); font-weight: 400; }
.plat-feed {
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--bone-dim);
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.plat-feed .row { display: flex; align-items: center; gap: 8px; }
.plat-feed .row::before {
  content: ""; width: 4px; height: 4px; background: var(--ember);
  flex-shrink: 0;
}
.plat-feed .row.live::before { background: var(--jolt); }

/* ==========================================================================
   SECTION: SCENES LIBRARY (horizontal scroll)
   ========================================================================== */

.scenes { padding: 140px 0; border-top: 1px solid var(--line); overflow: hidden; }
.scenes-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 320px;
  gap: 16px;
  padding: 0 var(--pad);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin: 0 calc(-1 * var(--pad));
}
.scenes-rail::-webkit-scrollbar { display: none; }
.scene-card {
  scroll-snap-align: start;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--ash), var(--char));
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.scene-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(255, 91, 31, 0.05) 0%, transparent 65%);
}
.scene-card .hero-fig {
  position: absolute;
  inset: 22% 28% 0%;
  background:
    radial-gradient(ellipse 60% 35% at 50% 28%, var(--bone-dim) 0%, transparent 65%),
    radial-gradient(ellipse 75% 55% at 50% 90%, var(--slate) 0%, transparent 70%);
  opacity: 0.5;
}
.scene-card .scene-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 18px 18px 14px;
  background: linear-gradient(180deg, transparent, rgba(10, 8, 7, 0.85));
}
.scene-card .scene-name {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  color: var(--bone);
  margin-bottom: 4px;
}
.scene-card .scene-tag {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--bone-dim);
  text-transform: uppercase;
}
.scene-card .scene-num {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--bone-dim);
}
.scene-card .scene-num::before {
  content: "S//"; color: var(--ember); margin-right: 4px;
}
.scene-card.var-warm::before { background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(246, 183, 60, 0.08), transparent 65%); }
.scene-card.var-cool::before { background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(200, 214, 214, 0.06), transparent 65%); }
.scene-card.var-pink::before { background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(255, 45, 85, 0.06), transparent 65%); }
.scene-card.var-jolt::before { background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(0, 255, 149, 0.06), transparent 65%); }

/* ==========================================================================
   SECTION: PROOF / KNOWLEDGE / VOICE PROFILE
   ========================================================================== */

.proof { padding: 140px 0; border-top: 1px solid var(--line); }
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.proof-card {
  background: var(--void-2);
  border: 1px solid var(--line-2);
  padding: 36px 32px;
  position: relative;
  display: flex; flex-direction: column;
}
.proof-card .pchip {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ember);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.proof-card h3 {
  font-family: var(--f-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--bone);
  margin-bottom: 14px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.proof-card h3 em { font-style: italic; color: var(--bone-2); }
.proof-card p {
  font-size: 14px;
  color: var(--bone-dim);
  line-height: 1.65;
  margin-bottom: 28px;
}
.kb-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: auto;
}
.kb-list li {
  background: var(--void-2);
  padding: 12px 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--bone-dim);
  letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 12px;
}
.kb-list li::before {
  content: attr(data-icon);
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--ember);
  text-transform: uppercase;
  width: 70px;
  flex-shrink: 0;
}
.kb-list li b { color: var(--bone); font-weight: 400; font-family: var(--f-sans); }

.voice-vis {
  margin-top: auto;
  height: 120px;
  display: flex; align-items: center; gap: 3px;
}
.voice-vis span {
  flex: 1;
  background: var(--bone);
  opacity: 0.7;
  transition: height 0.2s;
  border-radius: 1px;
}
.voice-vis span.h { background: var(--ember); opacity: 1; }
.voice-words {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.45;
  color: var(--bone);
  border-left: 1px solid var(--ember);
  padding-left: 18px;
  margin-bottom: 28px;
}
.voice-words::before {
  content: "“";
  color: var(--ember);
  font-style: normal;
}
.voice-words::after {
  content: "”";
  color: var(--ember);
  font-style: normal;
}

/* ==========================================================================
   SECTION: PRICING
   ========================================================================== */

.pricing { padding: 140px 0; border-top: 1px solid var(--line); }
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.tier {
  background: var(--void);
  padding: 40px 32px 36px;
  position: relative;
  display: flex; flex-direction: column;
  min-height: 540px;
}
.tier.feature { background: var(--void-2); }
.tier.feature::before {
  content: "Most Cloned";
  position: absolute;
  top: -1px; right: 24px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--void);
  background: var(--ember);
  padding: 5px 10px;
  text-transform: uppercase;
}
.tier-name {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--bone);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.tier-name em { font-style: italic; }
.tier-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--bone-dim);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.tier-price {
  font-family: var(--f-display);
  font-size: 72px;
  line-height: 1;
  font-style: italic;
  color: var(--bone);
  margin-bottom: 4px;
}
.tier-price sup {
  font-size: 24px;
  vertical-align: top;
  margin-right: 4px;
  font-style: normal;
  color: var(--bone-dim);
}
.tier-price .per {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--bone-dim);
  font-style: normal;
  letter-spacing: 0.12em;
  margin-left: 4px;
  text-transform: uppercase;
}
.tier-features {
  list-style: none;
  margin: 28px 0 28px;
  display: flex; flex-direction: column; gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.tier-features li {
  font-size: 13px;
  color: var(--bone-2);
  letter-spacing: 0.01em;
  display: flex; align-items: flex-start; gap: 12px;
}
.tier-features li::before {
  content: "+";
  font-family: var(--f-mono);
  color: var(--ember);
  font-weight: 500;
  flex-shrink: 0;
  margin-top: 1px;
}
.tier .tier-cta { margin-top: auto; }

/* ==========================================================================
   SECTION: ARC // MANIFESTO + FAQ TEASER
   ========================================================================== */

.arc { padding: 160px 0 140px; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.arc-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(255, 91, 31, 0.06), transparent);
}
.arc-h {
  font-family: var(--f-display);
  font-size: clamp(54px, 9vw, 140px);
  line-height: 0.94;
  text-align: center;
  letter-spacing: -0.025em;
  color: var(--bone);
  font-weight: 400;
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}
.arc-h em { font-style: italic; color: var(--ember); }
.arc-h .small {
  display: block;
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--bone-dim);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.arc-cta {
  margin-top: 56px;
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.arc-foot {
  margin-top: 48px;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--slate);
  text-transform: uppercase;
}
.arc-foot a { color: var(--bone-dim); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.arc-foot a:hover { color: var(--ember); border-color: var(--ember); }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.faq { padding: 140px 0; border-top: 1px solid var(--line); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--line-2);
  padding: 22px 0;
  cursor: none;
}
.faq-item summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  list-style: none;
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--bone);
  letter-spacing: -0.01em;
  cursor: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--f-mono);
  font-size: 22px;
  color: var(--ember);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .ans {
  padding-top: 16px;
  font-size: 15px;
  color: var(--bone-dim);
  line-height: 1.65;
  max-width: 560px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer.site-foot {
  border-top: 1px solid var(--line);
  padding: 80px var(--pad) 36px;
  position: relative; z-index: 5;
  background: var(--void);
}
.foot-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.foot-brand {
  display: flex; flex-direction: column; gap: 16px;
}
.foot-brand .mark {
  font-family: var(--f-display);
  font-size: 56px;
  font-style: italic;
  color: var(--bone);
  line-height: 0.9;
  margin-bottom: 8px;
}
.foot-brand .mark em { color: var(--ember); }
.foot-brand p {
  font-size: 14px;
  color: var(--bone-dim);
  line-height: 1.6;
  max-width: 360px;
}
.foot-col h5 {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ember);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col a {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--bone-dim);
  text-decoration: none;
  text-transform: uppercase;
}
.foot-col a:hover { color: var(--bone); }
.foot-bot {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--slate);
  text-transform: uppercase;
}
.foot-bot a { color: var(--slate); text-decoration: none; }
.foot-bot a:hover { color: var(--bone-dim); }
.foot-bot .sig {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 14px;
  color: var(--bone-dim);
  text-transform: none;
  letter-spacing: 0;
}

/* ==========================================================================
   ANIMATIONS / REVEALS
   ========================================================================== */

.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.rv.in { opacity: 1; transform: translateY(0); }
.rv-d1 { transition-delay: 0.08s; }
.rv-d2 { transition-delay: 0.16s; }
.rv-d3 { transition-delay: 0.24s; }
.rv-d4 { transition-delay: 0.32s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1100px) {
  .chrome-meta { display: none; }
  .chrome-nav a { padding: 6px 10px; font-size: 10px; }
  .hero { grid-template-columns: 1fr; padding-top: 140px; }
  .theatre { height: 60vh; min-height: 420px; }
  .factory-grid { grid-template-columns: 1fr; }
  .factory-h, .factory-side { grid-column: 1 / -1; }
  .cap-row { grid-template-columns: 1fr; }
  .cap-row .label { border-right: none; border-bottom: 1px solid var(--line); padding: 20px 0 20px 0; }
  .cap-row .copy { border-right: none; border-bottom: 1px solid var(--line); }
  .protocol-stage { grid-template-columns: 1fr 1fr; }
  .proto-step:nth-child(2) { border-right: none; }
  .proto-step:nth-child(odd) { border-right: 1px solid var(--line); }
  .proto-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .plat-grid { grid-template-columns: repeat(3, 1fr); }
  .plat:nth-child(3) { border-right: none; }
  .plat:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .proof-grid { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .chrome-nav { display: none; }
  .h1 { font-size: clamp(56px, 16vw, 90px); }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats > div:nth-child(2) { border-right: none; }
  .hero-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .plat-grid { grid-template-columns: repeat(2, 1fr); }
  .plat { border-right: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr; }
  body { cursor: auto; }
  .cursor, .cursor-dot { display: none; }
}


/* ==========================================================================
   SHARED SHELL + PAGE PRIMITIVES
   (used by all pages beyond landing)
   ========================================================================== */

body.page { padding-top: 0; }

/* Public page hero band */
.page-hero {
  padding: 160px var(--pad) 80px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 30% 50%, rgba(255, 91, 31, 0.05), transparent);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .crumb {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--slate);
  text-transform: uppercase;
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 10px;
}
.page-hero .crumb a {
  color: var(--bone-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.page-hero .crumb a:hover { color: var(--ember); border-color: var(--ember); }
.page-hero .crumb span.sep { color: var(--ember); }
.page-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--bone);
  font-weight: 400;
  margin-bottom: 24px;
  max-width: 1000px;
}
.page-hero h1 em { font-style: italic; color: var(--bone-2); }
.page-hero h1 .ember { color: var(--ember); }
.page-hero .lede {
  font-size: 18px;
  font-weight: 300;
  color: var(--bone-dim);
  line-height: 1.65;
  max-width: 640px;
}

/* Page body */
.page-body { padding: 96px var(--pad); }
.page-body .wrap { max-width: var(--maxw); margin: 0 auto; }
.page-body.narrow .wrap { max-width: 880px; }

/* Cinematic prose */
.prose h2 {
  font-family: var(--f-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--bone);
  margin: 56px 0 18px;
  letter-spacing: -0.01em;
}
.prose h2:first-child { margin-top: 0; }
.prose h2 em { font-style: italic; color: var(--ember); }
.prose h3 {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--bone);
  margin: 36px 0 14px;
}
.prose p {
  font-size: 16px;
  color: var(--bone-2);
  line-height: 1.75;
  margin-bottom: 18px;
}
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 18px; }
.prose li {
  font-size: 16px;
  color: var(--bone-2);
  line-height: 1.75;
  margin-bottom: 8px;
}
.prose li::marker { color: var(--ember); }
.prose a {
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid var(--ember);
}
.prose a:hover { color: var(--ember); }
.prose .meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--slate);
  text-transform: uppercase;
  margin-bottom: 56px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.prose blockquote {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--bone);
  border-left: 1px solid var(--ember);
  padding-left: 22px;
  margin: 28px 0;
}

/* TOC sidebar */
.toc {
  position: sticky;
  top: 100px;
  align-self: start;
  font-family: var(--f-mono);
  font-size: 11px;
}
.toc h6 {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ember);
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 500;
}
.toc ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.toc a {
  color: var(--bone-dim);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.toc a:hover { color: var(--bone); }

.with-toc {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
}
@media (max-width: 900px) {
  .with-toc { grid-template-columns: 1fr; }
  .toc { position: static; }
}

/* Cards */
.card {
  background: var(--void-2);
  border: 1px solid var(--line-2);
  padding: 32px;
  position: relative;
}
.card .chip {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ember);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.card h3 {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--bone);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.card h3 em { font-style: italic; color: var(--bone-2); }
.card p {
  font-size: 14px;
  color: var(--bone-dim);
  line-height: 1.65;
}

/* Forms */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--bone-dim);
  text-transform: uppercase;
}
.field label .opt { color: var(--slate); }
.field input,
.field textarea,
.field select {
  font-family: var(--f-sans);
  font-size: 15px;
  color: var(--bone);
  background: var(--void-2);
  border: 1px solid var(--line-2);
  padding: 14px 16px;
  transition: all 0.2s;
  outline: none;
  width: 100%;
  font-weight: 400;
  cursor: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--slate); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--ember);
  background: rgba(255, 91, 31, 0.03);
}
.field textarea { min-height: 140px; resize: vertical; font-family: var(--f-sans); }
.field .hint {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--slate);
  letter-spacing: 0.06em;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }

/* Big oauth row */
.oauth { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.oauth-btn {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--bone);
  text-transform: uppercase;
  background: var(--void-2);
  border: 1px solid var(--line-2);
  padding: 14px 18px;
  cursor: none;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: all 0.2s;
}
.oauth-btn:hover { border-color: var(--bone); background: rgba(244, 237, 224, 0.04); }
.oauth-btn .ic {
  width: 18px; height: 18px;
  display: grid; place-items: center;
  color: var(--ember);
}
.oauth-btn .ar { margin-left: auto; color: var(--slate); }

.divider {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--slate);
  text-transform: uppercase;
  margin: 18px 0;
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }

/* ==========================================================================
   APP SHELL
   ========================================================================== */

.app {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.app-rail {
  position: sticky; top: 0;
  height: 100vh;
  background: var(--void-2);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  z-index: 50;
}
.app-rail .brand {
  margin: 26px 24px 26px;
  display: flex; align-items: center; gap: 10px;
  color: var(--bone); text-decoration: none;
}
.app-rail .brand svg { width: 20px; height: 20px; }
.app-rail .brand .brand-name {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 20px;
}

.app-user {
  margin: 0 18px 18px;
  padding: 14px;
  background: var(--ash);
  border: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
  position: relative;
}
.app-user .av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--char), var(--slate-2));
  border: 1px solid var(--bone-dim);
  flex-shrink: 0;
  position: relative;
}
.app-user .av::after {
  content: ""; position: absolute;
  bottom: -2px; right: -2px;
  width: 10px; height: 10px;
  background: var(--jolt);
  border: 2px solid var(--ash);
  border-radius: 50%;
}
.app-user .name {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
  color: var(--bone);
  line-height: 1.1;
}
.app-user .role {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--ember);
  text-transform: uppercase;
}

.app-nav {
  flex: 1;
  display: flex; flex-direction: column;
  padding: 8px 12px;
  overflow-y: auto;
}
.app-nav .sec {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--slate);
  text-transform: uppercase;
  padding: 14px 12px 8px;
}
.app-nav a {
  font-family: var(--f-sans);
  font-size: 14px;
  color: var(--bone-dim);
  text-decoration: none;
  padding: 10px 12px;
  display: flex; align-items: center; gap: 12px;
  transition: all 0.2s;
  letter-spacing: 0.01em;
  border-left: 2px solid transparent;
}
.app-nav a:hover { color: var(--bone); background: rgba(244, 237, 224, 0.03); }
.app-nav a.on {
  color: var(--bone);
  background: var(--ash);
  border-left-color: var(--ember);
}
.app-nav a .ic {
  width: 18px; height: 18px;
  display: grid; place-items: center;
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--ember);
  letter-spacing: 0;
}
.app-nav a .badge {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--jolt);
  background: rgba(0, 255, 149, 0.06);
  padding: 2px 6px;
  text-transform: uppercase;
  border: 1px solid rgba(0, 255, 149, 0.2);
}

.app-rail .rail-foot {
  padding: 14px 24px 22px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--slate);
  text-transform: uppercase;
  display: flex; flex-direction: column; gap: 6px;
}
.app-rail .rail-foot a { color: var(--bone-dim); text-decoration: none; }
.app-rail .rail-foot a:hover { color: var(--bone); }

/* App main */
.app-main {
  display: flex; flex-direction: column;
  min-width: 0;
}
.app-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--void);
  border-bottom: 1px solid var(--line);
  padding: 18px 36px;
  display: flex; align-items: center; gap: 24px;
}
.app-top .title {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  color: var(--bone);
}
.app-top .crumb {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--slate);
  text-transform: uppercase;
}
.app-top .crumb a { color: var(--bone-dim); text-decoration: none; }
.app-top .crumb .sep { color: var(--ember); margin: 0 6px; }
.app-top .actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.app-top .credits {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--bone-dim);
  text-transform: uppercase;
  border: 1px solid var(--line-2);
  padding: 8px 12px;
  display: flex; align-items: center; gap: 8px;
}
.app-top .credits b { color: var(--ember); font-weight: 500; }

.app-content {
  padding: 40px 36px 80px;
  max-width: 1280px;
  width: 100%;
}

/* Grid utility */
.grid { display: grid; gap: 18px; }
.g-2 { grid-template-columns: 1fr 1fr; }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .app { grid-template-columns: 1fr; }
  .app-rail { position: relative; height: auto; }
  .app-nav { flex-direction: row; flex-wrap: wrap; padding: 8px; }
  .app-nav .sec { display: none; }
  .app-nav a { padding: 8px 10px; border-left: none; border-bottom: 2px solid transparent; }
  .app-nav a.on { border-left: none; border-bottom-color: var(--ember); }
}

/* Module panels for inside app */
.panel {
  background: var(--void-2);
  border: 1px solid var(--line);
  padding: 28px;
  margin-bottom: 20px;
}
.panel .head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 24px;
  gap: 12px;
}
.panel .head h2 {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 26px;
  color: var(--bone);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.panel .head .sub {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--slate);
  text-transform: uppercase;
}
.panel .head .act {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--bone);
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 3px;
}
.panel .head .act:hover { color: var(--ember); border-color: var(--ember); }

/* Stat tile */
.stat {
  background: var(--void-2);
  border: 1px solid var(--line);
  padding: 24px;
  position: relative;
}
.stat .l {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--bone-dim);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.stat .v {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 48px;
  line-height: 1;
  color: var(--bone);
  margin-bottom: 6px;
}
.stat .v em { color: var(--ember); }
.stat .d {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--jolt);
}
.stat .d.down { color: var(--hot); }

/* Pills/badges */
.pill {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  color: var(--bone-dim);
}
.pill.on { color: var(--jolt); border-color: rgba(0, 255, 149, 0.3); }
.pill.warn { color: var(--gold); border-color: rgba(246, 183, 60, 0.3); }
.pill.ember { color: var(--ember); border-color: rgba(255, 91, 31, 0.4); background: rgba(255, 91, 31, 0.04); }

/* List rows */
.rows { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.rows .r {
  background: var(--void-2);
  padding: 16px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--bone-dim);
}
.rows .r .t {
  font-family: var(--f-sans);
  font-size: 14px;
  color: var(--bone);
}
.rows .r .m { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }

/* Tabs */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tab {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--bone-dim);
  text-transform: uppercase;
  padding: 14px 20px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: none;
  transition: all 0.2s;
}
.tab:hover { color: var(--bone); }
.tab.on { color: var(--bone); border-bottom-color: var(--ember); }
.tab-pane { display: none; }
.tab-pane.on { display: block; }


/* ==========================================================================
   VIDEO SLOT (hero theatre)
   ========================================================================== */

.video-slot {
  position: absolute;
  inset: 56px 22px 64px;
  z-index: 2;
  background: var(--soot);
  overflow: hidden;
  cursor: none;
}
.video-slot video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--void);
  display: none;
}
.video-slot.has-video video { display: block; }
.video-slot.has-video .video-placeholder { display: none; }

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background:
    radial-gradient(ellipse 60% 50% at 30% 35%, rgba(255, 91, 31, 0.07), transparent),
    radial-gradient(ellipse 50% 50% at 75% 70%, rgba(200, 214, 214, 0.05), transparent),
    linear-gradient(135deg, var(--soot) 0%, var(--ash) 100%);
  transition: background 0.4s;
}
.video-placeholder.is-drop { background: linear-gradient(135deg, rgba(255, 91, 31, 0.12), rgba(255, 91, 31, 0.04)); }

/* Two-figure backdrop — human + double silhouettes */
.vp-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}
.vp-bg::before,
.vp-bg::after {
  content: "";
  position: absolute;
  width: 28%;
  height: 60%;
  bottom: 0;
  background:
    radial-gradient(ellipse 65% 45% at 50% 22%, currentColor 0%, transparent 60%),
    radial-gradient(ellipse 80% 55% at 50% 92%, currentColor 0%, transparent 70%);
}
.vp-bg::before {
  left: 14%;
  color: rgba(244, 237, 224, 0.18);
}
.vp-bg::after {
  right: 14%;
  color: rgba(255, 91, 31, 0.22);
}
/* fine scanline through "double" side */
.vp-bg span {
  position: absolute;
  right: 14%;
  bottom: 0;
  width: 28%;
  height: 60%;
  background: repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(10, 8, 7, 0.5) 3px, rgba(10, 8, 7, 0.5) 4px);
  pointer-events: none;
}

.vp-pane {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 440px;
  background: rgba(10, 8, 7, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
  padding: 28px 32px 26px;
}

.vp-eyebrow {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ember);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.vp-title {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--bone);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.vp-title em { font-style: italic; color: var(--ember); }

.vp-sub {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--bone-dim);
  line-height: 1.6;
  margin-bottom: 22px;
}

.vp-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.vp-play {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--void);
  background: var(--ember);
  border: none;
  padding: 12px 18px;
  cursor: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s;
}
.vp-play:hover { background: var(--ember-2); box-shadow: 0 0 22px rgba(255, 91, 31, 0.35); }
.vp-play .vp-tri {
  display: inline-grid;
  place-items: center;
  width: 18px; height: 18px;
  background: var(--void);
  color: var(--ember);
  font-size: 10px;
  padding-left: 1px;
}

.vp-upload {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
  border: 1px solid var(--line-2);
  padding: 12px 16px;
  cursor: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
}
.vp-upload:hover { border-color: var(--bone); background: rgba(244, 237, 224, 0.04); }

/* Bottom mini-marks identifying the two figures */
.vp-marks {
  position: absolute;
  bottom: 18px;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 2;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--bone-dim);
  text-transform: uppercase;
  pointer-events: none;
}
.vp-marks span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.vp-marks span i {
  display: inline-block;
  width: 8px; height: 8px;
}
.vp-marks span:first-child i { background: rgba(244, 237, 224, 0.6); }
.vp-marks span:last-child i { background: var(--ember); }

/* Floating control row that overlays when video is playing */
.video-slot.has-video .vp-control-bar { display: flex; }
.vp-control-bar {
  display: none;
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 3;
  align-items: center;
  gap: 12px;
  background: rgba(10, 8, 7, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
  padding: 10px 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--bone-dim);
}
.vp-control-bar button {
  background: transparent;
  border: none;
  color: var(--bone);
  font-family: var(--f-mono);
  font-size: 12px;
  cursor: none;
  padding: 4px 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.vp-control-bar button:hover { color: var(--ember); }
.vp-control-bar .vp-time { margin-left: auto; }
.vp-control-bar .vp-replace { border-left: 1px solid var(--line); padding-left: 14px; }


/* ==========================================================================
   NOTIFICATIONS — bell, drawer, banner, settings tab
   ========================================================================== */

/* --- Bell in app-top.actions --- */
.dy-bell {
  position: relative;
  width: 38px; height: 38px;
  background: var(--void-2);
  border: 1px solid var(--line-2);
  color: var(--bone-dim);
  cursor: none;
  display: grid; place-items: center;
  transition: all 0.2s;
}
.dy-bell:hover { color: var(--bone); border-color: var(--bone-dim); }
.dy-bell.has-unread { color: var(--bone); border-color: var(--ember); }
.dy-bell svg { display: block; }
.dy-bell-count {
  position: absolute;
  top: -7px; right: -7px;
  min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--ember);
  color: var(--void);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  display: grid; place-items: center;
  border-radius: 9px;
  border: 2px solid var(--void);
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.2s;
}
.dy-bell-count.on { opacity: 1; transform: scale(1); }
.dy-bell.has-unread::before {
  content: ''; position: absolute; inset: -2px;
  border: 1px solid var(--ember);
  opacity: 0.5;
  animation: dy-bell-ring 1.8s ease-out infinite;
  pointer-events: none;
}
@keyframes dy-bell-ring {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* --- Drawer scrim + panel --- */
.dy-drawer-scrim {
  position: fixed; inset: 0;
  background: rgba(10, 8, 7, 0.6);
  backdrop-filter: blur(4px);
  z-index: 900;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.dy-drawer-scrim.on { opacity: 1; pointer-events: auto; }

.dy-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 460px; max-width: 92vw;
  background: var(--void-2);
  border-left: 1px solid var(--line);
  z-index: 901;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex; flex-direction: column;
  box-shadow: -40px 0 80px rgba(0,0,0,0.4);
}
.dy-drawer.on { transform: translateX(0); }

.dy-drawer-head {
  display: flex; align-items: flex-start;
  justify-content: space-between;
  padding: 24px 28px 18px;
  border-bottom: 1px solid var(--line);
}
.dy-drawer-head .dy-eyebrow {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ember);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.dy-drawer-head h2 {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 32px;
  color: var(--bone);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.dy-drawer-close {
  width: 32px; height: 32px;
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--bone-dim);
  cursor: none;
  font-family: var(--f-mono);
  font-size: 13px;
}
.dy-drawer-close:hover { color: var(--bone); border-color: var(--bone-dim); }

.dy-drawer-filters {
  display: flex;
  gap: 6px;
  padding: 14px 28px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.dy-drawer-filters::-webkit-scrollbar { display: none; }
.dy-filter {
  flex-shrink: 0;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--bone-dim);
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--line-2);
  padding: 6px 12px;
  cursor: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.dy-filter:hover { color: var(--bone); border-color: var(--bone-dim); }
.dy-filter.on {
  color: var(--bone);
  background: var(--ash);
  border-color: var(--ember);
}
.dy-filter .ct {
  display: inline-grid;
  place-items: center;
  min-width: 16px; height: 16px;
  padding: 0 5px;
  font-size: 9px;
  background: var(--ash);
  color: var(--slate);
  border-radius: 8px;
}
.dy-filter .ct.on {
  background: var(--ember);
  color: var(--void);
}

.dy-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dy-drawer-body::-webkit-scrollbar { width: 6px; }
.dy-drawer-body::-webkit-scrollbar-track { background: transparent; }
.dy-drawer-body::-webkit-scrollbar-thumb { background: var(--line-2); }

.dy-note {
  display: grid;
  grid-template-columns: 3px 1fr;
  background: var(--ash);
  border: 1px solid var(--line);
  transition: all 0.2s;
  cursor: none;
}
.dy-note:hover { border-color: var(--bone-dim); }
.dy-note.is-read { opacity: 0.55; }
.dy-note.sev-hot { border-color: rgba(255, 45, 85, 0.3); }
.dy-note.sev-warn { border-color: rgba(246, 183, 60, 0.3); }
.dy-note.sev-success { border-color: rgba(0, 255, 149, 0.25); }
.dy-note-rail {
  width: 3px;
}
.dy-note-body {
  padding: 14px 16px 12px;
  min-width: 0;
}
.dy-note-body header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 6px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.dy-note-bucket { color: var(--ember); }
.dy-note-time { color: var(--slate); }
.dy-note h3 {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--bone);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
  line-height: 1.25;
}
.dy-note p {
  font-size: 13px;
  color: var(--bone-dim);
  line-height: 1.55;
  margin-bottom: 10px;
}
.dy-note footer {
  display: flex; align-items: center; gap: 10px;
}
.dy-note-cta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid var(--ember);
  padding-bottom: 2px;
}
.dy-note-cta:hover { color: var(--ember); }
.dy-note-read {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-dim);
  background: transparent;
  border: 1px solid var(--line-2);
  padding: 4px 10px;
  cursor: none;
  margin-left: auto;
}
.dy-note-read:hover { color: var(--bone); border-color: var(--bone-dim); }
.dy-note-x {
  width: 22px; height: 22px;
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--bone-dim);
  font-family: var(--f-mono);
  font-size: 11px;
  cursor: none;
}
.dy-note-x:hover { color: var(--hot); border-color: rgba(255, 45, 85, 0.3); }

.dy-empty {
  text-align: center;
  padding: 64px 18px;
  color: var(--bone-dim);
}
.dy-empty-mark {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 48px;
  color: var(--slate);
  margin-bottom: 14px;
}
.dy-empty-h {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  color: var(--bone);
  margin-bottom: 6px;
}
.dy-empty-s {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--bone-dim);
}

.dy-drawer-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-top: 1px solid var(--line);
  background: var(--ash);
}
.dy-foot-btn {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
  background: transparent;
  border: 1px solid var(--line-2);
  padding: 8px 12px;
  cursor: none;
}
.dy-foot-btn:hover { border-color: var(--ember); color: var(--ember); }
.dy-foot-link {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-dim);
  text-decoration: none;
}
.dy-foot-link:hover { color: var(--bone); }

/* --- Banner inside .app-content --- */
.dy-banner {
  display: grid;
  grid-template-columns: 4px auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  background: var(--void-2);
  border: 1px solid var(--line-2);
  margin-bottom: 18px;
  position: relative;
}
.dy-banner.sev-hot { background: linear-gradient(135deg, rgba(255, 45, 85, 0.04), var(--void-2)); border-color: rgba(255, 45, 85, 0.3); }
.dy-banner.sev-warn { background: linear-gradient(135deg, rgba(246, 183, 60, 0.04), var(--void-2)); border-color: rgba(246, 183, 60, 0.3); }
.dy-banner.sev-success { background: linear-gradient(135deg, rgba(0, 255, 149, 0.04), var(--void-2)); border-color: rgba(0, 255, 149, 0.25); }
.dy-banner-rail {
  width: 4px;
  align-self: stretch;
}
.dy-banner-icon {
  width: 32px; height: 32px;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  color: var(--ember);
  font-family: var(--f-mono);
  font-size: 13px;
}
.dy-banner.sev-hot .dy-banner-icon { color: var(--hot); border-color: rgba(255, 45, 85, 0.3); }
.dy-banner.sev-warn .dy-banner-icon { color: var(--gold); border-color: rgba(246, 183, 60, 0.3); }
.dy-banner.sev-success .dy-banner-icon { color: var(--jolt); border-color: rgba(0, 255, 149, 0.25); }
.dy-banner-text {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.dy-banner-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.dy-banner-text strong {
  font-family: var(--f-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--bone);
}
.dy-banner-body {
  font-family: var(--f-sans);
  font-size: 13px;
  color: var(--bone-dim);
}
.dy-banner-actions { display: flex; align-items: center; gap: 10px; }
.dy-banner-cta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
  text-decoration: none;
  border: 1px solid var(--line-2);
  padding: 8px 12px;
  background: rgba(244, 237, 224, 0.04);
}
.dy-banner-cta:hover { border-color: var(--ember); color: var(--ember); }
.dy-banner-x {
  width: 28px; height: 28px;
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--bone-dim);
  cursor: none;
  font-family: var(--f-mono);
}
.dy-banner-x:hover { color: var(--bone); }

/* --- Settings → Notifications tab specific --- */
.notif-prefs-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 100px);
  gap: 0;
  background: var(--line);
  border: 1px solid var(--line);
}
.notif-prefs-grid > div {
  background: var(--void-2);
  padding: 16px 18px;
  display: flex;
  align-items: center;
}
.notif-prefs-grid .head {
  background: var(--ash);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--bone-dim);
  text-transform: uppercase;
}
.notif-prefs-grid .bucket-label {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.notif-prefs-grid .bucket-label .b-name {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 18px;
  color: var(--bone);
}
.notif-prefs-grid .bucket-label .b-desc {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--bone-dim);
  letter-spacing: 0.04em;
}

.notif-toggle {
  position: relative;
  width: 40px; height: 22px;
  background: var(--ash);
  border: 1px solid var(--line-2);
  cursor: none;
  transition: all 0.2s;
}
.notif-toggle::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: var(--slate);
  transition: all 0.2s;
}
.notif-toggle.on { background: var(--ember); border-color: var(--ember); }
.notif-toggle.on::after { left: 20px; background: var(--void); }

/* --- Mobile --- */
@media (max-width: 640px) {
  .dy-drawer { width: 100vw; max-width: 100vw; }
  .notif-prefs-grid { grid-template-columns: 1fr 60px 60px 60px; }
  .notif-prefs-grid .head { font-size: 9px; padding: 12px 10px; }
  .notif-prefs-grid .bucket-label .b-name { font-size: 14px; }
}


/* ==========================================================================
   CAST TALENT SECTION (landing)
   ========================================================================== */

.cast-section {
  padding: 140px 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 50% at 75% 35%, rgba(246, 183, 60, 0.04), transparent 50%),
    radial-gradient(ellipse 60% 50% at 15% 80%, rgba(255, 91, 31, 0.03), transparent 50%),
    var(--void);
  position: relative;
  overflow: hidden;
}
.cast-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246,183,60,0.3) 50%, transparent);
}

.cast-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.4fr;
  gap: 32px;
  align-items: stretch;
}

/* Profile card */
.cast-profile {
  background: linear-gradient(135deg, var(--soot), var(--ash));
  border: 1px solid rgba(246,183,60,0.25);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  overflow: hidden;
}
.cast-profile::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 110px; height: 110px;
  background:
    repeating-linear-gradient(45deg, transparent 0, transparent 8px, rgba(246, 183, 60, 0.04) 8px, rgba(246, 183, 60, 0.04) 9px);
  pointer-events: none;
}
.cast-profile-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--bone-dim);
  text-transform: uppercase;
}
.cast-tag { color: var(--gold); }
.cast-verified { color: var(--jolt); }
.cast-headshot {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--ash), var(--char));
  border: 1px solid var(--line-2);
  overflow: hidden;
}
.cast-figure {
  position: absolute;
  inset: 16% 25% 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 28%, var(--bone-dim) 0%, transparent 60%),
    radial-gradient(ellipse 75% 55% at 50% 92%, var(--slate) 0%, transparent 70%);
  opacity: 0.7;
}
.cast-headshot::after {
  /* gold rim cast on right side */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(246, 183, 60, 0.12), transparent 60%);
  pointer-events: none;
}
.cast-stamp {
  position: absolute;
  bottom: 12px; left: 12px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--bone);
  background: rgba(10, 8, 7, 0.7);
  padding: 4px 8px;
  text-transform: uppercase;
}
.cast-meta-name {
  font-family: var(--f-display);
  font-size: 28px;
  color: var(--bone);
  letter-spacing: -0.01em;
  font-weight: 400;
}
.cast-meta-name em { font-style: italic; color: var(--bone-dim); }
.cast-meta-sub {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--bone-dim);
  margin-top: 4px;
}
.cast-rates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.cast-rates .r-l {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--slate);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.cast-rates .r-v {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
  line-height: 1;
}

/* Right side */
.cast-right {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cast-flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cast-step {
  background: var(--void-2);
  padding: 22px 24px 20px;
  position: relative;
}
.cast-step .n {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.cast-step h4 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--bone);
  margin: 6px 0 8px;
  letter-spacing: -0.005em;
}
.cast-step p {
  font-size: 13px;
  color: var(--bone-dim);
  line-height: 1.6;
}

.cast-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  padding: 18px 0;
}
.cast-proof .cp-stat .l {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--slate);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.cast-proof .cp-stat .v {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 36px;
  line-height: 1;
  color: var(--bone);
}
.cast-proof .cp-stat .v em {
  color: var(--gold);
  font-style: italic;
}
.cast-proof .cp-stat .d {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--bone-dim);
  margin-top: 4px;
}

.cast-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 6px;
}

@media (max-width: 1100px) {
  .cast-grid { grid-template-columns: 1fr; }
  .cast-flow { grid-template-columns: 1fr; }
  .cast-proof { grid-template-columns: 1fr; gap: 18px; }
  .cast-rates { grid-template-columns: repeat(3, 1fr); }
}


/* ==========================================================================
   CAST TALENT HUB · profile panel responsive
   ========================================================================== */

.cast-hub-profile {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 240px;
  gap: 0;
  align-items: stretch;
  min-width: 0;
}
.cast-hub-profile-avatar {
  background: linear-gradient(135deg, var(--ash), var(--char));
  border-right: 1px solid var(--line);
  position: relative;
  min-height: 300px;
  overflow: hidden;
}
.cast-hub-profile-copy {
  padding: 32px 36px;
  min-width: 0;
}
.cast-hub-profile-side {
  padding: 32px;
  border-left: 1px solid var(--line);
  background: var(--void);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

/* Collapse columns when the inner content area gets narrow */
@media (max-width: 1280px) {
  .cast-hub-profile {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .cast-hub-profile-side {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid var(--line);
    padding: 24px 32px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }
}
@media (max-width: 760px) {
  .cast-hub-profile {
    grid-template-columns: 1fr;
  }
  .cast-hub-profile-avatar {
    border-right: none;
    border-bottom: 1px solid var(--line);
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
  .cast-hub-profile-side { padding: 20px 28px; }
}

/* Also bump app-rail responsive breakpoint a notch for the narrow window the verifier hit */
@media (max-width: 1024px) {
  .app { grid-template-columns: 1fr; }
  .app-rail {
    position: relative;
    height: auto;
  }
  .app-nav { flex-direction: row; flex-wrap: wrap; padding: 8px; }
  .app-nav .sec { display: none; }
  .app-nav a {
    padding: 8px 10px;
    border-left: none;
    border-bottom: 2px solid transparent;
  }
  .app-nav a.on { border-left: none; border-bottom-color: var(--ember); }
}


/* ==========================================================================
   IMPROVEMENT BATCH — refined ember, 768 breakpoint, cookie banner
   ========================================================================== */

/* Tone ember saturation ~10% (refined) — softer warmth, less buzzing */
:root {
  --ember: #ed5a25;
  --ember-2: #f47a48;
}

/* Touch device detection — cursor reverts to default, a11y for chrome */
@media (hover: none), (pointer: coarse) {
  body { cursor: auto !important; }
  .cursor, .cursor-dot { display: none !important; }
  a, button, summary, .tab, .scene-card, input, textarea, select { cursor: pointer !important; }
}

/* New tablet breakpoint — fills the gap between mobile and full-desktop */
@media (min-width: 641px) and (max-width: 920px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .theatre { height: 56vh; min-height: 380px; }
  .protocol-stage { grid-template-columns: 1fr 1fr; }
  .proto-step:nth-child(2n) { border-right: none; }
  .proto-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .plat-grid { grid-template-columns: repeat(2, 1fr); }
  .plat:nth-child(2n) { border-right: none; }
  .plat:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cast-flow { grid-template-columns: 1fr; }
  .cap-row { grid-template-columns: 1fr; }
  .cap-row .label, .cap-row .copy {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
}

/* Accessibility — hide decorative cinematic chrome from screen readers */
.chrome-meta, .theatre-corners, .theatre-readout, .wire-label, #grain, #vignette, #scan,
.eyebrow .dot, .cursor, .cursor-dot,
.dy-banner-icon, .dy-bell-count {
  /* visual only — keep visual, hide from AT */
}

/* COOKIE BANNER */
.dy-cookie {
  position: fixed;
  left: 24px;
  bottom: 24px;
  right: 24px;
  max-width: 720px;
  z-index: 800;
  background: rgba(10, 8, 7, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-2);
  padding: 18px 22px 16px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--bone-dim);
  line-height: 1.6;
  transform: translateY(120%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.dy-cookie.on { transform: translateY(0); }
.dy-cookie::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 64px; height: 2px;
  background: var(--ember);
}
.dy-cookie .dy-cookie-body { flex: 1; min-width: 220px; }
.dy-cookie .dy-cookie-eyebrow {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--ember);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.dy-cookie b {
  color: var(--bone);
  font-weight: 400;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0;
}
.dy-cookie a {
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
}
.dy-cookie a:hover { color: var(--ember); border-color: var(--ember); }
.dy-cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.dy-cookie-btn {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--bone);
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.dy-cookie-btn:hover { border-color: var(--bone); }
.dy-cookie-btn.accept { background: var(--ember); border-color: var(--ember); color: var(--void); }
.dy-cookie-btn.accept:hover { background: var(--ember-2); }

@media (max-width: 640px) {
  .dy-cookie { left: 12px; right: 12px; bottom: 12px; padding: 14px; }
  .dy-cookie-actions { width: 100%; }
  .dy-cookie-btn { flex: 1; }
}


/* ==========================================================================
   HERO INLINE FAQ — objection handlers near the fold
   ========================================================================== */

.hero-faq {
  padding: 80px 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(244, 237, 224, 0.015), transparent),
    var(--void-2);
}
.hfaq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line-2);
}
.hfaq {
  background: var(--void-2);
  padding: 24px 26px 22px;
  position: relative;
  transition: background 0.2s;
}
.hfaq:hover { background: var(--soot); }
.hfaq summary {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 14px;
  cursor: pointer;
}
.hfaq summary::-webkit-details-marker { display: none; }
.hfaq-n {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ember);
  text-transform: uppercase;
}
.hfaq-q {
  font-family: var(--f-display);
  font-size: 22px;
  color: var(--bone);
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.hfaq-q em { font-style: italic; color: var(--bone-2); }
.hfaq-x {
  font-family: var(--f-mono);
  font-size: 18px;
  color: var(--bone-dim);
  transition: transform 0.3s;
}
.hfaq[open] .hfaq-x { transform: rotate(45deg); color: var(--ember); }
.hfaq-a {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--bone-dim);
  line-height: 1.65;
}
.hfaq-a em { font-style: italic; color: var(--bone); }
.hfaq-a a { color: var(--bone); text-decoration: none; border-bottom: 1px solid var(--ember); }
.hfaq-a a:hover { color: var(--ember); }

.hfaq-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--bone-dim);
  text-transform: uppercase;
}
.hfaq-foot a {
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid var(--ember);
}
.hfaq-foot a:hover { color: var(--ember); }

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


/* ==========================================================================
   SOCIAL PROOF · TESTIMONIALS · SCORE SIM · COMPARE · OWNER PREVIEW
   ========================================================================== */

/* Logo strip */
.proof-strip {
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--void-2);
}
.proof-eyebrow {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--bone-dim);
  text-transform: uppercase;
  margin-bottom: 26px;
}
.proof-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 36px 56px;
  opacity: 0.65;
}
.proof-logos span {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 24px;
  letter-spacing: 0.04em;
  color: var(--bone);
}

/* Testimonials */
.testimonials {
  padding: 140px 0;
  border-top: 1px solid var(--line);
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.testi {
  background: var(--void-2);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.testi-head { display: flex; align-items: center; gap: 14px; }
.testi-av {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bone-dim), var(--slate));
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.testi-av::after {
  content: '';
  position: absolute; inset: 22% 28% 0%;
  background:
    radial-gradient(ellipse 55% 40% at 50% 30%, var(--bone) 0%, transparent 60%),
    radial-gradient(ellipse 70% 55% at 50% 90%, var(--slate-2) 0%, transparent 70%);
}
.testi-name {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 20px;
  color: var(--bone);
  line-height: 1;
}
.testi-handle {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--bone-dim);
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.testi-q {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--bone);
  border-left: 1px solid var(--ember);
  padding-left: 18px;
  flex: 1;
}
.testi-q em { color: var(--ember); font-style: italic; }
.testi-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.testi-stats .ts-l {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--slate);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.testi-stats .ts-v {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  color: var(--bone);
  line-height: 1;
}

/* Score simulator */
.score-sim-inputs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.score-sim-inputs label {
  display: grid;
  grid-template-columns: 110px 1fr 36px;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--bone-dim);
  text-transform: uppercase;
}
.score-sim-inputs label .v {
  color: var(--bone);
  text-align: right;
  font-size: 12px;
}
.score-sim-inputs input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--ash);
  cursor: pointer;
  outline: none;
}
.score-sim-inputs input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px;
  background: var(--ember);
  border-radius: 50%;
  cursor: pointer;
}
.score-sim-inputs input[type=range]::-moz-range-thumb {
  width: 14px; height: 14px;
  background: var(--ember);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

/* Compare section */
.compare-section {
  padding: 140px 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 60% at 20% 50%, rgba(255, 91, 31, 0.025), transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(0, 255, 149, 0.025), transparent 60%),
    var(--void);
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.compare-col {
  background: var(--void-2);
  border: 1px solid var(--line-2);
  padding: 32px 32px 24px;
}
.compare-col.before { border-color: var(--line-2); }
.compare-col.after { border-color: rgba(0, 255, 149, 0.2); background: linear-gradient(135deg, rgba(0, 255, 149, 0.02), var(--void-2)); }
.compare-col .cc-head { margin-bottom: 22px; }
.compare-col .cc-eyebrow {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--bone-dim);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.compare-col.after .cc-eyebrow { color: var(--jolt); }
.compare-col h3 {
  font-family: var(--f-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--bone);
  letter-spacing: -0.01em;
}
.compare-col h3 em { font-style: italic; color: var(--bone-2); }
.compare-col.after h3 em { color: var(--jolt); }
.cc-rows {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 18px;
}
.cc-r {
  background: var(--void-2);
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 12px;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--bone-dim);
  letter-spacing: 0.04em;
}
.cc-r .t { color: var(--ember); letter-spacing: 0.14em; font-size: 10px; }
.compare-col.after .cc-r .t { color: var(--jolt); }
.cc-r .b { color: var(--bone-2); font-family: var(--f-sans); font-size: 13px; }
.cc-r .h { color: var(--bone); font-size: 11px; }
.cc-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.cc-foot > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cc-foot .l {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--slate);
  text-transform: uppercase;
}
.cc-foot .v {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 24px;
  color: var(--bone);
  line-height: 1;
}
.compare-delta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--ember);
  margin-top: 28px;
  background:
    linear-gradient(135deg, rgba(255, 91, 31, 0.06), rgba(0, 255, 149, 0.04)),
    var(--void-2);
}
.compare-delta > div {
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}
.compare-delta > div:last-child { border-right: none; }
.compare-delta .cd-l {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--bone-dim);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.compare-delta .cd-v {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 36px;
  color: var(--bone);
  line-height: 1;
}
.compare-delta .cd-v em {
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.08em;
  margin-left: 4px;
  color: var(--bone-dim);
}

/* Owner Console preview */
.owner-preview {
  padding: 140px 0;
  border-top: 1px solid var(--line);
}
.op-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: center;
}
.op-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--bone-dim);
  letter-spacing: 0.02em;
  line-height: 1.6;
}
.op-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: baseline;
}
.op-list li span { color: var(--hot); }
.op-frame {
  background: linear-gradient(135deg, var(--soot), var(--ash));
  border: 1px solid rgba(255, 45, 85, 0.2);
  overflow: hidden;
}
.op-frame-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--void);
}
.op-frame-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--hot);
  text-transform: uppercase;
}
.op-frame-rec {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--jolt);
  text-transform: uppercase;
}
.op-frame-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid var(--line);
}
.op-frame-stats > div {
  padding: 16px 12px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.op-frame-stats > div:last-child { border-right: none; }
.opf-l {
  display: block;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--bone-dim);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.opf-v {
  display: block;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  color: var(--bone);
  line-height: 1;
}
.op-frame-events {
  display: flex;
  flex-direction: column;
  max-height: 360px;
  overflow: hidden;
}
.ope-row {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  gap: 14px;
  padding: 12px 20px;
  font-family: var(--f-mono);
  font-size: 11px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.ope-row:last-child { border-bottom: none; }
.ope-t { color: var(--ember); letter-spacing: 0.1em; }
.ope-w { color: var(--bone); }
.ope-m { color: var(--bone-dim); text-align: right; letter-spacing: 0.04em; }

@media (max-width: 920px) {
  .testi-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-delta { grid-template-columns: 1fr; }
  .compare-delta > div { border-right: none; border-bottom: 1px solid var(--line); }
  .op-grid { grid-template-columns: 1fr; }
  .op-frame-stats { grid-template-columns: repeat(3, 1fr); }
  .op-frame-stats > div:nth-child(3) { border-right: none; }
  .op-frame-stats > div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}


/* ==========================================================================
   SETTINGS — grouped tabs (Identity / Operate / Account)
   DOING-NOW widget · dashboard
   ========================================================================== */

.settings-tabs-wrap {
  display: flex;
  gap: 32px;
  align-items: flex-end;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.settings-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.settings-group-label {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--ember);
  text-transform: uppercase;
  padding-left: 14px;
}
.settings-tabs-row {
  display: flex;
  gap: 0;
  border-bottom: none !important;
  margin-bottom: 0 !important;
}
.settings-tabs-row .tab {
  font-size: 11px;
  padding: 10px 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Doing-now widget */
.dy-doing-now {
  position: relative;
}
.dy-doing-now .dn-rows {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.dy-doing-now .dn-row {
  background: var(--void-2);
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 18px;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
}
.dy-doing-now .dn-t {
  color: var(--jolt);
  letter-spacing: 0.1em;
}
.dy-doing-now .dn-w {
  color: var(--bone);
  font-family: var(--f-sans);
  font-size: 13px;
}
.dy-doing-now .dn-m {
  color: var(--bone-dim);
  text-align: right;
  letter-spacing: 0.02em;
}

@media (max-width: 760px) {
  .dy-doing-now .dn-row { grid-template-columns: 1fr; gap: 4px; }
  .dy-doing-now .dn-m { text-align: left; }
  .settings-tabs-wrap { gap: 18px; }
}


/* ==========================================================================
   PASSKEY STEP-UP — owner authentication
   ========================================================================== */

.dy-passkey-scrim {
  position: fixed; inset: 0;
  background: rgba(10, 8, 7, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 950;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.dy-passkey-scrim.on { opacity: 1; pointer-events: auto; }

.dy-passkey-modal {
  width: min(92vw, 460px);
  background: var(--void-2);
  border: 1px solid var(--line-2);
  padding: 36px 36px 32px;
  position: relative;
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.dy-passkey-scrim.on .dy-passkey-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.dy-passkey-modal::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 64px; height: 2px;
  background: var(--ember);
}

.dy-passkey-eyebrow {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ember);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dy-passkey-eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--ember-soft), transparent);
}

.dy-passkey-title {
  font-family: var(--f-display);
  font-size: 32px;
  line-height: 1.05;
  color: var(--bone);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  font-weight: 400;
}
.dy-passkey-title em { font-style: italic; color: var(--ember); }

.dy-passkey-sub {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--bone-dim);
  letter-spacing: 0.04em;
  line-height: 1.6;
  margin-bottom: 28px;
}
.dy-passkey-sub b { color: var(--bone); font-weight: 400; }

.dy-passkey-device {
  background: linear-gradient(135deg, var(--ash), var(--char));
  border: 1px solid var(--line-2);
  padding: 28px 24px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
}
.dy-passkey-fingerprint {
  width: 56px; height: 56px;
  border: 1px solid var(--ember);
  border-radius: 50%;
  display: grid; place-items: center;
  position: relative;
}
.dy-passkey-fingerprint::before,
.dy-passkey-fingerprint::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--ember);
  border-radius: 50%;
  opacity: 0;
  animation: dy-passkey-ring 2.4s ease-out infinite;
}
.dy-passkey-fingerprint::after { animation-delay: 1.2s; }
@keyframes dy-passkey-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.7); opacity: 0; }
}
.dy-passkey-fingerprint svg {
  width: 26px; height: 26px;
  fill: var(--ember);
}
.dy-passkey-device-info .dn {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 18px;
  color: var(--bone);
  line-height: 1.1;
}
.dy-passkey-device-info .dm {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--bone-dim);
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.dy-passkey-actions {
  display: flex;
  gap: 10px;
}
.dy-passkey-actions button {
  flex: 1;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid var(--line-2);
}
.dy-passkey-cancel {
  background: transparent;
  color: var(--bone-dim);
}
.dy-passkey-cancel:hover { color: var(--bone); border-color: var(--bone-dim); }
.dy-passkey-confirm {
  background: var(--ember);
  color: var(--void);
  border-color: var(--ember);
  font-weight: 500;
}
.dy-passkey-confirm:hover { background: var(--ember-2); }
.dy-passkey-confirm.is-pending {
  background: var(--ash);
  color: var(--bone-dim);
  border-color: var(--line-2);
  pointer-events: none;
}

.dy-passkey-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--slate);
  text-transform: uppercase;
  text-align: center;
}
.dy-passkey-foot b { color: var(--jolt); font-weight: 400; }


/* ==========================================================================
   HERO VIDEO SPLIT — human × double
   ========================================================================== */

.video-split {
  position: absolute;
  inset: 56px 22px 100px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 28px 1fr;
  gap: 0;
  background: var(--soot);
  overflow: hidden;
}
.video-split .video-slot.dual {
  position: relative;
  inset: 0;
  background: var(--soot);
  overflow: hidden;
}
.video-split .video-slot.dual video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.video-split .video-slot.has-video video { display: block; }
.video-split .video-slot.has-video .video-placeholder { display: none; }
.video-split .video-placeholder {
  position: absolute;
  inset: 0;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 35%, rgba(244, 237, 224, 0.04), transparent),
    linear-gradient(135deg, var(--soot) 0%, var(--ash) 100%);
}
.video-split .video-slot.is-double .video-placeholder {
  background:
    radial-gradient(ellipse 70% 60% at 50% 35%, rgba(255, 91, 31, 0.08), transparent),
    linear-gradient(135deg, var(--soot) 0%, var(--ash) 100%);
}
.video-split .video-slot.is-double .video-placeholder::after {
  /* synthetic scanlines */
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(255, 91, 31, 0.025) 3px, rgba(255, 91, 31, 0.025) 4px);
  pointer-events: none;
}

.video-split .vp-bg {
  position: absolute;
  inset: 18% 22% 0%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 50% 28%, rgba(244, 237, 224, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 75% 55% at 50% 90%, rgba(244, 237, 224, 0.12) 0%, transparent 70%);
  opacity: 0.4;
}
.video-split .video-slot.is-double .vp-bg {
  background:
    radial-gradient(ellipse 60% 40% at 50% 28%, rgba(255, 91, 31, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 75% 55% at 50% 90%, rgba(255, 91, 31, 0.14) 0%, transparent 70%);
  opacity: 0.55;
}

.video-split .vp-pane {
  position: relative;
  z-index: 2;
  background: rgba(10, 8, 7, 0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
  padding: 18px 20px 18px;
  max-width: 90%;
}
.video-split .vp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--bone-dim);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.video-split .vp-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
}
.video-split .video-slot.is-double .vp-eyebrow { color: var(--ember); }
.video-split .vp-title {
  font-family: var(--f-display);
  font-size: 22px;
  line-height: 1.15;
  color: var(--bone);
  letter-spacing: -0.005em;
  margin-bottom: 8px;
  font-weight: 400;
}
.video-split .vp-title em { font-style: italic; color: var(--ember); }
.video-split .video-slot:not(.is-double) .vp-title em { color: var(--bone); font-style: italic; }
.video-split .vp-sub {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--bone-dim);
  line-height: 1.55;
  margin-bottom: 14px;
}
.video-split .vp-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.video-split .vp-play {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--void);
  background: var(--bone);
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.video-split .video-slot.is-double .vp-play {
  background: var(--ember);
}
.video-split .vp-play .vp-tri {
  display: inline-grid;
  place-items: center;
  width: 16px; height: 16px;
  background: var(--void);
  color: var(--bone);
  font-size: 9px;
  padding-left: 1px;
}
.video-split .video-slot.is-double .vp-play .vp-tri { color: var(--ember); }
.video-split .vp-upload {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
  border: 1px solid var(--line-2);
  padding: 10px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s;
}
.video-split .vp-upload:hover { border-color: var(--bone); background: rgba(244, 237, 224, 0.04); }

.video-split .vp-marks-single {
  position: absolute;
  bottom: 14px;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--bone-dim);
  text-transform: uppercase;
  pointer-events: none;
  z-index: 2;
}
.video-split .video-slot.is-double .vp-marks-single { color: var(--ember); }

.video-split .video-slot.is-drop .video-placeholder {
  background: linear-gradient(135deg, rgba(255, 91, 31, 0.16), rgba(255, 91, 31, 0.05));
}

/* The divider between the two slots */
.video-divider {
  position: relative;
  background: linear-gradient(180deg, transparent, var(--line-2) 18%, var(--line-2) 82%, transparent);
  display: grid;
  place-items: center;
}
.video-divider::before, .video-divider::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 1px;
  height: 18px;
  background: var(--ember);
  transform: translateX(-0.5px);
}
.video-divider::before { top: 0; }
.video-divider::after { bottom: 0; }
.video-divider .vd-mark {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  color: var(--ember);
  background: var(--soot);
  padding: 6px 0;
}

/* Floating sync bar */
.video-sync {
  position: absolute;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(10, 8, 7, 0.86);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
  padding: 8px 14px 8px 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--bone-dim);
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.4s;
}
.video-sync.on { display: flex; opacity: 1; }
.video-sync button {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--bone);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 6px 10px;
  cursor: pointer;
  text-transform: uppercase;
}
.video-sync button:hover { border-color: var(--ember); color: var(--ember); }
.vp-sync-label { color: var(--ember); }

@media (max-width: 720px) {
  .video-split { grid-template-columns: 1fr; grid-template-rows: 1fr 24px 1fr; }
  .video-divider {
    background: linear-gradient(90deg, transparent, var(--line-2) 18%, var(--line-2) 82%, transparent);
  }
  .video-divider::before, .video-divider::after {
    width: 18px; height: 1px;
    left: auto; transform: translateY(-0.5px);
  }
  .video-divider::before { top: 50%; left: 0; }
  .video-divider::after { top: 50%; left: auto; right: 0; bottom: auto; }
  .video-divider .vd-mark { padding: 0 6px; }
  .video-sync { bottom: 16px; }
}


/* ==========================================================================
   UNIVERSAL UPLOAD DROPZONES
   ========================================================================== */

[data-dz] {
  position: relative;
  background: var(--void-2);
  border: 1px dashed var(--line-2);
  padding: 22px 22px 18px;
  cursor: pointer;
  transition: all 0.25s;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
[data-dz]:hover {
  border-color: var(--bone-dim);
  background: linear-gradient(135deg, var(--ash), var(--void-2));
}
[data-dz].is-drag {
  border-color: var(--ember);
  border-style: solid;
  background: linear-gradient(135deg, rgba(255, 91, 31, 0.05), var(--void-2));
}
[data-dz].has-items {
  border-style: solid;
  border-color: var(--line-2);
}

[data-dz] .dz-hint {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--bone-dim);
  line-height: 1.6;
}
[data-dz] .dz-hint .dz-icon {
  width: 38px; height: 38px;
  border: 1px solid var(--ember);
  background: rgba(255, 91, 31, 0.04);
  color: var(--ember);
  display: grid;
  place-items: center;
  font-family: var(--f-mono);
  font-size: 16px;
  flex-shrink: 0;
}
[data-dz] .dz-hint b {
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--bone);
  display: block;
  margin-bottom: 2px;
}
[data-dz] .dz-hint .dz-accept {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--slate);
  text-transform: uppercase;
  margin-top: 3px;
}

[data-dz] .dz-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
[data-dz] .dz-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  background: var(--ash);
  border: 1px solid var(--line);
}
[data-dz] .dz-item img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border: 1px solid var(--line-2);
}
[data-dz] .dz-item .dz-ic {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-family: var(--f-mono);
  font-size: 18px;
  color: var(--ember);
  background: var(--void-2);
  border: 1px solid var(--line-2);
}
[data-dz] .dz-name {
  font-family: var(--f-sans);
  font-size: 13px;
  color: var(--bone);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[data-dz] .dz-sub {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--bone-dim);
}
[data-dz] .dz-remove {
  width: 24px;
  height: 24px;
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--bone-dim);
  font-family: var(--f-mono);
  font-size: 11px;
  cursor: pointer;
}
[data-dz] .dz-remove:hover { color: var(--hot); border-color: rgba(255, 45, 85, 0.3); }
