/* Takverket Norr · A1 industrial-bold, ljus
   Betong #e8e6e2 · panel #f2f1ee · skiffer #23272b · tegelröd #b5482a · text #1d1f21
   Barlow Condensed (display, versal) + Barlow (brödtext) + IBM Plex Mono (tekniska etiketter)
   Signatur: taklutningen. Samma diagonal i varje sektionsskärning. */

:root {
  --concrete: #e8e6e2;
  --panel: #f2f1ee;
  --slate: #23272b;
  --brick: #b5482a;
  --brick-ink: #a03f24;
  --brick-lit: #d9704e;
  --ink: #1d1f21;
  --ink-soft: #5b6066;
  --line: #1d1f2126;
  --line-hi: #ffffff26;
  --disp: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Courier New", monospace;
  --pad: clamp(20px, 4vw, 56px);
  --sec: clamp(76px, 9vw, 128px);
  --slant: clamp(34px, 4.6vw, 84px);
  --hero-run: clamp(72px, 22vw, 340px);
  --head: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}

body {
  background: var(--concrete);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dt, dd, li, blockquote { overflow-wrap: break-word; }

h1, h2, h3 {
  font-family: var(--disp);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.005em;
}

.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

[id] { scroll-margin-top: 88px; }

::selection { background: rgba(181, 72, 42, 0.22); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 2px;
}

/* ---------- Genomgående komponenter ---------- */

.kicker {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brick-ink);
}

.lead {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  max-width: 48ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 clamp(20px, 2.4vw, 30px);
  font-family: var(--disp);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-brick { background: var(--brick); color: #fff; }
.btn-brick:hover { background: var(--brick-ink); }

.btn-line { border-color: var(--ink); color: var(--ink); background: none; }
.btn-line:hover { background: var(--ink); color: var(--concrete); }

/* Gradetikett vid skärningarna */

.deg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.deg i {
  width: 24px;
  height: 1px;
  background: var(--brick);
  flex: none;
}

.deg b {
  font-weight: 500;
  color: var(--brick-ink);
  font-variant-numeric: tabular-nums;
}

.deg-cut {
  position: absolute;
  top: calc(var(--slant) + 14px);
  left: 0;
  right: 0;
  display: flex;
  padding-left: max(var(--pad), calc((100% - 1280px) / 2 + var(--pad)));
}

.dark .deg-cut { color: #a7adb3; }
.dark .deg-cut b { color: var(--brick-lit); }
.dark .deg-cut i { background: var(--brick-lit); }

.deg-brick { color: #fdf3f0; }
.deg-brick b { color: #fff; }
.deg-brick i { background: #ffffff8c; }

/* ---------- Header ---------- */

.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-head.scrolled {
  background: var(--concrete);
  border-bottom-color: var(--line);
}

.head-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--pad);
  height: var(--head);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  position: relative;
  z-index: 2;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 10px 0;
  margin-right: auto;
}

.brand span { color: var(--brick-ink); margin-left: 0.35ch; }

.site-nav ul { display: flex; gap: clamp(16px, 2.2vw, 34px); }

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--disp);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover { border-bottom-color: var(--brick); }

.site-nav .nav-tel { display: none; }

.head-tel {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.head-tel:hover { background: var(--ink); color: var(--concrete); }

.menu-btn { display: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: var(--head);
  background: var(--concrete);
}

.hero-grid { display: grid; }

.hero-copy { padding: clamp(48px, 7vw, 92px) 0 clamp(40px, 5vw, 64px); }

.hero-copy .kicker { margin-bottom: 18px; }

.hero h1 {
  font-size: clamp(2.7rem, 6.6vw, 5.2rem);
  line-height: 0.9;
  max-width: 15ch;
}

.hero-lead {
  margin-top: 22px;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-micro {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.hero-media { position: relative; }

.hero-shot {
  position: absolute;
  inset: 0;
  clip-path: polygon(var(--hero-run) 0, 100% 0, 100% 100%, 0 100%);
  background: var(--slate);
}

.hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}

.hero-edge {
  position: absolute;
  inset: 0;
  background: var(--brick);
  clip-path: polygon(calc(var(--hero-run) - 3px) 0, var(--hero-run) 0, 3px 100%, 0 100%);
}

.deg-hero {
  position: absolute;
  top: clamp(26px, 5vh, 58px);
  left: 0;
  background: var(--concrete);
  padding: 6px 12px 6px 0;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns:
      minmax(var(--pad), 1fr)
      minmax(0, 560px)
      minmax(0, 608px)
      minmax(var(--pad), 1fr);
    align-items: stretch;
  }

  .hero-copy {
    grid-column: 2;
    align-self: center;
    padding-right: clamp(24px, 3vw, 56px);
  }

  .hero-media {
    grid-column: 3 / -1;
    min-height: min(76vh, 700px);
  }
}

@media (max-width: 899px) {
  .hero-copy { padding-inline: var(--pad); }

  .hero-media {
    height: clamp(240px, 52vw, 400px);
    margin-top: 8px;
  }

  .hero-shot { clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%); }

  .hero-edge {
    clip-path: polygon(0 var(--slant), 100% 0, 100% 2px, 0 calc(var(--slant) + 2px));
  }

  .deg-hero {
    top: calc(var(--slant) + 12px);
    left: var(--pad);
    padding: 6px 12px;
  }
}

/* ---------- Trust ---------- */

.trust {
  background: var(--concrete);
  border-top: 1px solid var(--line);
  padding-block: clamp(28px, 3.4vw, 44px) calc(clamp(28px, 3.4vw, 44px) + var(--slant));
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-list li {
  padding-inline: clamp(14px, 2vw, 32px);
  border-left: 1px solid var(--line);
}

.trust-list li:first-child { border-left: 0; padding-left: 0; }

.trust-num {
  display: block;
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.trust-cap {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; }
  .trust-list li:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* ---------- Sektioner och skärningar ---------- */

.sec { padding-block: var(--sec); }

.slant {
  position: relative;
  clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(var(--slant) * -1);
}

.slant::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: calc(var(--slant) + 2px);
  background: var(--brick);
  clip-path: polygon(0 var(--slant), 100% 0, 100% 2px, 0 calc(var(--slant) + 2px));
  pointer-events: none;
}

.guarantee::before { background: #ffffff8c; }

.sec.slant { padding-top: calc(var(--sec) + var(--slant)); }

.panel { background: var(--panel); }
.dark { background: var(--slate); color: var(--panel); }
.dark .lead { color: #a7adb3; }
.dark .kicker { color: var(--brick-lit); }

.sec-head {
  display: grid;
  gap: 18px clamp(24px, 4vw, 64px);
  padding-bottom: clamp(22px, 2.6vw, 32px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(36px, 4.6vw, 64px);
}

.sec-head h2 {
  margin-top: 12px;
  font-size: clamp(1.9rem, 3.7vw, 3.1rem);
  line-height: 0.95;
  max-width: 16ch;
}

@media (min-width: 860px) {
  .sec-head {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: end;
  }
  .sec-head .lead { padding-bottom: 6px; }
}

/* ---------- Material · spec-kort ---------- */

.mat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}

.mat {
  background: var(--concrete);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.mat-fig {
  aspect-ratio: 25 / 9;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
  color: var(--ink);
  display: grid;
  place-items: center;
  padding: 6px clamp(10px, 1.4vw, 18px) 12px;
}

.mat-fig svg { width: 100%; height: auto; }

.mat-body {
  padding: clamp(16px, 1.8vw, 24px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mat h3 { font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1; }

.mat-sub {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.spec { margin-top: 18px; }

.spec > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.spec dt {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.spec dd {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.mat-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.mat-foot {
  margin-top: clamp(28px, 3vw, 40px);
  font-size: 0.9375rem;
  color: var(--ink-soft);
  max-width: 78ch;
  border-left: 2px solid var(--brick);
  padding-left: 16px;
}

@media (max-width: 1040px) {
  .mat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .mat-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Tjänster · spec-rader ---------- */

.jobs { border-bottom: 1px solid var(--line); }

.job {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) minmax(0, 290px);
  gap: 0 clamp(18px, 2.6vw, 44px);
  padding-block: clamp(24px, 3vw, 38px);
  border-top: 1px solid var(--line);
  transition: background 0.2s ease;
}

.job:hover { background: var(--panel); }

.job-no {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brick-ink);
  padding-top: 6px;
}

.job h3 { font-size: clamp(1.45rem, 2.3vw, 2rem); line-height: 1; }

.job-main p {
  margin-top: 10px;
  color: var(--ink-soft);
  max-width: 54ch;
}

.job-in { padding-top: 4px; }

.job-in li {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.job-in li::before {
  content: "";
  flex: none;
  width: 10px;
  height: 1px;
  background: var(--brick);
  margin-top: 0.85em;
}

@media (max-width: 820px) {
  .job { grid-template-columns: 44px minmax(0, 1fr); }
  .job-in { grid-column: 2; padding-top: 14px; }
}

/* ---------- Besiktning · mörk skiffer ---------- */

.insp {
  display: grid;
  gap: clamp(36px, 5vw, 72px);
}

.insp-copy h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 3.7vw, 3.1rem);
  line-height: 0.95;
}

.insp-copy .lead { margin-top: 18px; }

.insp-copy .btn { margin-top: 30px; }

.insp-note {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.7;
  color: #a7adb3;
  max-width: 34ch;
}

.insp-shot {
  margin-top: clamp(28px, 3.4vw, 44px);
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: 50% 46%;
}

.proto {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(20px, 3vw, 44px);
  align-content: start;
}

.proto li {
  padding: clamp(14px, 1.6vw, 20px) 0;
  border-top: 1px solid var(--line-hi);
}

.proto-no {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--brick-lit);
  display: block;
  margin-bottom: 6px;
}

.proto h3 { font-size: 1.125rem; line-height: 1.1; }

.proto p {
  margin-top: 5px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #a7adb3;
}

@media (min-width: 980px) {
  .insp { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); }
}

@media (max-width: 620px) {
  .proto { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Arbeten · referenser och register ---------- */

.ref-media {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(14px, 1.8vw, 26px);
  margin-bottom: clamp(36px, 4.4vw, 60px);
  align-items: stretch;
}

.ref-media figure {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.ref-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--panel);
}

.ref-media figure + figure img {
  aspect-ratio: auto;
  flex: 1;
  min-height: 220px;
}

.ref-media figcaption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.reg {
  width: 100%;
  border-collapse: collapse;
}

.reg th {
  text-align: left;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0 18px 12px 0;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.reg td {
  padding: 15px 18px 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  vertical-align: baseline;
}

.reg tr:last-child td { border-bottom: 0; }

.reg td:first-child {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 1.2rem;
  text-transform: uppercase;
  line-height: 1.1;
  white-space: nowrap;
}

.reg .num {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
  padding-right: 0;
}

.reg th.num { padding-right: 0; }

.reg tbody tr { transition: background 0.2s ease; }
.reg tbody tr:hover { background: var(--panel); }

.reg-foot {
  margin-top: clamp(22px, 2.6vw, 32px);
  font-size: 0.9375rem;
  color: var(--ink-soft);
  max-width: 62ch;
  border-left: 2px solid var(--brick);
  padding-left: 16px;
}

@media (max-width: 760px) {
  .ref-media { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .ref-media figure + figure img { aspect-ratio: 16 / 10; flex: none; min-height: 0; }

  .reg, .reg tbody, .reg tr, .reg td { display: block; width: 100%; }
  .reg thead { display: none; }

  .reg tr {
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
  }

  .reg tbody tr:last-child { border-bottom: 0; }

  .reg td {
    border: 0;
    padding: 3px 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 18px;
  }

  .reg td::before {
    content: attr(data-l);
    font-family: var(--mono);
    font-size: 0.6875rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ink-soft);
    flex: none;
  }

  .reg td:first-child {
    display: block;
    font-size: 1.35rem;
    margin-bottom: 8px;
  }

  .reg td:first-child::before { display: none; }
  .reg .num { text-align: right; }
}

/* ---------- Garanti ---------- */

.guarantee {
  background: var(--brick);
  color: #fff;
  padding-block: calc(var(--slant) + clamp(52px, 6vw, 84px)) clamp(52px, 6vw, 84px);
}

.gua-inner {
  display: grid;
  gap: clamp(24px, 3.4vw, 56px);
  align-items: start;
}

.gua-big {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(4rem, 10.5vw, 8rem);
  line-height: 0.8;
  letter-spacing: -0.01em;
}

.gua-lead h2 {
  margin-top: 10px;
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  line-height: 1;
}

.gua-text p { color: #fceeea; max-width: 52ch; }

.gua-facts { margin-top: 24px; }

.gua-facts li {
  border-top: 1px solid #ffffff59;
  padding: 11px 0;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (min-width: 860px) {
  .gua-inner { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); }
}

/* ---------- Omdömen ---------- */

.says {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.say {
  padding-inline: clamp(18px, 2.4vw, 38px);
  border-left: 1px solid var(--line);
}

.say:first-child { border-left: 0; padding-left: 0; }
.say:last-child { padding-right: 0; }

.say p {
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.5;
}

.say footer {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.say-name {
  display: block;
  font-family: var(--disp);
  font-weight: 600;
  font-size: 1.25rem;
  text-transform: uppercase;
  line-height: 1.1;
}

.say-meta {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .says { grid-template-columns: minmax(0, 1fr); }
  .say {
    padding: 26px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .say:first-child { padding-top: 0; border-top: 0; }
}

/* ---------- Kontakt ---------- */

.kontakt-grid {
  display: grid;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px clamp(14px, 1.6vw, 22px);
}

.field { display: flex; flex-direction: column; gap: 7px; }
.field-wide { grid-column: 1 / -1; }

.field label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 13px 14px;
  min-height: 48px;
  width: 100%;
}

.field textarea { resize: vertical; line-height: 1.5; }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231d1f21' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  padding-right: 38px;
}

.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--brick); }

.form .btn { grid-column: 1 / -1; justify-self: start; }

.form-note {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.kort {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: clamp(20px, 2.4vw, 30px);
}

.kort-list > div {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.kort-list > div:first-child { border-top: 0; padding-top: 0; }

.kort-list dt {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 3px;
}

.kort-list dd { font-size: 0.9375rem; }

.kort-list dd a {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.1;
  border-bottom: 1px solid var(--brick);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.platschef {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.platschef img {
  width: 84px;
  height: 96px;
  object-fit: cover;
  flex: none;
  filter: saturate(0.85) contrast(1.02);
}

.pc-name {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 1.25rem;
  text-transform: uppercase;
  line-height: 1.1;
}

.pc-role {
  margin-top: 5px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

@media (min-width: 900px) {
  .kontakt-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
}

@media (max-width: 560px) {
  .form { grid-template-columns: minmax(0, 1fr); }
  .kort-list > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* ---------- Footer ---------- */

.site-foot {
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding-block: clamp(40px, 5vw, 64px) clamp(24px, 3vw, 34px);
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px clamp(24px, 4vw, 64px);
}

.foot-brand {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  line-height: 1;
}

.foot-brand span { color: var(--brick-ink); margin-left: 0.35ch; }

.foot-line {
  margin-top: 10px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  max-width: 34ch;
}

.foot-h {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.foot-grid li { line-height: 1.4; }

.foot-grid li a,
.foot-grid li {
  font-size: 0.9375rem;
}

.foot-grid li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid transparent;
}

.foot-grid li a:hover { border-bottom-color: var(--brick); }

.foot-bottom {
  margin-top: clamp(30px, 4vw, 48px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.foot-demo { color: #676c72; }

@media (max-width: 720px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}

/* ---------- Sticky mobilrad ---------- */

.sticky-bar { display: none; }

@media (max-width: 899px) {
  body { padding-bottom: 74px; }

  .sticky-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 55;
    display: flex;
    gap: 8px;
    padding: 9px var(--pad);
    background: var(--panel);
    border-top: 1px solid var(--line);
  }

  .sticky-bar .btn { flex: 1; min-height: 50px; font-size: 1rem; padding: 0 10px; }
}

/* ---------- Modal ---------- */

[hidden] { display: none !important; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: var(--pad);
}

.modal-veil {
  position: absolute;
  inset: 0;
  background: rgba(29, 31, 33, 0.72);
}

.modal-box {
  position: relative;
  width: min(460px, 100%);
  background: var(--concrete);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 38px);
}

.modal-box h2 {
  margin-top: 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1;
}

.modal-box p:last-of-type {
  margin-top: 12px;
  color: var(--ink-soft);
}

.modal-box .btn { margin-top: 26px; }

/* ---------- Mobilmeny ---------- */

@media (max-width: 899px) {
  .head-tel { display: none; }

  .menu-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    width: 48px;
    height: 48px;
    margin-right: -8px;
    background: none;
    border: 0;
    cursor: pointer;
    position: relative;
    z-index: 2;
  }

  .menu-btn span {
    width: 26px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .menu-btn span:nth-child(2) { width: 18px; }

  body.menu-open .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); width: 26px; }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: var(--concrete);
    padding: calc(var(--head) + 24px) var(--pad) 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s;
  }

  body.menu-open .site-nav { opacity: 1; visibility: visible; }

  .site-nav ul { flex-direction: column; gap: 0; }

  .site-nav li { border-top: 1px solid var(--line); }

  .site-nav li:last-child { border-bottom: 1px solid var(--line); }

  .site-nav a {
    display: flex;
    min-height: 62px;
    font-size: clamp(1.8rem, 8vw, 2.4rem);
    line-height: 1;
  }

  .site-nav a:hover { border-bottom-color: transparent; }

  .site-nav .nav-tel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    border: 1px solid var(--ink);
    font-family: var(--mono);
    font-size: 0.9375rem;
    font-weight: 500;
  }

  body.menu-open { overflow: hidden; }
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  .js .reveal.in {
    opacity: 1;
    transform: none;
  }

  .gal img { transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1); }
  .gal figure:hover img { transform: scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* Scroll-las for modalen. Egen klass sa mobilmenyn inte oppnas samtidigt. */
body.no-scroll { overflow: hidden; }
