/* The brand story is native interface geometry: no frame, image surface or caption. */
.brand-flow {
  --flow-ink: #201d18;
  --flow-paper: #f7f2e6;
  --flow-yellow: #ffe81a;
  position: relative;
  color: var(--flow-ink);
  pointer-events: none;
  isolation: isolate;
}

.brand-flow__wire {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brand-flow__wire path {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.brand-flow__wire .brand-flow__signal {
  stroke: var(--flow-yellow);
  stroke-width: 9;
  stroke-dasharray: 0.02 0.98;
  stroke-linecap: round;
}

html.js-motion .brand-flow__signal {
  animation: brand-flow-signal 4.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.brand-flow__calls,
.brand-flow__summaries,
.brand-flow__dial {
  position: absolute;
}

.brand-flow__calls {
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
}

.brand-flow__call {
  display: grid;
  width: 44px;
  aspect-ratio: 1;
  place-items: center;
  border: 3px solid var(--flow-ink);
  border-radius: 50%;
  background: var(--flow-ink);
  color: var(--flow-paper);
}

.brand-flow__call svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.brand-flow__dial {
  z-index: 3;
  width: 176px;
  height: 176px;
  color: var(--flow-ink);
  filter: drop-shadow(0 8px 8px rgb(32 29 24 / 0.08));
}

.brand-flow__summaries {
  z-index: 2;
  display: grid;
  gap: 14px;
}

.brand-flow__summary {
  position: relative;
  display: grid;
  width: 132px;
  min-height: 58px;
  align-content: center;
  gap: 8px;
  padding: 12px 18px 12px 28px;
  border: 3px solid var(--flow-ink);
  border-radius: 5px 16px 16px 5px;
  background: var(--flow-paper);
}

.brand-flow__summary::before {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 11px;
  aspect-ratio: 1;
  border: 3px solid var(--flow-ink);
  border-radius: 50%;
  background: var(--flow-yellow);
  content: "";
  transform: translateY(-50%);
}

.brand-flow__summary i {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.56;
}

.brand-flow__summary i:last-child {
  width: 68%;
}

.brand-flow--summary {
  width: min(100%, 820px);
  min-height: 320px;
  margin: 4px auto 0;
}

.brand-flow--summary .brand-flow__calls {
  top: 50%;
  right: -14px;
  transform: translateY(-50%);
}

.brand-flow--summary .brand-flow__dial {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.brand-flow--summary .brand-flow__summaries {
  top: 50%;
  left: -2px;
  transform: translateY(-50%);
}

html.site-shell body.page-shell--business .page-head .wrap {
  padding-left: min(40vw, 500px);
}

html.site-shell body.page-shell--business .page-head .wrap > :not(.brand-flow--business, .kicker) {
  width: 100%;
  max-width: 730px;
}

html.site-shell body.page-shell--business .page-head .wrap > .kicker {
  width: auto;
}

html.site-shell body.page-shell--business .page-head::before {
  display: none;
}

html.site-shell body.page-shell--business .page-head .brand-flow--business {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: -14px;
  width: min(38vw, 480px);
  min-height: 360px;
  transform: translateY(-50%);
}

.brand-flow--business .brand-flow__calls {
  top: 50%;
  right: -4px;
  transform: translateY(-50%);
}

.brand-flow--business .brand-flow__dial {
  top: 50%;
  left: 50%;
  width: 164px;
  height: 164px;
  transform: translate(-50%, -50%);
}

.brand-flow--business .brand-flow__summaries {
  top: 50%;
  left: -6px;
  transform: translateY(-50%);
}

.brand-flow--business .brand-flow__summary {
  width: 142px;
  min-height: 72px;
}

@keyframes brand-flow-signal {
  0%, 14% { stroke-dashoffset: 1; opacity: 0; }
  24% { opacity: 1; }
  68% { stroke-dashoffset: 0; opacity: 1; }
  82%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

@media (max-width: 899px) {
  html.site-shell body.page-shell--business .page-head .wrap {
    padding-left: 20px;
    padding-bottom: clamp(300px, 75vw, 420px);
  }

  html.site-shell body.page-shell--business .page-head .wrap > :not(.brand-flow--business, .kicker) {
    width: min(100%, 690px);
  }

  html.site-shell body.page-shell--business .page-head .brand-flow--business {
    top: auto;
    right: 50%;
    bottom: 6px;
    left: auto;
    width: min(90vw, 480px);
    min-height: 300px;
    transform: translateX(50%);
  }

  html.site-shell.a11y-large-text body.page-shell--business .page-head .brand-flow--business {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 480px);
    margin: 22px auto -24px;
    transform: none;
  }
}

@media (max-width: 720px) {
  .brand-flow--summary {
    min-height: 240px;
    margin-inline: -2px;
  }

  .brand-flow--summary .brand-flow__wire {
    inset-inline: -3%;
    width: 106%;
  }

  .brand-flow--summary .brand-flow__calls {
    right: 0;
    display: grid;
    grid-template-columns: repeat(2, 34px);
    gap: 7px;
  }

  .brand-flow__call {
    width: 34px;
    border-width: 2px;
  }

  .brand-flow__call svg {
    width: 18px;
    height: 18px;
  }

  .brand-flow--summary .brand-flow__dial {
    width: 116px;
    height: 116px;
  }

  .brand-flow--summary .brand-flow__summaries {
    left: 0;
    gap: 8px;
  }

  .brand-flow--summary .brand-flow__summary {
    width: 82px;
    min-height: 42px;
    padding: 8px 11px 8px 21px;
    border-width: 2px;
  }

  .brand-flow--summary .brand-flow__summary::before {
    left: 7px;
    width: 8px;
    border-width: 2px;
  }

  .brand-flow--business .brand-flow__dial {
    width: 132px;
    height: 132px;
  }

  .brand-flow--business .brand-flow__summary {
    left: 6px;
    width: 112px;
    min-height: 60px;
    border-width: 2px;
  }
}

@media (forced-colors: active) {
  .brand-flow__call,
  .brand-flow__summary,
  .brand-flow__summary::before {
    border-color: CanvasText;
  }

  .brand-flow__call {
    background: CanvasText;
    color: Canvas;
  }

  .brand-flow__summary,
  .brand-flow__summary::before {
    background: Canvas;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-flow__signal {
    animation: none !important;
  }
}
