/* ============================================================
   SYNARO — Nettside
   Design: Modern performance agency — Poppins (all weights)
   Farger: #ff9022 (oransje), #1a1a1a (mørk), #ffffff (hvit), #f5f5f4 (lys)
   ============================================================ */

:root {
  --bg: #f5f5f4;
  --surface: #ffffff;
  --surface-warm: #f0efee;
  --ink: #1a1a1a;
  --ink-muted: #666666;
  --ink-faint: #b0b0b0;
  --orange: #ff9022;
  --orange-hover: #e07a10;
  --orange-light: #fff3e0;
  --orange-faint: rgba(255, 144, 34, 0.1);
  --border: rgba(26, 26, 26, 0.1);
  --border-strong: rgba(26, 26, 26, 0.18);
  --shadow-sm: 0 1px 4px rgba(26, 26, 26, 0.06);
  --shadow-md: 0 4px 24px rgba(26, 26, 26, 0.09);
  --shadow-lg: 0 16px 60px rgba(26, 26, 26, 0.14);
  --radius: 6px;
  --radius-lg: 16px;
  --max-w: 1200px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Aliases so existing code keeps working */
  --amber: var(--orange);
  --amber-hover: var(--orange-hover);
  --amber-light: var(--orange-light);
  --amber-faint: var(--orange-faint);
}

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

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

/* ── Skip navigation ─────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 1rem;
  z-index: 10000;
  padding: 0.5rem 1rem;
  background: var(--amber);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

body {
  font-family: 'Poppins', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; background: none; border: none; }
address { font-style: normal; }

/* ============================================================
   CONTAINER
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-heading {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.eyebrow {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

em {
  font-style: italic;
  color: var(--amber);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  background: var(--amber);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 100px;
  transition: background 0.4s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity 0.35s;
}

.btn-primary:hover {
  background: var(--amber-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 144, 34, 0.35);
}

.btn-primary:hover::after { opacity: 1; }

.btn-primary.btn-lg { padding: 0.9rem 2.4rem; font-size: 1rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  background: transparent;
  color: var(--bg);
  font-family: 'Poppins', sans-serif;
  font-size: 0.925rem;
  font-weight: 500;
  border-radius: 100px;
  border: 1.5px solid rgba(250, 250, 247, 0.3);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), transform 0.35s var(--ease);
  white-space: nowrap;
}

.btn-ghost:hover {
  border-color: rgba(250, 250, 247, 0.75);
  background: rgba(250, 250, 247, 0.08);
  transform: translateY(-2px);
}

/* Variant on light bg */
.btn-ghost-dark {
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-ghost-dark:hover {
  border-color: var(--ink);
  background: rgba(26, 23, 20, 0.04);
}

.btn-ghost.btn-lg { padding: 0.875rem 2.25rem; font-size: 1rem; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--amber);
  font-family: 'Poppins', sans-serif;
  font-size: 0.925rem;
  font-weight: 500;
  border-radius: 100px;
  border: 1.5px solid var(--amber);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.btn-outline:hover {
  background: var(--amber);
  color: #fff;
  transform: translateY(-1px);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

.fade-in {
  animation: fadeInUp 0.9s var(--ease) both;
}

.fade-in-delay { animation-delay: 0.25s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal-elem {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}

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

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background: rgba(250, 250, 247, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo { flex-shrink: 0; }

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  transition: color 0.4s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  margin-left: 1rem;
  flex: 1;
}

.nav-link {
  padding: 0.4rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-muted);
  border-radius: 100px;
  position: relative;
  transition: color 0.35s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.875rem;
  right: 0.875rem;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--ink);
  font-weight: 500;
}

/* ── Nav CTA — "La oss snakke →" ── */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.4s ease;
}

.nav-cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--orange);
  transition: width 0.25s var(--ease);
}

.nav-cta:hover::after { width: 100%; }
.nav-cta:hover { color: var(--orange); }

.nav-cta-arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
  font-style: normal;
}

.nav-cta:hover .nav-cta-arrow { transform: translateX(4px); }

/* Dark-hero variant */
.dark-hero .nav:not(.scrolled) .nav-cta {
  color: rgba(255, 255, 255, 0.85);
}

.dark-hero .nav:not(.scrolled) .nav-cta:hover {
  color: #ffffff;
}

.dark-hero .nav:not(.scrolled) .nav-cta::after {
  background: #ffffff;
}

/* ── Dark-hero nav (homepage) — hvit logo + lenker før scroll ── */
.dark-hero .nav:not(.scrolled) .logo-text {
  color: #ffffff;
}

.dark-hero .nav:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.75);
}

.dark-hero .nav:not(.scrolled) .nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.dark-hero .nav:not(.scrolled) .hamburger span {
  background: #ffffff;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s, background 0.4s ease;
}

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

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: calc(var(--nav-h) + 2rem) 2rem 2rem;
}

.mobile-menu.open { display: flex; flex-direction: column; }

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

.mobile-nav a {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 300;
  color: var(--ink);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}

.mobile-nav a:hover { color: var(--amber); }

.mobile-nav .mobile-cta {
  margin-top: 2rem;
  border-bottom: none;
  display: inline-flex;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100svh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--bg);
}

/* Animated grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(250, 250, 247, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 250, 247, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 65% at 50% 50%, rgba(255, 144, 34, 0.13) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 15% 75%, rgba(255, 144, 34, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hero-content {
  max-width: 900px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--bg);
  margin-bottom: 1.75rem;
  text-shadow: 0 0 80px rgba(0, 0, 0, 0.6);
}

.hero-em {
  font-style: italic;
  color: var(--amber);
  position: relative;
  display: inline-block;
}

.hero-em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--amber);
  opacity: 0.35;
  border-radius: 2px;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(250, 250, 247, 0.55);
  margin-bottom: 2.75rem;
  line-height: 1.7;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-media { position: relative; }

.hero-img {
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-left: auto;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: clamp(1.25rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.4;
}

.hero-scroll-hint span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.8);
}

.scroll-line {
  width: 32px;
  height: 1px;
  background: rgba(250, 250, 247, 0.3);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--amber);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine { to { left: 100%; } }

/* ============================================================
   METRICS STRIP
   ============================================================ */

.metrics {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.metrics-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.metric {
  flex: 1;
  padding: 1.75rem clamp(1rem, 3vw, 2.5rem);
  text-align: center;
  border-right: 1px solid var(--border);
}

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

.metric-value {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.375rem;
}

.metric-value span { color: var(--amber); }

.metric-label {
  font-size: 0.8rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

/* ============================================================
   CLIENT REFERENCE CARDS
   ============================================================ */

.client-refs {
  background: var(--bg);
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}

.client-refs-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 1rem;
}

.client-refs-intro {
  font-size: 1.125rem;
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 0 3.5rem;
}

.client-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 3rem;
}

.client-stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 2.5rem 0 0;
  border-right: 1px solid #E0E0E0;
  margin-right: 2.5rem;
}

.client-stat:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.client-stat-value {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: #FF8226;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.client-stat-desc {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.client-refs-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .client-stats {
    grid-template-columns: 1fr;
  }
  .client-stat {
    border-right: none;
    border-bottom: 1px solid #E0E0E0;
    padding: 0 0 2rem;
    margin: 0 0 2rem;
  }
  .client-stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }
}

.client-ref-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.client-ref-card:hover {
  border-color: var(--amber);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.client-ref-logo {
  margin-bottom: 1.25rem;
  height: 28px;
  display: flex;
  align-items: center;
}

.client-ref-logo img {
  height: 28px;
  width: auto;
  opacity: 0.7;
}

.client-ref-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.client-ref-card p {
  font-size: 0.925rem;
  color: var(--ink-muted);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   KUNDEHISTORIER PREVIEW — dark editorial
   ============================================================ */

.case-preview {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--ink);
  position: relative;
}

.case-preview-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(250,250,247,0.1);
}

.case-preview-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-block;
}

.case-preview-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(250,250,247,0.95);
  margin: 0;
  line-height: 1.1;
}

/* Case rows */
.case-list {
  display: block;
}

.case-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2.5rem;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-bottom: 1px solid rgba(250,250,247,0.08);
  position: relative;
  transition: background 0.3s;
}

.case-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(250,250,247,0.02);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.case-row:hover::before { opacity: 1; }

/* All rows get equal padding — first-child no longer needs padding-top reset */

/* Big faded case number */
.case-row-number {
  font-family: 'Poppins', sans-serif;
  font-size: 4.5rem;
  font-weight: 800;
  color: rgba(250,250,247,0.06);
  line-height: 1;
  letter-spacing: -0.04em;
  user-select: none;
  padding-top: 0.1rem;
  transition: color 0.3s;
}

.case-row:hover .case-row-number {
  color: rgba(224, 90, 26, 0.2);
}

.case-row-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.case-row-top {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.case-row-logo {
  height: 26px;
  width: auto;
  opacity: 0.5;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
  flex-shrink: 0;
}

.case-row:hover .case-row-logo { opacity: 0.85; }

.case-row-name {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: rgba(250,250,247,0.9);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1;
}

.case-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-left: auto;
}

.case-row-tags span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--orange);
  border: 1px solid rgba(224, 90, 26, 0.35);
  border-radius: 100px;
  padding: 0.2rem 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s;
}

.case-row:hover .case-row-tags span {
  background: rgba(224, 90, 26, 0.1);
  border-color: rgba(224, 90, 26, 0.55);
}

.case-row-text {
  font-size: 0.975rem;
  color: rgba(250,250,247,0.45);
  line-height: 1.75;
  margin: 0;
  max-width: 680px;
  transition: color 0.3s;
}

.case-row:hover .case-row-text {
  color: rgba(250,250,247,0.65);
}

/* CTA */
.case-preview-cta {
  padding-top: 2.5rem;
}

.case-preview-cta-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(250,250,247,0.5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.case-preview-cta-link:hover {
  color: var(--orange);
}

.case-preview-cta-link span {
  transition: transform 0.2s var(--ease);
}

.case-preview-cta-link:hover span {
  transform: translateX(4px);
}

@media (max-width: 640px) {
  .case-preview-header {
    flex-direction: column;
    gap: 0.5rem;
  }
  .case-row {
    grid-template-columns: 48px 1fr;
    gap: 1.25rem;
  }
  .case-row-number {
    font-size: 3rem;
  }
  .case-row-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .case-row-tags {
    margin-left: 0;
  }
}

.ai-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  opacity: 0.7;
}

/* ============================================================
   PILLARS
   ============================================================ */

.pillars {
  padding: clamp(4rem, 8vw, 8rem) 0;
  background: var(--surface);
}

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

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.pillars-cta {
  text-align: center;
  margin-top: 3.5rem;
}

.pillar-card {
  padding: 2rem;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 144, 34, 0.3);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  background: var(--amber-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.pillar-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.pillar-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.pillar-card p {
  font-size: 0.925rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.pillar-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}

.pillar-link:hover { gap: 0.5rem; }

/* ============================================================
   CLIENTS — Dark marquee
   ============================================================ */

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.clients {
  background: #111110;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.clients-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin: 0 0 2.5rem;
  text-align: center;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.3s;
}

.client-logo-item:hover {
  background: rgba(255,255,255,0.04);
}

.client-logo-item:nth-child(4n) {
  border-right: none;
}

.client-logo-item:nth-last-child(-n+4) {
  border-bottom: none;
}

.client-logo-item img {
  height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.45;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}

.client-logo-item:hover img {
  opacity: 0.85;
}

@media (max-width: 640px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .client-logo-item:nth-child(4n) {
    border-right: 1px solid rgba(255,255,255,0.07);
  }
  .client-logo-item:nth-child(2n) {
    border-right: none;
  }
  .client-logo-item:nth-last-child(-n+4) {
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .client-logo-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

/* ============================================================
   FOUNDERS
   ============================================================ */

.founders {
  padding: clamp(4rem, 8vw, 8rem) 0;
  background: var(--surface-warm);
}

.founders-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.founders-image { position: relative; }

.founders-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
}

.founders-image::before {
  content: '';
  position: absolute;
  inset: -20px;
  border: 2px solid var(--amber);
  border-radius: calc(var(--radius-lg) + 20px);
  opacity: 0.2;
  pointer-events: none;
}

.founders-content { max-width: 520px; }

.founders-content .section-heading { margin-bottom: 1.5rem; }

.founders-content p {
  font-size: 1.0625rem;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.founders-content .btn-primary { margin-top: 0.75rem; }

/* ============================================================
   SERVICES
   ============================================================ */

.services {
  padding: clamp(4rem, 8vw, 8rem) 0;
  background: var(--surface);
}

.services-header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  max-width: 600px;
}

.services-list { border-top: 1px solid var(--border); }

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

.service-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  text-align: left;
  transition: color 0.15s;
}

.service-toggle:hover { color: var(--amber); }

.service-num {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-faint);
  min-width: 2rem;
}

.service-name {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  flex: 1;
  letter-spacing: -0.01em;
}

.service-arrow {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--amber);
  transition: transform 0.3s var(--ease);
  min-width: 1.5rem;
  text-align: right;
}

.service-toggle[aria-expanded="true"] .service-arrow { transform: rotate(45deg); }

.service-body { padding: 0 0 1.5rem 3.5rem; }

.service-body p {
  font-size: 1rem;
  color: var(--ink-muted);
  margin-bottom: 0.875rem;
  line-height: 1.65;
}

.service-body a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--amber);
  transition: letter-spacing 0.2s;
}

.service-body a:hover { letter-spacing: 0.02em; }

.services-footer { margin-top: 2.5rem; }

/* ============================================================
   INSIGHTS
   ============================================================ */

.insights {
  padding: clamp(4rem, 8vw, 8rem) 0;
  background: var(--bg);
}

.insights-header { margin-bottom: clamp(2rem, 4vw, 3.5rem); }

.insights-footer {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  text-align: center;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}


.insight-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.insight-link {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  height: 100%;
}

.insight-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-faint);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  align-self: flex-start;
}

.insight-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1875rem;
  font-weight: 400;
  line-height: 1.3;
  transition: color 0.15s;
}

.insight-card:hover h3 { color: var(--amber); }

.insight-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.6;
  flex: 1;
}

.insight-arrow {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--amber);
  margin-top: auto;
}

/* ============================================================
   TESTIMONIAL
   ============================================================ */

.testimonial {
  padding: clamp(4rem, 8vw, 8rem) 0;
  background: var(--ink);
}

.testimonial-inner {
  max-width: 860px;
  margin: 0 auto;
}

.testimonial-quote svg {
  color: var(--amber);
  opacity: 0.55;
  margin-bottom: 1.5rem;
}

.testimonial-quote blockquote p {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--bg);
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.testimonial-author img:first-child {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--amber);
  flex-shrink: 0;
}

.testimonial-author div { flex: 1; }

.testimonial-author strong {
  display: block;
  color: var(--bg);
  font-weight: 500;
  font-size: 0.9375rem;
}

.testimonial-author span {
  color: rgba(250, 250, 247, 0.5);
  font-size: 0.8375rem;
}

.testimonial-logo {
  height: 22px;
  width: auto;
  opacity: 0.5;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
  padding: clamp(4rem, 8vw, 8rem) 0;
  background: var(--surface);
}

.faq-header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  max-width: 600px;
}

.faq-list {
  max-width: 740px;
  border-top: 1px solid var(--border);
}

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

.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.375rem 0;
  text-align: left;
}

.faq-toggle span:first-child {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  transition: color 0.15s;
}

.faq-toggle:hover span:first-child { color: var(--amber); }

.faq-icon {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--amber);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.faq-toggle[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-body { padding: 0 2rem 1.5rem 0; }

.faq-body p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

.faq-footer { margin-top: 2.5rem; }

/* ============================================================
   CTA BANNER
   ============================================================ */

.cta-banner {
  padding: clamp(5rem, 10vw, 10rem) 0;
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(255, 144, 34, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

.cta-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.cta-sub {
  font-size: 1.0625rem;
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-email {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}

.cta-email:hover {
  color: var(--amber);
  border-color: var(--amber);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--ink);
  color: rgba(250, 250, 247, 0.85);
}

.footer-inner {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: clamp(2rem, 6vw, 6rem);
}

.footer-logo {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #f5f5f4;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(250, 250, 247, 0.5);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-social { display: flex; gap: 0.75rem; }

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(250, 250, 247, 0.1);
  border-radius: 50%;
  color: rgba(250, 250, 247, 0.65);
  transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
  background: var(--amber);
  color: #fff;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4,
.footer-col .footer-col-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.55);
  margin-bottom: 1rem;
}

.footer-col a,
.footer-col address {
  display: block;
  font-size: 0.9rem;
  color: rgba(250, 250, 247, 0.6);
  margin-bottom: 0.5rem;
  line-height: 1.6;
  transition: color 0.15s;
}

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

.footer-bottom { border-top: 1px solid rgba(250, 250, 247, 0.08); }

.footer-bottom-inner {
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8375rem;
  color: rgba(250, 250, 247, 0.5);
}

.footer-legal { display: flex; gap: 1.5rem; }

.footer-legal a {
  font-size: 0.8375rem;
  color: rgba(250, 250, 247, 0.5);
  transition: color 0.15s;
}

.footer-legal a:hover { color: var(--bg); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-media { display: none; }

  .metrics-inner { flex-wrap: wrap; }
  .metric { flex: 1 1 45%; border-right: none; border-bottom: 1px solid var(--border); }
  .metric:nth-child(odd) { border-right: 1px solid var(--border); }
  .metric:nth-last-child(-n+2) { border-bottom: none; }


  .founders-inner { grid-template-columns: 1fr; }
  .founders-image { max-width: 480px; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hero-sub-extra { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .pillars-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .testimonial-author { flex-wrap: wrap; }
  .cta-actions { flex-direction: column; }
  .btn-primary.btn-lg, .btn-ghost.btn-lg { width: 100%; justify-content: center; }
  .metrics-inner { flex-direction: column; }
  .metric { border-right: none; border-bottom: 1px solid var(--border); }
  .metric:last-child { border-bottom: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-elem { opacity: 1; transform: none; }
}

/* ============================================================
   INNER PAGES — Page hero, content layout, articles
   ============================================================ */

/* Active nav link */
.nav-link.active {
  color: var(--orange);
  background: var(--orange-faint);
}

/* Page hero (compact dark) */
.page-hero {
  background: var(--ink);
  padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(250, 250, 247, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 250, 247, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(255, 144, 34, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-inner { position: relative; z-index: 1; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(250, 250, 247, 0.4);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: rgba(250, 250, 247, 0.4);
  transition: color 0.15s;
}

.breadcrumb a:hover { color: var(--orange); }

.breadcrumb span { color: rgba(250, 250, 247, 0.7); }

.breadcrumb-sep { opacity: 0.4; }

/* Page title */
.page-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--bg);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.page-subtitle {
  font-size: 1.125rem;
  color: rgba(250, 250, 247, 0.55);
  max-width: 600px;
  line-height: 1.65;
}

/* ── Content sections ──────────────────────────────────── */

.content-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

/* Article pages: tighter horizontal padding so the text column
   doesn't shrink below ~700px on wide screens. The default
   container uses 5vw capped at 3rem (48px/side = 96px total)
   which eats too much from a 760px-max container. */
.content-section .container {
  padding-inline: clamp(1.25rem, 3vw, 2rem);
}

.content-section.bg-white { background: var(--surface); }
.content-section.bg-light { background: var(--bg); }
.content-section.bg-warm  { background: var(--surface-warm); }
.content-section.bg-dark  { background: var(--ink); color: var(--bg); }

.content-section .section-heading { margin-bottom: 1rem; }
.content-section .section-lead {
  font-size: 1.0625rem;
  color: var(--ink-muted);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* ── Feature list ────────────────────────────────────── */

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.875rem;
  margin-top: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.5;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.feature-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.4em;
}

/* ── Process steps ───────────────────────────────────── */

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.process-step {
  padding: 1.5rem;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
}

.step-num {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 0.625rem;
}

.process-step h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ── Quote block ─────────────────────────────────────── */

.quote-block {
  padding: 1.75rem 2rem;
  background: var(--orange-light);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: 2.5rem 0;
}

.quote-block p {
  font-size: 1.0625rem;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  line-height: 1.65;
}

/* ── Two-column layout ───────────────────────────────── */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

/* ── Service cards (tjenester overview) ──────────────── */

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 144, 34, 0.3);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  background: var(--orange-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}

.service-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}

.service-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}

.service-card:hover .service-card-link { gap: 0.5rem; }

/* ── Tjenester page ──────────────────────────────────── */

.tjenester-intro {
  max-width: 600px;
  margin: 0 0 3rem;
  font-size: 1.0625rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

.tjenester-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}


.tjeneste-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem 1.75rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.tjeneste-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.tjeneste-card:hover::before {
  transform: scaleX(1);
}

.tjeneste-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.09);
  border-color: rgba(255, 144, 34, 0.25);
}

.tjeneste-card--dark {
  background: var(--ink);
  border-color: transparent;
  color: #fff;
}

.tjeneste-card--dark::before {
  background: var(--orange);
}

.tjeneste-card--dark h3 {
  color: #fff;
}

.tjeneste-card--dark p {
  color: rgba(255,255,255,0.65);
}

.tjeneste-card--dark .tjeneste-list li {
  color: rgba(255,255,255,0.55);
  border-color: rgba(255,255,255,0.1);
}

.tjeneste-card--dark .tjeneste-link {
  color: var(--orange);
}

.tjeneste-card-num {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.tjeneste-card-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--orange-light);
  color: var(--orange);
  padding: 0.2em 0.6em;
  border-radius: 4px;
  margin-bottom: 1rem;
  width: fit-content;
}

.tjeneste-card--dark .tjeneste-card-label {
  background: rgba(255,144,34,0.15);
  color: var(--orange);
}

.tjeneste-card h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.625rem;
  line-height: 1.3;
}


.tjeneste-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.tjeneste-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1;
}

.tjeneste-list li {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  padding-left: 1rem;
  position: relative;
}

.tjeneste-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 0.75rem;
}

.tjeneste-list li:first-child {
  border-top: 1px solid var(--border);
}

.tjeneste-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
  margin-top: auto;
}

.tjeneste-card:hover .tjeneste-link { gap: 0.5rem; }

@media (max-width: 900px) {
  .tjenester-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ── Kundehistorie cards ─────────────────────────────── */

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.case-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.case-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-client {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.case-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  flex: 1;
  transition: color 0.15s;
}

.case-card:hover h3 { color: var(--orange); }

.case-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.case-tag {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.25rem 0.625rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--ink-muted);
}

/* ── Load more ───────────────────────────────────────── */

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.load-more-btn {
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.875rem 2.5rem;
  border-radius: 100px;
  border: 1.5px solid var(--orange);
  background: transparent;
  color: var(--orange);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.load-more-btn:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 90, 26, 0.25);
}

/* ── Innsikt filter bar ──────────────────────────────── */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(17,17,16,0.15);
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.filter-btn:hover {
  border-color: rgba(17,17,16,0.4);
  color: var(--ink);
}

.filter-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* ── Innsikt article listing ─────────────────────────── */

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.article-card-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }

.article-card-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #1a1a18;
}

.article-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top right;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease;
  opacity: 0.92;
}

.article-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,16,0.35) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.article-card:hover .article-card-thumb img {
  transform: scale(1.04);
  opacity: 1;
}

.article-card:hover .article-card-thumb::after {
  opacity: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}

.article-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-faint);
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
}

.article-date {
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.article-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.625rem;
  flex: 1;
  transition: color 0.15s;
}

.article-card:hover h3 { color: var(--orange); }

.article-card p {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.article-read-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange);
  margin-top: auto;
}

/* ── Full article layout ─────────────────────────────── */

.article-layout {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--surface);
}

.article-container {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: start;
}

.article-body {
  max-width: 720px;
}

.article-body p {
  font-size: 1.0625rem;
  color: #3d3d3c;
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.article-body h2 {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--ink);
  margin: 2.75rem 0 1rem;
  letter-spacing: -0.02em;
}

.article-body h2:first-of-type {
  margin-top: 1.75rem;
}

.article-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.01em;
}

.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.article-body li {
  margin-bottom: 0.625rem;
  color: #3d3d3c;
  line-height: 1.75;
  font-size: 1.0625rem;
}

.article-body strong { color: var(--ink); font-weight: 600; }

.article-body a,
.content-section p a {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-color: rgba(224, 90, 26, 0.3);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}

.article-body a:hover,
.content-section p a:hover {
  color: #c44d15;
  text-decoration-color: rgba(224, 90, 26, 0.85);
}

/* Article figure */
.article-figure {
  margin: 3rem 0 3.5rem;
  padding: 1.5rem;
  background: #f5f3ef;
  border-radius: 10px;
}
.article-figure img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}
.article-figure figcaption {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-top: 0.875rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  font-style: italic;
}

/* ── Related Articles ─────────────────────────────────────── */
.related-articles {
  background: var(--bg);
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid rgba(17,17,16,0.08);
}

.related-header {
  margin-bottom: 2.5rem;
}

.related-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.related-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.related-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid rgba(17,17,16,0.08);
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  overflow: hidden;
}

.related-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(17,17,16,0.15);
  box-shadow: 0 8px 24px rgba(17,17,16,0.07);
}

.related-card:hover::before {
  transform: scaleX(1);
}

.related-card-cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.related-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin: 0 0 1.25rem;
}

.related-card-date {
  font-size: 0.75rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.related-card-arrow {
  position: absolute;
  bottom: 1.75rem;
  right: 1.75rem;
  font-size: 1rem;
  color: var(--orange);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.related-card:hover .related-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

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

.article-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.sidebar-box {
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.sidebar-box h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1rem;
}

.sidebar-box a {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-muted);
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}

.sidebar-box a:last-child { border-bottom: none; }
.sidebar-box a:hover { color: var(--orange); }

/* ── Contact page ────────────────────────────────────── */

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

.contact-form-wrap { }

.contact-person {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  transition: border-color 0.2s;
}

.contact-person:hover { border-color: rgba(255,144,34,0.3); }

.contact-person-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--orange-light);
}

.contact-person-info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-person-info p {
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}

.contact-person-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-person-links a {
  font-size: 0.875rem;
  color: var(--orange);
  transition: opacity 0.15s;
}

.contact-person-links a:hover { opacity: 0.75; }

/* Contact form */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 144, 34, 0.12);
}

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

/* ── About page ──────────────────────────────────────── */

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.team-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.team-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--orange-light);
}

.team-info h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.team-info p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.team-linkedin {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--orange);
}

/* ── FAQ full page ───────────────────────────────────── */

.faq-full .faq-list { max-width: 100%; }

/* ── Responsive (inner pages) ────────────────────────── */

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .article-container { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
}

@media (max-width: 600px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
  .team-card { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ── Article highlight mark ──────────────────────────────── */

mark.article-highlight {
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

mark.article-highlight:hover {
  background: #c94d10;
  transition: background 0.2s;
}

/* ── Programmatic benefit boxes ──────────────────────────── */

.prog-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.prog-box {
  background: var(--ink);
  border-radius: 10px;
  padding: 1.5rem 1.25rem 1.25rem;
  transition: transform 0.22s, box-shadow 0.22s;
}

.prog-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

.prog-box-icon {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  color: var(--orange);
}

.prog-box h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fafaf7;
  margin-bottom: 0.5rem;
}

.prog-box p {
  font-size: 0.8125rem;
  color: rgba(250,250,247,0.65);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 600px) {
  .prog-boxes { grid-template-columns: 1fr; }
}

/* ── Share of Search widget ──────────────────────────────── */

.sos-widget {
  background: #111110;
  border-radius: 14px;
  padding: 1.75rem 1.75rem 1.25rem;
  margin: 2.5rem 0;
  color: #fafaf7;
}

.sos-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.sos-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e05a1a;
  margin-bottom: 0.2rem;
}

.sos-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fafaf7;
}

.sos-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sos-nav-btn {
  background: rgba(255,255,255,0.08);
  border: none;
  color: #fafaf7;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sos-nav-btn:hover { background: rgba(255,255,255,0.18); }
.sos-nav-btn:disabled { opacity: 0.3; cursor: default; }

.sos-month-label {
  font-size: 0.8rem;
  font-weight: 600;
  min-width: 70px;
  text-align: center;
  color: rgba(250,250,247,0.8);
}

.sos-chart { display: flex; flex-direction: column; gap: 0.9rem; }

.sos-bar-row {
  display: grid;
  grid-template-columns: 110px 1fr 44px;
  align-items: center;
  gap: 0.75rem;
}

.sos-brand-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(250,250,247,0.7);
  text-align: right;
}

.sos-bar-row[data-brand="A"] .sos-brand-label {
  color: #fafaf7;
  font-weight: 700;
}

.sos-bar-track {
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
  height: 28px;
  overflow: hidden;
}

.sos-bar {
  height: 100%;
  border-radius: 4px;
  background: rgba(255,255,255,0.18);
  width: 0%;
  transition: width 0.55s cubic-bezier(0.4,0,0.2,1);
}

.sos-bar--highlight {
  background: linear-gradient(90deg, #e05a1a, #f07340);
}

.sos-pct {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(250,250,247,0.5);
  text-align: right;
}

.sos-bar-row[data-brand="A"] .sos-pct { color: #f07340; }

.sos-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 1.4rem;
}

.sos-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.2s;
}

.sos-dot.active { background: #e05a1a; }

.sos-footer {
  font-size: 0.65rem;
  color: rgba(250,250,247,0.25);
  text-align: center;
  margin-top: 1rem;
  letter-spacing: 0.03em;
}

/* ── Article inline CTA ──────────────────────────────────── */

.article-inline-cta {
  background: #fef3eb;
  border-left: 3px solid var(--orange);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin: 2.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.article-inline-cta p {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}

.article-inline-cta .btn-primary {
  color: #fff;
}

/* ── Article result box ──────────────────────────────────── */

.article-result-box {
  background: var(--orange-light);
  border-left: 4px solid var(--orange);
  border-radius: 0 8px 8px 0;
  padding: 1.125rem 1.375rem;
  margin: 1.75rem 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-result-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.article-result-box strong {
  font-weight: 700;
  color: var(--ink);
  margin-right: 4px;
}

/* ── Article summary box ──────────────────────────────────── */

.article-summary-box {
  border-left: 3px solid var(--orange);
  background: #fff;
  border-radius: 0 8px 8px 0;
  padding: 1.5rem 1.75rem;
  margin: 2.5rem 0 1rem;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.article-summary-box h4 {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.article-summary-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-summary-box li {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink);
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.65rem;
}

.article-summary-box li:last-child { margin-bottom: 0; }

.article-summary-box li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 0.75rem;
  top: 0.1em;
}

/* ── Article table ───────────────────────────────────── */

.article-table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.9375rem;
  line-height: 1.4;
  min-width: 640px;
}

.article-table thead tr {
  background: var(--orange);
  color: #fff;
  text-align: left;
}

.article-table th {
  padding: 14px 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-size: 0.75rem;
}

.article-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--orange-light);
  color: #333;
  vertical-align: top;
}

.article-table tbody tr:nth-child(even) {
  background: #fffaf7;
}

.article-table tbody tr:hover {
  background: var(--orange-light);
  transition: background 0.2s ease;
}

.article-table td strong {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 640px) {
  .article-table-wrap {
    border: 1px solid var(--orange-light);
  }
}

/* ── LLM test section ─────────────────────────────────── */

.llm-test-section {
  background: var(--ink);
  border-radius: 12px;
  padding: 2.5rem 2rem 2rem;
  margin: 2.5rem 0;
  text-align: center;
}

.llm-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fafaf7;
  margin-bottom: 0.4rem;
}

.llm-subtitle,
.article-body .llm-subtitle {
  color: rgba(250,250,247,0.6);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.llm-test-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.llm-test-box {
  flex: 1 1 300px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chat-mockup {
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem 1rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  flex-grow: 1;
  transition: transform 0.2s, box-shadow 0.2s;
}

.llm-test-box:hover .chat-mockup {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
}

.chat-bubble {
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin: 0.5rem 0;
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: left;
}

.chat-bubble.user {
  background: #f6f6f6;
  color: #111;
}

.chat-bubble.ai {
  background: rgba(224,90,26,0.07);
  border: 1px solid rgba(224,90,26,0.3);
  color: #111;
}

.chat-bubble.ai span {
  color: var(--orange);
  font-weight: 600;
}

.typing {
  color: #999;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 1px;
  margin: 0.25rem 0 0.5rem;
  padding-left: 0.25rem;
}

.typing span {
  animation: blink 1.2s infinite;
}
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.ai-copy-wrapper {
  text-align: center;
  margin-top: 1rem;
}

.ai-copy-btn {
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.ai-copy-btn:hover {
  background: #c94d10;
  transform: translateY(-1px);
}

.ai-copy-hint,
.article-body .ai-copy-hint {
  font-size: 0.75rem;
  color: rgba(250,250,247,0.5);
  margin-top: 0.4rem;
}

.llm-test-note,
.article-body .llm-test-note {
  font-size: 0.8rem;
  color: rgba(250,250,247,0.45);
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* ── Touch device fixes ──────────────────────────────────────────────────
   touch-action: manipulation prevents the 300ms delay and the "hover before
   click" behaviour on iOS Safari / Chrome for Android.
   The @media (hover: none) block neutralises transform-based hover effects
   that require a second tap to actually fire the click on touch screens.
   ──────────────────────────────────────────────────────────────────────── */
a, button, summary, label[for], [role="button"] {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: none) and (pointer: coarse) {
  /* Nav CTA — prevent orange color/underline on first tap */
  .nav-cta:hover                  { color: var(--ink); }
  .nav-cta:hover::after           { width: 0; }
  .nav-cta:hover .nav-cta-arrow   { transform: none; }
  .dark-hero .nav:not(.scrolled) .nav-cta:hover { color: rgba(255,255,255,0.85); }
  .dark-hero .nav:not(.scrolled) .nav-link:hover { color: rgba(255,255,255,0.75); background: none; }
  .nav-link:hover::after          { transform: scaleX(0); }

  /* Mobile nav */
  .mobile-nav a:hover             { color: var(--ink); padding-left: 0; }

  /* Buttons — no color/shadow change on first tap */
  .btn-primary:hover              { transform: none; background: var(--amber); box-shadow: none; }
  .btn-primary:hover::after       { opacity: 0; }
  .btn-ghost:hover                { transform: none; border-color: rgba(250,250,247,0.3); background: transparent; }
  .btn-ghost-dark:hover           { transform: none; border-color: var(--border-strong); background: transparent; }

  /* Cards — remove lift/shadow on hover so first tap = click */
  .insight-card:hover             { transform: none; box-shadow: var(--shadow-sm); }
  .insight-card:hover h3          { color: inherit; }
  .service-card:hover             { transform: none; box-shadow: none; }
  .pillar-card:hover              { transform: none; box-shadow: none; }
  .client-ref-card:hover          { transform: none; }
  .bk-open-card:hover             { transform: none; box-shadow: 0 2px 20px rgba(26,26,26,0.06); border-color: rgba(26,26,26,0.08); }

  /* Case rows */
  .case-row:hover::before          { opacity: 0; }
  .case-row:hover .case-row-number { color: var(--ink-faint); }
  .case-row:hover .case-row-tags span { background: var(--surface-warm); color: var(--ink-muted); }
  .case-row:hover .case-row-text   { color: var(--ink-muted); }

  /* FAQ toggle */
  .faq-toggle:hover span:first-child { color: var(--ink); }

  /* Innsikt / article cards */
  .article-card:hover             { transform: none; }
  .related-card:hover             { transform: none; }

  /* Profile page sidebar links */
  .prof-sidebar-links a:hover     { color: rgba(11,11,11,0.48); }

  /* Sim page CTAs */
  .sim-hero-cta:hover             { background: var(--orange, #ff9022); transform: none; }
  .sim-cta-btn-primary:hover      { background: var(--orange, #ff9022); transform: none; box-shadow: none; }
  .sim-cta-btn-secondary:hover    { color: var(--text-muted, rgba(255,255,255,0.38)); }
}
