/* Dryvector
   bg #100f0c · paper #e8e0ce · ink #f0eadc · brass #c9a45c
   Type: IBM Plex Sans + IBM Plex Mono, self-hosted. */

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-400.woff2") format("woff2");
  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: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-500.woff2") format("woff2");
  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: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-600.woff2") format("woff2");
  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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2");
  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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-500.woff2") format("woff2");
  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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-600.woff2") format("woff2");
  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 {
  --bg: #100f0c;
  --bg-alt: #181611;
  --paper: #e8e0ce;
  --paper-2: #f3ecde;
  --ink: #f0eadc;
  --ink-paper: #16140f;
  --muted: #c4bdb0;
  --on-paper: #3f3b32;
  --line: #2e2b24;
  --rule: #c9c0ac;
  --accent: #c9a45c;
  --accent-2: #d4b36a;
  --strike: #b85c3c;
  --strike-ink: #7a3220;
  --keep: #245033;
  --focus: #e0c48a;
  --font: "IBM Plex Sans", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 4px;
  --max: 1120px;
  --header: 64px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(880px 420px at 100% -40px, rgba(201, 164, 92, 0.09), transparent 60%),
    var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
p, h1, h2, h3, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }

::selection { background: var(--accent); color: var(--ink-paper); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--accent);
  color: var(--ink-paper);
  padding: 10px 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip:focus { top: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}
@media (min-width: 720px) {
  .container { width: min(var(--max), calc(100% - 48px)); }
}

.kicker {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
}
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; }

.lede {
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 40rem;
}

.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 32px; max-width: 40rem; }
.section-head > * + * { margin-top: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(16, 15, 12, 0.94);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
}
.mark { width: 22px; height: 22px; color: var(--accent); display: block; flex: none; }
.logo-mark {
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 0.16em;
  font-size: 0.92rem;
  white-space: nowrap;
}

.menu > summary {
  list-style: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--ink);
}
.menu > summary::-webkit-details-marker { display: none; }
.burger { position: relative; width: 16px; height: 10px; display: block; }
.burger span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
}
.burger span:first-child { top: 0; }
.burger span:last-child { top: 8px; }
.menu[open] .burger span { top: 4px; }
.menu[open] .burger span:first-child { transform: rotate(45deg); }
.menu[open] .burger span:last-child { transform: rotate(-45deg); }
.menu[open] .label-closed { display: none; }
.menu:not([open]) .label-open { display: none; }

.menu nav {
  position: fixed;
  z-index: 45;
  inset: var(--header) 0 0 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 8px 24px 32px;
  overflow: auto;
}
.menu nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.2rem;
  min-height: 52px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.menu nav a:hover { color: var(--ink); }
.menu nav a[aria-current="page"] { color: var(--ink); }
.nav-cta {
  margin-top: 20px;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--ink) !important;
  font-weight: 600;
  min-height: 48px;
}

@media (min-width: 1000px) {
  :root { --header: 72px; }
  .menu { display: flex; align-items: center; }
  .menu > summary { display: none; }
  .menu nav {
    display: flex !important;
    position: static;
    inset: auto;
    background: transparent;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 2px;
    overflow: visible;
  }
  .menu nav a {
    font-size: 0.95rem;
    min-height: 44px;
    padding: 0 10px;
    border-bottom: 0;
  }
  .nav-cta {
    margin: 0 0 0 8px;
    padding: 0 14px;
  }
  /* Stängd <details> döljer innehållet i moderna motorer. Visa menyn på bred skärm. */
  .menu::details-content { content-visibility: visible; display: contents; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
}
.btn-primary { background: var(--accent); color: var(--ink-paper); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #3a362e; }
.btn-ghost:hover { border-color: var(--accent); }
.form-card .btn-primary:focus-visible,
.form-card input:focus-visible,
.form-card textarea:focus-visible {
  outline-color: var(--ink-paper);
}

/* Hero */
.hero { padding: 28px 0 56px; }
.hero-grid { display: grid; gap: 36px; }
.hero h1 {
  font-size: clamp(2.55rem, 8vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 11ch;
  margin-top: 14px;
}
.hero .lede { margin-top: 20px; font-size: 1.125rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.points {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
}
.points li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.5em;
  background: var(--accent);
  flex: none;
}

.hero-figure { margin: 0; }
.hero-figure img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(240, 234, 220, 0.14);
}
.hero-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.ledger {
  background: var(--paper);
  color: var(--ink-paper);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
  margin: -2.75rem 12px 0;
  padding: 6px 8px 4px;
  position: relative;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
  font-family: var(--mono);
  font-size: 0.875rem;
  line-height: 1.35;
  color-scheme: light;
}
.ledger-head,
.ledger-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 11px 10px;
}
.ledger-head {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-paper);
  border-bottom: 1px solid var(--rule);
}
.ledger-row { border-bottom: 1px dashed var(--rule); }
.ledger-row:last-child { border-bottom: 0; }
.ledger-row.strike span:first-child {
  color: #4a453c;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--strike);
  text-decoration-skip-ink: none;
}
.ledger-row.strike span:last-child { color: var(--strike-ink); font-weight: 500; }
.ledger-row.keep { font-weight: 600; }
.ledger-row.keep span:last-child { color: var(--keep); }

/* Services */
.svc-grid {
  display: grid;
  gap: 12px;
}
.svc-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: 22px 22px 20px;
  background: var(--paper);
  color: var(--ink-paper);
  text-decoration: none;
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
  color-scheme: light;
}
.svc-card:hover { background: var(--paper-2); }
.svc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tag {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--strike-ink);
}
.icon { width: 28px; height: 28px; display: block; color: var(--strike-ink); }
.svc-card h3 { font-size: 1.45rem; }
.svc-card p { color: var(--on-paper); }
.more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  min-height: 44px;
}
.arrow { width: 16px; height: 16px; display: block; }

.also {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.also-card {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  min-height: 100%;
}
.also-card:hover { border-color: var(--accent); }
.also-card .tag { color: var(--accent); }
.also-card .icon { color: var(--accent); margin-bottom: 16px; }
.also-card h3 { margin: 10px 0 8px; }
.also-card p { color: var(--muted); }
.also-card .more { color: var(--ink); }

/* Process sheet */
.sheet {
  background: var(--paper);
  color: var(--ink-paper);
  border-radius: var(--radius);
  padding: 28px 22px 22px;
  color-scheme: light;
}
.sheet .kicker,
.sheet .step-no { color: var(--strike-ink); }
.sheet h2, .sheet h3 { color: var(--ink-paper); }
.sheet .lede, .steps p { color: var(--on-paper); }
.steps {
  list-style: none;
  display: grid;
  gap: 22px;
  margin-top: 28px;
}
.step-no {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.steps h3 { margin-bottom: 8px; font-size: 1.25rem; }
.sheet-foot {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-weight: 600;
}

/* Examples */
.examples { display: grid; gap: 40px; }
.example { display: grid; gap: 18px; }
.example h3 { font-size: clamp(1.45rem, 2vw, 1.8rem); margin-top: 8px; }
.example .body { color: var(--muted); margin-top: 12px; }
.shows {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.shows span {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.shot { position: relative; margin: 0; }
.shot img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(240, 234, 220, 0.14);
}
.flag {
  position: absolute;
  z-index: 6;
  top: 12px;
  left: 12px;
  background: var(--paper);
  color: var(--ink-paper);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--radius);
}
.examples-note {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 40rem;
}

/* About */
.about-grid { display: grid; gap: 28px; }
.about-copy h2 { margin: 12px 0 16px; }
.about-copy p { color: var(--muted); max-width: 40rem; }
.about-copy p + p { margin-top: 16px; }
.page-hero .lede { margin-top: 16px; }
.facts {
  background: var(--paper);
  color: var(--ink-paper);
  border-radius: var(--radius);
  padding: 22px;
  margin: -28px 12px 0;
  position: relative;
  color-scheme: light;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}
.facts ul { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.facts li {
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}

/* Contact */
.contact-grid { display: grid; gap: 28px; }
.phone-link {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(1.85rem, 6vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.contact-aside {
  margin-top: 18px;
  color: var(--muted);
  max-width: 36rem;
}
.form-card {
  background: var(--paper);
  color: var(--ink-paper);
  border-radius: var(--radius);
  padding: 22px;
  color-scheme: light;
}
.form-card h3 { margin-bottom: 6px; }
.form-card .intro { color: var(--on-paper); margin-bottom: 18px; }
.form-grid { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--strike-ink);
}
.field input,
.field textarea {
  width: 100%;
  appearance: none;
  background: var(--paper-2);
  color: var(--ink-paper);
  border: 1px solid #6b6458;
  border-radius: var(--radius);
  padding: 12px 14px;
  min-height: 48px;
  font-size: 1rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:user-invalid,
.field textarea:user-invalid { border-color: var(--strike-ink); }
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-help, .form-status { color: var(--on-paper); font-size: 0.95rem; }
.form-status:empty { display: none; }
.form-card .btn { width: 100%; }
input:-webkit-autofill {
  -webkit-text-fill-color: var(--ink-paper);
  box-shadow: 0 0 0 1000px var(--paper-2) inset;
}

/* Services page */
.page-hero { padding: 28px 0 8px; }
.page-hero h1 {
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin-top: 8px;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.crumbs a {
  color: var(--accent);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.inpage {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-top: 8px;
}
.inpage a {
  color: var(--muted);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid transparent;
}
.inpage a:hover { color: var(--ink); border-bottom-color: var(--accent); }

.service {
  display: grid;
  gap: 22px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.service-copy p { color: var(--muted); max-width: 40rem; }
.service-copy p + p { margin-top: 12px; }
.service-copy h2 { margin: 8px 0 14px; }
.fit {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.fit-label {
  margin-top: 20px;
  margin-bottom: 0;
}
.fit li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
}
.fit li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}
.price {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--ink);
}
.price span {
  display: block;
  margin-top: 6px;
  font-family: var(--font);
  color: var(--muted);
  font-size: 0.95rem;
}
.ex-box {
  background: var(--paper);
  color: var(--ink-paper);
  border-radius: var(--radius);
  overflow: hidden;
  color-scheme: light;
}
.ex-box .shot img { border: 0; border-radius: 0; }
.ex-body { padding: 18px 18px 22px; }
.ex-body h3 { margin: 8px 0; font-size: 1.3rem; }
.ex-body p { color: var(--on-paper); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 40px;
}
.footer-inner { display: grid; gap: 24px; }
.legal { color: var(--muted); font-size: 0.92rem; margin-top: 10px; max-width: 28rem; }
.footer-nav { display: grid; align-content: start; }
.footer-nav a, .footer-meta a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-nav a:hover, .footer-meta a:hover { color: var(--ink); }
.footer-meta { color: var(--muted); }
.footer-meta p { margin: 0; }

/* 404 */
.miss {
  min-height: calc(100vh - 220px);
  display: grid;
  align-content: center;
  padding: 48px 0 64px;
}
.miss h1 {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  max-width: 14ch;
  letter-spacing: -0.035em;
  margin: 12px 0 16px;
}
.miss p { color: var(--muted); max-width: 36rem; }
.miss .hero-actions { margin-top: 24px; }

@media (min-width: 800px) {
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { padding: 56px 0 80px; }
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    align-items: center;
  }
  .ledger { margin: -4.5rem 28px 0; padding: 8px 12px 6px; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .also { grid-template-columns: 1fr 1fr; margin-top: 16px; }
  .sheet { padding: 40px 40px 28px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 32px; }
  .steps li { padding: 0 28px; }
  .steps li:first-child { padding-left: 0; }
  .steps li:last-child { padding-right: 0; }
  .steps li + li { border-left: 1px solid var(--rule); }
  .example {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
  }
  .example:nth-child(even) .shot { order: 2; }
  .about-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: start;
  }
  .contact-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 48px;
    align-items: start;
  }
  .form-card { padding: 28px; }
  .form-card .btn { width: auto; min-width: 160px; }
  .page-hero { padding: 48px 0 8px; }
  .service {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 40px;
    align-items: start;
    padding: 56px 0;
  }
  .footer-inner {
    grid-template-columns: 1.4fr auto auto;
    gap: 32px;
    align-items: start;
  }
  .footer-meta { text-align: right; }
  .footer-meta a { justify-content: flex-end; }
}

@media (min-width: 1000px) {
  .hero { padding: 72px 0 96px; }
}

/* Demo film */
.demo {
  display: grid;
  gap: 20px;
  margin: 0 0 48px;
}
.demo-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(240, 234, 220, 0.14);
  background: #100f0c;
  aspect-ratio: 720 / 450;
}
.demo-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.demo-toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px 8px 10px;
  border: 1px solid rgba(240, 234, 220, 0.3);
  border-radius: var(--radius);
  background: rgba(16, 15, 12, 0.82);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.demo-toggle[hidden] { display: none; }
.demo-toggle:hover { border-color: var(--accent); }
.demo-toggle svg { width: 20px; height: 20px; display: block; color: var(--accent); }
.demo-toggle .i-pause { display: none; }
.demo-toggle[aria-pressed="true"] .i-play { display: none; }
.demo-toggle[aria-pressed="true"] .i-pause { display: block; }
.demo-cap h3 { font-size: clamp(1.45rem, 2vw, 1.8rem); margin-top: 8px; }
.demo-cap p:not(.kicker) { color: var(--muted); margin-top: 12px; max-width: 34rem; }
.demo-cap .demo-note {
  font-size: 0.95rem;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
@media (min-width: 800px) {
  .demo {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 64px;
  }
}

/* Motion. Bara när besökaren inte bett om mindre rörelse.
   .motion sätts av ett litet skript i <head>. Utan den är allt synligt och stilla. */
@media (prefers-reduced-motion: no-preference) {
  .svc-card, .also-card, .btn, .demo-toggle {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease;
  }
  .more .arrow { transition: transform 0.25s ease; }
  @media (hover: hover) {
    .svc-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35); }
    .also-card:hover { transform: translateY(-2px); }
    .svc-card:hover .arrow, .also-card:hover .arrow { transform: translateX(4px); }
    .btn:hover { transform: translateY(-1px); }
  }

  .motion .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--d, 0s);
  }
  .motion .reveal.in { opacity: 1; transform: none; }

  /* Hero: mjuk start och en ledger som stryks rad för rad */
  .motion .hero-grid > div:first-child > * {
    animation: dv-up 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .motion .hero-grid > div:first-child > :nth-child(2) { animation-delay: 0.06s; }
  .motion .hero-grid > div:first-child > :nth-child(3) { animation-delay: 0.12s; }
  .motion .hero-grid > div:first-child > :nth-child(4) { animation-delay: 0.18s; }
  .motion .hero-grid > div:first-child > :nth-child(5) { animation-delay: 0.24s; }
  .motion .hero-figure .ledger { animation: dv-up 0.8s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .motion .ledger-row.strike > span:first-child { text-decoration: none; }
  .motion .ledger-row.strike .x {
    background: linear-gradient(var(--strike), var(--strike)) no-repeat 0 54% / 0% 2px;
    animation: dv-strike 0.55s ease-out forwards;
  }
  .motion .ledger-row.strike:nth-child(2) .x { animation-delay: 0.9s; }
  .motion .ledger-row.strike:nth-child(3) .x { animation-delay: 1.3s; }
  .motion .ledger-row.strike:nth-child(4) .x { animation-delay: 1.7s; }
  .motion .ledger-row.strike > span:last-child { animation: dv-fade 0.4s both; }
  .motion .ledger-row.strike:nth-child(2) > span:last-child { animation-delay: 1.2s; }
  .motion .ledger-row.strike:nth-child(3) > span:last-child { animation-delay: 1.6s; }
  .motion .ledger-row.strike:nth-child(4) > span:last-child { animation-delay: 2s; }
  .motion .ledger-row.keep { animation: dv-keep 1.6s 2.2s ease-out both; }
  /* Ledgern spelar först när den syns (på mobil ligger den under vecket) */
  .motion .ledger:not(.go),
  .motion .ledger:not(.go) * { animation-play-state: paused !important; }
}
@keyframes dv-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes dv-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dv-strike { to { background-size: 100% 2px; } }
@keyframes dv-keep {
  0% { background-color: rgba(201, 164, 92, 0); }
  35% { background-color: rgba(201, 164, 92, 0.35); }
  100% { background-color: rgba(201, 164, 92, 0.12); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #f0eadc;
    --line: #8a8378;
  }
}

/* Exempel-scener. Slutläget är det stilla läget.
   Med .motion spelas en slinga, pausad tills sektionen syns. */
.stage-wrap { position: relative; }
.stage-frame {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-height: 292px;
  padding: 14px 12px 50px;
  background:
    radial-gradient(420px 180px at 80% 0%, rgba(201, 164, 92, 0.08), transparent 60%),
    #141311;
  border: 1px solid rgba(240, 234, 220, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink-paper);
  color-scheme: light;
}
.demo-media { aspect-ratio: auto; background: #141311; }
.demo-media .stage-frame { border: 0; border-radius: 0; min-height: 320px; padding: 20px 16px 56px; }
.ex-box .stage-frame { border: 0; border-radius: 0; }
.shot .stage-wrap { height: 100%; }
.shot .stage-frame { padding-top: 48px; }
.note, .ghosts, .part, .tabs { pointer-events: none; }
.note {
  position: absolute;
  z-index: 3;
  left: 12%;
  right: 12%;
  top: 28px;
  margin: 0;
  padding: 14px 14px 12px;
  background: var(--paper);
  color: var(--ink-paper);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  transform: rotate(-2deg);
  opacity: 0;
}
.note .who, .dev .who {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5c4318;
}
.note ul, .dev ul { list-style: none; margin: 0; display: grid; gap: 6px; }
.note li {
  font-family: var(--mono);
  font-size: 0.8125rem;
  padding-bottom: 4px;
  border-bottom: 1px dashed var(--rule);
}
.dev {
  min-width: 0;
  opacity: 1;
}
.phone {
  background: #0e0d0b;
  border-radius: 18px;
  padding: 7px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}
.phone .screen, .desk {
  background: var(--paper-2);
  border-radius: 12px;
  padding: 8px 8px 10px;
  min-height: 100%;
}
.desk {
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
  background: var(--paper);
}
.live {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 1px;
}
.row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  font-size: 0.8125rem;
  line-height: 1.2;
}
.row i {
  position: relative;
  width: 14px;
  height: 14px;
  flex: none;
  border: 1.5px solid #245033;
  background: #245033;
  color: #f3ecde;
}
.row i::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0;
  width: 4px;
  height: 8px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.row span {
  min-width: 0;
  color: #4a453c;
  text-decoration: line-through;
  text-decoration-color: var(--strike);
  text-decoration-thickness: 2px;
}
.stay i { background: transparent; border-color: #16140f; color: transparent; }
.stay span { color: #16140f; text-decoration: none; }
.pill {
  margin: 8px 0 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--keep);
  opacity: 1;
}
.ping {
  position: absolute;
  z-index: 4;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 120px);
  margin: 0;
  padding: 6px 10px;
  background: var(--paper);
  color: var(--ink-paper);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.3;
  opacity: 0;
}
.stage-pause {
  position: absolute;
  z-index: 5;
  right: 10px;
  bottom: 10px;
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px 8px 10px;
  border: 1px solid rgba(240, 234, 220, 0.3);
  border-radius: var(--radius);
  background: rgba(16, 15, 12, 0.82);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
}
.motion .stage-pause { display: inline-flex; }
.stage-pause svg { width: 18px; height: 18px; display: block; color: var(--accent); }
.stage-pause .i-pause { display: none; }
.stage-pause[aria-pressed="true"] .i-play { display: none; }
.stage-pause[aria-pressed="true"] .i-pause { display: block; }
.ghosts, .tabs, .part { display: none; }
.is-sheet .ghosts { display: block; position: absolute; z-index: 0; left: 16px; top: 36px; width: 38%; height: 62%; opacity: 0; }
.is-sheet .ghosts i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(232, 224, 206, 0.4);
  background: rgba(232, 224, 206, 0.06);
  border-radius: var(--radius);
}
.is-sheet .ghosts i:first-child { transform: rotate(-7deg) translate(-4px, 6px); }
.is-sheet .ghosts i:last-child { transform: rotate(5deg) translate(10px, -4px); }
.is-bind .tabs { display: flex; gap: 4px; margin: 0 0 8px; opacity: 0; }
.is-bind .tabs i { width: 16px; height: 7px; background: #c9a45c; border-radius: 2px 2px 0 0; }
.is-part .part { display: block; width: 100%; height: 46px; margin: 0 0 6px; }
.is-part .part .solid { opacity: 1; }
.part .outline { fill: none; stroke: #16140f; stroke-width: 1.6; }
.part .solid { fill: #16140f; }
.demo .row { font-size: 0.9375rem; }
.demo .note li { font-size: 0.9375rem; }

@media (max-width: 420px) {
  .stage-frame { gap: 6px; padding: 10px 8px 50px; min-height: 268px; }
  .shot .stage-frame { padding-top: 44px; }
  .row, .demo .row, .demo .note li { gap: 6px; font-size: 0.75rem; }
  .phone { border-radius: 14px; padding: 5px; }
  .ping { max-width: calc(100% - 108px); }
}

@media (prefers-reduced-motion: no-preference) {
  .motion .stage .desk { animation: desk-in 14s linear infinite both; }
  .motion .stage.is-paper .dev { animation: dev-in 14s linear infinite both; }
  .motion .stage.is-paper .note { animation: note-show 14s linear infinite both; }
  .motion .stage .ping.p1 { animation: ping1 14s linear infinite both; }
  .motion .stage .ping.p2 { animation: ping2 14s linear infinite both; }
  .motion .stage .pill { animation: pill-in 14s linear infinite both; }
  .motion .stage .live { animation: live-dot 14s linear infinite both; }
  .motion .stage .r1 i { animation: box36 14s linear infinite both; }
  .motion .stage .r1 span { animation: lab36 14s linear infinite both; }
  .motion .stage .r1d i { animation: box42 14s linear infinite both; }
  .motion .stage .r1d span { animation: lab42 14s linear infinite both; }
  .motion .stage .r2 i { animation: box54 14s linear infinite both; }
  .motion .stage .r2 span { animation: lab54 14s linear infinite both; }
  .motion .stage .r2d i { animation: box60 14s linear infinite both; }
  .motion .stage .r2d span { animation: lab60 14s linear infinite both; }
  .motion .stage .r3 i { animation: box70 14s linear infinite both; }
  .motion .stage .r3 span { animation: lab70 14s linear infinite both; }
  .motion .stage.is-sheet .ghosts { animation: intro-out 14s linear infinite both; }
  .motion .stage.is-bind .tabs { animation: intro-out 14s linear infinite both; }
  .motion .stage.is-part .part .solid { animation: part-in 14s linear infinite both; }
  .motion .stage:not(.go) .stage-frame,
  .motion .stage:not(.go) .stage-frame * { animation-play-state: paused !important; }
  .motion .stage.is-held .stage-frame,
  .motion .stage.is-held .stage-frame * { animation-play-state: paused !important; }
}

@keyframes note-show {
  0%, 14% { opacity: 1; transform: rotate(-2deg); }
  24%, 92% { opacity: 0; transform: rotate(-2deg) translateY(-12px); }
  100% { opacity: 1; transform: rotate(-2deg); }
}
@keyframes dev-in {
  0%, 12% { opacity: 0; transform: translateY(10px); }
  24%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(10px); }
}
@keyframes desk-in {
  0%, 8% { opacity: 0; transform: translateY(10px); }
  18%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(10px); }
}
@keyframes ping1 {
  0%, 16%, 40%, 100% { opacity: 0; transform: translateY(6px); }
  22%, 34% { opacity: 1; transform: none; }
}
@keyframes ping2 {
  0%, 48%, 74%, 100% { opacity: 0; transform: translateY(6px); }
  54%, 66% { opacity: 1; transform: none; }
}
@keyframes pill-in {
  0%, 74%, 100% { opacity: 0; }
  82%, 92% { opacity: 1; }
}
@keyframes live-dot {
  0%, 16% { opacity: 0.25; }
  28%, 88% { opacity: 1; }
  100% { opacity: 0.25; }
}
@keyframes intro-out {
  0%, 12% { opacity: 1; }
  24%, 92% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes part-in {
  0%, 28% { opacity: 0; }
  40%, 92% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes box36 {
  0%, 36%, 100% { background-color: transparent; border-color: #16140f; color: transparent; }
  40%, 92% { background-color: #245033; border-color: #245033; color: #f3ecde; }
}
@keyframes lab36 {
  0%, 36%, 100% { color: #16140f; text-decoration-color: transparent; }
  40%, 92% { color: #4a453c; text-decoration-color: #b85c3c; }
}
@keyframes box42 {
  0%, 42%, 100% { background-color: transparent; border-color: #16140f; color: transparent; }
  46%, 92% { background-color: #245033; border-color: #245033; color: #f3ecde; }
}
@keyframes lab42 {
  0%, 42%, 100% { color: #16140f; text-decoration-color: transparent; }
  46%, 92% { color: #4a453c; text-decoration-color: #b85c3c; }
}
@keyframes box54 {
  0%, 54%, 100% { background-color: transparent; border-color: #16140f; color: transparent; }
  58%, 92% { background-color: #245033; border-color: #245033; color: #f3ecde; }
}
@keyframes lab54 {
  0%, 54%, 100% { color: #16140f; text-decoration-color: transparent; }
  58%, 92% { color: #4a453c; text-decoration-color: #b85c3c; }
}
@keyframes box60 {
  0%, 60%, 100% { background-color: transparent; border-color: #16140f; color: transparent; }
  64%, 92% { background-color: #245033; border-color: #245033; color: #f3ecde; }
}
@keyframes lab60 {
  0%, 60%, 100% { color: #16140f; text-decoration-color: transparent; }
  64%, 92% { color: #4a453c; text-decoration-color: #b85c3c; }
}
@keyframes box70 {
  0%, 70%, 100% { background-color: transparent; border-color: #16140f; color: transparent; }
  74%, 92% { background-color: #245033; border-color: #245033; color: #f3ecde; }
}
@keyframes lab70 {
  0%, 70%, 100% { color: #16140f; text-decoration-color: transparent; }
  74%, 92% { color: #4a453c; text-decoration-color: #b85c3c; }
}

@media print {
  .site-header, .skip, .hero-actions, .form-card, .nav-cta, .menu { display: none !important; }
  body { background: #fff; color: #000; }
  a { text-decoration: underline; }
  .sheet, .svc-card, .facts, .ledger { break-inside: avoid; }
}
