/* ===========================================================
   Donimate — Apple-style light theme (PILOT: homepage only)
   Scoped entirely under `body.apple` so no other page is affected.
   Palette: white / #f5f5f7 surfaces, graphite text, refined deep-red accent.
   =========================================================== */

body.apple {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --text: #1d1d1f;
  --text-soft: #6e6e73;
  --border: rgba(0, 0, 0, 0.08);
  --accent: #c8102e;
  --accent-dark: #a60d26;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.12);
  --ease: cubic-bezier(0, 0, 0.3642, 1);

  background-color: var(--bg);
  color: var(--text);
}

/* Kill the canvas-inversion trick used by the old dark theme, and the
   decorative blurred blobs — the light theme is clean and crisp instead. */
body.apple .mil-dark-bg:before {
  display: none !important;
}
body.apple .mil-animation-frame,
body.apple .mil-gradient {
  display: none !important;
}

/* ---------- Surfaces --------------------------------------- */
body.apple section {
  background-color: var(--bg);
}
body.apple .mil-dark-bg {
  background-color: var(--bg-alt) !important;
}
body.apple .mil-soft-bg {
  background-color: var(--bg-alt) !important;
}

/* Flip the "on-dark" helper text colors to read on light surfaces */
body.apple .mil-dark-bg .mil-muted,
body.apple .mil-soft-bg .mil-muted,
body.apple .apple-hero .mil-muted,
body.apple footer .mil-muted {
  color: var(--text) !important;
}
body.apple .mil-dark-bg .mil-light-soft,
body.apple .mil-soft-bg .mil-light-soft,
body.apple .apple-hero .mil-light-soft,
body.apple footer .mil-light-soft {
  color: var(--text-soft) !important;
}

/* ---------- Typography ------------------------------------- */
body.apple h1,
body.apple .mil-h1 {
  letter-spacing: -0.022em;
  font-weight: 600;
  line-height: 1.05;
}
body.apple h2,
body.apple .mil-h2 {
  letter-spacing: -0.02em;
  font-weight: 600;
  line-height: 1.08;
}
body.apple h3,
body.apple h4,
body.apple h5,
body.apple .mil-h3 {
  letter-spacing: -0.015em;
  font-weight: 600;
}
body.apple p {
  color: var(--text-soft);
}
/* mil-thin is the lighter half of a heading — keep it airy */
body.apple .mil-thin {
  font-weight: 200;
  color: var(--text-soft);
}

/* ---------- Accent + links --------------------------------- */
body.apple .mil-accent,
body.apple .mil-label.mil-accent {
  color: var(--accent) !important;
}
body.apple .mil-marker {
  background-color: var(--accent);
}
body.apple .mil-social-icons li a:hover,
body.apple .mil-social-icons.mil-dark li a:hover {
  color: var(--accent);
}

/* ---------- Breadcrumbs (some pages used light-on-dark) ----- */
body.apple .mil-breadcrumbs li a,
body.apple .mil-breadcrumbs li:after {
  color: var(--text-soft) !important;
}
body.apple .mil-breadcrumbs li a:hover {
  color: var(--accent) !important;
}
body.apple .mil-breadcrumbs.mil-light:before,
body.apple .mil-breadcrumbs:before {
  background-color: var(--border);
}

/* ---------- Buttons ---------------------------------------- */
body.apple .mil-button {
  background-color: var(--accent);
  color: #fff;
  letter-spacing: 1px;
  box-shadow: 0 6px 18px rgba(200, 16, 46, 0.25);
}
body.apple .mil-button:hover {
  background-color: var(--accent-dark);
  filter: none;
}
body.apple .mil-button svg {
  background-color: #fff;
}
body.apple .mil-button svg path {
  fill: var(--accent);
}
/* small circular arrow buttons (cards, newsletter) */
body.apple .mil-button.mil-icon-button-sm svg {
  background-color: var(--accent);
}
body.apple .mil-button.mil-icon-button-sm svg path {
  fill: #fff;
}
body.apple .mil-button.mil-icon-button-sm {
  box-shadow: none;
}

/* ---------- Hero (connected network) ----------------------- */
body.apple .apple-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--bg);
  height: auto;
  min-height: 92vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 170px 0 120px;
}
body.apple .apple-hero .container {
  height: auto;
  display: block;
}
body.apple .apple-hero .mil-banner-content {
  padding-bottom: 0;
}
body.apple .apple-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
/* keep the headline crisp over the constellation */
body.apple .apple-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    var(--bg) 0%,
    rgba(255, 255, 255, 0.9) 32%,
    rgba(255, 255, 255, 0.35) 55%,
    rgba(255, 255, 255, 0) 72%
  );
}
body.apple .apple-hero .container {
  position: relative;
  z-index: 2;
}
body.apple .apple-hero h1 {
  color: var(--text);
  font-size: clamp(44px, 6vw, 88px);
  margin-bottom: 32px;
}
body.apple .apple-hero .apple-hero-sub,
body.apple .dm-chapter-hero .apple-hero-sub {
  color: var(--text-soft);
  font-size: 20px;
  line-height: 1.5;
  max-width: 520px;
  margin-bottom: 44px;
}
body.apple .apple-hero .apple-eyebrow,
body.apple .dm-chapter-hero .apple-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 28px;
  /* liquid glass chip */
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* ---------- Service cards ---------------------------------- */
body.apple .mil-services-grid-item {
  padding: 12px !important;
}
body.apple .mil-service-card-sm {
  height: 100%;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 32px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
body.apple .mil-service-card-sm:before {
  display: none;
}
body.apple .mil-service-card-sm:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
/* description + arrow are always visible (Apple shows, doesn't hide) */
body.apple .mil-service-card-sm p {
  opacity: 1;
  transform: none;
}
body.apple .mil-service-card-sm .mil-button {
  transform: none;
  filter: none;
  opacity: 1;
}

/* ---------- Rounded imagery -------------------------------- */
body.apple .mil-img-frame,
body.apple .mil-about-photo .mil-img-frame,
body.apple .mil-cover-frame,
body.apple .mil-team-card img {
  border-radius: var(--radius);
  overflow: hidden;
}

/* ---------- Team ------------------------------------------- */
body.apple .mil-team-card {
  border-radius: var(--radius);
}

/* ---------- Blog cards ------------------------------------- */
body.apple .mil-blog-card .mil-cover-frame {
  border-radius: var(--radius);
}
body.apple .mil-label {
  color: var(--text-soft);
}

/* ---------- Reviews ---------------------------------------- */
body.apple .mil-quote-icon path {
  fill: var(--accent);
}

/* ---------- Footer ----------------------------------------- */
body.apple footer.mil-dark-bg {
  background-color: var(--bg-alt) !important;
  border-top: 1px solid var(--border);
}
body.apple footer .mil-social-icons li a {
  color: var(--text);
}
/* Footer nav + link lists were white-on-dark; make them read on light */
body.apple footer .mil-footer-menu ul li a,
body.apple footer .mil-menu-list li a,
body.apple footer a {
  color: var(--text);
}
body.apple footer .mil-footer-menu ul li.mil-active a,
body.apple footer a:hover {
  color: var(--accent);
}
body.apple footer .mil-menu-list li a {
  color: var(--text-soft);
}
body.apple footer .mil-menu-list li a:hover {
  color: var(--accent);
}
body.apple .mil-subscribe-form input {
  background-color: #fff;
  border: 1px solid var(--border);
  color: var(--text);
}
body.apple .mil-subscribe-form input:focus,
body.apple .mil-subscribe-form input:hover {
  background-color: #fff;
  border-color: var(--accent);
}

/* ---------- Liquid Glass ----------------------------------- */
/* Apple-style translucent material: blurs + saturates whatever is behind,
   with a bright specular top edge and a soft lift shadow. */
body.apple .liquid-glass {
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 1px rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

/* ---------- Floating glass navbar (desktop) ----------------- */
body.apple .apple-navbar-center {
  position: fixed;
  top: 28px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 1000;
  display: none;
  align-items: center;
  gap: 4px;
  padding: 8px;
}
body.apple .apple-navbar-center a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}
body.apple .apple-navbar-center a:hover {
  color: var(--accent);
}
body.apple .apple-navbar-center a.mil-active {
  color: #fff;
  background-color: var(--accent);
}
body.apple .apple-navbar-cta {
  position: fixed;
  top: 30px;
  right: 60px;
  z-index: 1000;
  display: none;
  align-items: center;
  padding: 13px 26px;
  border-radius: 999px;
  background-color: var(--accent);
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px rgba(200, 16, 46, 0.25);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
body.apple .apple-navbar-cta:hover {
  background-color: var(--accent-dark);
  transform: translateY(-1px);
}

@media (min-width: 992px) {
  body.apple .apple-navbar-center,
  body.apple .apple-navbar-cta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  /* the old persistent hamburger is replaced by the inline pill nav on desktop */
  body.apple .mil-frame > .mil-frame-top .mil-menu-btn {
    display: none;
  }
}

/* ---------- Fullscreen nav menu → frosted glass ------------ */
body.apple .mil-menu-frame {
  background: rgba(255, 255, 255, 0.82) !important;
  -webkit-backdrop-filter: blur(34px) saturate(180%);
  backdrop-filter: blur(34px) saturate(180%);
}
body.apple .mil-menu-frame .mil-main-menu ul li a {
  color: var(--text);
}
body.apple .mil-menu-frame .mil-main-menu ul li a:hover,
body.apple .mil-menu-frame .mil-main-menu ul li.mil-active > a,
body.apple .mil-menu-frame .mil-main-menu ul li a.mil-active {
  color: var(--accent);
}
body.apple .mil-menu-frame .mil-muted {
  color: var(--text) !important;
}
body.apple .mil-menu-frame .mil-light-soft {
  color: var(--text-soft) !important;
}
body.apple .mil-menu-frame .mil-menu-list li a:hover {
  color: var(--accent);
}
body.apple .mil-menu-frame .mil-divider {
  background-color: var(--border);
}
/* close (X) button lines on the light menu */
body.apple .mil-menu-frame .mil-menu-btn span,
body.apple .mil-menu-frame .mil-menu-btn span:before,
body.apple .mil-menu-frame .mil-menu-btn span:after {
  background: var(--text);
}
/* hide the menu's duplicate (right-aligned) logo — the static top-left logo remains */
body.apple .mil-menu-frame .mil-frame-top .mil-logo {
  display: none;
}

/* ---------- Fixed frame / menu on light -------------------- */
/* No floating bar — the logo + hamburger sit cleanly over the page. */
body.apple .mil-frame .mil-frame-top {
  background: transparent !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
}
body.apple .mil-frame .mil-frame-top .mil-menu-btn span,
body.apple .mil-frame .mil-frame-top .mil-menu-btn span:before,
body.apple .mil-frame .mil-frame-top .mil-menu-btn span:after {
  background: var(--text) !important;
}
body.apple .mil-current-page,
body.apple .mil-back-to-top .mil-link {
  color: var(--text);
}

/* ---------- Dividers --------------------------------------- */
body.apple .mil-divider {
  background-color: var(--border);
}

/* ---------- services.html light panel ---------------------- */
body.apple .apple-lightpanel {
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
body.apple .apple-lightpanel .mil-muted {
  color: var(--text) !important;
}
body.apple .apple-lightpanel .mil-light-soft,
body.apple .apple-lightpanel .mil-descr {
  color: var(--text-soft) !important;
}
body.apple .apple-lightpanel .mil-light,
body.apple .apple-lightpanel .mil-service-list.mil-light li {
  color: var(--text) !important;
}
body.apple .apple-lightpanel .mil-service-list li {
  border-color: var(--border);
}

/* ---------- 404 ------------------------------------------- */
body.apple .mil-404 {
  color: #c7c7cc;
}
body.apple .mil-404-text {
  color: var(--text) !important;
}

/* ---------- Inner banners / decorative dark bits ----------- */
/* Any leftover "muted" (white) heading/text on a light inner page reads dark. */
body.apple .mil-inner-banner .mil-muted,
body.apple .mil-banner-content .mil-muted {
  color: var(--text) !important;
}
body.apple .mil-inner-banner .mil-light-soft,
body.apple .mil-banner-content .mil-light-soft {
  color: var(--text-soft) !important;
}

/* ===========================================================
   Scroll-driven 3D story (js/donimate-stage.js)
   Desktop: text chapters scroll on the left while a sticky
   WebGL stage (iPhone + glass honeycomb) animates on the right.
   Mobile: chapters stack, static visuals, no WebGL.
   =========================================================== */

/* overflow:hidden on the template wrapper would disable position:sticky */
body.apple .mil-wrapper {
  overflow: clip;
}

/* the template gives every <section> overflow:hidden, which also kills sticky */
body.apple .dm-story,
body.apple .dm-services {
  position: relative;
  overflow: clip;
}
body.apple .dm-story > .container {
  position: relative;
  z-index: 2;
}
body.apple .dm-chapters {
  width: 44%;
}
body.apple .dm-chapter {
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  padding: 140px 0 100px;
}
/* pinned chapters (desktop 3D only): the text holds still while the stage
   walks through a sequence — the extra height is the scroll budget */
@media (min-width: 992px) {
  body.apple .dm-story:not(.dm-static) .dm-chapter.dm-pin {
    display: block;
    height: 220vh;
    padding: 0;
  }
  body.apple .dm-story:not(.dm-static) .dm-chapter.dm-pin-long {
    height: 400vh; /* ten disciplines, ~a third of a screen each */
  }
  /* last chapter: just enough pinned scroll to build the steps, then release */
  body.apple .dm-story:not(.dm-static) .dm-chapter.dm-pin:last-child {
    height: 185vh;
  }
  body.apple .dm-story:not(.dm-static) .dm-chapter.dm-pin:last-child .dm-pin-inner {
    padding-bottom: 40px;
  }
  body.apple .dm-story:not(.dm-static) .dm-pin-inner {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    padding: 120px 0 80px;
  }
}
body.apple .dm-chapter-hero h1 {
  font-size: clamp(44px, 5.1vw, 84px);
  margin-bottom: 28px;
}
body.apple .dm-chapter h2 {
  font-size: clamp(36px, 3.7vw, 60px);
  margin-bottom: 26px;
}
body.apple .dm-chapter p {
  font-size: 19px;
  line-height: 1.55;
  max-width: 470px;
}
body.apple .dm-step {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
body.apple .dm-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 34px;
  margin-top: 44px;
}
body.apple .dm-points,
body.apple .dm-disciplines {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  width: 100%;
  max-width: 470px;
}
body.apple .dm-points li {
  padding: 14px 0;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
}
body.apple .dm-points li:last-child {
  border-bottom: 1px solid var(--border);
}
body.apple .dm-disciplines {
  counter-reset: dm-d;
}
body.apple .dm-disciplines li {
  counter-increment: dm-d;
  border-top: 1px solid var(--border);
}
body.apple .dm-disciplines li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 16px;
  padding: 11px 0;
  color: var(--text-soft);
  font-weight: 500;
  transition: color 0.4s var(--ease), padding 0.4s var(--ease);
}
body.apple .dm-disciplines li a:before {
  content: counter(dm-d, decimal-leading-zero);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  opacity: 0.6;
}
body.apple .dm-disciplines li a:hover,
body.apple .dm-disciplines li.is-active a {
  color: var(--text);
  padding-left: 10px;
}
body.apple .dm-disciplines li.is-active a:before {
  color: var(--accent);
  opacity: 1;
}

/* the story's last chapter already ends in open space: tighten the next section */
body.apple .dm-story + #about > .container {
  padding-top: 40px;
}

/* momentum phases, synced with the glass steps */
body.apple .dm-phases {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  width: 100%;
  max-width: 470px;
  counter-reset: dm-p;
}
body.apple .dm-phases li {
  counter-increment: dm-p;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  transition: color 0.4s var(--ease), padding 0.4s var(--ease);
}
body.apple .dm-phases li:last-child {
  border-bottom: 1px solid var(--border);
}
body.apple .dm-phases li:before {
  content: counter(dm-p, decimal-leading-zero);
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.6;
}
body.apple .dm-phases strong {
  font-weight: 600;
  color: var(--text);
  min-width: 78px;
}
body.apple .dm-phases span {
  font-size: 15px;
}
body.apple .dm-phases li.is-active {
  color: var(--text);
  padding-left: 10px;
}
body.apple .dm-phases li.is-active:before {
  color: var(--accent);
  opacity: 1;
}
body.apple .dm-phases li.is-active strong {
  color: var(--accent);
}

/* the stage column spans the whole story; the stage inside sticks */
body.apple .dm-story > .dm-stage-col {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
body.apple .dm-stage {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
}
body.apple .dm-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
body.apple .dm-ready .dm-canvas {
  opacity: 1;
}

/* services page: sticky iPhone previews in the (previously empty) left column;
   the stage bleeds left past the column so the glass never meets a hard edge */
body.apple .dm-services .dm-stage-col {
  position: relative;
}
body.apple .dm-services .dm-stage {
  height: 100vh;
  margin-top: -120px; /* align with the column's padded top */
  margin-left: -6vw;
  width: calc(100% + 6vw);
}
/* feather the column edges so the spinning plates fade instead of clipping */
body.apple .dm-services .dm-canvas {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 86%, transparent 100%);
}
body.apple .dm-services .mil-service-card-lg {
  transition: opacity 0.5s var(--ease);
}
@media (min-width: 992px) {
  body.apple .dm-services.dm-ready .mil-service-card-lg {
    opacity: 0.42;
  }
  body.apple .dm-services.dm-ready .mil-service-card-lg.is-active {
    opacity: 1;
  }
}

/* HUD callouts — thin graphite leader lines + liquid-glass labels */
body.apple .dm-hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
body.apple .dm-hud-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
body.apple .dm-hud-lines line {
  stroke: rgba(29, 29, 31, 0.32);
  stroke-width: 1;
}
body.apple .dm-hud-item {
  position: absolute;
  left: 0;
  top: 0;
}
body.apple .dm-hud-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 13px;
  height: 13px;
  margin: -6.5px 0 0 -6.5px;
  border: 1px solid rgba(29, 29, 31, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}
body.apple .dm-hud-dot:after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
}
body.apple .dm-hud-label {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  backdrop-filter: blur(14px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* card callouts: number, title and a one-line description */
body.apple .dm-hud-card .dm-hud-label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 3px;
  padding: 12px 18px 13px;
  border-radius: 18px;
  min-width: 190px;
}
body.apple .dm-hud-n {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
}
body.apple .dm-hud-t {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
body.apple .dm-hud-s {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-soft);
}
body.apple .dm-hud-s:empty {
  display: none;
}

/* static visuals are the mobile / no-WebGL fallback: real renders of the 3D
   scenes (img/3d/*.webp, captured from the live stage). They are CSS
   backgrounds on display:none elements, so desktop never downloads them. */
body.apple .dm-static-visual {
  display: none;
  width: 100%;
  max-width: 520px;
  margin: 26px auto 0;
  background: center / contain no-repeat;
}
body.apple .dm-static-hero {
  aspect-ratio: 760 / 900;
  background-image: url(../img/3d/hero-static.webp);
}
body.apple .dm-static-structure {
  aspect-ratio: 1 / 1;
  background-image: url(../img/3d/structure-static.webp);
}
body.apple .dm-static-momentum {
  aspect-ratio: 760 / 900;
  background-image: url(../img/3d/momentum-static.webp);
}
body.apple .dm-static-services {
  aspect-ratio: 760 / 900;
  background-image: url(../img/3d/services-static.webp);
}
body.apple .dm-static .dm-static-visual {
  display: block;
}
body.apple .dm-static > .dm-stage-col,
body.apple .dm-static .dm-stage {
  display: none;
}

@media (max-width: 991px) {
  body.apple .dm-chapters {
    width: 100%;
  }
  body.apple .dm-chapter {
    min-height: 0;
    padding: 70px 0 30px;
  }
  body.apple .dm-chapter-hero {
    padding-top: 150px;
  }
  body.apple .dm-chapter p {
    font-size: 17px;
  }
  body.apple .dm-story > .dm-stage-col,
  body.apple .dm-services .dm-stage {
    display: none;
  }
  body.apple .dm-story {
    padding-bottom: 60px;
  }
  body.apple .dm-static-visual {
    display: block;
  }
  body.apple .dm-static-hero {
    max-width: 360px;
    margin: 10px auto 0;
  }
  body.apple .dm-services .dm-static-services {
    max-width: 320px;
    margin: 0 auto 40px;
  }
}

/* ===========================================================
   Start a project — lead form (start-project.html, js/donimate-leads.js)
   Tap-to-choose areas and answers, a live summary, minimal typing.
   =========================================================== */
body.apple .dm-lead-banner {
  padding-bottom: 70px;
}
body.apple .dm-lead-intro {
  font-size: 19px;
  line-height: 1.55;
  max-width: 560px;
  margin: 0 auto;
}
body.apple .dm-lead {
  padding-bottom: 120px;
}
body.apple .dm-lead-form fieldset {
  border: 0;
  margin: 0 0 22px;
  padding: 34px 36px 36px;
  background: var(--bg-alt);
  border-radius: 28px;
  min-width: 0;
}
body.apple .dm-lead-form legend {
  float: left; /* keeps the legend inside the rounded card */
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  gap: 4px 14px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 24px;
  padding: 0;
}
body.apple .dm-lead-form legend + * {
  clear: both;
}
body.apple .dm-lead-num {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  -ms-flex-item-align: center;
  align-self: center;
}
body.apple .dm-lead-hint {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-soft);
}

/* the template styles every <input>; reset inside the form */
body.apple .dm-lead-form input[type="checkbox"],
body.apple .dm-lead-form input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  pointer-events: none;
}
body.apple .dm-lead-form input[type="text"],
body.apple .dm-lead-form input[type="email"],
body.apple .dm-lead-form input[type="tel"],
body.apple .dm-lead-form input[type="url"],
body.apple .dm-lead-form textarea {
  height: 54px;
  margin: 0;
  padding: 0 18px;
  font-size: 16px; /* 16px stops iOS zooming into the field */
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
body.apple .dm-lead-form textarea {
  height: auto;
  min-height: 116px;
  padding: 16px 18px;
  line-height: 1.5;
  resize: vertical;
}
body.apple .dm-lead-form input::-webkit-input-placeholder,
body.apple .dm-lead-form textarea::-webkit-input-placeholder {
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: #a1a1a6;
}
body.apple .dm-lead-form input::placeholder,
body.apple .dm-lead-form textarea::placeholder {
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: #a1a1a6;
}
body.apple .dm-lead-form input:focus,
body.apple .dm-lead-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.12);
}
body.apple .dm-lead-form .is-invalid {
  border-color: var(--accent);
}

/* areas: tap cards */
body.apple .dm-lead-areas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
body.apple .dm-area {
  position: relative;
  display: block;
  cursor: pointer;
  margin: 0;
}
body.apple .dm-area-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 16px 18px 17px;
  background: #fff;
  border: 1.5px solid transparent;
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
body.apple .dm-area:hover .dm-area-card {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}
body.apple .dm-area-n {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  opacity: 0.7;
}
body.apple .dm-area-t {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  padding-right: 22px;
}
body.apple .dm-area-s {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-soft);
}
/* check mark */
body.apple .dm-area-card:after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #d2d2d7;
  background: #fff center / 12px no-repeat;
  transition: all 0.25s var(--ease);
}
body.apple .dm-area input:checked + .dm-area-card {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(200, 16, 46, 0.12);
}
body.apple .dm-area input:checked + .dm-area-card .dm-area-n {
  color: var(--accent);
  opacity: 1;
}
body.apple .dm-area input:checked + .dm-area-card:after {
  border-color: var(--accent);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body.apple .dm-area input:focus-visible + .dm-area-card,
body.apple .dm-seg input:focus-visible + span {
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.18);
}
body.apple .dm-area-unsure .dm-area-card {
  background: transparent;
  border: 1.5px dashed #d2d2d7;
  box-shadow: none;
}

body.apple .dm-lead-package {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: rgba(200, 16, 46, 0.08);
  font-size: 14px;
  color: var(--text);
}
body.apple .dm-lead-package[hidden] {
  display: none;
}
body.apple .dm-lead-package > span {
  color: var(--accent);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body.apple .dm-lead-package strong {
  font-weight: 500;
}
body.apple .dm-lead-package-x {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

/* fields + segmented choices */
body.apple .dm-field {
  display: block;
  margin: 0 0 22px;
}
body.apple .dm-field:last-child {
  margin-bottom: 0;
}
body.apple .dm-field-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
body.apple .dm-field-label em {
  font-style: normal;
  font-weight: 400;
  color: var(--text-soft);
  margin-left: 4px;
}
body.apple .dm-lead-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}
body.apple .dm-seg {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 8px;
}
body.apple .dm-seg label {
  position: relative;
  margin: 0;
  cursor: pointer;
}
body.apple .dm-seg span {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s var(--ease);
}
body.apple .dm-seg label:hover span {
  border-color: rgba(0, 0, 0, 0.2);
}
body.apple .dm-seg input:checked + span {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

body.apple .dm-lead-error {
  display: block;
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--accent);
}
body.apple .dm-lead-error[hidden] {
  display: none;
}
body.apple .dm-lead-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
body.apple .dm-lead-submit {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 18px 28px;
  margin-top: 30px;
}
body.apple .dm-lead-submit .mil-button[disabled] {
  opacity: 0.6;
  cursor: progress;
}
body.apple .dm-lead-note {
  font-size: 14px;
  max-width: 340px;
  margin: 0;
}
body.apple .dm-lead-note a,
body.apple .dm-lead-alt a,
body.apple .dm-lead-fail a {
  color: var(--accent);
}
body.apple .dm-lead-fail {
  margin-top: 16px;
  color: var(--accent);
}

/* live summary */
body.apple .dm-lead-summary {
  position: -webkit-sticky;
  position: sticky;
  top: 110px;
  padding: 30px 30px 28px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
body.apple .dm-lead-kicker {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
body.apple .dm-lead-summary dl {
  margin: 0;
}
body.apple .dm-lead-summary dl > div {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
body.apple .dm-lead-summary dl > div[hidden] {
  display: none;
}
body.apple .dm-lead-summary dt {
  font-weight: 400;
  color: var(--text-soft);
}
body.apple .dm-lead-summary dd {
  margin: 0;
  font-weight: 500;
  color: var(--text);
  word-break: break-word;
}
body.apple .dm-lead-progress {
  height: 6px;
  border-radius: 3px;
  background: var(--bg-alt);
  overflow: hidden;
  margin-top: 16px;
}
body.apple .dm-lead-progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: var(--accent);
  transition: width 0.5s var(--ease);
}
body.apple .dm-lead-progress-t {
  font-size: 13px;
  margin: 8px 0 0;
}
body.apple .dm-lead-next {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
body.apple .dm-lead-next ol {
  margin: 0;
  padding-left: 18px;
}
body.apple .dm-lead-next li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-soft);
  margin-bottom: 8px;
}
body.apple .dm-lead-alt {
  font-size: 13px;
  margin: 16px 0 0;
}

/* thank-you state */
body.apple .dm-lead-done {
  max-width: 620px;
  margin: 0 auto;
  padding: 40px 0 20px;
  text-align: center;
  outline: none;
}
body.apple .dm-lead-done[hidden] {
  display: none;
}
body.apple .dm-lead-done-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: var(--accent) center / 34px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  box-shadow: 0 14px 36px rgba(200, 16, 46, 0.28);
}
body.apple .dm-lead-done h2 {
  margin-bottom: 20px;
}
body.apple .dm-lead-done p {
  font-size: 18px;
  line-height: 1.55;
}
body.apple .dm-lead-done .dm-actions {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

@media (max-width: 991px) {
  body.apple .dm-lead-areas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.apple .dm-lead-summary {
    position: static;
    margin-top: 30px;
  }
  /* below the send button the live recap is redundant: keep "what happens next" */
  body.apple .dm-lead-summary > .dm-lead-kicker,
  body.apple .dm-lead-summary dl,
  body.apple .dm-lead-progress,
  body.apple .dm-lead-progress-t {
    display: none;
  }
  body.apple .dm-lead-next {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }
}
@media (max-width: 575px) {
  body.apple .dm-lead-form fieldset {
    padding: 26px 18px 24px;
    border-radius: 22px;
  }
  body.apple .dm-lead-form legend {
    font-size: 20px;
  }
  body.apple .dm-lead-areas {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  body.apple .dm-area-card {
    padding: 13px 16px 14px;
  }
  body.apple .dm-area-s {
    display: none; /* keep the list short on phones */
  }
  body.apple .dm-lead-grid {
    grid-template-columns: 1fr;
  }
  body.apple .dm-lead-grid .dm-field {
    margin-bottom: 16px;
  }
  body.apple .dm-lead-submit .mil-button {
    width: 100%;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
}


/* ===========================================================
   Homepage: one team (3D phone) + industries
   =========================================================== */
body.apple .dm-team {
  position: relative;
  overflow: clip;
  background: var(--bg-alt);
  padding: 110px 0 120px;
}
body.apple .dm-team-row {
  min-height: 86vh;
}
body.apple .dm-team h2 {
  font-size: clamp(36px, 3.7vw, 60px);
  margin-bottom: 26px;
}
body.apple .dm-team p {
  font-size: 19px;
  line-height: 1.55;
  max-width: 480px;
}
body.apple .dm-team .dm-stage-col {
  position: relative;
}
body.apple .dm-team .dm-stage {
  position: relative;
  height: min(86vh, 820px);
  width: calc(100% + 6vw);
  margin-right: -6vw;
}
body.apple .dm-industries {
  margin-top: 80px;
}
body.apple .dm-industries-head h3,
body.apple .dm-ai-process-head h3,
body.apple .dm-careers-head h3 {
  font-size: clamp(28px, 2.6vw, 42px);
  margin: 0;
}
body.apple .dm-industry-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}
body.apple .dm-industry {
  background: #fff;
  border-radius: 24px;
  padding: 28px 24px 26px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
body.apple .dm-industry:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
body.apple .dm-industry-icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(200, 16, 46, 0.08);
  margin-bottom: 22px;
}
body.apple .dm-industry-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.apple .dm-industry h5 {
  font-size: 18px;
  margin-bottom: 8px;
}
body.apple .dm-industry p {
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
}

/* ===========================================================
   AI service pages: 3D hero + consultation-to-execution steps
   =========================================================== */
body.apple .dm-ai-banner {
  padding: 130px 0 30px;
}
body.apple .dm-ai-banner .mil-banner-content {
  padding: 0;
}
body.apple .dm-ai-banner h1 {
  font-size: clamp(42px, 4.6vw, 76px);
}
body.apple .dm-ai-intro {
  font-size: 19px;
  line-height: 1.55;
  max-width: 500px;
}
body.apple .dm-ai-banner .dm-actions {
  margin-top: 36px;
}
body.apple .dm-ai-banner .dm-stage-col {
  position: relative;
}
body.apple .dm-ai-banner .dm-stage {
  position: relative;
  height: min(82vh, 780px);
}
body.apple .dm-ai-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}
body.apple .dm-ai-step {
  position: relative;
  background: var(--bg-alt);
  border-radius: 24px;
  padding: 28px 24px 26px;
}
body.apple .dm-ai-step-n,
body.apple .dm-value-n {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 18px;
}
body.apple .dm-ai-step h5,
body.apple .dm-value h5 {
  font-size: 18px;
  margin-bottom: 8px;
}
body.apple .dm-ai-step p,
body.apple .dm-value p {
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
}

/* ===========================================================
   Careers
   =========================================================== */
body.apple .dm-careers-banner {
  padding-bottom: 60px;
}
body.apple .dm-careers-actions {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 36px;
}
body.apple .dm-careers {
  padding: 40px 0 70px;
}
body.apple .dm-careers-head {
  margin-bottom: 30px;
}
body.apple .dm-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
body.apple .dm-value {
  background: var(--bg-alt);
  border-radius: 24px;
  padding: 30px 26px 28px;
}
body.apple .dm-careers-teams {
  margin-top: 50px;
}
body.apple .dm-chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 10px;
}
body.apple .dm-chips li {
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
body.apple .dm-role-list {
  display: grid;
  gap: 12px;
}
body.apple .dm-role {
  display: grid;
  grid-template-columns: 200px 1fr auto 36px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  border-radius: 20px;
  background: var(--bg-alt);
  color: var(--text);
  transition: background 0.3s var(--ease);
}
body.apple .dm-role:hover {
  background: #fff;
  box-shadow: var(--shadow);
}
body.apple .dm-role h5 {
  margin: 0;
}
body.apple .dm-role-area {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
body.apple .dm-role-meta {
  font-size: 14px;
  color: var(--text-soft);
}
body.apple .dm-role-empty {
  padding: 44px 30px;
  border-radius: 28px;
  border: 1.5px dashed #d2d2d7;
  text-align: center;
}
body.apple .dm-role-empty p {
  max-width: 520px;
  margin: 10px auto 22px;
}
body.apple .dm-apply {
  padding-top: 30px;
}

@media (max-width: 1199px) {
  body.apple .dm-industry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 991px) {
  body.apple .dm-team {
    padding: 80px 0 80px;
  }
  body.apple .dm-team-row {
    min-height: 0;
  }
  body.apple .dm-team p,
  body.apple .dm-ai-intro {
    font-size: 17px;
  }
  body.apple .dm-industries {
    margin-top: 50px;
  }
  body.apple .dm-ai-banner {
    padding: 150px 0 10px;
  }
  body.apple .dm-ai-steps,
  body.apple .dm-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.apple .dm-role {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
@media (max-width: 575px) {
  body.apple .dm-industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  body.apple .dm-industry {
    padding: 20px 16px 18px;
    border-radius: 20px;
  }
  body.apple .dm-industry-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
  }
  body.apple .dm-industry h5 {
    font-size: 16px;
  }
  body.apple .dm-industry p {
    font-size: 13px;
  }
  body.apple .dm-ai-steps,
  body.apple .dm-values {
    grid-template-columns: 1fr;
  }
}

/* ===========================================================
   Phone live visuals (js/donimate-live.js) — replace the stills
   =========================================================== */
body.apple .dm-static-visual.dm-live {
  background: none;
  aspect-ratio: auto;
  max-width: 440px;
}
body.apple .dm-lp {
  position: relative;
  width: min(62vw, 260px);
  margin: 30px auto 16px;
}
body.apple .dm-lp-phone {
  position: relative;
  z-index: 2;
  padding: 3.4%;
  border-radius: 15.5% / 7.4%;
  background: linear-gradient(145deg, #4b4b52, #1d1d20 40%, #2c2c31);
  box-shadow: 0 34px 60px rgba(0, 0, 0, 0.2), 0 10px 22px rgba(0, 0, 0, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
body.apple .dm-lp-screen {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12.6% / 6%;
  background: #f5f5f7;
}
/* glass plates twisting behind the phone (the hero's Spline plates) */
body.apple .dm-lp-plates {
  position: absolute;
  z-index: 1;
  top: 2%;
  bottom: 8%;
  left: 38%;
  right: -34%;
  -webkit-perspective: 900px;
  perspective: 900px;
}
body.apple .dm-lp-plate {
  position: absolute;
  left: 8%;
  top: calc(var(--i) * 14% - 6%);
  width: 84%;
  aspect-ratio: 1;
  border-radius: 10%;
  background: linear-gradient(135deg, rgba(255, 211, 218, 0.55), rgba(244, 238, 255, 0.3));
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 30px rgba(140, 107, 119, 0.12), inset 0 0 0 1px rgba(140, 107, 119, 0.16);
  -webkit-transform: rotateX(64deg) rotateZ(calc(var(--i) * 10deg));
  transform: rotateX(64deg) rotateZ(calc(var(--i) * 10deg));
  -webkit-animation: dmPlateSpin 30s linear infinite;
  animation: dmPlateSpin 30s linear infinite;
}
body.apple .dm-lp-plates.is-red .dm-lp-plate {
  background: linear-gradient(135deg, rgba(240, 106, 128, 0.42), rgba(255, 217, 223, 0.32));
  box-shadow: 0 12px 30px rgba(200, 16, 46, 0.12), inset 0 0 0 1px rgba(163, 24, 47, 0.18);
}
@-webkit-keyframes dmPlateSpin {
  to { -webkit-transform: rotateX(64deg) rotateZ(calc(var(--i) * 10deg + 360deg)); transform: rotateX(64deg) rotateZ(calc(var(--i) * 10deg + 360deg)); }
}
@keyframes dmPlateSpin {
  to { -webkit-transform: rotateX(64deg) rotateZ(calc(var(--i) * 10deg + 360deg)); transform: rotateX(64deg) rotateZ(calc(var(--i) * 10deg + 360deg)); }
}
/* the AI orb: iridescent glass with a pulsing red core */
body.apple .dm-lp-orb {
  position: absolute;
  z-index: 3;
  width: 58%;
  aspect-ratio: 1;
  right: -30%;
  top: -8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.95) 0 5%, rgba(255, 255, 255, 0.3) 13%, rgba(255, 255, 255, 0) 36%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06) 56%, rgba(255, 190, 210, 0.4) 68%, rgba(185, 205, 255, 0.45) 78%, rgba(255, 232, 190, 0.4) 88%, rgba(255, 255, 255, 0.1) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75), inset -10px -14px 30px rgba(160, 140, 200, 0.22), 0 24px 44px rgba(200, 16, 46, 0.14);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
body.apple .dm-lp-orb-core {
  position: absolute;
  inset: 31%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #ff8ea0, #c8102e 55%, #7d0a1c);
  box-shadow: 0 0 30px rgba(200, 16, 46, 0.45);
  -webkit-animation: dmCore 2.8s ease-in-out infinite;
  animation: dmCore 2.8s ease-in-out infinite;
}
body.apple .dm-lp-orb-ring {
  position: absolute;
  inset: -9%;
  border-radius: 50%;
  border: 1.5px solid rgba(140, 107, 119, 0.35);
  -webkit-transform: rotateX(72deg) rotateY(14deg);
  transform: rotateX(72deg) rotateY(14deg);
  -webkit-animation: dmRing 12s linear infinite;
  animation: dmRing 12s linear infinite;
}
body.apple .dm-lp-orb-ring2 {
  inset: -18%;
  -webkit-animation-duration: 18s;
  animation-duration: 18s;
  animation-direction: reverse;
}
@keyframes dmCore {
  0%, 100% { -webkit-transform: scale(0.94); transform: scale(0.94); box-shadow: 0 0 22px rgba(200, 16, 46, 0.35); }
  50% { -webkit-transform: scale(1.06); transform: scale(1.06); box-shadow: 0 0 38px rgba(200, 16, 46, 0.6); }
}
@keyframes dmRing {
  to { -webkit-transform: rotateX(72deg) rotateY(14deg) rotateZ(360deg); transform: rotateX(72deg) rotateY(14deg) rotateZ(360deg); }
}
/* honeycomb (SVG) */
body.apple .dm-hc-svg {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 18px auto 0;
  overflow: visible;
  -webkit-filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.08));
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.08));
}
body.apple .dm-hc-frame {
  fill: url(#dmHcGlass);
  stroke: #d6d6dc;
  stroke-width: 1;
}
body.apple .dm-hc-tile {
  fill: #fff;
  stroke: rgba(0, 0, 0, 0.07);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  transition: fill 0.5s var(--ease), transform 0.5s var(--ease);
}
body.apple .dm-hc-cell.is-visited .dm-hc-tile {
  fill: #f7d5dc;
}
body.apple .dm-hc-cell.is-active .dm-hc-tile {
  fill: var(--accent);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
body.apple .dm-hc-label {
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin: 16px 0 0;
}
body.apple .dm-hc-n {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-right: 6px;
}
/* momentum: glass steps + orb */
body.apple .dm-ls {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 0.92;
  margin: 10px auto 0;
  -webkit-perspective: 900px;
  perspective: 900px;
}
body.apple .dm-ls-step {
  position: absolute;
  width: 34%;
  aspect-ratio: 1;
  left: calc(4% + var(--i) * 20%);
  top: calc(52% - var(--i) * 16%);
  border-radius: 14%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 214, 222, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 7px 0 rgba(226, 208, 214, 0.95), 0 22px 30px rgba(140, 107, 119, 0.16);
  -webkit-transform: rotateX(58deg) rotateZ(-40deg);
  transform: rotateX(58deg) rotateZ(-40deg);
  opacity: 0.35;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), opacity 0.5s var(--ease);
}
body.apple .dm-ls-step.is-up {
  opacity: 1;
}
body.apple .dm-ls-step.is-on {
  background: linear-gradient(135deg, #ffd1d9, #f07c90);
  box-shadow: 0 7px 0 #d9677b, 0 22px 30px rgba(200, 16, 46, 0.25);
}
body.apple .dm-ls-orb {
  position: absolute;
  z-index: 5;
  width: 11%;
  aspect-ratio: 1;
  margin: -5.5% 0 0 -5.5%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff9aab, #c8102e 55%, #7a0a1b);
  box-shadow: 0 10px 18px rgba(200, 16, 46, 0.35);
}
@media (prefers-reduced-motion: reduce) {
  body.apple .dm-lp-plate,
  body.apple .dm-lp-orb-core,
  body.apple .dm-lp-orb-ring {
    -webkit-animation: none;
    animation: none;
  }
}

/* AI for Business hero: the reactive tile wall spans the whole banner */
@media (min-width: 992px) {
  body.apple .dm-ai-field {
    position: relative;
    isolation: isolate;
    overflow: clip;
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  body.apple .dm-ai-field > .container {
    width: 100%;
  }
  body.apple .dm-ai-field .dm-ai-text {
    position: relative;
    z-index: 2;
  }
  body.apple .dm-ai-field .dm-stage-col {
    position: static;
    min-height: 70vh;
  }
  body.apple .dm-ai-field .dm-stage {
    position: absolute;
    inset: 0;
    height: auto;
    z-index: 0;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 78%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0, #000 78%, transparent 100%);
  }
  /* keep the headline crisp over the tiles */
  body.apple .dm-ai-field .dm-ai-text .mil-banner-content {
    padding: 34px 38px 38px;
    margin-left: -38px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
}

/* phones: the AI agent robot in CSS, with the live LED face */
body.apple .dm-lr {
  position: relative;
  width: min(60vw, 240px);
  margin: 26px auto 10px;
  -webkit-animation: dmBob 3.2s ease-in-out infinite;
  animation: dmBob 3.2s ease-in-out infinite;
}
body.apple .dm-lr-head {
  position: relative;
  z-index: 2;
  aspect-ratio: 200 / 168;
  border-radius: 16%;
  padding: 3.5%;
  background: linear-gradient(150deg, #3a3a40, #151518 55%, #25252a);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
body.apple .dm-lr-head:before,
body.apple .dm-lr-head:after {
  content: "";
  position: absolute;
  top: 38%;
  width: 9%;
  height: 26%;
  border-radius: 40%;
  background: linear-gradient(90deg, #8e8e94, #c9c9ce);
}
body.apple .dm-lr-head:before { left: -6%; }
body.apple .dm-lr-head:after { right: -6%; }
body.apple .dm-lr-frame {
  height: 100%;
  border-radius: 13%;
  padding: 3.5%;
  background: linear-gradient(145deg, #f2f2f5, #a8a8ae 45%, #e6e6ea);
}
body.apple .dm-lr-face {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 11%;
  background: #060607;
}
body.apple .dm-lr-body {
  position: relative;
  width: 62%;
  aspect-ratio: 150 / 118;
  margin: -3% auto 0;
  border-radius: 34% 34% 26% 26%;
  background: linear-gradient(150deg, #34343a, #151518 60%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
body.apple .dm-lr-body:before,
body.apple .dm-lr-body:after {
  content: "";
  position: absolute;
  top: 16%;
  width: 20%;
  height: 52%;
  border-radius: 45%;
  background: linear-gradient(150deg, #34343a, #151518);
}
body.apple .dm-lr-body:before { left: -14%; -webkit-transform: rotate(16deg); transform: rotate(16deg); }
body.apple .dm-lr-body:after { right: -14%; -webkit-transform: rotate(-16deg); transform: rotate(-16deg); }
body.apple .dm-lr-stand {
  width: 92%;
  height: 26px;
  margin: 0 auto;
  border-radius: 50% / 100% 100% 0 0;
  background: linear-gradient(#f4f4f7, #dcdce2);
  box-shadow: inset 0 2px 0 #fff, 0 14px 24px rgba(0, 0, 0, 0.08);
}
@keyframes dmBob {
  0%, 100% { -webkit-transform: translateY(0); transform: translateY(0); }
  50% { -webkit-transform: translateY(-6px); transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  body.apple .dm-lr { -webkit-animation: none; animation: none; }
}

body.apple .dm-ai-text .dm-step {
  display: block;
}

/* team cards on touch screens: names always visible (no hover on phones),
   and a compact 2 x 2 grid instead of four full-width portraits */
@media (hover: none), (max-width: 767px) {
  body.apple .mil-team-card .mil-description {
    opacity: 1;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    padding: 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0) 58%);
  }
  body.apple .mil-team-card .mil-description .mil-secrc-text {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
  body.apple .mil-team-card .mil-social-icons {
    display: none;
  }
}
@media (max-width: 575px) {
  body.apple .mil-team-list .row > .col-sm-6 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 6px;
    padding-right: 6px;
  }
  body.apple .mil-team-list .row {
    margin-left: -6px;
    margin-right: -6px;
  }
  body.apple .mil-team-card {
    margin-bottom: 12px !important;
  }
  body.apple .mil-team-card h5 {
    font-size: 14px;
  }
  body.apple .mil-team-card .mil-link {
    font-size: 9px;
    letter-spacing: 1px;
  }
  body.apple .mil-team-list .mil-lines-place {
    display: none;
  }
}

/* ===========================================================
   Homepage: where we serve (dotted globe)
   =========================================================== */
body.apple .dm-reach {
  position: relative;
  overflow: clip;
  padding: 110px 0 110px;
}
body.apple .dm-reach h2 {
  font-size: clamp(36px, 3.7vw, 60px);
  margin-bottom: 26px;
}
body.apple .dm-reach p {
  font-size: 19px;
  line-height: 1.55;
  max-width: 460px;
}
body.apple .dm-reach .dm-stage-col {
  position: relative;
}
body.apple .dm-reach .dm-stage {
  position: relative;
  height: min(84vh, 800px);
}
body.apple .dm-countries {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  max-width: 460px;
}
body.apple .dm-countries li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 14px;
  padding: 11px 12px 11px 0;
  border-top: 1px solid var(--border);
  cursor: pointer;
  outline: none;
  transition: padding 0.4s var(--ease);
}
body.apple .dm-countries li:last-child {
  border-bottom: 1px solid var(--border);
}
body.apple .dm-cc {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 34px;
  height: 24px;
  border-radius: 8px;
  background: var(--bg-alt);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
body.apple .dm-countries strong {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  font-weight: 600;
  color: var(--text);
}
body.apple .dm-countries em {
  font-style: normal;
  font-size: 13px;
  color: var(--text-soft);
}
body.apple .dm-countries li:hover,
body.apple .dm-countries li:focus-visible,
body.apple .dm-countries li.is-active {
  padding-left: 10px;
}
body.apple .dm-countries li.is-active .dm-cc {
  background: var(--accent);
  color: #fff;
}
body.apple .dm-countries li.is-active em {
  color: var(--accent);
}
body.apple .dm-reach-stats {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 34px;
  margin-top: 34px;
}
body.apple .dm-reach-stats strong {
  display: block;
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  color: var(--text);
}
body.apple .dm-reach-stats span {
  font-size: 13px;
  color: var(--text-soft);
}
/* phone globe */
body.apple .dm-lg {
  width: min(84vw, 360px);
  margin: 26px auto 0;
  aspect-ratio: 1;
}
body.apple .dm-lg-canvas {
  display: block;
  width: 100%;
  height: 100%;
}
body.apple .dm-lg-label {
  text-align: center;
  margin: 10px 0 0;
  font-size: 15px;
}
body.apple .dm-lg-name {
  font-weight: 600;
  color: var(--text);
}
body.apple .dm-lg-tag {
  color: var(--text-soft);
  margin-left: 4px;
}
@media (max-width: 991px) {
  body.apple .dm-reach {
    padding: 70px 0 70px;
  }
  body.apple .dm-reach p {
    font-size: 17px;
  }
  body.apple .dm-reach-stats {
    gap: 24px;
  }
  body.apple .dm-reach-stats strong {
    font-size: 28px;
  }
}

/* ===========================================================
   Service pages: quick links to the other services
   =========================================================== */
body.apple .dm-svcnav {
  padding: 8px 0 26px;
}
body.apple .dm-svcnav .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 18px;
}
body.apple .dm-svcnav-label {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
body.apple .dm-svcnav-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 2px;
  -webkit-mask-image: linear-gradient(to right, #000 92%, transparent);
  mask-image: linear-gradient(to right, #000 92%, transparent);
}
body.apple .dm-svcnav-row::-webkit-scrollbar {
  display: none;
}
body.apple .dm-svcnav-chip {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--bg-alt);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
body.apple .dm-svcnav-chip span {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}
body.apple .dm-svcnav-chip:hover {
  background: #e9e9ee;
}
body.apple .dm-svcnav-chip.is-current {
  background: var(--accent);
  color: #fff;
}
body.apple .dm-svcnav-chip.is-current span {
  color: rgba(255, 255, 255, 0.75);
}
body.apple .dm-svcpn {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}
body.apple .dm-svcpn .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 20px;
}
body.apple .dm-svcpn-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 6px;
  padding: 22px 26px;
  border-radius: 22px;
  background: var(--bg-alt);
  color: var(--text);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
body.apple .dm-svcpn-link:hover {
  background: #ececf1;
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
}
body.apple .dm-svcpn-next {
  text-align: right;
}
body.apple .dm-svcpn-dir {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
body.apple .dm-svcpn-prev .dm-svcpn-dir:before { content: "\2190\00a0\00a0"; }
body.apple .dm-svcpn-next .dm-svcpn-dir:after { content: "\00a0\00a0\2192"; }
body.apple .dm-svcpn-name {
  font-size: 20px;
  font-weight: 600;
}
body.apple .dm-svcpn-all {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}
@media (max-width: 767px) {
  body.apple .dm-svcnav .container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 10px;
  }
  body.apple .dm-svcnav-row {
    width: calc(100% + 15px);
    margin-right: -15px;
  }
  body.apple .dm-svcpn {
    padding: 40px 0;
  }
  body.apple .dm-svcpn .container {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  body.apple .dm-svcpn-all {
    grid-column: 1 / -1;
    -ms-grid-row: 2;
    grid-row: 2;
    justify-self: center;
  }
  body.apple .dm-svcpn-link {
    padding: 16px 16px;
  }
  body.apple .dm-svcpn-name {
    font-size: 15px;
  }
}

/* phones: the services preview tours by itself; dots jump, the caption links */
body.apple .dm-lp-dots {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 4px;
  margin-top: 14px;
}
body.apple .dm-lp-dot {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
body.apple .dm-lp-dot:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 999px;
  background: #d2d2d7;
  transition: all 0.3s var(--ease);
}
body.apple .dm-lp-dot.is-on:after {
  width: 18px;
  margin-left: -9px;
  background: var(--accent);
}
body.apple .dm-lp-cap {
  display: block;
  text-align: center;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
body.apple .dm-lp-cap span {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-right: 4px;
}

/* ===========================================================
   Preloader: particle galaxy (js/donimate-preloader.js)
   Pinned to all four edges: `height: 100vh` left the page showing under
   the floating address bar on iPhone Safari.
   =========================================================== */
body.apple .mil-preloader {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: auto;
  min-height: 100%;
  background-color: #060607;
}
body.apple .mil-preloader.dm-galaxy .mil-preloader-animation {
  display: none;
}
body.apple .dm-galaxy-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
body.apple .dm-galaxy-mark {
  position: absolute;
  inset: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 14px;
  pointer-events: none;
  opacity: 0;
  -webkit-transform: scale(0.96);
  transform: scale(0.96);
  transition: opacity 0.7s cubic-bezier(0, 0, 0.3642, 1), transform 0.9s cubic-bezier(0, 0, 0.3642, 1);
}
body.apple .dm-galaxy-mark.is-on {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
}
body.apple .dm-galaxy-word {
  font-family: "Outfit", sans-serif;
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: 0.42em;
  margin-right: -0.42em;
  color: #fff;
  text-shadow: 0 0 30px rgba(255, 46, 72, 0.35);
}
body.apple .dm-galaxy-tag {
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* ===========================================================
   Homepage: our network (sub division, partners, clients)
   Logos show in graphite and turn to brand colour on hover.
   =========================================================== */
body.apple .dm-network {
  padding: 110px 0 100px;
  background: var(--bg-alt);
}
body.apple .dm-network-head {
  max-width: 620px;
  margin-bottom: 50px;
}
body.apple .dm-network-head h2 {
  font-size: clamp(36px, 3.7vw, 60px);
  margin-bottom: 18px;
}
body.apple .dm-network-head p {
  font-size: 19px;
  line-height: 1.55;
  margin: 0;
}
body.apple .dm-network-group {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid var(--border);
}
body.apple .dm-network-group:last-child {
  border-bottom: 1px solid var(--border);
}
body.apple .dm-network-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}
body.apple .dm-network-label span {
  color: var(--accent);
  margin-right: 12px;
}
body.apple .dm-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
body.apple .dm-logos-one {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.apple .dm-logos-clients {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.apple .dm-logo {
  position: relative;
  height: 104px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.4s var(--ease), -webkit-transform 0.4s var(--ease);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
body.apple .dm-logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 64%;
  max-height: 48%;
  width: auto;
  height: auto;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  transition: opacity 0.45s var(--ease);
}
body.apple .dm-logo-mono {
  opacity: 0.72;
}
body.apple .dm-logo-color {
  opacity: 0;
}
body.apple .dm-logo:hover {
  box-shadow: var(--shadow-lg);
  -webkit-transform: translateY(-3px);
  transform: translateY(-3px);
}
body.apple .dm-logo:hover .dm-logo-mono {
  opacity: 0;
}
body.apple .dm-logo:hover .dm-logo-color {
  opacity: 1;
}
/* touch screens have no hover: show the brand colours */
@media (hover: none) {
  body.apple .dm-logo-mono { opacity: 0; }
  body.apple .dm-logo-color { opacity: 1; }
}
/* partners + clients: running logo banners (two identical halves, the track
   slides by exactly one half, so the loop is seamless); pause on hover */
body.apple .dm-network-run {
  grid-template-columns: 220px minmax(0, 1fr);
}
body.apple .dm-marquee {
  position: relative;
  overflow: hidden;
  padding: 10px 0 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
body.apple .dm-marquee-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: -webkit-max-content;
  width: max-content;
  -webkit-animation: dm-marquee var(--dm-marquee-dur, 50s) linear infinite;
  animation: dm-marquee var(--dm-marquee-dur, 50s) linear infinite;
}
body.apple .dm-marquee.is-reverse .dm-marquee-track {
  -webkit-animation-direction: reverse;
  animation-direction: reverse;
}
body.apple .dm-marquee:hover .dm-marquee-track {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}
body.apple .dm-marquee .dm-logo {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 220px;
  flex: 0 0 220px;
  margin-right: 14px;
}
@-webkit-keyframes dm-marquee {
  to { -webkit-transform: translateX(-50%); transform: translateX(-50%); }
}
@keyframes dm-marquee {
  to { -webkit-transform: translateX(-50%); transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  body.apple .dm-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
  body.apple .dm-marquee-track {
    -webkit-animation: none;
    animation: none;
    width: auto;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    row-gap: 14px;
  }
  body.apple .dm-marquee .dm-logo[aria-hidden="true"] {
    display: none;
  }
}
@media (max-width: 991px) {
  body.apple .dm-network {
    padding: 70px 0 60px;
  }
  body.apple .dm-network-run {
    grid-template-columns: minmax(0, 1fr);
  }
  body.apple .dm-network-head p {
    font-size: 17px;
  }
  body.apple .dm-network-group {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 0;
  }
}
@media (max-width: 575px) {
  body.apple .dm-logos,
  body.apple .dm-logos-clients {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  body.apple .dm-logo {
    height: 84px;
    border-radius: 16px;
  }
  body.apple .dm-marquee .dm-logo {
    -ms-flex-preferred-size: 160px;
    flex-basis: 160px;
    margin-right: 10px;
  }
}

/* ===========================================================
   Team: senior partners + principal officers
   =========================================================== */
body.apple .dm-team-banner {
  padding-bottom: 30px;
}
body.apple .dm-team-intro {
  margin: 0;
  max-width: 560px;
}
body.apple .dm-people {
  padding: 60px 0 40px;
}
body.apple .dm-people-head {
  margin-bottom: 30px;
}
body.apple .dm-people-head h2 {
  font-size: clamp(32px, 3.2vw, 52px);
  margin: 0;
}
body.apple .dm-people-grid {
  display: grid;
  gap: 16px;
}
body.apple .dm-people-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.apple .dm-people-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
body.apple .dm-person {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  padding: 14px 14px 26px;
  border-radius: 28px;
  background: var(--bg-alt);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), -webkit-transform 0.4s var(--ease);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
body.apple .dm-person:hover {
  background: #fff;
  box-shadow: var(--shadow-lg);
  -webkit-transform: translateY(-3px);
  transform: translateY(-3px);
}
body.apple .dm-person-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 22px;
  background: #e8e8ed;
}
body.apple .dm-person-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%; /* studio portraits (2:3): keep head to waist */
  transition: -webkit-transform 0.8s var(--ease);
  transition: transform 0.8s var(--ease);
}
body.apple .dm-person:hover .dm-person-photo img {
  -webkit-transform: scale(1.03);
  transform: scale(1.03);
}
body.apple .dm-person-meta,
body.apple .dm-person-bio {
  padding: 0 12px;
}
body.apple .dm-person-meta {
  width: 100%;
}
body.apple .dm-person-bio {
  font-size: 14.5px;
  line-height: 1.55;
  margin: 16px 0 0;
}
body.apple .dm-person-lg .dm-person-bio {
  font-size: 15.5px;
}
body.apple .dm-person-creds {
  list-style: none;
  width: 100%;
  margin: 16px 0 0;
  padding: 14px 12px 0;
  border-top: 1px solid var(--border);
}
body.apple .dm-person-creds li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text);
}
body.apple .dm-person-creds li + li {
  margin-top: 6px;
}
body.apple .dm-person-creds li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
body.apple .dm-person-name {
  font-size: 21px;
  margin-bottom: 6px;
}
body.apple .dm-person-lg .dm-person-name {
  font-size: 24px;
}
body.apple .dm-person-role {
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
}
body.apple .dm-person-orgs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
body.apple .dm-person-org {
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}
@media (max-width: 1199px) {
  body.apple .dm-people-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  body.apple .dm-people-3,
  body.apple .dm-people-4 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  body.apple .dm-person {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    -webkit-column-gap: 16px;
    column-gap: 16px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 14px 14px 20px;
    border-radius: 24px;
  }
  body.apple .dm-person-photo {
    width: 96px;
    margin: 0;
    border-radius: 16px;
  }
  body.apple .dm-person-meta {
    padding: 0;
  }
  body.apple .dm-person-name,
  body.apple .dm-person-lg .dm-person-name {
    font-size: 19px;
    margin: 0 0 4px;
  }
  body.apple .dm-person-role {
    font-size: 14px;
  }
  body.apple .dm-person-orgs {
    margin-top: 10px;
  }
  body.apple .dm-person-bio,
  body.apple .dm-person-lg .dm-person-bio,
  body.apple .dm-person-creds {
    grid-column: 1 / -1;
    padding-left: 4px;
    padding-right: 4px;
    font-size: 15px;
  }
}

/* ===========================================================
   Donimate Insights (insights.html)
   Desktop: a pinned 100vh stage; the laptop opens as you scroll
   (js/donimate-stage.js, kind "insight"). Phones: a CSS laptop
   with the same live workspace (js/donimate-live.js).
   =========================================================== */
body.apple .dm-insight-show {
  position: relative;
  overflow: clip;
  height: 280vh;
}
body.apple .dm-insight-pin {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
body.apple .dm-insight-pin .dm-stage {
  position: absolute;
  inset: 0;
  height: 100%;
  z-index: 1;
}
body.apple .dm-insight-head {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding-top: calc(118px + 3vh);
  text-align: center;
  will-change: opacity, transform;
}
body.apple .dm-insight-head .mil-breadcrumbs {
  justify-content: center;
}
body.apple .dm-insight-logo-wrap {
  margin: 0 0 22px;
  line-height: 0;
}
body.apple .dm-insight-logo {
  width: min(400px, 74vw);
  height: auto;
}
body.apple .dm-insight-title {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 18px;
}
body.apple .dm-insight-intro {
  font-size: 18px;
  line-height: 1.55;
  max-width: 640px;
  margin: 0 auto 28px;
}
body.apple .dm-insight-actions {
  justify-content: center;
}
body.apple .dm-insight-note {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 16px;
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: #86868b;
}
body.apple .dm-static-insight {
  max-width: 560px;
}

body.apple .dm-insight-sechead {
  max-width: 720px;
  margin-bottom: 44px;
}
body.apple .dm-insight-sechead h2 {
  margin-bottom: 20px;
}
body.apple .dm-insight-sechead p {
  font-size: 18px;
  line-height: 1.55;
}
body.apple .dm-insight-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
body.apple .dm-insight-card {
  background: var(--bg-alt);
  border-radius: 28px;
  padding: 34px 30px 32px;
  margin-bottom: 30px;
}
body.apple .dm-insight-card-n {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 40px;
}
body.apple .dm-insight-card h4 {
  margin-bottom: 12px;
}
body.apple .dm-insight-card p {
  font-size: 15.5px;
  line-height: 1.55;
  margin: 0;
}
body.apple .dm-insight-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
body.apple .dm-insight-list li {
  background: #fff;
  border-radius: 22px;
  padding: 24px 24px 22px;
  box-shadow: var(--shadow);
}
body.apple .dm-insight-list h6 {
  font-size: 16px;
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
}
body.apple .dm-insight-list h6:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
body.apple .dm-insight-list p {
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
}
body.apple .dm-insight-usegrid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
body.apple .dm-insight-use {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px 20px 22px;
  margin-bottom: 30px;
}
body.apple .dm-insight-use h5 {
  font-size: 17px;
  margin-bottom: 10px;
}
body.apple .dm-insight-use p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
body.apple .dm-insight-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
body.apple .dm-insight-panel {
  display: block;
  background: var(--bg-alt);
  border-radius: 28px;
  padding: 36px 34px 34px;
  color: inherit;
  text-decoration: none;
}
body.apple .dm-insight-panel h4 {
  margin-bottom: 12px;
}
body.apple .dm-insight-panel p {
  font-size: 15.5px;
  line-height: 1.55;
  margin: 0 0 18px;
}
body.apple .dm-insight-panel-link {
  background: linear-gradient(150deg, rgba(200, 16, 46, 0.08), rgba(200, 16, 46, 0.02) 60%), var(--bg-alt);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
body.apple .dm-insight-panel-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* CSS laptop (phones) */
body.apple .dm-ll {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 8px auto 0;
  -webkit-perspective: 1300px;
  perspective: 1300px;
}
body.apple .dm-ll-lid {
  position: relative;
  width: 84%;
  margin: 0 auto;
  padding: 2.2% 2.2% 3%;
  background: #0b0b0c;
  border-radius: 14px 14px 0 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  -webkit-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  -webkit-transform: rotateX(-84deg);
  transform: rotateX(-84deg);
  transition: transform 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s;
}
body.apple .dm-ll.is-open .dm-ll-lid {
  -webkit-transform: rotateX(-3deg);
  transform: rotateX(-3deg);
}
body.apple .dm-ll-display {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
body.apple .dm-ll-screen {
  display: block;
  width: 100%;
  height: auto;
  background: #f5f5f7;
}
body.apple .dm-ll-notch {
  position: absolute;
  top: 0;
  left: 50%;
  width: 13.6%;
  height: 4.2%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background: #0b0b0c;
  border-radius: 0 0 6px 6px;
}
body.apple .dm-ll-base {
  position: relative;
  height: 0;
  padding-bottom: 3.4%;
  background: linear-gradient(#ececef, #b8b9be);
  border-radius: 2px 2px 40% 40% / 2px 2px 100% 100%;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
body.apple .dm-ll-base:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 15%;
  height: 42%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background: #c6c7cc;
  border-radius: 0 0 10px 10px;
}
@media (prefers-reduced-motion: reduce) {
  body.apple .dm-ll-lid {
    transition: none;
  }
}

body.apple .dm-insight-show.dm-static {
  height: auto;
}
body.apple .dm-insight-show.dm-static .dm-insight-pin {
  position: relative;
  height: auto;
  overflow: visible;
  padding-bottom: 70px;
}
body.apple .dm-insight-show.dm-static .dm-insight-note {
  position: static;
  margin-top: 16px;
}
@media (max-width: 1199px) {
  body.apple .dm-insight-usegrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 991px) {
  body.apple .dm-insight-show {
    height: auto;
  }
  body.apple .dm-insight-pin {
    position: relative;
    height: auto;
    overflow: visible;
    padding-bottom: 70px;
  }
  body.apple .dm-insight-head {
    padding-top: 130px;
  }
  body.apple .dm-insight-note {
    position: static;
    margin-top: 16px;
  }
  body.apple .dm-insight-cards,
  body.apple .dm-insight-duo {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  body.apple .dm-insight-duo {
    gap: 16px;
  }
  body.apple .dm-insight-card {
    margin-bottom: 16px;
  }
  body.apple .dm-insight-list {
    grid-template-columns: minmax(0, 1fr);
  }
  body.apple .dm-insight-usegrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.apple .dm-insight-use {
    margin-bottom: 0;
  }
  body.apple .dm-insight-uses .mil-p-120-90 {
    padding-bottom: 90px;
  }
}
@media (max-width: 575px) {
  body.apple .dm-insight-usegrid {
    grid-template-columns: minmax(0, 1fr);
  }
  body.apple .dm-insight-intro,
  body.apple .dm-insight-sechead p {
    font-size: 16.5px;
  }
  body.apple .dm-insight-panel {
    padding: 30px 24px 28px;
  }
}

/* links to pages that are temporarily out of the navigation (Projects, Blog);
   remove the data-dm-paused attributes in the HTML to bring them back */
body.apple [data-dm-paused] {
  display: none !important;
}

/* homepage about: the team photo (landscape, four people edge to edge) in a
   taller 4:3-ish frame, cropped on the group rather than the room */
body.apple .mil-img-frame.dm-about-team {
  padding-bottom: 78%;
}
body.apple .mil-img-frame.dm-about-team img {
  object-position: 50% 30%;
}
@media (max-width: 991px) {
  body.apple .mil-img-frame.dm-about-team {
    padding-bottom: 72%;
  }
}

/* ===========================================================
   Content published from the admin dashboard (js/donimate-content.js)
   =========================================================== */
body.apple .dm-role-main h5 {
  margin: 0;
}
body.apple .dm-role-summary {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-soft);
}
body.apple .dm-projects {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
}
body.apple .dm-project {
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  background: var(--bg-alt);
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
body.apple a.dm-project:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
body.apple .dm-project-img {
  aspect-ratio: 4 / 3;
  background: #e8e8ed;
  overflow: hidden;
}
body.apple .dm-project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
body.apple .dm-project-img.is-empty {
  background: linear-gradient(150deg, rgba(200, 16, 46, 0.1), rgba(200, 16, 46, 0.02) 60%), #ececf0;
}
body.apple .dm-project-body {
  padding: 26px 28px 30px;
}
body.apple .dm-project-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
}
body.apple .dm-project-cat {
  color: var(--accent);
}
body.apple .dm-project h4 {
  margin: 0 0 6px;
}
body.apple .dm-project-client {
  margin: 0 0 12px;
  font-weight: 500;
}
body.apple .dm-project-summary {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  white-space: pre-line;
}
@media (max-width: 767px) {
  body.apple .dm-projects {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  body.apple .dm-project-body {
    padding: 20px 22px 24px;
  }
}
