/* ============================================================
   She Creates Lab — dark, cinematic, high-end product UI
   Apple × Linear × Arc. Shared by index.html + skapa.html
   ============================================================ */

:root {
  /* base */
  --bg:      #0a0d13;
  --bg-2:    #0c0f17;
  --panel:   #11151f;
  --panel-2: #141926;
  --elev:    #1a2030;

  /* text */
  --text:   #fefdfb;
  --text-2: #c4c8d4;
  --text-3: #878da0;
  --text-4: #5b6175;

  /* lines */
  --line:    rgba(255,255,255,0.08);
  --line-2:  rgba(255,255,255,0.14);
  --line-3:  rgba(255,255,255,0.22);

  /* accent — deep violet + night bordeaux */
  --violet:      #8b5cff;
  --violet-2:    #6a37e6;
  --violet-soft: rgba(139,92,255,0.16);
  --violet-line: rgba(139,92,255,0.42);
  --bordeaux:    #9c2f4e;
  --bordeaux-2:  #6e2440;

  --violet-rgb: 139,92,255;

  /* type */
  --sans: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  /* rhythm */
  --gutter: clamp(1.25rem, 5vw, 6rem);
  --maxw:   1320px;
  --radius: 16px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  line-height: 1.55;
  font-size: clamp(1rem, 0.4vw + 0.92rem, 1.08rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 620px at 8% -8%, rgba(124,71,230,0.20), transparent 58%),
    radial-gradient(1000px 680px at 102% -4%, rgba(156,47,78,0.18), transparent 55%),
    radial-gradient(1200px 900px at 50% 118%, rgba(96,52,150,0.16), transparent 60%);
  background-attachment: fixed;
}
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--violet); color: #fff; }

/* fine grain over the dark base */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 9000;
  opacity: 0.035; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- type ---------- */
h1, h2, h3 { font-weight: 760; line-height: 1.02; letter-spacing: -0.03em; }
.display { font-weight: 780; letter-spacing: -0.035em; line-height: 0.98; }
.mono {
  font-family: var(--mono); font-weight: 500; font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3);
}
.eyebrow::before { content: ""; width: 1.7em; height: 1px; background: var(--violet); box-shadow: 0 0 8px var(--violet); }
.lead { font-size: clamp(1.1rem, 0.8vw + 1rem, 1.4rem); color: var(--text-2); line-height: 1.5; font-weight: 400; }
.muted { color: var(--text-3); }
.vio { color: var(--violet); }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.rule { height: 1px; background: var(--line); border: 0; }

/* ---------- buttons ---------- */
.btn {
  --b-bg: var(--violet); --b-fg: #fff;
  display: inline-flex; align-items: center; gap: 0.65em;
  padding: 0.92em 1.5em; border-radius: 12px;
  background: var(--b-bg); color: var(--b-fg); border: 1px solid transparent;
  font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em; cursor: pointer;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background 0.35s, border-color 0.35s;
  will-change: transform;
}
.btn--primary {
  background: linear-gradient(180deg, #9a70ff, #7b4cf0);
  box-shadow: 0 8px 30px -8px rgba(var(--violet-rgb), 0.6), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(var(--violet-rgb), 0.75), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn--ghost { background: rgba(255,255,255,0.03); color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { background: rgba(255,255,255,0.07); border-color: var(--line-3); transform: translateY(-2px); }
.btn--lg { padding: 1.1em 2em; font-size: 1.05rem; }
.btn .arrow { transition: transform 0.45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.textlink { color: var(--text-2); font-weight: 500; display: inline-flex; gap: 0.4em; transition: color 0.3s; }
.textlink:hover { color: var(--violet); }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.07s; }
[data-reveal-delay="2"] { transition-delay: 0.14s; }
[data-reveal-delay="3"] { transition-delay: 0.21s; }
[data-reveal-delay="4"] { transition-delay: 0.28s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}
body.reveal-all [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--gutter);
  border-bottom: 1px solid transparent; transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
.nav.is-stuck { background: rgba(10,13,19,0.72); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; letter-spacing: -0.02em; font-size: 1.02rem; }
.brand .glyph { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(150deg, #9a70ff, #6a37e6); box-shadow: 0 0 16px rgba(var(--violet-rgb),0.6), inset 0 1px 0 rgba(255,255,255,0.4); position: relative; }
.brand .glyph::after { content: ""; position: absolute; inset: 6px; border-radius: 3px; background: rgba(10,13,19,0.55); }
.brand .tag { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.18em; color: var(--text-3); border: 1px solid var(--line-2); border-radius: 6px; padding: 0.22em 0.5em; text-transform: uppercase; }
.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.nav-right .navlink { font-size: 0.95rem; color: var(--text-3); transition: color 0.3s; }
.nav-right .navlink:hover { color: var(--text); }
.nav-cta .lbl-short { display: none; }
@media (max-width: 760px) {
  .nav-right .navlink { display: none; }
  .nav-right { gap: 0; }
  .nav-cta { padding: 0.7em 1.05em; font-size: 0.9rem; }
  .nav-cta .lbl-full { display: none; }
  .nav-cta .lbl-short { display: inline; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: clamp(7rem, 15vh, 11rem) 0 clamp(2.5rem, 5vh, 4rem); }
.hero h1 { font-size: clamp(2.6rem, 6.6vw, 5.8rem); }
.hero h1 .ln { display: block; }
.hero h1 .ln > span { display: inline-block; opacity: 0; transform: translateY(0.42em); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.hero.ready h1 .ln > span { opacity: 1; transform: none; }
.hero h1 .ln:nth-child(2) > span { transition-delay: 0.1s; }
.hero h1 .vio { background: linear-gradient(180deg, #b79bff, #7e54f0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 1.6rem; max-width: 50ch; opacity: 0; transform: translateY(14px); transition: opacity 0.9s var(--ease) 0.45s, transform 0.9s var(--ease) 0.45s; }
.hero.ready .hero-sub { opacity: 1; transform: none; }
.hero-cta { margin-top: 2.2rem; display: flex; gap: 0.9rem; align-items: center; flex-wrap: wrap; opacity: 0; transform: translateY(14px); transition: opacity 0.9s var(--ease) 0.6s, transform 0.9s var(--ease) 0.6s; }
.hero.ready .hero-cta { opacity: 1; transform: none; }
.hero-note { font-size: 0.88rem; color: var(--text-3); display: inline-flex; align-items: center; gap: 0.5em; }
.hero-note b { color: var(--text-2); font-weight: 500; }

/* ============================================================
   LAB — the product panel (hero centrepiece)
   ============================================================ */
/* hero showcase image */
.hero-shot {
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
  position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line-2);
  background: linear-gradient(135deg, #16121f, #0b0e16);
  box-shadow: 0 60px 120px -50px rgba(0,0,0,0.9), 0 0 90px -40px rgba(var(--violet-rgb),0.45);
  opacity: 0; transform: translateY(34px) scale(0.99);
  transition: opacity 1s var(--ease) 0.45s, transform 1s var(--ease) 0.45s;
}
.hero.ready .hero-shot { opacity: 1; transform: none; }
.hero-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shot::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 150px 26px rgba(10,13,19,0.62); }
.hero-shot .ph { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 0.6rem; align-items: center; justify-content: center; color: var(--text-4); font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-align: center; padding: 2rem; }
.hero-shot .ph b { color: var(--text-3); font-weight: 500; }

.demo { padding: clamp(4rem, 9vh, 7rem) 0; }

.lab {
  margin: 0;
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0)) , var(--panel);
  border: 1px solid var(--line-2);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 60px 120px -50px rgba(0,0,0,0.9), 0 0 90px -40px rgba(var(--violet-rgb),0.5);
}
.lab-bar { display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 1.2rem; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.lab-bar .dots { display: flex; gap: 0.42rem; }
.lab-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.13); }
.lab-bar .title { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--text-3); }
.lab-bar .status { margin-left: auto; display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--violet); text-transform: uppercase; }
.lab-bar .status i { width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 10px var(--violet); animation: pulse 1.8s var(--ease) infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }

.lab-body { display: grid; grid-template-columns: 0.82fr 1.18fr; min-height: 470px; }
.lab-col { padding: 1.7rem 1.7rem; }
.lab-col.input { border-right: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent); }
.lab-label { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-4); display: flex; align-items: center; gap: 0.6em; margin-bottom: 1rem; }
.lab-label .n { color: var(--violet); }

.typed { font-size: 1.18rem; line-height: 1.45; color: var(--text); font-weight: 450; min-height: 3.6em; }
.typed .caret { display: inline-block; width: 2px; height: 1.05em; background: var(--violet); margin-left: 1px; vertical-align: -0.16em; box-shadow: 0 0 8px var(--violet); animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.interp { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; }
.interp .row { display: flex; align-items: center; gap: 0.7rem; opacity: 0; transform: translateX(-8px); }
.interp .row.show { opacity: 1; transform: none; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.interp .row .k { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-4); width: 4.2em; flex: none; }
.interp .row .v { display: inline-flex; align-items: center; padding: 0.4em 0.85em; border-radius: 8px; background: var(--violet-soft); border: 1px solid var(--violet-line); color: #d9ccff; font-size: 0.9rem; font-weight: 500; }

/* output column */
.lab-col.output { display: flex; flex-direction: column; }
.lab-out-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.lab-featured { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 250px; }
.lab-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin-top: 1.1rem; }
.lab-thumb { border-radius: 9px; overflow: hidden; border: 1px solid var(--line); cursor: default; position: relative; aspect-ratio: 16/11; transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s; }
.lab-thumb .lab-thumb-cap { position: absolute; left: 0; right: 0; bottom: 0; font-family: var(--mono); font-size: 0.54rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); padding: 0.3em 0.45em; background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent); }
.lab-thumb.on { border-color: var(--violet-line); box-shadow: 0 0 0 1px var(--violet-line), 0 0 22px -6px rgba(var(--violet-rgb),0.6); transform: translateY(-2px); }
.lab-thumb .mini { position: absolute; inset: 0; }
.lab-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* browser-framed real template preview */
.frame { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); background: #0e0e12; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.85); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.frame .chrome { display: flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.7rem; background: rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.07); }
.frame .chrome i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.frame .chrome .url { margin-left: 0.5rem; font-family: var(--mono); font-size: 0.6rem; color: var(--text-3); background: rgba(255,255,255,0.06); border-radius: 5px; padding: 0.18em 0.6em; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame .frame-img { aspect-ratio: 16 / 10; overflow: hidden; }
.frame .frame-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.frame.swap-out { opacity: 0; transform: translateY(12px) scale(0.985); }
.lab-featured .frame { width: 100%; max-width: 540px; }

@media (max-width: 940px) {
  .lab-body { grid-template-columns: 1fr; }
  .lab-col.input { border-right: 0; border-bottom: 1px solid var(--line); }
  .typed { min-height: 0; }
}

/* ============================================================
   PREVIEW (a customer site mockup) — used in lab + gallery
   ============================================================ */
.site {
  --s-bg: #0e0e12; --s-fg: #f4f4f6; --s-muted: #8b90a0; --s-accent: #8b5cff;
  width: 100%; max-width: 440px;
  background: var(--s-bg); color: var(--s-fg);
  border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.site .chrome { display: flex; align-items: center; gap: 0.4rem; padding: 0.55rem 0.75rem; background: rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.07); }
.site .chrome i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.site .chrome .url { margin-left: 0.5rem; font-family: var(--mono); font-size: 0.6rem; color: var(--s-muted); background: rgba(255,255,255,0.06); border-radius: 5px; padding: 0.18em 0.6em; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site .body { padding: 1.25rem 1.35rem 1.5rem; }
.site .snav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.site .swordmark { font-size: 1rem; font-weight: 700; letter-spacing: -0.02em; }
.site .slinks { display: flex; gap: 0.85rem; font-size: 0.62rem; color: var(--s-muted); }
.site .seyebrow { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--s-accent); margin-bottom: 0.65rem; }
.site .shead { font-size: 1.75rem; line-height: 1.04; font-weight: 780; letter-spacing: -0.03em; }
.site .ssub { font-size: 0.76rem; color: var(--s-muted); margin-top: 0.6rem; line-height: 1.5; max-width: 32ch; }
.site .sbtn { display: inline-flex; margin-top: 1rem; padding: 0.5em 1em; border-radius: 8px; background: var(--s-accent); color: #fff; font-size: 0.7rem; font-weight: 600; box-shadow: 0 6px 20px -8px var(--s-accent); }
.site .sbtn.outline { background: transparent; color: var(--s-fg); border: 1px solid rgba(255,255,255,0.25); box-shadow: none; }
.site .sgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.45rem; margin-top: 1.25rem; }
.site .scell { aspect-ratio: 3/4; border-radius: 6px; background: var(--s-accent); opacity: 0.2; }
.site .scell:nth-child(2) { opacity: 0.34; } .site .scell:nth-child(3) { opacity: 0.26; }
.site .srow { display: flex; gap: 0.45rem; margin-top: 1.1rem; }
.site .stile { flex: 1; border-radius: 7px; padding: 0.65rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.06); }
.site .stile .t { font-size: 0.92rem; font-weight: 700; }
.site .stile .d { font-size: 0.58rem; color: var(--s-muted); margin-top: 0.25rem; line-height: 1.4; }
.site .sband { margin-top: 1.1rem; height: 60px; border-radius: 8px; background: var(--s-accent); display: flex; align-items: center; padding: 0 1rem; box-shadow: 0 10px 30px -12px var(--s-accent); }
.site .sband span { color: #fff; font-size: 0.86rem; font-weight: 700; }
.site.swap-out { opacity: 0; transform: translateY(12px) scale(0.985); }

/* tiny version inside thumbnails — non-interactive scaled mock */
.mini .site { max-width: none; border-radius: 0; border: 0; box-shadow: none; transform: scale(1); }
.mini { overflow: hidden; }
.mini .site .chrome { display: none; }
.mini .site .body { padding: 0.6rem 0.7rem; }
.mini .site .shead { font-size: 0.78rem; }
.mini .site .ssub, .mini .site .slinks, .mini .site .sbtn, .mini .site .srow, .mini .site .seyebrow { display: none; }
.mini .site .snav { margin-bottom: 0.5rem; }
.mini .site .swordmark { font-size: 0.6rem; }
.mini .site .sgrid { gap: 0.25rem; margin-top: 0.5rem; }
.mini .site .sband { height: 22px; margin-top: 0.5rem; }
.mini .site .sband span { font-size: 0.5rem; }

/* ============================================================
   SECTION scaffolding
   ============================================================ */
.section-head { max-width: 30ch; margin-bottom: clamp(2.4rem, 5vh, 3.6rem); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
.section-head p { margin-top: 1rem; }

/* HOW — product capabilities */
.how { padding: clamp(4.5rem, 10vh, 8rem) 0; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.how-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 2.4vw, 2.2rem); position: relative; overflow: hidden; transition: border-color 0.5s, transform 0.5s, box-shadow 0.5s; }
.how-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--violet-line), transparent); opacity: 0; transition: opacity 0.5s; }
.how-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 30px 60px -40px rgba(0,0,0,0.9); }
.how-card:hover::before { opacity: 1; }
.how-card .n { font-family: var(--mono); font-size: 0.74rem; color: var(--violet); letter-spacing: 0.1em; }
.how-card h3 { font-size: clamp(1.3rem, 1.8vw, 1.7rem); margin: 1.1rem 0 0.6rem; }
.how-card p { color: var(--text-3); font-size: 0.98rem; }
.how-card .icon { margin-top: 1.5rem; color: var(--text-2); }
@media (max-width: 820px) { .how-grid { grid-template-columns: 1fr; } }

/* INDUSTRIES gallery — cinematic, image-forward */
.gallery { padding: clamp(4rem, 9vh, 7rem) 0; }
.gal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.2vw, 2rem); }
.gal-card { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease), border-color 0.55s; }
.gal-card .frame { border: 0; border-radius: 0; box-shadow: none; }
.gal-card .frame-img { aspect-ratio: 16 / 10; }
.gal-card .frame-img img { transition: transform 0.9s var(--ease); }
.gal-card:hover { transform: translateY(-6px); border-color: var(--violet-line); box-shadow: 0 50px 90px -50px rgba(0,0,0,0.95), 0 0 70px -34px rgba(var(--violet-rgb),0.55); }
.gal-card:hover .frame-img img { transform: scale(1.06); }
.gal-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.5rem 1.25rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; background: linear-gradient(0deg, rgba(6,8,12,0.94) 12%, rgba(6,8,12,0.5) 55%, transparent); pointer-events: none; }
.gal-cap .kind { font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; }
.gal-cap .tag { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: #c8b3ff; text-align: right; }
@media (max-width: 760px) { .gal-grid { grid-template-columns: 1fr; } }

/* VALUE — what you skip */
.value { padding: clamp(4.5rem, 10vh, 8rem) 0; }
.value-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.value h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); max-width: 13ch; }
.value-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.value-list .item { display: flex; gap: 1.1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.value-list .item .x { color: var(--violet); font-family: var(--mono); font-size: 0.85rem; flex: none; }
.value-list .item .t { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.value-list .item .d { color: var(--text-3); font-size: 0.95rem; margin-top: 0.2rem; }
@media (max-width: 820px) { .value-layout { grid-template-columns: 1fr; } }

/* FEELING switcher */
.feel { padding: clamp(4.5rem, 10vh, 8rem) 0; }
.feel-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.feel-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.8rem; }
.feel-chip { border: 1px solid var(--line-2); background: rgba(255,255,255,0.02); color: var(--text-2); border-radius: 10px; padding: 0.6em 1.1em; font-weight: 600; font-size: 0.96rem; cursor: pointer; transition: all 0.35s var(--ease); }
.feel-chip:hover { border-color: var(--line-3); color: var(--text); }
.feel-chip.active { background: var(--violet-soft); border-color: var(--violet-line); color: #d9ccff; box-shadow: 0 0 24px -8px rgba(var(--violet-rgb),0.7); }
.feel-hint { margin-top: 1.5rem; font-size: 0.95rem; color: var(--text-3); max-width: 40ch; }
.feel-preview { display: flex; justify-content: center; }
@media (max-width: 860px) { .feel-layout { grid-template-columns: 1fr; } }

/* CLOSING CTA */
.closing { padding: clamp(4rem, 9vh, 7rem) 0 clamp(5rem, 11vh, 9rem); }
.closing-card { border-radius: 24px; padding: clamp(2.5rem, 6vw, 5.5rem); position: relative; overflow: hidden; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)), var(--panel); box-shadow: 0 40px 90px -50px rgba(0,0,0,0.9); }
.closing-card::after { content: ""; position: absolute; right: -10%; top: -40%; width: 55%; height: 180%; background: radial-gradient(closest-side, rgba(var(--violet-rgb),0.5), transparent 70%); filter: blur(10px); pointer-events: none; }
.closing-card::before { content: ""; position: absolute; left: -10%; bottom: -50%; width: 45%; height: 160%; background: radial-gradient(closest-side, rgba(156,47,78,0.4), transparent 70%); filter: blur(10px); pointer-events: none; }
.closing-card > * { position: relative; }
.closing-card h2 { font-size: clamp(2rem, 4.6vw, 3.8rem); max-width: 18ch; }
.closing-card p { margin-top: 1.1rem; color: var(--text-2); max-width: 44ch; }
.closing-input { margin-top: 2.2rem; display: flex; gap: 0.5rem; max-width: 600px; background: rgba(0,0,0,0.35); border: 1px solid var(--line-2); border-radius: 14px; padding: 0.5rem 0.5rem 0.5rem 1.3rem; align-items: center; transition: border-color 0.4s; }
.closing-input:focus-within { border-color: var(--violet-line); box-shadow: 0 0 30px -10px rgba(var(--violet-rgb),0.6); }
.closing-input input { flex: 1; background: transparent; border: 0; outline: 0; color: var(--text); font-size: 1.02rem; min-width: 0; }
.closing-input input::placeholder { color: var(--text-4); }
@media (max-width: 560px) { .closing-input { flex-direction: column; align-items: stretch; border-radius: 16px; padding: 0.9rem; } .closing-input .btn { justify-content: center; } }

/* ============================================================
   HOOK — "Blir hemsidan aldrig av?"
   ============================================================ */
.hook { padding: clamp(4.5rem, 11vh, 8.5rem) 0; }
.hook-card { max-width: 760px; position: relative; }
.hook-card::before { content: ""; position: absolute; left: -8%; top: -20%; width: 60%; height: 150%; background: radial-gradient(closest-side, rgba(var(--violet-rgb),0.2), transparent 70%); filter: blur(20px); pointer-events: none; z-index: -1; }
.hook h2 { font-size: clamp(2.5rem, 6.2vw, 5rem); max-width: 15ch; }
.hook .lede { margin: 1.6rem 0 0; max-width: 56ch; color: var(--text-2); font-size: clamp(1.05rem, 0.5vw + 1rem, 1.22rem); line-height: 1.55; }
.hook .lede p { margin-top: 1rem; }
.hook .lede .pivot { color: var(--text); font-weight: 600; }
.hook .nots { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: flex-start; margin-top: 2.1rem; }
.hook .not { border: 1px solid var(--line-2); background: rgba(255,255,255,0.025); border-radius: 100px; padding: 0.55em 1.1em; font-size: 0.92rem; color: var(--text-2); font-weight: 500; }
.hook-cta { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.price-teaser { font-size: 0.92rem; color: var(--text-3); }
.price-teaser .off { color: var(--violet); font-weight: 600; }

/* ============================================================
   PRICING — "Vad kostar det ungefär?"
   ============================================================ */
.pricing { padding: clamp(4.5rem, 10vh, 8rem) 0; }
.offer-badge { display: inline-flex; align-items: center; gap: 0.6em; margin-bottom: 1.5rem; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: #ffe0d0; background: linear-gradient(90deg, rgba(156,47,78,0.4), rgba(139,92,255,0.28)); border: 1px solid var(--violet-line); border-radius: 100px; padding: 0.5em 1.05em; }
.offer-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.price-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem 1.8rem; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: border-color 0.5s, transform 0.5s, box-shadow 0.5s; }
.price-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, var(--violet-line), transparent); opacity: 0; transition: opacity 0.5s; }
.price-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 30px 60px -40px rgba(0,0,0,0.9), 0 0 50px -30px rgba(var(--violet-rgb),0.45); }
.price-card:hover::before { opacity: 1; }
.price-card .pc-name { font-weight: 700; font-size: 1.18rem; letter-spacing: -0.01em; }
.price-card .pc-price { margin-top: 0.9rem; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text); display: flex; align-items: baseline; gap: 0.4em; flex-wrap: wrap; }
.price-card .pc-price .from { font-family: var(--mono); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-4); }
.price-card .pc-desc { margin-top: 1rem; color: var(--text-3); font-size: 0.96rem; line-height: 1.5; }
.price-addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.addon { background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: 12px; padding: 1.15rem 1.25rem; }
.addon .a-name { font-weight: 600; font-size: 1rem; }
.addon .a-desc { color: var(--text-3); font-size: 0.9rem; margin-top: 0.3rem; line-height: 1.45; }
.addon .a-price { color: var(--violet); font-weight: 600; font-size: 0.92rem; margin-top: 0.45rem; }
.price-note { margin-top: 1.8rem; color: var(--text-3); max-width: 62ch; font-size: 1rem; line-height: 1.55; }
@media (max-width: 820px) { .price-grid { grid-template-columns: 1fr; } .price-addons { grid-template-columns: 1fr; } }

/* FOOTER */
.foot { padding: 3rem 0 4rem; border-top: 1px solid var(--line); }
.foot-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.foot small { color: var(--text-4); font-size: 0.86rem; }
.foot .cols { display: flex; gap: 3rem; flex-wrap: wrap; }
.foot .cols .label { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-4); margin-bottom: 0.8rem; }
.foot .cols a { display: block; color: var(--text-3); font-size: 0.95rem; padding: 0.18rem 0; transition: color 0.3s; }
.foot .cols a:hover { color: var(--violet); }

/* ============================================================
   STUDIO — discovery flow (skapa.html), dark product
   ============================================================ */
.studio { min-height: 100svh; display: grid; grid-template-rows: auto auto 1fr; }
.studio-top { display: flex; align-items: center; justify-content: space-between; padding: 1rem var(--gutter); }
.studio-top .back-home { display: inline-flex; align-items: center; gap: 0.5em; font-size: 0.92rem; color: var(--text-3); transition: color 0.3s; }
.studio-top .back-home:hover { color: var(--text); }
.studio-top .step-count { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--text-4); }
.studio-progress { height: 2px; background: rgba(255,255,255,0.07); position: relative; }
.studio-progress > i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, #6a37e6, #9a70ff); box-shadow: 0 0 14px rgba(var(--violet-rgb),0.8); transition: width 0.7s var(--ease); }
.studio-main { display: grid; grid-template-columns: 280px 1fr; min-height: 0; }
.studio-aside { border-right: 1px solid var(--line); padding: clamp(2.4rem, 6vh, 4.5rem) clamp(1.8rem, 3vw, 3rem); }
.studio-aside .kicker { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-4); margin-bottom: 1.8rem; }
.studio-aside ol { list-style: none; display: flex; flex-direction: column; gap: 1.4rem; padding: 0; }
.studio-aside li { display: flex; gap: 0.9rem; align-items: baseline; color: var(--text-4); transition: color 0.45s var(--ease); }
.studio-aside li .num { font-family: var(--mono); font-size: 0.8rem; flex: none; width: 1.8em; }
.studio-aside li .t { font-size: 1rem; line-height: 1.25; font-weight: 500; }
.studio-aside li.active { color: var(--text); }
.studio-aside li.done { color: var(--text-3); }
.studio-aside li.active .num, .studio-aside li.done .num { color: var(--violet); }

.studio-stage { display: flex; align-items: center; justify-content: flex-start; padding: clamp(2.2rem, 7vh, 5.5rem) clamp(1.8rem, 6vw, 5rem); }
.panel-wrap { width: 100%; max-width: 700px; }
.panel { animation: panelIn 0.65s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.panel .chapter { margin-bottom: 1rem; }
.panel h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); max-width: 20ch; line-height: 1.04; }
.panel .help { color: var(--text-3); max-width: 48ch; margin: 1rem 0 2rem; font-size: 1.05rem; }

.q-text { width: 100%; border: 0; background: rgba(255,255,255,0.03); outline: 0; resize: none; font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.4; color: var(--text); border: 1px solid var(--line-2); border-radius: 14px; padding: 1rem 1.1rem; font-weight: 450; transition: border-color 0.4s, box-shadow 0.4s; }
.q-text:focus { border-color: var(--violet-line); box-shadow: 0 0 30px -10px rgba(var(--violet-rgb),0.6); }
.q-text::placeholder { color: var(--text-4); }

.choices { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.choice { border: 1px solid var(--line-2); background: rgba(255,255,255,0.02); color: var(--text-2); border-radius: 11px; padding: 0.7em 1.15em; font-size: 1rem; font-weight: 500; cursor: pointer; transition: all 0.3s var(--ease); display: inline-flex; align-items: center; gap: 0.5em; }
.choice:hover { border-color: var(--line-3); color: var(--text); transform: translateY(-1px); }
.choice.sel { background: var(--violet-soft); border-color: var(--violet-line); color: #e3d9ff; box-shadow: 0 0 22px -8px rgba(var(--violet-rgb),0.7); }
.choice .tick { width: 0; overflow: hidden; opacity: 0; transition: width 0.3s var(--ease), opacity 0.3s; }
.choice.sel .tick { width: 1em; opacity: 1; }

.fields { display: flex; flex-direction: column; gap: 1.4rem; max-width: 480px; }
.field label { display: block; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-4); margin-bottom: 0.5rem; }
.field input { width: 100%; border: 0; border: 1px solid var(--line-2); background: rgba(255,255,255,0.03); border-radius: 11px; padding: 0.8rem 1rem; font-size: 1.1rem; outline: 0; transition: border-color 0.4s, box-shadow 0.4s; }
.field input:focus { border-color: var(--violet-line); box-shadow: 0 0 24px -10px rgba(var(--violet-rgb),0.6); }
.field input::placeholder { color: var(--text-4); }

.panel-nav { display: flex; align-items: center; gap: 1.3rem; margin-top: 2.4rem; }
.panel-nav .back { background: none; border: 0; color: var(--text-3); cursor: pointer; font-size: 0.96rem; padding: 0.4rem 0; transition: color 0.3s; }
.panel-nav .back:hover { color: var(--text); }
.panel-nav .spacer { flex: 1; }
.hintline { font-size: 0.88rem; color: var(--bordeaux); margin-top: 1rem; min-height: 1.2em; }
.hintline.ok { color: var(--text-4); }

.done-screen .big { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 780; line-height: 1.02; letter-spacing: -0.035em; max-width: 14ch; }
.done-screen .recap-label { margin: 2rem 0 0.9rem; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-4); }
.recap { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.recap .v { display: inline-flex; align-items: center; background: var(--violet-soft); border: 1px solid var(--violet-line); border-radius: 10px; padding: 0.45em 0.95em; font-size: 0.95rem; font-weight: 500; color: #e3d9ff; }
.recap .v b { color: var(--violet); font-weight: 600; margin-right: 0.55em; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; }
.done-screen .what-next { margin-top: 2rem; color: var(--text-2); max-width: 46ch; }

@media (max-width: 900px) { .studio-main { grid-template-columns: 1fr; } .studio-aside { display: none; } }
