/* Growth & Form — designsystem v4 (svartvitt)
   Bara svart, vitt och gråskala. Alla foton har samma svartvita gradering.
   Typsnitt: Cormorant (rubriker) + Familjen Grotesk (brödtext), båda självhostade.
   Mörka zoner byter färgtokens automatiskt, så text, linjer och knappar alltid får rätt kontrast. */

@font-face {
  font-family: "Cormorant";
  src: url("../fonts/cormorant-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant";
  src: url("../fonts/cormorant-latin-wght-italic.woff2") format("woff2-variations");
  font-weight: 300 700; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 400 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Familjen Grotesk";
  src: url("../fonts/familjen-grotesk-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Familjen Grotesk";
  src: url("../fonts/familjen-grotesk-latin-wght-italic.woff2") format("woff2-variations");
  font-weight: 400 700; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Palett: svart, vitt och gråskala */
  --black: #0A0A0A;
  --night: #111111;
  --night-2: #1A1A1A;
  --night-3: #2E2E2E;
  --white: #FFFFFF;
  --mist: #F2F2F2;
  --ink: #0A0A0A;
  --text: #262626;           /* 15:1 på vitt */
  --muted: #5C5C5C;          /* 6.7:1 på vitt, 6:1 på mist */
  --line: #E2E2E2;
  --line-strong: #BDBDBD;
  --hi: #FFFFFF;             /* betoning på mörk botten */
  --hi-2: #D4D4D4;
  --hairline: rgba(255, 255, 255, .16);
  --on-dark: #FFFFFF;
  --on-dark-2: #D6D6D6;
  --on-dark-muted: #A3A3A3;  /* 7.5:1 mot #111 */
  --error: #B42318;
  --error-soft: #FDF1EF;

  /* Zon-tokens (ljus standard) */
  --fg: var(--ink);
  --fg-2: var(--text);
  --fg-muted: var(--muted);
  --rule: var(--line);
  --rule-strong: var(--line-strong);
  --accent: var(--ink);
  --btn-bg: var(--black);
  --btn-fg: var(--white);
  --btn-bg-hover: var(--night-3);
  --focus: var(--ink);

  /* Typografi */
  --serif: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Familjen Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-xs: .8125rem;

  /* Rytm */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
  --radius: 4px;
  --radius-sm: 2px;
  --container: 1280px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  --header-h: 110px;
  --logo: "Playfair Display", Georgia, "Times New Roman", serif;
  --p: 0;                    /* headerns läge: 0 = stort ordmärke i mitten, 1 = list högst upp (sätts av site.js) */
  --vh: 100vh;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --z-header: 40; --z-consent: 60;
}

/* Mörka zoner */
.dark, .site-footer, .hero, .page-hero, .section--ink, .section--night, .section--marble, .half--growth, .cta-band, .board {
  --fg: var(--on-dark);
  --fg-2: var(--on-dark-2);
  --fg-muted: var(--on-dark-muted);
  --rule: rgba(255, 255, 255, .12);
  --rule-strong: rgba(255, 255, 255, .28);
  --accent: var(--on-dark);
  --btn-bg: var(--white);
  --btn-fg: var(--black);
  --btn-bg-hover: var(--hi-2);
  --focus: var(--white);
  color: var(--fg-2);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { font-family: var(--sans); font-size: var(--fs-body); line-height: 1.65; color: var(--fg-2); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; font-variant-numeric: lining-nums; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--fg); }
strong { font-weight: 600; color: var(--fg); }
h1, h2, h3, h4 { font-variant-numeric: lining-nums; font-family: var(--serif); color: var(--fg); font-weight: 500; line-height: 1.02; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 6.4vw, 6rem); letter-spacing: -.02em; line-height: .98; }
h2 { font-size: clamp(2.3rem, 4.6vw, 4rem); }
h3 { font-size: 1.6rem; font-weight: 600; line-height: 1.12; }
p { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
em { font-style: italic; }
[hidden] { display: none !important; }
mark.todo { background: transparent; color: inherit; padding: 0 4px; border: 1px dashed currentColor; font-weight: 600; font-family: var(--sans); }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.skip-link { position: absolute; left: var(--s-4); top: -100px; z-index: 100; padding: var(--s-3) var(--s-4); background: var(--hi); color: var(--black); font-weight: 600; }
.skip-link:focus { top: var(--s-4); }
main:focus { outline: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 900px; }

/* Kursiv serif-etikett i guld, används sparsamt */
.kicker { display: block; margin-bottom: var(--s-4); font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.35rem; line-height: 1.2; color: var(--fg-muted); }
.eyebrow { margin-bottom: var(--s-4); font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--accent); }

/* ---------- Knappar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 52px; padding: 0 1.75rem; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-family: var(--sans); font-weight: 600; font-size: .9375rem; letter-spacing: .02em; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap; touch-action: manipulation;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary:hover { background: var(--btn-bg-hover); color: var(--btn-fg); }
.btn--secondary, .btn--quiet, .btn--ghost-light { background: transparent; color: var(--fg); border-color: var(--rule-strong); }
.btn--secondary:hover, .btn--quiet:hover, .btn--ghost-light:hover { border-color: var(--accent); color: var(--fg); }
.btn--light { background: var(--on-dark); color: var(--black); }
.btn--light:hover { background: var(--hi-2); color: var(--black); }
.btn--sm { min-height: 42px; padding: 0 1.2rem; font-size: .875rem; }
.btn--lg { min-height: 58px; padding: 0 2.1rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.link-arrow, .half-link { align-self: flex-start; display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 600; color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.link-arrow:hover, .half-link:hover { color: var(--accent); }
.link-arrow .icon { display: none; }
.link-button { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }

/* ---------- Header (samma som growthform.se) ----------
   Överst täcker ett vitt kort hela skärmen med ordmärket stort i mitten. När man scrollar krymper
   kortet till en 110 px hög list med ordmärket centrerat och länkarna under. --p går från 0 till 1. */
@supports (height: 100svh) { :root { --vh: 100svh; } }
.site-header { --q: calc(1 - var(--p)); --brand-start: clamp(44px, 7.5vw, 92px); --brand-end: 32px; --row-end: 82px;
  --row-top: calc(var(--row-end) + (var(--vh) / 2 + var(--brand-start) * .6 + 48px - var(--row-end)) * var(--q));
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-header); height: var(--header-h); pointer-events: none; color: var(--ink); }
.hdr-card { position: fixed; top: 0; left: 0; right: 0; height: calc(var(--header-h) + (var(--vh) - var(--header-h)) * var(--q));
  background: var(--white);
  border-radius: 0 0 calc(20px * var(--q)) calc(20px * var(--q)); box-shadow: 0 6px 32px rgba(0, 0, 0, .07); }
.hdr-spacer { height: var(--vh); }
.brand { position: fixed; left: 50%; top: calc(var(--brand-end) + (var(--vh) / 2 - var(--brand-end)) * var(--q)); transform: translate(-50%, -50%);
  font-family: var(--logo); font-weight: 600; font-size: calc(22px + (var(--brand-start) - 22px) * var(--q)); line-height: 1.2;
  color: var(--ink); text-decoration: none; white-space: nowrap; pointer-events: auto; }
.brand:hover { color: var(--ink); }
.hdr-row { position: fixed; left: 0; right: 0; top: var(--row-top); transform: translateY(-50%); display: flex; justify-content: center;
  padding: 0 16px; font-size: calc(14px + 6px * var(--q)); }
.site-nav ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 32px; max-width: 760px; }
.nav-link { position: relative; font-family: var(--sans); font-size: inherit; font-weight: 500; line-height: 1.3; color: var(--muted); text-decoration: none; white-space: nowrap; pointer-events: auto; transition: color .2s; }
.nav-link::after { content: ""; position: absolute; inset: -12px -6px; }
.nav-link:hover { color: var(--ink); }
.nav-link[aria-current="page"], .nav-link[data-active] { color: var(--ink); outline: 1px solid rgba(0, 0, 0, .4); outline-offset: 7px; }
.nav-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 7px; }
/* Mobil: alla länkar syns, på två centrerade rader när bredden inte räcker */
@media (max-width: 720px) {
  :root { --header-h: 126px; }
  .site-header { --brand-end: 28px; --row-end: 84px; --brand-start: clamp(40px, 11vw, 56px); }
  .site-nav ul { gap: 14px 22px; max-width: 380px; }
  .nav-link::after { inset: -7px -6px; }
}
/* Utan rörelse: listen direkt, inget helskärmskort */
@media (prefers-reduced-motion: reduce) {
  :root { --p: 1 !important; }
  .hdr-spacer { height: var(--header-h); }
}

/* ---------- Brödsmulor ---------- */
.breadcrumb { padding-top: var(--s-5); font-size: var(--fs-small); }
main:has(> .page-hero) > .breadcrumb { background: var(--night); padding-bottom: 0; --fg: var(--on-dark); --fg-muted: var(--on-dark-muted); --accent: var(--hi); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--s-2); color: var(--fg-muted); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: var(--s-2); opacity: .5; }
.breadcrumb a { color: var(--fg-muted); }
.breadcrumb a:hover { color: var(--fg); }
.breadcrumb [aria-current] { color: var(--fg); font-weight: 500; }

/* ---------- Sektioner ---------- */
.section { padding-block: clamp(5rem, 10vw, 9rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--mist, .section--paper { background: var(--mist); }
.section--ink, .section--night { background: var(--night); }
.section--ink a:not(.btn), .section--night a:not(.btn) { color: var(--fg); }
.section-head { max-width: 780px; margin-bottom: clamp(2.75rem, 5vw, 4.5rem); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-lead { margin-top: var(--s-5); max-width: 56ch; font-size: 1.1875rem; line-height: 1.6; color: var(--fg-muted); }
.head-split { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(1.5rem, 4vw, 5rem); align-items: end; margin-bottom: clamp(2.75rem, 5vw, 4.5rem); }
.head-split .section-lead { margin-top: 0; }
@media (max-width: 860px) { .head-split { grid-template-columns: 1fr; } }
.lead { max-width: 54ch; font-size: clamp(1.125rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--fg-muted); }

.grid { display: grid; gap: var(--s-7) var(--s-6); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.tag { display: inline-flex; align-items: center; gap: .55rem; width: fit-content; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.25rem; color: var(--accent); }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none; background: currentColor; }

/* ---------- Bilder ---------- */
.frame { position: relative; margin: 0; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--outline::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--hi); pointer-events: none; z-index: -1; }
.media-caption { margin-top: var(--s-3); font-size: var(--fs-xs); color: var(--fg-muted); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 6.5rem) clamp(3rem, 6vw, 5rem); background: radial-gradient(110% 90% at 85% 0%, var(--night-2) 0%, var(--night) 38%, var(--black) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.hero-title { font-size: clamp(3rem, 6.8vw, 6.4rem); max-width: 12ch; margin-bottom: var(--s-6); }
.hero .lead { margin-bottom: var(--s-7); }
.hero-media { position: relative; padding: 0 0 clamp(3rem, 6vw, 4.5rem) clamp(2rem, 5vw, 4rem); isolation: isolate; }
.hero-media .frame--tall { aspect-ratio: 3 / 4; }
.hero-media .frame--small { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); outline: 6px solid var(--black); }
.hero-facts { margin-top: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.hero-facts li { padding-top: var(--s-4); border-top: 1px solid var(--hairline); font-size: var(--fs-small); color: var(--fg-muted); }
.hero-facts strong { display: block; margin-bottom: .2rem; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--fg); }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } .hero-media { max-width: 520px; margin-right: 14px; } }
@media (max-width: 640px) { .hero-facts { grid-template-columns: 1fr; gap: var(--s-4); } .hero .actions .btn { flex: 1 1 100%; } .hero-media .frame--small { width: 42%; } }
/* äldre hero-delar */
.hero-top { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.hero-side { display: grid; gap: var(--s-6); }

/* ---------- Galleri: vilka vi bygger för ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.gallery figure { margin: 0; }
.gallery .g-img { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--mist); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { padding-top: var(--s-4); border-top: 1px solid var(--rule-strong); margin-top: var(--s-4); }
.gallery figcaption strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; line-height: 1.1; }
.gallery figcaption span { font-size: var(--fs-small); color: var(--fg-muted); }
.gallery figure:nth-child(even) { margin-top: clamp(2rem, 5vw, 4.5rem); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Ritbladet: demo + ritningshuvud ---------- */
.build-section { background: var(--night); }
.board { margin: 0; }
.board-frame { display: grid; grid-template-columns: minmax(0, 1fr) 280px; border: 1px solid var(--hairline); background: var(--night-2); }
.board-sheet {
  position: relative; min-width: 0; padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4.5vw, 4.5rem) clamp(2rem, 4vw, 3.25rem);
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 24px 24px; background-position: -1px -1px;
}
.crop { position: absolute; width: 18px; height: 18px; border-color: var(--hi); border-style: solid; border-width: 0; }
.crop--tl { top: 14px; left: 14px; border-top-width: 1px; border-left-width: 1px; }
.crop--tr { top: 14px; right: 14px; border-top-width: 1px; border-right-width: 1px; }
.crop--bl { bottom: 14px; left: 14px; border-bottom-width: 1px; border-left-width: 1px; }
.crop--br { bottom: 14px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }
.dim { position: relative; max-width: 820px; height: 14px; margin: 0 auto var(--s-4); color: var(--hi); }
.dim::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; border-top: 1px solid currentColor; }
.dim::after { content: ""; position: absolute; inset: 0; border-left: 1px solid currentColor; border-right: 1px solid currentColor; }
.dim span { position: absolute; left: 50%; top: -2px; transform: translateX(-50%); padding: 0 .7rem; background: var(--night-2); font-family: var(--serif); font-style: italic; font-size: 1rem; line-height: 18px; }
.board-sheet .bd { max-width: 820px; margin-inline: auto; }
.titleblock { display: flex; flex-direction: column; min-width: 0; border-left: 1px solid var(--hairline); background: var(--black); }
.titleblock dl { display: flex; flex: 1; flex-direction: column; }
.tb-row { padding: .9rem 1.1rem; border-bottom: 1px solid var(--rule); }
.tb-row dt { font-size: var(--fs-xs); color: var(--fg-muted); line-height: 1.3; }
.tb-row dd { margin: .25rem 0 0; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.2; color: var(--fg); }
.tb-row--stage { flex: none; }
.tb-row--status { flex: 1; }
.tb-row--status dd { color: var(--hi); font-style: italic; }
.board[data-current="live"] .tb-row--status dd { color: var(--hi); }
.tb-stamp { display: flex; align-items: center; gap: .6rem; padding: .9rem 1.1rem; font-family: var(--logo); font-size: 1.125rem; font-weight: 600; color: var(--fg); }
.build-stages { display: grid; gap: 6px; margin-top: .6rem; }
.build-stage {
  display: flex; align-items: center; gap: .65rem; width: 100%; min-height: 46px; padding: 0 .85rem; border: 1px solid var(--rule-strong); border-radius: var(--radius-sm);
  background: transparent; color: var(--fg); font-family: var(--sans); font-weight: 600; font-size: .9375rem; text-align: left; cursor: pointer; touch-action: manipulation;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.build-stage > span { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid currentColor; font-size: .75rem; font-variant-numeric: lining-nums tabular-nums; }
.build-stage:hover { border-color: var(--hi); }
.build-stage[aria-pressed="true"] { background: var(--hi); border-color: var(--hi); color: var(--black); }
.board figcaption { margin-top: var(--s-3); font-size: var(--fs-xs); color: var(--fg-muted); }
@media (max-width: 980px) {
  .board-frame { grid-template-columns: 1fr; }
  .titleblock { border-left: 0; border-top: 1px solid var(--hairline); }
  .titleblock dl { display: grid; grid-template-columns: 1fr 1fr; }
  .tb-row:nth-child(odd) { border-right: 1px solid var(--rule); }
  .tb-row--stage, .tb-row--status { grid-column: 1 / -1; border-right: 0 !important; order: -1; }
  .build-stages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .build-stage { justify-content: center; padding: 0 .5rem; }
  .tb-stamp { display: none; }
}
@media (max-width: 560px) { .dim, .crop { display: none; } .board-sheet { padding: 1rem .75rem 1.25rem; } .build-stage > span { display: none; } }

/* Kundens identitet (fiktiv) */
.client { --c-navy: #111111; --c-blue: #4A4A4A; --c-sky: #F1F1F1; --c-sun: #111111; --c-text: #161616; --c-muted: #5A5A5A; --bp: #9A9A9A; --bp-fill: rgba(0,0,0,.08); }
.bd { position: relative; border-radius: 10px; background: #fff; box-shadow: 0 40px 80px -24px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.08); container-type: inline-size; color: var(--c-text); }
.bd[data-autoplay] { visibility: hidden; animation: bd-reveal 0s 2.5s forwards; }
@keyframes bd-reveal { to { visibility: visible; } }
.bd-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #F4F4F4; border-bottom: 1px solid #E4E4E4; border-radius: 10px 10px 0 0; }
.bd-dots { display: flex; gap: 6px; flex: none; }
.bd-dots i { width: 10px; height: 10px; border-radius: 50%; background: #CFCFCF; }
.bd-dots i:nth-child(2) { background: #CFCFCF; }
.bd-dots i:nth-child(3) { background: #CFCFCF; }
.bd-url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px; background: #fff; border: 1px solid #E4E4E4; font-family: var(--sans); font-size: 12px; color: #5A5A5A; white-space: nowrap; overflow: hidden; }
.bd-url .icon { width: 12px; height: 12px; flex: none; color: #111; opacity: 0; transition: opacity .4s; }
.bd.is-live .bd-url .icon { opacity: 1; }
.bd-live { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 3px 9px; border-radius: 999px; background: #EFEFEF; color: #111; font-family: var(--sans); font-weight: 600; font-size: 11px; opacity: 0; transform: translateY(4px); transition: opacity .4s .2s, transform .4s .2s; }
.bd-live b { width: 7px; height: 7px; border-radius: 50%; background: #111; }
.bd.is-live .bd-live { opacity: 1; transform: none; }
.bd.is-live .bd-live b { animation: bd-pulse 1.8s ease-out infinite; }
@keyframes bd-pulse { 0% { box-shadow: 0 0 0 0 rgba(0,0,0,.35); } 70%, 100% { box-shadow: 0 0 0 7px rgba(0,0,0,0); } }
.bd-site {
  position: relative; display: grid; gap: 1.4em; padding: 1.4em 1.6em 1.8em; overflow: hidden; border-radius: 0 0 10px 10px;
  font-family: var(--sans); font-size: clamp(7px, 2.1cqw, 14px); line-height: 1.4; color: var(--c-text); background-color: #fff;
  background-image: linear-gradient(var(--grid, transparent) 1px, transparent 1px), linear-gradient(90deg, var(--grid, transparent) 1px, transparent 1px);
  background-size: 2em 2em; transition: background-color .6s;
}
.bd-nav { display: flex; align-items: center; gap: 1.2em; }
.bd-logo { position: relative; display: inline-flex; align-items: center; gap: .45em; font-weight: 700; font-size: 1.15em; letter-spacing: -.02em; color: var(--c-navy); }
.bd-logo::before { content: ""; width: 1.05em; height: 1.05em; border-radius: 50%; background: var(--c-sun); transition: background-color .45s; }
.bd-links { display: flex; gap: 1.1em; margin-left: auto; font-size: .85em; color: var(--c-muted); }
.bd-links i { font-style: normal; }
.bd-call { position: relative; padding: .5em .95em; border-radius: 999px; background: var(--c-navy); color: #fff; font-weight: 600; font-size: .85em; white-space: nowrap; }
.bd-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.4em; align-items: center; }
.bd-copy { display: grid; gap: .75em; justify-items: start; min-width: 0; }
.bd-kicker { font-size: .8em; font-weight: 600; color: var(--c-blue); }
.bd-h { position: relative; font-weight: 700; font-size: 2.2em; line-height: 1.02; letter-spacing: -.035em; color: var(--c-navy); }
.bd-p { font-size: .95em; line-height: 1.45; color: var(--c-muted); }
.bd-btns { display: flex; flex-wrap: wrap; gap: .6em; }
.bd-cta { position: relative; padding: .75em 1.2em; border-radius: 999px; background: var(--c-sun); color: #fff; font-weight: 700; font-size: .9em; }
.bd-ghost { padding: .75em 1.2em; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--c-navy); color: var(--c-navy); font-weight: 600; font-size: .9em; }
.bd-stars { font-size: .8em; letter-spacing: .1em; color: #111; }
.bd-stars em { margin-left: .5em; font-style: normal; letter-spacing: 0; color: var(--c-muted); }
.bd-img { position: relative; aspect-ratio: 4 / 4.4; max-width: 100%; overflow: hidden; border-radius: .9em; background: linear-gradient(160deg, var(--c-blue), var(--c-navy)); }
.bd-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: opacity .6s .15s; }
.bd-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); }
.bd-chip { position: absolute; left: .8em; bottom: .8em; padding: .4em .8em; border-radius: 999px; background: #fff; color: var(--c-navy); font-weight: 700; font-size: .78em; transition: opacity .5s .3s, transform .5s .3s; }
.bd-cards { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8em; }
.bd-card { display: grid; gap: .45em; padding: .9em; border-radius: .8em; background: var(--c-sky); color: var(--c-navy); font-weight: 600; font-size: .85em; }
.bd-card b { width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--c-navy); transition: background-color .45s; }
.bd-card:first-child b { background: var(--c-sun); }
.bd-x { transition: color .45s var(--ease), background-color .45s var(--ease), box-shadow .45s var(--ease), outline-color .45s; outline: 1.5px dashed transparent; outline-offset: 2px; }
.bd .d1 { transition-delay: .06s; } .bd .d2 { transition-delay: .12s; } .bd .d3 { transition-delay: .18s; }
.bd .d4 { transition-delay: .24s; } .bd .d5 { transition-delay: .3s; } .bd .d6 { transition-delay: .36s; }
.bd.is-sketch .bd-site { --grid: rgba(0,0,0,.06); background-color: #FAFAFA; }
.bd.is-sketch .bd-x { color: transparent !important; background: transparent !important; box-shadow: none !important; outline-color: var(--bp); border-radius: 4px; }
.bd.is-sketch .bd-h { background: repeating-linear-gradient(to bottom, var(--bp-fill) 0 .62em, transparent .62em 1.02em) !important; }
.bd.is-sketch .bd-p { background: repeating-linear-gradient(to bottom, var(--bp-fill) 0 .72em, transparent .72em 1.45em) !important; }
.bd.is-sketch .bd-img.bd-x { background: linear-gradient(to top right, transparent calc(50% - 1px), var(--bp) 50%, transparent calc(50% + 1px)), linear-gradient(to bottom right, transparent calc(50% - 1px), var(--bp) 50%, transparent calc(50% + 1px)) !important; }
.bd.is-sketch .bd-logo::before, .bd.is-sketch .bd-card b { background: transparent; box-shadow: inset 0 0 0 1.5px var(--bp); }
.bd.is-sketch .bd-photo { opacity: 0; }
.bd.is-sketch .bd-chip, .bd.is-design .bd-chip { opacity: 0; transform: translateY(.5em); }
.bd.is-sketch .bd-stars em { color: transparent; }
.bd.is-sketch [data-note]::after {
  content: attr(data-note); position: absolute; left: 0; top: -1.25em; right: auto; bottom: auto; z-index: 2; transform: none;
  padding: 2px 8px; border-radius: 2px; background: var(--black); color: var(--white); font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 12px; line-height: 1.3; white-space: nowrap;
  animation: bd-note .35s var(--ease) both;
}
.bd.is-sketch .bd-img[data-note]::after { left: .6em; top: .6em; }
@keyframes bd-note { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.bd.is-live .bd-img::after { animation: bd-shine 1.3s .25s ease-out 1 both; }
@keyframes bd-shine { to { transform: translateX(120%); } }
.bd.is-live .bd-cta::after { content: ""; position: absolute; inset: -3px; border-radius: 999px; border: 2px solid var(--c-sun); animation: bd-ring 2.2s 1.2s ease-out infinite both; }
@keyframes bd-ring { 0% { opacity: .9; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(1.15); } }
.bd-toast {
  position: absolute; left: -2rem; bottom: 1.75rem; z-index: 3; display: flex; align-items: center; gap: .75rem; max-width: calc(100% - 1rem);
  padding: .8rem 1.1rem .8rem .8rem; border-radius: 4px; background: var(--black); color: var(--on-dark); border: 1px solid var(--hairline); box-shadow: 0 24px 50px -10px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.bd.is-live .bd-toast { opacity: 1; transform: none; transition-delay: .9s; }
.bd-toast-ic { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--hi); color: var(--black); }
.bd-toast-ic .icon { width: 18px; height: 18px; }
.bd-toast b { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; line-height: 1.15; color: var(--on-dark); }
.bd-toast small { display: block; font-family: var(--sans); font-size: .8125rem; line-height: 1.3; color: var(--on-dark-muted); }
.bd-toast time { align-self: flex-start; margin-left: .25rem; font-family: var(--sans); font-size: .75rem; color: var(--on-dark-muted); white-space: nowrap; }
@media (max-width: 1100px) { .bd-toast { left: .75rem; bottom: .75rem; } }
@media (max-width: 560px) {
  .bd-bar { padding: 8px 10px; } .bd-live { display: none; }
  .bd-toast { gap: .5rem; padding: .5rem .7rem .5rem .5rem; } .bd-toast-ic { width: 30px; height: 30px; }
  .bd-toast b { font-size: .95rem; } .bd-toast small { font-size: .6875rem; } .bd-toast time { display: none; }
}

/* ---------- Intro ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.intro h2 { font-size: clamp(2.1rem, 3.6vw, 3.2rem); }
.intro-text p { font-size: clamp(1.125rem, 1.7vw, 1.3rem); line-height: 1.6; color: var(--fg-2); }
.intro-text p + p { margin-top: var(--s-4); }
.intro-text .intro-small { font-size: var(--fs-body); color: var(--fg-muted); }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

/* ---------- Två halvor: Form | Growth ---------- */
.halves { display: grid; grid-template-columns: 1fr 1fr; }
.half { position: relative; display: flex; overflow: hidden; padding-block: clamp(4.5rem, 9vw, 8rem); }
.half--form { padding-inline: var(--edge) clamp(1.5rem, 4vw, 4.5rem); background: var(--mist); }
.half--growth { padding-inline: clamp(1.5rem, 4vw, 4.5rem) var(--edge); background: var(--night); }
.half-inner { display: flex; flex-direction: column; gap: var(--s-5); width: 100%; max-width: 560px; }
.half--growth .half-inner { margin-left: auto; }
.half-word { margin-bottom: var(--s-2); font-family: var(--serif); font-size: clamp(5rem, 11vw, 10rem); font-weight: 400; font-style: italic; line-height: .8; letter-spacing: -.03em; color: var(--accent); }
.half h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 500; }
.half-lead { max-width: 42ch; font-size: 1.125rem; color: var(--fg-muted); }
.half-list { border-top: 1px solid var(--rule-strong); }
.half-list li { padding: .75rem 0; border-bottom: 1px solid var(--rule); }
.half-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; color: var(--fg); }
.half-price span { font-size: var(--fs-small); color: var(--fg-muted); }
.half-price strong { font-family: var(--serif); font-size: clamp(2.4rem, 3.8vw, 3.2rem); font-weight: 500; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.half-photo { margin: var(--s-5) 0 0; aspect-ratio: 4 / 3; overflow: hidden; }
.half-photo img { width: 100%; height: 100%; object-fit: cover; }
.half-art { margin-top: var(--s-5); width: 100%; height: auto; color: var(--accent); }
@media (max-width: 860px) { .halves { grid-template-columns: 1fr; } .half--form, .half--growth { padding-inline: var(--gutter); } .half--growth .half-inner { margin-left: 0; } }

/* ---------- Tidslinje ---------- */
.timeline, .steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6) var(--s-6); padding-top: 2.75rem; }
.timeline::before, .steps::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; border-top: 1px solid var(--fg); opacity: .6; }
.timeline li, .steps li { position: relative; padding-right: var(--s-3); }
.timeline { --section-bg: var(--mist); }
.section:not(.section--mist):not(.section--paper) .timeline { --section-bg: var(--white); }
.timeline li::before { content: ""; position: absolute; top: calc(-2.75rem + 1px); left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 6px var(--section-bg); }
.timeline li:nth-child(n+3)::before { background: var(--section-bg); border: 1.5px solid var(--ink); }
.tl-when, .steps .meta { display: block; margin-bottom: var(--s-2); font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--accent); }
.timeline h3, .steps h3 { margin-bottom: var(--s-2); font-size: clamp(1.6rem, 2.2vw, 1.9rem); font-weight: 600; }
.timeline p, .steps p { font-size: var(--fs-small); color: var(--fg-muted); }
.step-n { position: absolute; top: calc(-2.75rem - 3px); left: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--black); color: var(--hi); font-family: var(--serif); font-size: 1rem; font-weight: 600; box-shadow: 0 0 0 6px var(--white); }
.section--mist .step-n, .section--paper .step-n { box-shadow: 0 0 0 6px var(--mist); }
@media (max-width: 860px) {
  .timeline, .steps { grid-template-columns: 1fr; padding-top: 0; padding-left: 2.5rem; }
  .timeline::before, .steps::before { top: 0; bottom: 0; left: 9px; right: auto; border-top: 0; border-left: 1px solid var(--fg); }
  .timeline li::before { top: 4px; left: -2.5rem; }
  .step-n { top: 0; left: calc(-2.5rem - 4px); }
}

/* ---------- Principer / funktioner ---------- */
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7) clamp(1.5rem, 6vw, 6rem); }
.principles > div { padding-top: var(--s-5); border-top: 1px solid var(--fg); }
.principles h3 { margin-bottom: var(--s-3); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 500; }
.principles p { max-width: 46ch; color: var(--fg-muted); }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; gap: var(--s-6); } }
.feature { padding-top: var(--s-4); border-top: 1px solid var(--rule-strong); }
.feature h3 { margin-bottom: var(--s-2); font-size: 1.6rem; }
.feature h3 .icon { display: none; }
.feature p { font-size: var(--fs-small); color: var(--fg-muted); }
.feature--plain { border-top-color: var(--rule); }
.checklist { display: grid; gap: var(--s-3); }
.checklist li { display: grid; grid-template-columns: 18px 1fr; gap: var(--s-3); align-items: start; }
.checklist .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--accent); }

/* ---------- Siffror på marmor ---------- */
.section--marble { position: relative; isolation: isolate; background: var(--black); }
.section--marble .marble { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.section--marble::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 10, .7), rgba(10, 10, 10, .86)); }
.stat-sentence { max-width: 22ch; font-variant-numeric: lining-nums; font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 500; line-height: 1.04; color: var(--fg); }
.stat-sentence .num { font-style: italic; color: var(--hi); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.stat-foot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; margin-top: var(--s-7); }
.stat-foot p:first-child { max-width: 52ch; font-size: 1.1875rem; color: var(--fg-2); }
.source { font-size: var(--fs-small); color: var(--fg-muted); }
@media (max-width: 760px) { .stat-foot { grid-template-columns: 1fr; } }
.stats { margin-bottom: var(--s-5); }
.stat { margin: 0; padding: var(--s-6); background: var(--mist); }
.stat-n { margin-bottom: var(--s-3); font-family: var(--serif); font-size: clamp(3rem, 7vw, 4.5rem); line-height: 1; color: var(--ink); }

/* ---------- Kort svar (AEO/GEO) ---------- */
.answer { padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--rule-strong); border-top: 2px solid var(--accent); background: var(--white); }
.dark .answer, .page-hero .answer { background: transparent; }
.answer-q { margin-bottom: var(--s-3); font-size: 1.6rem; }
.answer-q::before { content: "Kort svar"; display: block; margin-bottom: .35rem; font-family: var(--serif); font-style: italic; font-size: 1.1rem; font-weight: 500; color: var(--accent); }
.answer p { font-size: 1.0625rem; }
.answer p + p { margin-top: var(--s-3); }

/* ---------- Äldre komponenter ---------- */
.problem-card { padding-top: var(--s-5); border-top: 1px solid var(--fg); }
.problem-card h3 { margin-bottom: var(--s-3); }
.problem-card p { color: var(--fg-muted); }
.problem-n { margin-bottom: var(--s-3); font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--error); }
.bridge { max-width: 28ch; margin-top: var(--s-7); font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; color: var(--fg); }

/* ---------- FAQ ---------- */
.faq-section { border-top: 1px solid var(--rule); }
.section--mist + .faq-section, .section--paper + .faq-section, .section--marble + .faq-section { border-top: 0; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-aside h2 { margin-bottom: var(--s-4); font-size: clamp(2.2rem, 3.8vw, 3.3rem); }
.faq-aside p { color: var(--fg-muted); }
.faq { border-top: 1px solid var(--fg); }
.faq-item { border-bottom: 1px solid var(--rule-strong); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 48px; padding: 1.4rem 0; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-size: clamp(1.4rem, 2vw, 1.65rem); font-weight: 600; }
.faq-icon { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); transition: transform .3s var(--ease), background-color .2s, color .2s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--accent); color: var(--white); }
.faq-item summary:hover .faq-q { color: var(--accent); }
.faq-a { padding: 0 var(--s-7) 1.6rem 0; color: var(--fg-2); }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-aside { position: static; } .faq-a { padding-right: 0; } }

/* ---------- CTA ---------- */
.cta-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.cta-grid h2 { margin-bottom: var(--s-5); font-size: clamp(2.8rem, 5.6vw, 5rem); }
.cta-grid > div > p { font-size: 1.1875rem; }
.contact-list { display: grid; gap: var(--s-2); margin-top: var(--s-6); }
.contact-list a, .contact-list span { display: inline-flex; align-items: center; gap: var(--s-3); min-height: 44px; font-weight: 500; text-decoration: none; color: var(--fg); }
.contact-list .icon { width: 20px; height: 20px; flex: none; color: var(--accent); }
.cta-photo { position: relative; isolation: isolate; margin: var(--s-7) 14px 14px 0; aspect-ratio: 4 / 3; }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 980px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-band { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s-6); padding: clamp(2.25rem, 5vw, 4rem); background: var(--night); border: 1px solid var(--hairline); }
.cta-band h2 { margin-bottom: var(--s-2); font-size: clamp(2rem, 3.4vw, 2.9rem); }
.cta-band p { max-width: 52ch; }

/* ---------- Formulär ---------- */
.lead-form { display: grid; gap: var(--s-5); padding: clamp(1.5rem, 3.5vw, 2.75rem); border-radius: var(--radius); background: var(--white); color: var(--text); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
  --fg: var(--ink); --fg-2: var(--text); --fg-muted: var(--muted); --rule: var(--line); --rule-strong: var(--line-strong); --accent: var(--ink); --btn-bg: var(--black); --btn-fg: var(--on-dark); --btn-bg-hover: var(--night-3); --focus: var(--ink); }
.lead-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: var(--s-2); align-content: start; min-width: 0; padding: 0; border: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label, .field legend { padding: 0; font-weight: 600; font-size: .9375rem; color: var(--ink); }
.field legend { margin-bottom: var(--s-2); }
.req, .opt { font-weight: 400; font-size: var(--fs-xs); color: var(--muted); }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,0,0,.14); }
.field [aria-invalid="true"] { border-color: var(--error); background: var(--error-soft); }
.field-hint { font-size: var(--fs-xs); color: var(--muted); }
.field-error { display: flex; gap: var(--s-2); font-size: var(--fs-small); font-weight: 500; color: var(--error); }
.field-error::before { content: "!"; display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--error); color: #fff; font-size: 12px; font-weight: 700; }
.choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); }
@media (max-width: 560px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: flex; }
.choice input { position: absolute; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span { flex: 1; display: grid; place-items: center; min-height: 48px; padding: 8px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; text-align: center; font-weight: 600; font-size: .9375rem; color: var(--ink); transition: border-color .2s, background-color .2s, color .2s; }
.choice input:hover + span { border-color: var(--ink); }
.choice input:checked + span { border-color: var(--black); background: var(--black); color: var(--white); }
.choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.field--choice.is-invalid .choice span { border-color: var(--error); }
.form-errors { padding: var(--s-4) var(--s-5); border: 1px solid var(--error); border-left-width: 3px; background: var(--error-soft); }
.form-errors:focus { outline: 2px solid var(--error); outline-offset: 2px; }
.form-errors h3 { margin-bottom: var(--s-2); font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; color: var(--error); }
.form-errors ul { padding-left: var(--s-5); list-style: disc; }
.form-errors a { color: var(--error); font-weight: 500; }
.form-status:empty { display: none; }
.form-status { padding: var(--s-3) var(--s-4); background: var(--error-soft); color: var(--error); font-size: var(--fs-small); font-weight: 500; }
.form-legal { font-size: var(--fs-xs); color: var(--muted); }
.lead-form a { color: var(--ink); }
.form-legal a { color: var(--muted); }

/* ---------- Undersidornas sidhuvud (mörkt) ---------- */
.page-hero { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6.5rem); background: var(--night); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.page-hero h1 { margin-block: var(--s-4) var(--s-5); font-size: clamp(2.7rem, 5.6vw, 5.2rem); }
.page-hero .lead { margin-bottom: var(--s-6); }
.page-hero--plain .page-hero-grid { grid-template-columns: 1fr; }
.page-hero--plain .page-hero-grid > * { max-width: 900px; }
.page-hero-media { position: relative; isolation: isolate; aspect-ratio: 4 / 3; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1; border: 1px solid var(--hi); }
@media (max-width: 980px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero-media { max-width: 620px; margin-right: 14px; } }

/* ---------- Priser ---------- */
.price-group + .price-group { margin-top: var(--s-8); }
.price-group-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: var(--s-4); margin-bottom: var(--s-6); }
.price-group-head h2 { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--s-4); font-size: clamp(2rem, 3.6vw, 3rem); }
.price-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
@media (max-width: 760px) { .price-cards { grid-template-columns: 1fr; } }
.price-card { position: relative; display: flex; flex-direction: column; gap: var(--s-4); padding: clamp(1.75rem, 3vw, 2.75rem); border: 1px solid var(--rule-strong); background: var(--white); }
.price-card--featured { background: var(--night); border-color: var(--hairline);
  --fg: var(--on-dark); --fg-2: var(--on-dark-2); --fg-muted: var(--on-dark-muted); --rule: rgba(255, 255, 255, .14); --rule-strong: rgba(255, 255, 255, .3); --accent: var(--hi); --btn-bg: var(--hi); --btn-fg: var(--black); --btn-bg-hover: var(--hi-2); color: var(--fg-2); }
.price-card .badge { position: absolute; top: -13px; left: clamp(1.75rem, 3vw, 2.75rem); padding: 3px 12px; background: var(--white); color: var(--black); border: 1px solid var(--black); font-family: var(--serif); font-style: italic; font-size: 1rem; font-weight: 600; }
.price-card h3 { font-size: 2rem; font-weight: 500; }
.price-card .for { font-size: var(--fs-small); color: var(--fg-muted); }
.price { line-height: 1; color: var(--fg); font-variant-numeric: lining-nums tabular-nums; }
.price .from { display: block; margin-bottom: var(--s-2); font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--fg-muted); }
.price .amount { font-family: var(--serif); font-size: clamp(2.9rem, 5vw, 3.8rem); font-weight: 500; }
.price .unit { font-size: 1rem; color: var(--fg-muted); }
.price-note { font-size: var(--fs-xs); color: var(--fg-muted); }
.price-card .checklist { padding-top: var(--s-4); border-top: 1px solid var(--rule); font-size: var(--fs-small); }
.price-card .btn { margin-top: auto; }
.addon { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-5); padding: var(--s-5); border: 1px dashed var(--line-strong); background: var(--white); }
.addon h3 { margin-bottom: var(--s-1); font-size: 1.5rem; }
.addon p { font-size: var(--fs-small); color: var(--muted); }
.addon .price .amount { font-size: 2.2rem; }

/* ---------- Tabell ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-strong); background: var(--white); }
table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: var(--fs-small); }
caption { padding: var(--s-4) var(--s-5) 0; text-align: left; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
th, td { padding: var(--s-3) var(--s-5); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { background: var(--mist); font-weight: 600; color: var(--ink); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 600; color: var(--ink); }

/* ---------- Löptext ---------- */
.prose { max-width: 70ch; }
.prose > * + * { margin-top: var(--s-4); }
.prose h1 { font-size: clamp(2.7rem, 5.4vw, 4.6rem); }
.prose h2 { margin-top: var(--s-8); font-size: clamp(2rem, 3.4vw, 2.7rem); }
.prose h3 { margin-top: var(--s-6); font-size: 1.6rem; }
.prose ul, .prose ol { display: grid; gap: var(--s-2); padding-left: var(--s-5); }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--ink); }
.prose .answer, .prose .table-wrap, .prose .cta-band, .prose .article-photo { margin-top: var(--s-6); }
.prose .answer-q { margin-top: 0; font-size: 1.6rem; }
.prose .cta-band h2 { margin-top: 0; }
.prose .checklist { padding-left: 0; list-style: none; }
.prose .byline { margin-top: var(--s-3); }
.article-photo { margin-inline: 0; }
.article-photo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.article-photo figcaption { margin-top: var(--s-2); font-size: var(--fs-xs); color: var(--muted); }
.byline { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); font-size: var(--fs-small); color: var(--muted); }
.byline a { font-weight: 600; color: var(--ink); }
.toc { padding: var(--s-5); background: var(--mist); }
.toc h2 { margin: 0 0 var(--s-3) !important; font-size: 1.4rem; }
.toc ol { display: grid; gap: var(--s-1); padding-left: var(--s-5); list-style: decimal; }
.legal-meta { font-size: var(--fs-small); color: var(--muted); }

/* ---------- Guidekort ---------- */
.card-link { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-6); border: 1px solid var(--line-strong); background: var(--white); color: var(--text); text-decoration: none; transition: border-color .25s, transform .25s var(--ease); }
.card-link:hover { border-color: var(--ink); color: var(--text); transform: translateY(-3px); }
.card-link h2, .card-link h3 { font-size: 1.9rem; }
.card-link p { font-size: var(--fs-small); color: var(--muted); }
.card-link .link-arrow { margin-top: auto; }

/* ---------- Om ---------- */
.founder { display: grid; grid-template-columns: 200px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.avatar { display: grid; place-items: center; width: 200px; aspect-ratio: 1; border: 1px solid var(--ink); border-radius: 50%; color: var(--ink); font-family: var(--serif); font-style: italic; font-size: 3.6rem; }
@media (max-width: 700px) { .founder { grid-template-columns: 1fr; } .avatar { width: 120px; font-size: 2.2rem; } }
.facts { display: grid; grid-template-columns: max-content 1fr; overflow: hidden; border: 1px solid var(--line-strong); background: var(--white); }
.facts dt, .facts dd { margin: 0; padding: var(--s-3) var(--s-5); border-bottom: 1px solid var(--line); }
.facts dt { background: var(--mist); font-weight: 600; color: var(--ink); }
.facts dt:last-of-type, .facts dd:last-of-type { border-bottom: 0; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .facts dt { padding-bottom: var(--s-1); border-bottom: 0; } }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact-aside { display: grid; gap: var(--s-5); }
.contact-card { padding: var(--s-5); border: 1px solid var(--line-strong); background: var(--white); }
.contact-card h2 { margin-bottom: var(--s-3); font-size: 1.75rem; }
.contact-card .contact-list { margin-top: 0; }
.next-steps { display: grid; gap: var(--s-3); counter-reset: n; }
.next-steps li { display: grid; grid-template-columns: 28px 1fr; gap: var(--s-3); font-size: var(--fs-small); counter-increment: n; }
.next-steps li::before { content: counter(n); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--black); color: var(--hi); font-family: var(--serif); font-weight: 600; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid .lead-form { box-shadow: none; border: 1px solid var(--line-strong); }

/* ---------- Före / efter ---------- */
.ba { --pos: 50%; }
.ba-frame { position: relative; overflow: hidden; border: 1px solid var(--line-strong); background: #fff; box-shadow: 0 40px 80px -40px rgba(10, 10, 10, .45); }
.ba-bar { border-radius: 0; }
.ba-area { position: relative; }
.ba-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; container-type: inline-size; }
.ba-layer { position: absolute; inset: 0; overflow: hidden; }
.ba-before { filter: grayscale(1); }
.ba-after { clip-path: inset(0 0 0 var(--pos)); background: #fff; }
.ba-after .bd-site { height: 100%; align-content: center; border-radius: 0; font-size: 1.45cqw; }
.ba-after .bd-img { aspect-ratio: 4 / 3; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 1px; margin-left: -.5px; background: var(--black); box-shadow: 0 0 0 1px rgba(255,255,255,.7); pointer-events: none; }
.ba-handle > span { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--black); color: var(--hi); border: 1px solid var(--hi); box-shadow: 0 10px 30px rgba(0,0,0,.4); transform: translate(-50%, -50%); }
.ba-handle .icon { width: 22px; height: 22px; }
.ba:has(.ba-range:focus-visible) .ba-handle > span { outline: 2px solid var(--ink); outline-offset: 4px; }
.ba-tag { position: absolute; bottom: .75rem; z-index: 2; padding: 4px 12px; font-family: var(--serif); font-style: italic; font-size: 1rem; font-weight: 600; pointer-events: none; }
.ba-tag--before { left: .75rem; background: rgba(0,0,0,.72); color: #fff; }
.ba-tag--after { right: .75rem; background: var(--black); color: var(--white); }
.ba-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none; }
.ba-wins { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); margin-top: var(--s-7); }
.ba-wins li { display: block; padding-top: var(--s-4); border-top: 1px solid var(--fg); font-size: var(--fs-small); color: var(--fg-muted); }
.ba-wins li .icon { display: none; }
.ba-wins strong { display: block; margin-bottom: var(--s-1); font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1.15; }
.ba-note { margin-top: var(--s-4); font-size: var(--fs-xs); color: var(--fg-muted); }
@media (max-width: 980px) { .ba-wins { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ba-wins { grid-template-columns: 1fr; } .ba-stage { aspect-ratio: 16 / 10; } .ba-after .bd-site, .old { font-size: 2cqw; } .ba-tag { bottom: .5rem; font-size: .85rem; } .ba-tag--before { left: .5rem; } .ba-tag--after { right: .5rem; } .ba-handle > span { width: 44px; height: 44px; } }

/* Den gamla sidan: avsiktligt daterad */
.old { display: flex; flex-direction: column; height: 100%; background: #F3EFD8; color: #000; font-family: "Times New Roman", Times, serif; font-size: 1.45cqw; line-height: 1.3; }
.old u { color: #0000EE; }
.old-top { padding: .7em; text-align: center; font-weight: 700; font-size: 2em; color: #fff; text-shadow: 2px 2px 0 #000; background: linear-gradient(#5A8BC6, #1C3F73); border-bottom: 3px outset #8FB3E0; }
.old-menu { padding: .45em; text-align: center; background: #C0C0C0; border-bottom: 2px outset #E8E8E8; font-size: .95em; }
.old-body { flex: 1; display: grid; grid-template-columns: 22% 1fr; gap: 1em; min-height: 0; padding: 1em; }
.old-side { display: flex; flex-direction: column; gap: .4em; padding: .6em; background: #FFFFE0; border: 2px inset #ccc; font-size: .9em; }
.old-counter { margin-top: auto; text-align: center; font-size: .85em; }
.old-counter span { display: inline-block; margin: .3em .05em 0; padding: 0 .25em; background: #000; color: #3F3; font-family: "Courier New", monospace; }
.old-main { display: flex; flex-direction: column; align-items: center; gap: .5em; min-width: 0; text-align: center; }
.old-welcome { font-family: "Comic Sans MS", "Chalkboard SE", "Comic Neue", cursive; font-size: 1.7em; color: #C00000; }
.old-new { padding: 0 .3em; background: #FFFF00; color: #E00000; font-weight: 700; }
.old-img { display: grid; place-items: center; width: 40%; aspect-ratio: 4 / 3; background: #ddd; border: 1px solid #999; color: #777; font-style: italic; font-size: .85em; }
.old-text { max-width: 46em; text-align: left; font-size: .9em; }
.old-contact { font-size: .85em; }
.old-foot { padding: .5em; border-top: 1px solid #999; text-align: center; font-size: .8em; color: #555; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; padding-top: clamp(4rem, 8vw, 7rem); background: var(--black); font-size: var(--fs-small); border-top: 1px solid var(--hairline); }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: var(--s-6); padding-bottom: var(--s-7); }
.brand--footer { display: inline-block; margin-bottom: var(--s-3); font-family: var(--logo); font-weight: 500; font-size: 1.5rem; line-height: 1.2; color: var(--white) !important; }
.brand--footer:hover { text-decoration: none !important; }
.footer-brand p { max-width: 34ch; color: var(--fg-muted); }
.footer-title { margin-bottom: var(--s-4); font-family: var(--serif); font-style: italic; font-size: 1.3rem; font-weight: 500; color: var(--hi); }
.footer-col ul { display: grid; gap: var(--s-1); }
.footer-col li a, .footer-col li > span { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 36px; }
.footer-contact li { display: flex; align-items: flex-start; gap: var(--s-2); }
.footer-contact li > .icon { margin-top: 9px; }
.footer-contact .icon { flex: none; width: 16px; height: 16px; color: var(--hi); }
.footer-legal { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-4) var(--s-6); padding-block: var(--s-5) var(--s-6); border-top: 1px solid var(--rule); font-size: var(--fs-xs); color: var(--fg-muted); }
.company-info { max-width: 72ch; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-5); }
.footer-links a, .footer-links .link-button { display: inline-flex; align-items: center; min-height: 32px; color: var(--on-dark-2); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Samtyckesruta ---------- */
.consent { position: fixed; left: var(--s-4); right: var(--s-4); bottom: var(--s-4); z-index: var(--z-consent); max-width: 560px; margin-inline: auto; padding: var(--s-5); border: 1px solid var(--hairline); background: var(--black); color: var(--on-dark-2); box-shadow: 0 20px 50px rgba(0,0,0,.45);
  --fg: var(--on-dark); --btn-bg: var(--hi); --btn-fg: var(--black); --rule-strong: rgba(255, 255, 255, .3); --accent: var(--hi); }
.consent h2 { margin-bottom: var(--s-2); font-size: 1.6rem; }
.consent p { font-size: var(--fs-small); }
.consent a { color: var(--hi-2); }
.consent .actions { margin-top: var(--s-4); }
.consent .actions .btn { flex: 1 1 140px; }

/* ---------- Tack / 404 ---------- */
.center-page { display: grid; align-content: center; min-height: 55vh; }
.center-page .lead { margin-block: var(--s-4) var(--s-6); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
@media print { .hdr-spacer, .site-header, .site-footer, .lead-form, .cta-band, .consent { display: none !important; } }

/* Guidekort med bild */
.card-img { display: block; margin: calc(-1 * var(--s-6)) calc(-1 * var(--s-6)) var(--s-3); aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card-link:hover .card-img img { transform: scale(1.04); }
