/* Motion edition: the same EdProduce identity, with a visible production process. */
.brand-part {
  transform-box: fill-box;
  transform-origin: center bottom;
}
.hero-aperture::before {
  content: "";
  position: absolute;
  inset: -15% -60%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(110deg, transparent 38%, #f2f1ed38 47%, #d5a7ff55 50%, transparent 60%);
}
.hero-aperture.has-studio-light::before {
  animation: studio-light 1050ms cubic-bezier(.22, 1, .36, 1) 200ms both;
}
@keyframes studio-light {
  0% { transform: translateX(-55%); opacity: 0; }
  25% { opacity: .8; }
  100% { transform: translateX(55%); opacity: 0; }
}
.aperture-play {
  z-index: 2;
}
.heading-mask {
  display: block;
  overflow: clip;
  overflow-clip-margin: .16em;
}
.heading-line {
  display: block;
}
@supports not (overflow-clip-margin: .16em) {
  .heading-mask {
    overflow: visible;
    clip-path: inset(-.12em -.03em -.18em);
  }
}
.hero-body h1 > .heading-mask,
.hero-body h1 .heading-line {
  color: inherit;
}
.hero-body h1 .heading-accent {
  color: var(--violet);
}

/* A persistent set of components changes its arrangement at each production stage. */
.school-assembly {
  margin: 0 0 30px;
  padding-bottom: 27px;
  border-bottom: 1px solid var(--line);
}
.school-assembly figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  font-weight: 500;
}
.assembly-counter {
  color: var(--muted);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.assembly-canvas {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  grid-template-rows: repeat(2, 72px);
  gap: 22px 30px;
  margin-top: 25px;
}
.assembly-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: -1;
}
.assembly-wires path {
  fill: none;
  stroke: var(--violet);
  stroke-width: 1;
  opacity: .45;
  vector-effect: non-scaling-stroke;
}
.assembly-node {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 11px 13px 12px;
  background: #fcfcfa;
  border: 1px solid #d6d1dc;
}
.assembly-node small {
  font-size: 9px;
  line-height: 1;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.assembly-node > span {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}
.assembly-node[data-node="0"] { grid-area: 1 / 1; }
.assembly-node[data-node="1"] { grid-area: 1 / 2; }
.assembly-node[data-node="2"] { grid-area: 2 / 1; }
.assembly-node[data-node="3"] { grid-area: 2 / 2; }
.assembly-core {
  grid-area: 1 / 3 / 3 / 4;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 12px;
  background: var(--violet);
  color: white;
}
.assembly-core-symbol {
  font-size: 33px;
  line-height: 1;
}
.assembly-core strong {
  font: 700 clamp(25px, 2.8vw, 40px)/1 var(--display);
}
.school-assembly[data-scene="product"] .assembly-core,
.school-assembly[data-scene="team"] .assembly-core { grid-column: 2; }
.school-assembly[data-scene="product"] .assembly-node[data-node="1"],
.school-assembly[data-scene="team"] .assembly-node[data-node="1"] { grid-area: 2 / 1; }
.school-assembly[data-scene="product"] .assembly-node[data-node="2"],
.school-assembly[data-scene="team"] .assembly-node[data-node="2"] { grid-area: 1 / 3; }
.school-assembly[data-scene="product"] .assembly-node[data-node="3"],
.school-assembly[data-scene="team"] .assembly-node[data-node="3"] { grid-area: 2 / 3; }
.school-assembly[data-scene="team"] .assembly-core {
  border-radius: 48% / 35%;
  background: var(--ink);
}
.school-assembly[data-scene="sales"] .assembly-core { grid-area: 2 / 3; }
.school-assembly[data-scene="sales"] .assembly-node[data-node="2"] { grid-area: 1 / 3; }
.school-assembly[data-scene="sales"] .assembly-node[data-node="3"] { grid-area: 2 / 2; }
.school-assembly .assembly-caption {
  margin-top: 18px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
}

/* Four selectable points on a single journey. Figures stay visible throughout. */
.funnel-hint {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 27px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}
.funnel-hint > span {
  color: var(--violet);
  font-size: 20px;
}
.funnel-journey {
  position: relative;
  isolation: isolate;
}
.funnel-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: -1;
}
.funnel-route path {
  fill: none;
  stroke: var(--violet);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.business-funnel > li {
  padding-top: 29px;
}
.funnel-select {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  color: inherit;
}
.funnel-port {
  position: absolute;
  top: -26px;
  left: 0;
  width: 7px;
  height: 7px;
  border: 1px solid var(--violet);
  border-radius: 50%;
  background: var(--paper);
}
.business-funnel > li[data-active="true"] .funnel-port {
  background: var(--violet);
  box-shadow: 0 0 0 4px #8a31ef13;
}
.business-funnel > li[data-active="true"] strong {
  color: var(--violet);
}
.funnel-select .funnel-description {
  display: block;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 10px;
  min-height: 36px;
  max-width: 190px;
}
.funnel-bar {
  display: block;
}
.funnel-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 25px;
  font-size: 10px;
  color: var(--muted);
}
.funnel-open > span {
  font-size: 21px;
  line-height: 1;
  transition: transform 180ms var(--ease);
}
.business-funnel > li[data-active="true"] .funnel-open {
  color: var(--violet);
}
.funnel-insight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 32px 0 34px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
  min-height: 240px;
  scroll-margin-top: 100px;
}
.funnel-question {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 25px;
  align-items: start;
}
.funnel-detail-index {
  font: 700 76px/.9 var(--display);
  color: #a997bb;
  font-variant-numeric: tabular-nums;
}
.funnel-question h3 {
  font: 750 clamp(34px, 3.2vw, 48px)/1.05 var(--display);
  max-width: 420px;
}
.funnel-answer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.funnel-answer dt {
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 600;
  color: var(--violet);
}
.funnel-answer dd {
  font-size: 11px;
  line-height: 1.85;
}

/* The opening aperture becomes the visitor's project in the final scene. */
.contact-lockup {
  isolation: isolate;
}
.closing-pieces {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  visibility: hidden;
}
.closing-piece {
  position: absolute;
  padding: 11px 17px;
  border: 1px solid #a874dd;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}
.closing-piece:nth-child(1) { left: 21%; top: 7%; }
.closing-piece:nth-child(2) { right: 20%; top: 12%; }
.closing-piece:nth-child(3) { left: 11%; bottom: 13%; }
.closing-piece:nth-child(4) { right: 10%; bottom: 9%; }
.closing-piece:nth-child(5) { left: 45%; top: -7%; }
.next-aperture {
  z-index: 1;
}
.next-aperture > span {
  display: block;
}

/* A single transformed surface opens from and returns to the letter O. */
.video-dialog {
  width: min(1160px, calc(100% - 36px), calc((100dvh - 100px) * 16 / 9));
  transform-origin: left top;
}
.video-dialog::backdrop {
  backdrop-filter: none;
  animation: video-backdrop-in 350ms var(--ease) both;
}
@keyframes video-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.video-morph-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 44%;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
}
.video-dialog.is-morphing {
  overflow: hidden;
}
.video-dialog.is-morphing .video-dialog-header,
.video-dialog.is-morphing .video {
  opacity: 0;
}
.video-dialog.is-morphing .video-morph-poster {
  opacity: 1;
}
.video-dialog.is-closing::backdrop {
  animation: video-backdrop-out 320ms ease both;
}
@keyframes video-backdrop-out {
  to { opacity: 0; }
}
.video-dialog.motion-static::backdrop {
  animation: none;
}

@media (hover: hover) and (pointer: fine) {
  .funnel-select:hover .funnel-open { color: var(--violet); }
  .funnel-select:hover .funnel-open > span { transform: translate(2px, -2px); }
}
@media (max-width: 1100px) {
  .assembly-canvas { column-gap: 20px; }
  .assembly-node { padding-inline: 9px; }
  .assembly-node > span { font-size: 10px; }
  .assembly-core { padding-inline: 8px; }
  .assembly-core strong { font-size: 30px; }
  .funnel-insight { gap: 35px; }
  .funnel-question { grid-template-columns: 50px 1fr; gap: 15px; }
  .funnel-detail-index { font-size: 60px; }
  .funnel-answer { gap: 18px; }
}
@media (max-width: 767px) {
  .hero-aperture.has-studio-light::before { animation-duration: 850ms; }
  .school-assembly { padding-bottom: 23px; margin-bottom: 25px; }
  .assembly-canvas,
  .school-assembly[data-scene] .assembly-canvas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 67px 67px 72px;
    gap: 17px 22px;
    margin-top: 22px;
  }
  .school-assembly[data-scene] .assembly-node[data-node="0"] { grid-area: 1 / 1; }
  .school-assembly[data-scene] .assembly-node[data-node="1"] { grid-area: 1 / 2; }
  .school-assembly[data-scene] .assembly-node[data-node="2"] { grid-area: 2 / 1; }
  .school-assembly[data-scene] .assembly-node[data-node="3"] { grid-area: 2 / 2; }
  .school-assembly[data-scene] .assembly-core {
    grid-area: 3 / 1 / 4 / 3;
    flex-direction: row;
    gap: 17px;
    border-radius: 0;
  }
  .assembly-node { padding: 9px 11px; }
  .assembly-node > span { font-size: 11px; }
  .assembly-core strong { font-size: 35px; }
  .assembly-core-symbol { font-size: 25px; }
  .funnel-hint { margin: 20px 0 30px; max-width: 300px; font-size: 10px; }
  .business-funnel { grid-template-columns: 1fr; }
  .business-funnel > li,
  .business-funnel > li:first-child,
  .business-funnel > li:nth-child(odd) {
    padding: 23px 0 23px 29px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .business-funnel > li:last-child { border-bottom: 0; }
  .funnel-port { top: 0; left: -27px; }
  .funnel-select { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; align-items: start; }
  .funnel-step { grid-column: 1 / -1; font-size: 10px; }
  .business-funnel strong { grid-column: 1; font-size: clamp(54px, 15vw, 76px); margin-top: 14px; }
  .funnel-select .funnel-description { grid-column: 2; grid-row: 2; margin-top: 19px; min-height: 0; font-size: 10px; }
  .funnel-select .funnel-bar { grid-column: 1 / -1; margin-top: 17px; }
  .business-funnel small { grid-column: 1 / -1; font-size: 9px; margin-top: 11px; }
  .funnel-open { grid-column: 1 / -1; margin-top: 13px; }
  .funnel-insight { grid-template-columns: 1fr; gap: 25px; padding-block: 27px; margin-bottom: 28px; min-height: 0; }
  .funnel-question { grid-template-columns: 42px 1fr; gap: 14px; }
  .funnel-detail-index { font-size: 53px; }
  .funnel-question h3 { font-size: 36px; max-width: 360px; }
  .funnel-answer { gap: 19px; }
  .funnel-answer dt { font-size: 10px; }
  .funnel-answer dd { font-size: 10px; line-height: 1.8; }
  .closing-piece { padding: 7px 9px; font-size: 8px; }
  .closing-piece:nth-child(1) { left: 9%; top: -8%; }
  .closing-piece:nth-child(2) { right: 7%; top: -5%; }
  .closing-piece:nth-child(3) { left: 0; bottom: 2%; }
  .closing-piece:nth-child(4) { right: 0; bottom: 0; }
  .closing-piece:nth-child(5) { left: 40%; top: -25%; }
  .video-dialog { width: min(calc(100% - 22px), calc((100dvh - 100px) * 16 / 9)); }
}
@media (max-width: 374px) {
  .assembly-node > span { font-size: 10px; }
  .funnel-answer { grid-template-columns: 1fr; gap: 19px; }
  .funnel-answer dt { margin-bottom: 6px; }
  .funnel-question h3 { font-size: 33px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-aperture.has-studio-light::before { animation: none; }
  .video-dialog::backdrop,
  .video-dialog.is-closing::backdrop { animation: none; }
  .closing-pieces { visibility: hidden !important; }
}
