:root {
  --meta-green: #087946;
  --meta-green-dark: #055c35;
  --meta-green-light: #eaf6f0;
  --meta-ink: #111312;
  --meta-text: #171918;
  --meta-muted: #69726d;
  --meta-border: #dfe6e2;
  --meta-soft: #f4f7f5;
  --meta-white: #fff;
  --meta-max: 1240px;
}
/* Meta styles are deliberately scoped to page content. The global header/footer
   inherit only from main.css so there is one visual and structural site chrome. */
body.dmlabs-meta-landing-page .meta-main,
body.dmlabs-service-detail-page .service-detail-main,
body.dmlabs-meta-success-page .meta-success-main { color: var(--meta-text); font-size: 16px; line-height: 1.55; }
body.dmlabs-meta-success-page .meta-success-main a { color: inherit; text-decoration: none; }
body.dmlabs-meta-landing-page .meta-main a,
body.dmlabs-service-detail-page .service-detail-main a { text-decoration: none; }
body.dmlabs-meta-landing-page .meta-main button,
body.dmlabs-service-detail-page .service-detail-main button,
body.dmlabs-meta-success-page .meta-success-main button { font: inherit; }
body.dmlabs-meta-landing-page .meta-main :focus-visible,
body.dmlabs-service-detail-page .service-detail-main :focus-visible,
body.dmlabs-meta-success-page .meta-success-main :focus-visible { outline: 3px solid rgba(8,121,70,.28); outline-offset: 3px; }
body.dmlabs-meta-landing-page .meta-main ::selection,
body.dmlabs-service-detail-page .service-detail-main ::selection,
body.dmlabs-meta-success-page .meta-success-main ::selection { background: var(--meta-green); color: #fff; }
.meta-shell { width: min(var(--meta-max), calc(100% - 56px)); margin: 0 auto; }
.meta-skip-link { position: fixed; z-index: 999999; left: 16px; top: -100px; padding: 12px 16px; background: #fff; border: 2px solid var(--meta-green); border-radius: 8px; font-weight: 700; }
.meta-skip-link:focus { top: 16px; }

/* Shared type/buttons */
.meta-eyebrow { margin: 0 0 18px; color: var(--meta-green); font-size: 12px; font-weight: 800; letter-spacing: .14em; line-height: 1.2; text-transform: uppercase; }
.meta-eyebrow--light { color: #91d7b2; }
.meta-eyebrow--center { text-align: center; }
.meta-copy { margin: 0; color: var(--meta-muted); font-size: 17px; line-height: 1.7; }
.meta-copy--light { color: #bec8c3; }
.meta-lead { margin: 0; max-width: 680px; color: #4b5550; font-size: clamp(18px,1.55vw,22px); line-height: 1.58; }
.meta-button { min-height: 52px; display: inline-flex; justify-content: center; align-items: center; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.meta-button:hover { transform: translateY(-2px); }
body.dmlabs-meta-landing-page .meta-button--primary,
body.dmlabs-service-detail-page .meta-button--primary,
body.dmlabs-meta-success-page .meta-button--primary { color: #fff; background: var(--meta-green); }
.meta-button--primary:hover { background: var(--meta-green-dark); }
.meta-button--secondary { background: #fff; color: var(--meta-text); border-color: #cbd5cf; }
.meta-button--secondary:hover { border-color: #141816; }
.meta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.meta-text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-weight: 700; }
.meta-text-link:hover { color: var(--meta-green); }

/* Hero — uses the shared homepage hero system from main.css. */
.meta-home-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 570px;
  object-fit: cover;
}

@media (max-width: 1060px) {
  .meta-home-hero__media img { min-height: 480px; }
}

@media (max-width: 767px) {
  .meta-home-hero__media img { min-height: 390px; }
}

/* Hero trust proof — mirrors the supplied stacked-avatar treatment. */
.meta-hero-trust { display: flex; align-items: center; gap: 18px; margin-top: 36px; }
.meta-hero-trust__faces { display: flex; align-items: center; flex: 0 0 auto; padding-left: 2px; }
.meta-hero-trust__faces img { width: 50px; height: 50px; margin-left: -12px; border: 3px solid #fff; border-radius: 50%; object-fit: cover; box-shadow: 0 4px 14px rgba(17,19,18,.14); }
.meta-hero-trust__faces img:first-child { margin-left: 0; }
.meta-hero-trust p { margin: 0; color: var(--meta-text); font-size: clamp(17px,1.55vw,23px); line-height: 1.35; }
.meta-hero-trust strong { font-weight: 800; }

/* Logos */
.meta-logo-strip { padding: 48px 0 70px; border-top: 1px solid #eef1ef; }
.meta-logo-carousel { margin-top: 28px; overflow: hidden; position: relative; }
.meta-logo-carousel::before,
.meta-logo-carousel::after { content: ''; position: absolute; top: 0; bottom: 0; width: 64px; z-index: 2; pointer-events: none; }
.meta-logo-carousel::before { left: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 100%); }
.meta-logo-carousel::after { right: 0; background: linear-gradient(270deg, #fff 0%, rgba(255,255,255,0) 100%); }
.meta-logo-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: meta-logo-scroll 34s linear infinite; will-change: transform; }
.meta-logo-carousel:hover .meta-logo-track { animation-play-state: paused; }
.meta-logo-item { flex: 0 0 auto; min-width: 170px; min-height: 120px; display: grid; place-items: center; }
.meta-logo-item img { width: auto; max-width: 210px; max-height: 96px; filter: brightness(0); opacity: .2; object-fit: contain; }
.meta-logo-item--bribie img { transform: scale(.65); }
@keyframes meta-logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 32px)); }
}

/* Sections */
.meta-section { padding: clamp(88px,9.5vw,142px) 0; }
.meta-section--dark { background: var(--meta-ink); color: #fff; }
.meta-section--soft { background: var(--meta-soft); }
.meta-section h2 { margin: 0; font-size: clamp(44px,5vw,72px); line-height: 1.03; letter-spacing: -.055em; font-weight: 700; }
.meta-section-intro--split { display: grid; grid-template-columns: 1.15fr .65fr; gap: clamp(50px,8vw,120px); align-items: end; margin-bottom: 64px; }
.meta-section-intro--split > div:last-child { max-width: 520px; justify-self: end; }

/* Section artwork — supplied artwork is shown at native appearance, with no wash/opacity layer. */
.meta-section--case-art,
.meta-section--fit-art { position: relative; overflow: hidden; isolation: isolate; }
.meta-section--case-art::before,
.meta-section--fit-art::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--meta-section-art); background-size: cover; background-repeat: no-repeat; background-position: center; }
.meta-section--fit-art::before { transform: scaleX(-1); }
.meta-section--case-art > .shell,
.meta-section--fit-art > .shell { position: relative; z-index: 1; }

/* Problem */
.meta-problem { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(70px,9vw,140px); align-items: start; }
.meta-problem h2 { max-width: 720px; }
.meta-problem .meta-copy { max-width: 650px; margin-top: 28px; }
.meta-icon-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid #2e3532; }
.meta-icon-list li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start; padding: 27px 0; border-bottom: 1px solid #2e3532; }
.meta-icon-list li span { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #3b4841; border-radius: 50%; color: #8fdaaF; font-size: 10px; font-weight: 800; }
.meta-icon-list li strong { color: #f7f8f7; font-size: clamp(18px,1.7vw,23px); line-height: 1.35; letter-spacing: -.02em; }

/* Services */
.meta-services { border-top: 1px solid var(--meta-border); }
.meta-service { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 20px; padding: 28px 5px; border-bottom: 1px solid var(--meta-border); transition: padding .2s ease, background .2s ease; }
.meta-service:hover { padding-left: 18px; padding-right: 18px; background: var(--meta-soft); }
.meta-service__number { color: var(--meta-green); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.meta-service h3 { margin: 0; font-size: clamp(28px,3vw,42px); line-height: 1.1; letter-spacing: -.04em; }
.meta-service p { margin: 7px 0 0; color: var(--meta-muted); font-size: 14px; }

/* Shared service-detail focus section */
.service-focus-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--meta-border); }
.service-focus-list article { padding: 28px 30px 28px 0; border-bottom: 1px solid var(--meta-border); }
.service-focus-list article:nth-child(odd) { padding-right: 42px; border-right: 1px solid var(--meta-border); }
.service-focus-list article:nth-child(even) { padding-left: 42px; }
.service-focus-list strong { display: block; margin-bottom: 8px; font-size: clamp(22px,2vw,30px); line-height: 1.15; letter-spacing: -.035em; }
.service-focus-list p { margin: 0; color: var(--meta-muted); font-size: 15px; line-height: 1.65; }

.service-proof__principles strong { font-size: clamp(26px,2vw,34px); }
.service-proof__principles span { max-width: 150px; }
.service-proof__note { margin: 24px 0 0; padding-top: 22px; border-top: 1px solid #cfd8d3; color: var(--meta-text); font-size: 16px; font-weight: 600; line-height: 1.6; }

/* Creative */
.meta-creative-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.meta-creative-card { display: block; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.meta-creative-card__image { position: relative; display: block; overflow: hidden; aspect-ratio: .62; border-radius: 18px; background: #dde4e0; }
.meta-creative-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.meta-creative-card:hover img { transform: scale(1.025); }
.meta-play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--meta-green); box-shadow: 0 12px 30px rgba(0,0,0,.14); }
.meta-play::before {
  content: '';
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}
.meta-creative-card__title { display: block; margin-top: 15px; font-size: 15px; font-weight: 700; }

/* Case study */
.meta-section--case-art { padding: clamp(78px,7vw,104px) 0; }
.meta-case { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(48px,6vw,86px); align-items: center; }
.meta-case__content { max-width: 720px; }
.meta-section--case-art .meta-case h2 { font-size: clamp(42px,4.2vw,62px); }
.meta-case__subhead { margin: 18px 0 16px; color: var(--meta-green); font-size: 18px; font-weight: 700; }
.meta-case .meta-copy { max-width: 650px; }
.meta-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin: 24px 0 22px; }
.meta-metrics > div { min-width: 0; padding: 14px 0 12px; border-top: 1px solid #cfd8d3; border-bottom: 0; }
.meta-metrics strong { display: block; color: var(--meta-green); font-size: clamp(32px,2.6vw,44px); line-height: .98; letter-spacing: -.05em; }
.meta-metrics span { display: block; margin-top: 4px; color: var(--meta-muted); font-size: 10px; font-weight: 700; line-height: 1.25; letter-spacing: .09em; text-transform: uppercase; }
.meta-case blockquote { margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid #cfd8d3; font-size: 17px; font-weight: 600; line-height: 1.55; }
.meta-case cite { display: flex; align-items: center; gap: 12px; margin-top: 16px; color: var(--meta-muted); font-size: 12px; font-style: normal; font-weight: 400; }
.meta-case cite img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.meta-case cite span { display: grid; }
.meta-case cite strong { color: var(--meta-text); font-size: 13px; }
.meta-case__media { min-width: 0; }
.meta-case__image-slot { min-height: 500px; height: 100%; border-radius: 24px; box-shadow: 0 18px 50px rgba(17,31,24,.08); }
.meta-case__image-slot img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; }

/* Process */
.meta-process { display: grid; grid-template-columns: .77fr 1.23fr; gap: clamp(60px,9vw,135px); }
.meta-process__intro { position: sticky; top: 135px; align-self: start; }
.meta-process__list { border-top: 1px solid #303733; }
.meta-process__list article { display: grid; grid-template-columns: .52fr 1fr; gap: 30px; padding: 30px 0; border-bottom: 1px solid #303733; }
.meta-process__list h3 { margin: 0; color: #fff; font-size: clamp(25px,2.7vw,38px); letter-spacing: -.04em; line-height: 1.1; }
.meta-process__list p { margin: 0; color: #aeb9b3; font-size: 15px; line-height: 1.65; }

/* Fit */
.meta-fit { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(65px,9vw,135px); }
.meta-fit__intro .meta-copy { margin-top: 28px; max-width: 620px; }
.meta-fit__lists { display: grid; gap: 34px; }
.meta-check-list, .meta-not-fit ul { list-style: none; padding: 0; margin: 0; }
.meta-check-list { border-top: 1px solid var(--meta-border); }
.meta-check-list li { position: relative; padding: 21px 0 21px 42px; border-bottom: 1px solid var(--meta-border); font-weight: 600; }
.meta-check-list li::before { content: '✓'; position: absolute; left: 0; top: 19px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--meta-green); color: #fff; font-size: 12px; }
.meta-not-fit { padding: 28px 30px; border-radius: 18px; background: var(--meta-soft); }
.meta-not-fit h3 { margin: 0 0 18px; font-size: 22px; letter-spacing: -.03em; }
.meta-not-fit li { position: relative; padding: 8px 0 8px 25px; color: var(--meta-muted); }
.meta-not-fit li::before { content: '×'; position: absolute; left: 0; top: 6px; color: #ab4a43; font-weight: 800; }

/* FAQ */
.meta-faq { display: grid; grid-template-columns: .64fr 1.36fr; gap: clamp(60px,8vw,120px); align-items: start; }
.meta-faq__intro { position: sticky; top: 135px; }
.meta-faq__intro .meta-copy { margin-top: 12px; }
.meta-faq__list { border-top: 1px solid #ccd5d0; }
.meta-faq details { border-bottom: 1px solid #ccd5d0; }
.meta-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 25px 0; cursor: pointer; font-size: clamp(18px,1.65vw,23px); font-weight: 700; letter-spacing: -.02em; }
.meta-faq summary::-webkit-details-marker { display: none; }
.meta-faq details > div {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  padding: 0 52px 0 0;
  transition:
    grid-template-rows .42s cubic-bezier(.4,0,.2,1),
    opacity .26s ease,
    padding-bottom .36s cubic-bezier(.4,0,.2,1);
}
.meta-faq details[open] > div {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-bottom: 26px;
}
.meta-faq details > div > * { min-height: 0; overflow: hidden; }
.meta-faq details p { margin: 0; color: var(--meta-muted); line-height: 1.75; }
.meta-faq-icon { position: relative; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid #bcc8c1; }
.meta-faq-icon::before, .meta-faq-icon::after { content: ''; position: absolute; left: 7px; right: 7px; top: 13px; border-top: 1.5px solid var(--meta-text); }
.meta-faq-icon::after { transform: rotate(90deg); transition: transform .32s cubic-bezier(.4,0,.2,1); }
.meta-faq details[open] .meta-faq-icon::after { transform: rotate(0); }

/* Creative modal */
.meta-video-dialog { width: min(900px,calc(100% - 32px)); max-width: 900px; border: 0; padding: 0; border-radius: 22px; background: #111; color: #fff; box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.meta-video-dialog::backdrop { background: rgba(4,8,6,.78); backdrop-filter: blur(4px); }
.meta-video-dialog__inner { position: relative; padding: 24px; }
.meta-video-dialog h2 { margin: 0 48px 18px 0; font-size: 24px; letter-spacing: -.03em; }
.meta-video-dialog video { display: block; width: 100%; max-height: 75vh; border-radius: 14px; background: #000; }
.meta-video-dialog__close { position: absolute; right: 17px; top: 14px; width: 38px; height: 38px; border: 1px solid #424946; border-radius: 50%; background: transparent; color: #fff; font-size: 25px; line-height: 1; cursor: pointer; }

/* Success page */
.dmlabs-meta-success-page { min-height: 100vh; background: #fff; }
.meta-success-main { padding: 20px 0 100px; }
.meta-success-hero { padding: clamp(48px,6vw,82px) 0 40px; }
.meta-success-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(520px,600px); gap: clamp(48px,6vw,96px); align-items: start; }
.meta-success-copy { max-width: 760px; }
.meta-success-copy > h1 { margin: 0 0 28px; font-size: clamp(62px,7vw,102px); line-height: .91; letter-spacing: -.07em; }
.meta-success-copy > h1 span { display: block; }
.meta-success-copy > h1 span:last-child { color: var(--meta-green); }
.meta-success-copy > .meta-lead { max-width: 650px; font-size: 17px; }
.meta-success-next { margin-top: 74px; }
.meta-success-next > h2 { margin: 0; font-size: clamp(35px,4vw,52px); letter-spacing: -.05em; line-height: 1.05; }
.meta-success-next > p { margin: 12px 0 30px; color: var(--meta-muted); }
.meta-success-steps { border-top: 1px solid var(--meta-border); }
.meta-success-steps article { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 23px 0; border-bottom: 1px solid var(--meta-border); }
.meta-success-step-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--meta-green-light); color: var(--meta-green); }
.meta-success-step-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.meta-success-step-icon svg path[fill] { stroke: none; }
.meta-success-steps h3 { margin: 0; font-size: 19px; line-height: 1.35; letter-spacing: -.025em; }
.meta-success-steps p { margin: 6px 0 0; color: var(--meta-muted); font-size: 14px; line-height: 1.6; }
.meta-success-booking { position: sticky; top: 42px; padding-top: 12px; }
.admin-bar .meta-success-booking { top: 74px; }
.dmlabs-meta-success-page .dmlabs-booking-card { max-width: 600px; margin-left: auto; box-shadow: 0 26px 70px rgba(20,34,27,.08); }

@media (max-width: 1100px) {
  .meta-problem, .meta-case, .meta-process, .meta-fit, .meta-success-layout { grid-template-columns: 1fr; }
  .meta-section-intro--split { grid-template-columns: 1fr; gap: 28px; }
  .meta-section-intro--split > div:last-child { max-width: 720px; justify-self: start; }
  .meta-creative-grid { grid-template-columns: repeat(2,1fr); }
  .meta-process__intro, .meta-faq__intro { position: static; }
  .meta-faq { grid-template-columns: 1fr; }
  .meta-case__media { max-width: 760px; }
  .meta-success-booking { position: static; padding-top: 0; }
  .meta-success-booking .dmlabs-booking-card { max-width: 720px; margin-left: 0; }
}

@media (max-width: 767px) {
  .meta-shell { width: min(100% - 32px,var(--meta-max)); }
  .meta-section--case-art::before { background-position: center right; }
  .meta-section--fit-art::before { background-position: center right; } /* flips visually to centre-left */
  .meta-success-layout { gap: 34px; }
  .meta-success-booking { order: -1; width: 100%; padding-top: 0; }
  .meta-success-booking .dmlabs-booking-card { max-width: 100%; margin: 0; }
  .meta-success-copy { max-width: none; }
  .meta-success-copy > h1 { font-size: clamp(50px,15vw,70px); }
  .meta-actions .meta-button { flex: 1 1 190px; }
  .meta-trust-inline { align-items: flex-start; flex-direction: column; }
  .meta-logo-track { gap: 44px; }
  .meta-logo-item { min-width: 148px; min-height: 104px; }
  .meta-logo-item img { max-width: 170px; max-height: 82px; }
  .meta-hero-trust { gap: 14px; margin-top: 28px; }
  .meta-hero-trust__faces img { width: 42px; height: 42px; margin-left: -10px; border-width: 2px; }
  .meta-hero-trust p { font-size: 15px; }
  .meta-section { padding: 76px 0; }
  .meta-section h2 { font-size: clamp(37px,11vw,54px); }
  .meta-icon-list li { grid-template-columns: 45px 1fr; }
  .meta-service { grid-template-columns: 42px 1fr; padding: 23px 0; }
  .meta-service h3 { font-size: 27px; }
  .service-focus-list { grid-template-columns: 1fr; }
  .service-focus-list article, .service-focus-list article:nth-child(odd), .service-focus-list article:nth-child(even) { padding: 22px 0; border-right: 0; }
  .service-focus-list strong { font-size: 24px; }
  .meta-creative-grid { gap: 12px; }
  .meta-creative-card__image { border-radius: 13px; }
  .meta-play { width: 44px; height: 44px; }
  .meta-creative-card__title { font-size: 13px; }
  .meta-metrics { grid-template-columns: 1fr; gap: 0; margin: 22px 0 20px; }
  .meta-metrics > div { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 20px; padding: 13px 0; border-top: 1px solid #cfd8d3; border-bottom: 0; }
  .meta-metrics strong { grid-column: 2; grid-row: 1; font-size: clamp(34px,10vw,44px); text-align: right; }
  .meta-metrics span { grid-column: 1; grid-row: 1; margin-top: 0; text-align: left; }
  .meta-case__image-slot, .meta-case__image-slot img { min-height: 360px; }
  .meta-section--case-art { padding: 68px 0; }
  .meta-process__list article { grid-template-columns: 1fr; gap: 10px; }
  .meta-fit__lists { gap: 24px; }
  .meta-faq details > div { padding-right: 0; }
  .meta-success-main { padding-bottom: 70px; }
  .meta-success-next { margin-top: 58px; }
}

@media (max-width: 480px) {
  .meta-hero-trust { align-items: flex-start; flex-direction: column; gap: 10px; }
  .meta-actions .meta-button { width: 100%; flex-basis: 100%; }
  .meta-logo-carousel::before, .meta-logo-carousel::after { width: 28px; }
  .meta-logo-track { gap: 32px; animation-duration: 26s; }
  .meta-logo-item { min-width: 128px; min-height: 88px; }
  .meta-logo-item img { max-width: 132px; max-height: 64px; }
  .meta-creative-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* v1.3.22 — align the Meta Ads landing page with the shared Dmlabs design system. */
body.dmlabs-meta-landing-page .meta-section--dark,
body.dmlabs-meta-landing-page .meta-section--soft,
body.dmlabs-service-detail-page .meta-section--dark,
body.dmlabs-service-detail-page .meta-section--soft {
  width: min(1500px, calc(100% - 48px));
  margin-inline: auto;
  padding: clamp(76px, 9vw, 132px) 0;
  overflow: hidden;
}
body.dmlabs-meta-landing-page .meta-section--dark,
body.dmlabs-service-detail-page .meta-section--dark {
  border-radius: 32px;
}
body.dmlabs-meta-landing-page .meta-section--soft,
body.dmlabs-service-detail-page .meta-section--soft {
  border-radius: 12px;
  background: #f4f7f5;
}

@media (max-width: 767px) {
  body.dmlabs-meta-landing-page .meta-section--dark,
  body.dmlabs-meta-landing-page .meta-section--soft,
  body.dmlabs-service-detail-page .meta-section--dark,
  body.dmlabs-service-detail-page .meta-section--soft {
    width: min(1500px, calc(100% - 32px));
  }
  body.dmlabs-meta-landing-page .meta-section--dark,
  body.dmlabs-service-detail-page .meta-section--dark {
    border-radius: 24px;
  }
  body.dmlabs-meta-landing-page .meta-section--soft,
  body.dmlabs-service-detail-page .meta-section--soft {
    border-radius: 12px;
  }
}


/* v1.3.39 — individual service pages use the same frameless breakout imagery as Home. */
body.dmlabs-image-breakout-page .meta-home-hero { overflow: visible; }
body.dmlabs-image-breakout-page .meta-home-hero .hero__visual { margin-right: -24px; }
body.dmlabs-image-breakout-page .meta-home-hero .dmlabs-breakout-image--hero {
  min-height: 570px;
  overflow: visible;
  background: transparent;
  border: 0;
}
body.dmlabs-image-breakout-page .meta-home-hero .dmlabs-breakout-image--hero img {
  width: 100%;
  height: 100%;
  min-height: 570px;
  object-fit: contain;
  object-position: center right;
  transform: scale(1.3);
  transform-origin: center left;
}

body.dmlabs-image-breakout-page .meta-section--case-art { overflow: visible; }
body.dmlabs-image-breakout-page .meta-case__media {
  margin-right: -36px;
  min-height: 0;
}
body.dmlabs-image-breakout-page .meta-case__image-slot {
  min-height: 0;
  height: auto;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: scale(1.2);
  transform-origin: center left;
}
body.dmlabs-image-breakout-page .meta-case__image-slot img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: 560px;
  object-fit: contain;
  object-position: center right;
}

@media (max-width: 1060px) {
  body.dmlabs-image-breakout-page .meta-home-hero .hero__visual,
  body.dmlabs-image-breakout-page .meta-case__media { margin-right: 0; }
}

@media (max-width: 767px) {
  body.dmlabs-image-breakout-page .meta-home-hero .dmlabs-breakout-image--hero,
  body.dmlabs-image-breakout-page .meta-home-hero .dmlabs-breakout-image--hero img {
    min-height: 0;
  }
  body.dmlabs-image-breakout-page .meta-home-hero .dmlabs-breakout-image--hero img {
    height: auto;
    max-height: 430px;
    object-position: center;
    transform-origin: center center;
  }
  body.dmlabs-image-breakout-page .meta-home-hero .hero__visual {
    min-height: 360px;
    display: grid;
    align-items: center;
  }

  body.dmlabs-image-breakout-page .meta-section--case-art {
    margin-top: 100px;
    padding-top: 92px;
  }
  body.dmlabs-image-breakout-page .meta-case { gap: 18px; }
  body.dmlabs-image-breakout-page .meta-case__media {
    order: -1;
    width: 100%;
    max-width: none;
    margin: -200px -8px 0;
  }
  body.dmlabs-image-breakout-page .meta-case__image-slot {
    transform-origin: center center;
  }
  body.dmlabs-image-breakout-page .meta-case__image-slot img {
    max-height: 420px;
    object-position: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .meta-faq details > div,
  .meta-faq-icon::after {
    transition: none !important;
  }
}


/* v1.3.42 — service-detail desktop imagery grows away from adjacent copy. */
@media (min-width: 1101px) {
  body.dmlabs-image-breakout-page .meta-home-hero .dmlabs-breakout-image--hero img,
  body.dmlabs-image-breakout-page .meta-case__image-slot {
    transform-origin: center left;
  }
}


/* v1.3.43 — bring service-detail desktop imagery slightly closer to copy. */
@media (min-width: 1101px) {
  body.dmlabs-image-breakout-page .meta-home-hero .dmlabs-breakout-image--hero img,
  body.dmlabs-image-breakout-page .meta-case__image-slot {
    transform-origin: 20% center;
  }
}

/* v1.3.44 — pull service-detail hero imagery slightly closer to copy on desktop.
   Case-study/proof imagery retains the v1.3.43 spacing. */
@media (min-width: 1101px) {
  body.dmlabs-image-breakout-page .meta-home-hero .dmlabs-breakout-image--hero img {
    transform-origin: 30% center;
  }
}
