/* Nordic Extern - statisk stilmall */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/archivo-latin-ext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #f3f2f2;
  --text: #201e1d;
  --accent: #ec3013;        /* stor text: rubriker, siffror */
  --accent-strong: #c9270d; /* knappar: 4,97:1 mot bakgrunden */
  --accent-dark: #ae1800;   /* liten röd text: 6,41:1 */
  --divider: color-mix(in srgb, #201e1d 40%, transparent);
  --muted: color-mix(in srgb, #201e1d 80%, transparent);
  --muted-2: color-mix(in srgb, #201e1d 72%, transparent);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .display { font-family: var(--font); font-weight: 800; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; }
::selection { background: var(--accent-strong); color: var(--bg); }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--text); color: var(--bg); padding: 10px 14px; z-index: 50;
}
.skip:focus { left: 8px; color: var(--bg); }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.grayscale { filter: grayscale(1) contrast(1.08); }

.eyebrow {
  font-weight: 400;
  display: block; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-dark); margin: 0 0 20px;
}

/* ---------- Navigering ---------- */
.nav {
  position: relative; display: flex; align-items: center; gap: 16px;
  padding: 12px var(--gutter); background: var(--bg);
}
.nav-brand { font-weight: 800; font-size: 18px; margin-right: auto; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.nav-links a { font-size: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; line-height: 1.2; white-space: nowrap;
  padding: 8px 14px; border: 1px solid transparent;
}
.btn-primary { background: var(--accent-strong); color: var(--bg); }
.btn-primary:hover { background: var(--accent-dark); color: var(--bg); }

.nav-menu { display: none; }
.nav-menu > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -10px;
}
.nav-menu > summary::-webkit-details-marker { display: none; }
.burger { display: flex; flex-direction: column; gap: 5px; width: 22px; }
.burger i { display: block; height: 2px; background: var(--text); transition: opacity .15s; }
.nav-menu[open] .burger i:nth-child(2) { opacity: 0; }
.nav-panel {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 20;
  display: flex; flex-direction: column; background: var(--bg);
  border-top: 2px solid var(--divider); border-bottom: 2px solid var(--divider);
  padding: 12px var(--gutter) 16px;
}
.nav-panel a:not(.btn) { padding: 14px 0; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.nav-panel a:not(.btn) + a:not(.btn) { border-top: 2px solid var(--divider); }
.nav-panel .btn { margin-top: 12px; padding: 12px 14px; }

@media (max-width: 780px) {
  .nav-links, .nav-cta { display: none; }
  .nav-menu { display: block; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 11vh, 140px) 0 clamp(48px, 8vh, 96px); }
.hero h1 {
  font-size: clamp(36px, 8.4vw, 124px); line-height: .96; letter-spacing: -0.035em;
  margin-left: -0.058em; max-width: 14ch;
}
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--accent); }

.split { display: flex; flex-wrap: wrap; gap: 0 clamp(24px, 5vw, 72px); }
.split > .spacer { flex: 1 1 340px; }
.split > .col { flex: 1 1 420px; min-width: 0; }
@media (max-width: 900px) { .split > .spacer { display: none; } }

.hero .split { margin-top: clamp(36px, 6vh, 72px); }
.lead-title { font-size: clamp(20px, 2.1vw, 27px); line-height: 1.25; letter-spacing: -0.015em; max-width: 22ch; }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.7; max-width: 44ch; margin-top: 28px; color: var(--muted); }
.tagline { font-weight: 800; font-size: 15px; line-height: 1.6; margin-top: 22px; }
.cta-link {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 40px;
  font-weight: 800; font-size: 17px; letter-spacing: -0.01em;
  border-bottom: 2px solid var(--accent); padding-bottom: 6px;
}
.cta-link::before { content: ""; width: 10px; height: 10px; background: var(--accent); }

.hero-img img { width: 100%; height: clamp(280px, 64vh, 620px); object-fit: cover; object-position: 62% 46%; }

/* ---------- När bolag hör av sig ---------- */
.situations { padding: clamp(64px, 12vh, 150px) 0 clamp(40px, 7vh, 90px); }
.situations .eyebrow { margin-bottom: 52px; }
.sit-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 96px; row-gap: 80px;
}
.sit-grid > div { min-width: 0; }
.sit-grid h3 { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.18; letter-spacing: -0.02em; max-width: 460px; text-wrap: balance; }
.sit-grid p { font-size: 15.5px; line-height: 29px; margin-top: 22px; max-width: 440px; color: var(--muted-2); }
/* Rubrikerna i samma rad delar höjd, så att brödtexterna börjar på samma nivå */
@supports (grid-template-rows: subgrid) {
  .sit-grid > div { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 22px; }
  .sit-grid > div > p { margin-top: 0; }
}
@supports not (grid-template-rows: subgrid) {
  .sit-grid h3 { min-height: calc(2 * 1.18em); }
}
@media (max-width: 1024px) {
  .situations .eyebrow { margin-bottom: 48px; }
  .sit-grid { column-gap: 48px; row-gap: 60px; }
}
@media (max-width: 780px) {
  .situations .eyebrow { margin-bottom: 40px; }
  .sit-grid { grid-template-columns: minmax(0, 1fr); row-gap: 52px; }
  .sit-grid > div { display: block; grid-row: auto; }
  .sit-grid h3 { min-height: 0; }
  .sit-grid > div > p { margin-top: 18px; }
}

/* ---------- Uppdrag ---------- */
.services { padding: clamp(48px, 9vh, 120px) 0 clamp(40px, 8vh, 110px); }
.services .eyebrow { margin-bottom: clamp(40px, 7vh, 88px); }
.svc {
  display: flex; flex-wrap: wrap; align-items: flex-start;
  gap: 18px clamp(32px, 7vw, 110px); padding-bottom: clamp(48px, 9vh, 104px);
}
.svc:last-child { padding-bottom: 0; }
.svc.offset { margin-left: 80px; }
.svc .num {
  flex: 0 0 64px; font-weight: 800; font-size: clamp(30px, 2.6vw, 38px); line-height: 1;
  letter-spacing: -0.02em; color: var(--accent); margin-top: 6px; font-feature-settings: "tnum";
}
.svc h3 { flex: 1 1 260px; max-width: 14ch; font-size: clamp(24px, 2.7vw, 36px); line-height: 1.1; letter-spacing: -0.025em; }
.svc p { flex: 1 1 320px; max-width: 48ch; font-size: 16px; line-height: 29px; color: var(--muted-2); }
@media (max-width: 700px) { .svc.offset { margin-left: 0; } }

/* ---------- Arbetssätt ---------- */
.method {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center; margin-top: clamp(40px, 8vh, 110px);
}
.method figure { align-self: stretch; }
.method img { width: 100%; height: 100%; min-height: clamp(300px, 66vh, 680px); object-fit: cover; object-position: 72% 72%; }
.method-body { padding: clamp(48px, 9vh, 110px) clamp(20px, 5vw, 96px); }
.method h2 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -0.03em; max-width: 16ch; }
.body-text { font-size: 16px; line-height: 29px; max-width: 46ch; color: var(--muted); }
.method .body-text { margin-top: 28px; }

.steps { list-style: none; margin: 40px 0 0; padding: 0; max-width: 46ch; }
.steps li {
  display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px;
  padding: 18px 0; border-top: 2px solid var(--divider);
}
.steps li:last-child { border-bottom: 2px solid var(--divider); }
.steps .step-num { font-weight: 800; font-size: 15px; color: var(--accent-dark); font-feature-settings: "tnum"; padding-top: 2px; }
.steps h3 { font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; }
.steps p { grid-column: 2; font-size: 15px; line-height: 26px; color: var(--muted-2); }

/* ---------- Person ---------- */
.person { padding: clamp(64px, 11vh, 140px) 0 clamp(40px, 7vh, 80px); }
.person-name { font-size: clamp(30px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -0.03em; margin-left: -0.04em; }
.person-role { font-weight: 800; font-size: 15px; margin-top: 14px; color: var(--accent-dark); letter-spacing: 0.01em; }
.person .split { margin-top: clamp(28px, 5vh, 56px); }
.person .body-text + .body-text { margin-top: 24px; }
.person .body-text.person-promise { margin-top: 36px; padding-top: 22px; border-top: 2px solid var(--divider); font-size: 18px; line-height: 30px; font-weight: 700; color: var(--text); letter-spacing: -0.005em; max-width: 41ch; }

/* ---------- Om oss / principer ---------- */
.about { padding: clamp(48px, 9vh, 110px) 0 clamp(48px, 8vh, 100px); border-top: 2px solid var(--divider); }
.about h2 { font-size: clamp(27px, 4.4vw, 60px); line-height: 1.06; letter-spacing: -0.03em; margin-left: -0.058em; max-width: 14ch; }
.about .split { margin-top: clamp(32px, 5vh, 60px); }
.about .body-text + .body-text { margin-top: 24px; }
.refs { margin-top: 44px; padding-top: 22px; border-top: 2px solid var(--divider); max-width: 46ch; }
.refs h3 { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 400; color: var(--accent-dark); margin-bottom: 12px; }

/* ---------- Kontakt ---------- */
.contact { padding: clamp(48px, 9vh, 120px) 0 clamp(56px, 9vh, 120px); border-top: 2px solid var(--divider); }
.contact h2 { font-size: clamp(28px, 5.4vw, 76px); line-height: 1; letter-spacing: -0.035em; margin-left: -0.058em; max-width: 16ch; }
.contact-row {
  display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 80px);
  align-items: flex-end; justify-content: space-between; margin-top: clamp(36px, 6vh, 64px);
}
.contact-row .body-text { font-size: 16.5px; max-width: 42ch; }
.contact-row .body-text + .body-text { margin-top: 12px; }
.mail {
  font-weight: 800; font-size: clamp(20px, 2.6vw, 34px); letter-spacing: -0.025em;
  color: var(--accent); border-bottom: 2px solid var(--accent); padding-bottom: 8px;
}
.mail:hover { color: var(--accent-dark); border-color: var(--accent-dark); }

/* ---------- Specialistverksamhet (Klientfokus) ---------- */
.specialist { border-top: 2px solid var(--divider); padding: clamp(40px, 7vh, 72px) 0 clamp(36px, 6vh, 64px); }
.specialist .eyebrow { margin-bottom: 14px; }
.specialist-title { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; letter-spacing: -0.02em; }
.specialist .body-text { margin-top: 14px; }
.specialist-link {
  display: inline-block; margin-top: 10px; padding: 10px 0;
  font-weight: 800; font-size: 15px; letter-spacing: -0.005em;
  text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
}

/* ---------- Sidfot ---------- */
.footer {
  border-top: 2px solid var(--divider); display: flex; flex-wrap: wrap; gap: 8px 42px;
  justify-content: space-between; padding: 24px 0 48px; font-size: 13px; line-height: 28px;
  color: var(--muted-2);
}
.footer a { color: var(--muted-2); }
.footer a:hover { color: var(--accent-dark); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
