/* =====================================================================================================
   dm-v2.css — WordPress layer on top of the reference v2 design system (home.css + refine.css).
   Only uses the v2 tokens (--v2-*) and surface context variables (--v2-c-*), so every component is correct
   on any section surface. Sections:
     1 base + long headings   2 hero variants   3 proof strip   4 section blocks   5 tables
     6 timeline, steps, figures, images   7 FAQ + CTA band   8 contact founder card
     9 Contact Form 7          10 sticky Call/WhatsApp bar + footer cookie button   11 legacy wrappers
   ===================================================================================================== */

/* ---------------------------------------------------------------- 1 base */
body.dm-v2{ margin:0; background:var(--v2-ink-950); }
.dm-page{ display:block; }
.v2-sec h1.v2-h2{ font-size:var(--v2-fs-h2); }
/* SEO-length headings: keep the v2 type, scale it down so a 60-character title stays three lines or fewer. */
.v2-h2.dm-h--long{ font-size:clamp(1.875rem,1rem + 2.7vw,3.75rem); letter-spacing:-.04em; }
.v2-h2.dm-h--xlong{ font-size:clamp(1.75rem,1rem + 2.1vw,3.125rem); letter-spacing:-.035em; }
.v2-head .v2-h2{ max-width:min(100%,22ch); }
.v2-head .v2-h2.dm-h--long{ max-width:min(100%,26ch); }
.v2-head .v2-h2.dm-h--xlong{ max-width:min(100%,30ch); }
.dm-sec--first{ padding-top:calc(var(--v2-sec-pad) + 40px); border-top:0; }

/* ---------------------------------------------------------------- 2 hero variants */
.v2-hero__title.dm-h--long{ font-size:min(clamp(2.25rem,1rem + 3.9vw,4.75rem),11cqi); }
.v2-hero__title.dm-h--xlong{ font-size:min(clamp(2rem,1rem + 3.1vw,4rem),9.5cqi); }
.dm-hero__sub p{ margin:0; }
.dm-hero__sub p + p{ margin-top:.6em; }
.dm-hero__byline{ margin:0; font-size:var(--v2-fs-small); color:var(--v2-c-mute); }
.dm-hero__byline a{ color:var(--v2-c-link); }
.dm-hero__stats{ display:flex; flex-wrap:wrap; gap:10px 14px; list-style:none; margin:0; padding:0; }
.dm-hero__stats li{
  display:flex; flex-direction:column; gap:2px; padding:12px 18px; border-radius:var(--v2-r-md);
  background:rgba(255,255,255,.06); box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);
}
.dm-hero__stats b{ font-size:1.5rem; font-weight:900; letter-spacing:-.03em; color:#FFFFFF; line-height:1.1; }
.dm-hero__stats span{ font-size:.9375rem; color:var(--v2-c-mute); }
.dm-hero__note{ max-width:62ch; text-align:left; }
.dm-hero__note p{ margin:0; }
/* No form: one centred/left column. */
.dm-hero--solo{ min-height:0; }
.dm-hero--solo .v2-hero__grid{ grid-template-columns:minmax(0,1fr) !important; }
.dm-hero--solo .v2-hero__copy{ max-width:980px; }
/* Optional photo (imported from the old hero image): sits under the fluid veil. */
.dm-hero__photo{ position:absolute; inset:0; z-index:-2; overflow:hidden; }
.dm-hero__photo img{ width:100%; height:100%; object-fit:cover; opacity:.22; filter:saturate(.6); }
.dm-hero .v2-hero__where{ margin-top:4px; }
@media (min-width:1080px){
  .dm-hero--solo .v2-hero__copy{ align-items:flex-start; text-align:left; }
}

/* ---------------------------------------------------------------- 3 proof strip */
.dm-strip__list{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:var(--v2-gap);
  list-style:none; margin:0; padding:0;
}
.dm-strip__item{
  display:flex; flex-direction:column; gap:4px; padding:18px 20px; border-radius:var(--v2-r-md);
  background:var(--v2-c-card-bg); border:1px solid var(--v2-c-card-line); box-shadow:var(--v2-c-card-shadow);
}
.dm-strip__item b{ font-size:1.1875rem; font-weight:800; letter-spacing:-.02em; color:var(--v2-c-heading); line-height:1.25; }
.dm-strip__item span{ font-size:var(--v2-fs-small); color:var(--v2-c-body); }
.dm-strip__item::before{ content:""; display:block; width:28px; height:4px; margin-bottom:8px; border-radius:2px; background:var(--v2-grad); }

/* ---------------------------------------------------------------- 4 section blocks */
.dm-blocks{ display:flex; flex-direction:column; gap:clamp(28px,3.2vw,48px); }
.dm-blocks:empty{ display:none; }
.dm-block{ min-width:0; }
/* Running text: one comfortable column, centred under the centred section head. */
.dm-rich,.dm-prose{ width:100%; max-width:1080px; margin-inline:auto; }
.dm-flow{ font-size:var(--v2-fs-body); line-height:var(--v2-lh-body); color:var(--v2-c-body); }
.dm-flow > * + *{ margin-top:1em; }
.dm-flow p,.dm-flow li{ max-width:72ch; }
.dm-flow h3,.dm-flow h4{
  margin-top:1.6em; font-size:var(--v2-fs-h3); font-weight:800; line-height:1.2; letter-spacing:-.025em; color:var(--v2-c-heading);
}
.dm-flow h4{ font-size:1.1875rem; }
.dm-flow a:not(.v2-btn){ color:var(--v2-c-link); font-weight:600; text-decoration:underline; text-decoration-thickness:1.5px; text-underline-offset:.22em; }
.dm-flow a:not(.v2-btn):hover{ text-decoration-thickness:2px; }
.dm-flow ul,.dm-flow ol{ padding-left:0; list-style:none; display:grid; gap:10px; }
.dm-flow ul > li{ position:relative; padding-left:28px; }
.dm-flow ul > li::before{ content:""; position:absolute; left:4px; top:.62em; width:9px; height:9px; border-radius:50%; background:var(--v2-c-accent); }
.dm-flow ol{ counter-reset:dm; }
.dm-flow ol > li{ position:relative; padding-left:38px; counter-increment:dm; }
.dm-flow ol > li::before{ content:counter(dm); position:absolute; left:0; top:.1em; width:26px; height:26px; border-radius:8px; display:grid; place-items:center;
  font-family:var(--v2-mono); font-size:.8125rem; font-weight:700; color:var(--v2-c-accent); background:var(--v2-c-accent-bg); }
.dm-flow blockquote{ padding:4px 0 4px 20px; border-left:4px solid var(--v2-c-accent); font-size:var(--v2-fs-lead); color:var(--v2-c-heading); }
.dm-flow img{ display:block; height:auto; border-radius:var(--v2-r-md); }
.dm-flow .v2-btn{ margin-top:.5em; }
.dm-flow time{ font-variant-numeric:tabular-nums; }
.dm-prose--aside{ display:grid; grid-template-columns:minmax(0,7fr) minmax(0,4fr); gap:var(--v2-gap-lg); align-items:start; }
.dm-prose__note{ position:sticky; top:110px; }
.dm-prose__note p{ margin:0; }
.dm-cards .v2-card__text > * + *{ margin-top:.75em; }
.dm-cards .v2-card__text a:not(.v2-btn){ color:var(--v2-c-link); font-weight:600; }
.dm-cards .v2-card__title a{ color:inherit; text-decoration:none; background:linear-gradient(currentColor,currentColor) 0 100%/0 2px no-repeat; transition:background-size .25s; }
.dm-cards .v2-card__title a:hover{ background-size:100% 2px; }
.dm-cards .v2-step{ margin-bottom:4px; }
.dm-callout{ width:100%; max-width:1080px; margin-inline:auto; }
.dm-callout__text > * + *{ margin-top:.75em; }
.dm-callout__text a{ color:var(--v2-c-link); font-weight:600; }
.dm-button{ margin-top:0; }

/* ---------------------------------------------------------------- 5 tables */
.dm-table{ overflow-x:auto; border-radius:var(--v2-r-md); border:1px solid var(--v2-c-card-line); background:var(--v2-c-card-bg); box-shadow:var(--v2-c-card-shadow); }
.dm-table:focus-visible{ outline:3px solid var(--v2-c-focus); outline-offset:3px; }
.dm-table table{ width:100%; border-collapse:collapse; font-size:1rem; line-height:1.5; color:var(--v2-c-body); }
.dm-table th{ text-align:left; padding:16px 20px; font-size:.875rem; font-family:var(--v2-mono); font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--v2-c-accent); border-bottom:1px solid var(--v2-c-line); }
.dm-table td{ padding:16px 20px; vertical-align:top; border-bottom:1px solid var(--v2-c-line); }
.dm-table tr:last-child td{ border-bottom:0; }
.dm-table td:first-child{ font-weight:700; color:var(--v2-c-heading); }
.dm-table td a{ color:var(--v2-c-link); }

/* ---------------------------------------------------------------- 6 timeline, steps, figures, images */
.dm-timeline{ width:100%; max-width:1080px; margin-inline:auto; }
.dm-timeline__title{ margin-bottom:24px; }
.dm-tl .v2-tl__item{ grid-template-columns:44px minmax(0,1fr); }
.dm-tl .v2-tl__time{ font-size:1.0625rem; }
.dm-steps{ list-style:none; }
.dm-step__top{ display:flex; align-items:center; gap:12px; }
.dm-metric{ gap:6px; }
.dm-metric .v2-figure-num{ font-size:clamp(2.25rem,1.4rem + 2.2vw,3.5rem); }
.dm-metric__label{ font-weight:700; color:var(--v2-c-heading); }
.dm-figure{ margin:0; padding:12px; }
.dm-figure img{ display:block; width:100%; height:auto; border-radius:12px; }
.dm-figure figcaption{ padding:8px 6px 2px; color:var(--v2-c-body); }
.dm-split__media img{ display:block; width:100%; height:auto; border-radius:var(--v2-r-lg); box-shadow:var(--v2-c-card-shadow); }

/* ---------------------------------------------------------------- 7 FAQ + CTA band */
.dm-faq__group{ grid-column:1 / -1; margin:40px 8px 8px; font-size:var(--v2-fs-h3); font-weight:800; letter-spacing:-.025em; color:var(--v2-navy); }
.dm-faq .v2-faq__answer > * + *{ margin-top:.75em; }
.dm-faq .v2-faq__answer a{ color:var(--v2-pink-ink); font-weight:600; }
.dm-ctaband__text p{ margin:0; }
.dm-ctaband__text a{ color:#FFFFFF; font-weight:700; }

/* ---------------------------------------------------------------- 8 contact founder card */
.dm-founder{ display:flex; align-items:center; gap:16px; margin-bottom:14px; }
.dm-founder img{ width:72px; height:72px; border-radius:50%; object-fit:cover; flex:none; box-shadow:0 0 0 3px rgba(244,91,168,.45); }
.dm-founder__role{ margin:0 0 2px; font-family:var(--v2-mono); font-size:13px; letter-spacing:.08em; text-transform:uppercase; color:#ACB9CA; }
.v2-contact .dm-founder__name{ margin:0; font-size:24px; line-height:1.25; font-weight:750; color:#FFFFFF; }

/* ---------------------------------------------------------------- 9 Contact Form 7 (the theme switches off CF7's own CSS) */
.wpcf7 .screen-reader-response{ position:absolute; overflow:hidden; clip:rect(1px,1px,1px,1px); clip-path:inset(50%); height:1px; width:1px; margin:-1px; padding:0; border:0; word-wrap:normal !important; }
.wpcf7 .hidden-fields-container{ display:none; border:0; margin:0; padding:0; }
.wpcf7 form .wpcf7-form-control-wrap{ display:block; position:relative; }
.dm-cf7 .v2-field{ cursor:default; }
.dm-cf7 .v2-input{ width:100%; }
.dm-cf7 textarea.v2-input{ min-height:120px; resize:vertical; }
.wpcf7-not-valid-tip{
  display:flex; gap:8px; align-items:flex-start; margin:6px 0 0; font-size:var(--v2-fs-small); font-weight:600; line-height:1.4; color:var(--v2-error);
}
.wpcf7-not-valid-tip::before{
  content:"!"; flex:none; display:grid; place-items:center; width:18px; height:18px; margin-top:1px; border-radius:50%;
  background:var(--v2-error); color:#FFFFFF; font-size:12px; font-weight:800;
}
.v2-contact .wpcf7-not-valid-tip{ color:#FFB4AD; }
.v2-contact .wpcf7-not-valid-tip::before{ background:#FFB4AD; color:#291C2C; }
.dm-cf7 .v2-consent{ cursor:pointer; }
.dm-cf7 .v2-consent .wpcf7-form-control-wrap{ display:contents; }
.dm-cf7 .v2-consent .wpcf7-list-item{ margin:0; display:block; }
.dm-cf7 .v2-consent .wpcf7-not-valid-tip{ grid-column:1 / -1; }
.dm-cf7 .v2-consent__text a{ color:var(--v2-c-link,#B0106A); font-weight:600; }
.v2-contact .dm-cf7 .v2-consent:hover{ background:rgba(255,255,255,.05); }
.wpcf7-spinner{ display:none; }
.dm-cf7 .wpcf7-response-output{
  margin:14px 0 0; padding:12px 14px; border-radius:12px; font-size:var(--v2-fs-small); font-weight:600; line-height:1.5;
  background:var(--v2-error-bg); border:1.5px solid var(--v2-error); color:#7A1A12;
}
.dm-cf7 .wpcf7-response-output:empty,.dm-cf7[data-status="init"] .wpcf7-response-output,
.dm-cf7[data-status="sent"] .wpcf7-response-output,.dm-cf7[data-status="invalid"] .wpcf7-response-output,
.dm-cf7[data-status="submitting"] .wpcf7-response-output{ display:none; }
.dm-cf7[data-state="accepted"] .v2-errsum{ display:none; }
.dm-cf7 .v2-errsum__title{ margin:0 0 8px; font-size:1.0625rem; font-weight:800; color:#7A1A12; }
.dm-cf7 .v2-errsum__list{ margin:0; padding-left:1.2em; list-style:disc; color:#7A1A12; }
.dm-cf7 .v2-form__done:not([hidden]){ display:grid; }
.dm-form-fallback{ padding:8px 0; }

/* ---------------------------------------------------------------- 10 sticky Call/WhatsApp bar + footer cookie button */
.dm-sticky{ display:none; }
@media (max-width:759.98px){
  .dm-sticky{
    position:fixed; left:12px; right:12px; bottom:calc(12px + env(safe-area-inset-bottom)); z-index:90;
    display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:8px; border-radius:var(--v2-r-pill);
    background:rgba(10,19,34,.92); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
    box-shadow:0 0 0 1px rgba(255,255,255,.12),0 18px 40px -16px rgba(0,0,0,.8);
    transition:transform .3s var(--v2-ease-out),opacity .3s;
  }
  .dm-sticky a{
    display:flex; align-items:center; justify-content:center; gap:8px; min-height:48px; border-radius:var(--v2-r-pill);
    font-family:var(--v2-font); font-weight:700; font-size:1rem; text-decoration:none; color:#FFFFFF;
  }
  .dm-sticky svg{ width:20px; height:20px; }
  .dm-sticky__call{ background:#B8137A var(--v2-grad-deep); }
  .dm-sticky__wa{ background:#1F7A4D; }
  .dm-sticky__wa svg{ fill:currentColor; }
  .dm-sticky__call svg{ fill:none; stroke:currentColor; stroke-width:2; }
  body.dm-sticky-hidden .dm-sticky,body.v2-menu-open .dm-sticky{ transform:translateY(140%); opacity:0; }
  .v2-footer{ padding-bottom:calc(96px + env(safe-area-inset-bottom)); }
}
.v2-footer .dmc-active .footer-consent,.dmc-active .v2-footer .footer-consent{
  font:inherit; font-size:inherit; letter-spacing:inherit; text-transform:none; color:inherit; text-decoration:underline; text-underline-offset:.2em;
}
.v2-footer .footer-consent:hover{ color:var(--v2-pink-hi); }

/* ---------------------------------------------------------------- 11 legacy wrappers */
/* Custom HTML kept from the old pages: neutral, readable defaults on the dark/cream surfaces. */
.dm-legacy--inline{ color:var(--v2-c-body,#C9D1DD); }
.dm-legacy--inline img{ max-width:100%; height:auto; border-radius:var(--v2-r-md); }
.dm-legacy--inline h2,.dm-legacy--inline h3{ color:var(--v2-c-heading,#FFFFFF); }
.dm-legacy--inline a{ color:var(--v2-c-link,#F45BA8); }

/* ---------------------------------------------------------------- responsive */
@media (max-width:1079.98px){
  .dm-prose--aside{ grid-template-columns:minmax(0,1fr); }
  .dm-prose__note{ position:static; }
}
@media (max-width:759.98px){
  .dm-sec--first{ padding-top:calc(var(--v2-sec-pad) + 24px); }
  .dm-table table,.dm-table thead,.dm-table tbody,.dm-table tr,.dm-table td{ display:block; }
  .dm-table thead{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
  .dm-table tr{ padding:14px 16px; border-bottom:1px solid var(--v2-c-line); }
  .dm-table tr:last-child{ border-bottom:0; }
  .dm-table td{ padding:4px 0; border:0; }
  .dm-table td[data-label]::before{ content:attr(data-label); display:block; margin-bottom:2px; font-family:var(--v2-mono); font-size:.75rem; letter-spacing:.06em; text-transform:uppercase; color:var(--v2-c-accent); }
  .dm-hero__stats li{ flex:1 1 140px; }
}

/* ---------------------------------------------------------------- sitemap page (kept as custom HTML) */
.dm-legacy--inline .sm-cols{ display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:var(--v2-gap); }
.dm-legacy--inline .sm-group{ padding:clamp(20px,2vw,30px); border-radius:var(--v2-r-md); background:var(--v2-c-card-bg); border:1px solid var(--v2-c-card-line); box-shadow:var(--v2-c-card-shadow); }
.dm-legacy--inline .sm-group h2{ margin:0; font-size:var(--v2-fs-h3); font-weight:800; letter-spacing:-.025em; }
.dm-legacy--inline .sm-count{ display:inline-block; margin-top:6px; font-family:var(--v2-mono); font-size:.8125rem; color:var(--v2-c-accent); }
.dm-legacy--inline .sm-note{ margin:8px 0 14px; color:var(--v2-c-mute); font-size:var(--v2-fs-small); }
.dm-legacy--inline .sm-list{ list-style:none; margin:0; padding:0; display:grid; gap:4px; }
.dm-legacy--inline .sm-list a{ display:flex; flex-direction:column; padding:8px 10px; margin:0 -10px; border-radius:10px; text-decoration:none; }
.dm-legacy--inline .sm-list a:hover{ background:var(--v2-c-accent-bg); }
.dm-legacy--inline .sm-list b{ color:var(--v2-c-heading); }
.dm-legacy--inline .sm-list span{ color:var(--v2-c-body); font-size:var(--v2-fs-small); }
