/* ==========================================================================
   Skandinavisk Ytförädling – ytan.nu
   Statisk sajt. Typsnitt: Barlow / Barlow Condensed / IBM Plex Mono (självhostade).
   Grundtanke: hög läsbarhet (18 px brödtext, stark kontrast), mörka "verkstads"-
   sektioner med gnistor, ljusa innehållssidor. Grönt (#00b300) = varumärket.
   ========================================================================== */

/* -------------------------------------------------- tokens */
:root {
  --green: #00b300;
  --green-2: #3dc93d;
  --green-deep: #008a00;
  --green-ink: #0a5d0a;
  --green-tint: #e8f7e8;

  --ink: #0e1113;
  --ink-2: #161a1d;
  --steel: #22272b;
  --steel-2: #2e353a;

  --paper: #f4f4f1;
  --paper-2: #ebebe6;
  --white: #ffffff;
  --line: #d9d9d3;
  --line-dark: rgba(255, 255, 255, 0.12);

  --text: #1a1d20;
  --muted: #545a61;
  --text-inv: #f3f3ef;
  --muted-inv: #b7bcc1;

  --spark: #ffb03b;

  --font-body: 'Barlow', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-head: 'Barlow Condensed', 'Arial Narrow', 'Barlow', sans-serif;
  --font-mono: 'IBM Plex Mono', Consolas, 'Courier New', monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --sp: clamp(56px, 8vw, 112px);
  --radius: 3px;
  --shadow: 0 18px 44px rgba(10, 12, 14, 0.18);
  --shadow-sm: 0 6px 18px rgba(10, 12, 14, 0.12);
  --header-h: 108px;
}

/* -------------------------------------------------- reset-ish */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 0.16em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--green-deep); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.02; margin: 0 0 0.5em; letter-spacing: -0.005em; color: inherit; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.1; }
h4 { font-size: 1.35rem; line-height: 1.2; font-family: var(--font-body); font-weight: 700; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: 0.35em; }
strong { font-weight: 700; }
blockquote { margin: 1.5em 0; padding: 0.2em 0 0.2em 1.2em; border-left: 4px solid var(--green); font-size: 1.15em; color: var(--steel); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
::selection { background: var(--green); color: #061006; }

[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--green); color: #061006; padding: 0.6em 1em; font-weight: 700; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* -------------------------------------------------- layout helpers */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-narrow { max-width: 880px; }
.section { padding: var(--sp) 0; }
.section-tight { padding: calc(var(--sp) * 0.6) 0; }
.section-dark { background: var(--ink); color: var(--text-inv); }
.section-dark a { color: var(--green-2); }
.section-dark a:hover { color: #fff; }
.section-paper { background: var(--paper); }
.section-steel { background: var(--steel); color: var(--text-inv); }
.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-ink);
  display: flex; align-items: center; gap: 0.7em;
  margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--green); flex: none; }
.section-dark .eyebrow, .hero .eyebrow, .page-head .eyebrow { color: var(--green-2); }
.lead { font-size: clamp(1.25rem, 1.8vw, 1.45rem); line-height: 1.5; color: var(--steel); }
.section-dark .lead { color: #dfe2e4; }
.muted { color: var(--muted); }
.section-dark .muted { color: var(--muted-inv); }
.mono { font-family: var(--font-mono); font-size: 0.9em; }

.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head h2 { margin-bottom: 0.3em; text-wrap: balance; }
.map a svg { width: 18px; height: 18px; display: inline-block; vertical-align: -3px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* Diagonal "chevron" pattern (från logotypen) för mörka ytor */
.stripes { position: relative; isolation: isolate; }
.stripes::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 34px);
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
}

/* -------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 54px; padding: 0.55em 1.5em;
  font-family: var(--font-body); font-weight: 700; font-size: 1.0625rem; line-height: 1.2;
  text-decoration: none; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-primary { background: var(--green); color: #061006; border-color: var(--green); }
.btn-primary:hover { background: var(--green-2); border-color: var(--green-2); color: #061006; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(0, 179, 0, 0.28); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: var(--steel); border-color: var(--steel); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-lg { min-height: 60px; font-size: 1.125rem; padding: 0.6em 1.8em; }
.btn-sm { min-height: 46px; font-size: 1rem; padding: 0.4em 1.1em; }
.btn-block { width: 100%; }
.arrow-link { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 700; text-decoration: none; color: var(--green-ink); }
.arrow-link svg { width: 1.1em; height: 1.1em; transition: transform 0.2s ease; }
.arrow-link:hover svg { transform: translateX(4px); }
.section-dark .arrow-link { color: var(--green-2); }

/* -------------------------------------------------- topbar + header */
.topbar { background: var(--ink); color: var(--muted-inv); font-size: 0.9375rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; }
.topbar-contact { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.topbar-contact a { color: #e6e8ea; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5em; padding: 0.35em 0; }
.topbar-contact a:hover { color: var(--green-2); }
.topbar-contact svg { width: 16px; height: 16px; color: var(--green-2); }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.15rem; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; color: #d7dadd; text-decoration: none; border-radius: var(--radius); }
.social a:hover { color: var(--green-2); background: rgba(255, 255, 255, 0.06); }
.social svg { width: 18px; height: 18px; }

.site-header { background: var(--white); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); transition: box-shadow 0.2s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: var(--header-h); }
.brand { display: block; flex: none; text-decoration: none; }
.brand img { height: 80px; width: auto; transition: height 0.2s ease; }
.site-header.scrolled .brand img { height: 64px; }

.nav { flex: 1; min-width: 0; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.25rem; }
.nav > ul > li:first-child { margin-left: auto; } /* lika mycket luft på båda sidor => menyn centreras mellan logga och knapp */
.nav li { margin: 0; position: relative; }
.nav a { display: block; padding: 0.7em 0.8em; font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-radius: var(--radius); }
.nav a:hover, .nav li.current > a { color: var(--green-deep); }
.nav li.current > a { box-shadow: inset 0 -3px 0 var(--green); }
.has-sub { display: flex; align-items: center; }
.sub-toggle { border: 0; background: none; padding: 0.45em 0.4em 0.45em 0; margin-left: -0.55em; cursor: pointer; color: var(--ink); display: grid; place-items: center; border-radius: var(--radius); }
.sub-toggle svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.sub { list-style: none; margin: 0; padding: 0.5rem 0; position: absolute; top: 100%; left: 0; min-width: 270px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--green); box-shadow: var(--shadow); display: none; z-index: 20; }
.has-sub:hover .sub, .has-sub.open .sub, .has-sub:focus-within .sub { display: block; }
.sub a { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 1.0625rem; font-weight: 600; padding: 0.7em 1.2em; }
.sub a:hover { background: var(--green-tint); }
.nav li.nav-cta { margin-left: auto; padding-left: 1.5rem; }
.nav .nav-cta .btn { display: inline-flex; align-items: center; gap: 0.5em; white-space: nowrap; text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: 1rem; padding: 0.4em 1.1em; }
.nav-cta .btn:hover { color: #061006; }

.menu-toggle { display: none; align-items: center; gap: 0.6em; border: 2px solid var(--ink); background: var(--white); color: var(--ink); font-weight: 700; font-size: 1rem; padding: 0.55em 0.9em; border-radius: var(--radius); cursor: pointer; }
.burger { width: 22px; height: 16px; position: relative; display: block; }
.burger::before, .burger::after, .burger span { content: ""; position: absolute; left: 0; width: 100%; height: 3px; background: currentColor; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.burger::before { top: 0; } .burger span { top: 6.5px; } .burger::after { bottom: 0; }
.menu-toggle[aria-expanded="true"] .burger::before { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger::after { transform: translateY(-6.5px) rotate(-45deg); }
.menu-toggle[aria-expanded="true"] .burger span { opacity: 0; }

@media (max-width: 1080px) {
  :root { --header-h: 88px; }
  .brand img { height: 60px; }
  .site-header.scrolled .brand img { height: 52px; }
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--white); z-index: 200; transform: translateX(102%); transition: transform 0.28s ease; overflow-y: auto; padding: calc(var(--header-h) + 12px) var(--gutter) 40px; box-shadow: -20px 0 60px rgba(0, 0, 0, 0.25); }
  body.nav-open .nav { transform: none; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a { font-size: 1.5rem; padding: 0.75em 0.2em; }
  .has-sub { flex-wrap: wrap; justify-content: space-between; }
  .has-sub > a { flex: 1; }
  .sub-toggle { margin: 0; padding: 0.7em; width: 56px; height: 56px; border: 1px solid var(--line); }
  .sub-toggle svg { width: 22px; height: 22px; }
  .sub { position: static; display: none; box-shadow: none; border: 0; border-left: 3px solid var(--green); margin: 0 0 0.75rem 0.5rem; padding: 0; min-width: 0; width: 100%; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .sub li { border: 0; }
  .sub a { font-size: 1.125rem; padding: 0.6em 1em; }
  .nav > ul > li:first-child { margin-left: 0; }
  .nav li.nav-cta { margin: 1.2rem 0 0; padding-left: 0; border: 0; }
  .nav .nav-cta .btn { width: 100%; min-height: 56px; font-size: 1.125rem; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(6, 8, 10, 0.55); z-index: 150; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
  body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  body.nav-open .menu-toggle { position: relative; z-index: 300; }
}
@media (max-width: 640px) {
  .topbar-contact { gap: 1rem; font-size: 0.9rem; }
  .topbar .social { display: none; }
}

/* -------------------------------------------------- hero (startsida) */
.hero { position: relative; background: var(--ink); color: var(--text-inv); overflow: hidden; min-height: min(86vh, 820px); display: flex; align-items: center; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 85% 50%; opacity: 0.9; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 17, 19, 0.98) 0%, rgba(14, 17, 19, 0.93) 40%, rgba(14, 17, 19, 0.6) 62%, rgba(14, 17, 19, 0.25) 85%, rgba(14, 17, 19, 0.2) 100%), linear-gradient(0deg, rgba(14, 17, 19, 0.92) 0%, transparent 38%); }
.hero-in h1, .hero-in .lead, .hero-in .eyebrow { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45); }
.sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; mix-blend-mode: screen; }
.hero-in { position: relative; z-index: 2; padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(72px, 9vw, 130px); max-width: var(--wrap); }
.hero h1 { max-width: 22ch; font-size: clamp(2.5rem, 5.2vw, 4.5rem); color: #fff; text-wrap: balance; margin-bottom: 0.35em; }
.hero .lead { max-width: 50ch; color: #e4e6e8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero-mark { position: absolute; right: var(--gutter); bottom: 0; width: clamp(180px, 22vw, 340px); opacity: 0.12; z-index: 0; pointer-events: none; }
@media (max-width: 640px) { .hero { min-height: 0; } .hero-media img { object-position: 60% 50%; } .hero-actions .btn { width: 100%; } }

/* Tjänstekort under hero */
.tiles-section { position: relative; z-index: 3; margin-top: clamp(-40px, -5vw, -72px); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; } }
.tile { position: relative; display: block; color: #fff; text-decoration: none; background: var(--steel); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.4s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 17, 19, 0.05) 30%, rgba(14, 17, 19, 0.9) 100%); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(18px, 2.4vw, 28px); }
.tile-body::before { content: ""; display: block; width: 44px; height: 4px; background: var(--green); margin-bottom: 0.7rem; transition: width 0.3s ease; }
.tile-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 2.6vw, 2.25rem); line-height: 1; margin: 0 0 0.35em; color: #fff; }
.tile-sub { margin: 0; padding: 0; list-style: none; font-size: 0.95rem; color: #d6d9dc; display: flex; flex-wrap: wrap; gap: 0.15em 0.8em; }
.tile-sub li { margin: 0; }
.tile-sub li + li::before { content: "·"; margin-right: 0.8em; color: var(--green-2); }
.tile-more { position: absolute; top: 16px; right: 16px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; background: var(--green); color: #061006; border-radius: var(--radius); transform: translateX(8px); opacity: 0; transition: transform 0.3s ease, opacity 0.3s ease; }
.tile-more svg { width: 20px; height: 20px; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }
.tile:hover .tile-body::before { width: 80px; }
.tile:hover .tile-more, .tile:focus-visible .tile-more { transform: none; opacity: 1; }
@media (hover: none) { .tile-more { opacity: 1; transform: none; } }

/* Punktlista med logotypens "vinkel" som markering */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7em 2.5em; }
.checks-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .checks-2 { grid-template-columns: 1fr; } }
.checks li { position: relative; padding-left: 2.1em; margin: 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 1.15em; height: 1.15em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 4h5l5 6 5-6h5L12 17z' fill='%2300b300'/%3E%3C/svg%3E") no-repeat center / contain; }

/* Etiketter (exempel på detaljer) */
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-groups { display: grid; gap: 1.6rem; }
.tags-label { font-family: var(--font-mono); font-size: 0.8125rem !important; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-inv); margin: 0 0 0.7rem; line-height: 1.2; }
.tags li { margin: 0; padding: 0.35em 0.8em; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--green); font-weight: 600; font-size: 1rem; border-radius: var(--radius); }
.section-dark .tags li { background: rgba(255, 255, 255, 0.05); border-color: var(--line-dark); border-left-color: var(--green); color: #eaecee; }

/* Två-kolumns intro */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split h2 { text-wrap: balance; }
.sticky-col { position: sticky; top: calc(var(--header-h) + 24px); }

/* CTA-band */
.cta-band { background: var(--green); color: #061006; }
.cta-band .cta-in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px) 0; }
.cta-band h2 { margin: 0; font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.cta-band p { margin: 0.2em 0 0; font-size: 1.05rem; }
.cta-band .btn-dark:hover { background: #000; }
.cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* -------------------------------------------------- nyheter / kort */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 32px); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease; position: relative; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card-date { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-size: 1.6rem; margin: 0; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card h3 a:hover { color: var(--green-deep); }
.card p { margin: 0; color: var(--steel); font-size: 1.05rem; }
.card-cats { margin-top: auto; padding-top: 0.6rem; font-size: 0.9rem; color: var(--muted); }
.card-cats a { position: relative; z-index: 2; color: var(--muted); }
.card-cats a:hover { color: var(--green-deep); }
.section-dark .card { background: var(--ink-2); border-color: var(--line-dark); }
.section-dark .card h3 a { color: #fff; }
.section-dark .card p { color: #cfd3d6; }
.section-dark .card-date, .section-dark .card-cats, .section-dark .card-cats a { color: var(--muted-inv); }

/* -------------------------------------------------- sidhuvud för undersidor */
.page-head { position: relative; background: var(--ink); color: var(--text-inv); overflow: hidden; isolation: isolate; }
.page-head-media { position: absolute; inset: 0; z-index: -1; }
.page-head-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.55; }
.page-head-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 17, 19, 0.95) 0%, rgba(14, 17, 19, 0.75) 45%, rgba(14, 17, 19, 0.35) 100%), linear-gradient(0deg, rgba(14, 17, 19, 0.85) 0%, transparent 60%); }
.page-head-in { padding: clamp(44px, 6vw, 84px) 0 clamp(40px, 5vw, 72px); }
.page-head h1 { color: #fff; max-width: 16ch; text-wrap: balance; margin-bottom: 0.2em; }
.page-head .lead { max-width: 52ch; margin: 0.6em 0 0; color: #e4e6e8; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5); }
.page-head h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45); }
.crumbs { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5em; font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-inv); }
.crumbs a { color: var(--muted-inv); text-decoration: none; }
.crumbs a:hover { color: var(--green-2); }
.crumbs li + li::before { content: "/"; margin-right: 0.5em; color: var(--green); }
.page-head.compact .page-head-in { padding: clamp(32px, 4vw, 56px) 0; }

/* -------------------------------------------------- brödtext / prose */
.prose { max-width: 72ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.prose h3 { margin-top: 1.4em; }
.prose h4 { margin-top: 1.3em; }
.prose p strong:first-child { color: var(--ink); }
.prose img { border-radius: var(--radius); }
.prose figure { margin: 1.8em 0; }
.prose figcaption { font-size: 0.95rem; color: var(--muted); margin-top: 0.5em; }
.prose ul { padding-left: 1.2em; }
.prose li::marker { color: var(--green-deep); }
.prose a[href^="http"]:not([href*="ytan.nu"]):not([href*="iolab.se"])::after { content: " ↗"; font-size: 0.8em; }
.prose .btn { text-decoration: none; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }

/* Faktarutor / kort med "specar" */
.spec-groups { display: grid; gap: 1.2rem; }
.spec-group h3 { font-size: 1.35rem; font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green-ink); margin: 1.8em 0 0.6em; padding-bottom: 0.3em; border-bottom: 2px solid var(--green); display: inline-block; }
.spec-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.9rem; margin: 0 0 1rem; }
.spec { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: var(--radius); padding: 1rem 1.1rem; }
.spec-name { font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; margin: 0 0 0.35em; color: var(--ink); }
.spec-lines { list-style: none; margin: 0; padding: 0; font-family: var(--font-mono); font-size: 0.9rem; color: var(--steel); }
.spec-lines li { margin: 0 0 0.25em; padding-left: 1em; position: relative; }
.spec-lines li::before { content: "–"; position: absolute; left: 0; color: var(--green-deep); }
.spec-note { font-family: var(--font-mono); font-size: 0.95rem; color: var(--steel); margin: 0.4em 0 1.2em; }
.plain-list { columns: 2; column-gap: 2rem; padding-left: 1.2em; }
@media (max-width: 600px) { .plain-list { columns: 1; } }

/* Metodsektioner (termisk sprutning) */
.method { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.method:first-of-type { border-top: 0; padding-top: 0; }
@media (max-width: 900px) { .method { grid-template-columns: 1fr; } }
.method-num { font-family: var(--font-mono); font-size: 0.875rem; letter-spacing: 0.14em; color: var(--green-ink); display: flex; align-items: center; gap: 0.7em; margin-bottom: 0.9rem; }
.method-num::before { content: ""; width: 26px; height: 3px; background: var(--green); }
.method h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 0.4em; }
.method-videos { display: grid; gap: 1rem; }
.method-figure { margin: 0; }
.method-figure a, .example-media { display: block; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); box-shadow: var(--shadow-sm); }
.method-figure img, .example-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.method-figure a:hover img, .example-media:hover img { transform: scale(1.04); }

/* Exempel från verkstaden */
.examples { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.example { margin: 0; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.example .example-media { border-radius: 0; box-shadow: none; aspect-ratio: 16 / 10; }
.example p { margin: 0; padding: 1.1rem 1.25rem 1.3rem; font-size: 1.0625rem; line-height: 1.55; color: var(--steel); }
.example p strong { color: var(--ink); display: block; font-family: var(--font-head); font-size: 1.45rem; line-height: 1.15; margin-bottom: 0.3rem; }
@media (max-width: 380px) { .examples { grid-template-columns: 1fr; } }
.method-videos.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .method-videos.two { grid-template-columns: 1fr; } }

/* Videokort (öppnar Vimeo i dialog) */
.video-card { display: block; width: 100%; text-align: left; border: 0; padding: 0; background: var(--ink); color: #fff; cursor: pointer; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); }
.video-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: transform 0.6s ease, opacity 0.3s ease; }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 17, 19, 0.6), transparent 55%); }
.play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; background: var(--green); color: #061006; border-radius: 50%; display: grid; place-items: center; z-index: 2; box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35); transition: transform 0.2s ease, background-color 0.2s ease; }
.play svg { width: 26px; height: 26px; margin-left: 4px; }
.video-card:hover .play, .video-card:focus-visible .play { transform: scale(1.1); background: var(--green-2); }
.video-card:hover .video-thumb img { transform: scale(1.04); opacity: 1; }
.video-label { padding: 0.9rem 1rem 1rem; font-weight: 700; font-size: 1.05rem; line-height: 1.3; display: flex; gap: 0.6em; align-items: flex-start; }
.video-label small { display: block; font-weight: 500; color: var(--muted-inv); font-size: 0.85rem; margin-top: 0.15em; font-family: var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.video-card.lg .video-thumb { aspect-ratio: 16 / 9; }
.video-card.lg .play { width: 88px; height: 88px; margin: -44px 0 0 -44px; }
.video-card.lg .play svg { width: 36px; height: 36px; }
.video-card.lg .video-label { padding: 1.2rem 1.4rem 1.4rem; font-size: 1.35rem; font-family: var(--font-head); }

/* Inbäddad spelare med "klicka för att ladda" (svetsning/maskinbearbetning) */
.embed { position: relative; aspect-ratio: 16 / 9; background: var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 0 0 2.5rem; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed .video-card { position: absolute; inset: 0; }
.embed .video-thumb { aspect-ratio: auto; position: absolute; inset: 0; }

/* Filter (Ytan Play) */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.filters button { border: 2px solid var(--line); background: var(--white); color: var(--ink); font-weight: 600; padding: 0.55em 1.1em; border-radius: var(--radius); cursor: pointer; min-height: 46px; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 960px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .video-grid { grid-template-columns: 1fr; } }
.video-grid .video-card[hidden] { display: none; }
.play-wordmark { display: inline-flex; align-items: center; gap: 0.25em; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1; letter-spacing: 0.02em; color: #fff; }
.play-wordmark b { color: var(--green); }
.play-wordmark svg { width: 0.75em; height: 0.75em; color: var(--green); }

/* -------------------------------------------------- team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .team { grid-template-columns: 1fr; } }
.person { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.person-photo { aspect-ratio: 1; background: var(--steel); position: relative; overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.person-photo .initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 3.2rem; color: rgba(255, 255, 255, 0.85); background: linear-gradient(160deg, var(--steel-2), var(--ink)); }
.person-photo .initials::after { content: ""; position: absolute; right: -10px; bottom: -10px; width: 46%; aspect-ratio: 826 / 386; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 4h5l5 6 5-6h5L12 17z' fill='%2300b300'/%3E%3C/svg%3E") no-repeat center / contain; opacity: 0.35; }
.person-body { padding: 0.9rem 1rem 1.1rem; }
.person h3 { font-size: 1.45rem; margin: 0 0 0.15em; }
.person-role { color: var(--muted); font-size: 0.98rem; margin: 0; }
.person-links { list-style: none; margin: 0.6rem 0 0; padding: 0; display: grid; gap: 0.2rem; font-size: 0.95rem; }
.person-links a { display: inline-flex; align-items: center; gap: 0.45em; text-decoration: none; color: var(--green-ink); word-break: break-all; }
.person-links a:hover { text-decoration: underline; }
.person-links svg { width: 15px; height: 15px; flex: none; }
.person.lead-person { grid-column: span 1; }

/* -------------------------------------------------- pressmaterial */
.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.dl { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.dl-preview { background: var(--paper); border-bottom: 1px solid var(--line); aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 1.5rem; }
.dl-preview img { max-height: 100%; width: auto; object-fit: contain; }
.dl-preview.dark { background: var(--steel); }
.dl-preview.photo { padding: 0; }
.dl-preview.photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dl-body { padding: 1.1rem 1.2rem 1.3rem; }
.dl-body h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.dl-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.dl-links a { display: flex; align-items: center; gap: 0.6em; text-decoration: none; padding: 0.55em 0.75em; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-weight: 600; }
.dl-links a:hover { border-color: var(--green); background: var(--green-tint); }
.dl-links svg { width: 18px; height: 18px; color: var(--green-deep); flex: none; }
.dl-links .ext { margin-left: auto; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--muted); }

/* -------------------------------------------------- kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 700; font-size: 1.05rem; }
.field .req { color: var(--green-deep); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1.125rem; padding: 0.8em 0.9em; border: 2px solid #b9bcb8; border-radius: var(--radius); background: var(--white); color: var(--text); min-height: 56px; }
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--green-deep); outline: 3px solid rgba(0, 179, 0, 0.3); outline-offset: 0; }
.field-hp { position: absolute; left: -9999px; }
.form-note { font-size: 0.95rem; color: var(--muted); margin: 0; }
.form-status { display: none; padding: 1rem 1.2rem; border-radius: var(--radius); font-weight: 600; border: 2px solid; }
.form-status.ok { display: block; background: var(--green-tint); border-color: var(--green); color: #0a3d0a; }
.form-status.err { display: block; background: #fdeeee; border-color: #c62828; color: #7a1414; }
.info-box { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.info-box h2 { font-size: 1.9rem; margin-bottom: 0.5rem; }
.info-box p { margin: 0 0 0.6em; }
.info-box a { font-weight: 600; }
.address { font-style: normal; font-size: 1.1rem; line-height: 1.55; }
.address svg, .info-box p svg { width: 18px; height: 18px; vertical-align: -3px; display: inline-block; color: var(--green-deep); }
.spec-head { font-family: var(--font-body) !important; font-size: 1rem !important; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-ink); margin: 1.6em 0 0.7em !important; }
.spec-lines { font-size: 0.95rem; }
.contact-person { display: flex; gap: 1.2rem; align-items: center; margin-top: 1.4rem; }
.contact-person img { width: 96px; height: 96px; object-fit: cover; object-position: top; border-radius: 50%; border: 3px solid var(--white); box-shadow: var(--shadow-sm); flex: none; }
.contact-person p { margin: 0; }
.map { margin-top: clamp(40px, 6vw, 72px); }
.map-frame { position: relative; aspect-ratio: 16 / 8; background: var(--paper-2); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: grid; place-items: center; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame .map-load { display: grid; place-items: center; gap: 0.8rem; text-align: center; padding: 2rem; }
.map-frame .map-load p { margin: 0; color: var(--muted); }

/* -------------------------------------------------- nyhetsinlägg */
.post-head .lead { color: var(--muted-inv); }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.4em 1.2em; align-items: center; font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-inv); }
.post-meta a { color: var(--muted-inv); }
.post-meta a:hover { color: var(--green-2); }
.post-featured { margin: clamp(-30px, -4vw, -56px) 0 2.5rem; position: relative; z-index: 2; }
.post-featured img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.post-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); }
@media (max-width: 960px) { .post-body { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.75rem; margin: 1.5rem 0 2rem; }
.gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery a:hover img { transform: scale(1.05); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } }
.post-nav a { display: block; text-decoration: none; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); }
.post-nav a:hover { border-color: var(--green); background: var(--green-tint); }
.post-nav small { display: block; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3em; }
.post-nav .next { text-align: right; }
.aside-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; margin-bottom: 1.2rem; }
.aside-box h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.aside-box ul { list-style: none; margin: 0; padding: 0; }
.aside-box li { margin: 0 0 0.45em; }
.aside-box a { text-decoration: none; font-weight: 600; }
.aside-box a:hover { text-decoration: underline; }
.year-sep { grid-column: 1 / -1; font-family: var(--font-head); font-size: 2.2rem; color: var(--muted); border-bottom: 2px solid var(--line); padding-bottom: 0.2em; margin: 1.5rem 0 0.2rem; display: flex; align-items: baseline; gap: 0.6em; }
.year-sep::after { content: ""; flex: 1; }

/* -------------------------------------------------- dialoger (video/lightbox) */
.dialog { position: fixed; inset: 0; z-index: 500; display: none; align-items: center; justify-content: center; padding: clamp(12px, 3vw, 40px); background: rgba(6, 8, 10, 0.92); }
.dialog.open { display: flex; }
.dialog-inner { width: min(1200px, 100%); position: relative; }
.dialog-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.dialog-frame iframe, .dialog-frame img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dialog-frame img { object-fit: contain; background: #000; }
.dialog-title { color: #fff; font-family: var(--font-head); font-size: 1.6rem; margin: 0.8rem 0 0; }
.dialog-close { position: absolute; right: 0; top: -58px; display: inline-flex; align-items: center; gap: 0.5em; background: var(--white); color: var(--ink); border: 0; padding: 0.55em 1em; font-weight: 700; border-radius: var(--radius); cursor: pointer; min-height: 48px; }
.dialog-close:hover { background: var(--green); }
.dialog-close svg { width: 20px; height: 20px; }
.dialog-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.dialog-nav:hover { background: var(--green); }
.dialog-nav svg { width: 26px; height: 26px; }
.dialog-nav.prev { left: -8px; } .dialog-nav.next { right: -8px; }
@media (max-width: 700px) { .dialog-close { top: auto; bottom: -60px; right: 0; } .dialog-nav.prev { left: 4px; } .dialog-nav.next { right: 4px; } }
body.dialog-open { overflow: hidden; }

/* -------------------------------------------------- sidfot */
.site-footer { background: var(--ink); color: var(--muted-inv); position: relative; overflow: hidden; }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); padding: clamp(48px, 6vw, 80px) 0 clamp(32px, 4vw, 48px); }
@media (max-width: 960px) { .footer-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-in { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 0.9rem; text-decoration: none; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; }
.footer-brand img { height: 34px; width: auto; }
.footer-brand span { display: block; }
.site-footer .footer-h { color: #fff; font-weight: 700; font-family: var(--font-body); font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 0.5em; }
.site-footer a { color: #e2e5e7; text-decoration: none; }
.site-footer a:hover { color: var(--green-2); text-decoration: underline; }
.footer-contact { font-style: normal; line-height: 1.7; margin: 1.2rem 0 0; }
.footer-contact a { display: inline-flex; align-items: center; gap: 0.5em; }
.footer-contact svg { width: 16px; height: 16px; color: var(--green-2); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 1.2rem 0; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; font-size: 0.95rem; }
.footer-bottom .social a { color: #c9ced2; }
.foot-by { margin: 0 0 0 auto; display: inline-flex; align-items: center; gap: 12px; }
.foot-logo { display: inline-flex; align-items: center; }
.foot-logo img { display: block; height: 16px; width: auto; opacity: 0.62; transition: opacity 0.2s; }
.foot-logo:hover img, .foot-logo:focus-visible img { opacity: 1; }
@media (max-width: 560px) { .foot-by { margin-left: 0; } }
.footer-mark { position: absolute; right: -40px; bottom: -40px; width: clamp(240px, 26vw, 420px); opacity: 0.06; pointer-events: none; }

/* Snabbknappar i mobil */
.callbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 66px; background: var(--white); color: var(--ink); font-weight: 700; text-decoration: none; font-size: 1.05rem; }
  .callbar a:first-child { background: var(--green); color: #061006; }
  .callbar svg { width: 20px; height: 20px; }
  body.nav-open .callbar { display: none; }
}

/* -------------------------------------------------- reveal (scroll) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: 0.1s; } .js .reveal-d2 { transition-delay: 0.2s; } .js .reveal-d3 { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* Rubrikunderstrykning som "sprutas" in */
.spray { position: relative; display: inline-block; }
.spray::after { content: ""; position: absolute; left: 0; bottom: -0.12em; height: 0.16em; width: 100%; background: linear-gradient(90deg, var(--green) 0%, var(--green-2) 70%, transparent 100%); transform: scaleX(0); transform-origin: left; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s; border-radius: 2px; }
.js .reveal.in .spray::after, .no-js .spray::after { transform: scaleX(1); }
.section-dark .spray::after { background: linear-gradient(90deg, var(--green) 0%, var(--green-2) 60%, transparent 100%); }

/* Startsidans "Vi kan"-block */
.can-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 44px); box-shadow: var(--shadow-sm); }
.can-block h3 { font-size: 1.9rem; margin-bottom: 1rem; }

/* Utskrift */
@media print {
  .topbar, .site-header, .site-footer, .callbar, .hero-media, .sparks, .dialog, .menu-toggle { display: none !important; }
  body { padding: 0; font-size: 11pt; color: #000; }
  .page-head, .hero { background: none; color: #000; }
  .page-head h1, .hero h1 { color: #000; }
}
