/* ==========================================================================
   om-os.css — Om os-siden

   Marketingside i site-shellens font (Plus Jakarta Sans). Sektionerne skifter
   mellem den varme sideflade og forsidens hvide prik-flade, og alle
   sektionsbaggrunde loeber over hele browserens bredde. Siden er bevidst
   light-only ligesom de nye produktsider.
   ========================================================================== */

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

body.about-page {
  --about-bg: #FAFAF8;
  --about-card: #FFFFFF;
  --about-ink: #111111;
  --about-body: #4A5568;
  --about-muted: #6B7280;
  --about-navy: #1B2A4A;
  --about-navy-hover: #111C32;
  --about-border: #E8E8E4;
  --about-line: rgba(15, 23, 42, .07);
  --about-shadow: 0 1px 3px rgba(15, 23, 42, .04), 0 12px 36px rgba(15, 23, 42, .06);
  --about-ease: cubic-bezier(.16, 1, .3, 1);
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--about-bg);
  color: var(--about-ink);
  font-family: 'Plus Jakarta Sans', 'PJS Fallback', Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.about-page main { overflow: clip; }
:where(.about-page main) :where(h1, h2, h3, p, figure, ul, ol, dl, dd) { margin: 0; }
.about-page main img { display: block; max-width: 100%; }
:where(.about-page main) a { color: inherit; }
.about-page main :where(a, button):focus-visible { outline: 3px solid rgba(27, 42, 74, .35); outline-offset: 3px; border-radius: 4px; }

/* ── Fælles sektionsflader ────────────────────────────────────────────── */
.about-shell { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.about-section { position: relative; padding-block: 96px; border-bottom: 1px solid var(--about-line); }
.about-section--solid { background: var(--about-bg); }
.about-section--dots {
  background-color: var(--about-card);
  background-image: radial-gradient(circle, rgba(27, 42, 74, .12) 1px, transparent 1.1px);
  background-size: 20px 20px;
  background-position: 0 0;
}

.about-kicker {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--about-navy);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}
.about-eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--about-navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}
.about-h2 {
  color: var(--about-ink);
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.032em;
  line-height: 1.08;
  text-wrap: balance;
}
.about-lead { color: var(--about-body); font-size: 18px; line-height: 1.65; }
.about-copy p { color: var(--about-body); font-size: 17px; line-height: 1.72; }
.about-copy p + p { margin-top: 18px; }
.about-copy a { color: var(--about-navy); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(27, 42, 74, .3); text-underline-offset: 3px; }
.about-copy a:hover { text-decoration-color: currentColor; }
.about-source { color: var(--about-muted); font-size: 14px; }

.about-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid var(--about-navy);
  border-radius: 10px;
  background: var(--about-navy);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.about-button:hover { border-color: var(--about-navy-hover); background: var(--about-navy-hover); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(27, 42, 74, .16); }
.about-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.about-button--secondary { border-color: rgba(15, 23, 42, .14); background: #FFFFFF; color: #0F172A; }
.about-button--secondary:hover { border-color: rgba(15, 23, 42, .28); background: #F8FAFC; color: #0F172A; transform: none; box-shadow: none; }

/* ── 1. Introduktion ──────────────────────────────────────────────────── */
.about-hero { padding: 84px 0 96px; }
.about-hero-copy { max-width: 900px; margin-inline: auto; text-align: center; }
.about-hero-copy .about-kicker { margin-bottom: 26px; }
.about-hero h1 {
  color: var(--about-ink);
  font-size: clamp(2.45rem, 4.7vw, 3.95rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.05;
}
.about-hero h1 span { display: block; }
.about-hero .about-lead { max-width: 720px; margin: 26px auto 0; text-wrap: pretty; }
.about-hero-figure { margin-top: 60px; }
.about-hero-media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 20px;
  background: #EFEDE8;
  box-shadow: var(--about-shadow);
}
.about-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 36%; }
.about-hero-caption { margin-top: 16px; color: var(--about-muted); font-size: 14px; line-height: 1.5; text-align: center; }

/* ── 2. Hvorfor vi bygger Synbar ──────────────────────────────────────── */
.about-why {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "head body"
    "media body";
  column-gap: clamp(48px, 7vw, 104px);
  row-gap: 40px;
  align-items: start;
}
.about-why-head { grid-area: head; }
.about-why-head .about-h2 { max-width: 420px; }
.about-why-body { grid-area: body; max-width: 600px; }
.about-why-media { grid-area: media; max-width: 460px; }
.about-why-media-frame {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 16px;
  background: #EFEDE8;
  box-shadow: var(--about-shadow);
}
.about-why-media-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.about-why-media figcaption { margin-top: 12px; color: var(--about-muted); font-size: 14px; line-height: 1.5; }

.about-facts {
  display: grid;
  margin-top: 36px;
  border-top: 1px solid var(--about-border);
}
.about-facts > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--about-border);
}
.about-facts dt { padding-top: 2px; color: var(--about-muted); font-size: 13px; font-weight: 600; letter-spacing: .02em; line-height: 1.6; text-transform: uppercase; }
.about-facts dd { color: var(--about-ink); font-size: 15px; font-weight: 500; line-height: 1.6; }
.about-facts dd a { color: var(--about-navy); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(27, 42, 74, .3); text-underline-offset: 3px; }
.about-facts dd a:hover { text-decoration-color: currentColor; }

/* ── 3. Menneskene bag Synbar ─────────────────────────────────────────── */
.about-people-head { max-width: 640px; }
.about-people-head .about-lead { margin-top: 18px; }
.about-people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 5vw, 72px);
  row-gap: 0;
  margin-top: 56px;
  padding: 0;
  list-style: none;
}
/* Subgrid holder navn, rolle, tekst og kontakt paa samme linje i begge
   moduler, selv naar teksterne er forskelligt lange. Browsere uden subgrid
   faar samme indhold i almindelige raekker. */
.about-person { display: grid; min-width: 0; grid-template-rows: auto auto auto 1fr auto; grid-row: span 5; }
@supports (grid-template-rows: subgrid) {
  .about-person { grid-template-rows: subgrid; }
}
.about-person-media {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 16px;
  background: #EFEDE8;
  box-shadow: var(--about-shadow);
}
.about-person-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.about-person-name { margin-top: 26px; color: var(--about-ink); font-size: 26px; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.about-person-role { display: block; margin-top: 6px; color: var(--about-navy); font-size: 15px; font-weight: 600; line-height: 1.4; }
.about-person-copy { max-width: 520px; margin-top: 16px; }
.about-person-copy p { font-size: 16px; line-height: 1.7; }
.about-person-copy p + p { margin-top: 12px; }
.about-person-meta { align-self: end; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--about-border); }
.about-person-contact { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.about-person-contact a { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; margin-block: -10px; color: var(--about-ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.about-person-contact a:hover { color: var(--about-navy); text-decoration: underline; text-underline-offset: 3px; }
.about-person-contact svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--about-navy); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── 4. Sådan arbejder vi ─────────────────────────────────────────────── */
.about-how-head { max-width: 640px; }
.about-how-head .about-lead { margin-top: 18px; }
.about-how {
  margin: 56px 0 0;
  padding: 0;
  border-top: 1px solid var(--about-border);
  list-style: none;
}
.about-how li {
  display: grid;
  grid-template-columns: 56px minmax(0, .95fr) minmax(0, 1.25fr);
  gap: 24px clamp(24px, 4vw, 56px);
  padding: 32px 0;
  border-bottom: 1px solid var(--about-border);
}
.about-how-number { color: var(--about-muted); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .04em; line-height: 1.7; }
.about-how h3 { color: var(--about-ink); font-size: 21px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.about-how p { max-width: 620px; color: var(--about-body); font-size: 16.5px; line-height: 1.7; }
.about-how p + p { margin-top: 12px; }
.about-how a { color: var(--about-navy); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(27, 42, 74, .3); text-underline-offset: 3px; }
.about-how a:hover { text-decoration-color: currentColor; }

.about-case {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 40px;
  align-items: center;
  margin-top: 48px;
  padding: 28px 32px;
  border: 1px solid var(--about-border);
  border-radius: 16px;
  background: var(--about-card);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 6px 20px rgba(15, 23, 42, .04);
}
.about-case-label { display: block; margin-bottom: 10px; color: var(--about-muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; line-height: 1.4; text-transform: uppercase; }
.about-case-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.about-case-value strong { color: var(--about-ink); font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.03em; line-height: 1; }
.about-case-value span { color: var(--about-ink); font-size: 16px; font-weight: 600; line-height: 1.4; }
.about-case-scope { margin-top: 10px; max-width: 640px; color: var(--about-muted); font-size: 14px; line-height: 1.6; }
.about-case-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid rgba(15, 23, 42, .14);
  border-radius: 10px;
  background: var(--about-card);
  color: var(--about-ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .18s ease, background-color .18s ease;
}
.about-case-link:hover { border-color: rgba(27, 42, 74, .4); background: var(--about-bg); }
.about-case-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── 5. Afslutning ────────────────────────────────────────────────────── */
.about-cta { padding-block: 104px; }
.about-cta-inner { max-width: 640px; margin-inline: auto; text-align: center; }
.about-cta-inner .about-kicker { margin-bottom: 24px; }
.about-cta-inner .about-lead { margin-top: 20px; }
.about-cta-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 32px; }
.about-cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.about-cta-buttons .about-button { min-width: 166px; }
.about-cta-alt { color: var(--about-muted); font-size: 14.5px; line-height: 1.6; }
.about-cta-alt a { color: var(--about-navy); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(27, 42, 74, .3); text-underline-offset: 3px; }
.about-cta-alt a:hover { text-decoration-color: currentColor; }

/* ── Diskret reveal (indholdet er synligt uden JS og ved reduceret motion) ── */
html.js .about-reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--about-ease), transform .55s var(--about-ease); }
html.js .about-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js .about-reveal { opacity: 1; transform: none; transition: none; }
  .about-button,
  .about-case-link { transition: none; }
  .about-button:hover { transform: none; }
}

/* ── Responsivt ───────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .about-section { padding-block: 80px; }
  .about-why {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "body"
      "media";
    row-gap: 36px;
  }
  .about-why-body { max-width: 680px; }
  .about-why-media { max-width: 560px; }
  .about-how li { grid-template-columns: 48px minmax(0, 1fr); }
  .about-how li > p,
  .about-how-text { grid-column: 2; }
  .about-case { grid-template-columns: minmax(0, 1fr); }
  .about-case-link { justify-self: start; }
}

@media (max-width: 767px) {
  .about-shell { padding-inline: 20px; }
  .about-section { padding-block: 64px; }
  .about-hero { padding: 56px 0 64px; }
  .about-hero h1 span { display: inline; }
  .about-hero .about-lead { font-size: 17px; }
  .about-hero-figure { margin-top: 40px; }
  .about-hero-media { aspect-ratio: 1 / 1; border-radius: 16px; }
  .about-hero-media img { object-position: 50% 32%; }
  .about-hero-caption { text-align: left; }
  .about-lead { font-size: 17px; }
  .about-copy p { font-size: 16px; }
  .about-people { grid-template-columns: minmax(0, 1fr); row-gap: 56px; margin-top: 40px; }
  .about-person { grid-template-rows: auto auto auto 1fr auto; }
  .about-person-name { font-size: 24px; }
  .about-how { margin-top: 40px; }
  .about-how li { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 26px 0; }
  .about-how li > p,
  .about-how-text { grid-column: auto; }
  .about-how-number { line-height: 1.2; }
  .about-how h3 { font-size: 19px; }
  .about-how p { font-size: 16px; }
  .about-case { padding: 22px 20px; }
  .about-facts > div { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .about-cta { padding-block: 72px; }
  .about-cta-buttons { width: 100%; flex-direction: column; }
  .about-cta-buttons .about-button { width: 100%; }
}

@media (max-width: 400px) {
  .about-hero h1 { font-size: 2.2rem; }
  .about-h2 { font-size: 1.85rem; }
}
