/* =========================================================
   Armatia Management AB — Stylesheet
   ========================================================= */

:root {
  --color-primary: #0a1e3c;
  --color-primary-mid: #132d56;
  --color-text: #2c2f33;
  --color-text-muted: #5a6070;
  --color-bg: #ffffff;
  --color-muted: #f2f4f7;
  --color-border: #d0d6de;
  --color-border-strong: #b0b8c4;
  --color-accent: #c8571a;
  --color-accent-hover: #a84614;
  --font-main: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1100px;
  --spacing-md: 2rem;
  --spacing-lg: 4.5rem;
  --spacing-xl: 6.5rem;
}

/* ---------------------------------------------------------
   Reset & Base
   --------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ---------------------------------------------------------
   Layout Helpers
   --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--spacing-lg) 0;
}

/* Shared labels & headings */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.22;
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 620px;
  line-height: 1.8;
}

/* ---------------------------------------------------------
   Header / Navigation
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.site-brand__icon {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.site-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 5px;
}

.site-brand__name {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  white-space: nowrap;
}

.site-brand__tagline {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .site-brand {
    gap: 0.5rem;
  }

  .site-brand__icon {
    height: 34px;
  }

  .site-brand__name {
    font-size: 0.78rem;
  }

  .site-brand__tagline {
    font-size: 0.45rem;
    letter-spacing: 0.18em;
  }
}

.nav {
  display: none;
  gap: 2rem;
  align-items: center;
}

.nav__link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--color-text);
  transition: color 0.15s;
}

.nav__link:hover {
  color: var(--color-primary);
}

.nav__link--cta {
  color: #ffffff;
  background: var(--color-accent);
  padding: 0.42rem 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav__link--cta:hover {
  background: var(--color-accent-hover);
  color: #ffffff;
}

.nav__link[aria-current="page"] {
  color: var(--color-primary);
  font-weight: 600;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 1px;
}

.nav__link--cta[aria-current="page"] {
  border-bottom: none;
  padding-bottom: 0.42rem;
}

/* Mobile toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-primary);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 0.5rem 1.5rem 1.25rem;
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile .nav__link {
  padding: 0.7rem 0;
  font-size: 0.95rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.nav-mobile .nav__link:last-child {
  border-bottom: none;
  color: var(--color-accent);
  font-weight: 600;
}

/* ---------------------------------------------------------
   Hero — bridge-bild med mörk overlay, vit text
   --------------------------------------------------------- */
.hero {
  position: relative;
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  overflow: hidden;
  border-bottom: 3px solid var(--color-accent);
}

/* Bakgrundsbild via pseudo-element */
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('images/bridge-construction.jpg');
  background-size: cover;
  background-position: center 35%;
  filter: brightness(0.38) saturate(0.6);
  z-index: 0;
}

/* Gradient-overlay för bättre textkontrast */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 30, 60, 0.55) 0%,
    rgba(10, 30, 60, 0.25) 100%
  );
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.5rem;
}

.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--color-accent);
  flex-shrink: 0;
}

.hero__title {
  font-size: clamp(1.75rem, 4.2vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.18;
  max-width: 760px;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero__text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Trust markers */
.hero__markers {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 30, 60, 0.55);
  backdrop-filter: blur(4px);
  width: fit-content;
  max-width: 100%;
}

.hero__marker {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.55rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

.hero__marker:last-child {
  border-right: none;
}

.hero__cta {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.15s;
}

.hero__cta:hover {
  background: var(--color-accent-hover);
}

/* ---------------------------------------------------------
   Statement — typografisk "visuell paus" utan bild
   --------------------------------------------------------- */
.statement {
  background: var(--color-primary);
  padding: 3.5rem 0;
  border-top: none;
  border-bottom: 3px solid var(--color-accent);
}

.statement__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.statement__lines {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.statement__line {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.statement__line--accent {
  color: var(--color-accent);
}

.statement__sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 480px;
  line-height: 1.7;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .statement__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
  }

  .statement__lines {
    flex-shrink: 0;
  }

  .statement__sub {
    border-top: none;
    padding-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 2rem;
  }
}

/* Bro-bilden: fokus på mitten av bilden */
.site-banner__image--bridge {
  object-position: center 50%;
}

/* ---------------------------------------------------------
   Intro / Positionering
   --------------------------------------------------------- */
.intro {
  padding: var(--spacing-lg) 0;
  border-bottom: 1px solid var(--color-border);
}

.intro__grid {
  display: grid;
  gap: 1.25rem;
}

.intro__text {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.82;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--color-primary);
  background: var(--color-muted);
}

.intro__text strong {
  color: var(--color-primary);
  font-weight: 600;
}

/* Editorial intro – 2-column layout */
.intro__editorial {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 0.5rem 0;
  border-top: 2px solid var(--color-primary);
}

.intro__lead {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
}

.intro__lead strong {
  color: var(--color-primary);
  font-weight: 600;
}

.intro__aside {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  padding-left: 1.25rem;
  border-left: 2px solid var(--color-border);
}

.intro__aside strong {
  color: var(--color-text);
  font-weight: 600;
}

/* Image ribbon */
.img-ribbon {
  display: grid;
  grid-template-columns: 5fr 4fr;
  height: 200px;
  overflow: hidden;
}

.img-ribbon__frame {
  overflow: hidden;
  position: relative;
}

.img-ribbon__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.82) brightness(0.9);
}

.img-ribbon__frame--wide img {
  object-position: center 40%;
}

.img-ribbon__frame:nth-child(2) img {
  object-position: center 38%;
}

.img-ribbon__frame--hide-mobile {
  display: none;
}

/* ---------------------------------------------------------
   Capabilities (Det vi gör) — ljus bakgrund, navy strukturelement
   --------------------------------------------------------- */
.capabilities {
  padding: var(--spacing-lg) 0;
  background: var(--color-muted);
  border-top: 3px solid var(--color-primary);
  border-bottom: 1px solid var(--color-border);
}

.capabilities__inner {
  display: grid;
  gap: var(--spacing-md);
}

.capabilities__intro .section-intro {
  max-width: 100%;
}

.capabilities__list {
  display: flex;
  flex-direction: column;
}

.capability {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

.capability:first-child {
  border-top: 1px solid var(--color-border);
}

.capability__number {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  padding-top: 0.25rem;
  font-variant-numeric: tabular-nums;
}

.capability__content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.capability__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.72;
  margin-bottom: 0.85rem;
}

.capability__list {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.capability__list li {
  font-size: 0.875rem;
  color: var(--color-text);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.capability__list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* ---------------------------------------------------------
   Experience (Erfarenhet) — vit bakgrund, navy strukturgrid
   --------------------------------------------------------- */
.experience {
  padding: var(--spacing-lg) 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.experience__header {
  margin-bottom: 2.25rem;
}

.experience__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--color-primary);
}

.experience-item {
  padding: 1.1rem 1.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.4;
  border-bottom: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  position: relative;
  transition: background 0.15s;
}

.experience-item:nth-child(even) {
  border-right: none;
}

/* sista raden */
.experience-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.experience-item:hover {
  background: var(--color-muted);
}

.experience-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.15s;
}

.experience-item:hover::before {
  background: var(--color-accent);
}

.experience-item__sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-top: 0.2rem;
}

/* ---------------------------------------------------------
   Referensgrupper (expertis.html)
   --------------------------------------------------------- */
.ref-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--color-border);
  margin-top: 2.5rem;
}

.ref-group {
  padding: 1.75rem 2rem;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.ref-group:nth-child(even) {
  border-right: none;
}

.ref-group:nth-last-child(-n+2) {
  border-bottom: none;
}

.ref-group__org {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.ref-group__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ref-group__list li {
  font-size: 0.9rem;
  color: var(--color-text);
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.4;
}

.ref-group__list li:last-child {
  border-bottom: none;
}

/* ---------------------------------------------------------
   Expertis-teaser lista (index.html)
   --------------------------------------------------------- */
.expertise-teaser__list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  border-top: 1px solid var(--color-border);
}

.expertise-teaser__list li {
  padding: 0.65rem 0;
  font-size: 0.95rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  padding-left: 1rem;
  position: relative;
}

.expertise-teaser__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 14px;
  background: var(--color-accent);
}

/* ---------------------------------------------------------
   Site Banner (miljöbild med overlay)
   --------------------------------------------------------- */
.site-banner {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.site-banner__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  filter: brightness(0.55) saturate(0.7);
}

.site-banner__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(
    to right,
    rgba(10, 30, 60, 0.72) 0%,
    rgba(10, 30, 60, 0.45) 60%,
    rgba(10, 30, 60, 0.2) 100%
  );
}

.site-banner__quote {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 500;
  color: #ffffff;
  max-width: 600px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  padding-left: 1.5rem;
  border-left: 3px solid var(--color-accent);
}

/* ---------------------------------------------------------
   Credentials / badges
   --------------------------------------------------------- */
.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.credential {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-muted);
  border: 1px solid var(--color-border);
  padding: 0.28rem 0.65rem;
  white-space: nowrap;
}

/* ---------------------------------------------------------
   Experts (Våra experter)
   --------------------------------------------------------- */
.experts {
  padding: var(--spacing-lg) 0;
  background: var(--color-muted);
  border-top: 1px solid var(--color-border);
  border-bottom: 3px solid var(--color-primary);
}

.experts__header {
  margin-bottom: 2.5rem;
}

.experts__grid {
  display: grid;
  gap: 1.5rem;
}

.expert-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-primary);
  display: flex;
  flex-direction: column;
}

.expert-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--color-primary);
  overflow: hidden;
  flex-shrink: 0;
}

.expert-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

/* Fatih – ny bild är nästan kvadratisk, ansiktet i övre centrum */
.expert-card__image--fatih img {
  object-position: center 10%;
}

.expert-card__content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.expert-card__title-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.2rem;
}

.expert-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.15rem;
}

.expert-card__role {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

/* Separator under credentials i expertkortet (ersätter role-raden) */
.expert-card__credentials {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.expert-card__bio {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.78;
  margin-bottom: 0.75rem;
}

.expert-card__bio:last-child {
  margin-bottom: 0;
}

/* "Läs mer"-länk under experter */
.experts__more {
  margin-top: 2rem;
  text-align: center;
}

.experts__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2px;
  transition: border-color 0.15s, color 0.15s;
}

.experts__link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Keep old list selector for om-oss page compatibility */
.expert-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.expert-card__list li {
  font-size: 0.83rem;
  color: var(--color-text);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.expert-card__list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* ---------------------------------------------------------
   Collaboration (Hur vi arbetar)
   — ljus bakgrund, navy-paneler inuti
   --------------------------------------------------------- */
.collaboration {
  padding: var(--spacing-lg) 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.collaboration__intro {
  margin-bottom: 2.5rem;
}

.collaboration__grid {
  display: grid;
  gap: 1.25rem;
}

/* Kolumnerna är mörka navy-paneler inuti ljus sektion */
.collaboration-col {
  padding: 2rem 1.75rem;
  background: var(--color-primary);
  color: #ffffff;
  position: relative;
}

.collaboration-col::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
}

.collaboration-col__name {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.4rem;
}

.collaboration-col h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.collaboration-col__list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.collaboration-col__list li {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.82);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.collaboration-col__list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* ---------------------------------------------------------
   Strengths (Vår styrka)
   --------------------------------------------------------- */
.strengths {
  padding: var(--spacing-lg) 0;
  background: var(--color-muted);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.strengths__header {
  margin-bottom: 2rem;
}

.strengths__grid {
  display: grid;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.strength-item {
  background: var(--color-bg);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.strength-item__mark {
  width: 3px;
  height: 1rem;
  background: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.32rem;
}

.strength-item p {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.5;
}

/* ---------------------------------------------------------
   Contact — mörkblå avslutning
   --------------------------------------------------------- */
.contact {
  padding: var(--spacing-lg) 0;
  background: var(--color-primary);
}

.contact .section-label {
  color: var(--color-accent);
}

.contact .section-heading {
  color: #ffffff;
}

.contact__header {
  margin-bottom: 1.75rem;
}

.contact__intro {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 2.5rem;
  max-width: 540px;
  line-height: 1.8;
}

.contact__grid {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Light variant – kontakt.html */
.contact--light {
  background: #f3f5f7;
  border-top: 3px solid var(--color-accent);
}

.contact--light .contact__grid {
  background: transparent;
  border: none;
  gap: 1.5rem;
}

.contact--light .contact-card {
  background: var(--color-primary);
}

.contact-card {
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.04);
  position: relative;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
}

.contact-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.contact-card__role {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.48);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card__details {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.contact-card__link {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: color 0.15s;
}

.contact-card__link:hover {
  color: #ffffff;
}

.contact-card__link-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  min-width: 2.5rem;
  flex-shrink: 0;
}

/* ---------------------------------------------------------
   Facts / Faktaboxar
   --------------------------------------------------------- */
.facts {
  background: var(--color-primary);
  border-bottom: 3px solid var(--color-accent);
}

.facts__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.fact-item {
  padding: 2rem 1.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.fact-item:nth-child(even) {
  border-right: none;
}

.fact-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.fact-item__value {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.fact-item__value--text {
  font-size: 1.1rem;
  letter-spacing: 0;
  line-height: 1.35;
}

.fact-item__plus {
  color: var(--color-accent);
  font-size: 1.5rem;
}

.fact-item__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

@media (min-width: 640px) {
  .facts__grid {
    grid-template-columns: repeat(4, 1fr);
    padding: 0 1.5rem;
  }

  .fact-item {
    border-bottom: none;
  }

  .fact-item:nth-child(even) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .fact-item:last-child {
    border-right: none;
  }
}

/* ---------------------------------------------------------
   Lifecycle / Projektets livscykel
   --------------------------------------------------------- */
.lifecycle {
  background: var(--color-muted);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.lifecycle__header {
  margin-bottom: 2.5rem;
}

.lifecycle__track {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lifecycle__step {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.lifecycle__step:last-child {
  border-bottom: none;
}

.lifecycle__connector {
  display: none;
}

.lifecycle__node {
  width: 2rem;
  height: 2rem;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.lifecycle__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.lifecycle__desc {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Desktop: horisontell timeline */
@media (min-width: 860px) {
  .lifecycle__track {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }

  .lifecycle__step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0;
    border-bottom: none;
    border-right: none;
    position: relative;
  }

  .lifecycle__connector {
    display: block;
    flex: 0 0 1.5rem;
    height: 2px;
    background: var(--color-border);
    margin-top: 1rem;
    align-self: flex-start;
  }

  .lifecycle__node {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
  }

  .lifecycle__body {
    padding-right: 0.5rem;
  }

  .lifecycle__name {
    font-size: 0.875rem;
  }

  .lifecycle__desc {
    font-size: 0.78rem;
  }
}

/* ---------------------------------------------------------
   Usecases / När struktur och teknik
   --------------------------------------------------------- */
.usecases {
  background: var(--color-bg);
  border-top: 3px solid var(--color-primary);
  border-bottom: 1px solid var(--color-border);
}

.usecases__header {
  margin-bottom: 2rem;
}

.usecases__grid {
  display: grid;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.usecase {
  background: var(--color-bg);
  padding: 1.5rem 1.75rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.usecase__mark {
  width: 3px;
  min-height: 1.1rem;
  background: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.32rem;
}

.usecase p {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.78;
}

@media (min-width: 768px) {
  .usecases__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------------------------------------------------------
   Text link (inline navigeringslänk)
   --------------------------------------------------------- */
.text-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s, opacity 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.text-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.text-link--accent {
  color: var(--color-accent);
}

.text-link--accent:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  opacity: 0.75;
}

/* ---------------------------------------------------------
   Contact teaser (startsida & expertis — länk till kontakt)
   --------------------------------------------------------- */
.contact-teaser {
  background: var(--color-muted);
  border-top: 3px solid var(--color-primary);
  border-bottom: 1px solid var(--color-border);
  padding: 2.5rem 0;
}

.contact-teaser__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-teaser__text {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.7;
  max-width: 540px;
  margin-top: 0.25rem;
}

.contact-teaser__cta {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  transition: background 0.15s;
}

.contact-teaser__cta:hover {
  background: var(--color-accent-hover);
}

@media (min-width: 640px) {
  .contact-teaser__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ---------------------------------------------------------
   Domains (verksamhetsområden på expertis.html)
   --------------------------------------------------------- */
.domains {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.domains__header {
  margin-bottom: 2.25rem;
}

.domains__grid {
  display: grid;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-primary);
}

.domain-item {
  background: var(--color-bg);
  padding: 1.25rem 1.4rem;
  position: relative;
}

.domain-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-primary);
}

.domain-item__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.domain-item p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .domains__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .domains__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* ---------------------------------------------------------
   Contact about (kontakt.html under kontaktkort)
   --------------------------------------------------------- */
.contact-about {
  max-width: 640px;
  padding: 2rem 0 1rem;
  border-top: 1px solid var(--color-border);
}

.contact-about__text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.contact-about__links {
  font-size: 0.875rem;
}

/* ---------------------------------------------------------
   Footer nav
   --------------------------------------------------------- */
.footer__nav {
  display: flex;
  gap: 1rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}

.footer__nav a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.15s;
}

.footer__nav a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.footer {
  background: #05111f;
  color: rgba(255, 255, 255, 0.45);
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer__brand {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.25rem;
}

.footer__info {
  font-size: 0.78rem;
  line-height: 1.7;
}

.footer__info a {
  color: rgba(255, 255, 255, 0.45);
}

.footer__info a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer__copy {
  font-size: 0.73rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  margin-top: 0.25rem;
}

/* ---------------------------------------------------------
   Page Hero (Om oss)
   --------------------------------------------------------- */
.page-hero {
  background: var(--color-primary);
  color: #ffffff;
  padding: var(--spacing-lg) 0;
  border-bottom: 3px solid var(--color-accent);
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-accent);
}

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1rem;
}

.page-hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
}

.page-hero__title {
  font-size: clamp(1.35rem, 3.2vw, 2.1rem);
  font-weight: 700;
  line-height: 1.24;
  max-width: 680px;
  margin-bottom: 1rem;
  color: #ffffff;
}

.page-hero__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.68);
  max-width: 560px;
  line-height: 1.78;
}

/* ---------------------------------------------------------
   Bio (Om oss)
   --------------------------------------------------------- */
.bio-section {
  padding: var(--spacing-lg) 0;
  border-bottom: 1px solid var(--color-border);
}

#sara,
#fatih {
  scroll-margin-top: 80px;
}

.bio-section:last-of-type {
  border-bottom: none;
}

/* Two-column layout: portrait left, text right */
.bio__layout {
  display: grid;
  gap: 2.5rem;
}

.bio__portrait {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-primary);
  flex-shrink: 0;
}

.bio__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

/* Fatih – ny bild är nästan kvadratisk, centreras horisontellt */
.bio__portrait-img--fatih {
  object-position: center center !important;
}

.bio__body {
  min-width: 0;
}

.bio__header {
  margin-bottom: 1.25rem;
  padding-left: 1.25rem;
  border-left: 4px solid var(--color-primary);
}

.bio__name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.15rem;
}

.bio__role {
  font-size: 0.82rem;
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.bio__text {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.82;
  margin-bottom: 0.9rem;
}

.bio__areas {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.bio__areas .section-label {
  display: block;
  margin-bottom: 0.75rem;
}

.bio__area-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
}

.bio__area-list li {
  font-size: 0.875rem;
  color: var(--color-text);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.bio__area-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* Short banner variant (for om-oss between bios) */
.site-banner--short {
  height: 220px;
}

/* Portrait-oriented source image: focus on upper portion */
.site-banner__image--portrait {
  object-position: center 25%;
}

/* ---------------------------------------------------------
   Together (Om oss)
   --------------------------------------------------------- */
.together {
  padding: var(--spacing-lg) 0;
  background: var(--color-muted);
  border-top: 3px solid var(--color-primary);
}

/* ---------------------------------------------------------
   Utility — mobil/desktop synlighet
   --------------------------------------------------------- */
/* Dölj/visa per enhet */
.mobile-only {
  display: none !important;
}

.desktop-only {
  display: block !important; /* Säkerhetsnät — desktop visar alltid */
}

@media (max-width: 768px) {
  .mobile-only {
    display: block !important;
  }

  .desktop-only {
    display: none !important;
  }

  /* Specialfall: experience-item som desktop-only i grid */
  .experience__grid .desktop-only {
    display: none !important;
  }
}

/* ---------------------------------------------------------
   mob-expand — details/summary som bara kollapsar på mobil
   Desktop: tvinga innehåll synligt, dölj toggle
   Mobil: native details-collapse-beteende
   --------------------------------------------------------- */

/* Desktop: dölj toggle-knappen, visa alltid innehållet */
@media (min-width: 769px) {
  details.mob-expand > summary.mob-expand__toggle {
    display: none;
  }

  /* Tvinga innehållsdiven synlig oberoende av open-attribut */
  details.mob-expand > .mob-expand__content {
    display: block !important;
    visibility: visible !important;
  }
}

/* Mobil: toggle-knapp + kollapsbart innehåll */
@media (max-width: 768px) {
  details.mob-expand {
    display: block;
  }

  details.mob-expand > summary.mob-expand__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--color-primary);
    cursor: pointer;
    padding: 0.75rem 0;
    border-top: 1px solid var(--color-border);
    margin-top: 0.75rem;
    list-style: none;
    user-select: none;
    -webkit-user-select: none;
  }

  details.mob-expand > summary.mob-expand__toggle::-webkit-details-marker {
    display: none;
  }

  details.mob-expand > summary.mob-expand__toggle::after {
    content: '+';
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-left: 0.5rem;
  }

  details.mob-expand[open] > summary.mob-expand__toggle::after {
    content: '–';
  }

  details.mob-expand > .mob-expand__content {
    padding-top: 0.75rem;
  }
}

/* ---------------------------------------------------------
   Mobile callout — kort stark mening som visuell paus
   Visas bara på mobil
   --------------------------------------------------------- */
.mobile-callout {
  display: none;
}

@media (max-width: 768px) {
  .mobile-callout {
    display: block;
    background: var(--color-primary);
    padding: 1.5rem;
    border-left: 3px solid var(--color-accent);
    margin: 0;
  }

  .mobile-callout__text {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.55;
    font-style: italic;
  }
}

/* ---------------------------------------------------------
   Responsive — mobile first
   --------------------------------------------------------- */

/* === MOBIL (max 767px) === */
@media (max-width: 767px) {

  /* Reducera global sektionshöjd på mobil */
  :root {
    --spacing-lg: 2.75rem;
    --spacing-xl: 3.25rem;
  }

  /* ---- Hero (image) ---- */
  .hero {
    padding: 3rem 0 2.5rem;
  }

  /* Bilden zoomas in något mer på mobil mot mitten */
  .hero__bg {
    background-position: center 40%;
    filter: brightness(0.32) saturate(0.55);
  }

  .hero__eyebrow {
    margin-bottom: 0.875rem;
    font-size: 0.65rem;
  }

  /* Stark rubrik på mobil — INTE reducera */
  .hero__title {
    font-size: 1.85rem;
    line-height: 1.2;
    margin-bottom: 0.875rem;
  }

  .hero__text {
    font-size: 0.925rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.72);
  }

  /* Markers: 2×2-grid på mobil */
  .hero__markers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
    background: rgba(10, 30, 60, 0.65);
  }

  .hero__marker {
    white-space: normal;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.68rem;
    padding: 0.55rem 0.75rem;
  }

  .hero__marker:nth-child(1) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero__marker:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero__marker:nth-child(3) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
  }

  .hero__marker:nth-child(4) {
    border-bottom: none;
  }

  .hero__cta {
    display: block;
    text-align: center;
    padding: 1rem 1.5rem;
    font-size: 0.925rem;
  }

  /* Statement — kompaktare på mobil */
  .statement {
    padding: 2.25rem 0;
  }

  .statement__line {
    font-size: 1.5rem;
  }

  /* ---- Intro ---- */
  .intro {
    padding: 2rem 0;
  }

  .intro__text {
    font-size: 0.925rem;
    line-height: 1.72;
    padding: 0.85rem 1rem;
  }

  /* ---- Sektionsrubriker globalt ---- */
  .section-heading {
    font-size: 1.3rem;
  }

  .section-intro {
    font-size: 0.925rem;
  }

  /* ---- Facts/faktaboxar ---- */
  .facts__grid {
    padding: 0;
  }

  .fact-item {
    padding: 1.25rem 1.25rem;
    gap: 0.3rem;
  }

  .fact-item__value {
    font-size: 1.75rem;
  }

  .fact-item__value--text {
    font-size: 0.95rem;
    line-height: 1.3;
  }

  .fact-item__plus {
    font-size: 1.1rem;
  }

  .fact-item__label {
    font-size: 0.65rem;
  }

  /* ---- Capabilities ---- */
  .capability {
    padding: 1.1rem 0;
    gap: 0.875rem;
  }

  .capability__number {
    font-size: 0.65rem;
  }

  .capability__content h3 {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
  }

  .capability__desc {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
  }

  /* Visa max 3 punkter, dölj överskott på mobil */
  .capability__list li:nth-child(n+4) {
    display: none;
  }

  /* ---- Lifecycle ---- */
  .lifecycle__header {
    margin-bottom: 1.5rem;
  }

  .lifecycle__step {
    padding: 0.875rem 0;
    grid-template-columns: 2rem 1fr;
    gap: 0.75rem;
  }

  .lifecycle__node {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.6rem;
  }

  .lifecycle__name {
    font-size: 0.875rem;
  }

  .lifecycle__desc {
    font-size: 0.78rem;
    line-height: 1.55;
  }

  /* ---- Site banner ---- */
  .site-banner {
    height: 190px;
  }

  .site-banner--short {
    height: 150px;
  }

  .site-banner__quote {
    font-size: 0.875rem;
    padding-left: 1rem;
    line-height: 1.45;
  }

  /* ---- Experter ---- */
  .experts__header {
    margin-bottom: 1.5rem;
  }

  .expert-card__image {
    aspect-ratio: 16 / 9;
  }

  .expert-card__content {
    padding: 1.25rem;
  }

  .expert-card__name {
    font-size: 1.1rem;
  }

  .expert-card__bio {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 0;
  }

  .credentials {
    margin-bottom: 0.875rem;
  }

  .experts__more {
    margin-top: 1.25rem;
  }

  /* ---- Referensgrupper ---- */
  .ref-groups {
    grid-template-columns: 1fr;
  }

  .ref-group {
    border-right: none;
    padding: 1.25rem 1rem;
  }

  .ref-group:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--color-border);
  }

  .ref-group:last-child {
    border-bottom: none;
  }

  /* ---- Usecases ---- */
  .usecases__header {
    margin-bottom: 1.25rem;
  }

  .usecase {
    padding: 1.1rem 1.25rem;
    gap: 0.875rem;
  }

  .usecase p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  /* ---- Contact teaser ---- */
  .contact-teaser {
    padding: 1.75rem 0;
  }

  .contact-teaser__text {
    font-size: 0.925rem;
  }

  .contact-teaser__cta {
    width: 100%;
    text-align: center;
    padding: 0.9rem 1.5rem;
  }

  /* ---- Contact section ---- */
  .contact {
    padding: 2.5rem 0;
  }

  .contact__intro {
    font-size: 0.925rem;
    margin-bottom: 1.5rem;
  }

  .contact-card {
    padding: 1.25rem;
  }

  /* Säkerställ klickbara tel/mail-länkar på mobil */
  .contact-card__link {
    font-size: 0.95rem;
    padding: 0.2rem 0;
  }

  .contact-card__role {
    margin-bottom: 0.875rem;
    padding-bottom: 0.75rem;
  }

  /* ---- Page hero (undersidor) ---- */
  .page-hero {
    padding: 2rem 0;
  }

  .page-hero__title {
    font-size: 1.35rem;
  }

  .page-hero__text {
    font-size: 0.925rem;
  }

  /* ---- Bio-sektioner (om oss) ---- */
  .bio-section {
    padding: 2rem 0;
  }

  .bio__portrait {
    max-width: 180px;
    aspect-ratio: 3 / 4;
  }

  .bio__layout {
    gap: 1.5rem;
  }

  .bio__name {
    font-size: 1.25rem;
  }

  .bio__text {
    font-size: 0.925rem;
    line-height: 1.75;
  }

  .bio__areas {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
  }

  .bio__area-list li {
    font-size: 0.825rem;
  }

  /* ---- Together (om oss) ---- */
  .together {
    padding: 2rem 0;
  }

  /* ---- Collaboration-kolumner ---- */
  .collaboration-col {
    padding: 1.5rem 1.25rem;
  }

  /* ---- Experience-grid ---- */
  .experience-item {
    padding: 0.875rem 1rem;
    font-size: 0.825rem;
  }

  .experience-item__sub {
    font-size: 0.7rem;
  }

  /* ---- Domains (expertis-sida) ---- */
  .domain-item {
    padding: 1rem 1.1rem;
  }

  .domain-item__label {
    font-size: 0.825rem;
  }

  .domain-item p {
    font-size: 0.78rem;
  }

  /* ---- Footer ---- */
  .footer {
    padding: 1.5rem 0;
  }

}

/* === TABLET 640px+ === */
@media (min-width: 640px) {
  .intro__grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
  }
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .experts__grid {
    grid-template-columns: 1fr 1fr;
  }

  .collaboration__grid {
    grid-template-columns: 1fr 1fr;
  }

  .strengths__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer__copy {
    text-align: right;
    margin-top: 0;
    border-top: none;
    padding-top: 0;
  }
}

@media (min-width: 640px) {
  .bio__area-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .bio__layout {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }

  .bio__portrait {
    max-width: 100%;
  }
}

@media (min-width: 960px) {
  .capabilities__inner {
    grid-template-columns: 1fr 1.7fr;
    gap: var(--spacing-lg);
    align-items: start;
  }

  .capabilities__intro {
    position: sticky;
    top: 76px;
  }

  .experience__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Fix sista rad kant-rendering med 3 kolumner */
  .experience-item:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--color-border);
  }

  .experience-item:nth-last-child(-n+3) {
    border-bottom: none;
  }

  .experience-item:nth-child(3n) {
    border-right: none;
  }

  .experience-item:nth-child(even) {
    border-right: 1px solid var(--color-border);
  }

  .strengths__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================
   Case page
   ========================================================= */

.case-comp {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* ─── Featured Case (FUT) ────────────────────────────── */
.featured-case {
  background: var(--color-muted);
  padding: 3rem 0 3.5rem;
  border-bottom: 1px solid var(--color-border);
}

.featured-case__inner {
  max-width: 680px;
}

.featured-case__inner::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  background: var(--color-accent);
  margin-bottom: 1.25rem;
}

.featured-case__top {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.featured-case__org {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.featured-badge {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

.featured-case__title {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.featured-case__comps {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.1rem;
  margin-bottom: 1.25rem;
}

.featured-case__desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.featured-case__facts {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.featured-case__fact-value {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}

.featured-case__fact-label {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ─── Case editorial image strip ────────────────────── */
.case-strip {
  overflow: hidden;
  line-height: 0;
  font-size: 0;
  position: relative;
}

.case-strip::before,
.case-strip::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 44px;
  z-index: 1;
  pointer-events: none;
}

.case-strip::before {
  top: 0;
  background: linear-gradient(to bottom, var(--color-muted) 0%, transparent 100%);
}

.case-strip::after {
  bottom: 0;
  background: linear-gradient(to top, #ffffff 0%, transparent 100%);
}

.case-strip__img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── Case nav (quick links) ─────────────────────────── */
.case-nav {
  border-bottom: 1px solid var(--color-border);
  background: #fff;
}

.case-nav__inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.case-nav__inner::-webkit-scrollbar { display: none; }

.case-nav__link {
  flex-shrink: 0;
  padding: 0.9rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.case-nav__link:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* ─── Org chapters ───────────────────────────────────── */
.proj-chapter {
  padding: 3rem 0 2.75rem;
  background: #fff;
}

.proj-chapter--alt {
  background: #f7f9fb;
}

.proj-chapter__head {
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--color-primary);
}

.proj-chapter__head::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--color-accent);
  margin-bottom: 0.65rem;
}

.proj-chapter__label {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
}

/* ─── Project units (cp) ─────────────────────────────── */
.cp {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0 1.25rem;
  padding: 2rem 0;
  border-bottom: 1px solid #dde3ea;
  align-items: start;
}

.cp:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cp__num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  padding-top: 0.25rem;
  opacity: 0.5;
}

.cp__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.55rem;
  line-height: 1.25;
}

.cp__comps {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.9rem;
  margin-bottom: 0.85rem;
}

.cp__summary {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.cp__facts {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.cp__fact-value {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.15rem;
}

.cp__fact-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ─── Expand / details ───────────────────────────────── */
.cp__expand { margin-top: 0.25rem; }

.cp__expand-toggle {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  user-select: none;
  transition: color 0.15s;
}

.cp__expand-toggle::-webkit-details-marker { display: none; }
.cp__expand-toggle::marker { display: none; }

.cp__expand-toggle::after {
  content: "+";
  color: var(--color-accent);
  font-weight: 400;
  font-size: 1.1em;
  line-height: 1;
}

details[open] .cp__expand-toggle::after { content: "−"; }
.cp__expand-toggle:hover { color: var(--color-accent); }

.cp__expand-content {
  padding: 1.25rem 0 0.5rem;
  border-top: 1px solid var(--color-border);
  margin-top: 0.75rem;
}

.cp__expand-content p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-text);
}

/* ─── Scroll anchors ─────────────────────────────────── */
#org-fut,
#org-trafikverket,
#org-trafik,
#org-exploatering,
#org-energi {
  scroll-margin-top: 80px;
}

/* Capability deliverables – 2-col grid on desktop */
@media (min-width: 769px) {
  .capability__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
  }

  .intro__editorial {
    grid-template-columns: 3fr 2fr;
    gap: 0 3rem;
    align-items: start;
  }

  .intro__aside {
    margin-top: 0.2rem;
  }

  .img-ribbon {
    grid-template-columns: 5fr 3fr 3fr;
    height: 300px;
  }

  .img-ribbon__frame--hide-mobile {
    display: block;
  }

  .img-ribbon__frame:last-child img {
    object-position: center 55%;
  }
}


/* ─── Chapter numbers (mobile-only element) ─────────── */
.proj-chapter__num { display: none; }

/* ─── Featured expand: force open on desktop, hide summary ── */
@media (min-width: 769px) {
  .featured-case__expand > .cp__expand-toggle { display: none; }
  .featured-case__expand > .cp__expand-content {
    display: block !important;
    border-top: none !important;
    margin-top: 0 !important;
    padding: 0 !important;
  }
}

/* ─── Case page – mobile layout ─────────────────────── */
@media (max-width: 768px) {

  /* ── Chapter numbers ──────────────────────────────── */
  .proj-chapter__num {
    display: block;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--color-accent);
    margin-bottom: 0.4rem;
  }

  /* ── FUT featured case ────────────────────────────── */
  .featured-case {
    padding: 2rem 0 2.25rem;
  }

  .featured-case__inner::before {
    width: 1.5rem;
    height: 3px;
    margin-bottom: 0.65rem;
  }

  .featured-case__top {
    flex-direction: column;
    gap: 0.4rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
  }

  .featured-case__org {
    font-size: 0.72rem;
    letter-spacing: 0.13em;
  }

  .featured-case__title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }

  .featured-case__expand { margin-top: 0; }

  .featured-case__expand > .cp__expand-content {
    border-top: none;
    margin-top: 0;
    padding: 0;
  }

  .featured-case__expand[open] > .cp__expand-content { padding-top: 1rem; }

  .featured-case__expand .featured-case__comps { margin-bottom: 0.9rem; }

  .featured-case__expand .featured-case__desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
  }

  .featured-case__expand .featured-case__facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    flex: none;
  }

  /* ── Org chapter sections ─────────────────────────── */
  .proj-chapter {
    padding: 2.5rem 0 2rem;
    background: #f7f9fb;
  }

  .proj-chapter--alt {
    background: #ffffff;
  }

  .proj-chapter__head {
    margin-bottom: 1.5rem;
    padding-bottom: 0.9rem;
  }

  .proj-chapter__head::before {
    margin-bottom: 0.5rem;
  }

  .proj-chapter__label {
    font-size: 1rem;
    letter-spacing: 0.07em;
  }

  /* ── Project rows ─────────────────────────────────── */
  .cp {
    grid-template-columns: 1fr;
    padding: 1.35rem 0;
    gap: 0;
    cursor: pointer;
  }

  .cp:last-child { padding-bottom: 0; }

  .cp__num { display: none; }

  .cp__name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0;
    line-height: 1.3;
  }

  /* ── Expand toggle ────────────────────────────────── */
  .cp__expand { margin-top: 0.6rem; }

  .cp__expand-toggle {
    color: var(--color-accent);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
  }

  /* → when closed; × when open (overrides global + / −) */
  .cp__expand-toggle::after {
    content: " →";
    font-weight: 400;
  }

  details[open] .cp__expand-toggle::after {
    content: " ×";
  }

  /* ── Expanded content: standard projects only ─────── */
  /* (.cp__body ancestor distinguishes from FUT expand) */
  .cp__body .cp__expand-content {
    border-top: none;
    margin-top: 0;
    padding: 0;
  }

  .cp__body details[open] .cp__expand-content {
    background: #edf0f5;
    border-left: 3px solid var(--color-accent);
    padding: 1.1rem 1rem 1rem;
    margin-top: 0.75rem;
  }

  /* Comps inside expanded content */
  .cp__expand-content .cp__comps {
    margin-bottom: 0.75rem;
    gap: 0 0.75rem;
  }

  /* Summary text */
  .cp__expand-content .cp__summary {
    margin-bottom: 0.9rem;
    font-size: 0.875rem;
    line-height: 1.65;
  }

  /* Facts: 2-column grid */
  .cp__expand-content .cp__facts {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem 1.25rem;
    margin-bottom: 0.9rem;
    flex: none;
    flex-wrap: unset;
  }

  /* Extra detail text: subtle separator above it */
  .cp__expand-content > p:last-child {
    border-top: 1px solid rgba(0, 0, 0, 0.09);
    padding-top: 0.75rem;
    margin-top: 0.1rem;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--color-text);
  }
}

/* ─── Varför Armatia section ─────────────────────────── */
.why-section { background: var(--color-muted); }
.why-section__inner {
  border-left: 3px solid var(--color-accent);
  padding: 0.25rem 0 0.25rem 2rem;
  max-width: 620px;
}
.why-section__heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 1.1rem;
  line-height: 1.25;
}
.why-section__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
}

@media (max-width: 768px) {
  .why-section__heading {
    font-size: 1.35rem;
  }
  .why-section__inner {
    padding-left: 1.25rem;
  }
}

/* ─── Index nav links (Expertis & Case) ──────────────── */
.index-nav__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.index-nav__item {
  display: block;
  padding: 1.5rem 2rem;
  background: var(--color-primary);
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.15s;
}
.index-nav__item:hover { background: #0d2647; }
.index-nav__eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.4rem;
}
.index-nav__title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}
@media (min-width: 769px) {
  .index-nav__grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   Expertis – xp- layout
   ========================================================= */

/* ─── Hero ──────────────────────────────────────────────── */
.page-hero--expertis .page-hero__text {
  max-width: 540px;
}

/* ─── Section 1: Competency areas ───────────────────────── */
.xp-comp {
  padding: 3rem 0 0;
}

.xp-comp__head {
  padding-bottom: 2rem;
}

/* Each area row */
.xp-area {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.xp-area--alt {
  background: #f7f9fb;
}

.xp-area__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 0 5.5rem;
  align-items: start;
  padding: 2.5rem 0;
}

/* Left column: number + title + desc */
.xp-area__num {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--color-accent);
  margin-bottom: 0.65rem;
  line-height: 1;
}

.xp-area__num::before {
  content: '';
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--color-accent);
  margin-bottom: 0.4rem;
}

.xp-area__title {
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.xp-area__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0;
}

/* Right column: details element */
.xp-area__expand {
  padding-top: 0.3rem;
}

/* Desktop: hide summary, show body, upgrade deliverables visually */
@media (min-width: 769px) {
  .xp-area__expand > summary {
    display: none;
  }

  .xp-area__body {
    display: block !important;
  }

  /* Mobile desc not needed on desktop */
  .xp-area__mob-desc {
    display: none;
  }

  .xp-area__deliverables li {
    font-size: 0.84rem;
    color: var(--color-primary);
    padding: 0.48rem 0 0.48rem 0.9rem;
  }
}

/* Deliverables grid */
.xp-area__deliverables {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.xp-area__deliverables li {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding: 0.42rem 0 0.42rem 0.85rem;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  line-height: 1.4;
}

.xp-area__deliverables li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* ─── Section 2: Lifecycle ───────────────────────────────── */
.xp-lc {
  background: #f5f7fa;
  padding: 3.5rem 0 3.5rem;
}

.xp-lc__header {
  margin-bottom: 2.5rem;
  max-width: 640px;
}

/* Horizontal timeline track */
.xp-lc__track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  position: relative;
  gap: 0 0.5rem;
}

.xp-lc__track::before {
  content: '';
  position: absolute;
  top: 0.3125rem;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(10, 30, 60, 0.18);
}

.xp-lc__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.xp-lc__dot {
  width: 0.625rem;
  height: 0.625rem;
  background: var(--color-accent);
  border-radius: 50%;
  margin-bottom: 0.8rem;
  flex-shrink: 0;
}

.xp-lc__name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.xp-lc__brief {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ─── Transition strip with top/bottom fade ─────────────── */
.xp-strip {
  overflow: hidden;
  line-height: 0;
  font-size: 0;
  position: relative;
}

.xp-strip::before,
.xp-strip::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 44px;
  z-index: 1;
  pointer-events: none;
}

.xp-strip::before {
  top: 0;
  background: linear-gradient(to bottom, #f5f7fa 0%, transparent 100%);
}

.xp-strip::after {
  bottom: 0;
  background: linear-gradient(to top, #ffffff 0%, transparent 100%);
}

.xp-strip__img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── Section 3: CTA ─────────────────────────────────────── */
.xp-forward {
  padding: 4rem 0;
}

.xp-forward__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem 6rem;
  align-items: center;
}

.xp-forward__links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ─── Mobile ─────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Hero */
  .page-hero--expertis .page-hero__text {
    font-size: 0.9rem;
    max-width: 100%;
  }

  /* Section 1 */
  .xp-comp {
    padding: 2.5rem 0 0;
  }

  .xp-comp__head {
    padding-bottom: 0;
  }

  /* Each area: single column, no padding on inner */
  .xp-area__inner {
    display: block;
    padding: 0;
  }

  /* Left: num + title always visible */
  .xp-area__hd {
    padding: 1.5rem 0 0;
  }

  .xp-area__title {
    font-size: 0.98rem;
    margin-bottom: 0;
  }

  /* Desktop desc: hidden on mobile */
  .xp-area__desc {
    display: none;
  }

  /* Summary: visible on mobile as compact header */
  .xp-area__expand > summary {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.45rem 0 1.25rem;
    cursor: pointer;
    list-style: none;
  }

  .xp-area__expand > summary::-webkit-details-marker { display: none; }
  .xp-area__expand > summary::marker { display: none; }

  .xp-area__mob-tags {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.55;
  }

  .xp-area__toggle {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.02em;
    margin-top: 0.1rem;
  }

  /* Expanded body */
  .xp-area__body {
    padding-bottom: 1.5rem;
  }

  .xp-area__mob-desc {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0 0 1rem;
  }

  /* Deliverables: single column on mobile */
  .xp-area__deliverables {
    grid-template-columns: 1fr;
  }

  /* Section 2: Lifecycle compact */
  .xp-lc {
    padding: 3.5rem 0;
  }

  .xp-lc__header {
    margin-bottom: 2rem;
  }

  .xp-lc__track {
    display: flex;
    flex-direction: column;
    padding-left: 1.5rem;
    gap: 0;
  }

  .xp-lc__track::before {
    top: 0;
    left: 0.3125rem;
    right: auto;
    width: 1px;
    height: 100%;
  }

  .xp-lc__step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1.25rem;
  }

  .xp-lc__step:last-child { padding-bottom: 0; }

  .xp-lc__dot {
    margin-bottom: 0;
    margin-top: 0.05rem;
    flex-shrink: 0;
  }

  .xp-lc__name  { font-size: 0.82rem; }
  .xp-lc__brief { font-size: 0.72rem; }

  /* Transition strip */

  /* CTA */
  .xp-forward {
    padding: 3.5rem 0;
  }

  .xp-forward__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .xp-forward__links {
    flex-direction: column;
    gap: 0.75rem;
  }
}
