/* Turntake · forside v2 (turntake.app) · T-012 · 9/10-2026
   Bygger på v1 (site/styles.css): samme tokens (appens tokens.css + brand v2 "To punktummer"), samme fonte og knapper.
   Rav er kun turen: logoets prik, pin'en, der skrives lige nu, ét punktum pr. skærm (01_visuel_retning §2).
   Ingen eksterne værter: fonte er selvhostede (OFL, se /fonts/LICENSE-*.txt). Ingen inline-styles (CSP style-src 'self'). */

/* ---------- fonte ---------- */
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/schibsted-grotesk-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/schibsted-grotesk-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/schibsted-grotesk-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "SG Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 105.6%; ascent-override: 92.8%; descent-override: 24.6%; line-gap-override: 0%; }

/* ---------- tokens ---------- */
:root {
  color-scheme: dark;
  --bg: #0a0a0b; --bg-sunk: #060607; --panel: #121317; --raised: #1a1c21; --raised-2: #22252b;
  --line: #22252b; --line-strong: #32363e;
  --text: #e8eaed; --muted: #8a8f98; --faint: #5d636e; --strong: #fff;
  --accent: #ffb020; --accent-soft: rgba(255, 176, 32, .14); --accent-glow: rgba(255, 176, 32, .28);
  --claude: #a78bfa; --st-progress: #a78bfa; --st-review: #5aa9ff; --st-revision: #f472b6;
  --cap-red: #c7343c; --danger: #ff8a8a;
  --trk-c: #1b6b74; --trk-v: #22436a; --trk-m: #3a3e46;
  --field-border: #6b7078;
  --f-ui: "Schibsted Grotesk", "SG Fallback", ui-sans-serif, -apple-system, "Segoe UI", sans-serif;
  --f-label: "Barlow Condensed", "Arial Narrow", ui-sans-serif, sans-serif;
  --f-tc: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1200px; --gut: 20px; --top-h: 64px;
}
@media (min-width: 768px) { :root { --gut: 32px; } }

/* ---------- grund ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 24px); }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--f-ui); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, svg, video { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
p, figure, h3 { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: rgba(255, 176, 32, .32); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
main:focus { outline: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.mono { font-family: var(--f-tc); font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.ic { width: 14px; height: 14px; flex: none; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: #fff; color: var(--bg); font-weight: 600; text-decoration: none; transition: top .15s; }
.skip:focus { top: 12px; }

/* ---------- typografi ---------- */
.h1 { margin: 0; font: 500 clamp(40px, 6.1vw, 88px)/.96 var(--f-ui); letter-spacing: -.045em; color: var(--strong); text-wrap: balance; }
.h1__l { display: block; }
.h2 { margin: 0; font: 500 clamp(34px, 4.4vw, 64px)/1.04 var(--f-ui); letter-spacing: -.04em; color: var(--strong); text-wrap: balance; }
.h2--sm { font-size: clamp(28px, 3.1vw, 44px); line-height: 1.1; letter-spacing: -.035em; }
.h2--xl { font-size: clamp(44px, 7vw, 104px); line-height: .95; letter-spacing: -.045em; }
.h3 { margin: 0 0 8px; font: 500 clamp(19px, 1.6vw, 22px)/1.25 var(--f-ui); letter-spacing: -.02em; color: var(--strong); }
.dim { color: var(--muted); }
.amber { color: var(--accent); }
.label { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font: 600 14px/1 var(--f-label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* mærkerne Early access / Coming: mono, neutrale, ingen rav */
.tag { display: inline-flex; align-items: center; flex: none; height: 22px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 5px; background: var(--raised);
  font: 500 11px/1 var(--f-tc); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* ---------- knapper ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid transparent; border-radius: 8px;
  font: 600 15px/1 var(--f-ui); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: #fff; color: var(--bg); }
.btn--primary:hover { background: #e9e9ea; }
.btn--secondary { background: var(--raised); color: #fff; border-color: var(--line-strong); }
.btn--secondary:hover { background: #202329; border-color: #474c55; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn--lg { height: 48px; padding: 0 22px; font-size: 16px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .7; cursor: progress; }

/* ---------- topbar ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--top-h); border-bottom: 1px solid transparent;
  transition: background-color .25s, border-color .25s, backdrop-filter .25s; }
.top.is-scrolled { background: rgba(10, 10, 11, .92); border-bottom-color: var(--line); -webkit-backdrop-filter: saturate(1.2) blur(8px); backdrop-filter: saturate(1.2) blur(8px); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; }
.top__logo { display: block; padding: 6px 0; border-radius: 4px; }
.lockup { height: 22px; width: auto; }
.top__links { display: none; }
.top__nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); }
.top__login, .top__links a { padding: 10px 4px; font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .15s; }
.top__login:hover, .top__links a:hover { color: #fff; }
.t-short { display: none; }
/* én global pauseknap for bevægelse (WCAG 2.2.2): diskret, kun ikon; navnet er altid "Pause motion", aria-pressed bærer tilstanden */
.mo { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; margin-right: -4px; padding: 0; border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(18, 19, 23, .6); color: var(--muted); cursor: pointer; transition: color .15s, border-color .15s, background-color .15s; }
.mo[hidden] { display: none; }
.mo:hover { color: #fff; border-color: #474c55; }
.mo .ic { grid-area: 1 / 1; width: 12px; height: 12px; }
.mo__r, .mo[aria-pressed="true"] .mo__p { display: none; }
.mo[aria-pressed="true"] .mo__r { display: block; }
.mo[aria-pressed="true"] { border-color: #5d636e; background: var(--raised-2); color: #fff; }
@media (min-width: 1024px) { .top__links { display: flex; gap: 22px; } }
/* ≥ 1024 px: menuen står i den ægte midte, uanset om højre side har "Pause motion" (forsiden, /byoc) eller ej (retterrunde 10/10) */
@media (min-width: 1024px) { .top__in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); } .top__logo { justify-self: start; } .top__nav { justify-self: end; } }
@media (max-width: 479px) { .t-long { display: none; } .t-short { display: inline; } .lockup { height: 20px; } .top .btn--sm { height: 40px; } .mo { width: 32px; height: 32px; margin-right: -6px; } }
/* 320–359 px: logo, pauseknap, Log in og knap skal stadig stå på én linje */
@media (max-width: 359px) { .top__in { gap: 6px; padding-inline: 16px; } .top__nav { gap: 8px; } .lockup { height: 16px; } .top .btn--sm { padding: 0 10px; } .top__login { padding-inline: 2px; white-space: nowrap; } .mo { width: 30px; height: 30px; margin-right: -4px; } }

/* ---------- menu (T-013, 10/10): Product · Your content · Models · About på alle fire sider ----------
   ≥ 1024 px: links i topbaren, aktiv side hvid med tynd hvid understregning (ikke rav). < 1024 px: knappen "Menu"
   åbner et ark (dialog) med én linje pr. side. Uden JS er "Menu" et link til footerens links. */
.top__links a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 9px; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none; height: 36px; padding: 0 12px 0 10px; border: 1px solid var(--line-strong); border-radius: 8px;
  background: rgba(18, 19, 23, .6); color: #fff; font: 500 14px/1 var(--f-ui); text-decoration: none; cursor: pointer; transition: border-color .15s, background-color .15s; }
.menu-btn:hover { border-color: #474c55; background: var(--raised); }
.menu-btn .ic { width: 16px; height: 16px; }
.menu-btn[hidden], .js .menu-btn--nojs { display: none; }
@media (min-width: 1024px) { .menu-btn, .menu-btn[hidden], .menu-btn--nojs { display: none; } }
@media (max-width: 479px) {
  .top__login { display: none; }                      /* "Log in" står i arket og i footeren */
  .top__nav { gap: 8px; }
  .menu-btn { width: 40px; height: 40px; padding: 0; }
  .menu-btn__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 359px) { .menu-btn { width: 36px; height: 36px; } .top__nav { gap: 6px; } }

.sheet { position: fixed; inset: 0; z-index: 60; background: rgba(6, 6, 7, .66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet[hidden] { display: none; }
.sheet__panel { max-height: 100%; overflow-y: auto; overscroll-behavior: contain; border-bottom: 1px solid var(--line-strong); background: var(--bg); box-shadow: 0 30px 70px rgba(0, 0, 0, .55); }
.js .sheet__panel { animation: sheet-in .24s var(--ease) both; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-12px); } }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--top-h); }
.sheet__x { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--raised); color: #fff; cursor: pointer; }
.sheet__x .ic { width: 16px; height: 16px; }
.sheet__x:hover { border-color: #474c55; }
.sheet__body { padding-bottom: 24px; }
.sheet__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.sheet__list > li { border-bottom: 1px solid var(--line); }
.sheet__a { display: flex; flex-direction: column; gap: 6px; padding: 16px 0 17px; color: #fff; text-decoration: none; }
.sheet__t { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font: 500 22px/1.2 var(--f-ui); letter-spacing: -.02em; }
.sheet__t .tag { height: 20px; padding: 0 6px; }
.sheet__l { font: 400 13px/1.45 var(--f-tc); color: var(--muted); }
.sheet__a[aria-current="page"] .sheet__w { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.sheet__here { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: -4px 0 0; padding: 0 0 14px; list-style: none; }
.sheet__here-l { margin-right: 6px; font: 600 12px/1 var(--f-label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sheet__here a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; color: var(--text); text-decoration: none; }
.sheet__here a:hover { border-color: #474c55; color: #fff; }
.sheet__foot { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 20px; }
.sheet__login { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; }
.sheet__login:hover { color: #fff; }
.sheet__foot .btn { width: 100%; }
html.is-menu { overflow: hidden; }
@media (min-width: 1024px) { .sheet, .sheet[hidden] { display: none; } html.is-menu { overflow: visible; } }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; padding-top: calc(var(--top-h) + clamp(28px, 3vw, 44px)); overflow-x: clip; }
.hero__spot { position: absolute; inset: 0 0 auto; z-index: -1; height: 980px; pointer-events: none;
  background: radial-gradient(ellipse 62% 52% at 50% -8%, rgba(255, 255, 255, .085), transparent 70%); }
.hero__spot::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: calc((min(100vw, var(--wrap) + var(--gut) * 2) - var(--gut) * 2) / 6) 100%;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); }
.hero__copy { position: relative; }

.pill { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; min-height: 36px; margin: 0 0 clamp(18px, 2vw, 26px); padding: 6px 14px 6px 6px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(18, 19, 23, .72); color: var(--text); font-size: 14.5px; line-height: 1.25; text-decoration: none; transition: border-color .15s, background-color .15s; }
.pill .tag { height: 24px; border-radius: 999px; padding: 0 9px; }
.pill .ic { color: var(--muted); transition: transform .2s var(--ease), color .15s; }
.pill:hover { border-color: #474c55; background: rgba(26, 28, 33, .9); }
.pill:hover .ic { transform: translateX(2px); color: #fff; }
.lede { max-width: 40em; margin-top: clamp(20px, 2vw, 28px); font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.lede strong { display: block; margin-bottom: 4px; font-size: clamp(20px, 1.75vw, 24px); font-weight: 500; line-height: 1.3; letter-spacing: -.012em; color: var(--strong); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 2.6vw, 34px); }
.hero__stack { display: none; }
.mphone { position: relative; display: block; flex: none; width: 124px; padding: 5px; border-radius: 24px; background: linear-gradient(150deg, #34373e, #16171a 45%, #0d0e10);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 26px 50px rgba(0, 0, 0, .55); }
.mphone::before { content: ""; position: absolute; z-index: 2; top: 12px; left: 50%; width: 30%; height: 10px; border-radius: 99px; background: #000; transform: translateX(-50%); }
.mphone img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 19px; background: #15171b; }
@media (min-width: 1200px) {
  .hero__copy .lede { max-width: min(38.5em, calc(100% - 440px)); }
  .hero__stack { position: absolute; z-index: 0; top: 4px; right: var(--gut); display: flex; gap: 16px; align-items: flex-start; text-decoration: none; }
  .hero__stack .mphone:nth-child(2) { margin-top: 52px; }
  .hero__stack .mphone:nth-child(3) { margin-top: 104px; }
  .js .hero__stack .mphone { animation: mphone-in 1s var(--ease) both; }
  .js .hero__stack .mphone:nth-child(2) { animation-delay: .12s; } .js .hero__stack .mphone:nth-child(3) { animation-delay: .24s; }
}
@media (min-width: 1440px) { .mphone { width: 136px; } }
@keyframes mphone-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.shot { position: relative; margin-top: clamp(40px, 3.6vw, 52px); padding-inline: var(--gut); }
.shot__glow { position: absolute; z-index: 0; left: 50%; top: 34%; width: min(1180px, 96%); height: 72%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, var(--accent-glow), rgba(255, 176, 32, .08) 55%, transparent); }
.shot__fig { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
@media (min-width: 1440px) { .shot__fig { max-width: 1280px; } }
.shot__meta { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; min-height: 44px; margin-top: 6px; padding-inline: 0; max-width: 1200px; }
@media (min-width: 1440px) { .shot__meta { max-width: 1280px; } }
.shot__note { max-width: 62ch; font-size: 12px; line-height: 1.5; color: var(--muted); }
.shot__ctl { display: flex; align-items: center; gap: 10px; flex: none; }
.tk { display: none; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(18, 19, 23, .85); }
.js .tk.is-ready { display: inline-flex; }
.tk label { display: inline-flex; align-items: center; height: 30px; padding: 0 13px; border-radius: 999px; font: 500 13px/1 var(--f-ui); color: var(--muted); cursor: pointer; transition: background-color .15s, color .15s; }
.tk label:hover { color: #fff; }
.tk__w { margin-left: 4px; font-weight: 400; opacity: .72; }
#tk-2:checked ~ .shot__meta label[for="tk-2"], #tk-3:checked ~ .shot__meta label[for="tk-3"] { background: #fff; color: var(--bg); }
#tk-2:focus-visible ~ .shot__meta label[for="tk-2"], #tk-3:focus-visible ~ .shot__meta label[for="tk-3"] { outline: 2px solid var(--accent); outline-offset: 2px; }
.replay { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(18, 19, 23, .85);
  font: 500 13px/1 var(--f-ui); color: var(--text); cursor: pointer; transition: border-color .15s, color .15s; }
.replay:hover { border-color: #474c55; color: #fff; }
.replay[hidden] { display: none; }
.shot__fig:focus { outline: none; }

/* v2.2 · touch: "See how it works" over take 2's poster, til første tryk (main.js lægger den præcis over videoen).
   Hvid som de primære knapper (brand v2: rav er kun turen), mørk play-glyf, 52 px høj, hele videoen er trykfladen.
   Glorien pulserer kun uden reduceret bevægelse og uden "Pause motion" (reglerne nederst slår den fra). */
.hgo { position: absolute; z-index: 2; left: 0; top: 0; display: grid; place-items: center; min-width: 44px; min-height: 44px; margin: 0; padding: 0; border: 0; border-radius: 6px;
  background: radial-gradient(closest-side, rgba(6, 6, 8, .5), rgba(6, 6, 8, .26) 72%, rgba(6, 6, 8, .14)); color: var(--bg); cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; animation: hgo-in .5s .9s var(--ease) both; }
.hgo[hidden] { display: none; }
.hgo__pill { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 8px; border-radius: 999px; background: #fff; color: var(--bg);
  font: 600 16px/1 var(--f-ui); letter-spacing: -.01em; white-space: nowrap;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .5), 0 0 0 6px rgba(255, 255, 255, .14); transition: transform .15s var(--ease), box-shadow .2s; }
.hgo__pill::after { content: ""; position: absolute; inset: -6px; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: inherit; opacity: 0; pointer-events: none;
  animation: hgo-halo 2.6s 1.6s cubic-bezier(.2, .6, .3, 1) infinite; }
.hgo__ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--bg); color: #fff; }
.hgo__ic .ic { width: 14px; height: 14px; margin-left: 2px; }
.hgo:active .hgo__pill { transform: scale(.96); box-shadow: 0 10px 26px rgba(0, 0, 0, .5), 0 0 0 4px rgba(255, 255, 255, .22); }
.hgo:focus-visible { outline: none; }
.hgo:focus-visible .hgo__pill { outline: 2px solid var(--accent); outline-offset: 4px; }
@keyframes hgo-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes hgo-halo { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.1, 1.4); } }

/* ============ review-vinduet v2.1: hele videoen med tidslinje (tegnet UI af appens tokens + rigtig video) ============
   Uden klasser = sluttilstanden (take 3), som også er det, man ser uden JS.
   .s1 … .s8 = noternes ændringer er vist på tidslinjen (kumulativt; take 2 = ingen) · .is-pre = take 2 vises
   .is-seq = sekvensen kører · .is-sent = "Making take 3." · .is-new = toast for ny take · .is-end = frit afspil + skifter
   .is-stills = reserve uden video (iOS Strømspare eller blokeret autoplay): stillbilleder pr. note. */
.rv { position: relative; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 12px; background: #0c0d0f;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .06);
  font-size: 13px; line-height: 1.4; color: var(--text); user-select: none; -webkit-user-select: none;
  animation: rv-in 1.2s .12s var(--ease) both; transform-origin: 50% 0; }
@keyframes rv-in { from { opacity: 0; transform: perspective(1800px) translateY(48px) rotateX(14deg) scale(.98); } to { opacity: 1; transform: none; } }

.sw { display: inline-grid; }
.sw > * { grid-area: 1 / 1; transition: opacity .3s, visibility .3s; }
.rv .v-pre, .rv .st--revision, .rv .st--progress, .rv .nx-send { opacity: 0; visibility: hidden; }
.rv.is-pre .v-pre, .rv.is-pre:not(.is-sent) .st--revision, .rv.is-sent .st--progress, .rv.is-pre .nx-send { opacity: 1; visibility: visible; }
.rv.is-pre .v-post, .rv.is-pre .st--review, .rv.is-pre .nx-approve { opacity: 0; visibility: hidden; }
/* captions-panelet følger den take, der står på skærmen (cp3 = take 3: Social), også før note 2's ændring lander på tidslinjen */
.rv:not(.cp3) .v-social, .rv.cp3 .v-clay { opacity: 0; visibility: hidden; }

.rv__top { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.rv__mark { height: 21px; width: auto; flex: none; margin-right: 4px; }
.rv__mark .tt-tur__ball { fill: #fff; }
.rv__crumb { display: flex; align-items: center; gap: 4px; color: var(--muted); }
.rv__crumb .ic { width: 13px; height: 13px; }
.rv__ver { display: inline-flex; align-items: center; gap: 2px; color: var(--muted); }
.rv__fill { flex: 1; }
.rv__mode { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.tog { position: relative; width: 26px; height: 15px; border-radius: 99px; background: #3a3e46; }
.tog::after { content: ""; position: absolute; left: 2px; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; }
.rv__count { color: var(--muted); font-size: 12.5px; opacity: 0; transition: opacity .3s; }
.rv.is-seq.is-pre:not(.is-sent) .rv__count { opacity: 1; }
.rv.is-ready .rv__count { color: #fff; }

.chip { display: inline-flex; align-items: center; gap: 4px; height: 27px; padding: 0 8px 0 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--raised); font-size: 12.5px; color: var(--text); white-space: nowrap; }
.chip .ic { width: 12px; height: 12px; color: var(--muted); }
.st { display: inline-flex; align-items: center; gap: 7px; }
.st i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st--revision i { background: var(--st-revision); }
.st--progress i { background: var(--st-progress); }
.st--review i { background: var(--st-review); }

.wbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 30px; padding: 0 12px; border: 1px solid transparent; border-radius: 6px;
  font: 600 13px/1 var(--f-ui); white-space: nowrap; transition: transform .15s var(--ease), box-shadow .2s, opacity .2s; }
.wbtn--primary { background: #fff; color: var(--bg); }
.wbtn--ghost { background: var(--raised); border-color: var(--line-strong); color: var(--text); font-weight: 500; }
.wbtn--xs { height: 24px; padding: 0 10px; font-size: 12px; }
.rv.is-ready .rv__next { box-shadow: 0 0 0 3px rgba(255, 255, 255, .16); }
.rv.press-send .rv__next, .rv.press-bub .bub__send { transform: scale(.94); box-shadow: 0 0 0 4px rgba(255, 255, 255, .22); }
.rv.is-sent .rv__next { opacity: .55; box-shadow: none; }
.rv__next .sw > * { justify-self: center; }
.seg { display: inline-flex; padding: 2px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--bg); }
.seg > * { padding: 4px 10px; border-radius: 5px; font-weight: 500; color: var(--muted); }
.seg > b { background: var(--raised-2); color: #fff; }

.rv__body { display: grid; grid-template-columns: minmax(0, 25fr) minmax(0, 40fr) minmax(0, 35fr); height: 640px; }

/* captions-panelet: take 2 i Clay (13 cues), take 3 i Social (31 cues); listen følger playhead'en */
.caps { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.caps__head, .notes__head { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 8px; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line); color: #fff; font-weight: 600; }
.caps__head .wbtn { height: 26px; font-size: 12px; }
.caps__win { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.caps__list { margin: 0; padding: 0; list-style: none; transition: transform .6s var(--ease); }
.rv:not(.cp3) .caps__list--t3, .rv.cp3 .caps__list--t2 { display: none; }
.cap-line { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); transition: background-color .2s, box-shadow .2s, color .2s; }
.cap-line.is-on { background: linear-gradient(90deg, rgba(255, 255, 255, .04), transparent 70%); box-shadow: inset 2px 0 0 #fff; color: #fff; }
.hlw { font-weight: inherit; transition: background-color .3s, color .3s; }
.rv.s8 .hlw { padding: 0 3px; border-radius: 3px; background: #fff; color: var(--bg); font-weight: 600; }

/* afspilleren */
.player { position: relative; display: flex; flex-direction: column; align-items: center; padding: 16px 18px 0; border-inline: 1px solid var(--line); background: var(--bg-sunk); }
.vid { position: relative; width: 100%; max-width: 322px; aspect-ratio: 9 / 16; border-radius: 6px; background: #2a2620; }
.vid__still, .vid__nojs, .vid__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.vid__still { opacity: 0; transition: opacity .5s var(--ease); }
.vid__still.is-on { opacity: 1; }
.js .vid__nojs { display: none; }
.vid__v { opacity: 0; pointer-events: none; transition: opacity .3s; }
.rv.is-pre .vid__v--pre.is-live, .rv:not(.is-pre) .vid__v--post.is-live { opacity: 1; }
.rv.is-stills .vid__v { display: none; }
/* ingen afspilleknapper, hverken uden JS (Chrome) eller ved blokeret autoplay (iOS); videoerne kan ikke styres */
.vid__v::-webkit-media-controls, .phone__vid::-webkit-media-controls, .vid__v::-webkit-media-controls-enclosure, .phone__vid::-webkit-media-controls-enclosure,
.vid__v::-webkit-media-controls-start-playback-button, .phone__vid::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }

/* pins på videoen: hvid med nummer (take 2), hvid med flueben (take 3); rav kun på den, der skrives lige nu */
.vpin { position: absolute; z-index: 3; display: grid; place-items: center; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg) scale(.4);
  background: #fff; color: var(--bg); box-shadow: 0 4px 12px rgba(0, 0, 0, .55), 0 0 0 1.5px rgba(10, 10, 11, .35); opacity: 0;
  transition: opacity .25s, transform .45s cubic-bezier(.3, 1.6, .5, 1), background-color .25s; }
.vpin > * { transform: rotate(45deg); }
.vpin b { display: block; font: 600 12px/1 var(--f-ui); }
.vpin .ic { display: none; width: 14px; height: 14px; }
.rv:not(.is-seq):not(.is-end) .vpin.is-still, .rv.is-seq .vpin.is-on, .rv.is-end .vpin.is-near { opacity: 1; transform: rotate(-45deg); }
.vpin.is-active { background: var(--accent); }
.rv:not(.is-pre):not(.is-seq) .vpin b, .rv.is-seq:not(.is-pre) .vpin.is-done b { display: none; }
.rv:not(.is-pre):not(.is-seq) .vpin .ic, .rv.is-seq:not(.is-pre) .vpin.is-done .ic { display: block; }
.vpin.is-pop { animation: vpin-pop .5s var(--ease); }
@keyframes vpin-pop { 40% { transform: rotate(-45deg) scale(1.3); } }

.vid__take { position: absolute; z-index: 4; right: 10px; top: 10px; display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 6px;
  background: rgba(10, 10, 11, .78); color: #fff; font: 500 12px/1 var(--f-tc); }
.vid__take .sw > * { white-space: nowrap; }
.rv.is-swap .vid__take { animation: take-flash .7s var(--ease); }
@keyframes take-flash { 0% { transform: scale(1); } 35% { transform: scale(1.18); background: #fff; color: var(--bg); } 100% { transform: scale(1); } }
.vid__n { position: absolute; z-index: 4; left: 10px; top: 10px; display: none; height: 24px; padding: 0 8px; align-items: center; border-radius: 6px; background: rgba(10, 10, 11, .78); color: #fff; font-size: 12px; }

/* noteboblen (som appens composer) */
.bub { position: absolute; z-index: 5; left: 50%; top: 50%; width: 252px; padding: 10px; border: 1px solid var(--line-strong); border-radius: 10px;
  background: rgba(26, 28, 33, .97); box-shadow: 0 18px 44px rgba(0, 0, 0, .55); opacity: 0; visibility: hidden; transform: translateY(8px) scale(.96); transform-origin: 20% 0;
  transition: opacity .2s, visibility .2s, transform .3s var(--ease); }
.rv.compose .bub { opacity: 1; visibility: visible; transform: none; }
.bub.is-left { transform-origin: 80% 0; }
.bub__row { display: flex; align-items: center; gap: 8px; }
.bub__txt { min-height: 21px; margin-top: 8px; color: #fff; font-size: 13.5px; line-height: 1.45; }
.caret { display: inline-block; width: 1.5px; height: 15px; margin-left: 1px; vertical-align: -2px; background: #fff; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.bub__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.bub__foot > span:first-child { display: inline-flex; align-items: center; gap: 5px; }
.bub__foot .ic { width: 12px; height: 12px; }
.bub.is-chg .caret, .bub.is-chg .bub__foot, .rv.bub-written .caret { display: none; }
.bub.is-chg .bub__txt { display: flex; align-items: flex-start; gap: 6px; font: 500 12.5px/1.4 var(--f-tc); color: #e8eaed; }
/* mobil: ændringslinjer stables, så en linje bliver stående (mindst 2,3 s), selv om den næste kommer */
.bub__l { display: block; }
.bub__l + .bub__l { margin-top: 3px; }

/* tidskode-chip: neutral (rav er forbeholdt pin'en) */
.tc { display: inline-flex; align-items: center; gap: 5px; height: 21px; padding: 0 6px; border-radius: 4px; background: var(--raised-2); color: var(--text); font: 500 12px/1 var(--f-tc); white-space: nowrap; }
.tc .ic { width: 11px; height: 11px; color: var(--muted); }

.vid__scrim { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; border-radius: 6px;
  background: rgba(6, 6, 8, .66); -webkit-backdrop-filter: blur(3px) saturate(.8); backdrop-filter: blur(3px) saturate(.8); color: #fff; font-size: 13.5px; font-weight: 500;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.rv.is-sent .vid__scrim { opacity: 1; visibility: visible; }
.scrim__mark { height: 36px; width: auto; }
.scrim__bar { position: relative; width: 46%; height: 2px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .16); }
.scrim__bar i { position: absolute; inset: 0; transform: scaleX(0); transform-origin: 0 50%; background: #fff; }
.rv.is-sent .scrim__bar i { transform: scaleX(1); transition: transform 2s cubic-bezier(.4, .1, .3, 1); }

.player__bar { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 322px; height: 44px; color: var(--muted); }
.player__tc { color: #fff; font-size: 12.5px; white-space: nowrap; }
.player__dur { color: var(--muted); }
.pp-play, .rv.is-playing .pp-pause { opacity: 1; visibility: visible; }
.pp-pause, .rv.is-playing .pp-play { opacity: 0; visibility: hidden; }
.player__ba { display: none; font-size: 12.5px; }
.rv.is-end .player__ba { display: inline-grid; color: #fff; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; cursor: pointer; pointer-events: auto; }
.rv.is-end .player__ba:hover { text-decoration-color: #fff; }

/* toasts */
.toast { position: absolute; z-index: 7; left: 50%; top: 58px; display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 9px;
  background: #1c1f25; box-shadow: 0 14px 36px rgba(0, 0, 0, .55); color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap;
  opacity: 0; visibility: hidden; transform: translate(-50%, -10px); transition: opacity .35s, visibility .35s, transform .5s var(--ease); }
.rv.is-sent .toast--sent, .rv.is-new .toast--new { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot--progress { background: var(--st-progress); }
.dot--review { background: var(--st-review); }

/* kommentarer: listen holder sin plads (ingen hop); den aktive note rulles ind i panelet */
.notes { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; }
.notes__head { justify-content: flex-start; gap: 10px; }
.notes__n { color: var(--muted); font-weight: 400; }
.notes__list { display: flex; flex: 1; flex-direction: column; gap: 6px; min-height: 0; margin: 0; padding: 10px 12px 12px; overflow-y: auto; overscroll-behavior: contain; list-style: none; scrollbar-width: none; }
.notes__list::-webkit-scrollbar { display: none; }
.nt { display: grid; flex: none; grid-template-columns: 20px minmax(0, 1fr) 16px; align-items: start; gap: 10px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: #111215; transition: border-color .25s, background-color .25s; }
.rv.is-seq .nt:not(.is-on) { visibility: hidden; }
.nt.is-act { border-color: #474c55; background: #16181c; }
.nt.is-new { animation: note-in .5s var(--ease) both; }
@keyframes note-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nt__ok { padding-top: 2px; color: var(--muted); }
.nt__ok .ic { width: 16px; height: 16px; }
.ic--done { display: none; color: #e8eaed; }
.rv:not(.is-pre):not(.is-seq) .nt .ic--open, .rv.is-seq:not(.is-pre) .nt.is-done .ic--open { display: none; }
.rv:not(.is-pre):not(.is-seq) .nt .ic--done, .rv.is-seq:not(.is-pre) .nt.is-done .ic--done { display: block; }
.nt__txt { padding-top: 1px; font-size: 13px; line-height: 1.45; color: var(--text); }
.nt__txt .tc { margin-right: 4px; vertical-align: 1px; }
.nt__no { display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: #fff; color: var(--bg); font: 600 9.5px/1 var(--f-ui); }
.nt__chg { display: none; align-items: flex-start; gap: 6px; margin-top: 7px; padding-top: 7px; border-top: 1px dashed var(--line-strong); font: 500 12px/1.4 var(--f-tc); color: #d6d9de; }
.nt__chg .ic { width: 13px; height: 13px; margin-top: 1px; color: #fff; }
.rv:not(.is-pre):not(.is-seq) .nt__chg, .rv.is-seq:not(.is-pre) .nt.is-done .nt__chg { display: flex; }
.rv.is-seq .nt.is-done .nt__chg { animation: note-in .45s var(--ease) both; }
.av { display: inline-grid; place-items: center; width: 20px; height: 20px; flex: none; border: 1px solid #3a3e46; border-radius: 50%; background: var(--raised); font: 600 11px/1 var(--f-ui); color: #fff; }

/* tidslinjen over HELE videoen (som appens tidslinje.css): lineal, noter, turkis captions og alle klip som miniaturer.
   Positionerne står i blokken HERO:GEN:pos (genereret). Take 3's lag ligger oven på take 2's og tændes trin for trin. */
.tl { --tl-hw: 96px; --tl-pl: 8px; --tl-pr: 14px; position: relative; padding-bottom: 8px; border-top: 1px solid var(--line); background: var(--bg-sunk); font-size: 11px; }
.tl__row { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); }
.tl__row > b { display: flex; flex: none; align-items: center; width: var(--tl-hw); padding-left: 14px; border-right: 1px solid var(--line); background: var(--panel);
  font: 600 11px/1 var(--f-label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tl__row > b.tl__tc { font: 500 13px/1 var(--f-tc); letter-spacing: 0; text-transform: none; color: #fff; }
.tl__track { position: relative; flex: 1; min-width: 0; margin: 0 var(--tl-pr) 0 var(--tl-pl); }
.tl__row--r { height: 26px; background: var(--panel); }
.tl__row--m { height: 26px; }
.tl__row--c { height: 28px; }
.tl__row--v { height: 56px; border-bottom: 0; }
.tl__row--v .tl__track { margin-top: 3px; }
.rl { position: absolute; top: 5px; padding-left: 4px; font: 400 10.5px/1 var(--f-tc); color: var(--muted); }
.mk { position: absolute; top: 50%; display: grid; place-items: center; width: 17px; height: 17px; margin: -8.5px 0 0 -8.5px; border-radius: 50%; background: #3a3e46; color: #fff;
  font: 600 9.5px/1 var(--f-ui); transition: opacity .25s, transform .35s cubic-bezier(.3, 1.6, .5, 1), background-color .25s, color .25s, box-shadow .25s; }
.rv.is-seq .mk:not(.is-on) { opacity: 0; transform: scale(.4); }
.mk.is-act { box-shadow: 0 0 0 2px var(--bg-sunk), 0 0 0 4px var(--accent); }
.rv:not(.is-pre):not(.is-seq) .mk, .rv.is-seq:not(.is-pre) .mk.is-done { background: #fff; color: var(--bg); }
.cues { position: absolute; inset: 0; transition: clip-path .9s var(--ease); }
.cue { position: absolute; top: 3px; bottom: 3px; overflow: hidden; border-radius: 3px; background: var(--trk-c); color: #dff1f2; transition: background-color .2s, box-shadow .3s; }
.cue > span { display: block; padding: 0 5px; overflow: hidden; font: 500 11px/22px var(--f-ui); white-space: nowrap; text-overflow: ellipsis; }
.cue.is-aktiv { background: #22818c; color: #fff; }
.cues--t3 { clip-path: inset(0 100% 0 0); }
.rv.s2 .cues--t3 { clip-path: inset(0); }
.rv.s2 .cues--t2 { clip-path: inset(0 0 0 100%); }
.clips { position: absolute; inset: 0; }
.clp { position: absolute; top: 0; bottom: 0; overflow: hidden; border-top: 2px solid var(--trk-v); border-radius: 3px; background-color: #16304c; background-repeat: repeat-x; background-size: auto 100%;
  transition: opacity .5s var(--ease), box-shadow .3s; }
.clp::after { content: attr(data-label); position: absolute; left: 3px; bottom: 3px; padding: 2px 4px; border-radius: 2px; background: rgba(10, 10, 11, .78); color: #fff; font: 500 10px/1 var(--f-ui); white-space: nowrap; }
.clips--t3 .clp { opacity: 0; }
.rv.s1 .clips--t3 .on1, .rv.s2 .clips--t3 .on2, .rv.s5 .clips--t3 .on5 { opacity: 1; }
/* zoom-mærket sidder midt på klippet: overgangschippen ved snittet ligger øverst og klip-etiketten nederst, så de aldrig dækker hinanden */
.zb { position: absolute; top: 50%; left: 3px; display: inline-flex; align-items: center; gap: 3px; height: 16px; margin-top: -9px; padding: 0 5px 0 3px; border-radius: 3px; background: #fff; color: var(--bg);
  font: 600 10px/1 var(--f-ui); white-space: nowrap; opacity: 0; transform: scale(.6); transform-origin: 0 50%; transition: opacity .3s, transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.zb .ic { width: 10px; height: 10px; }
.zb i, .trn i { font-style: normal; }
.rv.s4 .zb--4, .rv.s6 .zb--6 { opacity: 1; transform: none; }
.trn { position: absolute; z-index: 3; top: -1px; display: flex; align-items: center; gap: 3px; margin-left: -9px; opacity: 0; transform: scale(.6); transform-origin: 9px 9px;
  transition: opacity .3s, transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.trn .ic { width: 18px; height: 18px; padding: 4px; border-radius: 50%; background: var(--raised-2); color: #fff; box-shadow: 0 0 0 1.5px var(--bg-sunk), 0 0 0 2.5px var(--line-strong); }
.trn i { padding: 3px 5px; border-radius: 3px; background: #fff; color: var(--bg); font: 600 10px/1 var(--f-ui); }
.rv.s3 .tr-3, .rv.s7 .tr-7 { opacity: 1; transform: none; }
/* ændringen, der lander lige nu: rav ring (appens "valgt"), kun mens playhead'en står der */
.clp.is-hit, .cue.is-hit { box-shadow: inset 0 0 0 2px var(--accent); }
.trn.is-hit .ic { box-shadow: 0 0 0 1.5px var(--bg-sunk), 0 0 0 3.5px var(--accent); }
.tl__track.is-hit { box-shadow: 0 0 0 2px var(--accent); border-radius: 4px; }
/* playhead: hvid 2 px med flag (Premieres form) over alle rækker */
.tl__lag { position: absolute; z-index: 5; top: 0; bottom: 0; left: calc(var(--tl-hw) + var(--tl-pl)); right: var(--tl-pr); pointer-events: none; }
.tl__ph { position: absolute; top: 0; bottom: 4px; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(6, 6, 8, .55); }
.tl__ph::before { content: ""; position: absolute; top: 3px; left: -6px; width: 14px; height: 17px; border-radius: 3px 3px 0 0; background: #fff; clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); }

/* ---------- positioner (genereret) ---------- */
/* HERO:GEN:pos */
/* GENERERET af tools/byg_hero_v21.py side (media/hero/hero.json + tools/hero_cues.json). Ret ikke i hånden. */
.pin--1 { left: 40%; top: 36%; }
.mk1 { left: 1.511%; }
.pin--2 { left: 50%; top: 70%; }
.mk2 { left: 17.631%; }
.pin--3 { left: 66%; top: 56%; }
.mk3 { left: 28.338%; }
.pin--4 { left: 42%; top: 40%; }
.mk4 { left: 35.266%; }
.pin--5 { left: 70%; top: 20%; }
.mk5 { left: 48.868%; }
.pin--6 { left: 42%; top: 36%; }
.mk6 { left: 56.047%; }
.pin--7 { left: 60%; top: 50%; }
.mk7 { left: 70.783%; }
.pin--8 { left: 32%; top: 74.5%; }
.rv:not(.is-pre) .pin--8 { left: 32%; top: 65.5%; }
.mk8 { left: 81.864%; }
.qa-0 { left: 0.665%; width: calc(9.673% - 1px); }
.qa-1 { left: 10.459%; width: calc(1.511% - 1px); }
.qa-2 { left: 13.058%; width: calc(13.119% - 1px); }
.qa-3 { left: 26.479%; width: calc(2.116% - 1px); }
.qa-4 { left: 29.743%; width: calc(11.365% - 1px); }
.qa-5 { left: 42.197%; width: calc(10.821% - 1px); }
.qa-6 { left: 54.106%; width: calc(4.474% - 1px); }
.qa-7 { left: 59.668%; width: calc(10.7% - 1px); }
.qa-8 { left: 71.457%; width: calc(9.189% - 1px); }
.qa-9 { left: 81.129%; width: calc(4.957% - 1px); }
.qa-10 { left: 87.296%; width: calc(1.27% - 1px); }
.qa-11 { left: 89.653%; width: calc(4.353% - 1px); }
.qa-12 { left: 94.731%; width: calc(4.655% - 1px); }
.qb-0 { left: 0.363%; width: calc(4.715% - 1px); }
.qb-1 { left: 5.078%; width: calc(2.781% - 1px); }
.qb-2 { left: 7.859%; width: calc(2.297% - 1px); }
.qb-3 { left: 10.156%; width: calc(2.6% - 1px); }
.qb-4 { left: 12.756%; width: calc(4.111% - 1px); }
.qb-5 { left: 16.867%; width: calc(1.995% - 1px); }
.qb-6 { left: 18.862%; width: calc(2.116% - 1px); }
.qb-7 { left: 20.978%; width: calc(4.171% - 1px); }
.qb-8 { left: 25.149%; width: calc(4.292% - 1px); }
.qb-9 { left: 29.441%; width: calc(0.756% - 1px); }
.qb-10 { left: 30.197%; width: calc(9.038% - 1px); }
.qb-11 { left: 39.235%; width: calc(2.66% - 1px); }
.qb-12 { left: 41.895%; width: calc(5.804% - 1px); }
.qb-13 { left: 47.698%; width: calc(3.144% - 1px); }
.qb-14 { left: 50.842%; width: calc(2.962% - 1px); }
.qb-15 { left: 53.804%; width: calc(3.567% - 1px); }
.qb-16 { left: 57.371%; width: calc(1.995% - 1px); }
.qb-17 { left: 59.366%; width: calc(3.446% - 1px); }
.qb-18 { left: 62.812%; width: calc(0.786% - 1px); }
.qb-19 { left: 63.598%; width: calc(4.111% - 1px); }
.qb-20 { left: 67.708%; width: calc(3.446% - 1px); }
.qb-21 { left: 71.154%; width: calc(3.657% - 1px); }
.qb-22 { left: 74.812%; width: calc(2.751% - 1px); }
.qb-23 { left: 77.562%; width: calc(1.511% - 1px); }
.qb-24 { left: 79.074%; width: calc(7.919% - 1px); }
.qb-25 { left: 86.993%; width: calc(2.358% - 1px); }
.qb-26 { left: 89.351%; width: calc(1.935% - 1px); }
.qb-27 { left: 91.286%; width: calc(1.481% - 1px); }
.qb-28 { left: 92.767%; width: calc(1.662% - 1px); }
.qb-29 { left: 94.429%; width: calc(2.72% - 1px); }
.qb-30 { left: 97.15%; width: calc(2.85% - 1px); }
.ka-1 { left: 0%; width: calc(5.417% - 1px); background-image: url(/media/hero/take2_s01.webp); }
.ka-2 { left: 5.417%; width: calc(7.681% - 1px); background-image: url(/media/hero/take2_s02.webp); }
.ka-3 { left: 13.097%; width: calc(15.618% - 1px); background-image: url(/media/hero/take2_s03.webp); }
.ka-4 { left: 28.716%; width: calc(13.475% - 1px); background-image: url(/media/hero/take2_s04.webp); }
.ka-5 { left: 42.191%; width: calc(11.967% - 1px); background-image: url(/media/hero/take2_s05.webp); }
.ka-6 { left: 54.158%; width: calc(17.254% - 1px); background-image: url(/media/hero/take2_s06.webp); }
.ka-7 { left: 71.411%; width: calc(18.009% - 1px); background-image: url(/media/hero/take2_s07.webp); }
.ka-8 { left: 89.421%; width: calc(10.579% - 1px); background-image: url(/media/hero/take2_s08.webp); }
.kb-1 { left: 0%; width: calc(5.417% - 1px); background-image: url(/media/hero/take3_s01.webp); }
.kb-2 { left: 5.417%; width: calc(7.681% - 1px); background-image: url(/media/hero/take3_s02.webp); }
.kb-3 { left: 13.097%; width: calc(15.618% - 1px); background-image: url(/media/hero/take3_s03.webp); }
.kb-4 { left: 28.716%; width: calc(13.475% - 1px); background-image: url(/media/hero/take3_s04.webp); }
.kb-5 { left: 42.191%; width: calc(6.55% - 1px); background-image: url(/media/hero/take3_s05.webp); }
.kb-6 { left: 48.741%; width: calc(5.417% - 1px); background-image: url(/media/hero/take3_s06.webp); }
.kb-7 { left: 54.158%; width: calc(17.254% - 1px); background-image: url(/media/hero/take3_s07.webp); }
.kb-8 { left: 71.411%; width: calc(18.009% - 1px); background-image: url(/media/hero/take3_s08.webp); }
.kb-9 { left: 89.421%; width: calc(10.579% - 1px); background-image: url(/media/hero/take3_s09.webp); }
.tr-3 { left: 28.716%; }
.tr-7 { left: 71.411%; }
.rl-0 { left: 0%; }
.rl-1 { left: 15.114%; }
.rl-2 { left: 30.227%; }
.rl-3 { left: 45.341%; }
.rl-4 { left: 60.454%; }
.rl-5 { left: 75.568%; }
.rl-6 { left: 90.681%; }
.tl__row--r .tl__track { background-image: repeating-linear-gradient(90deg, var(--faint) 0 1px, transparent 1px 15.114%), repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 3.023%); background-size: 100% 9px, 100% 5px; background-position: 0 100%, 0 100%; background-repeat: no-repeat; }
.tl__ph { left: 51.008%; }
/* /HERO:GEN:pos */

/* ---------- sektioner ---------- */
.sec { position: relative; padding-block: clamp(56px, 6vw, 88px); overflow-x: clip; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec__head { margin-bottom: clamp(36px, 4vw, 56px); }
.sec__head--split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 24px clamp(32px, 5vw, 80px); }
.sec__lede { max-width: 34em; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.sec__lede--under { margin-top: 22px; }
.label .tag { letter-spacing: .07em; }

/* how it works: én række (hero viser det allerede) */
.sec--how { padding-block: clamp(52px, 5.4vw, 80px); }
.how { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: start; gap: 24px clamp(32px, 4vw, 64px); }
.how__head .label { margin-bottom: 14px; }
.loop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px clamp(18px, 2.4vw, 32px); margin: 0; padding: 0; list-style: none; }
.loop li { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; border-top: 1px solid var(--line-strong); }
.loop__n { margin-bottom: 6px; font: 600 13px/1 var(--f-label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.loop b { font-weight: 500; font-size: 17px; line-height: 1.3; letter-spacing: -.01em; color: #fff; }
.loop__t { font-size: 14.5px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.fx { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: clamp(32px, 3.4vw, 44px); padding-top: 22px; border-top: 1px solid var(--line); }
.fx__h { font-size: 16px; font-weight: 500; color: #fff; }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fchips li { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: #121317; font-size: 14px; color: var(--text); white-space: nowrap; }

/* the factory: A–Z-linjen */
.proc { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 clamp(14px, 1.6vw, 22px); margin: 0; padding: 0; list-style: none; }
.proc::before, .proc::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--line-strong); }
.proc::after { background: linear-gradient(90deg, rgba(255, 255, 255, .25), #fff 82%, rgba(255, 255, 255, .25)); transform: scaleX(1); transform-origin: 0 50%; }
.js .proc::after { transform: scaleX(0); transition: transform 1.6s cubic-bezier(.5, .1, .25, 1); }
.js .proc.is-in::after { transform: scaleX(1); }
.proc__s { position: relative; padding-top: 32px; }
.proc__dot { position: absolute; z-index: 1; top: 0; left: 0; width: 13px; height: 13px; border-radius: 50%; border: 1px solid #fff; background: #fff; }
.js .proc__dot { border-color: var(--line-strong); background: var(--bg); transition: background-color .3s, border-color .3s, box-shadow .4s; }
.js .proc.is-in .proc__dot { border-color: #fff; background: #fff; }
.js .proc.is-in .proc__s:nth-child(2) .proc__dot { transition-delay: .2s; } .js .proc.is-in .proc__s:nth-child(3) .proc__dot { transition-delay: .4s; }
.js .proc.is-in .proc__s:nth-child(4) .proc__dot { transition-delay: .6s; } .js .proc.is-in .proc__s:nth-child(5) .proc__dot { transition-delay: .8s; }
.js .proc.is-in .proc__s:nth-child(6) .proc__dot { transition-delay: 1s; } .js .proc.is-in .proc__s:nth-child(7) .proc__dot { transition-delay: 1.25s; }
.proc__s--tt .proc__dot, .js .proc.is-in .proc__s--tt .proc__dot { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft), 0 0 24px var(--accent-glow); }
.proc__n { display: flex; align-items: center; gap: 8px; height: 20px; color: var(--muted); font-size: 12.5px; }
.proc__tt { display: inline-flex; align-items: center; height: 18px; padding: 0 5px; border: 1px solid var(--line-strong); border-radius: 4px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
/* små billeder pr. trin (kun illustration) */
.gl { display: flex; align-items: flex-end; gap: 5px; height: 58px; margin: 16px 0 0; }
.gl img, .gl--tiles i { width: 33px; height: 58px; flex: none; object-fit: cover; border: 1px solid var(--line-strong); border-radius: 5px; background: #15171b; }
.gl--ads img:nth-child(2) { transform: translateY(-4px); }
.gl--tiles i { border-style: dashed; border-color: #4a4f58; background: transparent; }
.gl--cards { align-items: center; }
.gl--cards i { width: 36px; height: 50px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--raised); }
.gl--cards i:nth-child(2) { border-color: #fff; background: #23262c; transform: translateY(-5px) rotate(-3deg); }
.gl--lines { flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; }
.gl--lines i { height: 4px; border-radius: 2px; background: var(--raised-2); }
.gl--lines i:nth-child(1) { width: 78%; background: #fff; } .gl--lines i:nth-child(2) { width: 62%; } .gl--lines i:nth-child(3) { width: 70%; } .gl--lines i:nth-child(4) { width: 38%; }
.gl--wave { align-items: center; gap: 3px; }
.gl--wave i { width: 3px; height: 30%; border-radius: 2px; background: #6f747d; }
.gl--wave i:nth-child(3n+1) { height: 55%; } .gl--wave i:nth-child(4n+2) { height: 80%; } .gl--wave i:nth-child(5n+3) { height: 40%; } .gl--wave i:nth-child(7n) { height: 95%; } .gl--wave i:nth-child(n+19) { height: 18%; }
.gl--tl { display: grid; grid-template-columns: 3fr 2fr 2.6fr; grid-template-rows: 24px 12px; align-content: center; align-items: stretch; gap: 3px; width: 100%; max-width: 140px; }
.gl--tl i { border-top: 2px solid var(--trk-v); border-radius: 2px; background: #16304c repeat-x 0 0 / auto 100%; }
.gl--tl i:nth-child(1) { background-image: url(/img/tl-street.webp); } .gl--tl i:nth-child(2) { background-image: url(/img/tl-farm.webp); } .gl--tl i:nth-child(3) { background-image: url(/img/tl-letter.webp); }
.gl--tl b { border-radius: 2px; background: var(--trk-c); }
.gl--tl b:nth-of-type(1) { grid-column: 1 / 2; } .gl--tl b:nth-of-type(2) { grid-column: 2 / 3; margin-right: 6px; } .gl--tl b:nth-of-type(3) { grid-column: 3 / 4; }
.gl--check { flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; }
.gl--check i { display: flex; align-items: center; gap: 6px; width: 86%; }
.gl--check i::before { content: ""; flex: none; width: 10px; height: 10px; border: 1px solid var(--line-strong); border-radius: 3px; }
.gl--check i::after { content: ""; flex: 1; height: 3px; border-radius: 2px; background: var(--raised-2); }
.gl--check i:nth-child(-n+2)::before { border-color: #fff; background: #fff; }
.proc__t { margin: 10px 0 6px; font: 500 19px/1.2 var(--f-ui); letter-spacing: -.02em; color: #fff; }
.proc__s p { font-size: 14.5px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.js .proc__s { opacity: .35; transition: opacity .5s; }
.js .proc.is-in .proc__s { opacity: 1; }
.js .proc.is-in .proc__s:nth-child(2) { transition-delay: .2s; } .js .proc.is-in .proc__s:nth-child(3) { transition-delay: .4s; }
.js .proc.is-in .proc__s:nth-child(4) { transition-delay: .6s; } .js .proc.is-in .proc__s:nth-child(5) { transition-delay: .8s; }
.js .proc.is-in .proc__s:nth-child(6) { transition-delay: 1s; } .js .proc.is-in .proc__s:nth-child(7) { transition-delay: 1.25s; }

.brain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: clamp(44px, 4.6vw, 64px) 0 0; padding: 0; list-style: none; }
.brain__b { padding: clamp(20px, 2.2vw, 28px); border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, #101114, #0b0c0e); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03); }
.brain__i { width: 28px; height: 28px; margin-bottom: 22px; color: #fff; }
.brain__b { display: flex; flex-direction: column; }
.brain__b p { color: var(--muted); text-wrap: pretty; }
.skl { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.skl li { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--raised); font: 500 12.5px/1 var(--f-tc); color: #fff; white-space: nowrap; }
.hr { display: grid; gap: 7px; margin: 16px 0 0; padding: 0; list-style: none; }
.hr li { display: flex; align-items: center; gap: 9px; font: 400 13px/1.35 var(--f-tc); color: var(--text); }
.hr .ic { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: #fff; color: var(--bg); }
.mlog { display: grid; gap: 7px; margin: 16px 0 0; padding: 0; list-style: none; }
.mlog li { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 10px; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: #111215; }
.mlog i { font: 500 11.5px/1 var(--f-tc); font-style: normal; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.mlog b { height: 4px; border-radius: 2px; background: var(--raised-2); }
.mlog li:nth-child(1) b { width: 72%; background: #fff; } .mlog li:nth-child(2) b { width: 56%; } .mlog li:nth-child(3) b { width: 84%; }
.foot-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 24px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.foot-note .mono { font-size: 13px; }

/* formats: telefon-rammer (generisk, tegnet i CSS) */
.sec--formats { padding-bottom: clamp(64px, 8vw, 112px); }
.fmts-wrap { position: relative; }
.fmts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; max-width: 1400px; margin: 0 auto; padding: 0 var(--gut); list-style: none; }
.fmt { min-width: 0; }
.fmt:nth-child(even) { transform: translateY(40px); }
.fmt__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 24px; margin-bottom: 14px; }
.fmt__t { font: 500 16px/1.2 var(--f-ui); letter-spacing: -.01em; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fmt__head .tag { height: 20px; padding: 0 6px; font-size: 11px; }
.fmt__line { margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.phone { position: relative; padding: 6px; border-radius: 30px; background: linear-gradient(150deg, #34373e, #16171a 45%, #0d0e10); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 0 0 2px rgba(0, 0, 0, .6), 0 30px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .5); }
.phone::before { content: ""; position: absolute; z-index: 3; top: 15px; left: 50%; width: 30%; height: 15px; border-radius: 99px; background: #000; transform: translateX(-50%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.phone::after { content: ""; position: absolute; top: 24%; right: -2px; width: 3px; height: 13%; border-radius: 0 2px 2px 0; background: #2a2c31; }
.phone__screen { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 24px; background: #111; isolation: isolate; }
.phone__poster, .phone__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone__vid { opacity: 0; pointer-events: none; transition: opacity .45s; }
.phone__vid.is-playing { opacity: 1; }
/* reserven: videoen gemmes, men beholder sin boks (display:none ville give en tom boks og få det gamle observer-signal til at melde 'ude af syne') */
.phone.is-anim .phone__vid { visibility: hidden; opacity: 0; }
.stats { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-top: clamp(64px, 6vw, 88px); padding-top: 28px; border-top: 1px solid var(--line); }
.stats__row { display: flex; flex-wrap: wrap; gap: 16px clamp(28px, 4vw, 64px); }
.stat { display: flex; align-items: baseline; gap: 12px; font: 500 12px/1.3 var(--f-tc); letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.stat b { font: 500 clamp(40px, 4.4vw, 64px)/1 var(--f-ui); letter-spacing: -.045em; text-transform: none; color: #fff; }
.stats__src { font-size: 12px; color: var(--muted); }

/* library */
.libcards { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; }
.lcard { display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, #101114, #0b0c0e); }
.beats { display: flex; gap: 8px; margin-top: auto; padding-top: 24px; }
.beat { position: relative; flex: 1 1 0; max-width: 76px; aspect-ratio: 9 / 16; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 8px; background: #15171b; }
.beat img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.beat .ic { position: absolute; right: 5px; bottom: 5px; width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: #fff; color: var(--bg); }
.beat--new { border: 1px dashed #5d636e; background: linear-gradient(110deg, #121317 30%, #1d2026 50%, #121317 70%) 0 0 / 220% 100%; }
.js .beat--new { animation: beat-gen 2.4s linear infinite; }
@keyframes beat-gen { to { background-position: -220% 0; } }
.beat--new i { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; transform: translate(-50%, -50%);
  background: linear-gradient(#fff, #fff) center / 16px 1.5px no-repeat, linear-gradient(#fff, #fff) center / 1.5px 16px no-repeat; }
.lcard__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.lcard__head .h3 { margin: 0; }
.lcard__p { max-width: 36em; color: var(--muted); text-wrap: pretty; }
.lsteps { display: grid; margin: 20px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.lsteps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.lsteps li:last-child { border-bottom: 0; padding-bottom: 0; }
.lsteps .mono { padding-top: 3px; color: var(--muted); }
.lsteps p { color: var(--muted); font-size: 15px; }
.lsteps strong { font-weight: 500; color: #fff; }

.libfig { margin: 16px 0 0; padding: clamp(18px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, #101114, #0b0c0e); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
.libfig__in { display: grid; grid-template-columns: minmax(0, 380px) 24px minmax(0, 1fr); align-items: center; gap: clamp(14px, 2vw, 28px); }
.libfig__arrow { width: 22px; height: 22px; color: var(--muted); }
.clipc { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding: 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: #131519; box-shadow: 0 20px 44px rgba(0, 0, 0, .4); }
.clipc__thumb { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 8px; background: #1a1c21; }
.clipc__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.clipc__img.is-on { opacity: 1; }
.clipc__ba { display: flex; }
.clipc__ba img { width: 50%; height: 100%; object-fit: cover; }
.clipc__ba::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; }
.clipc__tags { display: flex; flex-wrap: wrap; align-content: center; gap: 6px; }
.ctag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--raised); font-size: 12.5px; color: #fff; white-space: nowrap; transition: opacity .3s, transform .35s var(--ease); }
.ctag i { font-style: normal; color: var(--muted); }
.ctag--role { border-color: #fff; background: #fff; color: var(--bg); font-weight: 500; }
.ctag--role i { color: #5d636e; font-weight: 400; }
.libfig.is-tagging .ctag { opacity: 0; transform: translateY(4px); }
.libfig.is-tagging .ctag.is-on { opacity: 1; transform: none; }
.buckets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1vw, 12px); }
.bk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 6px; align-content: start; padding: 10px; border: 1px solid transparent; border-radius: 12px; transition: border-color .3s, background-color .3s; }
.bk.is-hit { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .03); }
.bk__name { grid-column: 1 / -1; font: 600 13px/1.1 var(--f-label); letter-spacing: .07em; text-transform: uppercase; color: var(--text); white-space: nowrap; }
.bk .meter { grid-column: 1 / -1; }
.t-ba-short { display: none; }
.meter { position: relative; display: block; height: 4px; overflow: hidden; border-radius: 2px; background: var(--raised-2); }
.meter::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: #fff; transition: width .6s var(--ease); }
.meter--full::after { width: 100%; }
.meter--half::after { width: 40%; }
.libfig.is-tagging .bk .meter::after { width: 0; }
.libfig.is-tagging .bk.m40 .meter::after { width: 40%; }
.libfig.is-tagging .bk.m50 .meter::after { width: 50%; }
.libfig.is-tagging .bk.m100 .meter::after { width: 100%; }
.tile { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #15171b; transition: opacity .4s, transform .45s var(--ease); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile img { transition: opacity .4s, transform .5s var(--ease); }
.libfig.is-tagging .tile--in:not(.is-in) { border-style: dashed; border-color: #3a3e46; background: transparent; }
.libfig.is-tagging .tile--in:not(.is-in) img { opacity: 0; transform: scale(.8); }
.libfig.is-tagging .tile--ba:not(.is-in)::before { opacity: 0; }
.tile--ba { display: flex; }
.tile--ba img { width: 50%; }
.tile--ba::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; }
.tile--add { border: 1px dashed #3a3e46; background: transparent; }
.tile--add::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; transform: translate(-50%, -50%);
  background: linear-gradient(var(--faint), var(--faint)) center / 14px 1.5px no-repeat, linear-gradient(var(--faint), var(--faint)) center / 1.5px 14px no-repeat; }
.libfig__cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-top: 18px; font-size: 12px; color: var(--muted); }
.libfig__cap .mono { font-size: 12px; }
.lib__key { display: inline-flex; align-items: center; gap: 8px; }
.lib__key .meter { width: 16px; }
.lib__key .meter:not(:first-child) { margin-left: 8px; }
.lib__end { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; margin-top: 28px; }
.proof { max-width: 52ch; font-size: 13px; line-height: 1.5; color: var(--muted); }
.fun { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -.015em; color: #fff; }

/* your AI + your tools */
.ai { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 5vw, 80px); }
.chat { position: relative; padding-top: 11px; }
.chat__tag { position: absolute; top: 0; left: 20px; z-index: 2; }
.chat__win { display: flex; flex-direction: column; gap: 16px; padding: clamp(18px, 2.2vw, 26px); border: 1px solid var(--line-strong); border-radius: 18px; background: linear-gradient(180deg, #111215, #0c0d0f);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .05); }
.chat__conn { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: -4px 0 4px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.chat__conn .ic { color: #fff; }
.chat__conn b { margin-right: 4px; font-weight: 500; color: #fff; }
.chat__conn span { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 12px; color: var(--text); }
.msg { max-width: 88%; font-size: 15px; line-height: 1.5; }
.msg p { color: #fff; }
.msg__who { display: block; margin-bottom: 6px; font: 600 12px/1 var(--f-label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.msg--you { align-self: flex-end; padding: 10px 14px 12px; border-radius: 14px 14px 4px 14px; background: var(--raised-2); }
.msg--ai { align-self: flex-start; }
.msg--ai p { color: var(--text); }
.typing { display: none; gap: 4px; height: 22px; align-items: center; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typing 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-2px); } }
.msg__tiles { display: flex; gap: 8px; margin-top: 14px; }
.mtile { position: relative; width: 56px; aspect-ratio: 9 / 16; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 7px; background: #15171b; }
.mtile img { width: 100%; height: 100%; object-fit: cover; }
.mtile .ic { position: absolute; right: 4px; bottom: 4px; width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: #fff; color: var(--bg); }
.mtile--new { border-style: dashed; border-color: #4a4f58; background: transparent; }
.mtile--new::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; transform: translate(-50%, -50%);
  background: linear-gradient(var(--muted), var(--muted)) center / 14px 1.5px no-repeat, linear-gradient(var(--muted), var(--muted)) center / 1.5px 14px no-repeat; }
.chat__composer { display: flex; align-items: center; gap: 10px; height: 46px; margin-top: 6px; padding: 0 7px 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #0a0a0c; }
.chat__field { flex: 1; height: 1px; }
.chat__send { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--bg); }
.chat.is-play .msg { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); }
.chat.is-play.s1 .msg--you, .chat.is-play.s2 .msg--ai { opacity: 1; transform: none; }
.chat.is-play.s2:not(.s3) .typing { display: flex; }
.chat.is-play:not(.s3) .msg__txt, .chat.is-play:not(.s3) .msg__tiles { display: none; }
.chat.is-play.s3 .msg__txt { animation: note-in .45s var(--ease) both; }
.chat.is-play.s3 .mtile { animation: note-in .45s var(--ease) both; }
.chat.is-play.s3 .mtile:nth-child(2) { animation-delay: .12s; } .chat.is-play.s3 .mtile:nth-child(3) { animation-delay: .24s; }

.tools__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.tools__head .h3 { margin: 0; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -.03em; }
.tools__p { max-width: 30em; font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); text-wrap: pretty; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.chipt { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 13px; border: 1px solid var(--line-strong); border-radius: 999px; background: #121317; font-size: 15px; font-weight: 500; color: #fff; white-space: nowrap; }
.chipt .ic { color: var(--muted); }
.chipt--more { padding-left: 16px; border-style: dashed; background: transparent; color: var(--muted); font-weight: 400; }
.ai__until { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: clamp(36px, 4vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); font-size: 16px; color: var(--text); }

/* early access: én kolonne, centreret, ét rav punktum */
.sec--ea { overflow: clip; }
.sec--ea::before { content: ""; position: absolute; inset: 0 0 auto; height: 560px; pointer-events: none;
  background: radial-gradient(ellipse 46% 64% at 50% 0%, rgba(255, 255, 255, .06), transparent 72%); }
.ea { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ea .label { justify-content: center; }
.ea__promise { max-width: 30em; margin: 22px 0 36px; font-size: clamp(18px, 1.55vw, 21px); line-height: 1.5; color: var(--muted); }
.signup { position: relative; width: 100%; max-width: 560px; text-align: left; }
.field { display: block; width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--field-border); border-radius: 8px; background: var(--panel); color: var(--text);
  font: 400 16px/1 var(--f-ui); transition: border-color .15s, box-shadow .15s; }
.field::placeholder { color: var(--muted); opacity: 1; }
.field:hover { border-color: var(--muted); }
.field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field[aria-invalid="true"] { border-color: var(--danger); }
.signup__row { display: flex; align-items: center; gap: 12px 20px; margin-top: 14px; }
.signup__consent { display: flex; flex: 1; align-items: flex-start; gap: 12px; min-width: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.signup__consent label { padding: 1px 0; cursor: pointer; }
.signup__btn { flex: none; }
.check { display: grid; place-items: center; flex: none; width: 22px; height: 22px; margin: 0; border: 1px solid var(--field-border); border-radius: 5px; background: var(--panel);
  appearance: none; -webkit-appearance: none; cursor: pointer; transition: background-color .15s, border-color .15s; }
.check:hover { border-color: var(--muted); }
.check:checked { border-color: #fff; background: #fff; }
.check:checked::after { content: ""; width: 10px; height: 5px; border-left: 2px solid var(--bg); border-bottom: 2px solid var(--bg); transform: translateY(-1px) rotate(-45deg); }
.check[aria-invalid="true"] { border-color: var(--danger); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.signup__status { min-height: 1.6em; margin-top: 16px; font-size: 15px; color: var(--text); }
.signup__status.is-err { color: var(--danger); }
.signup.is-done .field, .signup.is-done .signup__row { display: none; }
.signup.is-done .signup__status { display: flex; align-items: center; gap: 12px; margin-top: 0; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--panel); font-size: 17px; color: #fff; }
.signup.is-done .signup__status::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.6 8.3 7 10.6l4.4-4.9' fill='none' stroke='%230a0a0b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.signup__status:focus { outline: none; }
.ea__legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; font-size: 13px; color: var(--muted); }
.ea__legend { gap: 8px 16px; }
.lg { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }

/* footer */
/* ---------- "Learn more" on the four main pages + "Learn" as the current section (T-018, 10/10) ----------
   A short row of guides from /learn, written by tools/byg_learn.py between SHARED:learn markers. On a guide under
   /learn/<slug>, "Learn" in the menu carries aria-current="true" (the section, not the page) and looks the same. */
.top__links a[aria-current="true"] { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 9px; }
.sheet__a[aria-current="true"] .sheet__w { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.foot__nav a[aria-current="true"] { color: #fff; }
.lrn { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px clamp(32px, 4vw, 64px); }
.lrn__h { align-self: start; margin: 10px 0 0; }
.lrn__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.lrn__a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 0; border-bottom: 1px solid var(--line);
  font: 500 clamp(17px, 1.4vw, 19px)/1.35 var(--f-ui); letter-spacing: -.012em; color: #fff; text-decoration: none; }
.lrn__a .ic { width: 16px; height: 16px; color: var(--muted); transition: transform .2s var(--ease), color .15s; }
.lrn__a:hover .ic { color: #fff; transform: translateX(2px); }
.lrn__all { margin-top: 12px; font-size: 15px; }
.lrn__all a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); text-underline-offset: 3px; }
.lrn__all a:hover { color: #fff; }
@media (max-width: 1023px) { .lrn { grid-template-columns: minmax(0, 1fr); } .lrn__h { margin: 0; } }
/* five links from 1024 px: up to 1199 px the topbar button uses its short text ("Early access" / "Waitlist"), so the links
   keep clear of "Pause motion", Log in and the button on every page (checked at 1024 and 1200 in tools/screens_learn.py) */
@media (min-width: 1024px) and (max-width: 1199px) { .top .t-long { display: none; } .top .t-short { display: inline; } .top__links { gap: 20px; } }

.foot { padding-block: 40px 56px; border-top: 1px solid var(--line); }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot__logo { display: block; padding: 4px 0; border-radius: 4px; }
.wordmark { height: 22px; width: auto; }
.foot__meta { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.foot__meta a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; color: var(--muted); text-decoration: none; }
.foot__meta a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot__privacy { max-width: 72ch; margin-top: 20px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.foot__privacy strong { font-weight: 500; color: var(--text); }
.foot__tm { max-width: 72ch; margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* tekstlink med pil (T-013): forsidens "See the full flow" og undersiderne */
.alink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; color: #fff; text-decoration: none; }
.alink .ic { color: var(--muted); transition: transform .2s var(--ease), color .15s; }
.alink:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.alink:hover .ic { color: #fff; transform: translateX(2px); }
.lcard__more { align-self: flex-start; margin-top: 14px; }

/* footerens links (T-013): alle sider, også 404/tak/prøv igen/fejl */
.foot__nav ul { display: flex; flex-wrap: wrap; gap: 0 22px; margin: 14px 0 0; padding: 0; list-style: none; }
.foot__nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--muted); text-decoration: none; }
.foot__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot__nav a[aria-current="page"] { color: #fff; }
.simple__nav { margin-top: 40px; padding-top: 8px; border-top: 1px solid var(--line); }
.simple__nav ul { margin-top: 6px; }

/* enkle sider (tak / prøv igen / fejl, uden JS) */
.simple { min-height: 100vh; display: grid; place-items: center; padding: 96px var(--gut); }
.simple__box { max-width: 560px; }
.simple__box .h2 { margin: 28px 0 16px; }
.simple__box p { color: var(--muted); font-size: 18px; margin-bottom: 32px; }

/* scroll-reveal (kun med JS, kun første gang) */
[data-reveal] { transition: opacity .6s var(--ease), transform .7s var(--ease); }
[data-reveal].is-hidden { opacity: 0; transform: translateY(14px); }

/* ============ mærket: "turen skifter" (brand.css, ordret + .is-claude) ============ */
.tt-tur { overflow: visible; }
.tt-tur__t, .tt-tur__seat { fill: #fff; }
.tt-tur__ball { fill: var(--accent); }
.tt-tur__pop { fill: none; stroke: var(--accent); stroke-width: 1.1; }
.tt-tur .tt-tur__ball { transform-box: fill-box; transform-origin: 50% 100%; }
.tt-tur .tt-tur__pop { transform-box: fill-box; transform-origin: 50% 50%; opacity: 0; }
.tt-tur .tt-tur__seat--r { opacity: 0; }
.tt-tur.is-loading .tt-tur__x, .tt-tur.is-ny .tt-tur__x, .tt-tur.is-claude .tt-tur__x { animation-name: tt-hop-x; }
.tt-tur.is-loading .tt-tur__y, .tt-tur.is-ny .tt-tur__y, .tt-tur.is-claude .tt-tur__y { animation-name: tt-hop-y; }
.tt-tur.is-loading .tt-tur__ball, .tt-tur.is-ny .tt-tur__ball, .tt-tur.is-claude .tt-tur__ball { animation-name: tt-hop-ball; animation-timing-function: ease-out; }
.tt-tur.is-loading .tt-tur__seat--l, .tt-tur.is-ny .tt-tur__seat--l, .tt-tur.is-claude .tt-tur__seat--l { animation-name: tt-seat-l; }
.tt-tur.is-loading .tt-tur__seat--r, .tt-tur.is-ny .tt-tur__seat--r, .tt-tur.is-claude .tt-tur__seat--r { animation-name: tt-seat-r; }
.tt-tur.is-loading * { animation-duration: 640ms; animation-direction: alternate; animation-iteration-count: infinite; }
.tt-tur.is-ny * { animation-duration: 640ms; animation-direction: reverse; animation-fill-mode: both; animation-delay: var(--tt-delay, 0ms); }
.tt-tur.is-claude * { animation-duration: 640ms; animation-direction: normal; animation-fill-mode: both; animation-delay: var(--tt-delay, 0ms); }
.tt-tur.is-ny .tt-tur__pop { animation: tt-pop 380ms calc(var(--tt-delay, 0ms) + 500ms) cubic-bezier(.2, .7, .2, 1) forwards; }
.tt-tur.is-paused * { animation-play-state: paused !important; }
@keyframes tt-hop-x { 0%, 18% { transform: translateX(0); animation-timing-function: cubic-bezier(.45, 0, .55, 1); } 82%, 100% { transform: translateX(-23.35px); } }
@keyframes tt-hop-y {
  0%, 18% { transform: translateY(0); animation-timing-function: cubic-bezier(.2, .65, .35, 1); }
  50% { transform: translateY(-33.37px); animation-timing-function: cubic-bezier(.65, 0, .8, .35); }
  82%, 100% { transform: translateY(0); } }
@keyframes tt-hop-ball { 0% { transform: none; } 9% { transform: scale(1.14, .84); } 18% { transform: scale(.92, 1.1); }
  30%, 70% { transform: none; } 82% { transform: scale(1.16, .82); } 90% { transform: scale(.96, 1.04); } 100% { transform: none; } }
@keyframes tt-seat-l { 0%, 79% { opacity: 1; } 80%, 100% { opacity: 0; } }
@keyframes tt-seat-r { 0%, 20% { opacity: 0; } 21%, 100% { opacity: 1; } }
@keyframes tt-pop { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.1); } }

/* ============ responsivt ============ */
@media (min-width: 600px) {
  #lib-h .dim { display: block; }
}
@media (max-width: 1199px) {
  .rv__body { grid-template-columns: minmax(0, 27fr) minmax(0, 38fr) minmax(0, 35fr); height: 640px; }
  .notes__list { gap: 5px; padding: 8px 10px 10px; }
  .nt { gap: 8px; padding: 8px 10px; }
  .nt__chg { margin-top: 6px; padding-top: 6px; }
  .vid, .player__bar { max-width: 300px; }
  .rv__mode { display: none; }
  .cap-line { padding: 11px 14px; font-size: 13.5px; }
  .fmts { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 820px; gap: 40px 28px; }
  .fmt:nth-child(even) { transform: none; }
  .fmt:nth-child(3n+2) { transform: translateY(32px); }
  .proc { grid-template-columns: minmax(0, 1fr); max-width: 640px; gap: 0; }
  .proc::before, .proc::after { top: 0; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; }
  .proc::after { background: linear-gradient(180deg, rgba(255, 255, 255, .25), #fff 82%, rgba(255, 255, 255, .25)); transform-origin: 50% 0; }
  .js .proc::after { transform: scaleY(0); }
  .js .proc.is-in::after { transform: scaleY(1); }
  .proc__s { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; padding: 0 0 26px 40px; }
  .gl { display: none; }
  .proc__s:last-child { padding-bottom: 0; }
  .proc__dot { top: 4px; }
  .proc__n { grid-row: 1 / span 2; align-self: start; padding-top: 3px; }
  .proc__t { margin: 0 0 4px; }
  .how { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1023px) {
  .rv__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); height: 660px; }
  .caps, .rv__seg { display: none; }
  .player { border-left: 0; }
  .rv__count { display: none; }
  .sec__head--split { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .libfig__in { grid-template-columns: minmax(0, 1fr); }
  .libfig__arrow { justify-self: center; transform: rotate(90deg); }
  .clipc { max-width: 520px; width: 100%; justify-self: center; }
  .ai { grid-template-columns: minmax(0, 1fr); }
  .chat { max-width: 620px; }
}
@media (max-width: 860px) {
  .libcards { grid-template-columns: minmax(0, 1fr); }
  .brain { grid-template-columns: minmax(0, 1fr); }
  .brain__b { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; }
  .brain__i { grid-row: 1 / span 2; margin: 0; }
  .skl, .hr, .mlog { grid-column: 2; }
}
@media (max-width: 767px) {
  /* formater: vandret karrusel med snap og kant-fade (siden selv scroller ikke vandret) */
  .fmts { display: flex; gap: 16px; max-width: none; padding: 4px var(--gut) 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut);
    scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 36px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 36px), transparent 100%); }
  .fmts::-webkit-scrollbar { display: none; }
  .fmt { flex: 0 0 min(64%, 260px); scroll-snap-align: start; }
  .fmt:nth-child(n) { transform: none; }
  .stats { margin-top: 56px; }
  .stats__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; }
  .stat { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 11px; }
}
@media (max-width: 680px) {
  /* mobil: kortere side (mål højst ca. 8000 px ved 375) */
  .sec { padding-block: 48px; }
  .sec__head { margin-bottom: 28px; }
  .sec--how { padding-block: 44px; }
  .loop__t, .mlog { display: none; }
  /* hjernen: vandret karrusel med snap og kant-fade, som formaterne */
  .brain { display: flex; gap: 10px; margin: 28px calc(var(--gut) * -1) 0; padding: 0 var(--gut) 4px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut);
    scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 28px), transparent 100%); }
  .brain::-webkit-scrollbar { display: none; }
  .brain__b { display: block; flex: 0 0 min(84%, 320px); padding: 18px; scroll-snap-align: start; }
  .chat__composer { display: none; }
  .lcard { padding: 18px; }
  .lsteps li { padding: 10px 0; }
  .libfig { padding: 14px; }
  .lib__end { margin-top: 20px; }
  .shot { margin-top: 32px; }
  .ai__until { margin-top: 32px; }
  .brain__i { width: 22px; height: 22px; margin: 0 0 10px; }
  .skl, .hr { margin-top: 12px; }
  .stats { margin-top: 44px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .loop { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .loop li { padding-top: 12px; }
  .fx { gap: 12px; }
  .fchips li { height: 30px; padding: 0 10px; font-size: 13.5px; }
  /* A–Z-linjen: kompakt gitter med 2 kolonner, kun nummer og titel */
  .proc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: none; }
  .proc::before, .proc::after { display: none; }
  .proc__s, .proc__s:last-child { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #0f1013; }
  .proc__s p { display: none; }
  .proc__dot { position: static; flex: none; width: 9px; height: 9px; }
  .proc__n { gap: 6px; height: auto; padding: 0; font-size: 12px; }
  .proc__tt { display: none; }
  .proc__t, .proc__s .proc__t { margin: 0; font-size: 16px; }
  .proc__s--tt { border-color: rgba(255, 176, 32, .45); }
  .beats { display: none; }
  .signup__row { flex-direction: column; align-items: stretch; }
  .signup__btn { width: 100%; }
  .shot__meta { flex-direction: column; align-items: flex-start; }

  /* mobil-komposition af review-vinduet: video med pins og én noteboble ad gangen, så tidslinjen under videoen
     og noterne som en kompakt liste (fast højde, så siden ikke hopper, mens noterne lander) */
  .rv { display: flex; flex-direction: column; font-size: 12px; }
  .rv__body { display: contents; }
  .rv__top { order: 0; gap: 8px; height: 46px; padding: 0 10px; }
  .player { order: 1; padding: 12px 12px 4px; border: 0; }
  .tl { order: 2; --tl-hw: 0px; --tl-pl: 10px; --tl-pr: 10px; padding-bottom: 6px; }
  .notes { order: 3; border-top: 1px solid var(--line); }
  .rv__crumb, .rv__fill { display: none; }
  .rv__mark { height: 19px; margin-right: 0; }
  .rv__chip { font-size: 11.5px; padding: 0 6px 0 8px; }
  .rv__chip .ic { display: none; }
  .rv__next { margin-left: auto; height: 28px; padding: 0 10px; font-size: 12px; }
  .vid, .player__bar { max-width: 264px; }
  .player__bar { height: 34px; }
  .player__full { display: none; }
  .rv.is-seq.is-pre:not(.is-sent) .vid__n { display: inline-flex; }
  .bub { left: 5% !important; right: 5%; top: auto !important; bottom: 4%; width: auto; padding: 8px 9px; transform-origin: 50% 100%; }
  .bub__txt { margin-top: 6px; font-size: 13px; }
  .bub__foot { margin-top: 6px; padding-top: 6px; }
  .toast { top: 52px; height: 32px; padding: 0 12px; font-size: 12px; }
  .tl__row > b { display: none; }
  .tl__row--r { height: 22px; }
  .tl__row--m { height: 22px; }
  .tl__row--c { height: 18px; }
  .tl__row--v { height: 44px; }
  .cue > span, .clp::after, .zb i, .trn i { display: none; }
  .zb { top: auto; bottom: 2px; left: 2px; height: 14px; margin-top: 0; padding: 0 2px; transform-origin: 0 100%; }
  .trn { margin-left: -8px; }
  .trn .ic { width: 16px; height: 16px; padding: 3px; }
  .mk { width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px; font-size: 8.5px; }
  .rl-1, .rl-3, .rl-5 { display: none; }
  .notes__head { height: 40px; padding: 0 12px; }
  .notes__list { flex: none; height: 214px; gap: 5px; padding: 8px 10px 10px; }
  .nt { grid-template-columns: minmax(0, 1fr) 16px; gap: 8px; padding: 7px 9px; }
  .nt .av { display: none; }
  .nt__txt { font-size: 12.5px; line-height: 1.4; }
  .nt__chg { margin-top: 5px; padding-top: 5px; font-size: 11.5px; }
}
@media (max-width: 599px) {
  .buckets { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .bk { gap: 6px 4px; padding: 6px; }
  .tile { border-radius: 5px; }
  .clipc { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .ctag { height: 24px; padding: 0 7px; font-size: 12px; }
}
@media (max-width: 479px) {
  .t-ba-long { display: none; }
  .t-ba-short { display: inline; }
  .bk__name { font-size: 12px; letter-spacing: .05em; }
  .pill { font-size: 13.5px; }
  .stat b { font-size: 40px; }
}
@media (max-width: 400px) {
  .rv__ver .ic { display: none; }
  .rv__top { gap: 6px; }
}

/* ============ reduceret bevægelse og "Pause motion" ============
   Hero og format-loops spiller stadig ved "Reducer bevægelse" (de er indholdet, D-v2 10/10); det dekorative står stille:
   ingen glid, fjedre, blink eller indflyvning. "Pause motion" (html.is-still) stopper desuden selve videoerne (main.js). */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .tt-tur * { animation: none !important; }
  .tt-tur.is-loading .tt-tur__x, .tt-tur.is-claude .tt-tur__x { transform: translateX(-23.35px); }
  .tt-tur.is-loading .tt-tur__seat--r, .tt-tur.is-claude .tt-tur__seat--r { opacity: 1; }
  .tt-tur.is-loading .tt-tur__seat--l, .tt-tur.is-claude .tt-tur__seat--l { opacity: 0; }
  [data-reveal].is-hidden { opacity: 1; transform: none; }
  .caret, .typing { display: none !important; }
}
html.is-still { scroll-behavior: auto; }
html.is-still *, html.is-still *::before, html.is-still *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
html.is-still .tt-tur * { animation: none !important; }
html.is-still .tt-tur.is-loading .tt-tur__x { transform: translateX(-23.35px); }
html.is-still .tt-tur.is-loading .tt-tur__seat--r { opacity: 1; }
html.is-still .tt-tur.is-loading .tt-tur__seat--l { opacity: 0; }
html.is-still [data-reveal].is-hidden { opacity: 1; transform: none; }
html.is-still .caret { display: none !important; }

/* T-041: optional questions share the signup design. */
.signup[hidden],.ea-questions[hidden]{display:none!important}.ea-intro{font-size:20px;font-weight:600;margin:0 0 16px}.signup>label,.ea-controls label{display:block;margin:14px 0 8px;font-size:14px}.signup>#ea-name{margin-bottom:8px}.ea-questions{max-width:640px;margin:32px auto 0;text-align:left}.ea-confirmed{color:var(--amber,#f6b544);font-weight:600}.ea-questions h3{font-size:clamp(24px,5vw,34px);line-height:1.2;margin:14px 0}.ea-questions .field{width:100%;max-width:100%;box-sizing:border-box}.ea-questions select.field{color:inherit;background:#161618;min-height:52px}.ea-questions option{color:#fff;background:#161618}.ea-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.ea-actions .btn{white-space:normal;text-align:center}.ea-controls>p{font-size:13px;opacity:.75}.ea-questions .signup__status{min-height:28px}.ea-questions input{min-width:0}@media(max-width:420px){.ea-actions .btn{flex:1 1 120px;padding-inline:12px}.ea-questions{width:100%}.ea-questions select.field{font-size:16px;padding-inline:10px}}

.signup.is-done>label,.signup.is-done>.ea-intro{display:none}

.ea-questions [hidden]{display:none!important}
