/* ==========================================================================
   Fremad & Op – sammen (fremadop.dk) — Forside v4
   Radikal enkelhed, varm kontrast & 100 % tro mod det godkendte logo
   ========================================================================== */

:root {
  /* Logoets farvefamilie — klar hav-turkis, varm orange & rolig sand */
  --teal-footer: #00444F;
  --teal-deep: #005B68;
  --teal-mid: #007485;
  --teal: #008FA0;
  --teal-dark: #006B78;
  --teal-soft: rgba(0, 143, 160, 0.09);

  --orange: #F58200;
  --orange-hover: #D97000;
  --orange-warm: #FFA834;
  --orange-text: #B35B00;
  --orange-soft: rgba(245, 130, 0, 0.11);

  /* Skiftende kontrastflader (aldrig hvid-på-hvidt) */
  --sand: #F6F2EC;
  --white: #FFFFFF;
  --ink: #243036;
  --ink-muted: #526068;
  --ink-light: #64727A;
  --border: rgba(0, 91, 104, 0.14);
  --border-strong: rgba(0, 91, 104, 0.28);

  /* Typografi */
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Form & rytme */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 4px 16px rgba(0, 68, 79, 0.06);
  --shadow-md: 0 14px 36px rgba(0, 68, 79, 0.12);

  /* Layout */
  --max-width: 1140px;
  --header-height: 86px;
  --transition: 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--white);
  color: var(--ink);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition);
}

/* Anti-horeunge & typografisk balance (jf. 02-sprog-og-tone.md) */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.18;
  font-weight: 600;
  text-wrap: balance;
}

p, li {
  text-wrap: pretty;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--orange);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
}

.skip-link:focus {
  top: 16px;
}

/* ==========================================================================
   Topnavigation — enkel, luftig, aldrig beskåret
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition), background-color var(--transition);
}

.site-header.is-scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius-sm);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.nav-link.is-active {
  color: var(--teal-deep);
  font-weight: 600;
}

.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2.5px;
  background: var(--orange);
  border-radius: 2px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--teal-deep);
  flex-shrink: 0;
}

.menu-toggle:hover {
  background: var(--teal-soft);
}

/* ==========================================================================
   Knapper (Aldrig ombrydning på to linjer)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition), color var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(0, 68, 79, 0.22);
}

.btn-primary:hover {
  background: var(--orange-hover);
  box-shadow: 0 10px 24px rgba(0, 68, 79, 0.28);
}

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

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.80);
}

.btn-outline {
  background: transparent;
  color: var(--teal-deep);
  border-color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: var(--white);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.9rem;
}

/* ==========================================================================
   Band 1: Klar hav-turkis Hero (2-kolonner)
   ========================================================================== */

.hero {
  position: relative;
  padding: 72px 0 80px;
  background: linear-gradient(135deg, #005461 0%, #007384 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 56px;
  align-items: center;
}

.hero-content {
  text-align: left;
  max-width: 600px;
}

.kicker,
.hero-kicker,
.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.kicker--hero,
.hero-kicker {
  color: #FFD294;
}

.eyebrow {
  color: var(--teal-dark);
}

.eyebrow--orange {
  color: var(--orange-text);
}

.section--teal .eyebrow {
  color: #FFD294;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 4.2vw, 3.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.14;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: #FFB047;
  font-weight: 500;
  white-space: nowrap;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: rgba(255, 255, 255, 0.90);
  max-width: 540px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-portrait-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.hero-portrait-card {
  width: 100%;
  max-width: 370px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 48px rgba(0, 38, 45, 0.30);
}

.hero-portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
}

.hero-portrait-caption {
  width: 100%;
  max-width: 370px;
  margin-top: 12px;
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.84);
  text-align: center;
}

/* ==========================================================================
   Sektioner — rolig skiftende kontrast (Sand / Hvid / Hav-turkis)
   ========================================================================== */

.section {
  padding: 84px 0;
}

.section--sand {
  background: var(--sand);
}

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

.section--teal {
  background: linear-gradient(135deg, #005461 0%, #007384 100%);
  color: var(--white);
}

.section-header {
  max-width: 660px;
  margin-bottom: 48px;
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.04rem;
  color: var(--ink-muted);
}

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

.section--teal p {
  color: rgba(255, 255, 255, 0.88);
}

.section-footer-cta {
  margin-top: 44px;
}

.section-footer-cta--center {
  text-align: center;
}

/* ==========================================================================
   Band 2: Hvem jeg er & direkte visitkort (Åbent på varm sand)
   ========================================================================== */

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 56px;
  align-items: start;
}

.intro-grid h2 {
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

.intro-grid > div > p {
  color: var(--ink-muted);
  font-size: 1.04rem;
  margin-bottom: 16px;
}

.simple-facts-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.simple-facts-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.58;
}

.simple-facts-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.simple-facts-list li:nth-child(even)::before {
  background: var(--orange);
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 30px;
  border: 1px solid var(--border);
  border-top: 3.5px solid var(--teal);
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  font-size: 1.28rem;
  margin-bottom: 18px;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 0;
  border-top: 1px solid var(--border);
}

.contact-row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.contact-row:last-of-type {
  padding-bottom: 0;
}

.contact-row span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-light);
}

.contact-row strong {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--ink);
}

.contact-row a {
  font-size: 0.96rem;
  color: var(--teal-deep);
  font-weight: 600;
}

.contact-row a:hover {
  color: var(--orange-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Band 3: Tanken bag logoet & min tilgang (Åbent på hvid)
   ========================================================================== */

.logo-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: center;
}

.logo-hero-display {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.logo-hero-display img {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.logo-story-grid h2 {
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

.logo-story-grid > div > p {
  color: var(--ink-muted);
  font-size: 1.04rem;
  margin-bottom: 24px;
}

.line-note {
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--teal);
  margin-top: 18px;
}

.line-note--teal {
  border-left-color: var(--teal);
}

.line-note--orange {
  border-left-color: var(--orange);
}

.line-note h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.line-note p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.58;
}

/* Enkel typografisk 3-trins række (ingen skygge-kasser) */
.steps-minimal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 64px;
}

.step-item {
  padding-top: 20px;
  border-top: 2px solid var(--teal);
}

.step-item:nth-child(2) {
  border-top-color: var(--orange);
}

.step-item:nth-child(3) {
  border-top-color: var(--teal-deep);
}

.step-num {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 8px;
}

.step-item:nth-child(2) .step-num {
  color: var(--orange-text);
}

.step-item:nth-child(3) .step-num {
  color: var(--teal-deep);
}

.step-item h3 {
  font-size: 1.24rem;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.62;
}

/* ==========================================================================
   Band 4: Sådan kan vi arbejde sammen + Bestyrelsesbånd (På varm sand)
   ========================================================================== */

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

.collab-item {
  padding: 8px 32px 12px;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.collab-item:first-child {
  padding-left: 0;
  border-left: none;
}

.collab-item:last-child {
  padding-right: 0;
}

.collab-num {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-text);
}

.collab-item h3 {
  font-size: 1.32rem;
}

.collab-item p {
  font-size: 0.96rem;
  color: var(--ink-muted);
  line-height: 1.62;
}

.collab-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.collab-list li {
  font-size: 0.92rem;
  color: var(--ink);
  padding-left: 16px;
  position: relative;
}

.collab-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

/* Roligt hav-turkis bestyrelsesbånd */
.board-strip {
  margin-top: 48px;
  background: linear-gradient(135deg, #005461 0%, #007384 100%);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 36px;
  border-left: 5px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.board-strip-text h3 {
  color: var(--white);
  font-size: 1.32rem;
  margin-bottom: 6px;
}

.board-strip-text p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
  max-width: 680px;
}

/* ==========================================================================
   Band 5: Tre udvalgte resultater (Åbne redaktionelle kolonner på hvid)
   ========================================================================== */

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.case-item {
  padding-top: 22px;
  border-top: 2.5px solid var(--teal);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-item:nth-child(2) {
  border-top-color: var(--orange);
}

.case-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.case-year {
  color: var(--ink-light);
  font-weight: 500;
}

.case-item h3 {
  font-size: 1.3rem;
}

.case-item p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.62;
}

.case-result {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.56;
}

.case-result strong {
  color: var(--teal-deep);
}

/* ==========================================================================
   Band 6: Enkel kontakt-CTA i klar hav-turkis
   ========================================================================== */

.cta-simple {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.cta-simple h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.55rem);
  margin-bottom: 14px;
}

.cta-simple p {
  font-size: 1.06rem;
  margin-bottom: 30px;
}

.cta-simple .hero-actions {
  justify-content: center;
}

.cta-direct {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.88);
}

.cta-direct a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  padding-bottom: 2px;
}

.cta-direct a:hover {
  color: #FFB047;
  border-color: #FFB047;
}

/* ==========================================================================
   Signaturfooter (3 kolonner i dyb hav-turkis #00444F)
   ========================================================================== */

.site-footer {
  background: var(--teal-footer);
  color: rgba(255, 255, 255, 0.86);
  border-top: 3px solid var(--orange);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.15fr;
  gap: 48px;
  margin-bottom: 44px;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  padding: 10px 16px;
  border-radius: 10px;
  margin-bottom: 18px;
}

.footer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.footer-brand p {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.80);
  max-width: 340px;
  line-height: 1.62;
}

.footer-col h3 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFB047;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.94rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.84);
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.68);
}

/* ==========================================================================
   Undersider (samarbejde, projekter, om-jacob, kontakt) — tro mod v4
   ========================================================================== */

section[id],
article[id],
div[id] {
  scroll-margin-top: 104px;
}

/* Kompakt hav-turkis underside-hero */
.page-hero {
  position: relative;
  padding: 68px 0 64px;
  background: linear-gradient(135deg, #005461 0%, #007384 100%);
  color: var(--white);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 3.6vw, 2.95rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.16;
  max-width: 760px;
  margin-bottom: 16px;
}

.page-hero h1 em {
  font-style: italic;
  color: #FFB047;
  font-weight: 500;
}

.page-hero p:not(.kicker) {
  font-size: clamp(1.02rem, 1.35vw, 1.14rem);
  color: rgba(255, 255, 255, 0.90);
  max-width: 640px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Samarbejde: 4 kerneområder (2x2 åbent redaktionelt gitter) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 48px;
}

.pillar-item {
  padding-top: 20px;
  border-top: 2px solid var(--teal);
}

.pillar-item:nth-child(even) {
  border-top-color: var(--orange);
}

.pillar-num {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 8px;
}

.pillar-item:nth-child(even) .pillar-num {
  color: var(--orange-text);
}

.pillar-item h3 {
  font-size: 1.28rem;
  margin-bottom: 8px;
}

.pillar-item p {
  font-size: 0.96rem;
  color: var(--ink-muted);
  line-height: 1.62;
}

/* Samarbejde: Detaljerede samarbejdsformer */
.collab-detail-list {
  display: grid;
  gap: 0;
}

.collab-detail {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  max-width: 780px;
}

.collab-detail:first-child {
  padding-top: 0;
  border-top: none;
}

.collab-detail:last-child {
  padding-bottom: 0;
}

.collab-detail .collab-num {
  display: inline-block;
  margin-bottom: 8px;
}

.collab-detail h3 {
  font-size: 1.42rem;
  margin-bottom: 12px;
}

.collab-detail p {
  font-size: 1rem;
  color: var(--ink-muted);
  line-height: 1.66;
  margin-bottom: 18px;
}

.collab-detail .simple-facts-list {
  margin-top: 16px;
}

/* Projekter: 6 dokumenterede cases */
.case-detail-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.case-detail {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 30px;
  border: 1px solid var(--border);
  border-top: 3.5px solid var(--teal);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.case-detail:nth-child(even) {
  border-top-color: var(--orange);
}

.case-detail h2,
.case-detail h3 {
  font-size: 1.36rem;
  color: var(--ink);
}

.case-dl {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.case-dl dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 2px;
}

.case-dl dd {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin: 0;
}

.case-ext-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--teal-deep);
  border-top: 1px solid var(--border);
}

.case-ext-link:hover {
  color: var(--orange-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Om Jacob: Portræt, citat, tidslinje & 3-kolonne info */
.portrait-frame-light {
  width: 100%;
  max-width: 390px;
  justify-self: end;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.portrait-frame-light img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
}

.quote-minimal {
  margin: 24px 0 0;
  padding: 10px 0 10px 20px;
  border-left: 3.5px solid var(--orange);
  font-family: var(--font-serif);
  font-size: 1.14rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.55;
}

.journey-list {
  list-style: none;
  display: grid;
  gap: 0;
  border-left: 2px solid rgba(0, 143, 160, 0.28);
  padding-left: 28px;
  margin-left: 6px;
}

.journey-item {
  position: relative;
  padding: 0 0 28px;
}

.journey-item:last-child {
  padding-bottom: 0;
}

.journey-item::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid var(--sand);
}

.journey-item:nth-child(even)::before {
  background: var(--orange);
}

.journey-year {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-text);
  margin-bottom: 4px;
}

.journey-item h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.journey-item p {
  font-size: 0.96rem;
  color: var(--ink-muted);
  max-width: 700px;
  line-height: 1.62;
}

.info-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.info-cols > div,
.info-col {
  padding-top: 20px;
  border-top: 2px solid var(--teal);
}

.info-cols > div:nth-child(2),
.info-col:nth-child(2) {
  border-top-color: var(--orange);
}

.info-cols > div:nth-child(3),
.info-col:nth-child(3) {
  border-top-color: var(--teal-deep);
}

.info-cols h3 {
  font-size: 1.24rem;
  margin-bottom: 14px;
}

.info-cols .simple-facts-list {
  margin-top: 0;
}

.info-cols .simple-facts-list li {
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.info-cols .simple-facts-list strong {
  color: var(--ink);
}

/* Kontakt: 2-kolonne layout & ren formular */
.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 34px;
  border: 1px solid var(--border);
  border-top: 3.5px solid var(--orange);
  box-shadow: var(--shadow-sm);
}

.contact-form h2,
.contact-form h3 {
  font-size: 1.42rem;
  margin-bottom: 22px;
}

.contact-form > p {
  font-size: 0.96rem;
  color: var(--ink-muted);
  margin-bottom: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 143, 160, 0.16);
}

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

.form-note {
  margin-top: 12px;
  font-size: 0.86rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.form-status {
  margin-top: 14px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--teal-deep);
}

.form-status:empty {
  display: none;
}

.form-status.is-success {
  background: var(--teal-soft);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--teal);
}

.form-status.is-error {
  color: #B42318;
  background: rgba(180, 35, 24, 0.08);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid #B42318;
}

.section--surface {
  background: var(--sand);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card,
.case-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote-block {
  margin: 24px 0;
  padding: 18px 22px;
  background: var(--white);
  border-left: 3.5px solid var(--orange);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink);
}

/* ==========================================================================
   Scroll-reveal animation (Respekterer prefers-reduced-motion)
   ========================================================================== */

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   Responsivt design (960px, 820px, 600px)
   ========================================================================== */

@media (max-width: 960px) {
  .hero-split,
  .intro-grid,
  .logo-story-grid,
  .split-grid,
  .pillars-grid,
  .collab-detail,
  .case-detail-list,
  .info-cols,
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .portrait-frame-light {
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-portrait-wrap {
    align-items: center;
  }

  .hero-portrait-card,
  .hero-portrait-caption {
    max-width: 340px;
  }

  .steps-minimal,
  .cases-grid,
  .cards-3 {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .collab-item {
    padding: 20px 0 0;
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .collab-item:first-child {
    padding-top: 0;
    border-top: none;
  }

  .board-strip {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 18px 24px 24px;
    flex-direction: column;
    align-items: stretch;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-link {
    padding: 12px 14px;
    font-size: 1.02rem;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }

  .site-header {
    height: 76px;
  }

  :root {
    --header-height: 76px;
  }

  .brand-logo {
    height: 48px;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .hero h1 em {
    white-space: normal;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-portrait-card,
  .hero-portrait-caption {
    max-width: 280px;
  }

  .section {
    padding: 60px 0;
  }

  .contact-card,
  .contact-form,
  .case-detail {
    padding: 24px 20px;
  }

  .page-hero {
    padding: 48px 0 46px;
  }

  .board-strip {
    padding: 24px 22px;
  }

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