/* ==========================================================================
   Competence Tech — byggd från Figma "Website Upgrade" (1440 / 390)
   ========================================================================== */

@font-face {
	font-family: "Geist";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/geist-var.woff2") format("woff2");
}

:root {
	--egg: #f7f7f4;        /* Tech Egg — sidbakgrund */
	--stone: #eeede7;      /* tonade sektioner */
	--ink: #101310;
	--ink-2: #3a3c38;
	--muted: #6b6a64;
	--muted-2: #8a8a84;
	--line: #d6d3ca;
	--line-dark: #101310;
	--green: #164d43;
	--teal: #009d98;
	--cream: #e8e5dd;
	--black: #000;

	--font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--pad: clamp(24px, 5.56vw, 80px);
	--max: 1440px;
}

/* ---------------------------------------------------------------- Bas */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--egg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.25;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4, .h1, .h2, .h2-md, .h2-lg { margin: 0; font-weight: 400; }
ol, ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip-link:focus { left: 8px; }

/* ---------------------------------------------------------------- Typografi */

.h1 { font-size: clamp(44px, 5.56vw, 80px); line-height: 1; max-width: 760px; }
.h1--wide { max-width: 860px; }
.h2 { font-size: clamp(34px, 3.34vw, 48px); line-height: 1.25; }
.h2-md { font-size: clamp(28px, 2.5vw, 36px); line-height: 1.3; }
.h2-lg { font-size: clamp(34px, 3.34vw, 48px); line-height: 1.3; }
.h4 { font-size: clamp(20px, 1.67vw, 24px); line-height: 1.3; }
.lead-lg { font-size: clamp(20px, 1.67vw, 24px); line-height: 1.3; }
.lead-md { font-size: clamp(20px, 1.67vw, 24px); line-height: 1.3; }
.small { font-size: 16px; line-height: 1.25; color: var(--ink); }
.muted { color: var(--muted); }
.muted-lead { color: #2a2c29; }

.label {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 1.1px;
	text-transform: uppercase;
	margin-bottom: 16px;
}
.label--muted { color: var(--muted); }

.text-link {
	display: inline-flex; align-items: center; gap: 4px;
	color: var(--green); font-size: 16px; font-weight: 600;
}
.text-link__arrow { width: 8px; height: 6px; }
.text-link--dark { color: var(--ink); }

.btn {
	display: inline-flex; align-items: center; gap: 6px;
	background: var(--green); color: #fff;
	font-size: 16px; font-weight: 500;
	min-height: 48px; padding: 10px 16px; border-radius: 10px; justify-content: center; white-space: nowrap;
	transition: background .2s;
}

/* ---------------------------------------------------------------- Header */

.site-header { background: var(--egg); border-bottom: 1px solid var(--line-dark); position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 99px; padding-inline: 24px; max-width: var(--max); margin-inline: auto; }
.logo img { width: 186px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 62px; }
.site-nav .menu { display: flex; gap: 62px; }
.site-nav a { font-size: 13px; font-weight: 500; letter-spacing: .065px; }
.site-nav .current-menu-item > a, .site-nav .current_page_item > a { color: var(--green); }
.site-nav__cta { display: inline-flex; align-items: center; gap: 8px; color: var(--green); }
.site-nav__cta .arrow { width: 11px; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px 0; cursor: pointer; width: 30px; }
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); margin: 6px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------------------------------------------------------------- Fakta-rad (start) */

.facts { border-bottom: 1px solid #bdb9af; }
.facts__list { display: flex; justify-content: center; gap: clamp(40px, 10vw, 150px); margin: 0; padding: 16px var(--pad); font-size: 12px; letter-spacing: .06px; font-weight: 400; }
.facts__list div { display: flex; gap: 24px; }
.facts__list dt { color: var(--muted); }
.facts__list dd { margin: 0; font-weight: 500; }

/* ---------------------------------------------------------------- Hero */

.hero { padding-block: 200px 120px; }
@media (min-width: 901px) { .page-for-bolag .hero .wrap { padding-left: calc(var(--pad) + 14px); } }
.hero .h1 + * { margin-top: 24px; }
.hero__intro { max-width: 963px; font-weight: 400; color: #2a2c29; }
.hero .h1 + .hero__cols { margin-top: 40px; }
.hero__text { max-width: 550px; font-size: 16px; line-height: 1.25; color: #000; }
.hero__text p + p { margin-top: 20px; }
.page-kontakt .hero__text { max-width: 734px; }
.hero__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 509px)); gap: 64px; margin-top: 80px; font-weight: 400; color: #000; }
.hero__lead-block { margin-top: 40px !important; }
.hero__lead-block .label { margin-bottom: 24px; color: #000; }
.hero__lead-block .intro-cols__grid { justify-content: flex-start; }
.h1--wide { max-width: 871px; }
.intro-cols { padding-block: 40px 100px; }
.intro-cols .wrap { padding-inline: clamp(24px, 4.45vw, 64px); }
.intro-cols .label { margin-bottom: 40px; color: #000; }
.intro-cols__grid { display: flex; justify-content: flex-end; gap: 24px; font-size: 24px; font-weight: 400; color: #000; }
.intro-cols__grid p:first-child { width: 524px; }
.intro-cols__grid p:last-child { width: 483px; }

.hero--start { padding-block: 120px; }
.hero--start .h1 + * { margin-top: 24px; }
.hero__body { max-width: 884px; display: grid; gap: 24px; font-size: clamp(20px, 1.67vw, 24px); line-height: 1.3; color: #000; }
.hero__body .text-link { justify-self: start; }

.hero.hero--404 { padding-block: 140px 80px; }
.h404 { font-size: clamp(96px, 9.7vw, 140px); line-height: 1; color: var(--green); }
.hero--404 .hero__cols { margin-top: 70px; grid-template-columns: 573px 1fr; gap: 0; max-width: none; }
.hero--404 .links { display: flex; gap: 64px; margin-top: 70px; }

/* ---------------------------------------------------------------- Sektioner */

.section { padding-block: 110px; }
.section--flush { padding-top: 0; }
.section--tint { background: var(--stone); }
.section--intro { padding-block: 120px; }
.section--green { background: var(--green); color: #fff; }
.section--green .small { color: rgba(255, 255, 255, .92); }

.split { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 120px; }
.split .label { width: 296px; }
.split .h2 { white-space: nowrap; }
.split .lead-md { color: var(--ink); }
.split .lead-md + .small { margin-top: 16px; }
.section--support { padding-block: 120px; }
.split--wide { grid-template-columns: auto minmax(0, 1fr); gap: 64px; align-items: start; color: #000; }
.split--wide .label { width: 296px; color: #000; }
.split--wide .h2 { white-space: normal; width: 461px; }
.split--wide .small { color: #000; }
.section--story { padding-block: 120px 100px; }
.split--story { grid-template-columns: auto minmax(0, 509px); justify-content: start; gap: 140px; color: #000; }
.split--story .label { width: 296px; color: #000; }
.split--story .h2-lg { width: 533px; line-height: 1.25; }
.section--story { color: #000; }
.section--story .label { color: #000; margin-bottom: 16px; }
.story__title { max-width: 533px; line-height: 1.25; }
.story { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; margin-top: 40px; }
.story__col { display: grid; gap: 20px; align-content: start; }
.story .lead-lg { font-weight: 400; max-width: 509px; margin-bottom: 4px; }
.story .small { color: #000; }

/* Formeln: Kapital + Struktur + Operativ erfarenhet = … */
.formula {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 40px;
	margin: 80px 9px 0;
	padding: 80px 0;
	border-block: 1px solid var(--line-dark);
	font-size: 24px;
}
.formula__op { color: var(--muted-2); min-width: 21px; }
.formula__result { background: var(--green); color: #fff; text-align: center; padding: 40px 24px; width: 304px; flex: none; line-height: 1.25; }

/* Investeringsfokus-tabellen */
.section--focus { padding-block: 100px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-bottom: 40px; }
.section-head__intro { color: #000; }
.section-head .h2-lg { line-height: 1.25; }
.section-head .muted { max-width: 380px; }

.focus__row {
	display: grid;
	grid-template-columns: 230px minmax(0, 1fr) auto;
	column-gap: 150px;
	align-items: center;
	padding-block: 28px;
	border-bottom: 1px solid #bdb9af;
}
.focus__body { display: grid; gap: 24px; margin-top: 40px; }
.focus__row--head {
	padding-block: 12px;
	border-block: 1px solid var(--line-dark);
	font-size: 12px; font-weight: 500; letter-spacing: 1.1px; text-transform: uppercase; color: var(--muted);
}
.focus__area { font-size: 18px; font-weight: 400; line-height: 22.5px; letter-spacing: .72px; text-transform: uppercase; }
.focus__desc { font-size: 16px; }
.focus__keys { text-align: right; font-size: 14px; font-weight: 400; opacity: .72; }

.section--certificate { padding-block: 140px; }
.certificate { display: grid; grid-template-columns: auto 500px auto; column-gap: 167px; align-items: start; }
.certificate__img { margin-left: 13px; }
.certificate__label { font-size: 14px; font-weight: 400; text-transform: uppercase; color: #000; }
.certificate__text { color: #000 !important; }
.certificate__text { color: var(--ink-2); }
.certificate__img { width: 187px; opacity: .85; }

/* ---------------------------------------------------------------- Investeringar */

.investments { padding-top: 130px; display: grid; gap: 74px; }
.section:has(.investments) { padding-bottom: 120px; }
.investment { border-bottom: 0; }
.investment__main { display: grid; grid-template-columns: 1fr 1fr; }
.investment__link { display: flex; width: max-content; margin: 64px 0 0 auto; }
.investment__name { font-size: clamp(34px, 3.34vw, 48px); line-height: 62px; }
.investment__name a:hover { color: var(--green); }
.investment__body .label { font-size: 11px; margin-bottom: 0; line-height: 14px; }
.investment__body p:not(.label) { margin-top: 17px; max-width: 460px; color: #000; }
.investment__meta { display: flex; justify-content: flex-end; gap: 32px; margin-top: 64px; padding-top: 24px; border-top: 1px solid #cfcfcf; font-size: 13px; line-height: 18.85px; color: var(--muted); }
.investment--pending .investment__meta { margin-top: 60px; }
.investment__meta em { font-style: normal; color: var(--green); }
.investment--pending .investment__name { font-size: 16px; font-weight: 600; text-transform: uppercase; color: var(--green); }

/* ---------------------------------------------------------------- För bolag */

.support-intro { display: grid; gap: 16px; color: #000; }
.support-intro .label { color: #000; }
.support-intro .h2 { max-width: 461px; }
.support-intro .small { max-width: 935px; margin-top: 8px; color: #000; }
.support { margin-top: 64px; display: grid; gap: 40px; }
.support__row { display: flex; align-items: center; gap: 40px; padding-bottom: 24px; border-bottom: 1px solid #cfcfcf; color: #000; }
.support__row:last-child { border-bottom: 0; padding-bottom: 0; }
.support__row .small { flex: 1; color: #000; }
.support__num { font-size: 40px; line-height: 1.25; color: var(--green); flex: none; }
.support__title { font-size: clamp(24px, 2.5vw, 36px); line-height: 1.25; width: 580px; flex: none; }

.section--green .h2-lg { max-width: 1000px; }
.section--build { padding-block: 120px; }
.section--build .label { font-size: 14px; font-weight: 400; letter-spacing: 0; margin-bottom: 16px; }
.section--build .h2-lg { line-height: 1.25; }
.checklists { display: grid; grid-template-columns: repeat(2, minmax(0, 580px)); gap: 40px; margin-top: 80px; }
.checklist__head { font-size: 14px; font-weight: 400; padding-bottom: 24px; border-bottom: 1px solid #fff; margin-bottom: 52px; }
.checklist ol { display: grid; gap: 24px; }
.checklist li { display: flex; align-items: center; gap: 24px; font-size: clamp(20px, 1.67vw, 24px); font-weight: 400; line-height: 34px; padding-bottom: 22px; border-bottom: 1px solid #fff; }
.checklist__num { font-size: 16px; font-weight: 600; min-width: 18px; }

/* ---------------------------------------------------------------- Om */

.philo { display: grid; grid-template-columns: minmax(0, 1fr) 48.4%; gap: 16px; max-width: var(--max); margin-inline: auto; }
.philo__text { padding: 80px 32px 80px calc(var(--pad) + 32px); }
.section--philo .label { margin-bottom: 16px; }
.section--philo .h2-lg { max-width: 505px; line-height: 1.25; }
.section--philo .h2-lg + .small { margin-top: 16px; color: #fff; }
.philo__image { position: relative; margin: 0; min-height: 100%; overflow: hidden; }
.philo__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.philo__image::after { content: ""; position: absolute; inset: 0; background: rgba(22, 77, 67, .2); }
.philosophy { display: grid; gap: 24px; max-width: 570px; margin-top: 40px; }
.philosophy > div { display: grid; gap: 12px; align-content: start; }
.philosophy .small + .small { margin-top: 8px; }
.philosophy__num { font-size: 40px; line-height: 1.25; }
.philosophy .h4 { font-size: 24px; line-height: 1.25; }
.philosophy .small { color: #fff; }


.section--people { padding-block: 100px; }
.people__title { max-width: 500px; margin-bottom: 40px; line-height: 1.25; color: #000; }
.people { border-top: 1px solid #000; padding-top: 40px; }
.person { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 199px; gap: 64px; padding-bottom: 80px; border-bottom: 1px solid #cfcfcf; color: #000; }
.person + .person { padding-top: 80px; }
.person:last-child { padding-bottom: 0; border-bottom: 0; }
.person .h2-lg { line-height: 1.25; }
.person__head { display: flex; flex-direction: column; }
.person__head .label { font-size: 14px; font-weight: 400; letter-spacing: 0; margin-bottom: 16px; color: #000; }
.person:nth-child(even) .person__head .label { order: 1; margin: 16px 0 0; }
.person__photo { order: 2; position: relative; width: 283px; max-width: 100%; aspect-ratio: 283 / 285; margin: 16px 0 0; overflow: hidden; background: var(--stone); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__photo::after { content: ""; position: absolute; inset: 0; background: rgba(238, 237, 231, .2); }
.person__bio { color: #000; }
.person__bio p + p { margin-top: 20px; }
.person__stat { font-size: 16px; line-height: 1.25; }
.person__stat span { display: block; font-size: 54px; line-height: 51px; color: var(--green); margin-bottom: 8px; }

/* ---------------------------------------------------------------- Nyheter */

.hero.hero--news { padding-block: 200px 40px; }
.section--news { padding-block: 80px; }
.news { border-top: 1px solid #000; padding-top: 64px; display: grid; gap: 64px; }
.news-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 867px); gap: 120px; padding-bottom: 24px; border-bottom: 1px solid #cfcfcf; color: #000; }
.news-item:last-child { padding-bottom: 0; border-bottom: 0; }
.hero--news .hero__text { max-width: 789px; }
.news-item__date { font-size: 18px; line-height: 22.5px; letter-spacing: .72px; text-transform: uppercase; color: var(--green); }
.news-item__image { width: 395px; max-width: 100%; aspect-ratio: 395 / 221; margin: 0 0 24px; overflow: hidden; background: #fff; }
.news-item__image img { width: 100%; height: 100%; object-fit: cover; }
.news-item__title { font-size: 24px; line-height: 1.25; font-weight: 400; }
.news-item__text { margin-top: 15px; font-size: 16px; line-height: 1.3; }
.news-item__text > * + * { margin-top: 1em; }
.news-item__text a { text-decoration: underline; }
@media (max-width: 900px) {
	.hero.hero--news { padding-block: 50px 24px; }
	.section--news { padding-block: 40px 80px; }
	.news { padding-top: 40px; gap: 40px; }
	.news-item { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* ---------------------------------------------------------------- Kontakt */

.page-kontakt .hero { padding-block: 120px; }
@media (max-width: 900px) { .page-kontakt .hero { padding-block: 50px 70px; } }
.section--contact { padding-block: 100px; }
.contact { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 200px; border-top: 1px solid #000; padding-top: 40px; color: #000; }
.contact .label { font-size: 14px; font-weight: 400; letter-spacing: 0; margin-bottom: 16px; color: #000; }
.contact .h2-lg { line-height: 1.25; }
.contact__list { margin: 0; display: grid; gap: 40px; }
.contact__list > div { display: grid; grid-template-columns: 200px 1fr; align-items: center; padding-bottom: 40px; border-bottom: 1px solid #cfcfcf; }
.contact__list > div:last-child { border-bottom: 0; padding-bottom: 0; align-items: start; }
.contact__list dt { font-size: 14px; font-weight: 400; text-transform: uppercase; }
.contact__list dd { margin: 0; font-size: 24px; line-height: 1.25; }
.contact__list a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.contact__list div:nth-child(2) a { text-decoration: none; }

/* ---------------------------------------------------------------- Sidfot */

.site-footer { background: var(--black); color: #fff; padding-block: 80px; }
.cta { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(60px, 18vw, 260px); align-items: center; padding-bottom: 120px; }
.cta__title { white-space: nowrap; }
.cta__title { font-size: clamp(56px, 6.1vw, 88px); line-height: 1; color: var(--cream); letter-spacing: -0.01em; padding-top: 10px; }
/* Rund punkt som i Figma — Geists punkt är kvadratisk. */
.cta__title .dot { display: inline-block; width: .16em; height: .16em; margin-left: .06em; border-radius: 50%; background: var(--teal); }
.cta__aside p { color: var(--stone); max-width: 420px; margin-bottom: 24px; }
.cta__aside .btn { width: 165px; }

.site-footer__grid { display: flex; align-items: flex-end; gap: clamp(32px, 7vw, 100px); padding-top: 24px; border-top: 1px solid #cfcfcf; font-size: 14px; line-height: 1.3; color: var(--egg); }
.site-footer__brand { width: 188px; display: grid; gap: 4px; color: #fff; }
.site-footer__linkedin img { width: 44px; height: 44px; }
.site-footer__col { width: 250px; }
.site-footer__mail { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__nav { flex: 1; }
.site-footer__nav .menu { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.site-footer a:not(.btn):hover { color: var(--cream); text-decoration: underline; }
.site-footer__legal { display: flex; justify-content: space-between; margin-top: 80px; padding-right: 20px; font-size: 14px; color: #bdb9af; }
.site-footer__legal-links { display: flex; gap: 32px; }
.site-footer__cookies { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.site-footer__cookies:hover { color: var(--cream); text-decoration: underline; }

/* ---------------------------------------------------------------- Samtyckesbanner */

.consent {
	position: fixed; z-index: 60; left: 24px; bottom: 24px; width: min(440px, calc(100% - 48px));
	padding: 24px; background: var(--egg); color: #000; border: 1px solid #cfcfcf; border-radius: 10px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, .12); font-size: 14px; line-height: 1.4;
}
.consent[hidden] { display: none; }
.consent__title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.consent__text a { text-decoration: underline; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.consent .btn { min-height: 44px; border: 0; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.btn--ghost { background: transparent; color: var(--green); }
@media (hover: hover) { .btn--ghost:hover { background: rgba(22, 77, 67, .08); } }
.btn--ghost:focus-visible { background: rgba(22, 77, 67, .08); }
@media (max-width: 600px) { .consent { left: 16px; bottom: 16px; width: calc(100% - 32px); } .consent .btn { flex: 1; } }

/* ---------------------------------------------------------------- Löptext */

.prose { max-width: 720px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 28px; color: var(--ink); margin-top: 1.8em; }
.prose h3 { font-size: 22px; color: var(--ink); margin-top: 1.5em; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose a { color: var(--green); text-decoration: underline; }

/* ---------------------------------------------------------------- Surfplatta */

@media (max-width: 1180px) {
	.focus__row { grid-template-columns: 200px minmax(0, 1fr) auto; column-gap: 48px; }
	.site-nav, .site-nav .menu { gap: 32px; }
	.formula { padding-inline: 0; margin-inline: 0; font-size: 19px; }
	.formula__result { padding: 24px; }
	.person { grid-template-columns: 1fr 1.3fr .7fr; gap: 32px; }
	.person__stat span { font-size: 44px; }
}

/* ---------------------------------------------------------------- Mobil (Figma 390) */

@media (max-width: 900px) {
	body { font-size: 15px; }

	.site-header__inner { height: 106px; }
	.nav-toggle { display: block; }
	.site-nav {
		position: fixed; inset: 107px 0 0; z-index: 40;
		flex-direction: column; align-items: flex-start; gap: 0;
		background: var(--egg); padding: 16px 24px;
		opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
	}
	.site-nav.is-open { opacity: 1; visibility: visible; }
	.site-nav .menu { flex-direction: column; gap: 0; width: 100%; }
	.site-nav .menu li, .site-nav__cta { border-bottom: 1px solid var(--line); width: 100%; }
	.site-nav a { display: flex; font-size: 28px; font-weight: 400; padding-block: 18px; }
	.site-nav__cta .arrow { width: 18px; }
	body.nav-open { overflow: hidden; }

	.facts__list { flex-direction: column; gap: 14px; padding: 20px 24px; }
	.facts__list div { justify-content: space-between; }

	.h1 { font-size: 48px; line-height: 1.3; }
	.hero, .hero--start { padding-block: 50px 70px; }
	.hero .h1 + * { margin-top: 34px; }
	.hero__cols { grid-template-columns: 1fr; gap: 24px; margin: 40px 0 0; }
	.hero--plain { padding-block: 50px 20px; }
	.intro-cols { padding-block: 30px 70px; }
	.intro-cols__grid { flex-direction: column; font-size: 20px; }
	.intro-cols__grid p:first-child, .intro-cols__grid p:last-child { width: auto; }
	.split--wide .label, .split--wide .h2 { width: auto; }

	.section { padding-block: 80px; }
	.section--flush { padding-top: 0; }
	.split, .split--wide, .split--story { grid-template-columns: 1fr; gap: 24px; }
	.split--story .label, .split--story .h2-lg, .section--philo .h2-lg { width: auto; }
	.story { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
	.philo { grid-template-columns: 1fr; gap: 0; }
	.philo__text { padding: 60px var(--pad); }
	.philo__image { min-height: 0; aspect-ratio: 4 / 3; }
	.person { padding-bottom: 50px; }
	.person + .person { padding-top: 50px; }
	.hero { padding-block: 60px 70px; }
	.hero__lead-block .intro-cols__grid { flex-direction: column; }
	.split--wide .small { padding-top: 0; }
	.h2 { font-size: 36px; line-height: 1.45; }
	.lead-md { font-size: 22px; line-height: 1.4; }
	.small { font-size: 15px; line-height: 1.4; }

	.formula { flex-direction: column; gap: 20px; margin-top: 50px; padding: 56px 0; text-align: center; }
	.formula__op { min-width: 0; line-height: 1; }
	.formula__result { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 304px; min-height: 120px; margin-top: 12px; padding: 24px; }

	.section-head { flex-direction: column; gap: 20px; margin-bottom: 60px; }
	.section-head .muted { padding-top: 0; }
	.focus__row--head { display: none; }
	.focus__row { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding-block: 50px; }
	.focus__area, .focus__desc, .focus__keys { text-align: left; }
	.section--certificate { padding-block: 70px; }
	.certificate { grid-template-columns: 1fr; gap: 16px; }
	.certificate__img { justify-self: start; margin-top: 24px; }

	.investments { padding-top: 30px; }
	.investment__main { grid-template-columns: 1fr; gap: 24px; padding-bottom: 40px; }
	.investment__meta { justify-content: flex-start; margin-top: 32px; }
	.investment__link { margin: 32px 0 0; }
	.investments { gap: 50px; }
	.site-footer__grid { flex-direction: column; align-items: flex-start; }
	.site-footer__nav .menu { align-items: flex-start; }

	.support { margin-top: 50px; }
	.support__row { flex-direction: column; align-items: flex-start; gap: 14px; }
	.support__title { width: auto; }
	.checklists { grid-template-columns: 1fr; gap: 50px; margin-top: 50px; }
	.checklist li { font-size: 20px; }

	.philosophy { grid-template-columns: 1fr; gap: 50px; margin-top: 50px; }
	.person, .person:nth-child(even) { grid-template-columns: 1fr; gap: 24px; }
	.person:nth-child(even) .person__head .label { order: 0; margin: 0 0 24px; }

	.contact { grid-template-columns: 1fr; gap: 30px; }
	.contact__list > div { grid-template-columns: 1fr; gap: 10px; }
	.contact__list dd { font-size: 20px; overflow-wrap: anywhere; }

	.hero--404 .hero__cols { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
	.hero--404 .links { gap: 40px; margin-top: 40px; }

	.site-footer { padding-top: 80px; padding-bottom: 60px; }
	.cta { grid-template-columns: 1fr; gap: 40px; padding-bottom: 70px; }
	.cta__title { font-size: 56px; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 18px; border-top: 0; padding-top: 0; }
	.site-footer__legal { flex-direction: column; gap: 16px; margin-top: 50px; padding-top: 40px; padding-right: 0; border-top: 1px solid #cfcfcf; }
	.site-footer__legal-links { gap: 24px; }
	.split .h2 { white-space: normal; }
}

/* ==========================================================================
   Mikroanimationer (spec Alexandra 2026-10-26)
   Endast transform och opacity (+ färg). Startlägen bara under html.js.
   ========================================================================== */

:root {
	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--dur-fast: 150ms;
	--dur-base: 250ms;
	--dur-medium: 300ms;
	--dur-reveal: 850ms;
	--dur-hero: 950ms;
	--stagger: 135ms;
	--rise-hero: 16px;
	--rise: 16px;
	--green-hover: #1b5f53;
}

/* 1. Hero vid sidladdning */
@keyframes ct-rise { from { opacity: 0; transform: translateY(var(--rise-hero)); } to { opacity: 1; transform: none; } }
@keyframes ct-fade { from { opacity: 0; } to { opacity: 1; } }
.js .hero .wrap > *,
.js .hero__body > * {
	animation: ct-rise var(--dur-hero) var(--ease-out) both;
	animation-delay: calc(var(--i, 0) * var(--stagger));
}
.js .hero .wrap > :nth-child(2) { --i: 1; }
.js .hero .wrap > :nth-child(3) { --i: 2; }
.js .hero .wrap > :nth-child(4) { --i: 3; }
.js .hero .wrap > .hero__body { animation: none; }
.js .hero__body > :nth-child(1) { --i: 1; }
.js .hero__body > :nth-child(2) { --i: 2; }
.js .hero__body > :nth-child(3) { --i: 3; }

/* 2. Scroll-reveal (klassen sätts av JS) */
.js .reveal {
	opacity: 0;
	transform: translateY(var(--rise));
	transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
	transition-delay: calc(var(--i, 0) * var(--stagger));
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* 3. Pilar */
.site-nav__cta .arrow,
.text-link__arrow { display: inline-block; transition: transform var(--dur-base) var(--ease-out); }
.site-nav__cta:focus-visible .arrow,
.text-link:focus-visible .text-link__arrow { transform: translateX(4px); }

/* 4. Knappar */
.btn { transition: background-color var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out); text-decoration: none !important; }
.btn:focus-visible { background: var(--green-hover); }
.btn:active { transform: scale(0.98); }

/* 5. Navigation: understreck från vänster, lämnar åt höger */
.site-nav .menu a { position: relative; }
.site-nav .menu a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
	background: currentColor;
	transform: scaleX(0); transform-origin: right;
	transition: transform var(--dur-base) var(--ease-out);
}
.site-nav .menu a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.site-nav .current-menu-item > a::after,
.site-nav .current_page_item > a::after { transform: scaleX(1); transition: none; }

@media (hover: hover) {
	.btn:hover { background: var(--green-hover); }
	.site-nav__cta:hover .arrow,
	.text-link:hover .text-link__arrow { transform: translateX(4px); }
	.site-nav .menu a:hover::after { transform: scaleX(1); transform-origin: left; }
}
@media (max-width: 900px) { .site-nav .menu a::after { display: none; } .focus__marker { left: -16px; right: -16px; } }

/* Investeringsfokus: scrollstyrd markering */
.focus__body { position: relative; }
.focus__marker {
	position: absolute; left: -24px; right: -24px; top: 0;
	height: var(--mh, 130px);
	background: var(--green);
	transform: translateY(var(--my, 0px));
	transition: transform var(--dur-medium) var(--ease-out), height var(--dur-medium) var(--ease-out);
	pointer-events: none; z-index: 0;
}
.focus__marker.is-instant { transition: none; }
.focus__row { position: relative; z-index: 1; color: var(--ink); cursor: default; transition: color var(--dur-medium) var(--ease-out), border-color var(--dur-medium) var(--ease-out); }
.focus__row--head { z-index: 2; }
.focus__row.is-active { color: #fff; }
.focus__row.is-active .focus__keys { opacity: .85; }
.focus__row.is-active { border-bottom-color: transparent; }
html:not(.js) .focus__marker { display: none; }
html:not(.js) .focus__row.is-active { background: var(--green); }

/* Reducerad rörelse: ingen förflyttning, bara kort tonning; färger behålls */
@media (prefers-reduced-motion: reduce) {
	.js .hero .wrap > *,
	.js .hero__body > * { animation: ct-fade 200ms linear both; animation-delay: 0ms; }
	.js .reveal { transform: none; transition: opacity 200ms linear; transition-delay: 0ms; }
	.site-nav__cta .arrow, .text-link__arrow { transition: none; transform: none !important; }
	.btn:active { transform: none; }
	.site-nav .menu a::after { transition: none; }
	.focus__marker { transition: none; }
}
