/* Optiqon — Variant B. Design thesis: "En tråd genom bruset" (a thread through the noise).
   Mobile-first: unqualified rules are the purpose-built mobile composition.
   The @media (min-width:1000px) block at the end restores the desktop asymmetric-grid
   thesis (thread rail, 7/5 / 2/1 / 4/8 / 1/2 / 5/7 / 6/5 ratios). */

@font-face {
  font-family: 'Newsreader';
  src: url('/assets/fonts/newsreader-latin-normal.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('/assets/fonts/newsreader-latin-italic.woff2') format('woff2');
  font-weight: 300 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Familjen Grotesk';
  src: url('/assets/fonts/familjen-grotesk-latin-normal.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Familjen Grotesk';
  src: url('/assets/fonts/familjen-grotesk-latin-italic.woff2') format('woff2');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrains-mono-latin-normal.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #F1F3F0;
  --band: #E9ECE8;
  --ink: #15201C;
  --ink-soft: #3C4642;
  --green: #59A687;
  --green-text: #2C6E52;
  --noise: #6F7A74;
  --hairline: rgba(21, 32, 28, .1);
  --hairline-soft: rgba(21, 32, 28, .14);
  --dark-text: #F1F3F0;
  --dark-text-soft: #D6DDD8;
  --dark-text-mute: #B6C1BA;
  --dark-accent: #8FB9A6;
  --dark-accent-bright: #8FD0B4;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Familjen Grotesk', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Consolas, monospace;
  --gutter: clamp(20px, 6vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 68px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-text); }
a:hover { color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
p { margin: 0; }
[hidden] { display: none !important; }

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 2px;
  text-decoration: none;
  z-index: 100;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--gutter);
  background: rgba(241, 243, 240, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}
.header__logo img { height: 23px; width: auto; }
.header__nav { display: none; }
.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 2px;
  min-height: 44px;
  box-sizing: border-box;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .22s ease, transform .22s var(--ease), visibility 0s linear .22s, background-color .2s ease;
}
.header__cta.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}
.header__cta:hover { background: var(--green-text); color: var(--paper); }
.header__cta-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
@media (prefers-reduced-motion: reduce) {
  .header__cta { transform: none; transition: none; }
}

/* ---------- thread rail (desktop only; hidden by default) ---------- */
.rail { display: none; }

main { padding: 0 var(--gutter); }

section { border-bottom: 1px solid var(--hairline); padding: clamp(40px, 10vw, 64px) 0; }
section:last-of-type { border-bottom: none; }

.kicker {
  margin: 0 0 20px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--noise);
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(24px, 8vw, 64px); }
.hero__field {
  position: relative;
  height: 190px;
  overflow: hidden;
  margin-bottom: 12px;
}
.hero__field[aria-hidden="true"] {}
.hero__thread {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(var(--green), rgba(89, 166, 135, .1));
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1.6s var(--ease) .3s;
}
.is-settled .hero__thread { transform: scaleY(1); }
@media (prefers-reduced-motion: reduce) { .hero__thread { transition: none; transform: scaleY(1); } }

.hero__frag {
  position: absolute;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .02em;
  color: var(--noise);
  background: var(--band);
  border: 1px solid var(--hairline-soft);
  padding: 4px 8px;
  border-radius: 2px;
  white-space: nowrap;
  opacity: 0;
  transition: transform 1.3s var(--ease), opacity .8s ease;
}
.is-settled .hero__frag { opacity: 1; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .hero__frag { opacity: 1; transform: none !important; transition: none; }
}
.hero__frag--1 { left: 6%; top: 10%; }
.hero__frag--2 { left: 46%; top: 34%; }
.hero__frag--3 { left: 18%; top: 58%; }
.hero__frag--4 { left: 58%; top: 6%; }
.hero__frag--5 { left: 8%; top: 80%; }
.hero__frag--6 { left: 62%; top: 70%; }

.hero__pointer {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--noise);
}
.hero__pointer a { text-decoration: none; }

.hero__copy {
  margin-top: clamp(20px, 6vw, 32px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .9s ease, transform 1.1s var(--ease);
}
.is-headline .hero__copy { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero__copy { opacity: 1; transform: none; transition: none; }
}

.h1, h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 11vw, 64px);
  line-height: .98;
  letter-spacing: -.025em;
  max-width: 14ch;
}
h1 em, .h1 em, h1 > span, .h1 > span { font-style: normal; color: var(--green-text); }

.hero__lead {
  margin: clamp(18px, 5vw, 24px) 0 0;
  font-size: clamp(17px, 4.4vw, 19px);
  line-height: 1.45;
  max-width: 34ch;
  color: var(--ink-soft);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: clamp(20px, 6vw, 28px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 22px;
  border-radius: 2px;
  min-height: 48px;
  box-sizing: border-box;
  border: 0;
  cursor: pointer;
}
.btn:hover { background: var(--green-text); color: var(--paper); }
.btn--on-dark { background: var(--green); color: var(--ink); }
.btn--on-dark:hover { background: var(--dark-accent-bright); color: var(--ink); }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  border-bottom: 1px solid var(--green);
}
.text-link:hover { color: var(--green-text); }

.person-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(22px, 6vw, 32px);
}
.person-chip img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--green);
  flex: none;
}
.person-chip p { margin: 0; font-size: 15px; line-height: 1.35; }
.person-chip strong { font-weight: 600; }
.person-chip span { color: var(--ink-soft); }
.person-chip--dark img { box-shadow: 0 0 0 2px var(--ink), 0 0 0 3px var(--green); }
.person-chip--dark span { color: var(--dark-text-mute); }

/* ---------- friktion ---------- */
.friction-list { list-style: none; margin: 0; padding: 0; }
.friction-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px 12px;
  padding: 16px 0;
  border-top: 1px solid var(--hairline-soft);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .6s ease, transform .7s var(--ease);
}
.friction-item.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .friction-item { opacity: 1; transform: none; transition: none; }
}
.friction-item__n { font-family: var(--mono); font-size: 11px; color: var(--noise); padding-top: .5em; }
.friction-item__text {
  font-family: var(--serif);
  font-size: clamp(20px, 5.6vw, 24px);
  line-height: 1.2;
  letter-spacing: -.01em;
}

/* ---------- exempel index ---------- */
.exempel-intro { margin: 0 0 clamp(24px, 6vw, 32px); }
.exempel-intro h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 8vw, 40px);
  line-height: 1.05;
  letter-spacing: -.02em;
  max-width: 16ch;
}
.exempel-intro p { color: var(--ink-soft); max-width: 40ch; }
.exempel { padding-bottom: 0; border-bottom: none; }

.area-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.area-index li {
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline-soft);
  display: grid;
  gap: 8px;
}
.area-index__n { font-family: var(--mono); font-size: 12px; color: var(--noise); }
.area-index__kicker {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--noise);
  margin-bottom: 4px;
}
.area-index__name {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 5vw, 22px);
  line-height: 1.15;
  letter-spacing: -.01em;
}
.area-index__text { color: var(--ink-soft); font-size: 16px; line-height: 1.5; }
.area-index__link { color: var(--ink); text-decoration: none; font-size: 15px; border-bottom: 1px solid var(--green); }

/* ---------- example stages ---------- */
.example {
  --p: 1;
  --graphic-sticky-top: 81px;
  border-top: 1px solid var(--hairline);
  padding: 0 0 56px;
}
.example-layout { display: contents; }
.example__header { padding: 28px 0 18px; }
.example-mobile-stage { position: relative; }
.example-mobile-sticky { display: flex; flex-direction: column; gap: 16px; }
.has-scroll-graphics .example-mobile-sticky { position: sticky; top: var(--graphic-sticky-top); }
.example__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 16px; }
.example__eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--noise); }
.example__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  border: 1px solid var(--hairline-soft);
  padding: 4px 9px;
  border-radius: 2px;
}
.example__status-dot { width: 7px; height: 7px; border-radius: 50%; }
.example h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 7vw, 32px);
  line-height: 1.08;
  letter-spacing: -.02em;
}
.example__sub { margin: 12px 0 0; color: var(--ink-soft); font-size: 16px; max-width: 32ch; }

.stage {
  position: relative;
  margin-top: 0;
  min-height: 280px;
  border: 1px solid var(--hairline-soft);
  background: var(--band);
  padding: 16px 16px 34px;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.example-graphic--information { min-height: clamp(349px, calc(637px - 80vw), 381px); }
.example-graphic--conversation { min-height: clamp(381px, calc(669px - 80vw), 413px); }
.example-graphic--energy { min-height: clamp(386px, calc(674px - 80vw), 418px); }
.graphic-flow {
  display: grid;
  gap: 9px;
  width: 100%;
  max-width: 620px;
}
.graphic-row {
  display: grid;
  grid-template-columns: minmax(68px, 82px) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}
.graphic-row__label,
.graphic-category__label {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.25;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--noise);
}
.graphic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.graphic-tag {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 8px;
  border: 1px solid #c9d0ca;
  border-radius: 3px;
  background: var(--paper);
  color: #26302c;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.25;
  white-space: nowrap;
  transform-origin: center;
}
.graphic-tag--green { border-color: var(--green); color: var(--ink); }
.graphic-tag--dark { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.graphic-tag s { position: relative; color: var(--noise); text-decoration: none; }
.graphic-tag s::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  height: 1px;
  background: #26302c;
  transform: scaleX(1);
  transform-origin: left;
}
.graphic-row--retired {
  margin-top: 3px;
  padding-top: 10px;
  border-top: 1px solid var(--hairline-soft);
}
.graphic-row--retired .graphic-row__label { color: #8a938d; }
.graphic-categories {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 8px;
  margin-left: 2px;
  padding-left: 12px;
  border-left: 2px solid var(--green);
}
.graphic-category {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 33px;
}
.graphic-category__label { color: var(--green-text); }
.graphic-arrow,
.graphic-operator,
.graphic-loop {
  flex: 0 0 auto;
  color: var(--green-text);
  font-family: var(--mono);
  font-size: 13px;
}
.graphic-loop { font-size: 19px; line-height: 1; }
.graphic-tag--desktop { display: none; }
.graphic-tag--mobile { display: inline-flex; }
.graphic-row__desktop-prefix { display: none; }
.graphic-state-label {
  position: absolute;
  bottom: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.graphic-state-label--friction { left: 12px; color: var(--noise); opacity: 0; }
.graphic-state-label--better { right: 12px; color: var(--green-text); }

.has-scroll-graphics [data-frag] { will-change: transform, opacity; }
.has-scroll-graphics .graphic-row__label,
.has-scroll-graphics .graphic-category__label {
  opacity: clamp(0, calc((var(--p) - var(--label-start, .62)) * 4), 1);
}
.has-scroll-graphics .graphic-flow > :nth-child(2) { --label-start: .66; }
.has-scroll-graphics .graphic-flow > :nth-child(3) { --label-start: .70; }
.has-scroll-graphics .graphic-flow > :nth-child(4) { --label-start: .74; }
.has-scroll-graphics .graphic-flow > :nth-child(5) { --label-start: .82; }
.has-scroll-graphics .graphic-row--retired .graphic-row__label {
  opacity: clamp(0, calc((var(--p) - .82) * 5.56), 1);
}
.has-scroll-graphics .graphic-categories {
  border-color: rgb(46 107 82 / clamp(0, calc((var(--p) - .62) * 3.33), 1));
}
.has-scroll-graphics .graphic-row--retired {
  border-color: rgb(205 211 205 / clamp(0, calc((var(--p) - .72) * 3.57), 1));
}
.has-scroll-graphics .graphic-arrow,
.has-scroll-graphics .graphic-operator,
.has-scroll-graphics .graphic-loop {
  opacity: clamp(0, calc((var(--p) - .68) * 3.33), 1);
}
.has-scroll-graphics .graphic-tag s::after { transform: scaleX(clamp(0, calc((var(--p) - .84) * 7.15), 1)); }
.has-scroll-graphics .graphic-row--retired .graphic-tag:nth-child(2) s::after { transform: scaleX(clamp(0, calc((var(--p) - .87) * 7.7), 1)); }
.has-scroll-graphics .graphic-row--retired .graphic-tag:nth-child(3) s::after { transform: scaleX(clamp(0, calc((var(--p) - .90) * 10), 1)); }
.has-scroll-graphics .graphic-state-label--friction { opacity: clamp(0, calc(1 - var(--p) * 1.6), 1); }
.has-scroll-graphics .graphic-state-label--better { opacity: clamp(0, calc((var(--p) - .5) * 2), 1); }

@media (max-width: 360px) {
  .graphic-category { grid-template-columns: 52px minmax(0, 1fr); gap: 8px; }
  .graphic-category .graphic-tag { padding-inline: 6px; }
  .example-graphic--energy .graphic-row { grid-template-columns: 52px minmax(0, 1fr); gap: 8px; }
  .example-graphic--energy .graphic-tag { padding-inline: 6px; font-size: 10.5px; }
}

@media (min-width: 500px) and (max-width: 899px) {
  .example-graphic--information { min-height: 300px; }
  .example-graphic--conversation,
  .example-graphic--energy { min-height: 320px; }
}

@media (min-width: 900px) {
  .example { --graphic-sticky-top: 0px; padding-bottom: 0; }
  .example-scroll-stage { position: relative; }
  .example-scroll-sticky {
    position: sticky;
    top: 0;
    height: var(--example-viewport-height, 100svh);
    display: flex;
    align-items: center;
  }
  .example-layout {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
    column-gap: clamp(32px, 5vw, 72px);
    align-items: start;
  }
  .example__header { grid-column: 1; grid-row: 1; padding: 0; }
  .example-mobile-stage,
  .example-mobile-sticky { display: contents; }
  .example-graphic { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .example-teaser { grid-column: 1; grid-row: 2; }
  .example-disclosure-btn { grid-column: 1; grid-row: 3; justify-self: start; }
  .stage { min-height: 340px; padding: 20px 20px 38px; }
  .example-graphic--energy { min-height: 360px; }
  .graphic-row { grid-template-columns: 96px minmax(0, 1fr); }
  .graphic-tag { font-size: 12px; }
  .graphic-categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }
  .graphic-category {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 7px;
    padding: 10px;
    border-left: 2px solid var(--green);
  }
  .graphic-tag--desktop { display: inline-flex; }
  .graphic-tag--mobile { display: none; }
  .graphic-row__desktop-prefix { display: inline; }
}

.example-teaser {
  display: grid;
  gap: 16px;
  margin-top: 0;
  padding-top: 18px;
  border-top: 1px solid var(--hairline-soft);
}
.example-disclosure-btn { margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  .example-scroll-stage,
  .example-mobile-stage { height: auto !important; }
  .example-scroll-sticky,
  .example-mobile-sticky { position: static; height: auto; }
  .has-scroll-graphics [data-frag] { will-change: auto; }
}
.example-teaser > div { display: grid; gap: 6px; }
.example-teaser__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--noise);
}
.example-teaser__label--better { color: var(--green-text); }
.example-teaser p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }

.disclosure-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  padding: 8px 0;
  margin-top: 18px;
  min-height: 44px;
  cursor: pointer;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  border-bottom: 1px solid var(--green);
}
.disclosure-panel {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline-soft);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.disclosure-panel h4 {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--noise);
}
.disclosure-panel p { font-size: 16px; line-height: 1.55; margin: 0; }
.example-expanded { gap: 28px; }
.example-expanded .example-full-intro {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
  max-width: 58ch;
}
.example-expanded .example-conclusion { margin-top: 18px; font-weight: 600; }
.enables-list, .not-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.enables-list li, .not-list li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; font-size: 16px; line-height: 1.5; }
.enables-list span.tick, .not-list span.tick { width: 14px; height: 1px; background: var(--green); margin-top: .75em; }
.not-list span.tick { background: var(--noise); }
.not-list s { text-decoration-color: rgba(21, 32, 28, .35); color: var(--noise); }
.verify { text-decoration: underline dotted var(--noise); text-underline-offset: 4px; }

/* ---------- kunskapshantering-banner + "två till" ---------- */
.mid-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-bottom: clamp(32px, 8vw, 44px);
}
.mid-banner p { font-family: var(--serif); font-size: clamp(22px, 6vw, 26px); line-height: 1.15; margin: 0; }

.more-grid { display: grid; gap: clamp(28px, 8vw, 40px); }
.more-card { border-top: 1px solid var(--ink); padding-top: 18px; }
.more-card__kicker {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--noise);
  margin-bottom: 8px;
}
.more-card h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(21px, 5.6vw, 24px);
  line-height: 1.1;
  letter-spacing: -.015em;
}
.more-card__label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.more-card__friction { margin: 0 0 12px; font-size: 16px; line-height: 1.55; color: var(--noise); }
.more-card__better {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.55;
  border-left: 2px solid var(--green);
  padding-left: 14px;
}
.more-card__better .more-card__label { color: var(--green-text); }
.more-card__foot { margin: 0 0 10px; font-size: 15px; color: var(--ink-soft); }

/* ---------- så börjar vi ---------- */
.steps h2 {
  margin: 0 0 clamp(24px, 8vw, 32px);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 8vw, 40px);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.steps-list { list-style: none; margin: 0; padding: 0; position: relative; }
.steps-list::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(var(--green), rgba(89, 166, 135, .15));
}
.steps-list li { display: grid; grid-template-columns: 24px 1fr; gap: 16px; padding: 0 0 28px; position: relative; }
.steps-list li:last-child { padding-bottom: 0; }
.step-marker {
  width: 22px;
  height: 22px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  position: relative;
  margin-top: 2px;
}
.step-marker::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.steps-list h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 400; font-size: clamp(21px, 5.6vw, 24px); line-height: 1.15; letter-spacing: -.01em; }
.steps-list p { font-size: 16px; line-height: 1.55; color: var(--ink-soft); max-width: 52ch; }
.steps-cta { margin-top: 8px; }

/* ---------- lars ---------- */
.lars__portrait {
  margin: 0 0 40px;
  position: relative;
  width: min(220px, 60vw);
  aspect-ratio: 1;
}
.lars__portrait-ring { position: absolute; inset: 0; border: 2px solid var(--ink); border-radius: 50%; }
.lars__portrait img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); border-radius: 50%; object-fit: cover; }
.lars__portrait-accent {
  position: absolute;
  right: -4%;
  bottom: -2%;
  width: 9%;
  height: 24%;
  background: var(--green);
  border-radius: 99px;
  transform: rotate(-45deg);
  transform-origin: top center;
}
.lars__portrait figcaption {
  position: absolute;
  left: 0;
  bottom: -28px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--noise);
  white-space: nowrap;
}
.lars h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 8vw, 40px);
  line-height: 1.05;
  letter-spacing: -.02em;
  max-width: 18ch;
}
.lars__lead { margin: clamp(18px, 5vw, 24px) 0 0; font-size: clamp(17px, 4.4vw, 19px); line-height: 1.45; max-width: 40ch; }
.lars__body { margin: 16px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-soft); max-width: 48ch; }
.lars-more { display: grid; gap: 24px; }
.lars-more__section { display: grid; gap: 10px; }
.lars-more__section + .lars-more__section { padding-top: 24px; border-top: 1px solid var(--hairline-soft); }
.lars-more h3 {
  margin: 0;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--noise);
}

.chain-list { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.chain-list li { display: flex; align-items: center; gap: 10px; }
.chain-list span.step { font-family: var(--serif); font-size: 19px; }
.chain-list span.arrow { display: none; }
.chain-arrow-glyph { color: var(--green); font-family: var(--mono); font-size: 13px; }

/* ---------- kontakt (dark band) ---------- */
.kontakt {
  background: var(--ink);
  color: var(--dark-text);
  padding: clamp(48px, 12vw, 64px) var(--gutter) clamp(32px, 8vw, 48px);
  margin-top: clamp(24px, 6vw, 32px);
  border-bottom: none;
}
.kontakt .kicker { color: var(--dark-accent); }
.kontakt h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 10vw, 56px);
  line-height: .98;
  letter-spacing: -.025em;
  max-width: 12ch;
}
.kontakt h2 em { font-style: italic; color: var(--dark-accent-bright); }
.kontakt__lead { margin: clamp(18px, 5vw, 24px) 0 0; font-size: clamp(17px, 4.4vw, 19px); line-height: 1.45; color: var(--dark-text-soft); max-width: 36ch; }
.kontakt__lead .verify { text-decoration-color: var(--dark-accent); }
.kontakt__sub { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--dark-text-mute); max-width: 44ch; }

.contact-rows { margin-top: clamp(22px, 6vw, 32px); display: grid; gap: 14px; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(241, 243, 240, .16);
  color: var(--dark-text);
  text-decoration: none;
  font-size: 16px;
  min-height: 44px;
}
.contact-row.btn--on-dark { width: 100%; }
.contact-row__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dark-accent);
  flex: none;
  width: 70px;
}

.kontakt__meta { margin-top: clamp(32px, 8vw, 44px); display: grid; gap: clamp(28px, 8vw, 36px); }
.kontakt__meta h3 {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dark-accent);
}
.how-list, .bring-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.how-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 16px; line-height: 1.5; color: var(--dark-text-soft); }
.how-list span.n { font-family: var(--mono); font-size: 12px; color: var(--dark-accent); }
.bring-list li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; font-size: 16px; line-height: 1.5; color: var(--dark-text-soft); }
.bring-list span.tick { width: 14px; height: 1px; background: var(--green); margin-top: .75em; }

.faq { border-top: 1px solid rgba(241, 243, 240, .16); margin-top: clamp(28px, 8vw, 36px); }
.faq details { border-bottom: 1px solid rgba(241, 243, 240, .16); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  min-height: 44px;
  box-sizing: border-box;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.25;
  color: var(--dark-text);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { font-family: var(--mono); font-size: 14px; color: var(--dark-accent); }
.faq details[open] summary .plus { transform: rotate(45deg); display: inline-block; }
.faq p { margin: 0; padding: 0 0 18px; font-size: 16px; line-height: 1.55; color: var(--dark-text-soft); max-width: 56ch; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  margin-top: clamp(40px, 10vw, 64px);
  padding-top: 20px;
  border-top: 1px solid rgba(241, 243, 240, .16);
  font-size: 13px;
  color: var(--dark-text-mute);
}
.site-footer a { color: var(--dark-text); text-decoration: none; border-bottom: 1px solid rgba(241, 243, 240, .3); }
.site-footer__tagline { max-width: 34ch; }

/* =====================================================================
   DESKTOP RESTORATION — ≥1000px reinstates the thread-rail / asymmetric
   grid design thesis described in VARIANT_B_REVIEW.md.
   ===================================================================== */
@media (min-width: 1000px) {
  main { padding: 0 clamp(32px, 4cqw, 56px); }
  .header { padding: clamp(12px, 1.6vw, 20px) clamp(32px, 4cqw, 56px); }
  .header__nav { display: flex; gap: 28px; font-size: 15px; }
  .header__nav a { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; }
  .header__nav a:hover { border-bottom-color: var(--green); }

  .shell { display: grid; grid-template-columns: 72px minmax(0, 1fr); }
  .rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 26px 0 32px;
    border-right: 1px solid var(--hairline);
  }
  .rail__top { display: block; width: 22px; height: 22px; position: relative; margin-bottom: 34px; }
  .rail__top-ring { position: absolute; inset: 0 4px 4px 0; border: 2px solid var(--ink); border-radius: 50%; }
  .rail__top-mark { position: absolute; width: 3px; height: 9px; background: var(--green); border-radius: 2px; right: 0; bottom: -1px; transform: rotate(-45deg); }
  .rail__track { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-between; align-items: center; width: 100%; }
  .rail__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--hairline-soft); }
  .rail__fill { position: absolute; left: 50%; top: 0; width: 1px; background: var(--green); transition: height .6s var(--ease); }
  .rail__item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--noise);
    padding: 6px 0;
    min-width: 44px;
    transition: color .3s;
  }
  .rail__item.is-active { color: var(--ink); }
  .rail__dot { width: 8px; height: 8px; border-radius: 50%; box-sizing: border-box; background: var(--paper); border: 1.5px solid var(--hairline-soft); transition: all .35s var(--ease); }
  .rail__item.is-active .rail__dot { width: 16px; height: 16px; background: var(--paper); border: 2px solid var(--ink); }
  .rail__item.is-passed .rail__dot { border-color: var(--green); background: var(--green); }
  .rail__label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  section { padding: clamp(56px, 7vw, 120px) 0; }

  .hero { padding-top: clamp(40px, 5vw, 88px); }
  .hero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
  .hero__field-col { order: 2; }
  .hero__copy-col { order: 1; }
  .hero__field { height: clamp(260px, 26vw, 380px); margin-bottom: 0; }
  .hero__copy { margin-top: 0; }
  .hero__lead { font-size: clamp(18px, 1.5vw, 21px); }
  .h1, h1 { font-size: clamp(56px, 6.6vw, 100px); max-width: 12ch; }

  .two-one { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
  .one-two { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
  .example-layout { grid-template-columns: 7fr 5fr; }
  .example-expanded { grid-column: 1 / -1; grid-row: 4; }
  .lars-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
  .kontakt-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: start; }

  .friction-item { grid-template-columns: 32px 1fr; gap: 12px; }
  .friction-item__text { font-size: clamp(22px, 2.6vw, 36px); }
  .exempel-intro { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: end; margin-bottom: 0; }
  .exempel-intro h2 { font-size: clamp(32px, 4.2vw, 60px); }

  .area-index li {
    grid-template-columns: 56px 1.1fr 1.6fr auto;
    gap: 24px;
    align-items: start;
    padding: 22px 0;
  }
  .area-index__name { font-size: clamp(20px, 1.9vw, 26px); }

  .example__eyebrow { font-size: 11.5px; }
  .example h3 { font-size: clamp(28px, 3.2vw, 44px); }
  .example__sub { font-size: 17px; }

  .example-teaser { grid-template-columns: max-content minmax(0, 1fr); gap: 12px 18px; }
  .example-teaser > div { display: contents; }
  .example-expanded { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px clamp(40px, 7vw, 120px); }
  .example-expanded .example-full-intro { grid-column: 1 / -1; }

  .mid-banner { margin-bottom: 0; }
  .more-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(28px, 4vw, 64px); }

  .steps h2 { position: sticky; top: 96px; align-self: start; }
  .steps-list::before { left: 11px; top: 12px; bottom: 12px; }
  .steps-list li { gap: clamp(16px, 2.5vw, 36px); padding: 0 0 clamp(28px, 3.5vw, 52px); }
  .steps-list h3 { font-size: clamp(24px, 2.6vw, 34px); }

  .lars__portrait { width: min(100%, clamp(220px, 28vw, 400px)); margin-bottom: 0; }
  .lars h2 { font-size: clamp(32px, 4.2vw, 60px); }
  .lars__lead { font-size: clamp(18px, 1.5vw, 21px); }
  .chain-list { flex-direction: row; flex-wrap: wrap; gap: 0; align-items: center; }
  .chain-list span.arrow { display: inline-block; width: 22px; height: 1px; background: var(--green); margin: 0 10px; }

  .contact-rows { flex-direction: row; display: flex; gap: 28px; }
  .contact-row { border-top: 0; padding: 0; }
}
