/* Forside og Om: redigerbare WordPress-blokke med designets oprindelige udtryk. */
.dm-front-page,
.dm-about-page { overflow: clip; }
.dm-front-page :where(p, figure, .wp-block-heading, .wp-block-group, .wp-block-buttons),
.dm-about-page :where(p, figure, .wp-block-heading, .wp-block-group, .wp-block-buttons) { margin-block-start: 0; margin-block-end: 0; }
.dm-front-page :where(.wp-block-heading),
.dm-about-page :where(.wp-block-heading) { font-family: 'Space Grotesk', sans-serif; font-weight: 700; }
.dm-page-eyebrow { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 400; line-height: 1.5; letter-spacing: 2px; text-transform: uppercase; color: #8a8397; }
.dm-text-gradient-blue { background: linear-gradient(100deg, #12b8e6, #8b3ff0); }
.dm-text-gradient-pink-purple { background: linear-gradient(100deg, #ff2eb0, #8b3ff0); }
.dm-text-gradient-pink-yellow { background: linear-gradient(100deg, #ff2eb0, #ffb824); }
.dm-text-gradient-spectrum { background: linear-gradient(100deg, #12b8e6, #8b3ff0, #ff2eb0); }
.dm-front-page :is(.dm-text-gradient-blue, .dm-text-gradient-pink-purple, .dm-text-gradient-pink-yellow),
.dm-about-page :is(.dm-text-gradient-blue, .dm-text-gradient-spectrum) { -webkit-background-clip: text; background-clip: text; color: transparent; }
.dm-page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.dm-page-button-primary .wp-block-button__link,
.dm-page-button-outline .wp-block-button__link { display: inline-flex; justify-content: center; align-items: center; min-height: 56px; padding: 16px 30px; border-radius: 999px; font-family: 'Hanken Grotesk', sans-serif; font-size: 16px; font-weight: 700; line-height: 1.4; text-decoration: none; transition: transform .2s, border-color .2s, color .2s; }
.dm-page-button-primary .wp-block-button__link { color: #fff; background: linear-gradient(100deg, #ff2eb0, #8b3ff0); box-shadow: 0 16px 40px -10px rgba(139, 63, 240, .6); }
.dm-page-button-primary .wp-block-button__link:hover { color: #fff; transform: translateY(-3px); }
.dm-page-button-outline .wp-block-button__link { color: #1a1622; padding: 14px 24px; border: 2px solid rgba(26, 22, 34, .14); background: transparent; }
.dm-page-button-outline .wp-block-button__link:hover { border-color: #12b8e6; color: #087a99; }

/* Første skærmbillede på forsiden. */
.dm-front-hero { position: relative; isolation: isolate; overflow: hidden; padding: 0 0 44px; }
.dm-front-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 52px; padding-top: 70px; }
.dm-hero-glow { position: absolute; z-index: -1; width: 560px; height: 560px; border-radius: 50%; pointer-events: none; }
.dm-hero-glow-cyan { top: -160px; left: -140px; background: radial-gradient(circle at 35% 35%, #12b8e6, rgba(18, 184, 230, 0) 70%); filter: blur(12px); opacity: .9; animation: dm-page-float-a 34s ease-in-out infinite; }
.dm-hero-glow-pink { top: 40px; right: -180px; width: 620px; height: 620px; background: radial-gradient(circle at 60% 40%, #ff2eb0, rgba(255, 46, 176, 0) 70%); filter: blur(16px); opacity: .85; animation: dm-page-float-b 40s ease-in-out infinite; }
.dm-hero-glow-yellow { bottom: -120px; left: 34%; width: 520px; height: 520px; background: radial-gradient(circle, #ffb824, rgba(255, 184, 36, 0) 70%); filter: blur(20px); opacity: .8; animation: dm-page-float-c 30s ease-in-out infinite; }
.dm-front-hero .dm-hero-badge { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px; padding: 8px 15px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: 1.5px; color: #8b3ff0; background: rgba(139, 63, 240, .09); }
.dm-hero-badge::before { content: ''; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: #8b3ff0; }
.dm-front-page .dm-front-title { font-size: clamp(54px, 5.7vw, 70px); line-height: .98; letter-spacing: -2px; }
.dm-hero-line { display: block; }
.dm-front-hero .dm-hero-intro { max-width: 460px; margin-top: 28px; font-size: 19px; line-height: 1.55; color: #453f52; }
.dm-front-hero .dm-page-actions { margin-top: 32px; }
.dm-portrait { position: relative; isolation: isolate; }
.dm-portrait::before { content: ''; position: absolute; z-index: -1; inset: -24px; border-radius: 48% 52% 60% 40% / 55% 48% 52% 45%; background: conic-gradient(from 0deg, #12b8e6, #ff2eb0, #ffb824, #8b3ff0, #12b8e6); filter: blur(7px); opacity: .85; animation: dm-page-spin 50s linear infinite; }
.dm-portrait-image { position: relative; width: 100%; height: 480px; border-radius: 48% 52% 60% 40% / 55% 48% 52% 45%; overflow: hidden; background: #dcd7e6; }
.dm-portrait-image img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.dm-front-page .dm-portrait-caption { position: absolute; bottom: 18px; left: -20px; padding: 13px 20px; border-radius: 16px; background: #fff; box-shadow: 0 18px 44px -12px rgba(30, 20, 60, .35); animation: dm-page-bob 9s ease-in-out infinite; }
.dm-portrait-name { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 700; line-height: 1.4; color: #1a1622; }
.dm-portrait-role { font-size: 12.5px; line-height: 1.5; color: #8a8397; }

/* Ydelsesbåndet og introduktionen. */
.dm-service-band { position: relative; padding: 104px 0 108px; color: #fff; background: linear-gradient(115deg, #12b8e6, #8b3ff0 55%, #ff2eb0); background-size: 200% 200%; animation: dm-page-gradient 30s ease infinite; }
.dm-services-introduction { max-width: 800px; }
.dm-service-band .dm-page-eyebrow { margin-bottom: 16px; color: #fff; opacity: .82; }
.dm-services-intro { font-size: 26px; font-weight: 500; line-height: 1.5; }
.dm-service-band .dm-service-chips { display: flex; flex-wrap: wrap; gap: 11px; max-width: 880px; margin-top: 34px; }
.dm-page-button-chip .wp-block-button__link,
.dm-page-button-yellow-chip .wp-block-button__link { display: inline-flex; align-items: center; min-height: 43px; padding: 10px 17px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; font-family: 'Hanken Grotesk', sans-serif; font-size: 14.5px; font-weight: 600; line-height: 1.45; text-decoration: none; color: #fff; background: rgba(255, 255, 255, .16); transition: background .2s, transform .2s; }
.dm-page-button-chip .wp-block-button__link:hover { color: #fff; background: rgba(255, 255, 255, .3); transform: translateY(-2px); }
.dm-page-button-yellow-chip .wp-block-button__link { color: #1a1622; border-color: #ffb824; background: #ffb824; }
.dm-page-button-yellow-chip .wp-block-button__link:hover { color: #1a1622; background: #ffc84f; transform: translateY(-2px); }
.dm-front-intro { display: grid; grid-template-columns: 1fr .8fr; gap: 60px; align-items: center; padding-top: 30px; padding-bottom: 20px; }
.dm-front-intro .dm-page-eyebrow { margin-bottom: 12px; }
.dm-front-page .dm-front-intro-title { margin-bottom: 24px; font-size: 48px; line-height: 1.02; letter-spacing: -1.5px; }
.dm-front-intro-copy > p:not(.dm-page-eyebrow) { margin-bottom: 18px; font-size: 17px; line-height: 1.65; color: #453f52; }
.dm-front-intro-copy > p:last-child { margin-bottom: 0; }
.dm-front-about-portrait::before { inset: -16px; border-radius: 60% 40% 45% 55% / 50% 55% 45% 50%; background: conic-gradient(from 120deg, #ffb824, #ff2eb0, #12b8e6, #ffb824); filter: blur(6px); opacity: .8; animation-duration: 56s; animation-direction: reverse; }
.dm-front-about-portrait .dm-portrait-image { height: 380px; border-radius: 60% 40% 45% 55% / 50% 55% 45% 50%; }

/* Billeder fra undervisning og konferencer. */
.dm-stage { padding-top: 64px; padding-bottom: 20px; }
.dm-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.dm-stage .dm-section-heading { margin-bottom: 26px; }
.dm-front-page .dm-stage-title,
.dm-about-page .dm-stage-title { font-size: 30px; line-height: 1.2; letter-spacing: -.8px; }
.dm-stage-subtitle { font-size: 14.5px; line-height: 1.5; color: #8a8397; }
.dm-stage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dm-stage-photo { position: relative; height: 260px; overflow: hidden; border-radius: 22px; background: #dcd7e6; box-shadow: 0 24px 50px -28px rgba(30, 20, 60, .4); transition: transform .2s; }
.dm-stage-photo:hover { transform: translateY(-5px); }
.dm-stage-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dm-front-page .dm-audience { position: relative; isolation: isolate; height: 540px; overflow: hidden; margin-top: 72px; }
.dm-audience .dm-audience-photo { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; }
.dm-audience-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.dm-audience::before,
.dm-audience::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.dm-audience::before { z-index: -2; background: linear-gradient(90deg, rgba(20, 16, 34, .86) 0%, rgba(20, 16, 34, .55) 42%, rgba(20, 16, 34, .1) 72%, rgba(20, 16, 34, 0) 100%); }
.dm-audience::after { z-index: -1; background: linear-gradient(115deg, rgba(18, 184, 230, .28), rgba(255, 46, 176, .12) 55%, transparent); mix-blend-mode: screen; }
.dm-audience-copy { position: relative; display: flex; flex-direction: column; justify-content: center; height: 100%; }
.dm-audience-copy .dm-page-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; font-size: 12.5px; font-weight: 600; color: #ffb824; }
.dm-audience-copy .dm-page-eyebrow::before { content: ''; width: 26px; height: 2px; background: #ffb824; }
.dm-front-page .dm-audience-title { max-width: 660px; font-size: 46px; line-height: 1.06; letter-spacing: -1.2px; color: #fff; }
.dm-audience-copy .dm-audience-intro { max-width: 520px; margin-top: 22px; font-size: 18px; line-height: 1.55; color: #d8d3e4; }

/* Blogintroduktion og samarbejdets fire trin. */
.dm-front-blog,
.dm-process { padding-top: 88px; padding-bottom: 20px; }
.dm-front-blog .dm-blog-section-heading { margin-bottom: 34px; }
.dm-blog-heading-copy .dm-page-eyebrow { margin-bottom: 10px; }
.dm-front-page .dm-front-section-title { font-size: 40px; line-height: 1.12; letter-spacing: -1.2px; }
.dm-blog-all .wp-block-button__link { min-height: 50px; padding: 13px 24px; font-size: 15px; }
.dm-process .dm-process-heading { max-width: 640px; margin-bottom: 40px; }
.dm-process-heading .dm-page-eyebrow { margin-bottom: 12px; }
.dm-process-heading .dm-front-section-title { margin-bottom: 14px; line-height: 1.04; }
.dm-process-intro { font-size: 17px; line-height: 1.6; color: #453f52; }
.dm-process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.dm-process-card { position: relative; padding: 30px 26px 32px; border: 1px solid rgba(26, 22, 34, .07); border-radius: 24px; background: #fff; box-shadow: 0 22px 50px -32px rgba(30, 20, 60, .35); transition: transform .2s, box-shadow .2s; }
.dm-process-card:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -32px rgba(30, 20, 60, .45); }
.dm-process-card .dm-process-number { display: flex; justify-content: center; align-items: center; width: 54px; height: 54px; margin-bottom: 20px; border-radius: 16px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 22px; line-height: 1; color: #fff; background: linear-gradient(135deg, #12b8e6, #8b3ff0); box-shadow: 0 12px 26px -10px rgba(18, 184, 230, .6); }
.dm-process-card-02 .dm-process-number { background: linear-gradient(135deg, #8b3ff0, #ff2eb0); box-shadow: 0 12px 26px -10px rgba(139, 63, 240, .6); }
.dm-process-card-03 .dm-process-number { background: linear-gradient(135deg, #ff2eb0, #ffb824); box-shadow: 0 12px 26px -10px rgba(255, 46, 176, .55); }
.dm-process-card-04 .dm-process-number { color: #1a1622; background: linear-gradient(135deg, #ffb824, #12b8e6); box-shadow: 0 12px 26px -10px rgba(255, 184, 36, .6); }
.dm-process-card .wp-block-heading { margin-bottom: 9px; font-size: 19px; line-height: 1.2; }
.dm-process-card > p:not(.dm-process-number) { font-size: 14.5px; line-height: 1.55; color: #6b6478; }

/* Om Andreas. */
.dm-about-hero { position: relative; isolation: isolate; overflow: hidden; padding-top: 64px; padding-bottom: 40px; }
.dm-about-hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; max-width: 1316px; }
.dm-about-glow { position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; }
.dm-about-glow-cyan { top: -150px; left: -120px; background: radial-gradient(circle, #12b8e6, rgba(18, 184, 230, 0) 70%); filter: blur(16px); opacity: .55; animation: dm-page-float-a 34s ease-in-out infinite; }
.dm-about-glow-pink { top: 20px; right: -160px; width: 560px; height: 560px; background: radial-gradient(circle, #ff2eb0, rgba(255, 46, 176, 0) 70%); filter: blur(18px); opacity: .5; animation: dm-page-float-b 40s ease-in-out infinite; }
.dm-about-hero-copy .dm-page-eyebrow { margin-bottom: 16px; color: #8b3ff0; }
.dm-about-page .dm-about-title { font-size: 60px; line-height: 1; letter-spacing: -2px; }
.dm-about-hero-copy .dm-about-intro { max-width: 480px; margin-top: 26px; font-size: 19px; line-height: 1.6; color: #453f52; }
.dm-about-hero-copy .dm-about-intro + .dm-about-intro { margin-top: 18px; }
.dm-about-hero-copy .dm-page-actions { margin-top: 30px; }
.dm-about-portrait::before { inset: -20px; border-radius: 54% 46% 58% 42% / 48% 55% 45% 52%; background: conic-gradient(from 40deg, #12b8e6, #ff2eb0, #ffb824, #8b3ff0, #12b8e6); filter: blur(6px); opacity: .8; animation-duration: 56s; }
.dm-about-portrait .dm-portrait-image { height: 440px; border-radius: 54% 46% 58% 42% / 48% 55% 45% 52%; }
.dm-about-story { display: grid; grid-template-columns: 1.4fr .6fr; gap: 52px; align-items: start; padding-top: 40px; padding-bottom: 20px; }
.dm-about-page .dm-about-section-title { font-size: 34px; line-height: 1.1; letter-spacing: -1px; }
.dm-about-story-copy .dm-about-section-title { margin-bottom: 22px; }
.dm-about-story-copy > p { margin-bottom: 18px; font-size: 17px; line-height: 1.7; color: #453f52; }
.dm-about-story-copy > p:last-child { margin-bottom: 0; }
.dm-about-facts { padding: 30px 30px 34px; border: 1px solid rgba(26, 22, 34, .07); border-radius: 24px; background: #fff; box-shadow: 0 24px 54px -34px rgba(30, 20, 60, .35); }
.dm-about-facts .dm-about-facts-title { margin-bottom: 18px; font-size: 13px; line-height: 1.5; letter-spacing: 1px; text-transform: uppercase; color: #8b3ff0; }
.dm-about-facts-list { display: flex; flex-direction: column; gap: 16px; }
.dm-about-fact + .dm-about-fact { padding-top: 16px; border-top: 1px solid rgba(26, 22, 34, .08); }
.dm-about-fact-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; line-height: 1.5; }
.dm-about-fact-copy { font-size: 14px; line-height: 1.5; color: #6b6478; }
.dm-about-values,
.dm-about-stage,
.dm-about-stack { padding-top: 56px; padding-bottom: 20px; }
.dm-about-values .dm-about-section-title { margin-bottom: 30px; }
.dm-values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dm-value-card { padding: 32px 30px; border: 1px solid rgba(26, 22, 34, .07); border-radius: 24px; background: #fff; box-shadow: 0 22px 50px -34px rgba(30, 20, 60, .3); transition: transform .2s; }
.dm-value-card:hover { transform: translateY(-6px); }
.dm-value-icon { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin-bottom: 20px; border-radius: 15px; background: linear-gradient(135deg, #12b8e6, #8b3ff0); }
.dm-value-icon::before { content: ''; width: 18px; height: 18px; background: #fff; }
.dm-value-icon-diamond::before { transform: rotate(45deg); }
.dm-value-icon-circle { background: linear-gradient(135deg, #ff2eb0, #8b3ff0); }
.dm-value-icon-circle::before { border-radius: 50%; }
.dm-value-icon-square { background: linear-gradient(135deg, #ffb824, #ff2eb0); }
.dm-value-icon-square::before { border-radius: 5px; }
.dm-value-card .wp-block-heading { margin-bottom: 9px; font-size: 19px; line-height: 1.25; }
.dm-value-card > p { font-size: 15px; line-height: 1.6; color: #6b6478; }
.dm-about-stage .dm-section-heading { margin-bottom: 24px; }
.dm-about-stage .dm-stage-photo { height: 250px; }
.dm-about-stack .dm-page-eyebrow { margin-bottom: 18px; }
.dm-tool-chips { display: flex; flex-wrap: wrap; gap: 11px; }
.dm-tool-chip { padding: 10px 18px; border: 1px solid rgba(26, 22, 34, .1); border-radius: 999px; font-size: 14.5px; font-weight: 600; line-height: 1.5; background: #fff; }

@keyframes dm-page-float-a { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -50px) scale(1.12); } }
@keyframes dm-page-float-b { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-46px, 38px) scale(1.15); } }
@keyframes dm-page-float-c { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, 44px) scale(.92); } }
@keyframes dm-page-gradient { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes dm-page-spin { to { transform: rotate(360deg); } }
@keyframes dm-page-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

@media (max-width: 900px) {
  .dm-front-hero-grid,
  .dm-front-intro,
  .dm-about-hero-grid,
  .dm-about-story,
  .dm-stage-grid,
  .dm-process-grid,
  .dm-values-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .dm-front-hero-grid { padding-top: 44px; }
  .dm-front-page .dm-front-title,
  .dm-about-page .dm-about-title { font-size: clamp(34px, 8vw, 50px); line-height: 1.05; letter-spacing: -1px; }
  .dm-front-page :is(.dm-front-intro-title, .dm-front-section-title, .dm-audience-title),
  .dm-about-page .dm-about-section-title { font-size: clamp(26px, 5.6vw, 38px); line-height: 1.12; }
  .dm-front-portrait,
  .dm-about-portrait { width: min(100%, 540px); margin: 24px auto 0; }
  .dm-front-portrait .dm-portrait-image,
  .dm-about-portrait .dm-portrait-image { height: 320px; }
  .dm-front-about-portrait { width: min(100%, 520px); margin: 16px auto 0; }
  .dm-front-page .dm-portrait-caption { left: 0; }
  .dm-front-hero .dm-hero-intro,
  .dm-about-hero-copy .dm-about-intro { max-width: 650px; }
  .dm-service-band { padding: 68px 0; }
  .dm-services-intro { font-size: 23px; }
  .dm-front-intro { padding-top: 44px; }
  .dm-front-page .dm-audience { height: auto; min-height: 400px; }
  .dm-audience-copy { min-height: 400px; padding-top: 40px; padding-bottom: 40px; }
  .dm-audience::before { background: linear-gradient(90deg, rgba(20, 16, 34, .9), rgba(20, 16, 34, .5)); }
  .dm-about-hero { padding-top: 40px; padding-bottom: 24px; }
  .dm-stage-photo,
  .dm-about-stage .dm-stage-photo { height: auto; aspect-ratio: 16 / 10; }
  .dm-front-blog,
  .dm-process { padding-top: 64px; }
}
@media (max-width: 620px) {
  .dm-front-hero .dm-hero-badge { font-size: 10px; letter-spacing: 1px; padding: 8px 12px; }
  .dm-hero-badge::before { flex-basis: 6px; width: 6px; height: 6px; }
  .dm-front-hero .dm-page-actions,
  .dm-about-hero-copy .dm-page-actions { gap: 12px; }
  .dm-page-button-primary .wp-block-button__link,
  .dm-page-button-outline .wp-block-button__link { padding-right: 22px; padding-left: 22px; font-size: 15px; }
  .dm-front-about-portrait .dm-portrait-image { height: 320px; }
  .dm-front-page .dm-front-hero-grid { padding-top: 32px; }
  .dm-front-page .dm-stage-title,
  .dm-about-page .dm-stage-title { font-size: 26px; }
  .dm-front-page .dm-audience-title { font-size: 30px; }
  .dm-services-intro { font-size: 22px; }
  .dm-about-facts,
  .dm-value-card { padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .dm-front-page *,
  .dm-front-page *::before,
  .dm-front-page *::after,
  .dm-about-page *,
  .dm-about-page *::before,
  .dm-about-page *::after { animation: none !important; transition: none !important; }
}
