/* Self-hosted fonts (Manrope, IBM Plex Mono) – no requests to Google */
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/ibm-plex-mono-latin-ext-9994c1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/ibm-plex-mono-latin-d77319.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;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/ibm-plex-mono-latin-ext-60d1ee.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/ibm-plex-mono-latin-8d0aea.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;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url(assets/fonts/manrope-latin-ext-76dcfc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url(assets/fonts/manrope-latin-814019.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;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(assets/fonts/manrope-latin-ext-76dcfc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(assets/fonts/manrope-latin-814019.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;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/manrope-latin-ext-76dcfc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/manrope-latin-814019.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;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/manrope-latin-ext-76dcfc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/manrope-latin-814019.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;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/manrope-latin-ext-76dcfc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/manrope-latin-814019.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;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/manrope-latin-ext-76dcfc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/manrope-latin-814019.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;
}

/* =========================================================
   Nordic Partners AB — cinematic scroll
   Inspired by immersive studio sites: dark atmosphere,
   pinned scenes, HUD details, drifting light.
   ========================================================= */

:root {
  /* Brand palette — forest + mist */
  --night:      #070d0a;
  --forest-950: #0a130f;
  --forest-900: #0f1b16;
  --forest-800: #182b22;
  --moss-600:   #2f4a3c;
  --sage-400:   #8fa596;
  --lichen:     #c9d6b4;
  --mist-100:   #eef2ec;
  --glow-rgb:   150, 214, 170;   /* soft forest-light glow */

  /* Semantic tokens */
  --bg: var(--night);
  --text: #eef2ec;
  --text-muted: #a9b8ad;          /* 8.9:1 on --bg */
  --text-faint: #7f8f84;          /* labels only, 5.2:1 */
  --accent: var(--lichen);
  --on-accent: #0b1410;
  --line: rgba(238, 242, 236, 0.14);
  --line-strong: rgba(238, 242, 236, 0.28);
  --glass: rgba(14, 26, 20, 0.52);
  --glass-strong: rgba(10, 19, 15, 0.78);
  --focus: var(--lichen);
  --error: #f2a99b;

  /* Type */
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --gutter: clamp(20px, 5vw, 72px);
  --section-y: clamp(110px, 16vw, 220px);
  --container: 1240px;
  --radius: 18px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 200ms;
  --dur-med: 500ms;
  --dur-slow: 1100ms;

  /* Z-index scale */
  --z-content: 1;
  --z-particles: 20;
  --z-rail: 40;
  --z-header: 100;
  --z-menu: 90;
  --z-loader: 500;
  --z-skip: 1000;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html:not(.motion) { scroll-behavior: auto; }
html.motion { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--lichen); color: var(--on-accent); }

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

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: var(--z-skip);
  padding: 10px 16px; border-radius: 999px;
  background: var(--lichen); color: var(--on-accent); font-weight: 600; text-decoration: none;
  transform: translateY(-160%); transition: transform var(--dur-fast) var(--ease-out);
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type primitives ---------- */
.mono-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.mono-label--muted { color: var(--text-faint); }
.mono-copy {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.85;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  max-width: 34ch;
}
.section-title {
  font-weight: 300;
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.section-title + .body-lg, .section-title + .body { margin-top: 24px; }
.section-title--xl { font-size: clamp(3rem, 9vw, 8.5rem); letter-spacing: -0.04em; font-weight: 200; }
.body-lg { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.7; color: var(--text-muted); max-width: 60ch; }
.body { color: var(--text-muted); max-width: 60ch; }
.chapter-num {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 28px;
}
.chapter-num span {
  display: inline-grid; place-items: center;
  min-width: 44px; height: 26px; padding: 0 10px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--accent);
}

/* ---------- Wordmark ---------- */
.wordmark, .footer-mark, .loader-mark {
  display: inline-flex; gap: 0.55em; text-decoration: none;
  letter-spacing: 0.32em; line-height: 1;
}
.wm-strong { font-weight: 700; }
.wm-light { font-weight: 300; opacity: 0.82; }
.wordmark { font-size: 13px; letter-spacing: 0.26em; padding: 14px 0; white-space: nowrap; }
@media (min-width: 480px) { .wordmark { font-size: 15px; letter-spacing: 0.32em; } }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
  touch-action: manipulation;
}
.btn svg { transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: #dde7cb; box-shadow: 0 0 40px rgba(var(--glow-rgb), 0.35); }
.btn--glass {
  background: rgba(238, 242, 236, 0.06); border-color: var(--line-strong); color: var(--text);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgba(238, 242, 236, 0.14); border-color: rgba(238, 242, 236, 0.5); }
.btn:active { opacity: 0.85; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  min-height: 44px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 1px no-repeat;
  transition: background-size var(--dur-med) var(--ease-out);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow svg { transition: transform var(--dur-fast) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Glass card ---------- */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

/* =========================================================
   Global chrome: loader, particles, rail, header
   ========================================================= */
.loader { display: none; }
.js.motion .loader {
  position: fixed; inset: 0; z-index: var(--z-loader);
  display: grid; place-content: center; justify-items: center; gap: 26px;
  background: var(--night);
  transition: opacity 900ms var(--ease-io), visibility 0s linear 900ms;
}
.loader-mark { font-size: clamp(16px, 2.2vw, 22px); opacity: 0; animation: loader-in 500ms var(--ease-out) 0ms forwards; }
.loader-line { width: 160px; height: 1px; background: var(--line); overflow: hidden; }
.loader-line span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); animation: loader-bar 550ms var(--ease-io) 50ms forwards; }
.is-loaded .loader { opacity: 0; visibility: hidden; }
@keyframes loader-in { from { opacity: 0; letter-spacing: 0.6em; } to { opacity: 1; letter-spacing: 0.32em; } }
@keyframes loader-bar { to { transform: scaleX(1); } }

.particles {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: var(--z-particles); pointer-events: none;
  mix-blend-mode: screen;
}

.rail {
  position: fixed; left: clamp(14px, 2vw, 28px); top: 50%; z-index: var(--z-rail);
  transform: translateY(-50%);
  display: none; flex-direction: column; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--text-muted);
  pointer-events: none;
}
.rail-track { width: 1px; height: 120px; background: var(--line); overflow: hidden; }
.rail-fill { display: block; width: 100%; height: 100%; background: var(--accent); transform-origin: top; transform: scaleY(var(--scroll, 0)); }
@media (min-width: 1100px) { .rail { display: flex; } }

/* ---------- Header — same as version 1 ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
}
/* Blur lives on a pseudo layer: backdrop-filter on the header itself would
   trap the full-screen mobile menu (position: fixed) inside the header box. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(10, 19, 15, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(238, 241, 236, 0.14);
  opacity: 0; transition: opacity var(--dur-med);
}
/* No bar or line behind the header at all – it stays transparent while scrolling */
.site-header::before { display: none; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
  padding-inline: var(--gutter);
  max-width: 1600px; margin-inline: auto;
  transition: height var(--dur-med);
}
.is-scrolled .header-inner { height: 68px; }
.site-header .wordmark {
  display: inline-flex; gap: 0.6em;
  font-size: 15px; letter-spacing: 0.32em;
  text-decoration: none; color: #f1f4ef;
  line-height: 1; padding: 8px 0;
}
.site-header .wm-light { opacity: .9; }

.site-nav ul { display: flex; gap: clamp(20px, 2.6vw, 40px); align-items: center; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  position: relative;
  font-family: var(--font); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; text-transform: none;
  text-decoration: none; color: rgba(241,244,239,.88);
  padding: 10px 0;
  transition: color var(--dur-fast);
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-med) var(--ease-out);
}
.site-nav a:hover, .site-nav a[aria-current="true"] { color: #fff; }
.site-nav a:hover::after, .site-nav a[aria-current="true"]::after { transform: scaleX(1); }
.site-nav .nav-cta {
  padding: 10px 20px; border: 1px solid rgba(241,244,239,.4); border-radius: 999px;
}
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover { background: #f5f6f2; color: #13201a; border-color: #f5f6f2; }

.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  background: none; border: 0; cursor: pointer; color: #f1f4ef;
  position: relative;
}
.menu-bar {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor;
  transition: transform var(--dur-med) var(--ease-out);
}
.menu-bar:nth-of-type(2) { top: 20px; }
.menu-bar:nth-of-type(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: block; z-index: 2; }
  .site-header .wordmark { font-size: 13px; letter-spacing: 0.26em; position: relative; z-index: 2; }
  .site-nav {
    position: fixed; inset: 0;
    background: #0a130f;
    display: grid; place-items: center;
    opacity: 0; visibility: hidden;
    transition: opacity var(--dur-med) var(--ease-out), visibility var(--dur-med);
  }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 10px; text-align: center; }
  .site-nav a { font-size: 26px; font-weight: 300; padding: 10px 0; display: inline-block; }
  .site-nav .nav-cta { margin-top: 16px; font-size: 18px; padding: 12px 28px; }
}

}

/* =========================================================
   Scroll-linked reveal
   ========================================================= */
.js.motion .reveal {
  opacity: 0; transform: translateY(28px); filter: blur(6px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out), filter var(--dur-slow) var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.js.motion .reveal.is-visible { opacity: 1; transform: none; filter: none; }

/* =========================================================
   HERO — pinned, camera pushes into the fog
   ========================================================= */
/* Hero scrolls away normally (version-1 style): slow image parallax + soft fade into the page */
.hero { position: relative; }
.hero-stage {
  position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden;
  display: grid; align-items: end;
}

.hero-media { position: absolute; inset: -8% 0 0 0; }
.hero-media img {
  width: 100%; height: 116%; object-fit: cover; object-position: 50% 60%;
  transform: translate3d(0, var(--hero-shift, 0px), 0);
  will-change: transform;
}
.motion .hero-media img { animation: hero-in 2400ms var(--ease-out) both; }
@keyframes hero-in { from { opacity: 0; scale: 1.08; } to { opacity: 1; scale: 1; } }

.fog { position: absolute; inset: -10%; pointer-events: none; }
.fog--a {
  background:
    radial-gradient(60% 40% at 30% 40%, rgba(220, 230, 222, 0.32), transparent 70%),
    radial-gradient(50% 35% at 75% 30%, rgba(220, 230, 222, 0.24), transparent 70%);
  opacity: 0.35;
}
.fog--b {
  background: radial-gradient(70% 45% at 50% 55%, rgba(214, 224, 216, 0.28), transparent 70%);
  opacity: 0;
}
.motion .fog--a { animation: fog-drift 26s ease-in-out infinite alternate; }
.motion .fog--b { animation: fog-drift 34s ease-in-out infinite alternate-reverse; }
@keyframes fog-drift { from { transform: translate3d(-4%, 0, 0); } to { transform: translate3d(4%, -2%, 0); } }

.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, #0f1b16 0%, rgba(15, 27, 22, 0.55) 22%, rgba(7, 13, 10, 0.25) 60%, rgba(7, 13, 10, 0.55) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--container); margin: 0 auto;
  padding: 0 var(--gutter) clamp(96px, 14vh, 150px);
}
.hero-content .mono-label { color: var(--lichen); }
.hero-title {
  margin: 20px 0 24px;
  font-weight: 200;
  font-size: clamp(2.6rem, 7vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero-lead { max-width: 52ch; color: #d3ddd5; font-size: clamp(1rem, 1.3vw, 1.15rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.motion .hero-content > * { animation: rise 1300ms var(--ease-out) both; }
.motion .hero-content > :nth-child(1) { animation-delay: 900ms; }
.motion .hero-content > :nth-child(2) { animation-delay: 1000ms; }
.motion .hero-content > :nth-child(3) { animation-delay: 1150ms; }
.motion .hero-content > :nth-child(4) { animation-delay: 1300ms; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

.scroll-cue {
  position: absolute; z-index: 2; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 64px; display: grid; justify-items: center;
}
.scroll-line {
  width: 1px; height: 56px; background: linear-gradient(rgba(241,244,239,.7), rgba(241,244,239,0));
  transform-origin: top;
  animation: scrollLine 2.4s var(--ease-out) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

.hero-coords {
  position: absolute; z-index: 2; left: var(--gutter); top: 50%;
  writing-mode: vertical-rl; transform: rotate(180deg) translateY(50%);
  display: none; color: var(--text-faint);
}
@media (min-width: 1100px) {
  .hero-coords { display: block; left: auto; right: calc(var(--gutter) - 4px); top: 34%; transform: none; writing-mode: vertical-rl; }
}

/* =========================================================
   INTRO — big statement, words light up while scrolling
   ========================================================= */
/* Fits on one screen: header clearance on top, content centred in the viewport */
.intro {
  position: relative;
  background: #0f1b16; /* version-1 forest tone */
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: clamp(110px, 15vh, 140px) 0 clamp(40px, 6vh, 64px);
}
.intro-grid { display: grid; gap: 32px; }
.statement {
  font-weight: 200;
  font-size: clamp(2.2rem, min(5vw, 8.5vh), 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-wrap: balance;
}
[data-words] .w { display: inline-block; transition: opacity 300ms linear, color 300ms linear; }
.motion [data-words] .w { opacity: 0.16; }
.motion [data-words] .w.on { opacity: 1; }
.intro-side { display: grid; gap: 22px; align-content: start; }
.intro-side .mono-label { color: var(--lichen); }

.chapter-index { margin-top: clamp(32px, 6vh, 72px); border-top: 1px solid var(--line); }
.ci-item { border-bottom: 1px solid var(--line); }
.ci-heading { margin: 0; font: inherit; }

/* Row = button that opens a white panel underneath */
.ci-trigger {
  position: relative; width: 100%;
  display: grid; grid-template-columns: 56px 1fr auto; gap: 6px 20px; align-items: center;
  padding: clamp(14px, 2.4vh, 22px) 0;
  background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.ci-trigger::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(var(--glow-rgb), 0.1), transparent 70%);
  opacity: 0; transition: opacity var(--dur-med) var(--ease-out);
}
.ci-trigger:hover::before { opacity: 1; }
.ci-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--accent); }
.ci-name { font-size: clamp(1.4rem, min(2.4vw, 4vh), 2.1rem); font-weight: 300; letter-spacing: -0.02em; transition: transform var(--dur-med) var(--ease-out); }
.ci-trigger:hover .ci-name { transform: translateX(10px); }
.ci-desc { grid-column: 2 / 3; color: var(--text-muted); font-size: 15px; }
.ci-icon { grid-row: 1 / 3; grid-column: 3; color: var(--text-muted); transition: transform var(--dur-med) var(--ease-out), color var(--dur-fast); }
.ci-trigger:hover .ci-icon { color: var(--accent); }
.ci-trigger[aria-expanded="true"] .ci-icon { transform: rotate(45deg); color: var(--accent); }

/* Open row: quiet emphasis */
.ci-item { transition: background-color var(--dur-med) var(--ease-out); }
.ci-item.is-open { background: linear-gradient(180deg, rgba(var(--glow-rgb), 0.05), transparent 80%); }
.ci-item.is-open .ci-name { color: var(--accent); }

/* Panel: dark, typographic, no box — animates with grid rows */
.ci-panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 600ms var(--ease-out);
}
.ci-item.is-open .ci-panel { grid-template-rows: 1fr; }
.ci-panel-inner { overflow: hidden; min-height: 0; }
.ci-body {
  display: grid; gap: clamp(28px, 4vh, 40px);
  padding: 4px 0 clamp(32px, 5vh, 48px) 76px;
  opacity: 0; transform: translateY(-6px);
  transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out);
}
.ci-item.is-open .ci-body { opacity: 1; transform: none; transition-delay: 120ms; }
.ci-title {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem); font-weight: 200; line-height: 1.2; letter-spacing: -0.02em;
  color: var(--text); text-wrap: balance;
}
.ci-lead { margin-top: 14px; max-width: 58ch; color: var(--text-muted); font-size: 15px; line-height: 1.75; }

.ci-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.ci-points li {
  display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; row-gap: 4px; align-items: start;
}
.ci-points svg, .ci-mark { grid-row: 1 / 3; color: var(--accent); margin-top: 1px; }
.ci-mark { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; padding-top: 4px; }
.ci-points h4 { margin: 0; font-size: 15px; font-weight: 500; letter-spacing: 0.005em; color: var(--text); }
.ci-points p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-muted); }

@media (min-width: 900px) {
  .ci-body { padding-left: 100px; padding-right: 40px; }
  .ci-points { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .ci-points li {
    grid-template-columns: 1fr; row-gap: 10px;
    padding: 4px 28px 0; border-left: 1px solid var(--line);
  }
  .ci-points li:first-child { padding-left: 0; border-left: 0; }
  .ci-points svg, .ci-mark { grid-row: auto; margin-bottom: 6px; }
}
@media (max-width: 599px) {
  .ci-body { padding-left: 0; }
}

@media (min-width: 900px) {
  .intro-grid { grid-template-columns: 1fr 300px; gap: 72px; align-items: start; }
  /* optical alignment: match the cap height of the large statement */
  .intro-side { padding-top: 6px; }
  .ci-desc { grid-column: auto; grid-row: auto; justify-self: end; text-align: right; }
  .ci-trigger { grid-template-columns: 80px 1fr 1fr auto; }
  .ci-icon { grid-row: auto; grid-column: auto; }
}

/* =========================================================
   CHAPTERS — pinned background, content flows over it
   ========================================================= */
.chapter { position: relative; --p: 0; clip-path: inset(0); } /* keeps the pinned bg inside its own scene */
.chapter-bg {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  margin-bottom: -100vh; margin-bottom: -100svh;
  overflow: hidden;
}
.chapter-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(calc(1.25 - var(--p) * 0.22));
  filter: brightness(calc(0.45 + var(--p) * 0.25));
  will-change: transform;
}
.chapter-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, var(--bg) 0%, rgba(7, 13, 10, 0.2) 22%, rgba(7, 13, 10, 0.2) 78%, var(--bg) 100%),
    linear-gradient(90deg, rgba(7, 13, 10, 0.75), rgba(7, 13, 10, 0.1) 70%);
}
.chapter-ghost {
  position: absolute; z-index: 1; right: -0.04em; bottom: -0.18em;
  font-weight: 200; font-size: clamp(14rem, 38vw, 34rem); line-height: 1; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(238, 242, 236, 0.16);
  transform: translateY(calc((0.5 - var(--p)) * 30%));
  pointer-events: none;
}
.chapter-body { position: relative; z-index: 2; padding-top: 34vh; padding-bottom: 30vh; }

/* 01 Tillväxt */
.growth-grid { display: grid; gap: 40px; align-items: end; }
.growth-grid .glass-card { padding: clamp(26px, 3.4vw, 44px); }
.principles { display: grid; gap: 18px; margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.principles li { display: grid; grid-template-columns: 20px 1fr; gap: 14px; color: var(--text-muted); }
.principles svg { color: var(--accent); margin-top: 3px; }
.principles strong { color: var(--text); font-weight: 600; }
@media (min-width: 960px) {
  .growth-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .chapter-head { align-self: start; position: sticky; top: 30vh; }
}

/* 02 Partnerskap — minimal: text + quiet photo
   (previous ring design saved in sparade-designer/version-2-partnerskap-ring/) */
.chapter--partner { padding: var(--section-y) 0; overflow: hidden; }
.partner-text .body { margin-top: 18px; }
.partner-grid { position: relative; display: grid; gap: 56px; align-items: center; }

.partner-figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
}
.partner-figure img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 45%;
  filter: brightness(0.9);
}
@media (min-width: 960px) {
  .partner-grid { grid-template-columns: 1fr 1fr; gap: 96px; }
}

/* 03 Förtroende */
.chapter--loyalty .chapter-bg img { object-position: 50% 85%; }
.chapter--loyalty .chapter-bg::after {
  background:
    linear-gradient(to bottom, var(--bg) 0%, rgba(7, 13, 10, 0.35) 25%, rgba(7, 13, 10, 0.45) 75%, var(--bg) 100%);
}
.chapter--loyalty .chapter-ghost { right: auto; left: -0.04em; }
.loyalty-head { text-align: center; }
.pledge { max-width: 900px; margin: clamp(48px, 7vw, 96px) auto 0; text-align: center; }
.pledge blockquote p {
  font-weight: 300; font-size: clamp(1.35rem, 2.6vw, 2.2rem); line-height: 1.4; letter-spacing: -0.01em;
  text-wrap: pretty;
}
.pledge figcaption { display: inline-flex; align-items: center; gap: 14px; margin-top: 32px; }
.pledge-sep { width: 40px; height: 1px; background: var(--line-strong); }
.loyalty-points { display: grid; gap: 16px; margin-top: clamp(72px, 10vw, 140px); }
.loyalty-points li { padding: 30px 28px; }
.lp-num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-strong); margin-bottom: 26px;
  font-family: var(--mono); font-size: 12px; color: var(--accent);
}
.loyalty-points h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 10px; }
.loyalty-points p { color: var(--text-muted); }
@media (min-width: 860px) { .loyalty-points { grid-template-columns: repeat(3, 1fr); } }

/* =========================================================
   TJÄNSTER
   ========================================================= */
/* Light section: local tokens flip every child (titles, labels, cards, links) to dark-on-white */
.services {
  position: relative; padding: var(--section-y) 0;
  --text: #13201a;
  --text-muted: #4a5a51;
  --text-faint: #5e6d64;
  --line: rgba(19, 32, 26, 0.12);
  --line-strong: rgba(19, 32, 26, 0.24);
  --accent: #2f4a3c;
  --glow-rgb: 47, 74, 60;
  background: #f5f6f2;
  color: var(--text);
}
.services .service { background: #fff; }
.services .service:hover { box-shadow: 0 24px 60px -30px rgba(19, 32, 26, 0.35); }
.services .service-media img { filter: none; }
.services .service:hover .service-media img { filter: none; }
.services .service-num { background: rgba(255, 255, 255, 0.82); color: #13201a; border-color: rgba(19, 32, 26, 0.12); }
.services :focus-visible { outline-color: #2f4a3c; }
.services-head { display: grid; gap: 4px; margin-bottom: clamp(48px, 6vw, 80px); max-width: 760px; }
.service-grid { display: grid; gap: 20px; }
.service {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(to bottom, rgba(24, 43, 34, 0.45), rgba(10, 19, 15, 0.6));
  transition: border-color var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.service:hover { border-color: rgba(var(--glow-rgb), 0.45); box-shadow: 0 0 60px rgba(var(--glow-rgb), 0.08); }
.service-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.82) saturate(0.9); transition: transform 1200ms var(--ease-out), filter var(--dur-med); }
.service:hover .service-media img { transform: scale(1.06); filter: brightness(0.95) saturate(1); }
.service-num {
  position: absolute; left: 16px; top: 16px;
  padding: 6px 12px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  background: rgba(7, 13, 10, 0.6); border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.service-body { display: flex; flex-direction: column; flex: 1; padding: 28px; }
.service-body h3 { font-size: 1.4rem; font-weight: 400; letter-spacing: -0.015em; margin-bottom: 12px; }
.service-body > p { color: var(--text-muted); }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.service-tags li {
  padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted);
}
.service .link-arrow { margin-top: auto; padding-top: 24px; align-self: flex-start; background-position: 0 calc(100% - 8px); }
@media (min-width: 720px) and (max-width: 1023px) {
  .service { display: grid; grid-template-columns: 0.9fr 1.1fr; }
  .service-media { aspect-ratio: auto; min-height: 100%; }
}
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }

/* =========================================================
   OM OSS
   ========================================================= */
.about .chapter-bg img { object-position: 50% 30%; }
.about-grid { display: grid; gap: 48px; align-items: end; }
.facts { padding: 8px 28px; }
.facts div { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); }
.facts dd { font-size: 1.1rem; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1.4fr 1fr; gap: 96px; } }

/* =========================================================
   KONTAKT
   ========================================================= */
.contact { position: relative; padding: var(--section-y) 0; overflow: hidden; }
.contact-glow {
  position: absolute; left: 50%; bottom: -40%; width: 120vw; height: 80vw; max-height: 900px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--glow-rgb), 0.16), transparent);
}
.contact-grid { position: relative; display: grid; gap: 56px; }
.contact-intro .body { margin-top: 24px; }
.contact-list { display: grid; gap: 14px; margin-top: 36px; }
.contact-list li { display: flex; align-items: center; gap: 14px; color: var(--text-muted); }
.contact-list svg { color: var(--accent); flex: none; }
.contact-list a { text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.contact-list a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }

.contact-form { padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; gap: 20px; }
.field label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.field label span { color: var(--accent); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 13px 16px;
  font: inherit; font-size: 16px; color: var(--text);
  background: rgba(7, 13, 10, 0.55); border: 1px solid var(--line-strong); border-radius: 12px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background-color var(--dur-fast);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field textarea:hover { border-color: rgba(238, 242, 236, 0.42); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--lichen); box-shadow: 0 0 0 3px rgba(201, 214, 180, 0.22); background: rgba(7, 13, 10, 0.75); }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field-error { min-height: 0; font-size: 14px; color: var(--error); }
.field-error:empty { display: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
.form-note { font-family: var(--mono); font-size: 12px; color: var(--text-faint); letter-spacing: 0.06em; }
.form-status { color: var(--lichen); }
.form-status:empty { display: none; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 96px; align-items: start; } }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { position: relative; padding: clamp(56px, 6vw, 80px) 0 32px; border-top: 1px solid var(--line); }
.footer-mark {
  display: inline-flex; gap: 0.55em; text-decoration: none;
  font-size: 15px; letter-spacing: 0.32em; line-height: 1;
  color: var(--text);
}
.footer-mark .wm-light { opacity: 0.6; }
.footer-tagline { margin-top: 14px; font-size: 14px; color: var(--text-faint); }
.footer-main { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-main { grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; } }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(40px, 5vw, 56px); padding-top: 28px; border-top: 1px solid var(--line); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-nav a {
  display: inline-flex; min-height: 40px; align-items: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none;
}
.footer-nav a:hover { color: var(--text); }
.footer-legal { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--text-faint); }

/* =========================================================
   START — calm, centred: one word, quiet line under it
   ========================================================= */
.hero--calm .hero-stage { align-items: center; }
.hero--calm .hero-content {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 96px var(--gutter) 72px;
}
.hero-word {
  margin: 22px 0 18px;
  font-weight: 200;
  font-size: clamp(3.4rem, 13vw, 11rem);
  line-height: 0.95;
  letter-spacing: 0.14em; margin-right: -0.14em; /* optical centring for the tracking */
  text-transform: uppercase;
}
.hero-sub {
  font-weight: 300; font-size: clamp(1rem, 1.6vw, 1.3rem); letter-spacing: 0.02em;
  color: #d3ddd5;
}
.hero--calm .hero-actions { justify-content: center; align-items: center; gap: 28px; margin-top: 44px; }
.hero-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1px no-repeat;
  transition: color var(--dur-fast), background-size var(--dur-med) var(--ease-out);
}
.hero-link:hover { color: var(--text); background-size: 100% 1px; }

/* =========================================================
   DRIVKRAFT — the step up after "Vår grund": drive, will, strength
   ========================================================= */
.drive {
  position: relative;
  background: var(--night);
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line);
}
.drive-label { color: var(--lichen); margin-bottom: clamp(32px, 5vh, 56px); }
.manifesto {
  display: grid; gap: 0.08em;
  font-weight: 200;
  font-size: clamp(2rem, 4.6vw, 4.4rem); /* max size keeps the longest line (≈15.2em incl. indent) inside the container */
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.manifesto-line { display: block; }
.manifesto .w.em { font-weight: 400; color: var(--lichen); }
@media (min-width: 900px) {
  /* each line steps forward: a quiet sense of momentum */
  .manifesto-line:nth-child(2) { padding-left: 1em; }
  .manifesto-line { white-space: nowrap; } /* each statement stays on one row on larger screens */
  .manifesto-line:nth-child(3) { padding-left: 2em; }
}

.drive-grid {
  display: grid; gap: 28px;
  margin-top: clamp(72px, 10vw, 140px);
  padding-top: 40px; border-top: 1px solid var(--line);
}
.drive-lead {
  font-weight: 300; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.25; letter-spacing: -0.015em;
  text-wrap: balance; max-width: 22ch;
}
@media (min-width: 960px) { .drive-grid { grid-template-columns: 1fr 1fr; gap: 96px; } }

.drive-points { list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 0; display: grid; gap: 36px; }
.drive-points li { display: grid; gap: 10px; align-content: start; }
.dp-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--accent); }
.drive-points h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.01em; }
.drive-points p { color: var(--text-muted); max-width: 38ch; }
@media (min-width: 900px) {
  .drive-points { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .drive-points li { padding: 0 36px; border-left: 1px solid var(--line); }
  .drive-points li:first-child { padding-left: 0; border-left: 0; }
}
.drive-links { display: flex; flex-wrap: wrap; gap: 8px 44px; margin-top: clamp(48px, 6vw, 80px); }

/* =========================================================
   SUB PAGES — Partnerskap, Karriär, Om oss, Kontakt
   ========================================================= */
/* Sub pages: the header is transparent with no line at the top, like the start page; the bar fades in on scroll */
.page-hero {
  background: #0f1b16;
  padding: clamp(150px, 22vh, 220px) 0 clamp(64px, 9vh, 104px);
}
.page-hero .mono-label { color: var(--lichen); margin-bottom: 22px; }
.page-hero .section-title { max-width: 16ch; }
.page-hero .body-lg { margin-top: 24px; }
.page-hero-cta { margin-top: 36px; }
.contact--page .contact-intro > .mono-label,
.page-sub .about-text > .mono-label { color: var(--lichen); margin-bottom: 22px; }
.services--page { padding-top: clamp(64px, 9vw, 120px); }
.contact--page { padding-top: clamp(150px, 22vh, 220px); }

/* Karriär */
.career { background: #0f1b16; padding: 0 0 clamp(72px, 10vw, 128px); }
.career > .container > .mono-label { color: var(--lichen); padding-top: 40px; border-top: 1px solid var(--line); }
.perks { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 28px; }
.perks li { display: grid; gap: 8px; align-content: start; }
.perks .ci-mark { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 6px; }
.perks h3 { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.005em; }
.perks p { color: var(--text-muted); font-size: 15px; max-width: 40ch; }
@media (min-width: 900px) {
  .perks { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .perks li { padding: 0 32px; border-left: 1px solid var(--line); }
  .perks li:first-child { padding-left: 0; border-left: 0; }
}
.apply { padding: clamp(80px, 11vw, 150px) 0; }
.apply-grid { display: grid; gap: 48px; }
.apply-intro .body { margin-top: 24px; }
@media (min-width: 960px) { .apply-grid { grid-template-columns: 0.9fr 1.1fr; gap: 96px; align-items: start; } }

.field-hint { font-size: 14px; color: var(--text-faint); }
.field--check { grid-template-columns: 22px 1fr; align-items: start; column-gap: 14px; }
.field--check input {
  width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0;
  accent-color: var(--lichen); cursor: pointer;
}
.field--check label { font-family: var(--font); font-size: 14px; letter-spacing: 0; text-transform: none; line-height: 1.55; color: var(--text-muted); cursor: pointer; }
.field--check .field-error { grid-column: 2; }

/* =========================================================
   KARRIÄR — split hero + clean light sections (inspired by isales.se/karriar)
   ========================================================= */
/* Reusable light theme: local tokens flip text, lines, accent and forms */
.theme-light {
  --text: #13201a;
  --text-muted: #4a5a51;
  --text-faint: #5e6d64;
  --line: rgba(19, 32, 26, 0.12);
  --line-strong: rgba(19, 32, 26, 0.22);
  --accent: #2f4a3c;
  --on-accent: #ffffff;
  --error: #b3261e;
  --glow-rgb: 47, 74, 60;
  background: #f5f6f2;
  color: var(--text);
}
.theme-light .mono-label { color: var(--text-faint); }
.theme-light :focus-visible { outline-color: #2f4a3c; }
.theme-light .btn--primary:hover { background: #23392e; box-shadow: none; }

.career-hero { display: grid; background: #0a130f; }
.career-hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px, 8vh, 80px) var(--gutter) clamp(64px, 10vh, 104px);
}
.career-hero-text .mono-label { color: var(--lichen); }
.career-title {
  margin: 22px 0 26px;
  font-weight: 200; font-size: clamp(2.8rem, 4.6vw, 5.6rem); line-height: 0.98; letter-spacing: -0.035em;
  white-space: nowrap; /* a three-word headline should never break */
}
.career-hero-text .body-lg { max-width: 46ch; }
.career-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 40px; }
.career-hero-media { margin: 0; position: relative; overflow: hidden; height: 62svh; min-height: 380px; }
.career-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.career-hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(10, 19, 15, 0.35), transparent 30%);
}
@media (max-width: 959px) {
  .career-hero-media { order: -1; margin-top: 68px; }
}
@media (min-width: 960px) {
  .career-hero { grid-template-columns: 1fr 1fr; min-height: 100vh; min-height: 100svh; }
  .career-hero-text { padding: 140px clamp(40px, 5vw, 96px) 80px clamp(40px, 7vw, 140px); }
  .career-hero-media { height: auto; min-height: 0; }
  .career-hero-media::after { background: linear-gradient(to bottom, rgba(10, 19, 15, 0.7), rgba(10, 19, 15, 0) 22%), linear-gradient(to right, #0a130f, transparent 18%); }
}

.career-block { padding: clamp(80px, 10vw, 140px) 0; }
.career-block + .career-block, .career-block + .apply { border-top: 1px solid rgba(19, 32, 26, 0.1); }
.block-head { margin-bottom: clamp(40px, 6vw, 72px); }
.block-head .mono-label { margin-bottom: 18px; }

.offer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 36px 32px; }
.offer-list li { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.ol-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--accent); }
.offer-list h3 { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.01em; }
.offer-list p { color: var(--text-muted); font-size: 15px; }
@media (min-width: 640px) { .offer-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .offer-list { grid-template-columns: repeat(4, 1fr); } }

.career-block--statement { background: #fff; }
.who-grid { display: grid; gap: 24px; }
.who-quote { font-weight: 300; font-size: clamp(1.6rem, 3.2vw, 2.7rem); line-height: 1.28; letter-spacing: -0.02em; text-wrap: balance; max-width: 30ch; }
.who-traits { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.who-traits li {
  padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted);
}
@media (min-width: 960px) { .who-grid { grid-template-columns: 1fr 3fr; gap: 64px; } }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; position: relative; }
.timeline li { position: relative; display: grid; gap: 8px; align-content: start; padding-left: 32px; }
.timeline li::before { /* vertical line on small screens */
  content: ""; position: absolute; left: 4px; top: 6px; bottom: -32px; width: 1px; background: var(--line-strong);
}
.timeline li:last-child::before { display: none; }
.tl-dot { position: absolute; left: 0; top: 2px; width: 9px; height: 9px; border-radius: 50%; background: var(--text); }
.tl-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--accent); }
.timeline h3 { font-size: 1.15rem; font-weight: 500; }
.timeline p { color: var(--text-muted); font-size: 15px; max-width: 30ch; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
  .timeline li { padding: 34px 0 0; }
  .timeline li::before { left: 0; right: -32px; top: 4px; bottom: auto; width: auto; height: 1px; display: block; }
  .timeline li:last-child::before { right: 0; }
}

/* Form on light */
.theme-light .apply-card {
  background: #fff; border: 1px solid rgba(19, 32, 26, 0.1); border-radius: 18px;
  box-shadow: 0 30px 80px -50px rgba(19, 32, 26, 0.35);
}
.theme-light .field label { color: var(--text-muted); }
.theme-light .field input, .theme-light .field textarea {
  background: #fff; color: var(--text); border-color: rgba(19, 32, 26, 0.2);
}
.theme-light .field input:hover, .theme-light .field textarea:hover { border-color: rgba(19, 32, 26, 0.4); }
.theme-light .field input:focus, .theme-light .field textarea:focus {
  background: #fff; border-color: #2f4a3c; box-shadow: 0 0 0 3px rgba(47, 74, 60, 0.16);
}
.theme-light .field--check input { accent-color: #2f4a3c; }
.theme-light .form-status { color: #2f4a3c; }

/* ---------- Karriär: closing "Ansök" band ---------- */
.career-cta { background: #fff; }
.career-cta-inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.career-cta .mono-label { margin-bottom: 18px; }

/* =========================================================
   ANSÖK — job page for private persons (inspired by isales.se job ads)
   ========================================================= */
.job { padding: clamp(120px, 16vh, 150px) 0 clamp(80px, 10vw, 130px); }
.job-wrap { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.job-back {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 18px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none;
}
.job-back:hover { color: var(--text); }

.job-banner {
  position: relative; overflow: hidden; border-radius: 18px;
  min-height: clamp(320px, 42vh, 420px);
  display: grid; place-items: center; text-align: center;
  color: #f1f4ef; isolation: isolate;
}
.job-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; z-index: -2; }
.job-banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(10, 19, 15, 0.45), rgba(10, 19, 15, 0.78));
}
.job-banner-inner { padding: 40px clamp(20px, 5vw, 56px); display: grid; justify-items: center; gap: 18px; }
.job-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.job-tags li {
  padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(241, 244, 239, 0.45);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(10, 19, 15, 0.25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.job-title { font-weight: 300; font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.job-intro { max-width: 50ch; color: rgba(241, 244, 239, 0.86); }

.job-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin: 28px 0 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.job-facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 6px; }
.job-facts dd { margin: 0; font-size: 16px; font-weight: 500; }
@media (max-width: 520px) { .job-facts { grid-template-columns: 1fr; } }

.job-section-title { margin: clamp(56px, 8vw, 80px) 0 28px; font-weight: 300; font-size: clamp(1.8rem, 3.4vw, 2.4rem); letter-spacing: -0.02em; }
.job-form { display: grid; gap: 28px; }

fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.field--choice legend { padding: 0; margin-bottom: 12px; font-size: 15px; font-weight: 500; color: var(--text); }
.field--choice legend span { color: var(--accent); }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 88px; padding: 0 22px;
  border-radius: 999px; border: 1px solid rgba(19, 32, 26, 0.22); background: #fff;
  font-size: 15px; font-weight: 500; color: var(--text);
  transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.choice:hover span { border-color: rgba(19, 32, 26, 0.45); }
.choice input:checked + span { background: #13201a; border-color: #13201a; color: #fff; }
.choice input:focus-visible + span { outline: 2px solid #2f4a3c; outline-offset: 3px; }
.field--choice.has-error .choice span { border-color: var(--error); }

.job-divider { display: flex; align-items: center; gap: 18px; margin-top: 12px; }
.job-divider::before, .job-divider::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.job-divider span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.job-note { font-size: 14px; color: var(--text-faint); }

/* =========================================================
   PARTNERSKAP — offer rows + how we work (content inspired by isales.se/metod)
   ========================================================= */
.offer { background: var(--night); padding: var(--section-y) 0; }
.offer .mono-label, .how .mono-label { color: var(--lichen); margin-bottom: 18px; }
/* Centred section intros (as on isales.se/metod) */
.block-head--center { text-align: center; display: grid; justify-items: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.block-head--center .body-lg { margin-top: 18px; max-width: 56ch; }
.page-hero--center { text-align: center; }
.page-hero--center .container { display: grid; justify-items: center; }
.page-hero--center .section-title { max-width: 18ch; }
.page-hero--center .body-lg { max-width: 52ch; }

/* Offer: 2 × 2 cards */
.offer-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.offer-card {
  display: grid; gap: 14px; align-content: start;
  padding: clamp(28px, 3.4vw, 44px);
  border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(to bottom, rgba(24, 43, 34, 0.35), rgba(10, 19, 15, 0.2));
  transition: border-color var(--dur-med) var(--ease-out);
}
.offer-card:hover { border-color: rgba(201, 214, 180, 0.35); }
.offer-name { display: grid; gap: 18px; }
.offer-name h3 { font-weight: 300; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -0.02em; }
.offer-tagline { font-size: 1.05rem; font-weight: 400; color: var(--lichen); margin-bottom: 10px; }
.offer-body > p:not(.offer-tagline) { color: var(--text-muted); }
.offer-tags { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.offer-tags li {
  padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted);
}
@media (min-width: 860px) { .offer-grid { grid-template-columns: 1fr 1fr; } }

/* Word band: three large words instead of statistics */
.word-band {
  display: grid; gap: 0; margin: clamp(64px, 8vw, 104px) 0 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.word-band div { padding: clamp(28px, 4vw, 44px) 0; text-align: center; }
.word-band div + div { border-top: 1px solid var(--line); }
.word-band dt { font-weight: 200; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -0.03em; }
.word-band dd { margin: 12px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); }
@media (min-width: 860px) {
  .word-band { grid-template-columns: repeat(3, 1fr); }
  .word-band div + div { border-top: 0; border-left: 1px solid var(--line); }
}

/* Centred timeline: dots on the line, text centred under each dot */
@media (min-width: 900px) {
  .timeline--center li { text-align: center; justify-items: center; padding-top: 40px; }
  .timeline--center li::before { left: 50%; right: calc(-50% - 32px); top: 4px; }
  .timeline--center li:last-child::before { display: none; }
  .timeline--center .tl-dot { left: calc(50% - 4.5px); top: 0; }
  .timeline--center p { margin: 0 auto; }
}

.how { background: #0f1b16; padding: var(--section-y) 0; }
.offer--band { padding: clamp(56px, 7vw, 96px) 0; }
.offer--band .word-band { margin-top: 0; }
.services--page { padding-top: var(--section-y); }

/* =========================================================
   OM OSS — centred intro, Vår grund, facts, "Vill du veta mer?"
   ========================================================= */
.about-hero {
  position: relative; isolation: isolate;
  min-height: 78vh; min-height: 78svh;
  display: grid; place-items: center; text-align: center;
  padding: clamp(140px, 20vh, 190px) 0 clamp(80px, 12vh, 120px);
}
.about-hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.about-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: brightness(0.42) saturate(0.85); }
.about-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10, 19, 15, 0.55) 0%, rgba(10, 19, 15, 0.2) 45%, #0f1b16 100%);
}
.about-hero-inner { max-width: 920px; display: grid; justify-items: center; }
.about-hero .mono-label { color: var(--lichen); }
.about-title {
  margin: 22px 0 26px;
  font-weight: 200; font-size: clamp(2.4rem, 5.2vw, 4.6rem); line-height: 1.05; letter-spacing: -0.03em;
  text-wrap: balance;
}
.about-hero .body-lg { margin: 0 auto; max-width: 58ch; color: #d3ddd5; }

/* Vår grund on a sub page: no full-screen height, normal rhythm */
.page-sub .intro { min-height: 0; padding: clamp(72px, 10vw, 130px) 0 clamp(40px, 6vw, 72px); }

.about-facts { background: #0f1b16; padding: 0 0 var(--section-y); }
.facts-row { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.facts-row div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.facts-row dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 6px; }
.facts-row dd { margin: 0; font-size: 1.05rem; }
@media (min-width: 900px) {
  .facts-row { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
  .facts-row div { border-bottom: 0; padding: 26px 24px; border-left: 1px solid var(--line); }
  .facts-row div:first-child { padding-left: 0; border-left: 0; }
}

.about-cta { background: #fff; padding: clamp(90px, 12vw, 150px) 0; text-align: center; }
.about-cta-inner { display: grid; justify-items: center; gap: 18px; }
.about-cta .body { margin: 0 auto 14px; }

/* =========================================================
   FOOTER details, KONTAKT "Har vi ringt dig?", INTEGRITETSPOLICY
   ========================================================= */
/* Footer: four even columns under the wordmark */
.footer-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px;
}
.footer-grid p, .footer-links a { font-size: 14px; line-height: 1.75; color: var(--text-muted); }
.footer-grid a { color: var(--text-muted); text-decoration: none; overflow-wrap: anywhere; }
.footer-grid a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-h { font-family: var(--mono); font-size: 11px !important; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint) !important; margin-bottom: 10px; }
.footer-policy { text-decoration: none; }
.footer-policy:hover { color: var(--text); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.form-privacy { font-size: 13px; color: var(--text-faint); }
.form-privacy a, .field--check label a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.called { background: #fff; padding: var(--section-y) 0; }
.called-grid { display: grid; gap: 40px; }
.called .mono-label { margin-bottom: 18px; }
.called .body { margin-top: 20px; }
.called-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.called-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.called-list h3 { font-size: 1.05rem; font-weight: 500; margin-bottom: 6px; }
.called-list p { color: var(--text-muted); font-size: 15px; }
.called-stop { margin-top: 32px; display: grid; gap: 18px; justify-items: start; }
.called-stop p { color: var(--text-muted); }
.called-stop strong { color: var(--text); font-weight: 600; }
@media (min-width: 960px) { .called-grid { grid-template-columns: 0.9fr 1.1fr; gap: 96px; } }

.legal-updated { margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--text-faint); }
.legal { padding: clamp(64px, 9vw, 110px) 0 var(--section-y); }
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.legal h2 { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.01em; margin: 48px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--text-muted); line-height: 1.75; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0; padding-left: 20px; list-style: disc; }
.legal li { margin: 6px 0; }
.legal li strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--text); text-underline-offset: 3px; }
.legal-case { margin-top: 20px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.legal-case h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 12px; }
.legal-case dl { margin: 0; display: grid; gap: 10px; }
.legal-case div { display: grid; gap: 2px; }
.legal-case dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); }
.legal-case dd { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.6; }
@media (min-width: 640px) { .legal-case div { grid-template-columns: 150px 1fr; gap: 16px; } }

/* =========================================================
   START — two paths as dark image "doors" (same cinematic tone as the hero)
   ========================================================= */
.doors { display: grid; background: var(--night); border-top: 1px solid var(--line); }
.door {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(420px, 70vh, 680px);
  padding: clamp(32px, 5vw, 72px);
  color: var(--text); text-decoration: none;
}
.door + .door { border-top: 1px solid var(--line); }
.door img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.38) saturate(0.75);
  transform: scale(1.02);
  transition: transform 1400ms var(--ease-out), filter 900ms var(--ease-out);
}
.door::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(7, 13, 10, 0.92) 0%, rgba(7, 13, 10, 0.35) 55%, rgba(7, 13, 10, 0.15) 100%);
}
.door:hover img, .door:focus-visible img { transform: scale(1.07); filter: brightness(0.55) saturate(0.9); }
.door-body { display: grid; gap: 14px; max-width: 30rem; }
.door .mono-label { color: var(--lichen); }
.door h2 { font-weight: 200; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.door-text { color: #d3ddd5; max-width: 40ch; }
.door-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lichen);
}
.door-link svg { transition: transform var(--dur-fast) var(--ease-out); }
.door:hover .door-link svg { transform: translateX(5px); }
.door:focus-visible { outline: 2px solid var(--lichen); outline-offset: -6px; }
@media (min-width: 860px) {
  .doors { grid-template-columns: 1fr 1fr; }
  .door + .door { border-top: 0; border-left: 1px solid var(--line); }
}

/* Partnerskap: intro + white offering cards in one section on the dark-green background */
.partner-top { padding-bottom: var(--section-y); }
.page-hero--center .services--inline { display: block; text-align: left; }
.services.services--inline { background: transparent; padding: 0 var(--gutter); margin-top: clamp(48px, 6vw, 80px); }

/* Partnerskap: four offering cards as a 2 × 2 grid */
.service-tagline { color: var(--accent) !important; font-weight: 500; margin: -4px 0 10px; }
@media (min-width: 1024px) {
  .service-grid--four { grid-template-columns: repeat(2, 1fr); }
  .service-grid--four .service-media { aspect-ratio: 16 / 9; }
}

/* Partnerskap: text-only offering cards, light "Så jobbar vi", dark ending */
.service-grid--four .service-body { padding: clamp(28px, 3vw, 44px); }
.card-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--text-faint) !important; margin-bottom: 18px; }
.how.theme-light { background: #f5f6f2; }
.how.theme-light .mono-label { color: var(--text-faint); }
.about-cta--dark { background: var(--night); border-top: 1px solid var(--line); }
.about-cta--dark .body { color: var(--text-muted); }

/* =========================================================
   PARTNERSKAP v3 — own identity: offer switcher, three-step start, forest close
   ========================================================= */
.partner-top .container > .body-lg { margin-top: 24px; max-width: 54ch; }

.offer-switch {
  display: grid; gap: 40px;
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.os-list { display: grid; align-content: start; }
.os-tab {
  position: relative; width: 100%;
  display: grid; grid-template-columns: 48px 1fr; align-items: baseline;
  padding: 20px 0; background: none; border: 0; border-bottom: 1px solid var(--line);
  color: var(--text-muted); font: inherit; text-align: left; cursor: pointer;
  transition: color var(--dur-fast);
}
.os-tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--lichen); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-med) var(--ease-out);
}
.os-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--text-faint); }
.os-name { font-weight: 300; font-size: clamp(1.35rem, 2.2vw, 1.9rem); letter-spacing: -0.02em; line-height: 1.2; transition: transform var(--dur-med) var(--ease-out); }
.os-tab:hover { color: var(--text); }
.os-tab:hover .os-name { transform: translateX(6px); }
.os-tab[aria-selected="true"] { color: var(--text); }
.os-tab[aria-selected="true"] .os-num { color: var(--lichen); }
.os-tab[aria-selected="true"]::after { transform: scaleX(1); }

.os-panels { position: relative; }
.os-panel { padding-top: 8px; }
.motion .os-panel:not([hidden]) { animation: os-in 600ms var(--ease-out) both; }
@keyframes os-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.os-tagline { font-weight: 200; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.os-text { margin-top: 24px; max-width: 54ch; color: var(--text-muted); font-size: 17px; line-height: 1.75; }
.os-keys { margin-top: 26px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lichen); }
.os-panel .link-arrow { margin-top: 30px; }
@media (min-width: 900px) {
  .offer-switch { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: clamp(56px, 7vw, 112px); }
  .os-panel { padding-top: 20px; }
}

.partner-start { background: #f5f6f2; padding: var(--section-y) 0; }
.ps-head { margin-bottom: clamp(48px, 6vw, 80px); }
.ps-head .mono-label { margin-bottom: 18px; }
.ps-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 48px; counter-reset: none; }
.ps-steps li { display: grid; align-content: start; gap: 12px; }
.ps-num {
  font-weight: 200; font-size: clamp(4.5rem, 9vw, 8rem); line-height: 0.9; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(19, 32, 26, 0.45);
}
.ps-steps h3 { margin-top: 8px; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; }
.ps-steps p { color: var(--text-muted); max-width: 34ch; }
@media (min-width: 900px) { .ps-steps { grid-template-columns: repeat(3, 1fr); gap: clamp(40px, 5vw, 80px); } }

.partner-close {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(110px, 15vw, 200px) 0; text-align: center;
}
.partner-close-bg { position: absolute; inset: 0; z-index: -1; }
.partner-close-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: brightness(0.38) saturate(0.8); }
.partner-close-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7, 13, 10, 0.55), rgba(7, 13, 10, 0.25) 50%, rgba(7, 13, 10, 0.7)); }
.partner-close-inner { display: grid; justify-items: center; }
.partner-close .body-lg { margin: 20px auto 36px; max-width: 50ch; color: #d3ddd5; }

/* Start page: a quiet pause of dark space between the image panels and the footer */
.page-home .site-footer { padding-top: clamp(110px, 12vw, 180px); }

/* Partnerskap: four offers side by side – everything visible, no clicking */
.offer-cols {
  list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: clamp(32px, 4vw, 48px) 0 0;
  border-top: 1px solid var(--line);
  display: grid; gap: 44px;
}
.offer-cols li { display: grid; align-content: start; gap: 12px; }
.oc-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--lichen); }
.oc-name { font-weight: 300; font-size: clamp(1.45rem, 2vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.15; margin-top: 6px; }
.oc-tagline { font-size: 15px; font-weight: 500; color: var(--text); }
.oc-text { font-size: 15px; line-height: 1.7; color: var(--text-muted); }
.oc-keys { margin-top: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
.offer-cols-link { margin-top: clamp(40px, 5vw, 56px); }
@media (min-width: 700px) { .offer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; } }
@media (min-width: 1100px) {
  .offer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .offer-cols li { padding: 0 28px; border-left: 1px solid var(--line); }
  .offer-cols li:first-child { padding-left: 0; border-left: 0; }
  .offer-cols li:last-child { padding-right: 0; }
}

/* Partnerskap closing: plain dark, no image */
.partner-close { background: var(--night); border-top: 1px solid var(--line); }

/* Om oss: the three cores in the switcher design */
.core-switch { margin-top: clamp(48px, 6vw, 80px); }
.os-points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; }
.os-points li { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; row-gap: 4px; align-items: start; align-content: start; }
.os-points svg, .os-points .ci-mark { grid-row: 1 / 3; color: var(--lichen); margin-top: 2px; }
.os-points .ci-mark { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; padding-top: 3px; }
.os-points h4 { margin: 0; font-size: 15px; font-weight: 500; color: var(--text); }
.os-points p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-muted); }
@media (min-width: 1100px) {
  .os-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .os-points li { grid-template-columns: 1fr; padding: 0 22px; border-left: 1px solid var(--line); }
  .os-points li:first-child { padding-left: 0; border-left: 0; }
  .os-points svg, .os-points .ci-mark { grid-row: auto; margin-bottom: 6px; }
}

/* Partnerskap on the Karriär template: a longer headline that may wrap */
.career-title--wrap { white-space: normal; text-wrap: balance; font-size: clamp(2.4rem, 4.2vw, 4.2rem); line-height: 1.02; }
.career-block .ps-steps { margin-top: 0; }

/* Partnerskap: four cards in one row on a near-black background */
.offer-cols--cards { border-top: 0; padding-top: 0; gap: 16px; }
.offer-cols--cards li {
  padding: clamp(28px, 2.6vw, 40px) clamp(24px, 2.2vw, 32px) !important;
  border: 1px solid var(--line) !important; border-radius: 16px;
  background: #0f1b16;
  gap: 14px;
  transition: border-color var(--dur-med) var(--ease-out);
}
.offer-cols--cards li:hover { border-color: rgba(201, 214, 180, 0.4) !important; }
.offer-cols--cards .oc-name { margin-top: 18px; }
.offer-cols--cards .oc-tagline { color: var(--lichen); font-weight: 400; }
@media (min-width: 1100px) { .offer-cols--cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }


/* Partnerskap: a calm centered column – one title and one sentence per part */
.partner-calm { padding-bottom: clamp(110px, 13vw, 180px); }
.partner-calm .section-title { max-width: 16ch; text-wrap: balance; }
.calm-rule { display: block; width: 48px; height: 1px; background: var(--lichen); margin: clamp(56px, 7vw, 88px) auto 0; opacity: 0.7; }
.calm-list { list-style: none; margin: clamp(56px, 7vw, 88px) 0 0; padding: 0; display: grid; gap: clamp(44px, 5.5vw, 68px); }
.calm-list h3 { font-weight: 300; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.15; color: var(--text); }
.calm-list p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--text-muted); }
.calm-link { margin-top: clamp(64px, 8vw, 104px); }

/* Partnerskap: three steps on the centred timeline */
@media (min-width: 900px) { .timeline--three { grid-template-columns: repeat(3, 1fr); max-width: 960px; margin-inline: auto; } }

/* Partnerskap: four dark cards in one row on a near-black background */
.partner-top { background: var(--night); }
.partner-top .services--inline {
  --text: #eef2ec; --text-muted: #a9b8ad; --text-faint: #7f8f84;
  --line: rgba(238, 242, 236, 0.12); --line-strong: rgba(238, 242, 236, 0.24);
  --accent: var(--lichen); --glow-rgb: 201, 214, 180;
  color: var(--text);
}
.partner-top .services .service {
  background: linear-gradient(to bottom, rgba(238, 242, 236, 0.045), rgba(238, 242, 236, 0.015));
  border-color: var(--line);
}
.partner-top .services .service:hover { border-color: rgba(201, 214, 180, 0.38); box-shadow: none; }
.partner-top .services :focus-visible { outline-color: var(--lichen); }
@media (min-width: 1280px) {
  .partner-top .services--inline { max-width: 1520px; }
  .partner-top .service-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .partner-top .service-grid--four .service-body { padding: clamp(26px, 2.2vw, 34px) clamp(22px, 1.9vw, 28px); }
  .partner-top .service-body h3 { font-size: 1.4rem; }
  .partner-top .service-body > p { font-size: 15px; line-height: 1.65; }
  .partner-top .service .link-arrow { white-space: nowrap; gap: 8px; }
}

/* Partnerskap cards without a link: tags sit at the bottom so all cards end evenly */
.partner-top .service-tags { margin-top: auto; padding-top: 24px; }

/* Om oss: a lower, darker image hero and a calmer second heading */
.about-hero { min-height: 66vh; min-height: 66svh; padding: clamp(130px, 17vh, 160px) 0 clamp(64px, 9vh, 96px); }
.about-hero-bg img { filter: brightness(0.32) saturate(0.8); }
.statement--quiet { font-weight: 300; font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1.12; letter-spacing: -0.025em; max-width: 20ch; text-wrap: balance; }

/* Om oss: one heading on the image, the intro text opens the next section */
.about-hero .about-title { margin: 0; max-width: 18ch; }
.intro-lead .body-lg { font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.55; font-weight: 300; color: var(--text); max-width: 34ch; }

/* Header over a light section: dark logo and menu (switched by script.js) */
.site-header .wordmark, .site-nav a, .menu-toggle { transition: color var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out), background-color var(--dur-fast); }
.site-header.on-light .wordmark, .site-header.on-light .menu-toggle { color: #13201a; }
.site-header.on-light .site-nav a { color: rgba(19, 32, 26, 0.85); }
.site-header.on-light .site-nav a:hover { color: #13201a; }
.site-header.on-light .site-nav .nav-cta { border-color: rgba(19, 32, 26, 0.35); }
.site-header.on-light .site-nav .nav-cta:hover { background: #13201a; color: #f5f6f2; border-color: #13201a; }
@media (max-width: 900px) {
  /* The open mobile menu is dark, so keep everything light while it is open */
  .site-header.on-light:has(.site-nav.is-open) .wordmark, .site-header.on-light:has(.site-nav.is-open) .menu-toggle { color: #f1f4ef; }
  .site-header.on-light .site-nav a { color: rgba(241, 244, 239, 0.88); }
  .site-header.on-light .site-nav .nav-cta { border-color: rgba(241, 244, 239, 0.4); }
}

/* Kontakt: one calm centred column – heading, a short line, a quiet form */
.contact-simple { padding: clamp(150px, 22vh, 210px) 0 clamp(96px, 12vw, 150px); }
.contact-simple-inner { max-width: 720px; display: grid; justify-items: center; text-align: center; }
.contact-simple .section-title { max-width: 16ch; text-wrap: balance; }
.contact-simple .body-lg { margin-top: 22px; max-width: 52ch; color: var(--text-muted); }
.contact-simple .body-lg a { color: var(--text); text-underline-offset: 4px; text-decoration-color: rgba(238, 242, 236, 0.35); white-space: nowrap; }
.contact-simple .body-lg a:hover { text-decoration-color: currentColor; }
.contact-form--line { width: 100%; margin-top: clamp(48px, 6vw, 72px); padding: 0; gap: 28px; text-align: left; }
.contact-form--line .field-row { gap: 28px; }
.contact-form--line .field input, .contact-form--line .field textarea {
  min-height: 0; padding: 10px 0 12px; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: transparent;
}
.contact-form--line .field textarea { min-height: 110px; }
.contact-form--line .field input:hover, .contact-form--line .field textarea:hover { border-bottom-color: rgba(238, 242, 236, 0.5); }
.contact-form--line .field input:focus, .contact-form--line .field textarea:focus { background: transparent; box-shadow: none; border-bottom-color: var(--lichen); }
.contact-form--line .field.has-error input, .contact-form--line .field.has-error textarea { border-bottom-color: var(--error); }
.contact-form--line .form-privacy { font-size: 14px; color: var(--text-faint); }
.contact-form--line .form-privacy a { color: var(--text-muted); }
.contact-form--line .btn { justify-self: center; margin-top: 8px; }
.contact-form--line .form-status { text-align: center; }
.contact-optout { margin-top: clamp(56px, 7vw, 80px); padding-top: 28px; border-top: 1px solid var(--line); width: 100%; font-size: 14px; color: var(--text-faint); }
.contact-optout a { color: var(--text-muted); text-underline-offset: 4px; }
.contact-optout a:hover { color: var(--text); }

/* Kontakt: one quiet section – details left, "Har vi ringt dig?" right */
.contact-page { padding: clamp(150px, 22vh, 210px) 0 clamp(96px, 12vw, 150px); }
.contact-page-head { max-width: 640px; }
.contact-page-head .body-lg { margin-top: 20px; color: var(--text-muted); }
.contact-cols { display: grid; gap: 64px; margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line); }
.contact-col { display: grid; align-content: start; gap: 22px; }
.contact-col-title { font-size: 1.35rem; font-weight: 400; letter-spacing: -0.01em; }
.contact-dl { margin: 0; display: grid; }
.contact-dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-dl dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); padding-top: 3px; }
.contact-dl dd { margin: 0; color: var(--text); line-height: 1.6; }
.contact-dl a { color: inherit; text-decoration: none; }
.contact-dl a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-col .btn { justify-self: start; margin-top: 12px; }
.contact-col-text { color: var(--text-muted); max-width: 52ch; }
.optout-form { margin-top: 10px; display: grid; gap: 8px; }
.optout-row { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; }
.optout-row input { flex: 1 1 200px; min-height: 0; padding: 10px 0 12px; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: transparent; }
.optout-row input:hover { border-bottom-color: rgba(238, 242, 236, 0.5); }
.optout-row input:focus { background: transparent; box-shadow: none; border-bottom-color: var(--lichen); }
.optout-form .field.has-error input { border-bottom-color: var(--error); }
.contact-col-note { font-size: 14px; color: var(--text-faint); }
.contact-col-note a { color: var(--text-muted); text-underline-offset: 4px; }
@media (min-width: 960px) { .contact-cols { grid-template-columns: 1fr 1fr; gap: clamp(64px, 8vw, 128px); } }
.contact-back { margin-top: clamp(48px, 6vw, 72px); }

/* Om oss: all three core panels share one grid cell, so the area is always as tall as the
   longest panel and nothing below it moves when switching between them */
.core-switch .os-panels { display: grid; }
.core-switch .os-panel { grid-area: 1 / 1; }
.core-switch .os-panel[hidden] { display: block; visibility: hidden; }

/* Forms: hidden spam trap and the CV file picker */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field input[type="file"] { min-height: 0; padding: 12px 14px; font-size: 15px; cursor: pointer; }
.field input[type="file"]::file-selector-button {
  margin-right: 14px; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: transparent; color: inherit; font: inherit; font-size: 14px; cursor: pointer;
}
.btn[disabled] { opacity: 0.6; cursor: progress; }
form[data-form] { position: relative; }

/* Om oss: less empty space under the image, and readable text beside "Vår grund" */
.about-hero { min-height: 56vh; min-height: 56svh; padding-bottom: clamp(40px, 6vh, 64px); }
#grund.intro { padding-top: clamp(40px, 5vw, 72px); }
#grund .intro-side .mono-copy {
  font-family: var(--font); font-size: 16px; line-height: 1.65; letter-spacing: 0; text-transform: none;
  color: var(--text-muted);
}

/* Om oss test: no forest image – plain dark, same tone as the section below */
.about-hero--plain { background: #0f1b16; }
.about-hero--plain .about-hero-bg { display: none; }
/* One shared left edge: heading left, then a thin line, then the two text columns */
.about-hero--plain { min-height: 0; place-items: start; text-align: left; padding: clamp(150px, 22vh, 210px) 0 clamp(24px, 3vw, 40px); }
.about-hero--plain .about-hero-inner { max-width: var(--container); justify-items: start; }
.about-hero--plain .about-title { max-width: 15ch; }
.about-hero--plain + #grund.intro { padding-top: clamp(24px, 3vw, 36px); }
.about-hero--plain + #grund .intro-grid { padding-top: clamp(40px, 5vw, 56px); background: linear-gradient(var(--line), var(--line)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat; }

/* Om oss test: the forest back behind a left-aligned heading that sits low in the image,
   then the same thin line and two text columns */
.about-hero--left {
  min-height: 70vh; min-height: 70svh; place-items: end start; text-align: left;
  padding: clamp(150px, 22vh, 210px) 0 clamp(28px, 3.5vw, 44px);
}
.about-hero--left .about-hero-inner { max-width: var(--container); justify-items: start; }
.about-hero--left .about-title { max-width: 15ch; }
.about-hero--left + #grund.intro { padding-top: clamp(24px, 3vw, 36px); }
.about-hero--left + #grund .intro-grid { padding-top: clamp(40px, 5vw, 56px); background: linear-gradient(var(--line), var(--line)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat; }

/* Om oss, lighter: the intro text stands alone, the cores are a tagline and one paragraph each */
#grund .intro-grid { grid-template-columns: 1fr; }
#grund .intro-lead .body-lg { max-width: 42ch; }

/* Om oss, redesign: label on the left, content on the right – everything visible, short texts */
.about-story, .about-values { background: #0f1b16; }
.about-story { padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.about-values { padding: 0 0 clamp(80px, 10vw, 140px); }
.about-split { display: grid; gap: 24px; }
.about-split-label { color: var(--lichen); margin: 0; padding-top: 10px; }
.about-statement { font-weight: 300; font-size: clamp(1.5rem, 2.5vw, 2.15rem); line-height: 1.32; letter-spacing: -0.015em; max-width: 30ch; color: var(--text); }
.about-note { margin-top: 22px; font-size: 17px; line-height: 1.7; color: var(--text-muted); max-width: 46ch; }
.values-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.values-list li { display: grid; align-content: start; gap: 10px; padding-top: 26px; border-top: 1px solid var(--line); }
.values-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--text-faint); }
.values-list h3 { margin-top: 10px; font-weight: 300; font-size: clamp(1.6rem, 2.2vw, 2rem); letter-spacing: -0.02em; line-height: 1.1; }
.values-tagline { font-size: 15px; color: var(--lichen); }
.values-list p:not(.values-tagline) { font-size: 15px; line-height: 1.7; color: var(--text-muted); max-width: 34ch; }
@media (min-width: 900px) {
  .about-split { grid-template-columns: minmax(160px, 1fr) 3fr; gap: clamp(40px, 5vw, 80px); }
  .values-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px); }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
