/* ============================================================================
   For the DPOs — the film's layers
   ----------------------------------------------------------------------------
   Everything here is drawn over the product or around it. Nothing restyles the
   app except three things a 9:16 frame needs: the sidebar is off (the film
   frames the work, not the navigation), scrollbars are hidden, and the app's own
   transitions are off, because campaign.js sets every state for a given instant
   and a transition would make frame 412 depend on what frame 411 was.

   Colour is the product's: navy #0a2540, steel #356087, slate #94a3b8, on a
   near-black ground. Amber marks a gap and is the only warm colour in the film,
   so it means one thing.
   ========================================================================== */

:root{
  --c-ground:#050d18;
  --c-ink:#f3f6fa;
  --c-dim:#9fb3c8;
  --c-navy:#0a2540;
  --c-steel:#356087;
  --c-steel-lt:#8fb6dc;
  --c-slate:#94a3b8;
  --c-gap:#f2b33d;
  --frame-w:540px;
  --frame-h:960px;
}

html,body{margin:0;height:100%;background:var(--c-ground);overflow:hidden}
body.cmp-stage{font-family:'Hanken Grotesk',system-ui,sans-serif}

/* ------------------------------------------------------------- the frame */
.cmp-frame{
  position:absolute;left:0;top:0;width:var(--frame-w);height:var(--frame-h);
  overflow:hidden;background:var(--bg-default, #fff);transform-origin:0 0;
}
.cmp-cam{
  position:absolute;inset:0;transform-origin:0 0;
  /* never "none": a transform makes this the containing block for the app's
     fixed-position modal and toast, so they stay inside the frame */
  transform:translate(0,0) scale(1);
}
.cmp-scroll{position:absolute;inset:0;overflow:auto;scrollbar-width:none;background:var(--bg-canvas, #fafafa)}
.cmp-scroll::-webkit-scrollbar,.cmp-stage .scrim::-webkit-scrollbar{display:none}
.cmp-stage .scrim{scrollbar-width:none}

.cmp-stage .side{display:none}
.cmp-stage .app{min-height:100%}
.cmp-stage .main{padding:22px 16px 80px}
.cmp-frame *,.cmp-frame *::before,.cmp-frame *::after{transition:none!important;animation:none!important}
.cmp-stage .scrim{padding:22px 12px 60px}
.cmp-stage .toast{bottom:150px}

/* --------------------------------------------------------------- overlays */
.cmp-fx{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.fx-layer{position:absolute;inset:0}
.fx-black{position:absolute;inset:0;background:var(--c-ground)}
.fx-flash{position:absolute;inset:0;background:#fff}

/* the hook: big, tight, left-set */
.fx-hook{
  position:absolute;left:34px;right:28px;top:400px;
  font:800 50px/0.98 'Hanken Grotesk',system-ui,sans-serif;letter-spacing:-.025em;
  text-transform:uppercase;color:var(--c-ink);
}
.fx-hook.q{color:var(--c-steel-lt)}
.fx-hook small{
  display:block;margin-bottom:16px;font:700 11px/1 'Hanken Grotesk',sans-serif;
  letter-spacing:.22em;color:var(--c-dim)
}
.fx-tick{
  position:absolute;left:34px;top:372px;height:2px;background:var(--c-steel-lt);transform-origin:0 50%
}

/* captions over the product */
.fx-shade{
  position:absolute;left:0;right:0;bottom:0;height:470px;
  background:linear-gradient(to top,rgba(5,13,24,.97) 0%,rgba(5,13,24,.95) 48%,rgba(5,13,24,.6) 72%,rgba(5,13,24,0) 100%)
}
.fx-shade.top{top:0;bottom:auto;height:290px;
  background:linear-gradient(to bottom,rgba(5,13,24,.97) 0%,rgba(5,13,24,.95) 50%,rgba(5,13,24,.6) 74%,rgba(5,13,24,0) 100%)}
.fx-cap{
  position:absolute;left:34px;right:30px;bottom:88px;
  font:800 40px/1.0 'Hanken Grotesk',system-ui,sans-serif;letter-spacing:-.02em;
  text-transform:uppercase;color:var(--c-ink)
}
.fx-cap.top{bottom:auto;top:86px}
.fx-cap .k{color:var(--c-steel-lt)}
.fx-cap small{
  display:block;margin-top:14px;font:500 15px/1.4 'Hanken Grotesk',sans-serif;
  letter-spacing:0;text-transform:none;color:var(--c-dim)
}

/* a highlighted part of the product, and its label */
.fx-hl{
  position:absolute;border:2px solid var(--c-steel-lt);border-radius:12px;
  box-shadow:0 0 0 9999px rgba(5,13,24,.42)
}
.fx-hl.gap{border-color:var(--c-gap)}
.fx-hl.soft{box-shadow:none;border-color:var(--c-steel);background:rgba(53,96,135,.06)}
.fx-tag{
  position:absolute;display:flex;align-items:center;gap:8px;white-space:nowrap;
  padding:7px 11px 7px 9px;border-radius:7px;background:var(--c-navy);color:#fff;
  font:800 11.5px/1 'Hanken Grotesk',sans-serif;letter-spacing:.16em;text-transform:uppercase;
  box-shadow:0 8px 22px rgba(5,13,24,.35)
}
.fx-tag i{width:7px;height:7px;border-radius:50%;background:var(--c-steel-lt);flex:none}
.fx-tag.gap i{background:var(--c-gap)}
.fx-tag b{font-weight:500;letter-spacing:.04em;text-transform:none;color:var(--c-dim);margin-left:2px}

/* the cursor */
.fx-cursor{position:absolute;width:22px;height:22px;margin:-2px 0 0 -3px;filter:drop-shadow(0 3px 5px rgba(0,0,0,.35))}
.fx-ring{
  position:absolute;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;
  border:2px solid var(--c-steel-lt)
}

/* ------------------------------------------------------------ the brand */
.fx-brand{position:absolute;inset:0;background:var(--c-ground);color:var(--c-ink)}
.fx-brand .grid{
  position:absolute;inset:0;
  background:
    linear-gradient(to right,rgba(143,182,220,.06) 1px,transparent 1px) 0 0/54px 100%,
    linear-gradient(to bottom,rgba(143,182,220,.06) 1px,transparent 1px) 0 0/100% 54px;
  -webkit-mask-image:radial-gradient(ellipse 70% 55% at 50% 42%,#000 0%,transparent 75%);
          mask-image:radial-gradient(ellipse 70% 55% at 50% 42%,#000 0%,transparent 75%)
}
.fx-mark{position:absolute;left:50%;top:250px;width:120px;height:122px;margin-left:-60px}
.fx-word{
  position:absolute;left:0;right:0;top:392px;text-align:center;
  font:600 64px/1 'Jost',sans-serif;letter-spacing:.14em;padding-left:.14em
}
.fx-for{
  position:absolute;left:0;right:0;top:486px;text-align:center;
  font:800 15px/1 'Hanken Grotesk',sans-serif;letter-spacing:.24em;padding-left:.24em;color:var(--c-steel-lt)
}
.fx-line{
  position:absolute;left:48px;right:48px;top:530px;text-align:center;
  font:italic 400 24px/1.3 'Spectral',Georgia,serif;color:var(--c-dim)
}
.fx-rule{position:absolute;left:50%;top:620px;width:56px;height:1px;margin-left:-28px;background:rgba(159,179,200,.4)}
.fx-sign{
  position:absolute;left:0;right:0;top:650px;text-align:center;
  font:800 25px/1.25 'Hanken Grotesk',sans-serif;letter-spacing:-.005em;text-transform:uppercase
}
.fx-sign .k{color:var(--c-steel-lt)}
.fx-cta{
  position:absolute;left:0;right:0;top:770px;display:flex;justify-content:center;gap:12px;
  font:600 15px/1 'Hanken Grotesk',sans-serif
}
.fx-cta span{padding:12px 18px;border-radius:999px;border:1px solid rgba(159,179,200,.35);color:var(--c-ink)}
.fx-cta span.p{background:var(--c-ink);color:var(--c-navy);border-color:var(--c-ink)}
.fx-fine{
  position:absolute;left:0;right:0;bottom:30px;text-align:center;
  font:500 11px/1.5 'Hanken Grotesk',sans-serif;letter-spacing:.06em;color:rgba(159,179,200,.6)
}

/* ------------------------------------------------- the player, off camera */
.cmp-player{
  position:fixed;left:50%;bottom:14px;transform:translateX(-50%);display:flex;gap:8px;z-index:10;
  font:600 13px/1 'Hanken Grotesk',sans-serif
}
.cmp-pbtn{
  appearance:none;border:1px solid rgba(159,179,200,.35);background:var(--c-ink);color:var(--c-navy);
  padding:10px 16px;border-radius:999px;font:inherit;cursor:pointer;text-decoration:none
}
.cmp-pbtn.ghost{background:rgba(5,13,24,.6);color:var(--c-ink)}
.cmp-pbtn:focus-visible{outline:2px solid var(--c-steel-lt);outline-offset:2px}
html.cmp-render .cmp-player{display:none}
html.cmp-playing .cmp-player{opacity:0}
html.cmp-playing .cmp-player:hover,html.cmp-playing .cmp-player:focus-within{opacity:1}
