/* Company story only; shared navigation/footer retain their styles. */
.coherta-story-page { --cs-ink: #172a48; --cs-blue: #3f6df6; --cs-muted: #526179; }
.coherta-story { background: #fff; color: var(--cs-ink); }
.coherta-story *, .coherta-story *::before, .coherta-story *::after { box-sizing: border-box; }
.coherta-story .cs-wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.coherta-story h1, .coherta-story h2, .coherta-story h3, .coherta-story p, .coherta-story figure, .coherta-story dl, .coherta-story dd { margin: 0; }
.coherta-story h1, .coherta-story h2, .coherta-story h3 { color: var(--cs-ink); text-wrap: balance; }
.coherta-story h2 { font-size: clamp(2.25rem, 4.1vw, 3.75rem); line-height: 1.08; letter-spacing: -.055em; font-weight: 650; }
.coherta-story a:focus-visible, .coherta-story button:focus-visible, .coherta-story [tabindex]:focus-visible { outline: 3px solid var(--cs-blue); outline-offset: 6px; }
.coherta-story .cs-eyebrow { font-size: .875rem; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; font-weight: 650; color: #3559b3; margin-bottom: 24px; }
.coherta-story .cs-hero { padding-top: 88px; text-align: center; }
.coherta-story .cs-hero h1 { max-width: 1150px; margin-inline: auto; font-size: clamp(2.5rem, 5.5vw, 5rem); line-height: 1.06; letter-spacing: -.06em; font-weight: 650; }
.coherta-story .cs-hero h1 span { color: var(--cs-blue); }
.coherta-story .cs-hero-lead { max-width: 690px; margin: 28px auto 22px; color: var(--cs-muted); font-size: 1.125rem; line-height: 1.75; text-wrap: pretty; }
.coherta-story .cs-text-link { display: inline-block; font-size: 1rem; text-decoration: underline; text-underline-offset: 5px; font-weight: 600; }
.coherta-story .cs-portrait-strip { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .85fr); grid-template-areas: 'commercial coo ceo gm product'; gap: 16px; margin-top: 58px; align-items: center; }
.coherta-story .cs-portrait { position: relative; overflow: hidden; border-radius: 8px; height: 304px; text-align: left; background: #edf1fc; }
.coherta-story .cs-portrait-role-ceo { grid-area: ceo; height: 380px; }
.coherta-story .cs-portrait-role-coo { grid-area: coo; height: 344px; }
.coherta-story .cs-portrait-role-gm { grid-area: gm; height: 328px; }
.coherta-story .cs-portrait-role-commercial { grid-area: commercial; }
.coherta-story .cs-portrait-role-product { grid-area: product; }
.coherta-story .cs-portrait img, .coherta-story .cs-person-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.coherta-story .cs-portrait-mathias img, .coherta-story .cs-person-mathias img { object-position: 50% 35%; }
.coherta-story .cs-portrait-valdemar img, .coherta-story .cs-person-valdemar img { object-position: 64% 42%; }
.coherta-story .cs-portrait figcaption { position: absolute; inset: auto 0 0; padding: 48px 20px 20px; color: #fff; background: linear-gradient(transparent, rgba(7, 18, 38, .8)); font-size: 1rem; font-weight: 600; }
.coherta-story .cs-portrait figcaption span { display: block; margin-top: 5px; font-size: .875rem; line-height: 1.4; font-weight: 400; text-wrap: pretty; }
.coherta-story .cs-photo-caption { color: var(--cs-muted); margin-top: 20px; font-size: .875rem; }
.coherta-story .cs-stats { padding: 65px 0 70px; }
.coherta-story .cs-stats dl { display: grid; grid-template-columns: repeat(3, 1fr); }
.coherta-story .cs-stats dl > div { display: flex; flex-direction: column-reverse; text-align: center; gap: 10px; padding: 16px; }
.coherta-story .cs-stats dl > div + div { border-left: 1px solid #dfe5f0; }
.coherta-story .cs-stats dt { font-size: 1rem; color: var(--cs-muted); }
.coherta-story .cs-stats dd { font-size: clamp(3rem, 5.8vw, 5.25rem); letter-spacing: -.065em; line-height: 1; font-weight: 600; }
.coherta-story .cs-stats dd span { color: var(--cs-blue); font-weight: 400; }
.coherta-story .cs-stats > p { text-align: center; margin-top: 28px; color: var(--cs-muted); font-size: .875rem; }
.coherta-story .cs-history { background: #f3f6fc; padding: 88px 0 45px; scroll-margin-top: 88px; }
.coherta-story .cs-section-header { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: end; }
.coherta-story .cs-section-header > p, .coherta-story .cs-history-intro > p { font-size: 1.0625rem; line-height: 1.8; max-width: 470px; color: var(--cs-muted); }
.coherta-story .cs-timeline-controls { display: flex; gap: 10px; margin-top: 23px; }
.coherta-story .cs-timeline-controls[hidden] { display: none; }
.coherta-story .cs-timeline-controls button { border: 1px solid #b9c4d9; border-radius: 5px; background: #fff; color: var(--cs-ink); padding: 10px 18px; font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; min-height: 44px; }
.coherta-story .cs-timeline-controls button:hover:not(:disabled) { background: #e7edff; border-color: var(--cs-blue); }
.coherta-story .cs-timeline-controls button:disabled { opacity: .4; cursor: default; }
.coherta-story .cs-timeline { display: flex; gap: 24px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 48px max(48px, calc((100% - 1240px) / 2)) 26px; margin: 0; list-style: none; scrollbar-color: #9eafda transparent; scrollbar-width: thin; }
.coherta-story .cs-milestone { flex: 0 0 276px; scroll-snap-align: start; scroll-margin-inline-start: max(48px, calc((100vw - 1240px) / 2)); }
.coherta-story .cs-milestone-art { height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; border: 1px solid #d8e1f4; border-radius: 7px; background: #e7edfb; color: #3559b3; }
.coherta-story .cs-milestone-art svg { width: 76px; height: 76px; }
.coherta-story .cs-milestone-art span { font-size: .875rem; text-align: center; font-weight: 600; }
.coherta-story .cs-milestone:nth-child(3n + 2) .cs-milestone-art { background: #e7f2ef; border-color: #d3e6df; color: #21634f; }
.coherta-story .cs-milestone:nth-child(3n) .cs-milestone-art { background: #ede9f7; border-color: #e0d9ef; color: #6a4e9e; }
.coherta-story .cs-milestone:last-child .cs-milestone-art { color: #fff; background: var(--cs-blue); border-color: var(--cs-blue); }
.coherta-story .cs-milestone-copy { position: relative; margin-top: 28px; border-top: 1px solid #c5d0e7; padding-top: 23px; }
.coherta-story .cs-milestone-copy::before { content: ''; position: absolute; width: 9px; height: 9px; border-radius: 50%; left: 0; top: -5px; background: var(--cs-blue); }
.coherta-story .cs-milestone time { font-size: .875rem; color: #526179; display: block; }
.coherta-story .cs-milestone h3 { font-size: 1.25rem; line-height: 1.35; letter-spacing: -.025em; font-weight: 600; margin-top: 12px; text-wrap: pretty; }
.coherta-story .cs-milestone p { margin-top: 12px; font-size: 1rem; line-height: 1.7; color: var(--cs-muted); }
.coherta-story .cs-timeline-hint { margin-top: 18px; font-size: .875rem; color: var(--cs-muted); }
.coherta-story .cs-mission { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; padding-block: 112px; }
.coherta-story .cs-mission h2 span { color: var(--cs-blue); }
.coherta-story .cs-mission-copy { padding-top: 44px; }
.coherta-story .cs-mission-copy p { font-size: 1.0625rem; line-height: 1.85; color: var(--cs-muted); }
.coherta-story .cs-mission-copy p + p { margin-top: 22px; }
.coherta-story .cs-team-section { background: #f6f7fa; padding: 88px 0 94px; }
.coherta-story .cs-team-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.coherta-story .cs-person-photo { aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: #e4e9f2; }
.coherta-story .cs-person-market { color: #526179; font-size: .875rem; margin-top: 10px; }
.coherta-story .cs-person h3 { font-size: 1.125rem; line-height: 1.4; margin-top: 22px; letter-spacing: -.025em; font-weight: 600; }
.coherta-story .cs-person-role { color: #3559b3; font-size: .9375rem; line-height: 1.5; font-weight: 600; margin-top: 7px; min-height: 4.5em; text-wrap: pretty; }
.coherta-story .cs-person-link { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; margin-top: 9px; font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }
.coherta-story .cs-linkedin-mark { width: 18px; height: 18px; border-radius: 2px; background: #234577; color: white; font-family: Arial, sans-serif; font-size: 13px; font-weight: 700; text-align: center; line-height: 19px; }
.coherta-story .cs-values { padding-block: 104px; }
.coherta-story .cs-values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 58px; }
.coherta-story .cs-values-grid article { border-top: 1px solid #cbd6eb; padding-top: 25px; }
.coherta-story .cs-value-icon { color: var(--cs-blue); margin-bottom: 27px; }
.coherta-story .cs-value-icon svg { width: 45px; height: 45px; }
.coherta-story .cs-values-grid h3 { font-size: 1.375rem; line-height: 1.3; letter-spacing: -.035em; font-weight: 600; text-wrap: pretty; }
.coherta-story .cs-values-grid p { font-size: 1rem; line-height: 1.8; color: var(--cs-muted); margin-top: 17px; }
.coherta-story .cs-cta { padding-block: 84px 92px; background: #244ed0; text-align: center; color: #fff; }
.coherta-story .cs-cta .cs-eyebrow, .coherta-story .cs-cta h2 { color: #fff; }
.coherta-story .cs-cta h2 { font-size: clamp(2.75rem, 5.5vw, 5rem); }
.coherta-story .cs-cta .cs-wrap > p:not(.cs-eyebrow) { max-width: 520px; margin: 26px auto 30px; font-size: 1.0625rem; line-height: 1.8; color: #e5ecff; }
.coherta-story .cs-button { display: inline-flex; min-height: 50px; padding: 15px 25px; align-items: center; justify-content: center; border-radius: 5px; color: #244ed0; background: #fff; font-size: 1rem; font-weight: 650; }
.coherta-story .cs-button:hover { background: #e7edff; }
.coherta-story .cs-cta a:focus-visible { outline-color: #fff; }
@media (max-width: 1000px) {
  .coherta-story .cs-wrap { width: calc(100% - 64px); }
  .coherta-story .cs-hero { padding-top: 64px; }
  .coherta-story .cs-portrait-strip { gap: 10px; }
  .coherta-story .cs-portrait { height: 230px; }
  .coherta-story .cs-portrait-role-coo { height: 270px; }
  .coherta-story .cs-portrait-role-gm { height: 250px; }
  .coherta-story .cs-portrait-role-ceo { height: 310px; }
  .coherta-story .cs-portrait figcaption { padding: 40px 12px 14px; }
  .coherta-story .cs-section-header, .coherta-story .cs-mission { gap: 40px; }
  .coherta-story .cs-team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
  .coherta-story .cs-values-grid { gap: 24px; }
  .coherta-story .cs-timeline { padding-inline: 32px; }
  .coherta-story .cs-milestone { scroll-margin-inline-start: 32px; }
}
@media (max-width: 680px) {
  .coherta-story .cs-wrap { width: calc(100% - 40px); }
  .coherta-story .cs-hero { padding-top: 48px; }
  .coherta-story .cs-eyebrow { margin-bottom: 20px; font-size: .8125rem; }
  .coherta-story .cs-hero h1 { font-size: clamp(2.25rem, 8.5vw, 3.5rem); letter-spacing: -.055em; }
  .coherta-story .cs-hero-lead { margin-top: 24px; font-size: 1rem; line-height: 1.75; }
  .coherta-story .cs-portrait-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: 'ceo ceo' 'coo gm' 'commercial product'; gap: 14px; margin-top: 36px; }
  .coherta-story .cs-portrait { height: 180px; }
  .coherta-story .cs-portrait-role-ceo { height: 250px; width: min(100%, 240px); justify-self: center; }
  .coherta-story .cs-portrait-role-coo { height: 200px; }
  .coherta-story .cs-portrait-role-gm { height: 190px; }
  .coherta-story .cs-portrait figcaption { padding: 28px 8px 10px; font-size: .875rem; }
  .coherta-story .cs-portrait figcaption span { font-size: .8125rem; margin-top: 3px; }
  .coherta-story .cs-photo-caption { font-size: .8125rem; }
  .coherta-story .cs-stats { padding-block: 40px 48px; }
  .coherta-story .cs-stats dl > div { padding: 10px 5px; gap: 10px; }
  .coherta-story .cs-stats dd { font-size: 2.75rem; }
  .coherta-story .cs-stats dt { font-size: .875rem; }
  .coherta-story .cs-stats > p { font-size: .8125rem; }
  .coherta-story .cs-section-header, .coherta-story .cs-mission { grid-template-columns: 1fr; gap: 24px; }
  .coherta-story .cs-history { padding-block: 56px 32px; }
  .coherta-story .cs-section-header > p, .coherta-story .cs-history-intro > p { font-size: 1rem; }
  .coherta-story .cs-timeline { padding: 30px 20px 22px; gap: 18px; }
  .coherta-story .cs-milestone { flex-basis: min(270px, calc(100vw - 72px)); scroll-margin-inline-start: 20px; }
  .coherta-story .cs-timeline-hint { font-size: .8125rem; }
  .coherta-story .cs-mission { padding-block: 64px; }
  .coherta-story .cs-mission-copy { padding-top: 0; }
  .coherta-story .cs-mission-copy p { font-size: 1rem; }
  .coherta-story .cs-team-section { padding-block: 56px; }
  .coherta-story .cs-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; margin-top: 32px; }
  .coherta-story .cs-person h3 { font-size: 1.0625rem; margin-top: 15px; }
  .coherta-story .cs-values { padding-block: 64px; }
  .coherta-story .cs-values-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
  .coherta-story .cs-value-icon { margin-bottom: 18px; }
  .coherta-story .cs-cta { padding-block: 60px; }
}
@media (prefers-reduced-motion: reduce) { .coherta-story * { scroll-behavior: auto !important; } }
