/* Sundblads AB — start draft
   Brand lock: ink #0B0F14 + white; steel #1F4E79 sparingly; Inter; wordmark only */

:root {
  --ink: #0B0F14;
  --white: #ffffff;
  --steel: #1F4E79;
  --ink-muted: rgba(11, 15, 20, 0.62);
  --ink-faint: rgba(11, 15, 20, 0.12);
  --ink-line: rgba(11, 15, 20, 0.18);
  --steel-soft: rgba(31, 78, 121, 0.12);
  --max: 1120px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --font: "Inter", Helvetica, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  font-feature-settings: "ss01" on, "cv11" on;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--steel);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 1rem;
}

.skip:focus {
  left: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ——— Header ——— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-faint);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  text-decoration: none;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand__name {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1;
}

.brand__ab {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--ink-muted);
}

.brand__ab .hairline {
  flex: 1;
  height: 1px;
  background: var(--ink-line);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.35rem;
  justify-content: flex-end;
}

.nav-list a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink-muted);
  padding-bottom: 0.15rem;
  border-bottom: 1px solid transparent;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--ink);
}

.nav-list a[aria-current="page"] {
  border-bottom-color: var(--steel);
}

/* ——— Shared ——— */

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.55);
}

.eyebrow--on-steel {
  color: rgba(255, 255, 255, 0.7);
}

.band {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.band--tight {
  padding: clamp(2.75rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--ink-faint);
}

.band--ink {
  background: var(--ink);
  color: var(--white);
}

.band--steel {
  background: var(--steel);
  color: var(--white);
}

.band__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head--light h2 {
  color: var(--white);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-head__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-lede {
  margin: 1rem 0 0;
  max-width: 36rem;
  color: var(--ink-muted);
  font-size: 1rem;
}

.text-link {
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  color: var(--ink);
  white-space: nowrap;
}

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.35rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn--primary:hover {
  background: var(--steel);
  border-color: var(--steel);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-line);
}

.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--on-steel {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.btn--on-steel:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.btn--ghost-on-steel {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost-on-steel:hover {
  border-color: var(--white);
  color: var(--white);
}

/* ——— Hero ——— */

.hero {
  padding: clamp(4rem, 12vw, 7.5rem) 0 clamp(3.5rem, 9vw, 6rem);
  border-bottom: 1px solid var(--ink-faint);
}

.hero__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.hero__title {
  margin: 0 0 1.75rem;
  max-width: 14ch;
  font-size: clamp(2.6rem, 7.2vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.hero__rule {
  width: 3.5rem;
  height: 2px;
  background: var(--steel);
  margin-bottom: 1.75rem;
}

.hero__lede {
  margin: 0 0 2.25rem;
  max-width: 38rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ——— Pillars ——— */

.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.pillar {
  padding: 2rem 1.75rem 0.25rem 1.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.pillar:first-child {
  padding-left: 0;
}

.pillar:last-child {
  border-right: none;
  padding-right: 0;
}

.pillar__index {
  display: block;
  margin-bottom: 1.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.4);
}

.pillar h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.pillar p {
  margin: 0;
  max-width: 22rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
}

/* ——— Case grid ——— */

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
}

.case-grid.case-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .case-grid.case-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.case-card {
  display: flex;
  flex-direction: column;
  min-height: 17rem;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--white);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s ease;
}

.case-card:hover {
  background: #f6f7f8;
  color: var(--ink);
}

.case-card__meta {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1.25rem;
}

.case-card__title {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.case-card__body {
  margin: 0;
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.case-card__cta {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.case-card:hover .case-card__cta {
  color: var(--steel);
}

/* ——— B2B CTA ——— */

.b2b-cta {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

.b2b-cta__copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 14ch;
}

.b2b-cta__copy p:not(.eyebrow) {
  margin: 0;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.b2b-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* ——— Stance ——— */

.stance {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-top: 0.5rem;
}

.stance__quote {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  max-width: 18ch;
}

.stance__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink-line);
}

.stance__list li {
  display: grid;
  grid-template-columns: minmax(9rem, 11rem) 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--ink-line);
  font-size: 0.9375rem;
}

.stance__list strong {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.stance__list span {
  color: var(--ink-muted);
}

/* ——— Kontakt ——— */

.kontakt {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.kontakt h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.kontakt__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.5rem;
}

.mail {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-bottom: 1px solid var(--ink-line);
  padding-bottom: 0.1rem;
}

.mail:hover {
  color: var(--steel);
  border-bottom-color: var(--steel);
}

/* ——— Footer ——— */

.site-footer {
  border-top: 1px solid var(--ink-faint);
  padding: 1.75rem 0 2.25rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.footer-mark {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.footer-mark__name {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.footer-mark__ab {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--ink-muted);
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
}

.footer-nav a {
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-muted);
}

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

.footer-note {
  margin: 0;
  text-align: right;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ——— Responsive ——— */

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

  .pillar {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding: 1.5rem 0;
  }

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

  .case-grid,
  .case-grid.case-grid--4 {
    grid-template-columns: 1fr;
  }

  .b2b-cta {
    grid-template-columns: 1fr;
  }

  .b2b-cta__actions {
    justify-content: flex-start;
  }

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

  .stance__list li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-note {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
  }

  .nav-list {
    gap: 0.1rem 1rem;
    justify-content: flex-start;
  }

  .hero__title {
    max-width: none;
  }

  .case-card {
    min-height: 0;
  }
}

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

  .btn,
  .case-card {
    transition: none;
  }
}
