/* =========================================================
   Tiger Studio
   ========================================================= */

:root {
  --bg: #060706;
  --bg-2: #0a0c0b;
  --bg-3: #111412;
  --ink: #f1f2ef;
  --soft: #c3c7c2;
  --muted: #868c86;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --green: #00ff00;                 /* exakt grön från logotypen */

  --display: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --gutter: clamp(16px, 4vw, 64px);
  --max: 1520px;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, video, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--green); color: #000; }
:focus-visible { outline: 1px solid var(--green); outline-offset: 4px; }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 300;
  padding: 10px 16px; background: var(--ink); color: #000;
  transform: translateY(-200%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}

.mono { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.02em; font-weight: 400; }
.muted { color: var(--muted); }

.index { display: flex; align-items: center; gap: 14px; color: var(--muted); margin-bottom: 28px; }
.index i { width: 32px; height: 1px; background: var(--line-2); position: relative; }
.index i::after { content: ""; position: absolute; right: -1px; top: -2px; width: 5px; height: 5px; background: var(--green); }

.h2 {
  font-size: clamp(2.4rem, 6vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 700;
  font-variation-settings: "wdth" 114;
  text-wrap: balance;
}
.head { padding-bottom: clamp(56px, 8vw, 120px); }

/* Radvisa rubriker */
.line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.line > span { display: inline-block; }
.js [data-lines] .line > span { transform: translateY(108%); }
.js [data-lines].is-in .line > span {
  transform: none;
  transition: transform 1.4s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.1s);
}
.dot { font-style: normal; color: var(--green); }

/* Allmän reveal */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* 3D-ytor */
.gl {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 2s var(--ease);
}
.gl.is-ready { opacity: 1; }

/* ---------- Knappar ---------- */

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 17px 28px;
  border-radius: 999px;
  font-size: 0.92rem; font-weight: 550;
  white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0);
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .8s var(--ease);
}
.btn.is-magnet { transition: color .45s var(--ease), border-color .45s var(--ease), transform .25s var(--ease); }
.btn > span { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 12px; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn--solid { background: var(--ink); color: #050605; }
.btn--solid::before { background: var(--green); }
.btn--solid > span::after { content: ""; width: 5px; height: 5px; background: currentColor; transition: transform .4s var(--ease); }
.btn--solid:hover > span::after { transform: rotate(45deg) scale(1.3); }
.btn--line { border: 1px solid var(--line-2); color: var(--ink); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: #050605; border-color: var(--ink); }
.btn--lg { padding: 22px 38px; font-size: 1rem; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 550; font-size: 0.95rem;
  padding: 10px 0; position: relative;
}
.arrow-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px;
  background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.arrow-link:hover::after { transform: scaleX(1); }
.arrow-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .5s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }
.arrow-link--back:hover svg { transform: translateX(-4px); }

/* ---------- Navigation ---------- */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid transparent;
  transition: background-color .5s var(--ease), border-color .5s var(--ease);
}
.nav.is-scrolled {
  background: rgba(6, 7, 6, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex; align-items: center; gap: 36px;
  height: var(--nav-h); max-width: var(--max); margin-inline: auto;
  padding-inline: var(--gutter);
}
.nav__logo { margin-right: auto; padding: 8px 0; }
.nav__logo img { height: 19px; width: auto; }
.nav__links { display: flex; gap: 34px; }
.nav__links a { position: relative; font-size: .9rem; color: var(--soft); transition: color .3s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 1px;
  background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { padding: 11px 20px; font-size: .85rem; }
.nav__toggle { display: none; }

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__links, .nav__cta { display: none; }
  .nav__logo img { height: 16px; }
  .nav__toggle { display: grid; place-content: center; gap: 7px; width: 44px; height: 44px; margin-right: -10px; }
  .nav__toggle span { width: 22px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
}

.menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + env(safe-area-inset-top) + 32px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: radial-gradient(100% 50% at 90% 0%, rgba(0,255,0,.06), transparent 60%), #040504;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s linear .8s;
  overscroll-behavior: contain;
}
.menu[hidden] { display: none; }
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .8s var(--ease-io); }
.menu__links a {
  display: flex; align-items: baseline; gap: 18px; padding: 12px 0;
  font-size: clamp(2.3rem, 11vw, 3.4rem); line-height: 1.05; font-weight: 650;
  letter-spacing: -0.035em; font-variation-settings: "wdth" 112;
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.menu__links .mono { color: var(--green); letter-spacing: 0; }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(1) { transition-delay: .2s; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .26s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .32s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: .38s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: .44s; }
.menu__foot { display: flex; justify-content: space-between; gap: 16px; color: var(--soft); font-size: .95rem; }
.menu__foot a { padding: 8px 0; }
body.menu-open { overflow: hidden; }

/* =========================================================
   01 · Hero
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 32px);
  overflow: hidden; isolation: isolate;
  background:
    radial-gradient(55% 60% at 72% 45%, rgba(26, 40, 32, 0.55), transparent 70%),
    radial-gradient(40% 40% at 80% 70%, rgba(0, 255, 0, 0.035), transparent 70%),
    linear-gradient(180deg, #040504, #070908 60%, var(--bg));
}
.hero__stage { position: absolute; inset: 0; z-index: -2; }
.hero__fallback {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s;
  background:
    radial-gradient(closest-side at 70% 46%, rgba(255,255,255,.07), transparent 70%),
    radial-gradient(18% 32% at 70% 46%, #0b0d0c 60%, transparent 62%),
    repeating-linear-gradient(-28deg, transparent 0 22px, rgba(255,255,255,.025) 22px 23px);
}
html:not(.has-webgl) .hero__fallback { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4,5,4,.82) 0%, rgba(4,5,4,.35) 38%, transparent 60%),
    linear-gradient(0deg, var(--bg) 0%, transparent 26%);
}

.hero__inner { padding-bottom: clamp(36px, 6vh, 72px); }
.hero__title {
  font-size: clamp(3rem, 9.4vw, 10.6rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 700;
  font-variation-settings: "wdth" 118;
  margin-bottom: clamp(28px, 4vw, 52px);
}
.hero__title .line:nth-child(2) { padding-left: 0.9em; }
.hero__bottom { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px 64px; }
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero__lead { max-width: 36ch; font-size: clamp(1.05rem, 1.35vw, 1.25rem); color: var(--soft); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__rail {
  display: flex; align-items: center; gap: 34px;
  padding-block: 20px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.hero__scroll { margin-left: auto; width: 1px; height: 30px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll i { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--green); animation: cue 2.6s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }

.js .hero [data-intro] { opacity: 0; transform: translateY(18px); }
.js.is-loaded .hero [data-intro] { opacity: 1; transform: none; transition: opacity 1.4s var(--ease) .7s, transform 1.4s var(--ease) .7s; }
.js.is-loaded .hero .hero__actions { transition-delay: .85s; }
.js.is-loaded .hero .hero__rail { transition-delay: 1.1s; }

@media (max-width: 760px) {
  .hero__title .line:nth-child(2) { padding-left: 0; }
  .hero__shade { background: linear-gradient(0deg, var(--bg) 10%, rgba(4,5,4,.75) 45%, rgba(4,5,4,0) 72%); }
  .hero__rail { gap: 18px; }
}

/* =========================================================
   02 · Identitet – tigerhuvudet
   ========================================================= */

.identity {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate;
  background: radial-gradient(50% 55% at 50% 46%, rgba(20, 30, 24, 0.5), transparent 70%), #030403;
}
.identity::before, .identity::after {
  content: ""; position: absolute; left: 0; right: 0; height: 22%; z-index: 1; pointer-events: none;
}
.identity::before { top: 0; background: linear-gradient(var(--bg), transparent); }
.identity::after { bottom: 0; background: linear-gradient(transparent, #030403 70%); }
.identity__stage { position: absolute; inset: 0; z-index: 0; }
.identity__fallback {
  position: absolute; left: 50%; top: 46%; width: min(44vh, 60vw); height: auto;
  translate: -50% -50%; opacity: 0; filter: drop-shadow(0 0 30px rgba(255,255,255,.08));
}
html:not(.has-webgl) .identity__fallback, .identity.is-fallback .identity__fallback { opacity: .5; }

.identity__inner {
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  padding-bottom: clamp(40px, 8vh, 96px);
}
.identity__title {
  font-size: clamp(2.6rem, 6.4vw, 6.6rem); line-height: .92; font-weight: 700;
  letter-spacing: -0.045em; font-variation-settings: "wdth" 116;
  margin-bottom: 24px;
}
.identity__lead { max-width: 34ch; color: var(--soft); font-size: clamp(1rem, 1.3vw, 1.2rem); }
.identity__logo {
  width: clamp(180px, 18vw, 280px); height: auto; margin-bottom: 10px;
  opacity: 0; transform: translateY(16px); filter: blur(6px);
  transition: opacity 1.6s var(--ease), transform 1.6s var(--ease), filter 1.6s var(--ease);
}
.identity.is-formed .identity__logo,
html:not(.has-webgl) .identity__logo,
.identity.is-fallback .identity__logo { opacity: 1; transform: none; filter: none; }

@media (max-width: 760px) {
  .identity { align-items: flex-end; }
  .identity__inner { flex-direction: column; align-items: flex-start; }
  .identity__stage { bottom: 30%; }
}

/* =========================================================
   03 · Tjänster
   ========================================================= */

.services { position: relative; padding-top: clamp(120px, 16vw, 220px); background: var(--bg); }

.svc { border-top: 1px solid var(--line); padding-block: clamp(64px, 9vw, 140px); }
.svc__grid {
  --num-col: clamp(150px, 15vw, 250px);
  display: grid;
  grid-template-columns: var(--num-col) minmax(0, 4.6fr) minmax(0, 5.4fr);
  column-gap: clamp(36px, 4.5vw, 88px);
  row-gap: 28px;
  align-items: start;
}
.svc__num {
  font-size: clamp(4.5rem, 9.4vw, 10.5rem); line-height: .78; font-weight: 800;
  letter-spacing: -0.06em; font-variation-settings: "wdth" 125;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.2);
  font-variant-numeric: tabular-nums;
  position: relative;
}
.svc__num::after {
  content: ""; position: absolute; left: 0.08em; bottom: -18px; width: 6px; height: 6px;
  background: var(--green); opacity: 0; transition: opacity .8s .6s;
}
.svc.is-in .svc__num::after { opacity: 1; }
.svc__title {
  font-size: clamp(2.6rem, 4.6vw, 5rem); line-height: .92; font-weight: 700;
  letter-spacing: -0.045em; font-variation-settings: "wdth" 118;
  margin-bottom: 28px;
}
.svc__text p { color: var(--soft); max-width: 34ch; font-size: 1.08rem; margin-bottom: 32px; }
.svc__list { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--muted); }
.svc__list li { display: inline-flex; align-items: center; gap: 10px; }
.svc__list li + li::before { content: ""; width: 14px; height: 1px; background: var(--line-2); margin-right: 10px; }

.svc__visual { position: relative; overflow: hidden; background: #050605; border: 1px solid var(--line); }

/* Webb – webbplatsens lager svävar i en mörk 3D-rymd.
   Rörelsen (djup, parallax, flytande lager, pekare och scroll) styrs av js/main.js via CSS-variabler. */
.v-web {
  aspect-ratio: 4 / 3; perspective: 1700px; perspective-origin: 50% 40%;
  background:
    radial-gradient(60% 50% at 50% 46%, rgba(0,255,0,.035), transparent 70%),
    radial-gradient(70% 60% at 50% 55%, #0e1210, #050605);
}
.v-web__stack {
  position: absolute; inset: 17% 15%;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 56deg)) rotateZ(var(--rz, -33deg)) scale(var(--s, 1));
  will-change: transform;
}
.v-web__layer {
  position: absolute; inset: 0;
  transform: translate3d(0, var(--y, 0px), var(--z, 0px)) rotateZ(var(--r, 0deg));
  will-change: transform;
}
.v-web__layer--grid {
  border: 1px solid var(--line-2);
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 8.33% 12.5%;
  opacity: .8;
}
.v-web__layer--wire svg { width: 100%; height: 100%; overflow: visible; }
.v-web__layer--wire svg * { fill: none; stroke: rgba(255,255,255,.5); stroke-width: 1; vector-effect: non-scaling-stroke; }
.v-web__layer--wire svg .hl { stroke: var(--green); filter: drop-shadow(0 0 4px rgba(0,255,0,.6)); }
.v-web__layer--ui { opacity: var(--ui-o, 1); }
.v-web__layer--ui img {
  width: 100%; height: 100%; object-fit: cover;
  box-shadow: 0 50px 90px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.12);
}
/* Ljusreflex som glider över glaset när vinkeln ändras */
.v-web__layer--ui::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.14) 45%, rgba(255,255,255,.03) 52%, transparent 62%);
  background-size: 260% 100%;
  background-position: var(--sheen, 60%) 0;
  mix-blend-mode: screen;
}
/* Fin grön kant – ljuset fångas i skärmens nederkant */
.v-web__layer--ui::before {
  content: ""; position: absolute; left: 6%; right: 6%; bottom: -1px; height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(0,255,0,.85), transparent);
  box-shadow: 0 0 14px rgba(0,255,0,.55);
  opacity: var(--edge, .5);
}
.v-web__shadow {
  position: absolute; left: 22%; right: 22%; bottom: 13%; height: 12%;
  background: radial-gradient(closest-side, rgba(0,0,0,.75), transparent);
  filter: blur(10px);
  transform: scale(var(--sh, 1)) scaleX(calc(1 + var(--assembled, 0) * .25));
  opacity: calc(.9 - var(--assembled, 0) * .25);
}

/* Reklamfilm – automatisk sekvens i grönt: berg + tiger → klösmärken → genom bergen (14 s loop) */
.v-film { display: flex; flex-direction: column; background: #020302; }
.v-film__frame { position: relative; aspect-ratio: 2 / 1; overflow: hidden; background: #010201; isolation: isolate; }
.fs { position: absolute; inset: 0; opacity: 0; overflow: hidden; }
.fs--1 { opacity: 1; }
.fs__tiger { transform: translateX(-4%) scale(.68); }
.fs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.fs__tiger, .fs__tiger2 { mix-blend-mode: screen; }
.fs__tiger { transform-origin: 50% 70%; }
.fs__sweep {
  position: absolute; inset: -20%; mix-blend-mode: screen; pointer-events: none;
  background: linear-gradient(110deg, transparent 42%, rgba(120,255,120,.28) 49%, rgba(220,255,220,.18) 50%, transparent 57%);
  transform: translateX(-60%);
}
.fs__dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
.fs__grade {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0,0,0,.65)),
    linear-gradient(180deg, rgba(0,0,0,.35), transparent 22%, transparent 78%, rgba(0,0,0,.45));
}

.v-film.is-playing .fs--1 { animation: fs1 14s var(--ease-io) infinite; }
.v-film.is-playing .fs--2 { animation: fs2 14s var(--ease-io) infinite; }
.v-film.is-playing .fs--3 { animation: fs3 14s var(--ease-io) infinite; }
.v-film.is-playing .fs__mtn { animation: mtn1 14s linear infinite; }
.v-film.is-playing .fs__tiger { animation: tiger1 14s linear infinite; }
.v-film.is-playing .fs__claws { animation: claws 14s var(--ease) infinite; }
.v-film.is-playing .fs__sweep { animation: sweep2 14s var(--ease-io) infinite; }
.v-film.is-playing .fs__mtn2 { animation: mtn3 14s linear infinite; }
.v-film.is-playing .fs__tiger2 { animation: tiger3 14s linear infinite; }

/* Pausas utanför bild – CSS och partikelklockan stannar tillsammans */
.v-film.is-paused .fs, .v-film.is-paused .fs img, .v-film.is-paused .fs__sweep { animation-play-state: paused; }

/* Scenernas in- och uttoning (överlappar mjukt; loopen går tillbaka till scen 1 utan hack) */
@keyframes fs1 { 0% { opacity: 1; } 30% { opacity: 1; } 36% { opacity: 0; } 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes fs2 {
  0%, 29% { opacity: 0; clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
  31% { opacity: 1; clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
  37% { opacity: 1; clip-path: polygon(0 0, 120% 0, 100% 100%, -20% 100%); }
  63% { opacity: 1; clip-path: polygon(0 0, 120% 0, 100% 100%, -20% 100%); }
  69%, 100% { opacity: 0; clip-path: polygon(0 0, 120% 0, 100% 100%, -20% 100%); }
}
@keyframes fs3 { 0%, 62% { opacity: 0; } 69% { opacity: 1; } 92% { opacity: 1; } 100% { opacity: 0; } }

/* Scen 1 – bergen glider långsamt, tigern vandrar framför (parallax) */
@keyframes mtn1 { 0% { transform: scale(1.14) translateX(2.5%); } 36% { transform: scale(1.04) translateX(-1.5%); } 100% { transform: scale(1.14) translateX(2.5%); } }
@keyframes tiger1 {
  0% { transform: translateX(-18%) scale(.66); }
  36% { transform: translateX(10%) scale(.7); }
  37%, 99% { transform: translateX(-18%) scale(.66); }
  100% { transform: translateX(-18%) scale(.66); }
}
/* Scen 2 – klösmärkena avtäcks i ett diagonalt snitt, ljuset löper längs skårorna */
@keyframes claws { 0%, 30% { transform: scale(1.18) rotate(-2.5deg); } 66% { transform: scale(1.02) rotate(0deg); } 100% { transform: scale(1.18) rotate(-2.5deg); } }
@keyframes sweep2 { 0%, 38% { transform: translateX(-60%); } 60% { transform: translateX(60%); } 100% { transform: translateX(60%); } }
/* Scen 3 – kameran rör sig in genom bergen, tigerns huvud passerar nära */
@keyframes mtn3 { 0%, 62% { transform: scale(1) translateY(0); } 100% { transform: scale(1.32) translateY(3%); } }
@keyframes tiger3 {
  0%, 62% { transform: translateX(34%) scale(1.55); transform-origin: 30% 45%; }
  100% { transform: translateX(-4%) scale(1.7); transform-origin: 30% 45%; }
}

.v-film__meta { display: flex; align-items: center; gap: 22px; padding: 16px 22px 18px; color: var(--muted); font-variant-numeric: tabular-nums; }
.v-film__meta span:last-child { margin-left: auto; }
[data-film-scene] { color: var(--soft); min-width: 5em; }
.v-film__rec { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: rec 1.6s steps(2) infinite; }
@keyframes rec { 50% { opacity: .2; } }

@media (max-width: 900px) {
  .svc__grid { grid-template-columns: 1fr; row-gap: 26px; }
  .svc__num { font-size: clamp(4rem, 22vw, 7rem); margin-bottom: 18px; }
  .svc__num::after { bottom: -14px; }
}

/* Produktlansering & reklamfilm – bred layout med automatisk demo */
.svc__grid--launch { grid-template-columns: var(--num-col) minmax(0, 5.6fr) minmax(0, 4.4fr); margin-bottom: clamp(40px, 5vw, 72px); }
.svc__title--long { font-size: clamp(2.2rem, 3.8vw, 4.3rem); hyphens: manual; }
.svc__aside { display: grid; gap: 28px; align-content: start; padding-top: 10px; }
.svc__note { color: var(--soft); max-width: 40ch; }
.svc__list--stack { display: grid; gap: 0; }
.svc__list--stack li { padding: 12px 0; border-top: 1px solid var(--line); gap: 14px; }
.svc__list--stack li:last-child { border-bottom: 1px solid var(--line); }
.svc__list--stack li + li::before { display: none; }
.svc__list--stack li::before { content: ""; width: 5px; height: 5px; background: var(--line-2); flex: none; transition: background .4s; }
.svc.is-in .svc__list--stack li::before { background: var(--green); }

.launch__caption { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.launch__caption span:first-child { color: var(--soft); display: inline-flex; align-items: center; gap: 10px; }
.launch__caption span:first-child::before { content: ""; width: 5px; height: 5px; background: var(--green); }
.launch {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 16 / 9;
  background: radial-gradient(60% 70% at 50% 55%, #0b0f0c, #020302 72%);
  border: 1px solid var(--line);
}
.launch::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,.55), transparent 18%, transparent 82%, rgba(0,0,0,.55));
}
.launch__fallback {
  position: absolute; inset: 0; z-index: -1; opacity: 0;
  background:
    radial-gradient(40% 2px at 50% 66%, rgba(0,255,0,.6), transparent),
    radial-gradient(60% 30% at 50% 70%, rgba(255,255,255,.05), transparent 70%);
}
html:not(.has-webgl) .launch__fallback { opacity: 1; }

.launch__type { position: absolute; inset: 0; z-index: 3; display: grid; align-items: center; justify-items: start; pointer-events: none; padding: 0 6%; }
.launch__phrase {
  grid-area: 1 / 1; text-align: left; max-width: 52%;
  font-size: clamp(2rem, 6.4vw, 6.6rem); line-height: .95; font-weight: 700;
  letter-spacing: -0.045em; font-variation-settings: "wdth" 118;
}
.launch__phrase .m { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.launch__phrase .m > span { display: inline-block; transform: translateY(108%); transition: transform 1.1s var(--ease), filter .9s var(--ease), opacity .9s var(--ease); }
.launch__phrase .m + .m > span { transition-delay: .1s; }
.js .launch__phrase { visibility: hidden; }
.launch__phrase.is-active, .launch__phrase.is-out { visibility: visible; }
.launch__phrase.is-active .m > span { transform: none; }
.launch__phrase.is-out .m > span { transform: translateY(-108%); filter: blur(6px); opacity: 0; transition-duration: .8s; transition-timing-function: var(--ease-io); }
.launch__phrase--final { font-size: clamp(2.2rem, 7.4vw, 7.8rem); }
html:not(.has-webgl) .launch__phrase--final, .launch.is-static .launch__phrase--final { visibility: visible; }
html:not(.has-webgl) .launch__phrase--final .m > span, .launch.is-static .launch__phrase--final .m > span { transform: none; }

.launch__hud {
  position: absolute; z-index: 3; left: 20px; right: 20px; bottom: 16px;
  display: flex; align-items: center; gap: 14px; color: var(--muted);
}
.launch__rec { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: rec 1.6s steps(2) infinite; }
.launch__progress { flex: 1; height: 1px; background: var(--line-2); position: relative; overflow: hidden; max-width: 420px; margin-left: auto; }
.launch__progress i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }
.launch__hud span:last-child { font-variant-numeric: tabular-nums; min-width: 3.2em; text-align: right; }

@media (max-width: 900px) {
  .svc__grid--launch { grid-template-columns: 1fr; }
  .launch { aspect-ratio: 4 / 5; }
  .launch__type { align-items: end; padding-bottom: 18%; }
  .launch__phrase { font-size: clamp(2.2rem, 11vw, 3.6rem); max-width: none; }
  .launch__phrase--final { font-size: clamp(2.4rem, 12vw, 4rem); }
  .launch__hud > span:nth-child(2) { display: none; }
}

/* Utvald film – presenterad som ett case */
/* Utvald film – presentation i Apple-stil: centrerad rubrik, stor film som växer in, faktarad */
.feature { display: grid; justify-items: center; text-align: center; margin: 0 auto clamp(40px, 6vw, 80px); }
.feature__head { display: grid; justify-items: center; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.feature__eyebrow { color: var(--green); letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; }
.feature__title { font-size: clamp(2.4rem, 5.6vw, 5.4rem); line-height: .95; font-weight: 700; letter-spacing: -0.045em; font-variation-settings: "wdth" 114; text-wrap: balance; }
.feature__text { color: var(--soft); font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.5; max-width: 52ch; }
.feature__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.feature__play {
  display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 22px 0 8px; border-radius: 999px;
  background: var(--ink); color: #050605; font-weight: 600; font-size: .98rem;
  transition: background-color .4s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.feature__play-icon { width: 38px; height: 38px; border-radius: 50%; background: #050605; display: grid; place-items: center; transition: background-color .4s; }
.feature__play-icon svg { width: 16px; height: 16px; fill: var(--ink); margin-left: 2px; }
.feature__play-time { color: rgba(5,6,5,.55); font-size: .78rem; }
.feature__play:hover, .feature__play:focus-visible { background: #fff; box-shadow: 0 0 0 4px rgba(0,255,0,.18); }
.feature__play:hover .feature__play-icon { background: #062206; }
.feature__play:hover .feature__play-icon svg { fill: var(--green); }

.feature__stage { width: 100%; perspective: 1600px; }
.feature__media {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 9; overflow: hidden; background: #000; cursor: pointer; isolation: isolate;
  border-radius: clamp(16px, 2.2vw, 28px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 60px 140px -50px rgba(0,0,0,.95), 0 0 120px -40px rgba(0,255,0,.12);
  transform: scale(var(--fs, 1)); transform-origin: 50% 30%;
  will-change: transform;
}
.feature__frames img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.6s var(--ease-io), transform 7s linear;
}
.feature__frames img.is-on { opacity: 1; transform: scale(1); }
.feature__frames img:first-child { opacity: 1; }
.feature__frames.is-running img:first-child:not(.is-on) { opacity: 0; }
.feature__sheen {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.25), transparent 30%, transparent 70%, rgba(0,0,0,.55)),
    radial-gradient(800px circle at var(--mx, 50%) var(--my, 40%), rgba(255,255,255,.06), transparent 45%);
}
.feature__media::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); pointer-events: none; transition: box-shadow .6s var(--ease); }
.feature__media:hover::after, .feature__media:focus-visible::after { box-shadow: inset 0 0 0 1px rgba(0,255,0,.4); }
.feature__center {
  position: absolute; left: 50%; top: 50%; z-index: 2; translate: -50% -50%;
  width: clamp(64px, 7vw, 92px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 20px 40px -16px rgba(0,0,0,.7);
  transition: transform .6s var(--ease), background-color .4s, border-color .4s;
}
.feature__center svg { width: 34%; height: 34%; fill: #fff; margin-left: 6%; }
.feature__media:hover .feature__center, .feature__media:focus-visible .feature__center { transform: scale(1.08); background: rgba(255,255,255,.2); border-color: rgba(0,255,0,.5); }
.feature__chapter {
  position: absolute; left: clamp(16px, 2vw, 28px); bottom: clamp(14px, 2vw, 24px); z-index: 2;
  color: rgba(255,255,255,.75); padding: 6px 12px; border-radius: 999px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

.feature__stats {
  width: 100%; margin: clamp(40px, 5vw, 64px) 0 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.feature__stats div { padding: 28px 16px 0; display: grid; gap: 8px; justify-items: center; align-content: start; }
.feature__stats div + div { border-left: 1px solid var(--line); }
.feature__stats dt { color: var(--muted); font-size: .82rem; order: 2; }
.feature__stats dd { margin: 0; order: 1; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1; font-weight: 650; letter-spacing: -0.04em; font-variation-settings: "wdth" 112; }
.feature__stats dd small { font-size: .45em; color: var(--soft); margin-left: 2px; letter-spacing: 0; }
.feature__stats .feature__stats-text { font-size: clamp(1rem, 1.3vw, 1.15rem); font-weight: 500; letter-spacing: -0.01em; line-height: 1.35; max-width: 18ch; padding-top: 6px; }
@media (max-width: 760px) {
  .feature__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature__stats div:last-child { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px; }
  .feature__stats div { padding-top: 22px; }
  .feature__center { width: 64px; }
}

/* Filmvisare */
.viewer {
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; color: var(--ink);
  background: #030403;
  overscroll-behavior: contain;
}
.viewer::backdrop { background: rgba(0,0,0,.85); }
.viewer[open] { display: grid; grid-template-rows: auto 1fr; }
.viewer__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 48%, rgba(0,255,0,.05), transparent 70%),
    radial-gradient(90% 70% at 50% 50%, #0c100d, #030403 70%);
}
.viewer__top {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: calc(18px + env(safe-area-inset-top)) clamp(16px, 3vw, 40px) 0;
  opacity: 0; transform: translateY(-8px); transition: opacity .6s var(--ease) .15s, transform .6s var(--ease) .15s;
}
.viewer__meta { display: flex; align-items: center; gap: 14px; min-width: 0; flex-wrap: wrap; }
.viewer__title { font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 600; letter-spacing: -0.01em; }
.viewer__close {
  flex: none; display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 16px 0 12px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  color: var(--soft); transition: border-color .4s var(--ease), background-color .4s var(--ease), color .3s;
}
.viewer__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.viewer__close:hover, .viewer__close:focus-visible { color: var(--ink); border-color: rgba(0,255,0,.4); background: rgba(255,255,255,.09); }

.viewer__stage {
  position: relative; z-index: 1; min-height: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: clamp(16px, 3vh, 36px) clamp(12px, 3vw, 40px) calc(clamp(16px, 3vh, 32px) + env(safe-area-inset-bottom));
}
.viewer__frame {
  position: relative; overflow: hidden; background: #000;
  width: min(100%, calc((100dvh - 210px) * 16 / 9));
  aspect-ratio: 16 / 9; border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 120px -30px rgba(0,0,0,.95), 0 0 80px -20px rgba(0,255,0,.08);
  opacity: 0; transform: scale(.965); transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.viewer.is-open .viewer__frame, .viewer.is-open .viewer__top, .viewer.is-open .viewer__text, .viewer.is-open .viewer__keys { opacity: 1; transform: none; }
.viewer__frame:fullscreen { width: 100%; height: 100%; border-radius: 0; aspect-ratio: auto; }
.viewer__frame:-webkit-full-screen { width: 100%; height: 100%; border-radius: 0; }
.viewer__screen { position: absolute; inset: 0; }
.viewer__video { width: 100%; height: 100%; object-fit: contain; background: #000; cursor: pointer; }
.viewer.is-idle .viewer__video { cursor: none; }

.viewer__text { max-width: 62ch; text-align: center; color: var(--soft); font-size: .95rem; opacity: 0; transform: translateY(8px); transition: opacity .7s var(--ease) .25s, transform .7s var(--ease) .25s; }
.viewer__keys { color: var(--muted); opacity: 0; transition: opacity .7s var(--ease) .35s; }

/* Stor startknapp när filmen är pausad */
.viewer__bigplay {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 84px; height: 84px; border-radius: 50%;
  background: rgba(10,12,11,.45); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: grid; place-items: center;
  transition: opacity .4s var(--ease), transform .5s var(--ease), border-color .3s, background-color .3s;
}
.viewer__bigplay svg { width: 40px; height: 40px; fill: var(--ink); margin-left: 4px; }
.viewer__bigplay:hover, .viewer__bigplay:focus-visible { border-color: rgba(0,255,0,.55); background: rgba(10,12,11,.6); }
.viewer.is-playing .viewer__bigplay, .viewer.is-scrubbing .viewer__bigplay { opacity: 0; transform: scale(.9); pointer-events: none; }

.viewer__spinner {
  position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.15); border-top-color: var(--green);
  opacity: 0; transition: opacity .3s; animation: spin 1s linear infinite; pointer-events: none;
}
.viewer.is-buffering.is-playing .viewer__spinner { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Kontrollrad i glas */
.vc {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3;
  display: flex; align-items: center; gap: 4px;
  padding: 6px 12px 6px 6px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)), rgba(12,14,13,.55);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 16px 40px -18px rgba(0,0,0,.9);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.viewer.is-idle .vc { opacity: 0; transform: translateY(8px); pointer-events: none; }
.vc__btn {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink);
  transition: background-color .3s;
}
.vc__btn:hover, .vc__btn:focus-visible { background: rgba(255,255,255,.1); }
.vc__btn svg { width: 20px; height: 20px; fill: currentColor; }
.vc__btn svg .w, .vc__btn--skip svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.vc__btn--skip svg { width: 18px; height: 18px; }
.i-pause, .viewer.is-playing .i-play { display: none; }
.viewer.is-playing .i-pause { display: block; }
.i-muted, .viewer.is-muted .i-sound { display: none; }
.viewer.is-muted .i-muted { display: block; }
.vc__time { flex: none; min-width: 3.2em; text-align: center; color: var(--soft); font-variant-numeric: tabular-nums; }
.vc__track { position: relative; flex: 1; height: 40px; margin: 0 6px; display: flex; align-items: center; }
.vc__rail { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: rgba(255,255,255,.16); pointer-events: none; transition: height .2s, margin-top .2s; }
.vc__track:hover .vc__rail, .viewer.is-scrubbing .vc__rail { height: 6px; margin-top: -3px; }
.vc__buffer, .vc__progress { position: absolute; inset: 0; border-radius: inherit; transform-origin: left; transform: scaleX(0); }
.vc__buffer { background: rgba(255,255,255,.22); }
.vc__progress { background: linear-gradient(90deg, #e8ece8, #ffffff); }
.vc__thumb {
  position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 4px rgba(0,255,0,.18), 0 2px 8px rgba(0,0,0,.5);
  transform: scale(0); transition: transform .25s var(--ease);
}
.vc__track:hover .vc__thumb, .viewer.is-scrubbing .vc__thumb, .vc__seek:focus-visible ~ .vc__rail .vc__thumb { transform: scale(1); }
.vc__seek {
  position: relative; z-index: 1; width: 100%; height: 40px; margin: 0; opacity: 0; cursor: pointer;
  -webkit-appearance: none; appearance: none; background: transparent; touch-action: none;
}
.vc__track:has(.vc__seek:focus-visible) .vc__rail { outline: 2px solid rgba(0,255,0,.6); outline-offset: 6px; }
.vc__track:has(.vc__seek:focus-visible) .vc__thumb { transform: scale(1); }

@media (max-width: 640px) {
  .viewer[open] { grid-template-rows: auto 1fr; }
  /* Mobil: kontrollerna ligger under filmen så att bilden inte döljs */
  .viewer__frame { width: 100%; aspect-ratio: auto; overflow: visible; background: none; box-shadow: none; border-radius: 0; }
  .viewer__screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px -30px rgba(0,0,0,.95); }
  .vc { position: relative; left: auto; right: auto; bottom: auto; margin-top: 12px; }
  .viewer.is-idle .vc { opacity: 1; transform: none; pointer-events: auto; }
  .viewer__close .mono { display: none; }
  .viewer__close { padding: 0 12px; }
  .vc { padding: 4px 8px 4px 4px; gap: 0; }
  .vc__btn--skip, .vc__time--dur { display: none; }
  .vc__btn { width: 38px; height: 38px; }
  .viewer__bigplay { width: 64px; height: 64px; }
  .viewer__bigplay svg { width: 30px; height: 30px; }
  .viewer__keys { display: none; }
}
@media (hover: none) { .viewer__keys { display: none; } }
body.player-open { overflow: hidden; }

.nowrap { white-space: nowrap; }
.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; }

/* =========================================================
   04 · Utvalt arbete
   ========================================================= */

.work { padding-block: clamp(120px, 16vw, 220px); border-top: 1px solid var(--line); }
.case { display: grid; gap: clamp(24px, 3vw, 56px); margin-bottom: clamp(96px, 13vw, 200px); }
.case:last-child { margin-bottom: 0; }

.case__media {
  position: relative; display: block; overflow: hidden;
  background: var(--bg-3);
  aspect-ratio: 16 / 9;
}
.case__media img, .case__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s var(--ease), opacity 1s var(--ease);
}
.case__media video { opacity: 0; }
.case__media.is-playing video { opacity: 1; }
a.case__media:hover img, a.case__media:hover video { transform: scale(1.035); }
.case__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.06), transparent 45%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}

.case__kind { color: var(--muted); margin-bottom: 14px; }
.case__title {
  font-size: clamp(2.2rem, 4.2vw, 4.4rem); line-height: .95; font-weight: 700;
  letter-spacing: -0.04em; font-variation-settings: "wdth" 116;
  margin-bottom: 18px;
}
.case__text { color: var(--soft); max-width: 44ch; margin-bottom: 18px; }

.work__films { margin-top: 28px; }

.case--split { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: center; }
.case--split .case__media { aspect-ratio: 4 / 3; }

.case--concept { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: center; }
.case--concept .case__info { order: -1; }
.case__media--layers { overflow: visible; background: none; aspect-ratio: 16 / 10; }
.case__back { filter: brightness(.55) saturate(.8); }
.case__front {
  inset: auto -2% -8% auto !important; width: 62% !important; height: auto !important;
  box-shadow: 0 50px 100px -20px rgba(0,0,0,.9);
  outline: 1px solid rgba(255,255,255,.12);
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
}
.case__tag {
  position: absolute; left: 18px; top: 16px; z-index: 2;
  padding: 6px 12px; border: 1px solid var(--line-2); color: var(--soft); background: rgba(0,0,0,.5);
}

@media (max-width: 900px) {
  .case--split, .case--concept { grid-template-columns: 1fr; }
  .case--concept .case__info { order: 0; }
  .case__front { inset: auto 4% -10% auto !important; }
  .case--concept .case__media { margin-bottom: 28px; }
}

/* =========================================================
   05 · Berättelsen
   ========================================================= */

.story {
  position: relative; overflow: hidden;
  padding-block: clamp(120px, 16vw, 240px);
  background: linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg));
  border-top: 1px solid var(--line);
}
.story__bignum {
  position: absolute; right: -0.06em; top: 0.04em;
  font-size: clamp(16rem, 44vw, 46rem); line-height: .8; font-weight: 800;
  letter-spacing: -0.08em; font-variation-settings: "wdth" 125;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.05);
  pointer-events: none; user-select: none;
  transform: translateY(var(--shift, 0px));
}
.story__grid {
  position: relative;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(56px, 7vw, 100px);
}
.story__head { grid-column: 1 / -1; }
.story__title {
  font-size: clamp(2.8rem, 7.6vw, 8rem); line-height: .9; font-weight: 700;
  letter-spacing: -0.05em; font-variation-settings: "wdth" 116;
}
.story__body { grid-column: 1 / span 6; }
.story__body p { color: var(--soft); font-size: 1.08rem; max-width: 54ch; }
.story__body p + p { margin-top: 1.15em; }
.story__body .story__lead { color: var(--ink); font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.4; letter-spacing: -0.01em; max-width: 30ch; margin-bottom: 1.6em; }
.story__line { grid-column: 9 / span 4; align-self: end; position: relative; padding-left: 26px; color: var(--soft); }
.story__line::before { content: ""; position: absolute; left: 3px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.story__line li { position: relative; padding-bottom: 26px; }
.story__line li:last-child { padding-bottom: 0; }
.story__line li::before { content: ""; position: absolute; left: -26px; top: 6px; width: 7px; height: 7px; background: var(--bg); border: 1px solid var(--muted); }
.story__line li.is-now { color: var(--ink); }
.story__line li.is-now::before { background: var(--green); border-color: var(--green); }

@media (max-width: 900px) {
  .story__body, .story__line { grid-column: 1 / -1; }
}

/* =========================================================
   06 · Kontakt
   ========================================================= */

.contact {
  position: relative; isolation: isolate;
  border-top: 1px solid var(--line);
  background: #040504;
}
.contact__intro {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 92vh; min-height: 92svh;
  display: flex; align-items: center;
  padding-block: clamp(120px, 14vw, 200px) clamp(72px, 9vw, 120px);
  background: radial-gradient(50% 60% at 75% 50%, rgba(18, 28, 22, .55), transparent 70%);
}
.contact__intro > .wrap { position: relative; }
.contact__stage { position: absolute; inset: 0; z-index: -1; }
.contact__title {
  font-size: clamp(3rem, 8.4vw, 9.4rem); line-height: .9; font-weight: 700;
  letter-spacing: -0.05em; font-variation-settings: "wdth" 116;
  margin-bottom: clamp(48px, 6vw, 88px);
}

/* Direktkontakt – två glaskomponenter ur samma system */
.direct { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.glass {
  --glass-border: rgba(255,255,255,.13);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  min-height: 60px; padding: 8px 8px 8px 22px;
  border-radius: 999px; color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.02) 55%, rgba(255,255,255,.035)),
    rgba(14, 17, 15, .42);
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -1px 0 rgba(0,0,0,.35),
    0 18px 40px -22px rgba(0,0,0,.9);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  overflow: hidden; isolation: isolate;
  transition: border-color .5s var(--ease), background-color .5s var(--ease), box-shadow .5s var(--ease), filter .5s var(--ease);
}
/* Reflex som förskjuts mjukt vid hover */
.glass::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.08) 38%, transparent 52%);
  background-size: 250% 100%; background-position: 100% 0;
  transition: background-position 1.2s var(--ease);
}
.glass:hover, .glass:focus-visible {
  --glass-border: rgba(0,255,0,.32);
  filter: brightness(1.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 -1px 0 rgba(0,0,0,.35), 0 0 0 4px rgba(0,255,0,.04), 0 18px 40px -22px rgba(0,0,0,.9);
}
.glass:hover::before, .glass:focus-visible::before { background-position: 0 0; }
.glass:focus-visible { outline: none; }

.glass__label { color: var(--muted); padding-right: 14px; border-right: 1px solid rgba(255,255,255,.1); line-height: 1; }
.glass__value { font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 400; letter-spacing: .005em; color: #e9ece8; white-space: nowrap; }
.glass__value--sm { font-size: 1.02rem; }
.glass__at { color: var(--green); margin-inline: .04em; }
.glass__go {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  transition: background-color .5s var(--ease), border-color .5s var(--ease);
}
.glass__go svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 1.6; transition: transform .6s var(--ease), stroke .4s; }
.glass:hover .glass__go { background: rgba(0,255,0,.12); border-color: rgba(0,255,0,.35); }
.glass:hover .glass__go svg { transform: translate(2px, -2px); stroke: var(--green); }

.glass--icon { width: 60px; padding: 0; justify-content: center; }
.glass--icon svg { width: 19px; height: 19px; fill: none; stroke: var(--soft); stroke-width: 1.5; transition: opacity .3s, transform .4s var(--ease), stroke .3s; }
.glass--icon .ico-done { position: absolute; opacity: 0; transform: scale(.6); stroke: var(--green); }
.glass--icon.is-done .ico-copy { opacity: 0; transform: scale(.6); }
.glass--icon.is-done .ico-done { opacity: 1; transform: none; }
.glass--icon:hover svg { stroke: var(--ink); }
.glass__tip {
  position: absolute; left: 50%; top: calc(100% + 10px); translate: -50% 4px;
  padding: 5px 9px; border-radius: 8px; white-space: nowrap; pointer-events: none;
  background: rgba(20,24,21,.9); border: 1px solid rgba(255,255,255,.1); color: var(--soft);
  opacity: 0; transition: opacity .3s, translate .3s var(--ease);
}
.glass--icon { overflow: visible; }
.glass--icon:hover .glass__tip, .glass--icon:focus-visible .glass__tip, .glass--icon.is-done .glass__tip { opacity: 1; translate: -50% 0; }

.glass--ig { padding-left: 10px; }
.glass__ig { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.glass__ig svg { width: 19px; height: 19px; fill: none; stroke: var(--ink); stroke-width: 1.4; transition: stroke .4s; }
.glass--ig:hover .glass__ig svg { stroke: var(--green); }

@media (max-width: 560px) {
  .direct { gap: 10px; }
  .glass--mail { flex: 1 1 auto; min-width: 0; padding-left: 18px; }
  .glass--mail .glass__label { display: none; }
  .glass--mail .glass__value { font-size: 1rem; overflow: hidden; text-overflow: ellipsis; }
  .glass--mail .glass__go { margin-left: auto; }
  .glass--ig { flex: 1 1 100%; }
  .glass--ig .glass__go { margin-left: auto; }
}

/* Projektförfrågan */
.inquiry {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 120px);
  padding-block: clamp(96px, 12vw, 180px);
  border-top: 1px solid var(--line);
}
.inquiry__head { align-self: start; position: sticky; top: calc(var(--nav-h) + 40px); }
.inquiry__title {
  font-size: clamp(2.4rem, 4.6vw, 4.8rem); line-height: .95; font-weight: 700;
  letter-spacing: -0.045em; font-variation-settings: "wdth" 116; margin-bottom: 24px;
  text-wrap: balance;
}
.inquiry__lead { color: var(--soft); max-width: 38ch; font-size: 1.05rem; }

.form { display: grid; gap: clamp(36px, 4vw, 52px); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form__label { display: flex; align-items: baseline; gap: 8px; color: var(--soft); margin-bottom: 14px; padding: 0; }
.req { color: var(--green); }
.opt { color: var(--muted); }

.types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.type { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.type input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.type__panel {
  position: relative; display: grid; gap: 6px; height: 100%; min-height: 104px;
  align-content: center;
  padding: 22px 64px 22px 24px; border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)),
    rgba(14, 17, 15, .5);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color .45s var(--ease), background-color .45s var(--ease), box-shadow .45s var(--ease);
}
.type__name { font-size: 1.08rem; font-weight: 550; letter-spacing: -0.01em; line-height: 1.25; color: #e9ece8; hyphens: manual; overflow-wrap: anywhere; }
.type__desc { color: var(--muted); font-size: .9rem; line-height: 1.4; transition: color .45s; }
.type__check {
  position: absolute; top: 50%; right: 22px; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22); display: grid; place-items: center;
  transition: border-color .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.type__check svg { width: 14px; height: 14px; fill: none; stroke: #031003; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 14; stroke-dashoffset: 14; transition: stroke-dashoffset .45s var(--ease) .05s; }
.type:hover .type__panel { border-color: rgba(255,255,255,.2); background-color: rgba(22, 26, 23, .6); box-shadow: inset 0 1px 0 rgba(255,255,255,.09); }
.type input:checked + .type__panel {
  border-color: rgba(0,255,0,.55);
  background: linear-gradient(180deg, rgba(0,255,0,.07), rgba(0,255,0,.02)), rgba(14, 17, 15, .55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 3px rgba(0,255,0,.06);
}
.type input:checked + .type__panel .type__desc { color: var(--soft); }
.type input:checked + .type__panel .type__check { border-color: var(--green); background: var(--green); box-shadow: 0 0 14px rgba(0,255,0,.35); }
.type input:checked + .type__panel .type__check svg { stroke-dashoffset: 0; }
.type input:focus-visible + .type__panel { outline: 2px solid rgba(0,255,0,.6); outline-offset: 3px; }
.form__types.is-invalid .type__panel { border-color: rgba(255, 110, 90, .45); }

.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
.field { display: grid; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1.02rem; color: var(--ink);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)), rgba(14, 17, 15, .5);
  border: 1px solid rgba(255,255,255,.1); border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 16px 18px; outline: none;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease), background-color .4s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #5f665f; }
.field input:hover, .field textarea:hover { border-color: rgba(255,255,255,.2); }
.field input:focus, .field textarea:focus { border-color: rgba(0,255,0,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 3px rgba(0,255,0,.08); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: rgba(255, 110, 90, .7); }
.field__money { position: relative; }
.field__money input { padding-right: 64px; font-variant-numeric: tabular-nums; }
.field__unit { position: absolute; right: 18px; top: 50%; translate: 0 -50%; color: var(--muted); pointer-events: none; }
.form__hint { color: var(--muted); font-size: .82rem; margin-top: 8px; }
.form__error { min-height: 0; color: #ff8a78; font-size: .85rem; margin-top: 8px; }
.form__error:empty { display: none; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.form__submit { min-width: 260px; }
.form__submit[disabled] { cursor: progress; }
.form__submit.is-loading::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 40%;
  background: var(--green); animation: sending 1.1s var(--ease-io) infinite;
}
@keyframes sending { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.form__alt { color: var(--muted); font-size: .92rem; }
.form__alt a { color: var(--ink); border-bottom: 1px solid var(--line-2); transition: border-color .3s; }
.form__alt a:hover { border-color: var(--green); }
.form__status { color: var(--soft); font-size: .95rem; }
.form__status:empty { display: none; }
.form__status.is-error { color: #ff8a78; }
.form__status a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }


@media (max-width: 900px) {
  .inquiry { grid-template-columns: 1fr; }
  .inquiry__head { position: static; }
  .sent { grid-column: 1; }
}
@media (max-width: 560px) {
  .form__grid { grid-template-columns: 1fr; }
  .types { grid-template-columns: 1fr; gap: 10px; }
  .type__panel { min-height: 76px; padding: 16px 60px 16px 20px; border-radius: 16px; }
  .form__submit { width: 100%; }
}

/* ---------- Footer ---------- */

.footer { background: #030403; border-top: 1px solid var(--line); padding-block: 34px calc(34px + env(safe-area-inset-bottom)); }
.footer__inner { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 40px; color: var(--muted); font-size: .875rem; }
.footer__logo { display: inline-flex; align-items: center; min-height: 44px; }
.footer__logo img { height: 15px; width: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-left: auto; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; transition: color .3s; }
.footer__links a:hover { color: var(--ink); }
@media (max-width: 640px) {
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__links { margin-left: 0; }
}

/* =========================================================
   Filmsidan
   ========================================================= */

.film-page main { padding-top: calc(var(--nav-h) + env(safe-area-inset-top)); }
.film-page .nav__inner .arrow-link { color: var(--soft); }
.film { padding-block: clamp(32px, 4vw, 64px) 0; }
.film + .film { padding-top: clamp(96px, 12vw, 180px); }
.film__head { margin-bottom: clamp(24px, 3vw, 40px); }
.film__head .index { margin-bottom: 18px; }
.film__title {
  font-size: clamp(2.6rem, 6vw, 6.2rem); line-height: .9; font-weight: 700;
  letter-spacing: -0.05em; font-variation-settings: "wdth" 116;
}
.film__screen {
  position: relative; margin-inline: auto;
  width: min(100%, 1760px, calc((100svh - var(--nav-h) - 230px) * 16 / 9));
  aspect-ratio: 16 / 9; background: #000; overflow: hidden;
  clip-path: inset(50% 0 50% 0);
  transition: clip-path 1.8s var(--ease-io);
}
.film__screen.is-open { clip-path: inset(0 0 0 0); }
.film__screen video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 3s var(--ease); }
.film__screen.is-open video { transform: none; }
.film__sound {
  position: absolute; right: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 16px; color: var(--ink);
  background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.18);
  transition: border-color .3s;
}
.film__sound:hover { border-color: var(--green); }
.film__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.film__bars i { width: 2px; height: 3px; background: currentColor; transition: height .3s; }
.film__sound[aria-pressed="true"] .film__bars i { background: var(--green); animation: eq 1s var(--ease-io) infinite alternate; }
.film__sound[aria-pressed="true"] .film__bars i:nth-child(2) { animation-delay: -.3s; }
.film__sound[aria-pressed="true"] .film__bars i:nth-child(3) { animation-delay: -.6s; }
.film__sound[aria-pressed="true"] .film__bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { from { height: 3px; } to { height: 12px; } }
.film__info { padding-top: 24px; }
@media (min-width: 761px) {
  .film__head, .film__info { width: min(100%, 1760px, calc((100svh - var(--nav-h) - 230px) * 16 / 9)); max-width: none; padding-inline: 0; }
}
.film__info p { color: var(--soft); max-width: 56ch; }
.film-cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; padding-block: clamp(120px, 14vw, 200px); }
@media (max-width: 640px) {
  .film__screen { aspect-ratio: 16 / 10; }
  .film__sound { right: 10px; bottom: 10px; padding: 10px 12px; }
}

/* ---------- Reducerad rörelse ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal], .js .hero [data-intro] { opacity: 1; transform: none; }
  .js [data-lines] .line > span { transform: none; }
  .film__screen { clip-path: none; }
  .v-film .fs { animation: none !important; }
  .v-film .fs img, .v-film .fs__sweep { animation: none !important; }
}

/* Tacksida (används om JavaScript är avstängt) */
.thanks { min-height: 100svh; display: grid; align-content: center; justify-items: start; gap: 24px; }
.thanks p { color: var(--soft); max-width: 46ch; }
.thanks p a { color: var(--ink); border-bottom: 1px solid var(--line-2); }

/* Integritetspolicy */
.legal { max-width: 860px; padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 96px)); padding-bottom: clamp(96px, 12vw, 160px); }
.legal .legal__draft { color: #031003; max-width: none; background: var(--green); padding: 10px 14px; border-radius: 10px; margin-bottom: 40px; }
.legal__title { font-size: clamp(2.6rem, 6vw, 5rem); line-height: .95; font-weight: 700; letter-spacing: -0.045em; font-variation-settings: "wdth" 116; margin-bottom: 24px; }
.legal__lead { color: var(--soft); font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 56ch; margin-bottom: 14px; }
.legal__updated { color: var(--muted); margin-bottom: 56px; }
.legal section { padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--line); }
.legal h2 { font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 650; letter-spacing: -0.02em; margin-bottom: 16px; }
.legal h3 { font-size: 1.05rem; font-weight: 600; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--soft); max-width: 68ch; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: none; display: grid; gap: 10px; margin: 12px 0; }
.legal li { position: relative; padding-left: 20px; }
.legal li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 1px; background: var(--green); }
.legal a { color: var(--ink); border-bottom: 1px solid var(--line-2); transition: border-color .3s; }
.legal a:hover { border-color: var(--green); }
.legal strong { color: var(--ink); font-weight: 600; }
mark.todo { background: rgba(0,255,0,.14); color: #c9ffc9; padding: 1px 5px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0,255,0,.35); }

/* 404 */
.notfound { min-height: 100svh; display: grid; align-content: center; justify-items: start; gap: 22px; padding-top: var(--nav-h); padding-bottom: 64px; position: relative; overflow: hidden; }
.notfound__mark { position: absolute; right: -4%; top: 50%; translate: 0 -50%; width: min(46vw, 520px); height: auto; opacity: .06; pointer-events: none; }
.notfound .index { margin-bottom: 0; }
.notfound__title { font-size: clamp(2.8rem, 8vw, 7.4rem); line-height: .92; font-weight: 700; letter-spacing: -0.05em; font-variation-settings: "wdth" 116; max-width: 12ch; }
.notfound__lead { color: var(--soft); font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 42ch; }
.notfound__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 12px; }

.form__privacy { color: var(--muted); font-size: .85rem; flex-basis: 100%; }
.form__privacy a { color: var(--soft); border-bottom: 1px solid var(--line-2); }
.form__privacy a:hover { border-color: var(--green); }
@media (max-width: 560px) {
  .launch__caption span:first-child { white-space: nowrap; }
  .launch__caption span:last-child { display: none; }
}

/* Bekräftelse efter skickat meddelande */
.sent {
  grid-column: 2; align-self: start; position: relative; overflow: hidden;
  display: grid; justify-items: start; gap: 14px;
  padding: clamp(32px, 4vw, 56px); border-radius: 20px; outline: none;
  background: linear-gradient(180deg, rgba(0,255,0,.06), rgba(0,255,0,.015)), rgba(14, 17, 15, .55);
  border: 1px solid rgba(0,255,0,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 80px -40px rgba(0,0,0,.9);
  opacity: 0; transform: translateY(14px) scale(.985);
  transition: opacity .7s var(--ease), transform .8s var(--ease);
}
.sent.is-in { opacity: 1; transform: none; }
.sent__check { width: 64px; height: 64px; margin-bottom: 6px; overflow: visible; }
.sent__ring { fill: rgba(0,255,0,.06); stroke: var(--green); stroke-width: 1.5; stroke-dasharray: 151; stroke-dashoffset: 151; transform: rotate(-90deg); transform-origin: 50% 50%; }
.sent__tick { fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; }
.sent.is-in .sent__ring { animation: sentRing .8s var(--ease) .15s forwards; }
.sent.is-in .sent__tick { animation: sentTick .45s var(--ease) .75s forwards; }
.sent.is-in .sent__check { animation: sentGlow 1.4s var(--ease) .9s; }
@keyframes sentRing { to { stroke-dashoffset: 0; } }
@keyframes sentTick { to { stroke-dashoffset: 0; } }
@keyframes sentGlow { 0% { filter: drop-shadow(0 0 0 rgba(0,255,0,0)); } 40% { filter: drop-shadow(0 0 14px rgba(0,255,0,.55)); } 100% { filter: drop-shadow(0 0 0 rgba(0,255,0,0)); } }
.sent__title { font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; font-variation-settings: "wdth" 112; }
.sent__text { color: var(--soft); max-width: 42ch; }
.sent__btn { margin-top: 10px; }
.sent__auto { color: var(--muted); }
.sent__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.06); }
.sent__bar i { position: absolute; inset: 0; background: var(--green); transform-origin: left; transform: scaleX(0); }
.sent.is-in .sent__bar i { animation: sentBar var(--redirect, 5s) linear forwards; }
@keyframes sentBar { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .sent__ring, .sent__tick { stroke-dashoffset: 0; }
}
@media (max-width: 900px) {
  .sent { grid-column: 1; }
}
@media (max-width: 560px) {
  .sent { border-radius: 16px; }
  .sent__btn { width: 100%; }
}

.thanks .sent { grid-column: auto; width: min(100%, 560px); }

.feature__badge { color: var(--ink); padding: 5px 10px; border: 1px solid rgba(0,255,0,.45); background: rgba(0,255,0,.05); letter-spacing: .04em; }
