:root {
  --act3-blue: #7daed2;
  --act3-blue-deep: #173d62;
  --act3-coral: #ff8d87;
  --act3-green: #73c99a;
  --act3-gold: #e8bc65;
  --act3-ink: #071321;
  --act3-line: rgba(133, 171, 201, .34);
}

.act3-stage {
  height: 650px;
  min-height: 650px;
  max-height: none;
  aspect-ratio: auto;
  padding: 0;
}

.act3-status {
  align-items: center;
}

.act3-hold-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(130, 169, 199, .32);
  border-radius: 999px;
  background: rgba(7, 19, 33, .6);
  padding: 5px 10px;
  color: #91a9bd;
}

#act3-hold-clock {
  color: #f2f8fb;
  font-size: .82rem;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}

.act3-frame {
  position: absolute;
  inset: 74px 38px 66px;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  z-index: 4;
}

.act3-frame[hidden] {
  display: none;
}

.act3-frame-copy {
  align-self: center;
  min-width: 0;
}

.act3-frame-copy small {
  display: block;
  margin-bottom: 12px;
  color: var(--act3-coral);
  font-size: .63rem;
  font-weight: 950;
  letter-spacing: .18em;
}

.act3-frame-copy h1,
.act3-frame-copy h2 {
  max-width: 590px;
  margin: 0;
  color: #f7fbfd;
  font-size: clamp(2.1rem, 3.15vw, 3rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}

[data-act3-frame="enterprise-conducts"] .act3-frame-copy h2 {
  font-size: clamp(1.85rem, 2.6vw, 2.55rem);
  line-height: 1.02;
}

.act3-frame-copy p {
  max-width: 600px;
  margin: 18px 0 0;
  color: #aec0cf;
  font-size: clamp(.74rem, 1.1vw, .91rem);
  line-height: 1.55;
}

.act3-visual {
  position: relative;
  min-width: 0;
  min-height: 390px;
  color: #dce8ef;
}

.act3-visual span,
.act3-visual strong,
.act3-visual b,
.act3-visual em,
.act3-visual div {
  box-sizing: border-box;
}

.act3-icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.act3-node-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: #8eb9d6;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-act3-icon] {
  align-content: center;
  gap: 3px;
}

[data-act3-icon="care"] .act3-node-icon,
[data-act3-icon="caregiver"] .act3-node-icon,
[data-act3-icon="medical"] .act3-node-icon {
  stroke: #86c9a5;
}

[data-act3-icon="dollar"] .act3-node-icon,
[data-act3-icon="clock"] .act3-node-icon {
  stroke: #e3bf76;
}

.act3-portrait {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: 50% 38%;
}

.act3-person > .act3-portrait,
.act3-invariant-core > .act3-portrait,
.act3-context-center > .act3-portrait,
.act3-helen-node > .act3-portrait,
.act3-reform-rita > .act3-portrait {
  position: absolute;
  inset: 0;
  min-width: 0;
  min-height: 0;
}

.act3-person,
.act3-invariant-core,
.act3-context-center {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 141, 135, .72);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, rgba(255, 141, 135, .2), rgba(13, 43, 73, .92) 68%);
  box-shadow: 0 0 0 12px rgba(225, 96, 89, .06), 0 18px 35px rgba(0, 0, 0, .2);
  color: #fff;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .12em;
}

.act3-person > span,
.act3-invariant-core > span,
.act3-context-center > span,
.act3-helen-node > span,
.act3-reform-rita > span {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 6px;
  z-index: 2;
  border-radius: 999px;
  background: rgba(4, 18, 30, .78);
  padding: 3px 5px;
  color: #f8fbfd;
  font-size: .43rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-align: center;
}

.act3-invariant-core > strong {
  position: absolute;
  top: -24px;
  z-index: 2;
  border-radius: 999px;
  background: rgba(4, 18, 30, .76);
  padding: 3px 7px;
}

/* Frame 1 — the person is sent toward a fixed system. */
.act3-fixed-system {
  display: grid;
  grid-template-columns: 110px 1fr;
  grid-template-rows: 1fr 46px;
  align-items: center;
  gap: 18px 26px;
}

.act3-fixed-system::before {
  content: "";
  position: absolute;
  left: 96px;
  right: 56%;
  top: 49%;
  height: 2px;
  background: linear-gradient(90deg, var(--act3-coral), var(--act3-blue));
}

.act3-fixed-system::after {
  content: "›";
  position: absolute;
  left: 43%;
  top: calc(49% - 16px);
  color: var(--act3-blue);
  font-size: 2rem;
}

.act3-fixed-system .act3-person {
  z-index: 1;
  width: 92px;
  height: 92px;
}

.act3-system-wall {
  align-self: stretch;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border: 1px solid rgba(138, 164, 185, .45);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(50, 68, 84, .9), rgba(24, 41, 57, .92));
  padding: 24px;
  box-shadow: 0 0 0 13px rgba(124, 153, 176, .05);
}

.act3-system-wall span {
  display: grid;
  place-items: center;
  min-height: 72px;
  border: 1px solid rgba(160, 182, 199, .23);
  border-radius: 10px;
  background: rgba(7, 19, 33, .34);
  color: #c0ccd5;
  font-size: .56rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.act3-fixed-system > strong {
  grid-column: 2;
  justify-self: center;
  border-radius: 999px;
  background: rgba(225, 96, 89, .16);
  padding: 8px 16px;
  color: var(--act3-coral);
  font-size: .58rem;
  letter-spacing: .15em;
}

/* Frame 2 — Rita becomes the stable center. */
.act3-reversal-visual {
  display: grid;
  place-items: center;
}

.act3-invariant-core {
  z-index: 3;
  width: 130px;
  height: 130px;
  align-content: center;
  gap: 8px;
  overflow: visible;
}

.act3-invariant-core strong {
  color: var(--act3-coral);
  font-size: .46rem;
  letter-spacing: .14em;
}

.act3-context-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(360px, 86%);
  height: 280px;
  border: 1px solid rgba(115, 201, 154, .5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 14px rgba(115, 201, 154, .04);
}

.act3-context-orbit span {
  position: absolute;
  border: 1px solid rgba(115, 201, 154, .36);
  border-radius: 999px;
  background: #102e43;
  padding: 7px 11px;
  color: #9fd8b9;
  font-size: .48rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.act3-context-orbit span:nth-child(1) { left: 2%; top: 46%; }
.act3-context-orbit span:nth-child(2) { left: 50%; top: -13px; transform: translateX(-50%); }
.act3-context-orbit span:nth-child(3) { right: 2%; top: 46%; }

.act3-system-recedes {
  position: absolute;
  right: 1%;
  bottom: 2%;
  display: flex;
  gap: 6px;
  opacity: .38;
  transform: scale(.82);
  transform-origin: right bottom;
}

.act3-system-recedes span {
  border: 1px solid #6d7f8e;
  border-radius: 5px;
  padding: 5px 7px;
  color: #8495a3;
  font-size: .42rem;
  font-weight: 850;
}

/* Frames 3 and 4 — bounded context and independent participants. */
.act3-context-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(70px, 1fr));
  align-items: center;
  gap: 14px;
}

.act3-context-map::before {
  content: "";
  position: absolute;
  inset: 9% 7%;
  border: 1px solid rgba(115, 201, 154, .38);
  border-radius: 48%;
}

.act3-context-map::after {
  content: "ONE BOUNDED OUTCOME";
  position: absolute;
  left: 0;
  right: 0;
  top: 1%;
  color: #80bea0;
  text-align: center;
  font-size: .42rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.act3-context-map > span,
.act3-participant,
.act3-reform-map > span,
.act3-proposal-map > span {
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid var(--act3-line);
  border-radius: 999px;
  background: rgba(14, 42, 68, .94);
  padding: 7px 9px;
  color: #b8cad8;
  font-size: .5rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-align: center;
}

.act3-context-map > span,
.act3-participant,
.act3-reform-map > span,
.act3-proposal-map > span,
.act3-caregiver-node,
.act3-oncology-node,
.act3-ride-transfer > span {
  grid-template-rows: auto auto;
}

.act3-context-map > .act3-context-center {
  z-index: 3;
  grid-column: 2 / 4;
  grid-row: 2;
  justify-self: center;
  width: 104px;
  height: 104px;
}

.act3-context-map > span:nth-of-type(1) { grid-column: 1; grid-row: 1; }
.act3-context-map > span:nth-of-type(2) { grid-column: 2; grid-row: 1; }
.act3-context-map > span:nth-of-type(3) { grid-column: 3; grid-row: 1; }
.act3-context-map > span:nth-of-type(4) { grid-column: 4; grid-row: 1; }
.act3-context-map > span:nth-of-type(5) { grid-column: 1; grid-row: 2; }
.act3-context-map > span:nth-of-type(6) { grid-column: 4; grid-row: 2; }
.act3-context-map > span:nth-of-type(7) { grid-column: 2 / 4; grid-row: 3; justify-self: center; width: 46%; }

.act3-conducting-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: 60px 70px 112px 82px;
  align-items: center;
  gap: 10px 12px;
}

.act3-conducting-arc {
  grid-column: 1 / 5;
  align-self: stretch;
  display: grid;
  place-items: center;
  border-top: 2px solid var(--act3-gold);
  border-radius: 50% 50% 0 0;
  color: #f0ce8a;
  font-size: .56rem;
  font-weight: 950;
  letter-spacing: .13em;
}

.act3-conducting-map > .act3-participant {
  grid-row: 2;
}

.act3-conducting-map > .act3-context-center {
  grid-column: 2 / 4;
  grid-row: 3;
  justify-self: center;
  width: 98px;
  height: 98px;
}

.act3-rail {
  grid-column: 1 / 5;
  grid-row: 4;
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  border: 1px solid rgba(115, 201, 154, .48);
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(21, 78, 62, .78), rgba(15, 50, 65, .86));
  padding: 9px 13px;
}

.act3-rail strong {
  color: #e4f5eb;
  font-size: .66rem;
  letter-spacing: .1em;
}

.act3-rail span {
  border-left: 1px solid rgba(115, 201, 154, .34);
  padding-left: 12px;
  color: #9bc9b0;
  font-size: .44rem;
  font-weight: 850;
  line-height: 1.45;
  letter-spacing: .08em;
}

.act3-rail span b {
  display: inline-block;
  margin-bottom: 2px;
  color: #dcefe4;
  font-size: .43rem;
  letter-spacing: .1em;
}

.act3-rail span em {
  color: #d1eadd;
  font-size: .39rem;
  font-style: normal;
}

/* Frame 5 — a new fact enters Helen's independent care circle. */
.act3-change-map {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  grid-template-rows: 1fr 45px;
  align-items: center;
  gap: 18px;
}

.act3-care-circle {
  position: relative;
  justify-self: center;
  width: 245px;
  height: 245px;
  border: 1px solid rgba(125, 174, 210, .55);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 68, 101, .62), rgba(8, 26, 43, .2) 72%);
  box-shadow: 0 0 0 13px rgba(125, 174, 210, .04);
}

.act3-care-label {
  position: absolute;
  left: 50%;
  top: 15px;
  color: #8eb2cd;
  font-size: .46rem;
  font-weight: 900;
  letter-spacing: .12em;
  transform: translateX(-50%);
  white-space: nowrap;
}

.act3-helen-node,
.act3-caregiver-node,
.act3-oncology-node {
  position: absolute;
  display: grid;
  place-items: center;
  text-align: center;
}

.act3-helen-node {
  left: 50%;
  top: 62px;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(255, 141, 135, .66);
  border-radius: 50%;
  background: #173853;
  color: #fff;
  font-size: .66rem;
  letter-spacing: .1em;
  transform: translateX(-50%);
  overflow: hidden;
}

.act3-caregiver-node,
.act3-oncology-node {
  bottom: 25px;
  width: 96px;
  min-height: 48px;
  border: 1px solid rgba(115, 201, 154, .48);
  border-radius: 999px;
  background: #133d39;
  color: #b7e2c9;
  padding: 6px 8px;
  font-size: .46rem;
  line-height: 1.2;
  letter-spacing: .06em;
}

.act3-caregiver-node { left: 16px; }
.act3-oncology-node { right: 16px; }

.act3-ride-transfer {
  position: relative;
  min-height: 180px;
  display: grid;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  justify-items: center;
  gap: 38px;
}

.act3-ride-transfer::before {
  content: "↓";
  position: absolute;
  left: 50%;
  top: 50%;
  color: var(--act3-green);
  font-size: 1.7rem;
  transform: translate(-50%, -50%);
}

.act3-ride-transfer > span,
.act3-ride-destination {
  display: grid;
  place-items: center;
  width: min(180px, 100%);
  min-height: 56px;
  border: 1px solid var(--act3-line);
  border-radius: 12px;
  background: rgba(15, 44, 70, .88);
  color: #afc3d2;
  padding: 8px;
  font-size: .52rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-align: center;
}

.act3-ride-destination {
  border-color: rgba(115, 201, 154, .58);
  background: rgba(24, 83, 65, .64);
  color: #dff5e8;
}

.act3-ride-destination[data-act3-icon] {
  grid-template-columns: 42px 22px minmax(0, 1fr);
  grid-template-rows: 44px;
  gap: 7px;
  justify-content: stretch;
}

.act3-ride-destination .act3-portrait {
  position: static;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 141, 135, .62);
  border-radius: 50%;
}

.act3-ride-destination > span {
  min-width: 0;
}

.act3-change-map > em {
  grid-column: 1 / 3;
  justify-self: center;
  border-radius: 999px;
  background: rgba(115, 201, 154, .14);
  padding: 8px 14px;
  color: var(--act3-green);
  font-size: .52rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: .12em;
}

/* Frame 6 — stable pieces remain while one market reforms. */
.act3-reform-map {
  display: grid;
  grid-template-columns: 1fr 1fr 105px 1.35fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  gap: 18px;
}

.act3-reform-map > span {
  min-height: 72px;
  border-radius: 13px;
  border-color: rgba(115, 201, 154, .36);
  background: rgba(20, 69, 57, .52);
  color: #c6e4d2;
}

.act3-reform-map > span:nth-of-type(1) { grid-column: 1; grid-row: 1; }
.act3-reform-map > span:nth-of-type(2) { grid-column: 2; grid-row: 1; }
.act3-reform-map > span:nth-of-type(3) { grid-column: 1; grid-row: 2; }
.act3-reform-map > span:nth-of-type(4) { grid-column: 2; grid-row: 2; }

.act3-reform-rita {
  position: relative;
  grid-column: 3;
  grid-row: 1 / 3;
  justify-self: center;
  width: 92px;
  height: 92px;
  overflow: hidden;
  border: 1px solid rgba(255, 141, 135, .7);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(225, 96, 89, .05);
}

.act3-reform-map > strong {
  grid-column: 4;
  grid-row: 1 / 3;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 190px;
  height: 190px;
  border: 2px solid var(--act3-gold);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 188, 101, .13), rgba(14, 42, 68, .78) 70%);
  padding: 28px;
  color: #f1d597;
  font-size: .62rem;
  line-height: 1.35;
  letter-spacing: .08em;
  text-align: center;
}

.act3-reform-map > strong .act3-node-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
  stroke: #efcf8e;
}

/* Frame 7 — a complete proposal, with every authority still independent. */
.act3-proposal-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: 74px 138px 58px;
  align-items: center;
  gap: 14px;
}

.act3-proposal-map > span:nth-of-type(1),
.act3-proposal-map > span:nth-of-type(2),
.act3-proposal-map > span:nth-of-type(3),
.act3-proposal-map > span:nth-of-type(4) { grid-row: 1; }
.act3-proposal-map > span:nth-of-type(5) { grid-column: 1; grid-row: 2; }
.act3-proposal-map > span:nth-of-type(6) { grid-column: 4; grid-row: 2; }

.act3-proposal-center {
  position: relative;
  grid-column: 2 / 4;
  grid-row: 2;
  align-self: stretch;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  place-items: center;
  gap: 12px;
  border: 1px solid rgba(115, 201, 154, .64);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(39, 111, 82, .68), rgba(13, 45, 55, .8) 72%);
  padding: 12px 18px;
  color: #ecf8f1;
  font-size: .67rem;
  font-weight: 950;
  line-height: 1.35;
  letter-spacing: .09em;
  text-align: center;
  box-shadow: 0 0 0 13px rgba(115, 201, 154, .05);
  overflow: hidden;
}

.act3-proposal-center .act3-portrait {
  position: static;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(255, 141, 135, .7);
  border-radius: 50%;
}

.act3-proposal-center > span {
  position: relative;
  z-index: 2;
  align-self: center;
  border-radius: 999px;
  background: rgba(5, 29, 35, .83);
  padding: 6px 10px;
}

.act3-proposal-map > strong {
  grid-column: 1 / 5;
  grid-row: 3;
  justify-self: center;
  border-top: 1px solid rgba(135, 163, 186, .28);
  padding: 13px 18px 0;
  color: var(--act3-gold);
  font-size: .54rem;
  letter-spacing: .1em;
  text-align: center;
}

.act3-intermission[hidden],
.act3-handoff[hidden] {
  display: none !important;
}

.act3-intermission {
  position: absolute;
  inset: 74px 0 0;
  z-index: 40;
  display: grid;
  grid-template-rows: auto 1fr;
  background: radial-gradient(circle at 50% 47%, rgba(45, 103, 159, .22), transparent 42%), linear-gradient(145deg, #0d223c, #071321 65%, #040b13);
  padding: 22px 32px 28px;
  color: #eef6fa;
}

.act3-intermission-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #9fb4c7;
  font-size: .625rem;
  font-weight: 850;
  letter-spacing: .12em;
}

.act3-intermission-topline span {
  color: var(--act3-coral);
}

.act3-intermission-copy {
  align-self: center;
  justify-self: center;
  width: min(850px, 94%);
  padding: 12px 0 18px;
  text-align: center;
}

.act3-intermission-copy > small {
  display: block;
  margin-bottom: 10px;
  color: var(--act3-coral);
  font-size: .625rem;
  font-weight: 950;
  letter-spacing: .18em;
}

.act3-intermission-copy h2 {
  margin: 0;
  color: #f7fbfd;
  font-size: clamp(2.15rem, 4vw, 3.45rem);
  line-height: 1;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.act3-intermission-copy > p {
  max-width: 760px;
  margin: 15px auto 0;
  color: #b4c5d3;
  font-size: clamp(.78rem, 1.25vw, .95rem);
  line-height: 1.45;
}

.act3-next-act {
  width: min(620px, 100%);
  margin: 16px auto 0;
  border-top: 1px solid rgba(139, 164, 185, .24);
  padding-top: 13px;
}

.act3-next-act small,
.act3-next-act strong {
  display: block;
}

.act3-next-act small {
  color: #829caf;
  font-size: .625rem;
  font-weight: 950;
  letter-spacing: .13em;
}

.act3-next-act strong {
  margin-top: 5px;
  color: #f6fafc;
  font-size: .75rem;
  letter-spacing: .035em;
}

.act3-intermission-countdown {
  margin-top: 14px;
  color: #91a6b8;
  font-size: .64rem;
}

.act3-intermission-countdown strong {
  color: var(--act3-coral);
  font-variant-numeric: tabular-nums;
}

.act3-intermission-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.act3-intermission-controls button {
  min-height: 38px;
  border: 1px solid rgba(130, 214, 166, .4);
  border-radius: 999px;
  background: rgba(28, 87, 65, .27);
  padding: 8px 13px;
  color: #dff4e8;
  font: inherit;
  font-size: .625rem;
  font-weight: 850;
  cursor: pointer;
}

.act3-intermission-controls button:first-child {
  border-color: rgba(225, 96, 89, .65);
  background: rgba(91, 42, 46, .55);
  color: #fff;
}

.act3-intermission-controls button:hover {
  background: rgba(40, 112, 82, .48);
}

.act3-intermission-controls button:disabled {
  opacity: .42;
  cursor: default;
}

.act3-handoff {
  position: absolute;
  inset: 74px 38px 54px;
  display: grid;
  place-content: center;
  gap: 14px;
  text-align: center;
  z-index: 12;
}

.act3-handoff:focus { outline: none; }
.act3-handoff small { color: var(--act3-coral); font-size: .67rem; font-weight: 950; letter-spacing: .18em; }
.act3-handoff h2 { margin: 0; color: #fff; font-size: clamp(2.7rem, 5vw, 4.5rem); line-height: .95; letter-spacing: -.05em; }
.act3-handoff p { margin: 0; color: #9db1c2; font-size: .65rem; font-weight: 900; letter-spacing: .15em; }

.act3-stage .fc-footer {
  grid-template-columns: 70px 70px 145px minmax(0, 1fr) 120px;
}

.act3-stage .fc-footer[hidden] {
  display: none;
}

.act3-stage .fc-progress {
  min-width: 0;
}

/* Movement is restrained and runs only when a frame enters. */
.act3-frame.is-active .act3-frame-copy {
  animation: act3-rise .55s ease both;
}

.act3-frame.is-active .act3-visual > * {
  animation: act3-arrive .5s .18s ease both;
}

@keyframes act3-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes act3-arrive {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 900px) {
  .act3-stage {
    height: 720px;
    min-height: 720px;
  }

  .act3-frame {
    inset-inline: 26px;
    gap: 24px;
  }

  .act3-frame-copy h1,
  .act3-frame-copy h2 { font-size: clamp(1.9rem, 4.7vw, 2.6rem); }
  [data-act3-frame="enterprise-conducts"] .act3-frame-copy h2 { font-size: clamp(1.65rem, 3.8vw, 2.15rem); }
  .act3-visual { min-height: 380px; }
}

@media (max-width: 760px) {
  .act3-stage {
    height: 860px;
    min-height: 860px;
    padding: 0;
  }

  .act3-frame {
    inset: 68px 18px 86px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(150px, auto) minmax(0, 1fr);
    align-content: stretch;
    gap: 18px;
  }

  .act3-frame-copy {
    align-self: start;
  }

  .act3-frame-copy small { margin-bottom: 8px; font-size: .55rem; }
  .act3-frame-copy h1,
  .act3-frame-copy h2 { max-width: 640px; font-size: clamp(1.8rem, 7.1vw, 2.45rem); }
  [data-act3-frame="enterprise-conducts"] .act3-frame-copy h2 { font-size: clamp(1.5rem, 5.6vw, 2rem); }
  .act3-frame-copy p { margin-top: 11px; font-size: .72rem; line-height: 1.42; }
  .act3-visual { min-height: 0; height: 100%; }

  .act3-stage .fc-footer {
    left: 14px;
    right: 14px;
    bottom: 11px;
    height: 64px;
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 92px;
    grid-template-rows: 24px 30px;
    grid-template-areas:
      "back autoplay next"
      "reset progress progress";
    column-gap: 8px;
    row-gap: 5px;
  }

  .act3-stage .fc-back { grid-area: back; }
  .act3-stage .fc-reset { grid-area: reset; }
  .act3-stage .fc-autoplay { grid-area: autoplay; }
  .act3-stage .fc-next { grid-area: next; }
  .act3-stage .fc-progress { grid-area: progress; }

  .act3-intermission {
    top: 68px;
    padding: 18px;
  }

  .act3-intermission-copy {
    width: 100%;
    padding: 14px 0;
  }

  .act3-intermission-copy h2 {
    font-size: clamp(2.05rem, 9vw, 2.7rem);
  }

  .act3-intermission-copy > p {
    font-size: .75rem;
  }

  .act3-intermission-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .act3-intermission-controls button {
    min-height: 44px;
    padding: 7px 9px;
  }

  .act3-intermission-controls button:first-child {
    grid-column: 1 / -1;
  }

  .act3-fixed-system { grid-template-columns: 82px 1fr; gap: 12px; }
  .act3-fixed-system .act3-person { width: 72px; height: 72px; }
  .act3-fixed-system::before { left: 70px; }
  .act3-system-wall { padding: 14px; }
  .act3-system-wall span { min-height: 58px; }

  .act3-context-map {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(62px, 1fr));
    gap: 12px;
  }
  .act3-context-map > .act3-context-center { grid-column: 2; grid-row: 2 / 4; width: 88px; height: 88px; align-self: center; }
  .act3-context-map > span:nth-of-type(1) { grid-column: 1; grid-row: 1; }
  .act3-context-map > span:nth-of-type(2) { grid-column: 2; grid-row: 1; }
  .act3-context-map > span:nth-of-type(3) { grid-column: 3; grid-row: 1; }
  .act3-context-map > span:nth-of-type(4) { grid-column: 1; grid-row: 2; }
  .act3-context-map > span:nth-of-type(5) { grid-column: 3; grid-row: 2; }
  .act3-context-map > span:nth-of-type(6) { grid-column: 1; grid-row: 3; }
  .act3-context-map > span:nth-of-type(7) { grid-column: 3; grid-row: 3; width: auto; }

  .act3-conducting-map {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 52px 56px 56px 102px 70px;
    gap: 8px 12px;
  }
  .act3-conducting-arc { grid-column: 1 / 3; grid-row: 1; }
  .act3-conducting-map > .act3-participant:nth-of-type(1),
  .act3-conducting-map > .act3-participant:nth-of-type(2) { grid-row: 2; }
  .act3-conducting-map > .act3-participant:nth-of-type(3),
  .act3-conducting-map > .act3-participant:nth-of-type(4) { grid-row: 3; }
  .act3-conducting-map > .act3-context-center { grid-column: 1 / 3; grid-row: 4; width: 84px; height: 84px; }
  .act3-rail { grid-column: 1 / 3; grid-row: 5; }

  .act3-change-map {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 235px 125px 40px;
    gap: 8px;
  }
  .act3-care-circle { width: 225px; height: 225px; }
  .act3-caregiver-node, .act3-oncology-node { bottom: 18px; width: 88px; }
  .act3-ride-transfer { min-height: 0; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; gap: 32px; }
  .act3-ride-transfer::before { content: "→"; }
  .act3-change-map > em { grid-column: 1; }

  .act3-reform-map {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 64px 64px 155px;
    gap: 10px 12px;
  }
  .act3-reform-map > span:nth-of-type(1) { grid-column: 1; grid-row: 1; }
  .act3-reform-map > span:nth-of-type(2) { grid-column: 2; grid-row: 1; }
  .act3-reform-map > span:nth-of-type(3) { grid-column: 1; grid-row: 2; }
  .act3-reform-map > span:nth-of-type(4) { grid-column: 2; grid-row: 2; }
  .act3-reform-map > span { min-height: 58px; }
  .act3-reform-rita { grid-column: 1; grid-row: 3; width: 96px; height: 96px; }
  .act3-reform-map > strong { grid-column: 2; grid-row: 3; width: 150px; height: 150px; padding: 20px; }

  .act3-proposal-map {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 52px 96px 52px 54px;
    gap: 10px;
  }
  .act3-proposal-map > span:nth-of-type(1) { grid-column: 1; grid-row: 1; }
  .act3-proposal-map > span:nth-of-type(2) { grid-column: 2; grid-row: 1; }
  .act3-proposal-map > span:nth-of-type(3) { grid-column: 3; grid-row: 1; }
  .act3-proposal-map > span:nth-of-type(4) { grid-column: 1; grid-row: 2; }
  .act3-proposal-map > span:nth-of-type(5) { grid-column: 3; grid-row: 2; }
  .act3-proposal-map > span:nth-of-type(6) { grid-column: 2; grid-row: 3; }
  .act3-proposal-center { grid-column: 2; grid-row: 2; padding: 12px; font-size: .54rem; }
  .act3-proposal-center { grid-template-columns: 1fr; gap: 0; border-radius: 50%; }
  .act3-proposal-center .act3-portrait { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: inherit; }
  .act3-proposal-center > span { align-self: end; }
  .act3-proposal-map > strong { grid-column: 1 / 4; grid-row: 4; }
}

@media (max-width: 650px) {
  .act3-stage .fc-header { left: 16px; right: 16px; }
  .act3-stage .fc-header b { display: none; }
  .act3-stage .fc-header .fc-status { gap: 7px; }
  .act3-hold-status { padding: 4px 7px; }
  #act3-hold-clock { font-size: .72rem; }
  .act3-stage { height: 850px; min-height: 850px; }
  .act3-frame { inset-inline: 14px; }
  .act3-frame-copy h1,
  .act3-frame-copy h2 { font-size: clamp(1.7rem, 8.4vw, 2.15rem); }
  [data-act3-frame="enterprise-conducts"] .act3-frame-copy h2 { font-size: clamp(1.38rem, 6.6vw, 1.75rem); }
  .act3-frame-copy p { font-size: .68rem; }
  .act3-context-map > span,
  .act3-participant,
  .act3-reform-map > span,
  .act3-proposal-map > span { padding: 5px; font-size: .43rem; letter-spacing: .035em; }
  .act3-node-icon { width: 19px; height: 19px; }
  .act3-conducting-map { grid-template-rows: 46px 52px 52px 88px 66px; }
  .act3-rail { grid-template-columns: 68px 1fr; padding: 7px 9px; }
  .act3-rail span { font-size: .39rem; }
  .act3-care-circle { width: 205px; height: 205px; }
  .act3-helen-node { top: 51px; width: 72px; height: 72px; }
  .act3-caregiver-node, .act3-oncology-node { bottom: 16px; width: 82px; min-height: 44px; font-size: .41rem; }
  .act3-caregiver-node { left: 12px; }
  .act3-oncology-node { right: 12px; }
  .act3-ride-transfer > span, .act3-ride-destination { font-size: .45rem; }
  .act3-ride-destination[data-act3-icon] { grid-template-columns: 36px 18px minmax(0, 1fr); grid-template-rows: 38px; gap: 5px; }
  .act3-ride-destination .act3-portrait { width: 36px; height: 36px; }
  .act3-proposal-center { font-size: .48rem; }
  .act3-handoff { inset-inline: 18px; }
  .act3-handoff h2 { font-size: clamp(2.2rem, 12vw, 3.3rem); }
  .act3-intermission { padding-inline: 14px; }
  .act3-intermission-topline { font-size: .55rem; }
  .act3-intermission-copy h2 { font-size: clamp(1.95rem, 9.6vw, 2.5rem); }
  .act3-next-act { margin-top: 13px; }
}

@media (max-width: 420px) {
  .act3-prototype-page .site-header .header-inner { width: calc(100% - 18px); column-gap: 7px; }
  .act3-prototype-page .site-header nav { gap: 6px; }
  .act3-prototype-page .site-header nav a { min-height: 36px; font-size: 9px; }
  .act3-prototype-page .site-header .site-heading p { font-size: 12px; }
  .act3-prototype-page .site-footer { padding-inline: 10px; }
  .act3-fixed-system { grid-template-columns: 64px 1fr; gap: 9px; }
  .act3-fixed-system .act3-person { width: 58px; height: 58px; font-size: .56rem; }
  .act3-fixed-system::before { left: 52px; }
  .act3-system-wall { padding: 10px; gap: 7px; }
  .act3-system-wall span { min-height: 54px; font-size: .45rem; }
  .act3-invariant-core { width: 100px; height: 100px; }
  .act3-context-orbit { width: 100%; height: 260px; }
  .act3-context-orbit span { padding: 6px 7px; font-size: .4rem; }
  .act3-context-orbit span:nth-child(1) { left: 0; }
  .act3-context-orbit span:nth-child(3) { right: 0; }
  .act3-context-map { gap: 8px; }
  .act3-context-map > .act3-context-center { width: 72px; height: 72px; font-size: .57rem; }
  .act3-reform-rita { width: 82px; height: 82px; }
  .act3-reform-map > strong { width: 136px; height: 136px; font-size: .52rem; }
  .act3-proposal-map { gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .act3-frame,
  .act3-frame *,
  .act3-frame::before,
  .act3-frame::after {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    animation-name: none !important;
    transition-duration: 0s !important;
    transform: none;
  }

  .act3-context-orbit { transform: translate(-50%, -50%); }
  .act3-care-label, .act3-helen-node { transform: translateX(-50%); }
  .act3-ride-transfer::before { transform: translate(-50%, -50%); }
}
