/* ==========================================================================
   BIMM Design System & Stylesheet — Micro-story Master Specification
   Header + Hero Only
   Fixed Right Stage (Single Active Frame) + Static Left Editorial Message
   ========================================================================== */

/* --------------------------------------------------------------------------
   Core Variables & Tokens (Section 7)
   -------------------------------------------------------------------------- */
:root {
  --white: #FFFFFF;
  --ink: #1A170D;
  --body: #5F5C55;
  --gold: #BCA360;
  --gold-hover: #A89151;
  --gold-dark: #6B5D36;
  --gold-label: #A68B45;
  --warm-light: #F5F1E8;
  --line: rgba(26, 23, 13, 0.10);
  --header-border: rgba(26, 23, 13, 0.07);

  --font-stack: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --max-width: 1440px;
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--white);
  color: var(--ink);
  font-family: var(--font-stack);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  background-color: var(--white);
  color: var(--ink);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Accessibility: Visible Focus States (Section 35) */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-label);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Header (Section 10)
   -------------------------------------------------------------------------- */
.header {
  width: 100%;
  height: 80px;
  background-color: var(--white);
  border-bottom: 1px solid var(--header-border);
  position: relative;
  z-index: 100;
}

.header-container {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo {
  width: 190px;
  height: auto;
  display: block;
}

.header-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 38px;
  list-style: none;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: opacity 0.15s ease;
}

.nav-link:hover {
  opacity: 0.72;
}

.header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gold);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  padding: 13px 21px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.btn-header-cta:hover {
  background-color: var(--gold-hover);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Hero Section Layout (Section 11)
   -------------------------------------------------------------------------- */
.hero {
  width: 100%;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-container {
  width: 100%;
  max-width: var(--max-width);
  min-height: 615px;
  margin: 0 auto;
  padding: 50px 48px 40px;
  display: grid;
  grid-template-columns: 43% 57%;
  align-items: center;
  column-gap: 32px;
  position: relative;
}

/* --------------------------------------------------------------------------
   Hero Left: Editorial Message (Section 12 - Completely Static)
   -------------------------------------------------------------------------- */
.hero-content {
  width: 100%;
  max-width: 520px;
  position: relative;
  z-index: 10;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 18px;
}

.hero-h1 {
  font-size: 54px;
  line-height: 1.01;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0;
  max-width: 540px;
}

.hero-h1 span {
  display: block;
  white-space: nowrap;
}

.hero-body {
  margin-top: 24px;
  max-width: 480px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--body);
}

/* Compact CTA & Economic Signal (Section 12.4, 12.5, 12.6) */
.hero-cta-area {
  margin-top: 27px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 30px;
}

.hero-cta-primary {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--gold);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  border-radius: 13px;
  padding: 15px 23px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.btn-hero-cta:hover {
  background-color: var(--gold-hover);
  transform: translateY(-1px);
}

.cta-arrow {
  font-family: inherit;
  font-weight: 600;
  line-height: 1;
}

.hero-support {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--body);
}

.hero-economic {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink);
  max-width: 190px;
  /* Strictly no vertical divider, no card (Section 12.6) */
}

/* --------------------------------------------------------------------------
   Hero Right: Fixed Visual Stage (Section 13)
   One stable stage on white background. No card, no borders, no layout shifts.
   -------------------------------------------------------------------------- */
.hero-stage {
  position: relative;
  width: 100%;
  max-width: 710px;
  height: 420px;
  overflow: visible;
  justify-self: end;
}

/* --------------------------------------------------------------------------
   Stage Frames & Transition Logic
   Default / CSS fallback: CONNECT is visible, others hidden.
   Continuous 4-state loop on desktop: PREPARE -> CONNECT -> DELIVER -> BRAND -> PREPARE
   Overlapping cinematic crossfade (900ms, cubic-bezier(0.22, 1, 0.36, 1)).
   -------------------------------------------------------------------------- */
.stage-frame {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
}

/* Active / Static Default Frame State */
.stage-frame.frame-active,
.stage-frame.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 3;
}

/* Outgoing Frame State (Visible and overlapping during transition) */
.stage-frame.is-leaving {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  z-index: 2;
}

/* Incoming starting state before reflow */
.stage-frame.is-entering {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  z-index: 3;
}

/* --------------------------------------------------------------------------
   Unified Vertical Scene Composition
   Each frame is ONE centered vertical composition: TITLE then IMAGE.
   Optical center at ~46% down the 420px stage.
   -------------------------------------------------------------------------- */
.frame-composition {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding-bottom: 24px; /* Optical center ~46% down stage */
}

/* --------------------------------------------------------------------------
   Scene Titles (PREPARE / CONNECT / DELIVER)
   Centered directly above their own image, sharing the same vertical axis.
   20–28px gap between title and visible artwork.
   -------------------------------------------------------------------------- */
.stage-label {
  display: block;
  text-align: center;
  margin: 0 auto 22px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-label);
  line-height: 1;
  text-transform: uppercase;
  user-select: none;
  z-index: 10;
  opacity: 0;
  transform: translateX(8px);
  will-change: opacity, transform;
}

.stage-label--prepare {
  font-size: 28px;
}

.stage-label--connect {
  font-size: 29px;
}

.stage-label--deliver {
  font-size: 28px;
}

/* Default / non-animated active label */
.stage-frame.frame-active .stage-label {
  opacity: 1;
  transform: none;
}

/* Animated active label: staggered in by 120ms */
.hero-stage--animated .stage-frame.is-active .stage-label {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 780ms cubic-bezier(0.22, 1, 0.36, 1) 120ms,
              transform 780ms cubic-bezier(0.22, 1, 0.36, 1) 120ms;
}

/* Animated leaving label: fades out immediately (0ms delay) */
.hero-stage--animated .stage-frame.is-leaving .stage-label {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 750ms cubic-bezier(0.22, 1, 0.36, 1) 0ms,
              transform 750ms cubic-bezier(0.22, 1, 0.36, 1) 0ms;
}

/* In entering state (before transition starts) */
.hero-stage--animated .stage-frame.is-entering .stage-label {
  opacity: 0;
  transform: translateX(8px);
  transition: none !important;
}

/* Dissolve mode: no horizontal translation on label */
.hero-stage--animated .stage-frame.is-dissolve .stage-label,
.hero-stage--animated .stage-frame.is-active.is-dissolve .stage-label,
.hero-stage--animated .stage-frame.is-leaving.is-dissolve .stage-label,
.hero-stage--animated .stage-frame.is-entering.is-dissolve .stage-label {
  transform: none !important;
}

/* --------------------------------------------------------------------------
   Stage Visual Centering Wrapper & Artwork Motion
   Holds image on the exact same vertical centerline as the title.
   - Outgoing: 100–150ms delay, opacity 1 -> 0, translateX 0 -> -10px, scale 1 -> 0.995
   - Incoming: 0ms delay, opacity 0 -> 1, translateX 10px -> 0, scale 1.005 -> 1
   -------------------------------------------------------------------------- */
.stage-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  opacity: 0;
  transform: translateX(10px) scale(1.005);
  will-change: opacity, transform;
}

/* Default / non-animated active visual */
.stage-frame.frame-active .stage-visual {
  opacity: 1;
  transform: none;
}

/* Animated active visual: starts fading in immediately (0ms) */
.hero-stage--animated .stage-frame.is-active .stage-visual {
  opacity: 1;
  transform: translateX(0) scale(1);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1) 0ms,
              transform 900ms cubic-bezier(0.22, 1, 0.36, 1) 0ms;
}

/* Animated leaving visual: starts fading ~120ms after label starts fading */
.hero-stage--animated .stage-frame.is-leaving .stage-visual {
  opacity: 0;
  transform: translateX(-10px) scale(0.995);
  transition: opacity 780ms cubic-bezier(0.22, 1, 0.36, 1) 120ms,
              transform 780ms cubic-bezier(0.22, 1, 0.36, 1) 120ms;
}

/* In entering state (before transition starts) */
.hero-stage--animated .stage-frame.is-entering .stage-visual {
  opacity: 0;
  transform: translateX(10px) scale(1.005);
  transition: none !important;
}

/* Dissolve mode (DELIVER -> BRAND and BRAND -> PREPARE): pure dissolve, no translateX */
.hero-stage--animated .stage-frame.is-entering.is-dissolve .stage-visual {
  opacity: 0;
  transform: scale(1.004);
  transition: none !important;
}

.hero-stage--animated .stage-frame.is-active.is-dissolve .stage-visual {
  opacity: 1;
  transform: scale(1);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1) 0ms,
              transform 900ms cubic-bezier(0.22, 1, 0.36, 1) 0ms;
}

.hero-stage--animated .stage-frame.is-leaving.is-dissolve .stage-visual {
  opacity: 0;
  transform: scale(0.996);
  transition: opacity 780ms cubic-bezier(0.22, 1, 0.36, 1) 120ms,
              transform 780ms cubic-bezier(0.22, 1, 0.36, 1) 120ms;
}

.stage-image {
  object-fit: contain;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Frame 1: PREPARE (Medium Scale: ~72–78% usable stage area, visually centered)
   -------------------------------------------------------------------------- */
.image-prepare {
  height: 305px;
  max-height: 310px;
  max-width: 82%;
  width: auto;
}

/* --------------------------------------------------------------------------
   Frame 2: CONNECT (Largest, dominant visual anchor: ~88–94% usable width/area)
   -------------------------------------------------------------------------- */
.image-connect {
  width: 580px;
  max-width: 92%;
  max-height: 320px;
  height: auto;
}

/* --------------------------------------------------------------------------
   Frame 3: DELIVER (Visual reference baseline: ~65–72% usable area, clean & compact)
   -------------------------------------------------------------------------- */
.image-deliver {
  height: 295px;
  max-height: 305px;
  max-width: 75%;
  width: auto;
}

/* --------------------------------------------------------------------------
   Frame 4: BRAND PAYOFF (Section 18)
   Clear visual payoff: logo scaled up by 25–35% (290–320px), tagline 22–24px.
   Shares the exact same optical center (~46% down stage).
   -------------------------------------------------------------------------- */
.frame-brand .brand-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding-bottom: 24px; /* Optical center ~46% */
  text-align: center;
  opacity: 0;
  transform: scale(1.003);
  will-change: opacity, transform;
}

/* Default / non-animated active brand content */
.stage-frame.frame-active .brand-content {
  opacity: 1;
  transform: none;
}

/* Animated active brand content: gentle fade in, no horizontal swipe */
.hero-stage--animated .stage-frame.frame-brand.is-active .brand-content {
  opacity: 1;
  transform: scale(1);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1) 0ms,
              transform 900ms cubic-bezier(0.22, 1, 0.36, 1) 0ms;
}

/* Animated leaving brand content: gentle fade down, no horizontal swipe */
.hero-stage--animated .stage-frame.frame-brand.is-leaving .brand-content {
  opacity: 0;
  transform: scale(0.997);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1) 0ms,
              transform 900ms cubic-bezier(0.22, 1, 0.36, 1) 0ms;
}

/* In entering state */
.hero-stage--animated .stage-frame.frame-brand.is-entering .brand-content {
  opacity: 0;
  transform: scale(1.003);
  transition: none !important;
}

.brand-logo {
  width: 310px;
  max-width: 85%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.brand-tagline {
  font-size: 23px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
  margin-top: 22px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Shared Section Utilities & Typography (Sections 5, 6, 7, 20)
   -------------------------------------------------------------------------- */
.site-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  line-height: 1;
}

.section-h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.section-ingress {
  font-size: 18px;
  line-height: 1.5;
  color: var(--body);
}

/* --------------------------------------------------------------------------
   Seksjon 1: For restauranten (Section 9)
   Asymmetric two-column (58% text / 42% image), warm background.
   -------------------------------------------------------------------------- */
.section-restaurant {
  background-color: var(--warm-light);
  padding: 105px 0;
}

.restaurant-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(380px, 0.75fr);
  gap: 56px;
  align-items: center;
}

.restaurant-content {
  max-width: 100%;
}

.eyebrow-restaurant {
  margin-bottom: 16px;
}

.h2-restaurant {
  max-width: 540px;
  margin-bottom: 24px;
}

.ingress-restaurant {
  max-width: 560px;
  margin-bottom: 44px;
}

/* Three Vertical Economic Rows (Section 9) */
.restaurant-economics {
  display: flex;
  flex-direction: column;
  margin-bottom: 38px;
}

.economic-row {
  display: grid;
  grid-template-columns: minmax(280px, max-content) 1fr;
  column-gap: 32px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(26, 23, 13, 0.10);
}

.economic-row:last-child {
  border-bottom: none;
}

.economic-stat {
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.economic-stat--60 {
  font-size: 43px;
}

.economic-stat--commission {
  font-size: 39px;
  letter-spacing: -0.015em;
}

.economic-stat--nobuds {
  font-size: 31px;
  letter-spacing: -0.01em;
}

.economic-label {
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--body);
}

.restaurant-conclusion {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.restaurant-media {
  width: 100%;
}

.restaurant-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   Seksjon 2: Slik fungerer BIMM (Section 10)
   White background, 3 steps with directional arrows, centered car image.
   -------------------------------------------------------------------------- */
.section-how {
  background-color: var(--white);
  padding: 105px 0;
}

.how-header {
  margin-bottom: 48px;
}

.eyebrow-how {
  margin-bottom: 16px;
}

.h2-how {
  max-width: 700px;
  margin-bottom: 24px;
}

.h2-how span {
  display: block;
}

.ingress-how {
  max-width: 680px;
}

/* Video Preview (Section 2) */
.how-video-wrapper {
  max-width: 1180px;
  margin: 0 auto 58px;
}

.how-video-preview-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background-color: #0A0A0A;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-video-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  pointer-events: none;
}

.how-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1A170D;
  transition: transform 180ms ease, background-color 180ms ease;
  z-index: 2;
  padding: 0;
}

.how-video-preview-container:hover .how-play-button,
.how-play-button:hover {
  transform: translate(-50%, -50%) scale(1.04);
  background-color: rgba(255, 255, 255, 0.98);
}

.how-play-button:focus-visible {
  outline: 2px solid var(--gold-label);
  outline-offset: 4px;
}

.how-play-button svg {
  width: 26px;
  height: 26px;
  fill: #1A170D;
  transform: translateX(2px);
}

.how-video-label {
  font-size: 14.5px;
  font-weight: 500;
  color: #5F5C55;
  text-align: center;
  margin-top: 14px;
}

/* Three Steps Grid with arrows */
.how-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 58px;
}

.how-step {
  flex: 1;
  min-width: 0;
}

.step-label {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold-label);
  line-height: 1;
  margin-bottom: 14px;
}

.step-label--connect {
  font-weight: 700;
}

.step-text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--body);
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
  padding-top: 4px;
  user-select: none;
  flex-shrink: 0;
}

.how-media {
  max-width: 1080px;
  margin: 0 auto 38px;
}

.how-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  object-fit: contain;
  margin: 0 auto;
}

.how-conclusion {
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   Video Modal / Lightbox (Section 2)
   -------------------------------------------------------------------------- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 10, 10, 0.88);
  cursor: pointer;
}

.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(90vw, 1400px, calc(88vh * 16 / 9));
  aspect-ratio: 16 / 9;
  max-height: 88vh;
  max-width: 90vw;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.98);
  opacity: 0;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), opacity 260ms ease;
}

.video-modal.is-open .video-modal-dialog {
  transform: scale(1);
  opacity: 1;
}

.video-modal-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 23, 13, 0.6);
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  border-radius: 50%;
  transition: transform 180ms ease, background-color 180ms ease, opacity 180ms ease;
  z-index: 10;
  padding: 0;
}

.video-modal-close:hover {
  transform: scale(1.08);
  background-color: rgba(26, 23, 13, 0.85);
}

.video-modal-close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.video-modal-content {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 16px;
}

/* --------------------------------------------------------------------------
   Seksjon 3: Veien til lansering (Section 11)
   Dark background (#1A170D), large wide car image, horizontal timeline.
   -------------------------------------------------------------------------- */
.section-launch {
  background-color: var(--ink);
  color: var(--white);
  padding: 115px 0;
}

.launch-header {
  margin-bottom: 54px;
}

.eyebrow-launch {
  color: var(--gold);
  margin-bottom: 16px;
}

.h2-launch {
  color: var(--white);
  max-width: 700px;
  margin-bottom: 24px;
}

.ingress-launch {
  color: rgba(255, 255, 255, 0.72);
  max-width: 680px;
}

.launch-media {
  max-width: 1240px;
  margin: 0 auto 65px;
}

.launch-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  object-fit: contain;
  margin: 0 auto;
}

/* Timeline: Horizontal desktop layout */
.launch-timeline {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 14px;
}

.timeline-track {
  position: absolute;
  top: 19px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.18);
}

.timeline-stops {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
  z-index: 2;
}

.timeline-stop {
  display: flex;
  flex-direction: column;
}

.timeline-marker-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.timeline-marker {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: var(--gold);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--ink);
}

.timeline-year {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}

.timeline-title {
  font-size: 25px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 12px;
}

.timeline-text {
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.70);
}

.launch-conclusion-wrapper {
  margin-top: 64px;
  text-align: center;
}

.launch-accent-line {
  width: 48px;
  height: 2px;
  background-color: var(--gold);
  margin: 0 auto 20px;
}

.launch-conclusion {
  font-size: 25px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   Seksjon 4: Bli med fra starten + Footer (Sections 12, 13, 14, 15, 16)
   Unified warm background surface (#F5F1E8) for both CTA and Footer.
   -------------------------------------------------------------------------- */
.cta-footer-surface {
  background-color: var(--warm-light);
}

.section-cta {
  padding: 115px 0 75px;
}

.cta-container {
  text-align: center;
}

.eyebrow-cta {
  margin-bottom: 16px;
}

.h2-cta {
  margin-bottom: 24px;
}

.ingress-cta {
  max-width: 650px;
  margin: 0 auto 32px;
  line-height: 1.55;
}

.cta-action-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.btn-cta-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: var(--gold);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  border-radius: 13px;
  padding: 15px 24px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.btn-cta-main:hover {
  background-color: var(--gold-hover);
  transform: translateY(-1px);
}

.cta-secondary-line {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--gold-dark);
  margin-top: 15px;
  line-height: 1;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(26, 23, 13, 0.10);
}

/* Footer */
.footer {
  padding: 52px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 56px;
}

.footer-col--brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  width: 168px;
  height: auto;
  display: block;
}

.footer-tagline {
  font-size: 14.5px;
  color: var(--body);
  margin-top: 14px;
  font-style: normal;
  line-height: 1.4;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-nav-link:hover {
  color: var(--gold-dark);
}

.footer-contact-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 12px;
}

.footer-email {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-email:hover {
  color: var(--gold-dark);
}

.footer-copyright-area {
  padding-top: 20px;
}

.footer-copyright {
  font-size: 12.5px;
  color: rgba(26, 23, 13, 0.55);
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Responsive — Tablet (Section 24)
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) and (min-width: 768px) {
  .site-container {
    padding: 0 32px;
  }

  .restaurant-grid {
    column-gap: 36px;
  }

  .h2-restaurant,
  .h2-how,
  .h2-launch,
  .h2-cta {
    font-size: 40px;
  }

  .restaurant-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 36px;
  }

  .economic-row {
    grid-template-columns: minmax(220px, max-content) 1fr;
    column-gap: 20px;
    padding: 18px 0;
  }

  .economic-stat--60 {
    font-size: 36px;
  }

  .economic-stat--commission {
    font-size: 32px;
  }

  .economic-stat--nobuds {
    font-size: 26px;
  }

  .timeline-stops {
    gap: 28px;
  }

  .timeline-title {
    font-size: 21px;
  }
  .header-container {
    padding: 0 32px;
  }

  .nav-list {
    gap: 24px;
  }

  .hero-container {
    padding: 44px 32px 36px;
    grid-template-columns: 45% 55%;
    column-gap: 24px;
    min-height: 580px;
  }

  .hero-content {
    max-width: 440px;
  }

  .hero-h1 {
    font-size: 46px;
  }

  .hero-body {
    font-size: 17px;
    max-width: 400px;
  }

  .hero-stage {
    max-width: 580px;
    height: 380px;
  }

  .image-prepare {
    max-width: 360px;
    max-height: 300px;
  }

  .image-connect {
    width: 540px;
    max-height: 330px;
  }

  .image-deliver {
    max-width: 270px;
    max-height: 300px;
  }

  .brand-logo {
    width: 220px;
  }

  .brand-tagline {
    font-size: 19px;
  }
}

/* --------------------------------------------------------------------------
   Responsive — Mobile (Section 23) <= 767px
   No autoplay, static CONNECT only, clean single column.
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .header {
    height: 72px;
  }

  .header-container {
    padding: 0 20px;
  }

  .header-logo {
    width: 155px;
  }

  .header-nav {
    display: none;
  }

  .btn-header-cta {
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 11px;
  }

  .hero {
    overflow: visible;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding: 36px 20px 42px;
    gap: 36px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-eyebrow {
    margin-bottom: 14px;
  }

  .hero-h1 {
    font-size: 42px;
    line-height: 1.05;
    max-width: 100%;
  }

  .hero-h1 span {
    white-space: normal;
  }

  .hero-body {
    font-size: 17px;
    line-height: 1.5;
    margin-top: 18px;
    max-width: 100%;
  }

  .hero-cta-area {
    margin-top: 22px;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero-economic {
    max-width: 100%;
  }

  /* Mobile Stage: Static CONNECT Only */
  .hero-stage {
    max-width: 100%;
    height: auto;
    min-height: 290px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Hide all animation frames on mobile except CONNECT */
  .stage-frame {
    display: none !important;
  }

  .stage-frame.frame-connect {
    display: flex !important;
    position: relative !important;
    inset: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    width: 100%;
    align-items: center;
  }

  .stage-frame.frame-connect .frame-composition {
    height: auto;
    padding-bottom: 0;
  }

  .stage-frame.frame-connect .stage-label {
    position: relative;
    left: auto;
    top: auto;
    margin-bottom: 16px;
    font-size: 26px;
    text-align: center;
  }

  .stage-frame.frame-connect .stage-visual {
    position: relative;
    inset: auto;
    padding-top: 0;
    width: 100%;
  }

  .image-connect {
    width: 100%;
    max-width: 360px;
    height: auto;
  }

  /* Section 1: For restauranten Mobile */
  .section-restaurant {
    padding: 68px 0;
  }

  .restaurant-grid {
    display: flex;
    flex-direction: column;
    gap: 36px;
  }

  .h2-restaurant {
    font-size: 36px;
    line-height: 1.1;
  }

  .restaurant-economics {
    display: flex;
    flex-direction: column;
    margin-bottom: 28px;
  }

  .economic-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(26, 23, 13, 0.10);
  }

  .economic-row:last-child {
    border-bottom: none;
  }

  .economic-stat--60 {
    font-size: 38px;
  }

  .economic-stat--commission {
    font-size: 34px;
  }

  .economic-stat--nobuds {
    font-size: 28px;
  }

  .economic-label {
    max-width: 100%;
  }

  .restaurant-conclusion {
    font-size: 18px;
  }

  .restaurant-image {
    border-radius: 16px;
  }

  /* Section 2: Slik fungerer BIMM Mobile */
  .section-how {
    padding: 68px 0;
  }

  .h2-how {
    font-size: 36px;
    line-height: 1.1;
  }

  .how-video-wrapper {
    margin-bottom: 40px;
  }

  .how-video-preview-container {
    border-radius: 16px;
  }

  .how-video-preview {
    border-radius: 16px;
  }

  .how-play-button {
    width: 64px;
    height: 64px;
  }

  .how-play-button svg {
    width: 22px;
    height: 22px;
  }

  .how-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
  }

  .step-arrow {
    transform: rotate(90deg);
    align-self: center;
    padding: 0;
  }

  .how-image {
    border-radius: 16px;
  }

  .how-conclusion {
    font-size: 18px;
  }

  .video-modal-dialog {
    width: min(96vw, calc(90vh * 16 / 9));
    max-height: 90vh;
    max-width: 96vw;
  }

  .video-modal-close {
    top: -42px;
    right: 0;
    width: 40px;
    height: 40px;
  }

  /* Section 3: Veien til lansering Mobile */
  .section-launch {
    padding: 72px 0;
  }

  .h2-launch {
    font-size: 36px;
    line-height: 1.1;
  }

  .launch-image {
    border-radius: 16px;
  }

  .launch-timeline {
    padding-top: 0;
  }

  .timeline-track {
    top: 6px;
    bottom: 6px;
    left: 5px;
    right: auto;
    width: 1px;
    height: calc(100% - 12px);
  }

  .timeline-stops {
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding-left: 28px;
  }

  .timeline-marker-wrapper {
    position: relative;
    margin-bottom: 10px;
  }

  .timeline-marker {
    position: absolute;
    left: -28px;
  }

  .timeline-title {
    font-size: 22px;
  }

  .launch-conclusion {
    font-size: 20px;
  }

  /* Section 4: CTA + Footer Mobile */
  .section-cta {
    padding: 72px 0 48px;
  }

  .h2-cta {
    font-size: 36px;
    line-height: 1.1;
  }

  .footer {
    padding: 40px 0 28px;
  }

  .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-bottom: 40px;
  }
}

/* --------------------------------------------------------------------------
   Reduced Motion (Section 25)
   Show CONNECT immediately and permanently. No sequence, no fades, no swipe.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .stage-frame {
    display: none !important;
    transition: none !important;
  }

  .stage-frame.frame-connect {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }
}
