/*
Theme Name: IMPAQ BraveMind
Theme URI: https://bravemind.dk/
Author: Snilld
Author URI: https://snilld.dk/
Description: Premium IMPAQ BraveMind WordPress theme for Danish leadership assessment, survey, and report experiences.
Version: 1.4.1
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: bravemind-impaq
*/

:root {
  --bm-ink: #243552;
  --bm-blue: #415985;
  --bm-soft-blue: #a8cdde;
  --bm-green: #8dc297;
  --bm-red: #d49e92;
  --bm-pale-green: #c4e4ca;
  --bm-line: #dde6f3;
  --bm-paper: #ffffff;
  --bm-wash: #f5f6f8;
  --bm-panel: #f3f3f3;
  --bm-ice: #f7f9fc;
  --bm-text-muted: rgba(36, 53, 82, 0.72);
  --bm-shadow-paper: 0 28px 86px rgba(36, 53, 82, 0.16);
  --bm-shadow-soft: 0 18px 52px rgba(36, 53, 82, 0.10);
  --bm-radius: 8px;
  --bm-serif: Merriweather, Georgia, "Times New Roman", serif;
  --bm-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bm-paper);
  color: var(--bm-ink);
  font-family: var(--bm-sans);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--bm-blue);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--bm-ink);
}

.screen-reader-text,
.bm-skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bm-skip-link:focus {
  z-index: 1000;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: var(--bm-blue);
  color: var(--bm-paper);
  text-decoration: none;
}

.bm-container {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

.bm-site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(221, 230, 243, 0.86);
  backdrop-filter: blur(18px);
}

.bm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 82px;
}

.bm-brand {
  display: inline-flex;
  align-items: center;
  max-width: 292px;
  color: var(--bm-blue);
  text-decoration: none;
}

.bm-brand img {
  display: block;
  width: min(292px, 54vw);
}

.bm-site-title-fallback {
  color: var(--bm-blue);
  font-family: var(--bm-serif);
  font-size: 32px;
  line-height: 1;
}

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

.bm-nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bm-nav-list a {
  color: var(--bm-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.bm-nav-list a:hover,
.bm-nav-list .current-menu-item > a,
.bm-nav-list .current_page_item > a {
  color: var(--bm-blue);
}

.bm-nav-list .bm-nav-cta a,
.bm-nav-list a[href*="/survey/"] {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  background: var(--bm-blue);
  border: 1px solid var(--bm-blue);
  border-radius: var(--bm-radius);
  color: var(--bm-paper);
}

.bm-nav-list .bm-nav-cta a:hover,
.bm-nav-list a[href*="/survey/"]:hover {
  background: var(--bm-ink);
  border-color: var(--bm-ink);
  color: var(--bm-paper);
}

.bm-mobile-menu {
  display: none;
}

.bm-mobile-menu summary {
  cursor: pointer;
  list-style: none;
  color: var(--bm-blue);
  font-weight: 800;
}

.bm-mobile-menu summary::-webkit-details-marker {
  display: none;
}

.bm-hero {
  position: relative;
  overflow: hidden;
  min-height: min(calc(100vh - 82px), 860px);
  padding: clamp(58px, 7vw, 96px) 0 clamp(54px, 7vw, 86px);
  background:
    linear-gradient(135deg, rgba(245, 246, 248, 0.96) 0%, rgba(255, 255, 255, 0.98) 52%, rgba(237, 241, 247, 0.94) 100%);
}

.bm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.62fr);
  align-items: center;
  gap: clamp(36px, 5vw, 70px);
}

.bm-kicker {
  margin: 0 0 18px;
  color: var(--bm-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bm-hero h1 {
  max-width: 690px;
  margin: 0;
  color: var(--bm-blue);
  font-family: var(--bm-serif);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.bm-hero-lede {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--bm-text-muted);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.55;
}

.bm-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.bm-button,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--bm-blue);
  border-radius: var(--bm-radius);
  background: var(--bm-blue);
  color: var(--bm-paper);
  font-family: var(--bm-sans);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
}

.bm-button:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
  background: var(--bm-ink);
  border-color: var(--bm-ink);
  color: var(--bm-paper);
}

.bm-button-secondary {
  background: transparent;
  color: var(--bm-blue);
}

.bm-button-secondary:hover {
  background: rgba(65, 89, 133, 0.07);
  border-color: var(--bm-blue);
  color: var(--bm-blue);
}

.bm-report-preview {
  position: relative;
  width: min(100%, 400px);
  margin-inline: auto;
}

.bm-report-preview::before {
  position: absolute;
  inset: auto -34px 12% auto;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(65, 89, 133, 0.16);
  border-radius: 50%;
  content: "";
}

.bm-report-sheet {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  background: var(--bm-paper);
  box-shadow: var(--bm-shadow-paper);
}

.bm-report-sheet-top {
  position: relative;
  z-index: 2;
  padding: 56px 46px 34px;
}

.bm-report-logo {
  width: min(100%, 260px);
}

.bm-report-rule {
  height: 1px;
  margin: 28px 0 26px;
  background: var(--bm-line);
}

.bm-report-date {
  margin: 0 0 8px;
  color: var(--bm-blue);
  font-family: var(--bm-serif);
  font-size: 12px;
  font-weight: 700;
}

.bm-report-name {
  margin: 0;
  color: var(--bm-blue);
  font-size: 27px;
  font-weight: 800;
}

.bm-report-mid {
  position: relative;
  z-index: 2;
  min-height: 164px;
  padding: 34px 46px;
  background: var(--bm-panel);
  color: var(--bm-blue);
  font-size: 14px;
  line-height: 1.55;
}

.bm-report-mid strong {
  font-weight: 800;
}

.bm-report-band {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 150px;
  background: var(--bm-blue);
}

.bm-report-cover {
  position: absolute;
  z-index: 1;
  right: -300px;
  bottom: -124px;
  width: 540px;
  max-width: none;
  opacity: 0.38;
  pointer-events: none;
}

.bm-section {
  padding: clamp(62px, 8vw, 112px) 0;
}

.bm-section-soft {
  background: var(--bm-wash);
}

.bm-section-blue {
  background: var(--bm-blue);
  color: var(--bm-paper);
}

.bm-section-header {
  max-width: 760px;
  margin-bottom: 42px;
}

.bm-section-header h2,
.bm-content-shell h1,
.bm-content-shell h2,
.bm-entry-title {
  margin: 0;
  color: var(--bm-blue);
  font-family: var(--bm-serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.bm-section-blue .bm-section-header h2,
.bm-section-blue .bm-section-header p {
  color: var(--bm-paper);
}

.bm-section-header p {
  margin: 18px 0 0;
  color: var(--bm-text-muted);
  font-size: 19px;
}

.bm-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.bm-feature {
  min-height: 260px;
  padding: 30px;
  background: var(--bm-paper);
  border: 1px solid rgba(221, 230, 243, 0.95);
  border-radius: var(--bm-radius);
}

.bm-feature img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.bm-feature h3 {
  margin: 28px 0 10px;
  color: var(--bm-blue);
  font-size: 23px;
  line-height: 1.2;
}

.bm-feature p {
  margin: 0;
  color: var(--bm-text-muted);
}

.bm-compass-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.bm-method-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bm-method-list li {
  padding-top: 18px;
  border-top: 1px solid rgba(221, 230, 243, 0.88);
}

.bm-method-list strong {
  display: block;
  color: var(--bm-blue);
  font-size: 19px;
}

.bm-method-list span {
  display: block;
  margin-top: 4px;
  color: var(--bm-text-muted);
}

.bm-compass-visual {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  background: var(--bm-paper);
  border: 1px solid rgba(221, 230, 243, 0.92);
  border-radius: var(--bm-radius);
  box-shadow: var(--bm-shadow-soft);
}

.bm-compass-visual img {
  position: absolute;
  right: -330px;
  bottom: -160px;
  width: 760px;
  max-width: none;
}

.bm-compass-note {
  position: relative;
  z-index: 1;
  max-width: 340px;
  padding: 42px;
}

.bm-compass-note h3 {
  margin: 0 0 12px;
  color: var(--bm-blue);
  font-size: 26px;
  line-height: 1.2;
}

.bm-compass-note p {
  margin: 0;
  color: var(--bm-text-muted);
}

.bm-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(221, 230, 243, 0.92);
  border-radius: var(--bm-radius);
  background: var(--bm-line);
}

.bm-proof {
  min-height: 188px;
  padding: 28px;
  background: var(--bm-paper);
}

.bm-proof-number {
  display: block;
  color: var(--bm-blue);
  font-family: var(--bm-serif);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.bm-proof p {
  margin: 16px 0 0;
  color: var(--bm-text-muted);
}

.bm-cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
}

.bm-cta-band h2 {
  margin: 0;
  color: var(--bm-paper);
  font-family: var(--bm-serif);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
}

.bm-cta-band p {
  max-width: 620px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.bm-section-blue .bm-button {
  background: var(--bm-paper);
  border-color: var(--bm-paper);
  color: var(--bm-blue);
}

.bm-section-blue .bm-button:hover {
  background: var(--bm-ice);
  color: var(--bm-ink);
}

.bm-content-shell,
.bm-index-shell {
  width: min(100% - 40px, 920px);
  margin: 0 auto;
  padding: clamp(54px, 8vw, 98px) 0;
}

.bm-content-shell .entry-content {
  margin-top: 30px;
}

.bm-content-shell .entry-content > * + * {
  margin-top: 1.2em;
}

.bm-content-shell img {
  border-radius: var(--bm-radius);
}

.bm-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: start;
}

.bm-contact-intro p {
  color: var(--bm-text-muted);
  font-size: 18px;
  line-height: 1.7;
}

.bm-contact-form {
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(65, 89, 133, 0.18);
  border-radius: var(--bm-radius);
  background: var(--bm-paper);
  box-shadow: 0 18px 52px rgba(36, 53, 82, 0.08);
}

.bm-contact-field {
  margin: 0 0 22px;
}

.bm-contact-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--bm-ink);
  font-weight: 700;
}

.bm-contact-field input,
.bm-contact-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  font-size: 16px;
  line-height: 1.5;
}

.bm-contact-field textarea {
  min-height: 180px;
  resize: vertical;
}

.bm-contact-help,
.bm-contact-privacy {
  color: var(--bm-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.bm-contact-privacy a {
  color: var(--bm-blue);
  font-weight: 700;
}

.bm-contact-status {
  margin: 0 0 26px;
  padding: 16px 18px;
  border-left: 4px solid var(--bm-blue);
  background: var(--bm-ice);
  color: var(--bm-ink);
}

.bm-contact-status.is-error {
  border-left-color: var(--bm-red);
}

.bm-contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.bm-article-list {
  display: grid;
  gap: 22px;
  margin-top: 36px;
}

.bm-article-card {
  padding: 28px;
  border: 1px solid rgba(221, 230, 243, 0.92);
  border-radius: var(--bm-radius);
  background: var(--bm-paper);
}

.bm-article-card h2 {
  margin: 0;
  color: var(--bm-blue);
  font-size: 28px;
}

.bm-article-card h2 a {
  color: inherit;
  text-decoration: none;
}

.bm-article-card .entry-summary,
.bm-article-card .entry-meta {
  color: var(--bm-text-muted);
}

.bm-site-footer {
  background: var(--bm-ink);
  color: rgba(255, 255, 255, 0.72);
}

.bm-footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1fr) auto;
  gap: 40px;
  align-items: start;
  padding: 46px 0;
}

.bm-footer-logo img {
  width: 230px;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

.bm-footer-copy {
  margin: 16px 0 0;
  max-width: 340px;
}

.bm-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bm-footer-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

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

.bm-footer-meta {
  margin: 0;
  text-align: right;
  font-size: 14px;
}

input,
textarea,
select {
  max-width: 100%;
  border: 1px solid rgba(65, 89, 133, 0.32);
  border-radius: 4px;
  color: var(--bm-ink);
  font-family: var(--bm-sans);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(65, 89, 133, 0.22);
  outline-offset: 2px;
  border-color: var(--bm-blue);
}

@media (max-width: 940px) {
  .bm-contact-layout {
    grid-template-columns: 1fr;
  }

  .bm-desktop-nav {
    display: none;
  }

  .bm-mobile-menu {
    display: block;
  }

  .bm-mobile-menu[open] {
    position: absolute;
    right: 20px;
    left: 20px;
    top: 72px;
    padding: 18px;
    background: var(--bm-paper);
    border: 1px solid var(--bm-line);
    border-radius: var(--bm-radius);
    box-shadow: var(--bm-shadow-soft);
  }

  .bm-mobile-menu .bm-nav-list {
    display: grid;
    align-items: stretch;
    gap: 12px;
    margin-top: 18px;
  }

  .bm-hero-grid,
  .bm-compass-panel,
  .bm-cta-band,
  .bm-footer-inner {
    grid-template-columns: 1fr;
  }

  .bm-hero {
    min-height: auto;
  }

  .bm-report-preview {
    width: min(100%, 380px);
  }

  .bm-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bm-footer-meta {
    text-align: left;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .bm-container,
  .bm-content-shell,
  .bm-index-shell {
    width: min(100% - 28px, 100%);
  }

  .bm-header-inner {
    min-height: 74px;
  }

  .bm-feature-grid,
  .bm-proof-grid {
    grid-template-columns: 1fr;
  }

  .bm-report-sheet {
    min-height: 520px;
  }

  .bm-report-sheet-top,
  .bm-report-mid {
    padding-right: 28px;
    padding-left: 28px;
  }

  .bm-compass-visual {
    min-height: 520px;
  }

  .bm-compass-note {
    padding: 30px;
  }
}


/* Hero report photography */
.bm-hero-photo-wrap {
    width: min(100%, 620px);
}

.bm-hero-photo-wrap::before {
    display: none;
}

.bm-hero-photo {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--bm-radius);
    box-shadow: var(--bm-shadow-paper);
}


/* Method profile visual */
.bm-compass-visual .bm-method-profile {
    position: absolute;
    inset: 18px;
    width: calc(100% - 36px);
    height: calc(100% - 36px);
    max-width: none;
    object-fit: contain;
}


/* Hero image entrance */
.bm-hero-photo {
    animation: bm-hero-photo-in 800ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}

@keyframes bm-hero-photo-in {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .bm-hero-photo {
        animation: none;
    }
}


/* One-time section reveals */
.bm-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
    .bm-reveal,
    .bm-reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* Feature icon line drawing */
.bm-feature .bm-draw-icon {
    display: block;
    width: 52px;
    height: 52px;
    overflow: visible;
    transform-origin: center;
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), filter 260ms ease;
}

.bm-draw-icon > path,
.bm-draw-icon > circle,
.bm-draw-icon > polygon,
.bm-draw-icon > polyline,
.bm-draw-icon > rect,
.bm-draw-icon > line {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
}

.bm-draw-icon.is-visible > path,
.bm-draw-icon.is-visible > circle,
.bm-draw-icon.is-visible > polygon,
.bm-draw-icon.is-visible > polyline,
.bm-draw-icon.is-visible > rect,
.bm-draw-icon.is-visible > line {
    animation: bm-icon-draw 4000ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.bm-draw-icon.is-visible > *:nth-child(2n) {
    animation-delay: 180ms;
}

.bm-draw-icon.is-visible > *:nth-child(3n) {
    animation-delay: 360ms;
}

@keyframes bm-icon-draw {
    to {
        stroke-dashoffset: 0;
    }
}

.bm-feature:hover .bm-draw-icon.is-visible {
    transform: translateY(-5px) scale(1.06);
    filter: drop-shadow(0 8px 12px rgba(36, 53, 82, 0.14));
}

@media (prefers-reduced-motion: reduce) {
    .bm-draw-icon > path,
    .bm-draw-icon > circle,
    .bm-draw-icon > polygon,
    .bm-draw-icon > polyline,
    .bm-draw-icon > rect,
    .bm-draw-icon > line {
        stroke-dashoffset: 0;
        animation: none;
    }

    .bm-feature:hover .bm-draw-icon.is-visible {
        transform: none;
        filter: none;
    }
}


/* Bravemind design refinement 1.1 */
:root {
  --bm-line-strong: rgba(65, 89, 133, 0.22);
  --bm-focus-ring: 0 0 0 4px rgba(168, 205, 222, 0.46);
  --bm-shadow-lift: 0 24px 64px rgba(36, 53, 82, 0.13);
  --bm-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.bm-main {
  flex: 1 0 auto;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--bm-blue);
  outline-offset: 4px;
  box-shadow: var(--bm-focus-ring);
}

.bm-site-header {
  box-shadow: 0 1px 0 rgba(36, 53, 82, 0.04);
}

.bm-header-inner {
  min-height: 88px;
}

.bm-brand {
  transition: opacity 220ms ease, transform 220ms var(--bm-ease-out);
}

.bm-brand:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.bm-nav-list {
  gap: 30px;
}

.bm-nav-list > li:not(.bm-nav-cta) > a {
  position: relative;
  padding-block: 10px;
}

.bm-nav-list > li:not(.bm-nav-cta) > a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--bm-ease-out);
}

.bm-nav-list > li:not(.bm-nav-cta) > a:hover::after,
.bm-nav-list > li.current-menu-item > a::after,
.bm-nav-list > li.current_page_item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.bm-hero .bm-container {
  width: min(100% - 64px, 1320px);
}

.bm-hero-grid {
  grid-template-columns: minmax(0, 0.98fr) minmax(440px, 0.78fr);
  gap: clamp(48px, 5vw, 78px);
}

.bm-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.045em;
}

.bm-kicker::before {
  width: 28px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--bm-soft-blue);
  content: "";
}

.bm-hero-lede {
  max-width: 620px;
}

.bm-button,
.wp-block-button__link,
button,
input[type="submit"] {
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 220ms var(--bm-ease-out), box-shadow 220ms ease;
}

.bm-button:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(36, 53, 82, 0.16);
}

.bm-hero-photo {
  border: 1px solid rgba(65, 89, 133, 0.12);
  border-radius: 12px;
  box-shadow: 0 34px 86px rgba(36, 53, 82, 0.17), 0 8px 24px rgba(36, 53, 82, 0.08);
}

.bm-section:not(.bm-section-blue) + .bm-section:not(.bm-section-blue) {
  border-top: 1px solid rgba(65, 89, 133, 0.08);
}

.bm-section-header {
  max-width: 800px;
  margin-bottom: clamp(38px, 4vw, 52px);
}

.bm-section-header h2,
.bm-cta-band h2 {
  text-wrap: balance;
}

.bm-feature {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 34px;
  border-color: rgba(65, 89, 133, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  transition: border-color 240ms ease, transform 280ms var(--bm-ease-out), box-shadow 280ms ease;
}

.bm-feature::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--bm-soft-blue);
  content: "";
}

.bm-feature:nth-child(2)::before {
  background: var(--bm-blue);
}

.bm-feature:nth-child(3)::before {
  background: var(--bm-green);
}

.bm-feature:hover {
  border-color: var(--bm-line-strong);
  box-shadow: var(--bm-shadow-lift);
  transform: translateY(-5px);
}

.bm-feature h3 {
  margin-top: 24px;
}

.bm-method-list {
  counter-reset: bm-method;
}

.bm-method-list li {
  position: relative;
  min-height: 82px;
  padding: 22px 0 22px 60px;
  counter-increment: bm-method;
}

.bm-method-list li::before {
  position: absolute;
  top: 19px;
  left: 0;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(65, 89, 133, 0.22);
  border-radius: 50%;
  color: var(--bm-blue);
  content: counter(bm-method, decimal-leading-zero);
  font-family: var(--bm-serif);
  font-size: 13px;
  font-weight: 700;
}

.bm-compass-visual {
  border-color: rgba(65, 89, 133, 0.13);
  border-radius: 14px;
  background: radial-gradient(circle at 50% 48%, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 22px 58px rgba(36, 53, 82, 0.11);
}

.bm-proof-grid {
  gap: 14px;
  overflow: visible;
  border: 0;
  background: transparent;
}

.bm-proof {
  position: relative;
  overflow: hidden;
  min-height: 206px;
  border: 1px solid rgba(65, 89, 133, 0.13);
  border-radius: var(--bm-radius);
  transition: border-color 220ms ease, transform 260ms var(--bm-ease-out), box-shadow 260ms ease;
}

.bm-proof::after {
  position: absolute;
  right: -22px;
  bottom: -24px;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(168, 205, 222, 0.52);
  border-radius: 50%;
  content: "";
}

.bm-proof:hover {
  border-color: var(--bm-line-strong);
  box-shadow: 0 16px 40px rgba(36, 53, 82, 0.09);
  transform: translateY(-3px);
}

.bm-proof-number {
  color: rgba(65, 89, 133, 0.82);
}

.bm-section-blue {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bm-cta-band {
  position: relative;
}

.bm-cta-band::before {
  position: absolute;
  top: -20px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--bm-soft-blue);
  content: "";
}

.bm-site-footer {
  flex: 0 0 auto;
}

.bm-footer-inner {
  position: relative;
  padding-block: 54px;
}

.bm-footer-inner::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  content: "";
}

.bm-footer-nav a {
  transition: color 180ms ease, opacity 180ms ease;
}

.survey-message {
  width: min(100%, 760px);
  margin-inline: auto;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(65, 89, 133, 0.16);
  border-left: 4px solid var(--bm-blue);
  border-radius: var(--bm-radius);
  background: var(--bm-ice);
  box-shadow: 0 16px 42px rgba(36, 53, 82, 0.08);
  color: var(--bm-ink);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  text-align: left;
}

.survey-order-flow {
  width: min(100% - 40px, 760px);
  margin-inline: auto;
  padding-block: clamp(48px, 7vw, 88px) clamp(72px, 9vw, 112px);
}

.survey-order-flow .survey-message {
  width: 100%;
  margin: 0 0 clamp(36px, 5vw, 52px);
  padding: clamp(24px, 3.5vw, 34px);
}

.survey-order-flow .survey-order-form > h2 {
  margin: 0 0 24px;
  color: var(--bm-blue);
  font-family: var(--bm-serif);
  font-size: clamp(38px, 5vw, 54px);
  line-height: 1.08;
}

.survey-order-flow .bm-contact-form {
  margin: 0;
  padding: clamp(32px, 5vw, 48px);
}

.survey-order-flow .bm-contact-privacy {
  margin: 30px 0 22px;
}

.survey-order-flow .bm-contact-terms {
  margin: 0 0 24px;
}

.survey-order-flow .bm-button {
  min-height: 48px;
  padding-inline: 24px;
}

.page-id-8 .bm-content-shell {
  width: min(100% - 40px, 920px);
  padding-block: clamp(72px, 10vw, 132px);
}

@media (max-width: 940px) {
  .bm-hero .bm-container {
    width: min(100% - 40px, 1180px);
  }

  .bm-hero-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .bm-hero-photo-wrap {
    width: min(100%, 620px);
  }

  .bm-compass-visual {
    min-height: 0;
    aspect-ratio: 1.08 / 1;
  }

  .bm-footer-inner {
    row-gap: 34px;
  }
}

@media (max-width: 700px) {
  .bm-header-inner {
    min-height: 74px;
  }

  .bm-hero .bm-container,
  .bm-container,
  .bm-content-shell,
  .bm-index-shell {
    width: min(100% - 28px, 100%);
  }

  .bm-hero {
    padding-top: 46px;
    padding-bottom: 64px;
  }

  .bm-kicker {
    gap: 9px;
    font-size: 12px;
  }

  .bm-kicker::before {
    width: 20px;
  }

  .bm-hero h1 {
    font-size: clamp(40px, 12vw, 48px);
    line-height: 1.02;
  }

  .bm-hero-lede {
    margin-top: 22px;
    font-size: 18px;
  }

  .bm-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 28px;
  }

  .bm-actions .bm-button {
    min-width: 0;
    padding-inline: 14px;
  }

  .bm-section {
    padding-block: 66px;
  }

  .bm-section-header {
    margin-bottom: 32px;
  }

  .bm-feature {
    min-height: 0;
    padding: 28px;
  }

  .bm-method-list li {
    min-height: 76px;
    padding-left: 52px;
  }

  .bm-method-list li::before {
    width: 34px;
    height: 34px;
  }

  .bm-proof {
    min-height: 0;
    padding: 26px;
  }

  .bm-compass-visual {
    aspect-ratio: 1 / 1;
  }

  .bm-footer-inner {
    padding-block: 42px;
  }

  .survey-message {
    padding: 24px;
  }

  .survey-order-flow {
    width: min(100% - 28px, 760px);
    padding-block: 40px 72px;
  }

  .survey-order-flow .survey-message {
    margin-bottom: 32px;
  }

  .survey-order-flow .survey-order-form > h2 {
    margin-bottom: 20px;
    font-size: 38px;
  }

  .survey-order-flow .bm-contact-form {
    padding: 28px 22px;
  }
}


/* BraveMind behaviour scrollytelling 1.2 */
.bm-behaviour-section {
  --pair-green: #8dc297;
  --pair-blue: #a8cdde;
  --pair-red: #d49e92;
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 8% 12%, rgba(141, 194, 151, .12), transparent 26rem),
    radial-gradient(circle at 92% 56%, rgba(168, 205, 222, .14), transparent 30rem),
    var(--bm-paper);
}

.bm-behaviour-intro {
  max-width: 850px;
  margin-bottom: clamp(3.5rem, 7vw, 7rem);
}

.bm-behaviour-intro > p:last-child {
  max-width: 720px;
  font-size: clamp(1.06rem, 1.45vw, 1.3rem);
}

.bm-scrolly {
  display: grid;
  grid-template-columns: minmax(330px, .78fr) minmax(520px, 1.22fr);
  gap: clamp(4rem, 8vw, 9rem);
  align-items: start;
}

.bm-scrolly-visual {
  position: sticky;
  top: clamp(7rem, 13vh, 10rem);
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  padding-bottom: 8vh;
}

.bm-profile-orbit {
  position: relative;
  width: min(100%, 410px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: box-shadow .8s var(--bm-ease-out), transform .8s var(--bm-ease-out);
}

.bm-profile-orbit[data-active-theme="inclusion"] { box-shadow: 0 28px 90px rgba(141, 194, 151, .28); }
.bm-profile-orbit[data-active-theme="control"] { box-shadow: 0 28px 90px rgba(116, 172, 198, .28); }
.bm-profile-orbit[data-active-theme="openness"] { box-shadow: 0 28px 90px rgba(212, 158, 146, .3); }

.bm-orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(
    var(--pair-green) 0 58deg, var(--bm-paper) 58deg 60deg,
    var(--pair-green) 60deg 118deg, var(--bm-paper) 118deg 120deg,
    var(--pair-blue) 120deg 178deg, var(--bm-paper) 178deg 180deg,
    var(--pair-blue) 180deg 238deg, var(--bm-paper) 238deg 240deg,
    var(--pair-red) 240deg 298deg, var(--bm-paper) 298deg 300deg,
    var(--pair-red) 300deg 358deg, var(--bm-paper) 358deg 360deg
  );
  transform: rotate(-30deg);
  transition: transform 1s var(--bm-ease-out), filter .8s ease;
}

.bm-profile-orbit[data-active-theme="control"] .bm-orbit-ring { transform: rotate(-90deg); }
.bm-profile-orbit[data-active-theme="openness"] .bm-orbit-ring { transform: rotate(-150deg); }

.bm-orbit-ring::before,
.bm-orbit-ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.94);
}

.bm-orbit-ring::before { inset: 12%; }
.bm-orbit-ring::after { inset: 25%; }

.bm-orbit-center {
  position: relative;
  z-index: 2;
  width: 48%;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  gap: .45rem;
  padding: 1rem;
  border-radius: 50%;
  text-align: center;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--bm-line-strong);
  box-shadow: 0 12px 34px rgba(36, 53, 82, .12);
}

.bm-orbit-center span {
  color: var(--bm-text-muted);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.bm-orbit-center strong {
  color: var(--bm-ink);
  font-family: var(--bm-serif);
  font-size: clamp(.95rem, 1.4vw, 1.18rem);
  line-height: 1.3;
}

.bm-theme-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem 1rem;
  color: var(--bm-ink);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.bm-theme-legend span { display: inline-flex; align-items: center; gap: .45rem; }
.bm-theme-legend span::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; }
.bm-theme-legend .is-inclusion::before { background: var(--pair-green); }
.bm-theme-legend .is-control::before { background: var(--pair-blue); }
.bm-theme-legend .is-openness::before { background: var(--pair-red); }

.bm-scrolly-note {
  max-width: 420px;
  margin: 0;
  color: var(--bm-text-muted);
  font-size: .93rem;
  line-height: 1.65;
  text-align: center;
}

.bm-pair-list { display: grid; }

.bm-behaviour-pair {
  --pair-color: var(--pair-green);
  position: relative;
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: clamp(2rem, 7vh, 5rem);
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--bm-line);
  border-top: 5px solid var(--pair-color);
  border-radius: 18px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 55px rgba(36, 53, 82, .08);
  opacity: .42;
  transform: translateY(28px) scale(.985);
  transition: opacity .65s ease, transform .8s var(--bm-ease-out), box-shadow .65s ease;
  outline: none;
}

.bm-behaviour-pair[data-theme="control"] { --pair-color: var(--pair-blue); }
.bm-behaviour-pair[data-theme="openness"] { --pair-color: var(--pair-red); }

.bm-behaviour-pair.is-active,
.bm-behaviour-pair:focus-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  box-shadow: 0 28px 75px rgba(36, 53, 82, .14);
}

.bm-behaviour-pair:focus-visible { box-shadow: var(--bm-focus-ring), 0 28px 75px rgba(36, 53, 82, .14); }

.bm-pair-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
  color: var(--bm-blue);
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.bm-behaviour-pair h3 {
  max-width: 620px;
  margin: 0 0 clamp(1.7rem, 3vw, 2.5rem);
  color: var(--bm-ink);
  font-family: var(--bm-serif);
  font-size: clamp(2rem, 4.1vw, 3.65rem);
  line-height: 1.05;
  text-wrap: balance;
}

.bm-pair-sides {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(.8rem, 2vw, 1.5rem);
  margin-bottom: 2rem;
}

.bm-pair-side {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 1rem;
  text-align: center;
}

.bm-pair-icon {
  width: clamp(84px, 10vw, 118px);
  height: clamp(84px, 10vw, 118px);
  display: grid;
  place-items: center;
  padding: 1.05rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--pair-color) 16%, white);
  transition: transform .55s var(--bm-ease-out), background .4s ease;
}

.bm-behaviour-pair:hover .bm-pair-icon,
.bm-behaviour-pair:focus-visible .bm-pair-icon { transform: translateY(-5px) rotate(-2deg); }

.bm-pair-icon-svg { width: 100%; height: 100%; overflow: visible; }
.bm-pair-icon-svg [class*="-st0"] { stroke: var(--pair-color); }


.bm-pair-side strong {
  color: var(--bm-ink);
  font-size: clamp(.92rem, 1.3vw, 1.08rem);
  line-height: 1.3;
}

.bm-pair-balance {
  color: var(--pair-color);
  font-family: var(--bm-serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.bm-behaviour-pair > p {
  max-width: 640px;
  margin: 0;
  color: var(--bm-text-muted);
  font-size: clamp(1rem, 1.35vw, 1.17rem);
  line-height: 1.7;
}

.bm-balance-statement {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: baseline;
  margin-top: clamp(2rem, 6vw, 6rem);
  padding: clamp(2rem, 4vw, 3.5rem) 0 0;
  border-top: 1px solid var(--bm-line-strong);
  color: var(--bm-ink);
}

.bm-balance-statement span { color: var(--bm-text-muted); font-size: clamp(1rem, 1.6vw, 1.25rem); }
.bm-balance-statement strong { font-family: var(--bm-serif); font-size: clamp(1.75rem, 3.5vw, 3.15rem); line-height: 1.15; }

@media (max-width: 980px) {
  .bm-scrolly { grid-template-columns: minmax(260px, .7fr) minmax(400px, 1.3fr); gap: 2.5rem; }
  .bm-profile-orbit { max-width: 300px; }
  .bm-behaviour-pair { min-height: 58vh; padding: 2rem; }
}

@media (max-width: 760px) {
  .bm-behaviour-intro { margin-bottom: 2.75rem; }
  .bm-scrolly { display: block; }
  .bm-scrolly-visual { position: relative; top: auto; padding: 0 0 3rem; }
  .bm-profile-orbit { max-width: 285px; }
  .bm-scrolly-note { max-width: 340px; }
  .bm-pair-list { gap: 1.25rem; }
  .bm-behaviour-pair { min-height: 0; margin: 0; padding: 1.65rem 1.25rem 1.8rem; opacity: 1; transform: none; border-radius: 14px; }
  .bm-behaviour-pair h3 { margin-bottom: 1.5rem; font-size: clamp(1.75rem, 9vw, 2.55rem); }
  .bm-pair-sides { gap: .5rem; margin-bottom: 1.5rem; }
  .bm-pair-icon { width: 78px; height: 78px; padding: .85rem; }
  .bm-pair-side strong { font-size: .86rem; }
  .bm-pair-balance { font-size: 1.55rem; }
  .bm-behaviour-pair > p { font-size: .98rem; }
  .bm-balance-statement { grid-template-columns: 1fr; gap: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .bm-profile-orbit,
  .bm-orbit-ring,
  .bm-behaviour-pair,
  .bm-pair-icon { transition: none !important; transform: none !important; }
}


/* Pair icon colour fallbacks for browsers without color-mix() */
.bm-behaviour-pair[data-theme="inclusion"] .bm-pair-icon { background-color: #f0f8f1; }
.bm-behaviour-pair[data-theme="control"] .bm-pair-icon { background-color: #eff7fa; }
.bm-behaviour-pair[data-theme="openness"] .bm-pair-icon { background-color: #fbf2f0; }


/* Keep every behaviour icon in the line-drawing language */
.bm-pair-icon-svg .bm-opsoeger-st1,
.bm-pair-icon-svg .bm-inviterer-st1,
.bm-pair-icon-svg .bm-raadgiver-st1,
.bm-pair-icon-svg .bm-kritik-st2 {
  fill: none !important;
  stroke: var(--pair-color) !important;
  stroke-width: 10.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* Draw nested SVG marks as well as top-level geometry */
.bm-pair-icon-svg .bm-raadgiver-st3 {
  fill: none !important;
  stroke: var(--pair-color) !important;
  stroke-width: 10.8px;
  stroke-linecap: round;
}
.bm-pair-icon-svg g path,
.bm-pair-icon-svg g circle,
.bm-pair-icon-svg g rect,
.bm-pair-icon-svg g line,
.bm-pair-icon-svg g polyline,
.bm-pair-icon-svg g polygon {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 4s ease;
}
.bm-pair-icon-svg.is-visible g path,
.bm-pair-icon-svg.is-visible g circle,
.bm-pair-icon-svg.is-visible g rect,
.bm-pair-icon-svg.is-visible g line,
.bm-pair-icon-svg.is-visible g polyline,
.bm-pair-icon-svg.is-visible g polygon {
  stroke-dashoffset: 0;
}


/* Keep the three Hvad får du icons visually consistent */
.bm-feature .bm-draw-icon {
  stroke: #415985;
  stroke-width: 10.8px;
}


/* Report image beneath the Designet til brug cards */
.bm-report-reading {
  width: 100%;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
  overflow: hidden;
  border: 1px solid var(--bm-line-strong);
  border-radius: 18px;
  background: var(--bm-wash);
  box-shadow: 0 24px 70px rgba(36, 53, 82, .13);
}
.bm-report-reading img {
  display: block;
  width: 100%;
  height: auto;
}

/* Consent and B2B terms acceptance */
.bm-contact-terms {
  padding: 18px;
  border: 1px solid rgba(65, 89, 133, .2);
  border-radius: 8px;
  background: var(--bm-ice);
}
.bm-contact-terms label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  cursor: pointer;
}
.bm-contact-terms input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--bm-blue);
}
.bm-cookie-settings {
  position: fixed;
  z-index: 10000;
  right: 18px;
  bottom: 18px;
  padding: 9px 13px;
  border: 1px solid rgba(65, 89, 133, .25);
  border-radius: 6px;
  background: #fff;
  color: var(--bm-blue);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 26px rgba(36, 53, 82, .12);
}
.bm-consent[hidden] { display: none; }
.bm-consent {
  position: fixed;
  z-index: 10001;
  inset: 0;
  display: grid;
  align-items: end;
  padding: 24px;
  background: rgba(36, 53, 82, .4);
}
.bm-consent-card {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(168, 205, 222, .65);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(36, 53, 82, .25);
}
.bm-consent-card h2 { margin: 8px 0 14px; color: var(--bm-ink); }
.bm-consent-card > p { max-width: 680px; }
.bm-consent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 700;
}
.bm-consent-actions { margin-top: 24px; }
.bm-consent-open { overflow: hidden; }
@media (max-width: 600px) {
  .bm-consent { padding: 12px; }
  .bm-consent-card { padding: 24px 20px; }
  .bm-cookie-settings { right: 10px; bottom: 10px; }
}
@media (max-width: 760px) {
  .bm-report-reading { border-radius: 14px; }
  .bm-report-reading img {
    min-height: 230px;
    object-fit: cover;
    object-position: 52% center;
  }
}
