/* ============================================================
   Abenius | Public Affairs & Search
   Apple-inspirerad design – återskapad från Wix-originalet
   ============================================================ */

:root {
  /* Färger (hämtade från originalsajten) */
  --navy: #1C2E4A;
  --navy-deep: #16253C;
  --navy-soft: #24395C;
  --blue: #1A6AFF;
  --blue-hover: #3D80FF;
  --ink: #1D1D1F;
  --text-secondary: #6E6E73;
  --grey-bg: #F0F0F0;
  --grey-tile: #F5F5F7;
  --grey-btn: #E8E8ED;
  --hairline: #D2D2D7;
  --white: #FFFFFF;

  /* Typografi */
  --font-stack: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Layout */
  --nav-height: 72px;
  --container-wide: 1360px;
  --container-text: 1000px;
  --container-article: 740px;
  --pad-x: clamp(20px, 4vw, 48px);
  --radius-tile: 18px;
  --radius-card: 16px;
  --radius-pill: 980px;
}

/* ---------- Grund ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-stack);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

::selection {
  background: rgba(26, 106, 255, 0.2);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.container--text {
  max-width: var(--container-text);
}

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

.kicker {
  display: block;
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin-top: 6px;
}

.lead {
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.6;
}

/* ---------- Knappar ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease,
    transform 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn--lg {
  padding: 16px 34px;
  font-size: 19px;
}

.btn--blue {
  background: var(--blue);
  color: var(--white);
}

.btn--blue:hover {
  background: var(--blue-hover);
}

.btn--light {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--white);
}

.btn--grey {
  background: var(--grey-btn);
  color: var(--ink);
}

.btn--grey:hover {
  background: #dcdce1;
}

.btn--dark {
  background: var(--navy);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--navy-soft);
}

.btn--outline-dark {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(29, 29, 31, 0.7);
}

.btn--outline-dark:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
}

.btn--outline-light:hover {
  background: var(--white);
  color: var(--ink);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: box-shadow 0.3s ease;
}

/* Blur-bakgrunden ligger på ett pseudoelement: backdrop-filter direkt på
   headern gör den till containing block för position:fixed, vilket
   krymper mobilmenyns overlay till headerns höjd. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.05);
}

.site-header__inner {
  max-width: 1520px;
  height: 100%;
  margin-inline: auto;
  padding-inline: clamp(20px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  height: 46px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 36px);
}

.site-nav a {
  font-size: 17px;
  color: var(--ink);
  transition: color 0.25s ease;
}

.site-nav a:hover {
  color: var(--blue);
}

.site-nav a.is-active {
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 1.5px;
}

/* Mobilmeny */

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 130;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 1.8px;
  background: var(--ink);
  transition: transform 0.35s ease, top 0.35s ease, opacity 0.3s ease;
}

.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 26px; }

body.menu-open .nav-toggle span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

body.menu-open .nav-toggle span:nth-child(2) {
  top: 22px;
  transform: rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 120;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  body.menu-open .site-nav {
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    font-size: 28px;
    font-weight: 600;
    padding: 12px 0;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  body.menu-open .site-nav a {
    opacity: 1;
    transform: none;
  }

  body.menu-open .site-nav a:nth-child(1) { transition-delay: 0.05s; }
  body.menu-open .site-nav a:nth-child(2) { transition-delay: 0.1s; }
  body.menu-open .site-nav a:nth-child(3) { transition-delay: 0.15s; }
  body.menu-open .site-nav a:nth-child(4) { transition-delay: 0.2s; }
  body.menu-open .site-nav a:nth-child(5) { transition-delay: 0.25s; }

  body.menu-open {
    overflow: hidden;
  }
}

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

.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-height));
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(72px, 12vh, 140px) var(--pad-x) clamp(120px, 18vh, 180px);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img,
.hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.28) 45%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.hero--solid {
  background: radial-gradient(120% 90% at 50% 0%, var(--navy-soft) 0%, var(--navy-deep) 78%);
  min-height: 58svh;
}

.hero--solid::after {
  display: none;
}

.hero__title {
  font-size: clamp(46px, 7vw, 84px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.hero__tagline {
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 500;
  margin-top: 26px;
  line-height: 1.5;
}

.hero__body {
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 400;
  line-height: 1.55;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.94);
}

.hero__cta {
  margin-top: 38px;
}

/* Stegvis intro-animation */

.hero__content > * {
  animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__content > *:nth-child(2) { animation-delay: 0.12s; }
.hero__content > *:nth-child(3) { animation-delay: 0.24s; }
.hero__content > *:nth-child(4) { animation-delay: 0.36s; }

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__scroll {
  position: absolute;
  left: calc(50% - 30px);
  bottom: 36px;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: var(--white);
  animation: hero-rise 0.9s 0.6s cubic-bezier(0.22, 1, 0.36, 1) both,
    scroll-float 3.4s 1.6s ease-in-out infinite;
  transition: background-color 0.3s ease;
}

.hero__scroll:hover {
  background: rgba(255, 255, 255, 0.14);
}

@keyframes scroll-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

/* ---------- Tiles (startsidan) ---------- */

.tiles {
  padding: 12px 12px 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.tile {
  position: relative;
  min-height: clamp(540px, 74vh, 680px);
  border-radius: var(--radius-tile);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(44px, 5vw, 64px) clamp(24px, 3vw, 48px);
}

.tile__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.tile:hover .tile__media img {
  transform: scale(1.035);
}

.tile__title {
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.tile__sub {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.45;
  margin-top: 10px;
}

.tile__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

/* Variant: ljus text på mörkt foto */
.tile--dark {
  color: var(--white);
}

.tile--dark .tile__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.08) 55%);
}

/* Variant: porträtt med text nertill (text får överlappa bilden,
   men allt är centrerat i x-led och huvuden beskärs aldrig) */
.tile--person {
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  color: var(--white);
}

.tile--person .tile__media {
  overflow: hidden;
}

/* Skarpt porträtt som fyller hela rutan, toppankrat så att ansiktet
   alltid syns och aldrig beskärs vid överkanten. (Tidigare låg en suddig
   kopia av fotot bakom och fyllde sidorna – borttagen nu när porträttet
   fyller hela bredden.) */
.tile--person .tile__media img {
  position: relative;
  z-index: 1;
  object-position: center top;
}

.tile--person .tile__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.55) 100%);
}

/* Variant: foto där motivet ligger nertill – ankra beskärningen i topp
   så att motivet hålls under texten */
.tile--sky .tile__media img {
  object-position: center top;
}

/* Variant: motiv på enfärgad bakgrund. Bilden läggs som bakgrund så att
   motivets skala (background-size) och vertikala läge (background-position)
   kan finjusteras oberoende per tile. Ytans färg är samplad ur bilden så att
   bildens tomma yta smälter ihop med tilen. Motivet ligger alltid nertill och
   kan aldrig krocka med text eller knappar upptill.
   --motif = motivbildens bredd i % av tile-bredden (styr skalan).
   --motif-y = vertikalt ankare (100% = nederkant). */
.tile--object .tile__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-repeat: no-repeat;
  background-position: var(--motif-x, center) var(--motif-y, 100%);
  background-size: var(--motif, 100%) auto;
  transition: background-size 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.tile--object .tile__media img {
  display: none;
}

.tile--object:hover .tile__media {
  background-size: calc(var(--motif, 100%) + 4%) auto;
}

.tile--mint {
  background: #D3FFF2;
}
.tile--mint .tile__media {
  background-image: url("../img/tile-executive-search.jpg");
  --motif: 60%;
  --motif-y: 100%;
}

.tile--sage {
  background: #C3DCD8;
}
.tile--sage .tile__media {
  background-image: url("../img/tile-vara-tankar.jpg");
  /* glödlampan är vänsterförskjuten i källbilden – skjut bilden åt höger
     så motivet hamnar centrerat i x-led */
  --motif: 66%;
  --motif-x: 98%;
  --motif-y: 100%;
}

.tile--yellow {
  background: #FEC530;
}
.tile--yellow .tile__media {
  background-image: url("../img/tile-faq.jpg");
  --motif: 100%;
  --motif-y: 100%;
}

.tile__meta-strong {
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 600;
  margin-top: 12px;
}

.tile__meta {
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(255, 255, 255, 0.88);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .tiles {
    grid-template-columns: 1fr;
  }

  .tile {
    min-height: 520px;
  }
}

/* ---------- Sektioner (undersidor) ---------- */

.section {
  padding-block: clamp(72px, 10vw, 116px);
}

.section--grey {
  background: var(--grey-bg);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section__intro {
  max-width: 820px;
}

.section__intro .lead {
  margin-top: 28px;
}

/* Tjänstekort */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(36px, 4vw, 56px);
}

.service-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-card);
  padding: clamp(28px, 3vw, 44px);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.18);
}

.service-card__kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.service-card__title {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 12px;
}

.service-card__text {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: #3a3a3c;
  margin-top: 12px;
}

@media (max-width: 860px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* Bakom tjänsten */

.bio {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.bio__text p {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
  margin-top: 20px;
}

.bio__photo {
  border-radius: var(--radius-tile);
  overflow: hidden;
}

.bio__photo img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 900px) {
  .bio {
    grid-template-columns: 1fr;
  }

  .bio__photo {
    order: -1;
    max-width: 520px;
  }
}

/* Bakom tjänsten – två personer (Kombinerat) */

.bio-duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(36px, 4vw, 56px);
}

.bio-duo__card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-tile);
}

.bio-duo__card h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  margin-top: 24px;
}

.bio-duo__card p {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  margin-top: 12px;
}

@media (max-width: 860px) {
  .bio-duo {
    grid-template-columns: 1fr;
  }
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(20px, 2.4vw, 32px);
  align-items: stretch;
}

.contact-info {
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-tile);
  padding: clamp(32px, 4vw, 52px);
}

.contact-info .section-title {
  font-size: clamp(32px, 3.6vw, 46px);
}

.contact-info__intro {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.92);
}

.contact-person {
  margin-top: 36px;
}

.contact-person__name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-person__role {
  font-size: 18px;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.92);
}

.contact-person a {
  display: inline-block;
  font-size: 18px;
  margin-top: 6px;
  color: var(--white);
  transition: color 0.25s ease;
}

.contact-person a:hover {
  color: var(--blue-hover);
}

.contact-person a + a {
  margin-left: 0;
}

.contact-person__line {
  display: block;
  font-size: 18px;
  margin-top: 6px;
}

.contact-form-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-tile);
  padding: clamp(32px, 4vw, 52px);
}

.contact-form-card h3 {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 20px;
  margin-top: 30px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 14px;
  font-weight: 500;
  color: #48484a;
}

.form-field input,
.form-field textarea {
  font-family: inherit;
  font-size: 17px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(26, 106, 255, 0.14);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-submit {
  margin-top: 26px;
}

.form-note {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 14px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

/* ---------- Insikter (listning) ---------- */

.page-head {
  background: var(--grey-bg);
  padding: clamp(72px, 10vw, 120px) 0 clamp(56px, 8vw, 96px);
}

.page-head__sub {
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.55;
  color: #3a3a3c;
  margin-top: 20px;
  max-width: 640px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--grey-tile);
  border-radius: var(--radius-tile);
  padding: clamp(28px, 3vw, 40px);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
}

.article-card--featured {
  grid-column: 1 / -1;
  background: var(--navy);
  color: var(--white);
}

.article-card__meta {
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.article-card--featured .article-card__meta {
  color: rgba(255, 255, 255, 0.75);
}

.article-card__title {
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-top: 14px;
}

.article-card--featured .article-card__title {
  font-size: clamp(26px, 3vw, 40px);
  max-width: 22ch;
}

.article-card__excerpt {
  font-size: 16px;
  line-height: 1.55;
  color: #3a3a3c;
  margin-top: 12px;
}

.article-card--featured .article-card__excerpt {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 1.5vw, 19px);
  max-width: 62ch;
}

.article-card__link {
  margin-top: auto;
  padding-top: 22px;
  font-size: 16px;
  color: var(--blue);
  font-weight: 500;
}

.article-card--featured .article-card__link {
  color: var(--white);
}

.article-card__link::after {
  content: " ›";
}

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

/* ---------- Artikelsida ---------- */

.article {
  max-width: var(--container-article);
  margin-inline: auto;
  padding: clamp(48px, 7vw, 88px) var(--pad-x) clamp(72px, 9vw, 110px);
}

.article__back {
  font-size: 15px;
  color: var(--blue);
}

.article__title {
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin-top: 22px;
}

.article__meta {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 18px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hairline);
}

.article__body {
  margin-top: 36px;
}

.article__body p {
  font-size: 19px;
  line-height: 1.68;
  margin-top: 22px;
}

.article__body p:first-child {
  font-size: 21px;
  color: #3a3a3c;
}

.article__body h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 48px;
}

.article__body h3 {
  font-size: 21px;
  font-weight: 600;
  margin-top: 36px;
}

.article__body ul {
  margin-top: 22px;
  padding-left: 24px;
}

.article__body li {
  font-size: 19px;
  line-height: 1.6;
  margin-top: 12px;
}

/* CTA-band efter artikel */

.cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: clamp(64px, 8vw, 96px) var(--pad-x);
}

.cta-band h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cta-band p {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-band .btn {
  margin-top: 30px;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 860px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--hairline);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--blue);
}

.faq-item summary svg {
  flex: 0 0 auto;
  transition: transform 0.35s ease;
}

.faq-item[open] summary svg {
  transform: rotate(45deg);
}

.faq-item__answer {
  padding: 0 4px 28px;
  font-size: 18px;
  line-height: 1.65;
  color: #3a3a3c;
  max-width: 72ch;
}

.faq-item__answer a {
  color: var(--blue);
}

.faq-item__answer a:hover {
  text-decoration: underline;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: clamp(56px, 7vw, 80px) 0 40px;
  background: var(--white);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
}

.site-footer__brand img {
  height: 44px;
  width: auto;
}

.site-footer__brand p {
  font-size: 16px;
  line-height: 1.6;
  color: #3a3a3c;
  margin-top: 22px;
  max-width: 30ch;
}

.site-footer__brand .footer-city {
  margin-top: 18px;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  border-bottom: 1px solid var(--hairline);
}

.footer-nav a {
  display: block;
  text-align: center;
  padding: 12px 0;
  font-size: 16px;
  transition: color 0.25s ease;
}

.footer-nav a:hover {
  color: var(--blue);
}

.footer-nav a.is-active {
  color: var(--blue);
}

.footer-col h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 18px;
}

.footer-col p,
.footer-col a {
  display: block;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
}

.footer-col a {
  margin-top: 4px;
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: var(--blue);
}

.footer-col .footer-linkedin {
  margin-top: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer__bottom {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

@media (max-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .footer-nav a {
    text-align: left;
  }
}

/* Radbrytningar som bara ska gälla på breda skärmar */

@media (max-width: 700px) {
  .hero__body br,
  .hero__tagline br,
  .tile__sub br,
  .contact-info__intro br {
    display: none;
  }
}

/* ---------- Scrollreveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--delay-1 { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }

/* ---------- Rörelsekänslighet ---------- */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
