/* Brandhackers Post forside. Statisk side, ingen build-trin.
   Formsprog: knapper og chips 10px, flader og billeder 18px, telefonklip 20px.
   Ét easing-sprog: --ease (expo-agtig ud), 160 ms på knapper, 700 ms på indgange. */

@font-face {
  font-family: "Bebas Neue";
  src: url("/landing/fonts/bebas-neue.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans"; /* impeccable-disable-line overused-font -- Brandhackers-designets faste brødskrift (brief 6/10) */
  src: url("/landing/fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #080808;
  --bg-2: #0c0c0c;
  --surface: #111111;
  --surface-2: #161616;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.18);
  --text: #f5f5f4;
  --muted: #b9b9b5;
  --dim: #94948f;
  --red: #ff3b30;
  --red-ink: #080808;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r-btn: 10px;
  --r-panel: 18px;
  --r-phone: 20px;
  --gutter: 16px;
  --display: "Bebas Neue", "Arial Narrow", sans-serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif; /* impeccable-disable-line overused-font -- brandets skrift */
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
section[id] { scroll-margin-top: 80px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 30;
  padding: 10px 16px; border-radius: var(--r-btn);
  background: var(--red); color: var(--red-ink); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }
main:focus { outline: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* Knapper */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-btn);
  font-weight: 700; font-size: 16px; line-height: 1; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 160ms var(--ease), background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-red { background: var(--red); color: var(--red-ink); }
.btn-red:hover { background: #ff5148; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.42); background: rgba(255, 255, 255, 0.04); }
.btn-sm { min-height: 40px; padding: 9px 16px; font-size: 15px; }
@media (hover: hover) { .btn:hover { transform: translateY(-1px); } .btn:active { transform: scale(0.98); } }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(8, 8, 8, 0.86);
  border-bottom: 1px solid var(--line);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .nav { background: rgba(8, 8, 8, 0.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; flex: none; }
.logo img { width: auto; height: 20px; }
.logo .logo-icon { width: 26px; height: 26px; }
@media (max-width: 767px) { .nav-in { gap: 12px; } }
@media (min-width: 768px) { .logo { gap: 10px; } .logo img { height: 26px; } .logo .logo-icon { width: 36px; height: 36px; } }
.nav nav { margin-left: auto; display: none; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none; transition: color 160ms var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav .btn { margin-left: auto; }
@media (min-width: 960px) {
  .nav nav { display: block; }
  .nav .btn { margin-left: 8px; }
}

/* Hero */
.hero { position: relative; overflow: clip; }
.hero::before {
  content: ""; position: absolute; left: 50%; bottom: -55%; width: 160%; height: 90%;
  transform: translateX(-50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 59, 48, 0.16), rgba(255, 59, 48, 0.04) 60%, transparent 76%);
}
.hero-in {
  position: relative; display: grid; gap: 32px;
  padding-block: 36px 56px;
}
@media (min-width: 1024px) {
  .hero-in {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center; gap: 56px;
    padding-block: clamp(48px, 9vh, 96px) clamp(64px, 11vh, 120px);
  }
}
.h1-kicker {
  display: block; margin-bottom: 14px;
  font-family: var(--body); font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red);
}
.h1-main {
  display: block; font-family: var(--display); font-weight: 400;
  font-size: clamp(60px, 8.2vw, 116px); line-height: 0.92; letter-spacing: 0.005em;
}
.h1-main .line { display: block; overflow: hidden; padding-top: 0.16em; margin-top: -0.16em; padding-bottom: 0.04em; }
.h1-main .line > span { display: block; }
.hero-sub { margin-top: 22px; max-width: 36ch; font-size: 19px; line-height: 1.55; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-media { position: relative; }
.hero-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-panel); overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px var(--line-2), 0 40px 120px rgba(0, 0, 0, 0.6);
}
.hero-frame video { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; left: 8%; right: 8%; bottom: -26px; height: 52px; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 59, 48, 0.42), transparent);
  filter: blur(14px); pointer-events: none;
}

/* Afspil/pause */
.vid-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 7px 12px; border-radius: var(--r-btn);
  background: rgba(8, 8, 8, 0.74); border: 1px solid var(--line-2);
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: transform 160ms var(--ease), background-color 160ms var(--ease), border-color 160ms var(--ease);
}
.vid-toggle:hover { border-color: rgba(255, 255, 255, 0.42); }
.vid-toggle:active { transform: scale(0.97); }
.vid-toggle .ic { width: 14px; height: 14px; }
.vid-toggle .ic-play { display: none; }
.vid-toggle[data-paused="true"] .ic-play { display: block; }
.vid-toggle[data-paused="true"] .ic-pause { display: none; }
.hero-frame .vid-toggle { position: absolute; right: 12px; bottom: 12px; }

/* Sådan virker det */
.how { padding-block: 72px; border-top: 1px solid var(--line); }
.how-in { display: grid; gap: 48px; }
@media (min-width: 1024px) {
  .how { padding-block: 112px; }
  .how-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .how-intro { position: sticky; top: 112px; }
}
h2 {
  font-family: var(--display); font-weight: 400; letter-spacing: 0.005em;
  font-size: clamp(42px, 5.2vw, 72px); line-height: 0.95;
}
.lead { margin-top: 22px; font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 46ch; }
.lead-2 { margin-top: 16px; font-size: 17px; color: var(--text); font-weight: 600; max-width: 46ch; }
.steps { display: grid; gap: 64px; counter-reset: none; }
.step { display: grid; gap: 22px; }
.step-text h3 { font-size: 21px; font-weight: 700; line-height: 1.3; }
.step-verb {
  display: block; margin-bottom: 6px;
  font-family: var(--display); font-weight: 400; font-size: 64px; line-height: 0.9; letter-spacing: 0.01em;
}
.step-verb::after { content: "."; color: var(--red); }
.step-text p { margin-top: 10px; color: var(--muted); max-width: 52ch; }
.step-media-phone video {
  width: min(240px, 62vw); aspect-ratio: 9 / 16; height: auto; object-fit: cover;
  border-radius: var(--r-phone); background: #000;
  box-shadow: 0 0 0 1px var(--line-2), 0 30px 80px rgba(0, 0, 0, 0.55);
}
.step-media-shot img {
  width: 100%; max-width: 620px; height: auto; border-radius: 14px;
  box-shadow: 0 0 0 1px var(--line-2), 0 30px 80px rgba(0, 0, 0, 0.55);
}
.channels {
  max-width: 560px; border-radius: var(--r-panel); background: var(--surface);
  box-shadow: 0 0 0 1px var(--line); padding: 6px 22px;
}
.channels li {
  display: flex; align-items: center; gap: 16px; min-height: 64px;
  border-bottom: 1px solid var(--line); color: var(--dim);
}
.channels li:last-child { border-bottom: 0; }
.channels li.on { color: var(--text); }
.brand-ic { width: 26px; height: 26px; fill: currentColor; flex: none; }
.ch-n { flex: 1; font-family: var(--display); font-size: 30px; line-height: 1; letter-spacing: 0.02em; }
.ch-s { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.channels li.on .ch-s .ic { fill: var(--red); }

/* Klip */
.reels { padding-block: 72px 64px; border-top: 1px solid var(--line); background: var(--bg-2); }
@media (min-width: 1024px) { .reels { padding-block: 112px 88px; } }
.reels-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.reels-sub { margin-top: 18px; max-width: 50ch; color: var(--muted); font-size: 18px; }
.reel-track {
  display: flex; gap: 14px; margin-top: 40px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding-inline: var(--gutter); padding-bottom: 16px; scroll-padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}
.reel { flex: 0 0 min(62vw, 230px); scroll-snap-align: start; }
.reel video {
  width: 100%; aspect-ratio: 9 / 16; height: auto; object-fit: cover; background: #000;
  border-radius: var(--r-phone); box-shadow: 0 0 0 1px var(--line-2), 0 24px 60px rgba(0, 0, 0, 0.5);
}
.reel figcaption { margin-top: 14px; }
.reel-b { display: block; font-family: var(--display); font-size: 26px; line-height: 1; letter-spacing: 0.02em; }
.reel-m { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
@media (min-width: 1200px) {
  .reel-track {
    display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px;
    max-width: 1240px; margin-inline: auto; overflow: visible; scroll-snap-type: none; padding-bottom: 0;
  }
  .reel:nth-child(even) { margin-top: 44px; }
}
.reels-note { margin-top: 28px; max-width: 52ch; font-size: 14px; color: var(--dim); }

/* Funktioner */
.features { padding-block: 72px; border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .features { padding-block: 112px; } }
.bento { display: grid; gap: 14px; margin-top: 40px; grid-template-columns: minmax(0, 1fr); }
.cell {
  position: relative; overflow: hidden; border-radius: var(--r-panel);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  padding: 28px;
}
.cell h3 { font-family: var(--display); font-weight: 400; font-size: 38px; line-height: 1; letter-spacing: 0.015em; }
.cell p { margin-top: 10px; color: var(--muted); font-size: 16px; max-width: 48ch; }
.cell-ic { width: 36px; height: 36px; fill: var(--red); margin-bottom: 18px; }
.cell-studio { padding: 0; display: flex; flex-direction: column; }
.cell-media video { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; background: #000; }
.cell-body { padding: 26px 28px 30px; }
.cell-publish { background: linear-gradient(160deg, #161616, #0f0f0f 60%); }
.mini-ch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.mini-ch li {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 6px 12px;
  border-radius: var(--r-btn); font-size: 14px; font-weight: 600;
  color: var(--dim); box-shadow: inset 0 0 0 1px var(--line);
}
.mini-ch li.on { color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 59, 48, 0.55); background: rgba(255, 59, 48, 0.08); }
.mini-ch svg { width: 16px; height: 16px; fill: currentColor; }
.cell-wide { display: flex; gap: 22px; align-items: flex-start; }
.cell-wide .cell-ic { margin-bottom: 0; }
.cell-mcp { background: var(--surface-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags li {
  min-height: 32px; display: inline-flex; align-items: center; padding: 6px 12px; border-radius: var(--r-btn);
  font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-2);
}
@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell-studio, .cell-publish, .cell-wide { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
      "studio studio publish publish"
      "studio studio org keys"
      "drive drive mcp mcp";
  }
  .cell-studio, .cell-publish, .cell-wide { grid-column: auto; }
  .cell-studio { grid-area: studio; }
  .cell-publish { grid-area: publish; }
  .cell-small:nth-of-type(3) { grid-area: org; }
  .cell-small:nth-of-type(4) { grid-area: keys; }
  .cell-wide:nth-of-type(5) { grid-area: drive; }
  .cell-wide:nth-of-type(6) { grid-area: mcp; }
  .cell-studio .cell-media { flex: 1; min-height: 0; }
  .cell-studio .cell-media video { height: 100%; }
}

/* Metoder */
.methods { padding-block: 72px; border-top: 1px solid var(--line); background: var(--bg-2); }
@media (min-width: 1024px) { .methods { padding-block: 112px; } }
.methods-sub { margin-top: 18px; max-width: 56ch; color: var(--muted); font-size: 18px; }
.m-grid { display: grid; gap: 36px; margin-top: 44px; }
@media (min-width: 768px) {
  .m-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
}
@media (min-width: 1024px) {
  .m-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: start;
    grid-template-areas: "tekst video" "billede video" "musik video";
  }
  .m-group:nth-child(1) { grid-area: tekst; }
  .m-group:nth-child(2) { grid-area: billede; }
  .m-group:nth-child(3) { grid-area: video; }
  .m-group:nth-child(4) { grid-area: musik; }
  .m-chips li { white-space: nowrap; }
}
.m-group h3 {
  display: flex; align-items: baseline; gap: 10px; padding-bottom: 14px; margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; letter-spacing: 0.02em;
}
.m-count { font-family: var(--body); font-size: 14px; font-weight: 700; color: var(--red); letter-spacing: 0; }
.m-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.m-chips li {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 7px 12px;
  border-radius: var(--r-btn); font-size: 14px; font-weight: 600; color: var(--text);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.m-chips .cr { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); }

/* Abonnement */
.plan { position: relative; overflow: hidden; padding-block: 96px 150px; border-top: 1px solid var(--line); text-align: center; }
.plan::after {
  content: ""; position: absolute; left: 50%; top: calc(100% - 92px); width: 2400px; height: 2400px;
  margin-left: -1200px; border-radius: 50%; background: var(--bg); pointer-events: none;
  box-shadow: 0 0 0 1.5px rgba(255, 59, 48, 0.9), 0 0 50px 4px rgba(255, 59, 48, 0.35), 0 0 160px 30px rgba(255, 59, 48, 0.12);
}
.plan-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.plan h2 { font-size: clamp(52px, 8vw, 120px); }
.plan p { margin-top: 18px; max-width: 48ch; color: var(--muted); font-size: 18px; }
.plan .btn { margin-top: 28px; }

/* Spørgsmål */
.faq { padding-block: 72px; border-top: 1px solid var(--line); }
.faq-in { display: grid; gap: 32px; }
@media (min-width: 1024px) {
  .faq { padding-block: 112px; }
  .faq-in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; }
}
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 68px; padding-block: 14px; cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { font-size: 19px; font-weight: 700; line-height: 1.35; }
.faq-list summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
  color: var(--red); transition: transform 200ms var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding-bottom: 22px; color: var(--muted); max-width: 56ch; }
.faq-list a { color: var(--text); text-decoration-color: var(--red); text-underline-offset: 3px; }

/* Afslutning */
.final { padding-block: 88px; border-top: 1px solid var(--line); background: var(--bg-2); }
.final h2 { max-width: 24ch; }
.final p { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 50ch; }

/* Sidefod */
.foot { padding-block: 40px; border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; }
.foot-brand img { height: 22px; width: auto; }
.foot-brand p { margin-top: 12px; font-size: 14px; color: var(--dim); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.foot-links a { color: var(--muted); text-decoration: none; display: inline-flex; min-height: 32px; padding-block: 5px; align-items: center; }
.foot-links a:hover { color: var(--text); }
.foot a { overflow-wrap: anywhere; }

/* Bevægelse: kun når brugeren ikke har bedt om mindre, og kun med JavaScript */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reel.reveal:nth-child(2) { transition-delay: 60ms; }
  .js .reel.reveal:nth-child(3) { transition-delay: 120ms; }
  .js .reel.reveal:nth-child(4) { transition-delay: 180ms; }
  .js .reel.reveal:nth-child(5) { transition-delay: 240ms; }
  .js .reel.reveal:nth-child(6) { transition-delay: 300ms; }

  .js .h1-kicker { animation: rise 700ms var(--ease) both; }
  .js .h1-main .line > span { animation: line-up 900ms var(--ease) both; }
  .js .h1-main .line:nth-child(2) > span { animation-delay: 90ms; }
  .js .hero-sub { animation: rise 800ms var(--ease) 220ms both; }
  .js .hero .cta-row { animation: rise 800ms var(--ease) 320ms both; }
  .js .hero-frame { animation: frame-in 1100ms var(--ease) 120ms both; }
  .js .bento .cell.reveal:nth-child(2) { transition-delay: 60ms; }
  .js .bento .cell.reveal:nth-child(3) { transition-delay: 120ms; }
  .js .bento .cell.reveal:nth-child(4) { transition-delay: 180ms; }
  .js .bento .cell.reveal:nth-child(5) { transition-delay: 240ms; }
  .js .bento .cell.reveal:nth-child(6) { transition-delay: 300ms; }
  .faq-list details[open] p { animation: answer-in 260ms var(--ease) both; }
}
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes answer-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes frame-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
