/* =========================================================
   BLOOM SOLUTIONS — Premium Apple-grade edition
   Hero zoom → Laptop (open + cycle + slide right) → Seed → Contact
   ========================================================= */

:root {
  --bg: #f5f4f0;
  --bg-2: #ecebe5;
  --bg-3: #e3e1d8;
  --bg-dark: #0a0a0a;
  --paper: #fbfaf6;
  --ink: #0a0a0a;
  --ink-1: #141413;
  --ink-2: #2a2a28;
  --ink-soft: #5a5a55;
  --ink-mute: #9a9a93;
  --line: #d8d7d0;
  --line-2: #e6e5de;

  --display: "Fraunces", "Times New Roman", serif;
  --body: "Inter", -apple-system, system-ui, sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink-1); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--bg); }
em { font-family: var(--display); font-style: italic; font-weight: 400; }

/* ============== NAV ============== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--gutter);
  background: rgba(245, 244, 240, 0.92);
  backdrop-filter: saturate(140%) blur(6px);
  -webkit-backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1440px; margin: 0 auto;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.nav-logo-mark {
  width: 22px; height: 22px;
  display: block;
  object-fit: contain;
}
.nav-cta {
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-cta:hover { transform: translateY(-1px); opacity: 0.9; }

.nav-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 9px 14px;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-1);
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  font-family: var(--body);
}
.nav-link:hover { background: rgba(10,10,10,0.06); }
.nav-link[aria-expanded="true"] {
  background: rgba(10,10,10,0.08);
}

/* ===== Contact popover ===== */
.contact-pop {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 340px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 24px 60px -16px rgba(20,20,18,0.22),
    0 8px 22px -10px rgba(20,20,18,0.18);
  padding: 22px 22px 16px;
  z-index: 60;
  opacity: 0;
  transform: translateY(-6px) scale(0.985);
  transform-origin: top right;
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}
.contact-pop[hidden] { display: none; }
.contact-pop.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.cp-arrow {
  position: absolute;
  top: -7px;
  right: 28px;
  width: 12px; height: 12px;
  background: var(--paper);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: rotate(45deg);
  border-top-left-radius: 3px;
}
.cp-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 8px;
}
.cp-eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.cp-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 6px 0 4px;
  color: var(--ink-1);
}
.cp-title em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
}
.cp-lede {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.cp-list {
  display: flex;
  flex-direction: column;
}
.cp-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink-1);
  transition: padding 0.25s ease;
}
.cp-row:last-child { border-bottom: 0; }
.cp-row:hover {
  padding-left: 8px;
  padding-right: 0;
}
.cp-row:hover .cp-row-arrow {
  transform: translateX(3px);
  opacity: 1;
}
.cp-row-label {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.cp-row-value {
  font-size: 13.5px;
  letter-spacing: -0.005em;
  color: var(--ink-1);
}
.cp-row-arrow {
  font-size: 13px;
  color: var(--ink-soft);
  opacity: 0.6;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.cp-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line-2);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

@media (max-width: 560px) {
  .contact-pop {
    width: calc(100vw - 32px);
    right: -8px;
  }
  .cp-arrow { right: 36px; }
  .nav-link { padding: 9px 10px; }
}

.nav-progress {
  position: absolute; bottom: 0; left: 0;
  height: 1px; background: var(--ink);
  width: 0%;
  transition: width 0.1s linear;
}

/* ============== ACT 1 · ZOOM HERO ============== */
.zoom {
  position: relative;
  height: 240vh;
  background: var(--bg);
}
.zoom-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.zoom-wordmark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(280px, 44vw, 460px);
  z-index: 4;
  pointer-events: none;
  white-space: nowrap;
  will-change: opacity, transform, gap;
}
.zoom-wordmark .zw-l,
.zoom-wordmark .zw-r {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(28px, 4.4vw, 64px);
  letter-spacing: -0.02em;
  color: var(--ink-1);
}
.zoom-wordmark .zw-r { font-style: italic; color: var(--ink-soft); }

.zoom-bloom-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 3;
  will-change: transform, opacity;
}
.zoom-bloom {
  width: min(360px, 60vw);
  aspect-ratio: 1;
  display: block;
  object-fit: contain;
  transform-origin: 50% 50%;
  will-change: transform;
}

/* invert master black logo to white (for dark surfaces) */
.logo-invert {
  filter: invert(1);
}

.zoom-headline {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(80px, 14vw, 220px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-align: center;
  margin: 0;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  text-wrap: balance;
  will-change: opacity, transform;
}
.zoom-headline .zh-line {
  display: block;
  overflow: hidden;
}
.zoom-headline em {
  background: linear-gradient(180deg, #fafaf8 0%, #737373 35%, #0a0a0a 50%, #5a5a5a 65%, #1a1a1a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.zoom-cue {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 6;
  will-change: opacity;
}
.zoom-cue-arrow {
  display: inline-block;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* =========================================================
   ACT 2 · LAPTOP — premium showcase
   ========================================================= */
.product {
  position: relative;
  height: 320vh;
  background:
    radial-gradient(ellipse 120vw 80vh at 50% 30%, var(--bg) 0%, var(--bg-2) 70%, var(--bg-3) 100%);
}
.product-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
  contain: layout paint;
  transform: translateZ(0);
}

/* Ambient backdrop ----------------------------------------- */
.product-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.pbg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80vw 60vh at 50% 50%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80vw 60vh at 50% 50%, black 0%, transparent 75%);
  opacity: 0.6;
}
.pbg-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) translateZ(0);
  width: 90vw; height: 70vh;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.25) 35%, rgba(255,255,255,0) 70%);
  opacity: 0.7;
  pointer-events: none;
}
.pbg-dark {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, #0a0a0c 0%, #050507 70%, #000 100%);
  opacity: var(--pbg-dark, 0);
  transition: opacity 0.15s linear;
  z-index: 2;
  pointer-events: none;
}

/* Scene progress ------------------------------------------- */
.scene-progress {
  position: absolute;
  top: clamp(28px, 4vh, 44px);
  right: clamp(40px, 6vw, 100px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 8;
  font-family: var(--body);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.scene-progress.in {
  opacity: 1;
  transform: translateY(0);
}
.sp-dot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.2em;
  font-feature-settings: "tnum";
  color: var(--ink-mute);
  transition: color 0.5s;
}
.sp-dot i {
  width: 28px;
  height: 1px;
  background: var(--ink-mute);
  display: block;
  transition: background 0.5s, height 0.5s, width 0.5s;
}
.sp-dot b {
  font-weight: 500;
  font-style: normal;
}
.sp-dot.active {
  color: var(--ink);
}
.sp-dot.active i {
  background: var(--ink);
  height: 2px;
  width: 36px;
}

/* Floating caption labels --------------------------------- */
.cap-stack {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}
.cap {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(-12px);
  display: flex;
  align-items: baseline;
  gap: 14px;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.cap.in {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.cap-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
}
.cap-label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

/* =========================================================
   LAPTOP — 3D opening + slide
   ========================================================= */
.laptop-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: 2400px;
  z-index: 5;
  pointer-events: none;
  padding: 60px 0 100px;
}
.laptop {
  position: relative;
  /* sized to fit the viewport — never larger than 820px wide, never overflows
     vertically (16/10.2 aspect → 80vh tall maxes at 80vh*1.568=125vh wide) */
  width: min(900px, 75vw, 70vh * 1.568);
  transform-style: preserve-3d;
  will-change: transform, opacity;
  transition: none;
}

/* Lid wrapper holds the screen + bezel.
   Origin is at the bottom edge so a rotateX from JS folds it open like a hinge. */
.laptop-lid {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10.2;
  will-change: transform;
  transform-origin: bottom center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.laptop-bezel {
  backface-visibility: hidden;
}

/* Bezel = the silver/dark frame around the screen */
.laptop-bezel {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #1c1c1c 0%, #0c0c0c 100%);
  border-radius: 16px 16px 4px 4px;
  padding: 18px 14px 14px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 0 0 1px rgba(0,0,0,0.4),
    0 20px 40px -16px rgba(0,0,0,0.32);
}
.laptop-camera {
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  background: #050505;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05);
}
.laptop-camera::after {
  content: "";
  position: absolute;
  inset: 1px;
  background: radial-gradient(circle, #1a3a3a 0%, #050505 60%);
  border-radius: 50%;
}
.laptop-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
/* Screen-off mask — opaque black during lid-open, fades out when lid is fully open */
.laptop-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #050505;
  z-index: 30;
  pointer-events: none;
  opacity: calc(1 - var(--screen-alpha, 1));
  transition: opacity 0.15s linear;
}
.screen-glare {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 28%, rgba(255,255,255,0) 72%, rgba(255,255,255,0.06) 100%);
  pointer-events: none;
  z-index: 20;
  mix-blend-mode: overlay;
}

/* Base — front-perspective SVG with keyboard + trackpad baked in */
.laptop-base {
  position: relative;
  width: 100%;
  /* aspect-ratio matches the SVG viewBox: 1200 / 240 = 5 */
  aspect-ratio: 1200 / 240;
  margin-top: -1px;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,0.45));
}
.laptop-base-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  user-select: none;
  pointer-events: none;
}
.laptop-shadow {
  position: absolute;
  bottom: -52px; left: 4%; right: 4%;
  height: 60px;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0) 65%);
  filter: blur(6px);
  z-index: -1;
  will-change: opacity, transform;
}

/* =========================================================
   SCENES — common
   ========================================================= */
.scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease-out;
  display: flex;
  flex-direction: column;
  font-family: var(--body);
  contain: layout paint;
  will-change: opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}
/* Pause all infinite animations inside non-active scenes — huge perf win */
.scene * {
  animation-play-state: paused;
}
.scene.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.scene.active * {
  animation-play-state: running;
}

.scene-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: #f3f2ee;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 11px;
  flex-shrink: 0;
}
.scene-chrome.dark {
  background: #0e0e0e;
  color: #ccc;
  border-bottom-color: rgba(255,255,255,0.06);
}
.sc-dots { display: flex; gap: 5px; }
.sc-dots i {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: block;
}
.sc-dots i:nth-child(1) { background: #ff5f57; }
.sc-dots i:nth-child(2) { background: #febc2e; }
.sc-dots i:nth-child(3) { background: #28c840; }
.sc-url {
  margin-left: auto;
  margin-right: auto;
  background: rgba(0,0,0,0.05);
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 10.5px;
  color: var(--ink-soft);
  font-feature-settings: "tnum";
}
.scene-chrome.dark .sc-url {
  background: rgba(255,255,255,0.06);
  color: #aaa;
}
.sc-tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sc-tag.dark { color: #ccc; }
.sc-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ff5f57;
  display: inline-block;
  animation: pulse 1.6s ease-in-out infinite;
}
.sc-pulse.green { background: #28c840; }
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 currentColor; }
  50% { opacity: 0.6; box-shadow: 0 0 0 4px transparent; }
}

.scene-body { flex: 1; overflow: hidden; position: relative; }

/* =========================================================
   SCENE 1 · BRAND
   ========================================================= */
.scene-body.brand {
  background: linear-gradient(135deg, #faf9f5 0%, #efece2 100%);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}
.brand-left {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.brand-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.brand-pulse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: #1a1a1a;
}
.brand-pulse i {
  width: 6px; height: 6px;
  background: #1a1a1a;
  border-radius: 50%;
  animation: pulse 1.4s ease-in-out infinite;
}
.brand-title-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.brand-eyebrow {
  font-family: var(--display);
  font-style: italic;
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.brand-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
}
.brand-title em {
  background: linear-gradient(180deg, #1a1a1a 0%, #6a5a3e 50%, #1a1a1a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-tag {
  font-size: 11.5px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bb-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.brand-palette {
  display: flex;
  gap: 4px;
  height: 28px;
}
.brand-palette span {
  flex: 1;
  border-radius: 3px;
  box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.05);
  animation: palette-in 0.6s ease both;
}
.brand-palette span:nth-child(1) { animation-delay: 0.1s; }
.brand-palette span:nth-child(2) { animation-delay: 0.2s; }
.brand-palette span:nth-child(3) { animation-delay: 0.3s; }
.brand-palette span:nth-child(4) { animation-delay: 0.4s; }
.brand-palette span:nth-child(5) { animation-delay: 0.5s; }
@keyframes palette-in {
  from { transform: scaleY(0); opacity: 0; }
  to   { transform: scaleY(1); opacity: 1; }
}

.brand-fonts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bf-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.5);
  border-radius: 4px;
}
.bf-aa {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: #1a1a1a;
  color: #fff;
  border-radius: 3px;
  font-size: 18px;
  line-height: 1;
}
.bf-aa.display { font-family: var(--display); font-style: italic; }
.bf-aa.body { font-family: var(--body); font-weight: 600; font-size: 14px; }
.bf-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bf-meta b { font-size: 12px; font-weight: 600; color: var(--ink); }
.bf-meta i {
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.brand-right {
  background: #f0ede4;
  padding: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.brand-canvas {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.brand-mock {
  background: #fbfaf6;
  border-radius: 6px;
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 6px 24px -8px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}
.bm-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bm-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--display);
  font-size: 13px;
}
.bm-logo img { width: 12px; height: 12px; }
.bm-nav {
  display: inline-flex;
  gap: 4px;
}
.bm-nav i {
  width: 18px; height: 1.5px;
  background: #1a1a1a;
  display: block;
  border-radius: 1px;
}
.bm-nav i:nth-child(2) { width: 12px; }
.bm-nav i:nth-child(3) { width: 16px; }

.bm-hero {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  height: 70px;
}
.bm-hero-img {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #2a2520 0%, #4a3f2e 40%, #c8b89a 100%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 4px, transparent 4px 8px);
  background-blend-mode: overlay;
}
.bm-hero-tag {
  position: absolute;
  bottom: 8px; left: 10px;
  font-size: 8px;
  letter-spacing: 0.3em;
  color: #f0ede4;
  font-weight: 500;
}
.bm-h {
  font-family: var(--display);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.02em;
}
.bm-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.bm-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bm-card-img {
  aspect-ratio: 3/4;
  border-radius: 3px;
  background: linear-gradient(155deg, #d8cdb4 0%, #bda88a 50%, #8a7959 100%);
}
.bm-card:nth-child(2) .bm-card-img { background: linear-gradient(155deg, #c4b59a 0%, #8a7959 100%); }
.bm-card:nth-child(3) .bm-card-img { background: linear-gradient(155deg, #6a5e48 0%, #2a2520 100%); }
.bm-card span {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

.brand-progress {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 6px;
  padding: 10px 12px;
}
.bp-row {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  color: var(--ink-soft);
}
.bp-row i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  margin-left: 3px;
}
.bp-row.done i { background: #1a1a1a; }
.bp-row.active i {
  background: #1a1a1a;
  box-shadow: 0 0 0 4px rgba(26,26,26,0.1);
  animation: pulse 1.4s infinite;
}
.bp-row.done { color: var(--ink); }
.bp-row.active { color: var(--ink); font-weight: 500; }
.bp-row b {
  font-weight: 500;
  font-size: 11px;
  color: var(--ink);
}
.bp-spin {
  display: inline-block;
  width: 10px; height: 10px;
  border: 1.4px solid var(--ink-mute);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   SCENE 2 · PERFORMANCE
   ========================================================= */
.scene-body.perf {
  background: #050505;
  color: #eaeae6;
  display: grid;
  grid-template-columns: 160px 1fr;
}
.perf-side {
  background: #0a0a0a;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.perf-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 13px;
  color: #fff;
}
.perf-logo img { width: 14px; height: 14px; opacity: 0.95; }
.perf-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
}
.perf-nav span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  padding: 7px 10px;
  border-radius: 4px;
  color: #888;
  cursor: default;
  transition: background 0.2s;
}
.perf-nav span i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #555;
  display: block;
}
.perf-nav span.active {
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.perf-nav span.active i {
  background: #28c840;
  box-shadow: 0 0 6px #28c840;
}
.perf-status {
  margin-top: auto;
  font-size: 10px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
}
.ps-dot {
  width: 5px; height: 5px;
  background: #28c840;
  border-radius: 50%;
  animation: pulse 1.6s infinite;
}

.perf-main {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.perf-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.perf-head h5 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  letter-spacing: -0.01em;
}
.perf-range {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #777;
}

.perf-hero {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.perf-kpi {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.perf-kpi.hl {
  background: linear-gradient(135deg, rgba(40,200,64,0.08), rgba(255,255,255,0.02));
  border-color: rgba(40,200,64,0.18);
}
.pk-l {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #888;
}
.perf-kpi b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: #fff;
  font-feature-settings: "tnum";
}
.perf-kpi b small { font-size: 14px; color: #888; }
.pk-d {
  font-size: 9.5px;
  color: #888;
}
.pk-d.up { color: #28c840; }

.perf-chart {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.05);
  padding: 10px;
  height: 110px;
}
.perf-chart svg {
  width: 100%; height: 100%;
  display: block;
}
.pc-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: chart-draw 2.4s 0.4s ease-out forwards;
}
@keyframes chart-draw { to { stroke-dashoffset: 0; } }

.perf-channels {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pc-row {
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  gap: 14px;
  align-items: center;
  font-size: 11px;
  color: #aaa;
}
.pc-name { font-weight: 500; color: #ddd; }
.pc-bar {
  background: rgba(255,255,255,0.05);
  border-radius: 99px;
  height: 5px;
  overflow: hidden;
}
.pc-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #fff 0%, #888 100%);
  border-radius: 99px;
  width: 0;
  animation: bar-fill 1.4s 0.6s cubic-bezier(.2,.8,.2,1) forwards;
}
.pc-row:nth-child(2) .pc-bar span { animation-delay: 0.8s; }
.pc-row:nth-child(3) .pc-bar span { animation-delay: 1.0s; }
@keyframes bar-fill { from { width: 0 !important; } }
.pc-val {
  text-align: right;
  font-feature-settings: "tnum";
  color: #fff;
  font-weight: 500;
}

/* =========================================================
   SCENE 3 · SEO/AEO
   ========================================================= */
.scene-body.seo {
  background: #faf9f5;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  font-size: 11px;
}
.seo-left {
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid rgba(0,0,0,0.06);
}
.seo-h {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.seo-score {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ss-num {
  font-family: var(--display);
  font-weight: 400;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #1a1a1a 0%, #6a6a65 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ss-num small {
  font-size: 28px;
  letter-spacing: -0.02em;
}
.seo-score span {
  font-size: 11px;
  color: var(--ink-soft);
}
.seo-engines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.se-row {
  display: grid;
  grid-template-columns: 70px 1fr 50px;
  gap: 12px;
  align-items: center;
  font-size: 10.5px;
}
.se-name {
  font-weight: 500;
  color: var(--ink);
}
.se-bar {
  background: rgba(0,0,0,0.06);
  border-radius: 99px;
  height: 4px;
  overflow: hidden;
}
.se-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #1a1a1a 0%, #5a5a55 100%);
  border-radius: 99px;
  width: 0;
  animation: bar-fill 1.6s 0.4s cubic-bezier(.2,.8,.2,1) forwards;
}
.se-row:nth-child(2) .se-bar span { animation-delay: 0.55s; }
.se-row:nth-child(3) .se-bar span { animation-delay: 0.7s; }
.se-row:nth-child(4) .se-bar span { animation-delay: 0.85s; }
.se-pos {
  text-align: right;
  font-weight: 500;
  color: var(--ink);
  font-feature-settings: "tnum";
}

.seo-right {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f3f1e8;
}
.seo-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sl-row {
  display: grid;
  grid-template-columns: 1fr 40px 40px;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  background: #fbfaf6;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 4px;
  font-size: 10.5px;
  opacity: 0;
  animation: row-in 0.5s ease both;
}
.sl-row:nth-child(1) { animation-delay: 0.5s; }
.sl-row:nth-child(2) { animation-delay: 0.6s; }
.sl-row:nth-child(3) { animation-delay: 0.7s; }
.sl-row:nth-child(4) { animation-delay: 0.8s; }
.sl-row:nth-child(5) { animation-delay: 1.0s; }
.sl-row:nth-child(6) { animation-delay: 1.1s; }
@keyframes row-in {
  from { opacity: 0; transform: translateX(8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.sl-q {
  font-family: var(--display);
  font-style: italic;
  font-size: 12px;
  color: var(--ink);
}
.sl-pos {
  text-align: right;
  font-weight: 600;
  color: var(--ink);
  font-feature-settings: "tnum";
}
.sl-tr {
  text-align: right;
  font-size: 10px;
  color: var(--ink-mute);
}
.sl-tr.up { color: #1a8a3a; }
.sl-row.ai {
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  border-color: #1a1a1a;
  grid-template-columns: 1fr auto;
}
.sl-row.ai .sl-q { color: #f5f4ed; font-style: italic; }
.sl-cite {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #fff, #c8b89a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* =========================================================
   SCENE 2 · POS / KASSESYSTEM (custom built)
   ========================================================= */
.scene-body.pos {
  background: linear-gradient(135deg, #f6f4ee 0%, #ebe6d9 100%);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  color: var(--ink-1);
}
.pos-left {
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid rgba(0,0,0,0.06);
}
.pos-meta { display: flex; flex-direction: column; gap: 8px; }
.pm-eye {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.pos-meta h5 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.pos-meta p {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}
.pos-stack { display: flex; flex-direction: column; gap: 6px; }
.pos-line {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  animation: pos-line-in 0.6s ease both;
}
.pos-line:nth-child(1) { animation-delay: 0.4s; }
.pos-line:nth-child(2) { animation-delay: 0.5s; }
.pos-line:nth-child(3) { animation-delay: 0.6s; }
.pos-line:nth-child(4) { animation-delay: 0.7s; }
.pos-line:nth-child(5) { animation-delay: 0.8s; }
@keyframes pos-line-in {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: translateX(0); }
}
.pos-line i {
  width: 6px; height: 6px; border-radius: 50%;
  background: #c8b89a;
  flex-shrink: 0;
}
.pos-line.active {
  color: var(--ink-1);
  font-weight: 500;
}
.pos-line.active i {
  background: #1a8a3a;
  box-shadow: 0 0 0 3px rgba(26,138,58,0.15);
  animation: pos-pulse 1.6s ease-in-out infinite;
}
@keyframes pos-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(26,138,58,0.15); }
  50% { box-shadow: 0 0 0 6px rgba(26,138,58,0.05); }
}
.pos-stat {
  margin-top: auto;
  padding: 12px 14px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ps-row {
  display: flex; justify-content: space-between;
  font-size: 10.5px;
  color: var(--ink-soft);
}
.ps-row b {
  color: var(--ink-1);
  font-feature-settings: "tnum";
  font-weight: 500;
}
.ps-row.hl {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 11px;
}
.ps-row.hl b {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.pos-right {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pos-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(0,0,0,0.04);
  border-radius: 8px;
  width: fit-content;
}
.pt {
  font-size: 10.5px;
  padding: 6px 14px;
  border-radius: 5px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  cursor: default;
}
.pt.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  font-weight: 500;
}
.pos-grid {
  display: grid;
  grid-template-columns: 100px 1fr 160px;
  gap: 10px;
  flex: 1;
  min-height: 0;
}
.pg-cat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px 0;
  border-right: 1px solid rgba(0,0,0,0.06);
}
.pgc {
  font-size: 11px;
  padding: 8px 12px;
  border-radius: 5px;
  color: var(--ink-soft);
  cursor: default;
  letter-spacing: 0.02em;
}
.pgc.active {
  background: var(--ink);
  color: var(--bg);
  font-weight: 500;
}
.pg-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  align-content: start;
}
.pg-item {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 6px;
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  cursor: default;
  font-family: inherit;
  transition: all 0.3s;
  animation: pg-in 0.5s ease both;
}
.pg-item:nth-child(1) { animation-delay: 0.5s; }
.pg-item:nth-child(2) { animation-delay: 0.55s; }
.pg-item:nth-child(3) { animation-delay: 0.6s; }
.pg-item:nth-child(4) { animation-delay: 0.65s; }
.pg-item:nth-child(5) { animation-delay: 0.7s; }
.pg-item:nth-child(6) { animation-delay: 0.75s; }
@keyframes pg-in {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
.pg-item.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  transform: translateY(-1px);
}
.pgi-name {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.pgi-price {
  font-size: 10px;
  color: var(--ink-soft);
  font-feature-settings: "tnum";
}
.pg-item.active .pgi-price { color: rgba(255,255,255,0.7); }
.pg-cart {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 10.5px;
}
.pgc-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 4px;
}
.pgc-head span:first-child {
  font-weight: 500;
  font-size: 11px;
}
.pgc-num {
  font-size: 9.5px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pgc-line {
  display: flex; justify-content: space-between;
  color: var(--ink-soft);
  animation: line-in 0.5s ease both;
}
.pgc-line:nth-child(2) { animation-delay: 0.7s; }
.pgc-line:nth-child(3) { animation-delay: 0.85s; }
.pgc-line:nth-child(4) { animation-delay: 1.0s; }
@keyframes line-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.pgc-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.pgc-total span { font-size: 10.5px; color: var(--ink-soft); }
.pgc-total b {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.pgc-pay {
  margin-top: 6px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: default;
}

/* =========================================================
   BLOOM BOOKING · Calendar (replaces .pos-grid for scene 2)
   ========================================================= */
.bb-cal {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 10px 12px;
  min-height: 0;
}
.bb-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.bb-day {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.bb-day b {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.bb-day i {
  font-family: var(--display);
  font-style: normal;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink-1);
}
.bb-staff {
  display: flex;
  gap: 10px;
}
.bs {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.bs i {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.bb-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 28px 1fr 1fr 1fr;
  gap: 4px;
  position: relative;
  min-height: 0;
}
.bb-times {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px 0 6px;
  font-size: 9px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  font-feature-settings: "tnum";
}
.bb-col {
  position: relative;
  border-left: 1px dashed rgba(0,0,0,0.06);
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent calc(100% / 7 - 1px),
      rgba(0,0,0,0.04) calc(100% / 7 - 1px),
      rgba(0,0,0,0.04) calc(100% / 7)
    );
}
.bb-slot {
  position: absolute;
  left: 3px; right: 3px;
  top: var(--top);
  height: var(--h);
  border-radius: 5px;
  padding: 4px 7px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  font-size: 9px;
  letter-spacing: 0.01em;
  overflow: hidden;
  animation: bb-slot-in 0.5s ease both;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.bb-slot:nth-child(1) { animation-delay: 0.4s; }
.bb-slot:nth-child(2) { animation-delay: 0.5s; }
.bb-slot:nth-child(3) { animation-delay: 0.6s; }
.bb-slot:nth-child(4) { animation-delay: 0.7s; }
@keyframes bb-slot-in {
  from { opacity: 0; transform: translateX(-4px); }
  to { opacity: 1; transform: translateX(0); }
}
.bb-slot b {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.bb-slot span {
  font-size: 8.5px;
  opacity: 0.75;
}
/* slot color tones, by staff column */
.bb-slot.a { background: #f3eee0; color: #5a4c2e; border: 1px solid #e2d6b1; }
.bb-slot.b { background: #ece4d2; color: #443a22; border: 1px solid #d4c5a3; }
.bb-slot.c { background: #efe9da; color: #2a2620; border: 1px solid #ccc1a3; }
.bb-slot.t1 { /* short */ }
.bb-slot.t2 { /* medium */ }
.bb-slot.t3 { /* AI-booked */ }
.bb-slot.t4 { /* long */ }
.bb-slot.new {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  animation: bb-slot-in 0.5s ease both, bb-new-pulse 2.4s ease-in-out infinite;
  animation-delay: 1s, 1.6s;
  box-shadow:
    0 0 0 0 rgba(26,26,26,0.4),
    0 4px 14px rgba(0,0,0,0.18);
}
.bb-slot.new b {
  font-weight: 600;
  letter-spacing: 0.04em;
}
.bb-slot.new span {
  opacity: 0.85;
}
@keyframes bb-new-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(26,26,26,0.0), 0 4px 14px rgba(0,0,0,0.18); }
  50% { box-shadow: 0 0 0 6px rgba(26,26,26,0.08), 0 4px 14px rgba(0,0,0,0.22); }
}

.bb-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 8px;
}
.bb-ai {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 8px 12px;
}
.bb-ai-pulse {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}
.bb-ai-pulse i {
  width: 2px;
  background: linear-gradient(180deg, #c8b89a, #7a6a4e);
  border-radius: 1px;
  animation: bb-bar 1.1s ease-in-out infinite;
}
.bb-ai-pulse i:nth-child(1) { height: 60%; animation-delay: 0s; }
.bb-ai-pulse i:nth-child(2) { height: 100%; animation-delay: 0.15s; }
.bb-ai-pulse i:nth-child(3) { height: 75%; animation-delay: 0.3s; }
@keyframes bb-bar {
  0%, 100% { transform: scaleY(0.6); }
  50% { transform: scaleY(1.1); }
}
.bb-ai-txt { display: flex; flex-direction: column; gap: 1px; }
.bb-ai-txt b {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-1);
}
.bb-ai-txt span {
  font-size: 9.5px;
  color: var(--ink-soft);
  font-style: italic;
}
.bb-points {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  background: linear-gradient(135deg, #2a2520 0%, #0a0a0a 100%);
  color: #f5e8c8;
  border-radius: 8px;
  padding: 8px 14px;
  min-width: 90px;
}
.bb-points span {
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
}
.bb-points b {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #fff;
  background: linear-gradient(90deg, #fff, #c8b89a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================================================
   SCENE 2 · AI CHATBOT (Bergen Rør)
   ========================================================= */
.scene-body.chat {
  background: linear-gradient(135deg, #f5f3ec 0%, #e6e2d3 100%);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  color: var(--ink-1);
}
.chat-left {
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid rgba(0,0,0,0.06);
}
.chat-meta { display: flex; flex-direction: column; gap: 8px; }
.cm-eye {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.chat-meta h5 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.chat-meta p {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}
.chat-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 8px;
  padding: 10px;
}
.cs-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 4px;
  border-right: 1px solid rgba(0,0,0,0.05);
}
.cs-cell:last-child { border-right: 0; }
.cs-num {
  font-family: var(--display);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}
.cs-num small {
  font-size: 0.55em;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-left: 1px;
  font-family: var(--body);
}
.cs-lbl {
  font-size: 8.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.2;
}
.chat-stack { display: flex; flex-direction: column; gap: 0; }
.cl-line {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10.5px;
  color: var(--ink-soft);
  padding: 7px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  letter-spacing: 0.01em;
}
.cl-line i {
  width: 6px; height: 6px; border-radius: 50%;
  background: #c8b89a;
  flex-shrink: 0;
}
.cl-line.active {
  color: var(--ink-1);
  font-weight: 500;
}
.cl-line.active i {
  background: #1a8a3a;
  box-shadow: 0 0 0 3px rgba(26,138,58,0.15);
  animation: cl-pulse 1.6s ease-in-out infinite;
}
@keyframes cl-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(26,138,58,0.15); }
  50% { box-shadow: 0 0 0 6px rgba(26,138,58,0.05); }
}

.chat-right {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.chat-window {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  box-shadow: 0 6px 24px -8px rgba(0,0,0,0.08);
  min-height: 0;
}
.cw-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: linear-gradient(180deg, #fafafa, #f4f4f4);
}
.cw-h-l { display: flex; align-items: center; gap: 10px; }
.cw-avatar {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f4d8a 0%, #0a2447 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.cw-avatar-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid rgba(31,77,138,0.4);
  animation: cw-ring 2s ease-out infinite;
  pointer-events: none;
}
@keyframes cw-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.3); opacity: 0; }
}
.cw-h-txt { display: flex; flex-direction: column; gap: 1px; }
.cw-h-txt b {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.cw-h-txt span {
  font-size: 9.5px;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.cw-online {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #1a8a3a;
  display: inline-block;
}
.cw-h-r {
  font-size: 14px;
  color: var(--ink-soft);
}

.cw-body {
  flex: 1;
  overflow: hidden;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background:
    radial-gradient(ellipse at top, #fafafa, #fff);
}
.cw-msg {
  max-width: 76%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: cw-msg-in 0.45s ease both;
  opacity: 0;
}
.cw-msg:nth-child(1) { animation-delay: 0.4s; }
.cw-msg:nth-child(2) { animation-delay: 0.7s; }
.cw-msg:nth-child(3) { animation-delay: 1.0s; }
.cw-msg:nth-child(4) { animation-delay: 1.3s; }
.cw-msg:nth-child(5) { animation-delay: 1.6s; }
.cw-msg:nth-child(6) { animation-delay: 1.9s; }
.cw-msg:nth-child(7) { animation-delay: 2.3s; }
.cw-msg:nth-child(8) { animation-delay: 2.7s; }
@keyframes cw-msg-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.cw-bot {
  align-self: flex-start;
}
.cw-user {
  align-self: flex-end;
  align-items: flex-end;
}
.cw-text {
  font-size: 11px;
  line-height: 1.45;
  padding: 8px 12px;
  border-radius: 14px;
  letter-spacing: 0.005em;
}
.cw-bot .cw-text {
  background: #f1ede2;
  color: var(--ink-1);
  border-bottom-left-radius: 4px;
}
.cw-user .cw-text {
  background: linear-gradient(135deg, #1f4d8a 0%, #0a2447 100%);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.cw-time {
  font-size: 8.5px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  font-feature-settings: "tnum";
  padding: 0 4px;
}

.cw-card {
  max-width: 84% !important;
}
.cw-msg.cw-card .cw-text { display: none; }
.cw-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1a8a3a;
  color: #fff;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 10px 10px 0 0;
}
.cw-card-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.6);
  animation: cw-dot 1.5s ease-in-out infinite;
}
@keyframes cw-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.6); }
  50% { box-shadow: 0 0 0 5px rgba(255,255,255,0); }
}
.cw-card-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-top: 0;
  padding: 8px 12px;
  font-size: 10.5px;
  color: var(--ink-soft);
}
.cw-card-row b {
  color: var(--ink-1);
  font-weight: 500;
  font-feature-settings: "tnum";
}
.cw-card-foot {
  background: #fafafa;
  border: 1px solid rgba(0,0,0,0.06);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  padding: 6px 12px;
  font-size: 9.5px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.cw-typing .cw-text { display: none; }
.cw-typing {
  align-self: flex-start;
}
.cw-typing-dots {
  display: inline-flex;
  gap: 4px;
  padding: 10px 14px;
  background: #f1ede2;
  border-radius: 14px 14px 14px 4px;
}
.cw-typing-dots i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ink-soft);
  animation: cw-typing 1.2s ease-in-out infinite;
}
.cw-typing-dots i:nth-child(1) { animation-delay: 0s; }
.cw-typing-dots i:nth-child(2) { animation-delay: 0.2s; }
.cw-typing-dots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes cw-typing {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-3px); opacity: 1; }
}

.cw-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: #fafafa;
}
.cw-i-text {
  font-size: 10.5px;
  color: var(--ink-mute);
  letter-spacing: 0.01em;
}
.cw-i-send {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f4d8a 0%, #0a2447 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
}

/* =========================================================
   MIRRO · brand display + swipe deck
   ========================================================= */
.mirro-display {
  font-family: var(--display);
  font-weight: 300;
  font-size: 32px;
  letter-spacing: 0.18em;
  margin: 8px 0 4px;
  color: var(--ink-1);
}
.mirro-tag {
  font-size: 9px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 8px !important;
  font-weight: 500;
}
.as-icon.mirro {
  background: #f0ebe0;
  border: 1px solid rgba(0,0,0,0.08);
}
.as-mirro-mark {
  font-family: var(--display);
  font-size: 22px;
  color: #1a1a1a;
  letter-spacing: -0.05em;
  font-weight: 300;
}

.mirro-screen {
  background: linear-gradient(180deg, #f4ede1 0%, #e8e0cf 100%);
}
.mirro-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px 10px;
}
.mirro-logo {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.32em;
  font-weight: 400;
  color: var(--ink-1);
}
.mirro-h-r {
  font-size: 13px;
  color: var(--ink-1);
}
.mirro-deck {
  position: relative;
  flex: 1;
  margin: 4px 14px 8px;
  perspective: 800px;
}
.mc {
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 6px 20px -6px rgba(0,0,0,0.3),
    0 0 0 1px rgba(0,0,0,0.04);
  transform-origin: center bottom;
}
.mc-3 {
  transform: scale(0.92) translateY(-10px) rotate(-3deg);
  opacity: 0.5;
}
.mc-2 {
  transform: scale(0.96) translateY(-5px) rotate(2deg);
  opacity: 0.8;
}
.mc-1 {
  transform: rotate(-1deg);
  animation: mc-swipe 5s ease-in-out infinite;
}
@keyframes mc-swipe {
  0%, 60% { transform: rotate(-1deg) translateX(0); opacity: 1; }
  75% { transform: rotate(8deg) translateX(40px); opacity: 0.8; }
  85% { transform: rotate(8deg) translateX(40px); opacity: 0; }
  86% { transform: rotate(-1deg) translateX(0); opacity: 0; }
  100% { transform: rotate(-1deg) translateX(0); opacity: 1; }
}
.mc-img {
  position: relative;
  height: 70%;
  width: 100%;
}
.mc-c1 { background: linear-gradient(160deg, #4a4137 0%, #1a1612 100%); }
.mc-c2 { background: linear-gradient(160deg, #c2b69d 0%, #8a7456 100%); }
.mc-c3 {
  background:
    radial-gradient(ellipse at 50% 40%, #d4c5a3 0%, #8a7456 60%, #3a2818 100%);
}
.mc-c3::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2) 0%, transparent 40%);
}
.mc-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(0,0,0,0.78);
  color: #fff;
  font-size: 7.5px;
  letter-spacing: 0.22em;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  z-index: 2;
}
.mc-meta {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.mc-brand {
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.mc-name {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: 2px;
  color: var(--ink-1);
}
.mc-price {
  font-size: 10px;
  margin-top: 2px;
  font-feature-settings: "tnum";
  color: var(--ink-1);
}

.mirro-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 12px 0 18px;
}
.ma {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 300;
  box-shadow:
    0 4px 12px rgba(0,0,0,0.12),
    0 0 0 1px rgba(0,0,0,0.04);
  transition: transform 0.3s;
}
.ma-x { color: #c44; }
.ma-bm { color: #c8b89a; }
.ma-heart {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #1a1a1a 0%, #3a3530 100%);
  color: #fff;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.05em;
  font-weight: 300;
  box-shadow:
    0 6px 18px rgba(0,0,0,0.25),
    0 0 0 1px rgba(0,0,0,0.1);
  animation: ma-pulse 2.4s ease-in-out infinite;
}
@keyframes ma-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* =========================================================
   SCENE 3 · iOS SHOPPING APP (custom built)
   ========================================================= */
.scene-body.app {
  background:
    radial-gradient(ellipse at 30% 40%, #f4ede1 0%, #e8e0cf 60%, #ddd2bb 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}
.scene-body.app::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 70%, rgba(200,184,154,0.4) 0%, transparent 50%);
  pointer-events: none;
}
.app-left {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1;
}
.am-eye {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.app-meta h5 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 8px 0 6px;
}
.app-meta p {
  font-size: 11px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.app-features { display: flex; flex-direction: column; gap: 4px; }
.af-row {
  display: flex; align-items: center;
  gap: 10px;
  font-size: 11px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  animation: pos-line-in 0.6s ease both;
}
.af-row:nth-child(1) { animation-delay: 0.5s; }
.af-row:nth-child(2) { animation-delay: 0.6s; }
.af-row:nth-child(3) { animation-delay: 0.7s; }
.af-row:nth-child(4) { animation-delay: 0.8s; }
.af-row:nth-child(5) { animation-delay: 0.9s; }
.af-d {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ink-mute);
  flex-shrink: 0;
}
.af-row.active {
  color: var(--ink);
  font-weight: 500;
}
.af-row.active .af-d {
  background: #1a8a3a;
  box-shadow: 0 0 0 3px rgba(26,138,58,0.15);
}
.app-store {
  display: flex; align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  margin-top: auto;
}
.as-icon {
  width: 42px; height: 42px;
  background: var(--ink);
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.as-icon img {
  width: 60%; height: 60%;
  filter: invert(1);
}
.as-txt {
  display: flex; flex-direction: column;
  flex: 1;
  gap: 2px;
}
.as-1 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.as-2 {
  font-size: 10px;
  color: var(--ink-soft);
}
.as-btn {
  background: #007aff;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 16px;
  border-radius: 999px;
}

/* iPhone mock */
.app-right {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 20px;
}
.phone {
  width: 200px;
  height: 410px;
  background: #1a1a1a;
  border-radius: 36px;
  padding: 7px;
  position: relative;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.35),
    0 0 0 1px rgba(0,0,0,0.06),
    inset 0 0 0 1px rgba(255,255,255,0.06);
  transform: rotate(-3deg);
  animation: phone-float 4s ease-in-out infinite;
}
@keyframes phone-float {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(-6px); }
}
.phone-notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 16px;
  background: #1a1a1a;
  border-radius: 999px;
  z-index: 3;
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #faf8f3 0%, #f0ebe0 100%);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ph-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px 4px;
  font-size: 9px;
  font-weight: 600;
  color: var(--ink-1);
  font-feature-settings: "tnum";
}
.ph-st { letter-spacing: -0.02em; }
.ph-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px 8px;
}
.ph-h-l {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.ph-h-r {
  font-size: 14px;
  color: var(--ink-1);
}
.ph-hero {
  margin: 4px 10px 8px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
}
.ph-hero-img {
  position: relative;
  height: 110px;
  background:
    linear-gradient(135deg, #d4c5a3 0%, #b8a07a 50%, #8a7456 100%);
}
.ph-hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(255,255,255,0.25) 0%, transparent 60%);
}
.ph-hero-tag {
  position: absolute;
  top: 8px; left: 8px;
  background: rgba(0,0,0,0.78);
  color: #fff;
  font-size: 8px;
  letter-spacing: 0.14em;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  z-index: 2;
}
.ph-hero-meta {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ph-hero-cat {
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.ph-hero-name {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-top: 2px;
}
.ph-hero-price {
  font-size: 10.5px;
  margin-top: 4px;
  font-feature-settings: "tnum";
}
.ph-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 0 10px;
  flex: 1;
  align-content: start;
}
.ph-cell {
  background: #fff;
  border-radius: 10px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 8px;
  border: 1px solid rgba(0,0,0,0.04);
}
.ph-cell-img {
  height: 38px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.ph-cell-img.c1 { background: linear-gradient(135deg, #4a4137 0%, #2c251c 100%); }
.ph-cell-img.c2 { background: linear-gradient(135deg, #e8dfd0 0%, #c2b69d 100%); }
.ph-cell-img.c3 { background: linear-gradient(135deg, #6b4f33 0%, #3a2818 100%); }
.ph-cell-img.c4 { background: linear-gradient(135deg, #d8c4a3 0%, #a78a5f 100%); }
.ph-cell span {
  font-weight: 500;
  color: var(--ink-1);
  letter-spacing: 0.01em;
  margin-top: 2px;
}
.ph-cell b {
  font-size: 8px;
  font-weight: 500;
  color: var(--ink-soft);
  font-feature-settings: "tnum";
}
.ph-tabs {
  display: flex;
  justify-content: space-around;
  padding: 10px 12px 14px;
  border-top: 1px solid rgba(0,0,0,0.05);
  background: rgba(255,255,255,0.92);
}
.pht {
  font-size: 14px;
  color: var(--ink-mute);
}
.pht.active {
  color: var(--ink);
}

/* =========================================================
   SIDE INFO — appears in Phase C
   ========================================================= */
.side-info {
  position: absolute;
  left: clamp(40px, 6vw, 100px);
  top: 50%;
  transform: translateY(-50%) translateX(-20px);
  width: clamp(300px, 30vw, 380px);
  z-index: 7;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
  gap: 18px;
  will-change: opacity, transform;
}
.side-info.in {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}
.si-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.si-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--ink);
  border-radius: 50%;
  display: inline-block;
}
.si-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
.si-title em {
  background: linear-gradient(180deg, #1a1a1a 0%, #6a6a65 50%, #1a1a1a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.si-body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  text-wrap: pretty;
}
.si-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.si-list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  align-items: baseline;
}
.si-num {
  font-family: var(--display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-feature-settings: "tnum";
}
.si-num small { font-size: 16px; }
.si-text {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.si-cta {
  align-self: flex-start;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  transition: gap 0.3s, transform 0.3s;
}
.si-cta:hover { gap: 14px; transform: translateY(-1px); }
.si-cta svg { transition: transform 0.3s; }

/* =========================================================
   ACT 3 · SEED
   ========================================================= */
.seed {
  position: relative;
  height: 180vh;
  background:
    linear-gradient(180deg, var(--bg-3) 0%, var(--bg) 50%, var(--paper) 100%);
}
.seed-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  padding: 0 var(--gutter);
  overflow: hidden;
}
.seed-text {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 9vw, 144px);
  line-height: 1.0;
  letter-spacing: -0.045em;
  text-align: center;
  margin: 0;
  max-width: 1200px;
  position: relative;
  z-index: 2;
  text-wrap: balance;
}
.seed-text .s-word {
  display: inline-block;
  margin: 0 0.18em;
  opacity: 0;
  transform: translateY(0.24em);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
}
.seed-text .s-word.in {
  opacity: 1;
  transform: translateY(0);
}
.seed-text em {
  background: linear-gradient(180deg, #1a1a1a 0%, #6a6a65 35%, #1a1a1a 65%, #5a5a55 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.seed-mark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.4);
  width: min(720px, 80vw);
  aspect-ratio: 1;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}
.seed-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: blur(0px);
  opacity: 0.06;
}

/* =========================================================
   ACT 4 · CONTACT
   ========================================================= */
.contact {
  position: relative;
  background: var(--bg-dark);
  color: #fafaf6;
  padding: 120px var(--gutter) 0;
  overflow: hidden;
}
.contact-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding-bottom: 120px;
}
.contact-eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}
.contact-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 32px;
  text-wrap: balance;
}
.contact-title em {
  background: linear-gradient(180deg, #fafaf8 0%, #999 35%, #fff 50%, #888 65%, #ccc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-lede {
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
  margin: 0 0 56px;
  max-width: 480px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: opacity 0.5s, transform 0.5s;
}
.contact-form.hide {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  transition: opacity 0.32s ease, transform 0.32s ease, max-height 0.4s ease 0.05s, margin 0.4s ease 0.05s;
}

/* When form has been submitted successfully, collapse the upper text
   so the thanks state sits clean and centered. */
.contact-inner.is-success .contact-eyebrow,
.contact-inner.is-success .contact-title,
.contact-inner.is-success .contact-lede {
  opacity: 0;
  transform: translateY(-8px);
  max-height: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.4s ease 0.05s, margin 0.4s ease 0.05s;
}
.contact-inner.is-success {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cf-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
}
.cf-opt {
  font-style: normal;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.32);
  margin-left: 6px;
}
.cf-field input,
.cf-field textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fafaf8;
  padding: 14px 16px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  resize: vertical;
  transition: all 0.25s;
}
.cf-field input:hover,
.cf-field textarea:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.28);
}
.cf-field input:focus,
.cf-field textarea:focus {
  outline: none;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.05);
}

.cf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-chip { position: relative; cursor: pointer; }
.cf-chip input { position: absolute; opacity: 0; pointer-events: none; }
.cf-chip span {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  transition: all 0.25s;
}
.cf-chip:hover span { border-color: rgba(255,255,255,0.4); color: #fff; }
.cf-chip input:checked + span {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}

.cf-submit {
  margin-top: 12px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  color: var(--ink);
  border: 0;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.3s, gap 0.3s;
}
.cf-submit:hover { transform: translateY(-2px); gap: 18px; }
.cf-arrow { font-family: var(--display); font-style: italic; }
.cf-meta { font-size: 13px; color: rgba(255,255,255,0.5); margin: 8px 0 0; }
.cf-meta a { color: var(--bg); border-bottom: 1px solid rgba(255,255,255,0.3); }

.cf-thanks {
  position: relative;
  display: none;
  text-align: center;
  padding: 40px 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.contact-inner.is-success .cf-thanks { display: block; }
.cf-thanks.in { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cf-thanks-mark {
  width: 56px; height: 56px;
  margin: 0 auto 28px;
  opacity: 0.85;
}
.cf-thanks-mark img { width: 100%; height: 100%; filter: invert(1); }
.cf-thanks h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
}
.cf-thanks h3 em {
  background: linear-gradient(180deg, #fff 0%, #999 50%, #ccc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================================================
   FOOTER — premium, structured
   ========================================================= */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 64px var(--gutter) 32px;
  margin: 0 calc(-1 * var(--gutter));
}
.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  padding-bottom: 56px;
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.footer-brand img {
  width: 38px; height: 38px;
  filter: invert(1);
  opacity: 0.95;
}
.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fb-name {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #fafaf8;
}
.fb-tag {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
  max-width: 240px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fc-h {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
  font-weight: 500;
}
.footer-col a,
.footer-col span {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  transition: color 0.25s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* Mobile -------------------------------------------------- */
@media (max-width: 720px) {
  .scene-progress { top: 80px; gap: 16px; }
  .sp-dot i { width: 16px; }
  .sp-dot.active i { width: 22px; }
  .laptop { width: 88vw; }
  .side-info {
    position: static;
    transform: none;
    margin: 24px var(--gutter) 0;
    width: auto;
  }
  .side-info.in { transform: none; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
  .scene-body.brand,
  .scene-body.seo,
  .scene-body.perf { font-size: 9px; }
}
