/* A single-color icon: the file's shape (a mask) in the text's color. The caller sizes it. */
.xlR7lwW0oAikYgPs92XT {
  display: inline-block;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

/*
 * The row graphic's own styles (the radial slice graphic behind a row/card),
 * moved out of ServiceRowsGrid.module.css unchanged so ServiceRowsGrid and the
 * Topic Section share them. The graphic reads its colors and easing from
 * custom properties the consumer sets on an ancestor: --ease-soft,
 * --service-row-rest, --service-row-active, --row-ring, --row-ray, --row-slice,
 * --row-node and their -active twins (see ServiceRowsGrid.module.css .grid).
 */

.sOMWkBECHg4oxBv6wBZw {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.FW6Pqda50wuSElPEAUZ3 {
  position: absolute;
  width: 0;
  height: 0;
}

.faYC6yr0MiwjFTmRDfDf {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  overflow: hidden;
}

._neGEyIB5CWTeasZzPsP {
  fill: var(--service-row-rest);
  transition: fill 500ms var(--ease-soft);
}

.wG0jP5jrDastlBrjOUzB[data-state='active'] ._neGEyIB5CWTeasZzPsP {
  fill: var(--service-row-active);
}

/*
 * Grid: dotted rings (toned down to the ray color at rest, like the rays
 * themselves — see --row-ray above), dashed rays. Shape outlines and nodes
 * stay hidden until hovered, then appear as the sweep passes them.
 */
.fpOStQ6tvY3Bao4L5vz5 {
  fill: none;
  stroke: var(--row-ray);
  stroke-dasharray: 2 2;
  transition:
    stroke 500ms var(--ease-soft),
    opacity 400ms ease;
}

.fpOStQ6tvY3Bao4L5vz5 circle[data-outer] {
  opacity: 0;
}

.wG0jP5jrDastlBrjOUzB[data-state='active'] .fpOStQ6tvY3Bao4L5vz5 {
  stroke: var(--row-ring-active);
}

.wG0jP5jrDastlBrjOUzB[data-state='active'] .fpOStQ6tvY3Bao4L5vz5 circle[data-outer] {
  opacity: 1;
}

.UhZiDpo0QUz9FkLs5MhT {
  stroke: var(--row-ray);
  stroke-dasharray: 2 2;
  transition: stroke 500ms var(--ease-soft);
}

.wG0jP5jrDastlBrjOUzB[data-state='active'] .UhZiDpo0QUz9FkLs5MhT {
  stroke: var(--row-ray-active);
}

.Nthg7tL22JAs0hwfa6O_ {
  fill: none;
  stroke-width: 1;
  stroke-opacity: 0.6;
  stroke-dasharray: 2 2;
  opacity: 0;
  transition:
    opacity 400ms ease,
    stroke 500ms var(--ease-soft),
    stroke-opacity 250ms ease;
}

.wG0jP5jrDastlBrjOUzB[data-state='active'] .Nthg7tL22JAs0hwfa6O_ {
  opacity: 1;
  stroke-opacity: 1;
  transition-delay: var(--sweep-at, 0ms);
}

.sATcUWK4IiKJCPOsr7i7 {
  stroke: var(--row-slice);
  stroke-width: 1;
  transition: stroke 500ms var(--ease-soft);
}

.wG0jP5jrDastlBrjOUzB[data-state='active'] .sATcUWK4IiKJCPOsr7i7 {
  stroke: var(--row-slice-active);
}

.UwWNyEK8MJw4efzcNBsd {
  fill: var(--row-node);
  opacity: 0;
  transition:
    opacity 400ms ease,
    fill 250ms ease;
}

.wG0jP5jrDastlBrjOUzB[data-state='active'] .UwWNyEK8MJw4efzcNBsd {
  opacity: 1;
  fill: var(--row-node-active);
  transition-delay: var(--sweep-at, 0ms);
}

/*
 * Clockwise sweep on hover/focus: the mask blade rotates around the row's
 * corner. In: starts at speed and eases off, so the color is visibly moving
 * at once. Out: starts at full speed the moment the mouse/focus leaves, then
 * settles, so nothing lingers.
 */
.zqGyrbgHK9ctO3ScmwMZ {
  transition: transform var(--sweep-ms, 1100ms) cubic-bezier(0.25, 0.8, 0.35, 1);
}

.CG80_JtsB9RxdINkKDod {
  transition: transform var(--sweep-ms, 1100ms) cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  :is(.fpOStQ6tvY3Bao4L5vz5, .UhZiDpo0QUz9FkLs5MhT, .Nthg7tL22JAs0hwfa6O_, .sATcUWK4IiKJCPOsr7i7, .UwWNyEK8MJw4efzcNBsd, ._neGEyIB5CWTeasZzPsP, .zqGyrbgHK9ctO3ScmwMZ, .CG80_JtsB9RxdINkKDod) {
    transition: none;
  }
}

/*
 * Ported from prototype/src/components/CapabilityStack/CapabilityStack.module.css (one box of
 * it). A code component's Shadow DOM has no page reset, so it carries its own box-sizing; the
 * prototype's wrapper (the stack's width and the gap between boxes) is the page's layout, not
 * the section's, so the section is as wide as whatever holds it.
 */
.Uxs1HKljDmtp83tYwMD_,
.Uxs1HKljDmtp83tYwMD_ *,
.Uxs1HKljDmtp83tYwMD_ *::before,
.Uxs1HKljDmtp83tYwMD_ *::after {
  box-sizing: border-box;
}

/*
 * The host is the element the page's #links and the menu scroll to (in Storybook, with no shadow
 * root, the row is its own host); clear of the header, and on phones of the menu's dropdown too
 * (the 767px breakpoint is InPageMenu's, where it turns into that dropdown).
 */
:host,
.Uxs1HKljDmtp83tYwMD_ {
  scroll-margin-top: 120px;
}

:host {
  display: block;
}

.Uxs1HKljDmtp83tYwMD_ {
  --inset: 10px;
  --fade: 400ms ease;
  --box-pad: max(28px, 2.78vw);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  /* The row graphic's colors: white at rest, no grid (only the active box's sweep), soft black while active. */
  --service-row-rest: #fff;
  --service-row-active: var(--text-primary, #171717);
  --row-ring: transparent;
  --row-ray: transparent;
  --row-slice: rgb(255 255 255 / 0.9);
  --row-node: var(--text-primary, #171717);
  --row-ring-active: rgb(255 255 255 / 0.2);
  --row-ray-active: rgb(255 255 255 / 0.35);
  --row-slice-active: rgb(0 0 0 / 0.35);
  --row-node-active: var(--text-inverse, #fff);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  border-radius: 32px;
  font-family: var(--type-family-base, 'Raleway', system-ui, sans-serif);
}

/* Canvas only: what the section says it is missing. */
.Jrqh51BKuehY00ZKe_ja {
  margin: 0;
  padding: 16px 20px;
  border: 1px dashed currentColor;
  border-radius: 12px;
  font-family: var(--type-family-base, 'Raleway', system-ui, sans-serif);
  font-size: 14px;
}

/* A 20% soft black wash over the graphic while active, under the type. */
.iM5nLyld5GN68TOc80fH {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: rgb(23 23 23 / 0.2);
  opacity: 0;
  transition: opacity var(--fade);
  pointer-events: none;
}

.Uxs1HKljDmtp83tYwMD_[data-active='true'] .iM5nLyld5GN68TOc80fH {
  opacity: 1;
}

/*
 * The box: the item at the top, what is inside in an off-white box nested inside, 10px in
 * from its sides and foot (22px corners, concentric with the box's). While active (data-active:
 * the one being read) the graphic fills soft black as color sweeps in, the type turns white,
 * the name swells (a scale, so the box keeps its height) and the panel turns a darker frosted grey.
 */
.qQP9m_XVf7HfzrWTq2Vg {
  position: relative;
  z-index: 2;
  min-width: 0;
  /* A long unbroken word in the name, description or panel breaks rather than pushing the box wider than its column. */
  overflow-wrap: anywhere;
  display: flex;
  flex-direction: column;
  padding: 0 var(--inset) var(--inset);
  border-radius: 32px;
  color: var(--text-primary, #171717);
}

.JMhLFNSKRP9p8caLg9i7,
.HpuaD4WqzHURXefEDYQG {
  padding: var(--box-pad) calc(var(--box-pad) - var(--inset));
  transition: color var(--fade);
}

.qQP9m_XVf7HfzrWTq2Vg[data-active='true'] :is(.JMhLFNSKRP9p8caLg9i7, .HpuaD4WqzHURXefEDYQG) {
  color: var(--text-inverse, #fff);
  transition-delay: 120ms;
}

.JMhLFNSKRP9p8caLg9i7 {
  display: flex;
  flex-direction: column;
  gap: max(12px, 0.93vw);
  max-width: 50em;
}

/* A head with only a title (no icon, eyebrow or description) keeps the open room the prototype's service-page heading had for the graphic, the title in the middle of it. */
.JMhLFNSKRP9p8caLg9i7[data-title-only] {
  justify-content: center;
  min-height: max(140px, 11.5vw);
}

/* The custom heading: open room over the panel for the graphic, in the middle of it; white while active. */
.HpuaD4WqzHURXefEDYQG {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: max(140px, 11.5vw);
}

/* The icon (white on soft black, in a rounded box; reversed while active) with the eyebrow on its right: SemiBold 16 / 22, uppercase, widely tracked. */
.a_4Oq9r5t7zPmTVS5XBF {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 4px;
  color: inherit;
}

.saFZc2jChXSdsRonceKW {
  font-size: var(--type-eyebrow-size, 16px);
  font-weight: var(--type-eyebrow-weight, 600);
  line-height: var(--type-eyebrow-lh, 22px);
  letter-spacing: var(--type-eyebrow-ls, 5.4px);
  text-transform: uppercase;
}

.Chuh6czYtPRrl_kaajXj {
  box-sizing: border-box;
  flex: none;
  width: max(44px, 3.2vw);
  height: auto;
  padding: max(7px, 0.5vw);
  border-radius: 12px;
  background: var(--text-primary, #171717);
  color: var(--text-inverse, #fff);
  transition:
    background-color var(--fade),
    color var(--fade);
}

.qQP9m_XVf7HfzrWTq2Vg[data-active='true'] .Chuh6czYtPRrl_kaajXj {
  background: #fff;
  color: var(--text-primary, #171717);
}

/* The icon box holds one single-color icon (shared MaskIcon), square, filling it. */
.Chuh6czYtPRrl_kaajXj {
  display: inline-flex;
  aspect-ratio: 1;
}

.uo6QcRH2zCcr9CweFnlV {
  flex: 1;
}

/* Heading L, swelling while active. */
.QhXWbT3Y7L179pXaLD5e {
  margin: 0;
  font-size: var(--type-heading-l-size, 42px);
  font-weight: var(--type-heading-l-weight, 400);
  line-height: var(--type-heading-l-lh, 50px);
  letter-spacing: var(--type-heading-l-ls, 0);
  /* Room for the swell below: scaled by 1.05 from the left, its widest line still ends inside the box. */
  max-width: calc(100% / 1.05);
  transform-origin: 0 50%;
  transition: scale 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.qQP9m_XVf7HfzrWTq2Vg[data-active='true'] .QhXWbT3Y7L179pXaLD5e {
  scale: 1.05;
}

/* Words wrapped in ** in the Title (the shared bold rule): Semibold, as in the prototype. */
.QhXWbT3Y7L179pXaLD5e strong {
  font-weight: 600;
}

/* Title size XL: Heading XL (the service page's "How we do it"), same weight; the swell and max-width above still apply. */
.M5xuSf5q2VGvRLQffo3i {
  font-size: var(--type-heading-xl-size, 78px);
  font-weight: var(--type-heading-xl-weight, 300);
  line-height: var(--type-heading-xl-lh, 86px);
  letter-spacing: var(--type-heading-xl-ls, 0);
}

/* Body / Large. */
.Hg4vuG8vLVcCRd8CKe7K {
  margin: 0;
  color: var(--neutral-700, #353535);
  font-size: var(--type-large-size, 22px);
  font-weight: var(--type-large-weight, 400);
  line-height: var(--type-large-lh, 1.4);
  letter-spacing: var(--type-large-ls, 0);
  text-wrap: pretty;
  transition: color var(--fade);
}

.qQP9m_XVf7HfzrWTq2Vg[data-active='true'] .Hg4vuG8vLVcCRd8CKe7K {
  color: rgb(255 255 255 / 0.8);
  transition-delay: 120ms;
}

/*
 * The panel (where the Slot is): off-white and frosted (the graphic blurred behind); active, a
 * darker grey, its type light. Its soft type color and dotted-rule color are custom
 * properties so what sits in the Slot, which is in the page's DOM and styled by the page
 * stylesheet (panelStyles.ts), can read them: they inherit across the slot.
 */
.xO0x6Xjn4OFxyhxEs9ep {
  --p2-dots: #595959 0 2px, transparent 2px 4px;
  --p2-inner-soft: var(--neutral-700, #353535);
  display: flex;
  flex-direction: column;
  gap: max(16px, 1.39vw);
  padding: calc(max(32px, 3.24vw) - var(--inset));
  border-radius: 22px;
  background: rgb(245 245 245 / 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--text-primary, #171717);
  transition:
    background-color var(--fade),
    color var(--fade);
}

.qQP9m_XVf7HfzrWTq2Vg[data-active='true'] .xO0x6Xjn4OFxyhxEs9ep {
  --p2-dots: rgb(255 255 255 / 0.4) 0 2px, transparent 2px 4px;
  --p2-inner-soft: rgb(255 255 255 / 0.75);
  background: rgb(60 60 60 / 0.72);
  color: var(--text-inverse, #fff);
}

/* Forced colors drop the fills: keep the box and panel readable as outlines. */
@media (forced-colors: active) {
  .qQP9m_XVf7HfzrWTq2Vg {
    border: 1px solid CanvasText;
  }

  .xO0x6Xjn4OFxyhxEs9ep {
    border: 1px solid CanvasText;
    background: Canvas;
    color: CanvasText;
  }

  .iM5nLyld5GN68TOc80fH {
    display: none;
  }
}

/* Phones: no row graphic; the box itself white, soft black while it is the one being read. */
@media (max-width: 767px) {
  :host,
  .Uxs1HKljDmtp83tYwMD_ {
    scroll-margin-top: 180px;
  }

  .iM5nLyld5GN68TOc80fH {
    display: none;
  }

  .qQP9m_XVf7HfzrWTq2Vg {
    border-radius: 24px;
    background: #fff;
    transition: background-color var(--fade);
  }

  .qQP9m_XVf7HfzrWTq2Vg[data-active='true'] {
    background: var(--text-primary, #171717);
  }

  .xO0x6Xjn4OFxyhxEs9ep {
    border-radius: 16px;
  }

  .HpuaD4WqzHURXefEDYQG,
  .JMhLFNSKRP9p8caLg9i7[data-title-only] {
    min-height: 0;
    padding: 24px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .iM5nLyld5GN68TOc80fH,
  .Chuh6czYtPRrl_kaajXj,
  .JMhLFNSKRP9p8caLg9i7,
  .HpuaD4WqzHURXefEDYQG,
  .QhXWbT3Y7L179pXaLD5e,
  .Hg4vuG8vLVcCRd8CKe7K,
  .xO0x6Xjn4OFxyhxEs9ep,
  .qQP9m_XVf7HfzrWTq2Vg {
    transition: none;
  }
}

