/* SDA V4 / 3.0.0. Normal document flow is the source of truth for every card. */
body.sda-layout-fix {
  --sda-fix-ink: #151515;
  --sda-fix-muted: #525252;
  --sda-fix-red: #c81025;
  --sda-fix-paper: #f4f3ef;
}
body.sda-layout-fix :is(.grain, .cursor-glow) { display: none !important; }

/* Content must be readable before JavaScript runs, and when animation fails. */
body.sda-layout-fix #top :is(.reveal, .reveal-text) {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
  clip-path: none !important;
  transition-delay: 0s !important;
}
body.sda-layout-fix #top section {
  position: relative;
  isolation: isolate;
  z-index: auto;
  scroll-margin-top: 120px;
}
body.sda-layout-fix #top :is(h1, h2, h3) {
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
body.sda-layout-fix #top .display-title {
  font-size: clamp(36px, 5.3vw, 76px);
  line-height: 1.1;
  letter-spacing: -.045em;
  overflow: visible;
  max-width: 100%;
  color: var(--sda-fix-ink);
}
body.sda-layout-fix #top .display-title em {
  color: var(--sda-fix-red);
}
body.sda-layout-fix #top .section-meta {
  position: relative;
  opacity: 1 !important;
  margin-bottom: 24px;
  gap: 0;
  transform: none !important;
}
body.sda-layout-fix #top .section-meta p {
  font-size: 12px;
  line-height: 1.5;
  color: #444;
  letter-spacing: .12em;
}
body.sda-layout-fix #top .section-meta > span,
body.sda-layout-fix #top .capability-no,
body.sda-layout-fix #top .principle > span,
body.sda-layout-fix #top .growth-card > span,
body.sda-layout-fix #top .stage-callout > span {
  display: none !important;
}

/* Capabilities: no sticky offsets, fixed heights, negative margins or scroll tails. */
body.sda-layout-fix #top #services {
  padding: clamp(48px, 6vw, 88px) 0 !important;
  margin: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible;
  background: #0b0c0e;
  color: #fff;
}
body.sda-layout-fix #services .sticky-capability-head {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  height: auto !important;
  z-index: auto !important;
}
body.sda-layout-fix #services .section-meta p { color: #c8c9cf; }
body.sda-layout-fix #services .display-title { color: #fff !important; }
body.sda-layout-fix #services .capability-heading-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 24px 48px;
  align-items: end;
  margin-bottom: 40px;
}
body.sda-layout-fix #services .capability-heading-grid > p {
  color: #c8c9cf;
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}
body.sda-layout-fix #services .capability-stack {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  height: auto !important;
  min-height: 0 !important;
}
body.sda-layout-fix #services .capability-panel:nth-child(n) {
  position: relative !important;
  inset: auto !important;
  z-index: auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) !important;
  gap: clamp(24px, 4vw, 56px) !important;
  align-items: center;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: clamp(24px, 3.5vw, 48px) !important;
  border-radius: 28px;
  border: 1px solid #34353b;
  background: linear-gradient(145deg, #202125, #151619);
  box-shadow: 0 10px 24px rgb(0 0 0 / 15%), inset 0 1px rgb(255 255 255 / 5%);
  overflow: hidden !important;
  isolation: isolate;
  transform: none !important;
  animation: none !important;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
body.sda-layout-fix #services .capability-panel::before,
body.sda-layout-fix #services .capability-panel::after { display: none !important; }
body.sda-layout-fix #services .capability-content {
  position: relative;
  z-index: auto !important;
  min-width: 0;
  opacity: 1 !important;
  transform: none !important;
}
body.sda-layout-fix #services .capability-label {
  color: #f6a7b0;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 14px;
}
body.sda-layout-fix #services .capability-content h3 {
  color: #fff;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.16;
  letter-spacing: -.035em;
  margin: 0 0 18px;
}
body.sda-layout-fix #services .capability-content p {
  color: #d1d2d8;
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}
body.sda-layout-fix #services .tag-row { gap: 8px; margin-top: 24px; }
body.sda-layout-fix #services .tag-row span {
  font-size: 11px;
  line-height: 1.45;
  color: #eeeef1;
  border-color: #4b4c54;
  padding: 8px 12px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
/* Illustration content is laid out in rows. Nothing floats over another label. */
body.sda-layout-fix .sda-capability-visual {
  --sda-visual-accent: #ffb3ba;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(20px, 3vw, 32px);
  gap: 20px;
  border-radius: 22px;
  border: 1px solid #624047;
  background: linear-gradient(145deg, #39262c, #211c20);
  box-shadow: inset 0 1px rgb(255 255 255 / 8%);
}
body.sda-layout-fix .sda-visual-performance {
  --sda-visual-accent: #a5c9ff;
  border-color: #384f6b;
  background: linear-gradient(145deg, #253448, #1b212c);
}
body.sda-layout-fix .sda-visual-creative {
  --sda-visual-accent: #ddbdff;
  border-color: #574364;
  background: linear-gradient(145deg, #352b43, #221e2c);
}
body.sda-layout-fix .sda-visual-web {
  --sda-visual-accent: #a9e1ce;
  border-color: #35594b;
  background: linear-gradient(145deg, #263c35, #1b2723);
}
body.sda-layout-fix .sda-visual-label {
  color: #e1dfe4;
  font: 600 11px/1.6 "DM Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: .09em;
}
body.sda-layout-fix .sda-visual-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 20px;
  color: var(--sda-visual-accent);
  background: rgb(255 255 255 / 5%);
  box-shadow: 0 8px 20px rgb(0 0 0 / 15%), inset 0 1px rgb(255 255 255 / 10%);
}
body.sda-layout-fix .sda-visual-title {
  color: #fff;
  font: 800 clamp(22px, 2.1vw, 28px)/1.22 Manrope, sans-serif;
  letter-spacing: -.025em;
}
body.sda-layout-fix .sda-visual-items {
  display: grid;
  gap: 10px;
  width: 100%;
}
body.sda-layout-fix .sda-visual-items > span {
  display: block;
  border-top: 1px solid rgb(255 255 255 / 15%);
  padding-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #e7e5eb;
}
/* A conservative fallback if a future theme changes an artwork's markup. */
body.sda-layout-fix #services .capability-art {
  display: none !important;
}

/* Growth partner: a real grid keeps each satellite card and chip in its own cell. */
body.sda-layout-fix #about .growth-v4-head {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 48px;
}
body.sda-layout-fix #about .growth-lead { color: var(--sda-fix-muted); line-height: 1.7; }
body.sda-layout-fix #about .growth-3d-scene {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 1.1fr) minmax(0, 1fr);
  gap: 24px 40px;
  align-items: stretch;
  height: auto !important;
  min-height: 0 !important;
  margin-top: 40px;
  padding: 40px;
  perspective: none;
  transform: none !important;
  overflow: hidden;
}
body.sda-layout-fix #about :is(.growth-floor, .growth-grid-lines,
  .mini-bars, .mini-orbit, .mini-network, .mini-browser) { display: none !important; }
body.sda-layout-fix #about .growth-card:nth-child(n) {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  animation: none !important;
  width: auto;
  height: auto;
  max-width: 100% !important;
  min-width: 0;
  z-index: auto !important;
  padding: 24px;
  transition: border-color 180ms ease;
}
body.sda-layout-fix #about .growth-card small {
  margin-top: 0;
  color: #c3c4c9;
  font-size: 10px;
  line-height: 1.5;
}
body.sda-layout-fix #about .growth-card strong {
  margin-top: 10px;
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.25;
}
body.sda-layout-fix #about .growth-card > i {
  position: static;
  display: block;
  margin-top: 18px;
  color: #f4a0ac;
}
body.sda-layout-fix #about .gc-strategy { grid-column: 1; grid-row: 1; }
body.sda-layout-fix #about .gc-media { grid-column: 1; grid-row: 2; }
body.sda-layout-fix #about .gc-creative { grid-column: 3; grid-row: 1; }
body.sda-layout-fix #about .gc-experience { grid-column: 3; grid-row: 2; }
body.sda-layout-fix #about .gc-core {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: center;
  min-height: 220px;
  height: auto !important;
  aspect-ratio: 1;
  overflow-wrap: anywhere;
}
body.sda-layout-fix #about .gc-core small { font-size: 11px !important; line-height: 1.55; opacity: 1; }
body.sda-layout-fix #about .gc-core strong { max-width: 100%; }
body.sda-layout-fix #about .gc-core .design-icon-core { max-width: 100%; }
body.sda-layout-fix #about .gc-core .core-ring {
  inset: 8px !important;
  pointer-events: none;
  animation: none !important;
}
body.sda-layout-fix #about .growth-chip:nth-child(n) {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  animation: none !important;
  width: auto !important;
  z-index: auto !important;
  padding: 12px;
  color: #dddde2;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
  align-self: center;
  min-width: 0;
  overflow-wrap: anywhere;
}
body.sda-layout-fix #about .growth-principles .principle h3 { margin-top: 0; line-height: 1.25; }

/* Exact requested process copy, kept compact and fully in the document flow. */
body.sda-layout-fix #top #process.sda-workflow {
  padding: clamp(48px, 6vw, 88px) 0 !important;
  margin: 0 !important;
  background: var(--sda-fix-paper);
  color: var(--sda-fix-ink);
}
body.sda-layout-fix .sda-workflow-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px 48px;
  margin-bottom: 36px;
}
body.sda-layout-fix .sda-workflow-head > p {
  margin: 0;
  color: #494949;
  font-size: 17px;
  line-height: 1.7;
}
body.sda-layout-fix .sda-workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
body.sda-layout-fix .sda-workflow-step {
  display: block;
  position: relative;
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid #d6d0d0;
  border-radius: 24px;
  background: linear-gradient(140deg, #fff, #fbf2f3);
  box-shadow: 0 8px 20px rgb(31 27 27 / 5%), inset 0 1px #fff;
}
body.sda-layout-fix .sda-workflow-step:nth-child(2) { background: linear-gradient(140deg, #fff, #eef4fc); border-color: #cdd7e5; }
body.sda-layout-fix .sda-workflow-step:nth-child(3) { background: linear-gradient(140deg, #fff, #f3eff9); border-color: #d7cfe1; }
body.sda-layout-fix .sda-workflow-step:nth-child(4) { background: linear-gradient(140deg, #fff, #edf6f1); border-color: #cbded4; }
body.sda-layout-fix .sda-workflow-step h3 {
  margin: 0 0 16px;
  color: #171717;
  font: 800 clamp(24px, 2.5vw, 32px)/1.22 Manrope, sans-serif;
  letter-spacing: -.03em;
}
body.sda-layout-fix .sda-step-label {
  display: block;
  margin-bottom: 18px;
  color: var(--sda-fix-red);
  font: 700 12px/1.5 "DM Sans", sans-serif;
  letter-spacing: .05em;
}
body.sda-layout-fix .sda-step-dash {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
body.sda-layout-fix .sda-workflow-step p {
  margin: 0;
  color: #494949;
  font-size: 16px;
  line-height: 1.75;
}

/* Give the hero icon and its captions separate rows at every screen size. */
body.sda-layout-fix .hero-cinematic .cinematic-title {
  line-height: 1.08;
  letter-spacing: -.045em;
}
body.sda-layout-fix .hero-cinematic .cinematic-title > span {
  white-space: normal;
  overflow: visible;
}
body.sda-layout-fix .hero-cinematic .cinematic-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 24px 16px;
  height: auto !important;
  min-height: 360px !important;
  padding: 24px 8px;
  overflow: visible;
}
body.sda-layout-fix .hero-cinematic .sda-icon-stage {
  grid-column: 1 / -1;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  min-height: 180px;
  aspect-ratio: auto;
  transform: none !important;
  filter: drop-shadow(0 12px 22px rgb(0 0 0 / 15%));
}
body.sda-layout-fix .hero-cinematic .sda-icon-stage img {
  max-width: 100% !important;
}
body.sda-layout-fix .hero-cinematic :is(.stage-orbit, .sda-platform,
  .cinematic-vignette, .cinematic-orbit, .cinematic-particles) { display: none !important; }
body.sda-layout-fix .hero-cinematic .stage-callout {
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  min-width: 0;
  min-height: 0 !important;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px !important;
  gap: 10px;
  padding: 18px !important;
  transform: none !important;
  animation: none !important;
}
body.sda-layout-fix .hero-cinematic .stage-callout b { font-size: 15px; line-height: 1.4; }
body.sda-layout-fix .hero-cinematic .stage-callout small { font-size: 12px; line-height: 1.6; color: #d2d2d7; }
body.sda-layout-fix .hero-cinematic .stage-callout > i { font-size: 20px; }
body.sda-layout-fix .hero-cinematic .cinematic-shell { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; }

/* The belief mark follows the quote; it cannot cross the quote's text. */
body.sda-layout-fix .manifesto-card { height: auto; min-height: 0; }
body.sda-layout-fix .manifesto-card blockquote { position: relative; margin-bottom: 0; }
body.sda-layout-fix .manifesto-mark {
  position: relative;
  inset: auto;
  margin-top: 32px;
  width: 150px;
  max-width: 100%;
  margin-left: auto;
  font-size: inherit;
  transform: none !important;
}
body.sda-layout-fix .contact-title { line-height: 1.12; letter-spacing: -.04em; max-width: 100%; }
body.sda-layout-fix .newsletter-copy h2 { line-height: 1.12; letter-spacing: -.04em; color: #fff; }
body.sda-layout-fix .contact-link strong { overflow-wrap: anywhere; line-height: 1.4; }
body.sda-layout-fix .mobile-drawer { overflow-y: auto; }
body.sda-layout-fix .floating-header .nav-brand { min-width: 0; max-width: 100%; }
body.sda-layout-fix.admin-bar .floating-header {
  top: calc(14px + var(--wp-admin--admin-bar--height, 32px)) !important;
}
body.sda-layout-fix :is(a, button, input):focus-visible { outline: 3px solid #357fea; outline-offset: 4px; }

@media (min-width: 1001px) and (hover: hover) {
  body.sda-layout-fix #services .capability-panel:hover {
    border-color: #64656e;
    box-shadow: 0 12px 28px rgb(0 0 0 / 20%), inset 0 1px rgb(255 255 255 / 8%);
  }
}
@media (max-width: 1000px) {
  body.sda-layout-fix #services .capability-heading-grid,
  body.sda-layout-fix #about .growth-v4-head,
  body.sda-layout-fix .sda-workflow-head { grid-template-columns: minmax(0, 1fr); }
  body.sda-layout-fix #services .capability-panel:nth-child(n) { gap: 24px !important; }
  body.sda-layout-fix #about .growth-3d-scene {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 32px;
  }
  body.sda-layout-fix #about .growth-card:nth-child(n) { grid-area: auto; }
  body.sda-layout-fix #about .gc-core {
    grid-column: 1 / -1 !important;
    min-height: 220px;
    margin: 8px 0;
  }
  body.sda-layout-fix #about .chip-loop { grid-column: 1 / -1; }
  body.sda-layout-fix .hero-cinematic .cinematic-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "stage" "trust";
  }
}
@media (max-width: 760px) {
  body.sda-layout-fix #top .container { width: calc(100% - 40px); }
  body.sda-layout-fix #top #services,
  body.sda-layout-fix #top #process.sda-workflow { padding: 48px 0 !important; }
  body.sda-layout-fix #top .display-title { font-size: clamp(36px, 9vw, 54px); }
  body.sda-layout-fix #services .capability-panel:nth-child(n) {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 24px !important;
    border-radius: 24px;
  }
  body.sda-layout-fix #services .capability-content h3 { font-size: clamp(27px, 7.2vw, 38px); }
  body.sda-layout-fix .sda-capability-visual { padding: 24px; gap: 18px; }
  body.sda-layout-fix .sda-visual-items { gap: 8px; }
  body.sda-layout-fix .sda-workflow-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body.sda-layout-fix .sda-workflow-head { margin-bottom: 28px; }
  body.sda-layout-fix #about .growth-3d-scene { padding: 24px; gap: 16px; }
  body.sda-layout-fix #about .growth-card:nth-child(n) { padding: 20px 16px; border-radius: 18px; }
  body.sda-layout-fix #about .growth-card.gc-core { border-radius: 50%; }
  body.sda-layout-fix #about .growth-card strong { font-size: 20px; }
  body.sda-layout-fix #about .growth-card small { font-size: 9px; letter-spacing: .08em; }
  body.sda-layout-fix #about .growth-chip:nth-child(n) { grid-column: 1 / -1; }
  body.sda-layout-fix .hero-cinematic { padding-top: 112px; }
  body.sda-layout-fix .hero-cinematic .cinematic-stage { min-height: 0 !important; gap: 20px 12px; padding: 0; }
  body.sda-layout-fix .hero-cinematic .cinematic-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.sda-layout-fix .hero-cinematic .cinematic-stats span { font-size: 10px; line-height: 1.5; }
  body.sda-layout-fix .hero-cinematic .stage-callout { padding: 16px !important; }
  body.sda-layout-fix .floating-header { gap: 12px; }
  body.sda-layout-fix .manifesto-card { padding: 32px 24px; }
  body.sda-layout-fix .manifesto-top { flex-wrap: wrap; gap: 12px; }
  body.sda-layout-fix #top .manifesto-card blockquote { font-size: clamp(28px, 7.8vw, 44px); line-height: 1.24; letter-spacing: -.03em; }
}
@media (max-width: 380px) {
  body.sda-layout-fix #top .container { width: calc(100% - 32px); }
  body.sda-layout-fix #services .capability-panel:nth-child(n) { padding: 20px !important; }
  body.sda-layout-fix #about .growth-3d-scene { padding: 24px; grid-template-columns: minmax(0, 1fr); }
  body.sda-layout-fix #about .growth-card:nth-child(n) { grid-column: 1; }
  body.sda-layout-fix .hero-cinematic .cinematic-stage { grid-template-columns: minmax(0, 1fr); }
  body.sda-layout-fix .hero-cinematic .cinematic-kicker { flex-wrap: wrap; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  body.sda-layout-fix #top *, body.sda-layout-fix #top *::before, body.sda-layout-fix #top *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  body.sda-layout-fix .floating-header, body.sda-layout-fix .mobile-drawer { display: none !important; }
  body.sda-layout-fix #services .capability-panel, body.sda-layout-fix .sda-workflow-step { break-inside: avoid; }
}
