/*
 * Instituto Softown — coreografia modular.
 *
 * Cada bloco depende de uma classe `is-choreo-*` aplicada pelo runtime. Sem
 * essa classe, a pagina conserva exatamente a composicao anterior. O retorno
 * global tambem pode ser testado com `?choreo=classic`.
 */

.field-notes-viewport {
  min-width: 0;
}

.field-choreography-status[hidden] {
  display: none;
}

.field-notes-section.is-ideas-choreography[data-choreo-ideas="horizontal"] {
  --ideas-progress: 0;
  --ideas-scroll-travel: 1100px;
  --ideas-track-x: 0px;
}

.field-notes-section.is-ideas-choreography .field-choreography-status {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: auto minmax(100px, 230px) auto;
  align-items: center;
  gap: clamp(12px, 1.8vw, 28px);
  color: var(--softown-sand);
  font-size: 10px;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.field-choreography-count {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-width: 56px;
  color: var(--softown-gold-light, var(--softown-gold));
  font-family: var(--softown-serif);
  font-size: 18px;
  letter-spacing: 0;
}

.field-choreography-count i {
  color: var(--softown-line-dark);
  font-family: var(--softown-sans);
  font-size: 10px;
  font-style: normal;
}

.field-choreography-progress {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: var(--softown-line-dark);
}

.field-choreography-progress i {
  position: absolute;
  inset: 0;
  background: var(--softown-gold);
  content: "";
  scale: var(--ideas-progress) 1;
  transform-origin: left center;
  transition: scale 180ms linear;
}

.field-choreography-hint-mobile {
  display: none;
}

.field-notes-section.is-ideas-choreography [data-field-photo] {
  transition:
    opacity 540ms ease,
    scale 700ms var(--softown-ease-out),
    translate 700ms var(--softown-ease-out),
    z-index 0s;
}

.field-notes-section.is-ideas-choreography [data-field-photo]:not(.is-choreo-current) {
  opacity: .7;
  scale: .95;
}

.field-notes-section.is-ideas-choreography [data-field-photo].is-choreo-current {
  z-index: 4;
  opacity: 1;
  scale: 1;
}

html[data-institute-experience="motion-v2"].institute-motion-ready .field-notes-section.is-ideas-choreography [data-field-stage] [data-field-photo],
html[data-institute-experience="motion-v2"].institute-motion-ready .field-notes-section.is-ideas-choreography [data-field-stage][data-motion-active] [data-field-photo] {
  --motion-field-x: 0%;
  --motion-field-y: 0%;
  translate: 0 0;
}

html[data-institute-experience="motion-v2"].institute-motion-ready .field-notes-section.is-ideas-choreography [data-field-stage] [data-field-photo]:not(.is-choreo-current) {
  opacity: .7;
  scale: .95;
}

html[data-institute-experience="motion-v2"].institute-motion-ready .field-notes-section.is-ideas-choreography [data-field-stage] [data-field-photo].is-choreo-current {
  opacity: 1;
  scale: 1;
}

@media (min-width: 901px) and (min-height: 680px) {
  .field-notes-section.is-ideas-choreography[data-choreo-ideas="horizontal"] {
    height: calc(100svh + var(--ideas-scroll-travel));
    min-height: calc(620px + var(--ideas-scroll-travel));
    padding-block: 0;
    overflow: clip;
  }

  .field-notes-section.is-ideas-choreography > .field-notes-inner {
    position: sticky;
    top: 0;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    width: min(100%, var(--softown-container));
    height: 100svh;
    min-height: 620px;
    padding-block: clamp(28px, 4.5svh, 64px) clamp(20px, 3.5svh, 48px);
  }

  .field-notes-section.is-ideas-choreography .field-notes-heading {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .68fr);
    gap: clamp(32px, 5vw, 88px);
  }

  .field-notes-section.is-ideas-choreography .field-notes-heading .eyebrow {
    margin-bottom: clamp(12px, 1.8svh, 22px);
  }

  .field-notes-section.is-ideas-choreography .field-notes-heading .section-title {
    max-width: 13ch;
    font-size: clamp(38px, 4.1vw, 66px);
  }

  .field-notes-section.is-ideas-choreography .field-notes-heading .section-intro {
    font-size: clamp(14px, 1.05vw, 17px);
    line-height: 1.6;
  }

  .field-notes-section.is-ideas-choreography .field-notes-source {
    margin-top: clamp(10px, 1.6svh, 20px);
    padding-top: clamp(9px, 1.3svh, 16px);
  }

  .field-notes-section.is-ideas-choreography .field-notes-ribbon {
    position: absolute;
    top: 43%;
    left: 50%;
    z-index: 0;
    width: 100vw;
    margin: 0;
    opacity: .66;
    translate: -50% 0;
  }

  .field-notes-section.is-ideas-choreography .field-choreography-status {
    width: min(100%, 560px);
    margin-top: clamp(10px, 1.8svh, 22px);
    justify-self: end;
  }

  .field-notes-section.is-ideas-choreography .field-notes-viewport {
    position: relative;
    z-index: 2;
    min-height: 0;
    margin-top: clamp(12px, 2svh, 26px);
    overflow: hidden;
  }

  .field-notes-section.is-ideas-choreography .field-notes-stage {
    display: flex;
    align-items: stretch;
    gap: clamp(34px, 4vw, 72px);
    width: max-content;
    min-width: 100%;
    height: 100%;
    min-height: 0;
    padding: clamp(10px, 1.5svh, 20px) clamp(90px, 10vw, 180px) clamp(8px, 1.2svh, 16px) clamp(8px, 1vw, 18px);
    transform: translate3d(var(--ideas-track-x), 0, 0);
    will-change: transform;
  }

  .field-notes-section.is-ideas-choreography .field-notes-thread {
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
  }

  .field-notes-section.is-ideas-choreography .field-photo-card,
  .field-notes-section.is-ideas-choreography .field-photo-card-one,
  .field-notes-section.is-ideas-choreography .field-photo-card-two,
  .field-notes-section.is-ideas-choreography .field-photo-card-three {
    position: relative;
    inset: auto;
    display: flex;
    flex: 0 0 clamp(390px, 42vw, 620px);
    flex-direction: column;
    width: auto;
    height: 92%;
    align-self: center;
    translate: 0 0;
  }

  .field-notes-section.is-ideas-choreography .field-photo-card-one {
    transform: rotate(-2deg);
  }

  .field-notes-section.is-ideas-choreography .field-photo-card-two {
    height: 100%;
    transform: rotate(.7deg);
  }

  .field-notes-section.is-ideas-choreography .field-photo-card-three {
    transform: rotate(1.8deg);
  }

  .field-notes-section.is-ideas-choreography .field-photo-shell {
    flex: 1 1 auto;
    min-height: 0;
    aspect-ratio: auto;
  }

  .field-notes-section.is-ideas-choreography .field-photo-card figcaption {
    flex: 0 0 auto;
  }
}

@media (min-width: 901px) and (min-height: 680px) and (max-height: 760px) {
  .field-notes-section.is-ideas-choreography > .field-notes-inner {
    padding-block: 22px 18px;
  }

  .field-notes-section.is-ideas-choreography .field-notes-heading .section-title {
    font-size: clamp(36px, 3.7vw, 54px);
  }

  .field-notes-section.is-ideas-choreography .field-notes-heading .section-intro {
    font-size: 14px;
    line-height: 1.48;
  }

  .field-notes-section.is-ideas-choreography .field-notes-source {
    margin-top: 8px;
    padding-top: 8px;
  }

  .field-notes-section.is-ideas-choreography .field-choreography-status,
  .field-notes-section.is-ideas-choreography .field-notes-viewport {
    margin-top: 8px;
  }
}

@media (max-width: 900px) {
  .field-notes-section.is-ideas-choreography .field-choreography-status {
    grid-template-columns: auto minmax(80px, 1fr) auto;
    width: 100%;
    margin-top: 28px;
  }

  .field-choreography-hint-desktop {
    display: none;
  }

  .field-choreography-hint-mobile {
    display: inline;
  }

  .field-notes-section.is-ideas-choreography .field-notes-viewport {
    width: 100vw;
    margin-top: 28px;
    margin-left: calc(50% - 50vw);
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: var(--softown-gutter);
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .field-notes-section.is-ideas-choreography .field-notes-viewport::-webkit-scrollbar {
    display: none;
  }

  .field-notes-section.is-ideas-choreography .field-notes-stage {
    display: flex;
    grid-template-columns: none;
    gap: clamp(18px, 5vw, 30px);
    width: max-content;
    min-height: 0;
    padding: 18px var(--softown-gutter) 34px;
    transform: none;
  }

  .field-notes-section.is-ideas-choreography .field-notes-thread {
    display: none;
  }

  .field-notes-section.is-ideas-choreography .field-photo-card,
  .field-notes-section.is-ideas-choreography .field-photo-card-one,
  .field-notes-section.is-ideas-choreography .field-photo-card-two,
  .field-notes-section.is-ideas-choreography .field-photo-card-three {
    position: relative;
    inset: auto;
    display: block;
    flex: 0 0 min(82vw, 480px);
    grid-column: auto;
    width: min(82vw, 480px);
    justify-self: auto;
    scroll-snap-align: center;
    translate: 0 0;
  }

  .field-notes-section.is-ideas-choreography .field-photo-card-one {
    transform: rotate(-1.3deg);
  }

  .field-notes-section.is-ideas-choreography .field-photo-card-two {
    transform: rotate(.8deg);
  }

  .field-notes-section.is-ideas-choreography .field-photo-card-three {
    transform: rotate(1.2deg);
  }

  .field-notes-section.is-ideas-choreography .field-photo-shell {
    aspect-ratio: 4 / 5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .field-notes-section.is-ideas-choreography .field-choreography-progress i,
  .field-notes-section.is-ideas-choreography [data-field-photo] {
    transition: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Abertura — o sistema orbital entrega a leitura ao manifesto                */
/* -------------------------------------------------------------------------- */

html.institute-choreo-ready .institute-hero.is-choreo-hero {
  --choreo-hero-progress: 0;
  --choreo-hero-y: 0px;
  --choreo-hero-turn: 0deg;
  --choreo-hero-line: 0;
  position: relative;
  isolation: isolate;
}

html.institute-choreo-ready .institute-hero.is-choreo-hero::after {
  position: absolute;
  right: clamp(120px, 18vw, 290px);
  bottom: clamp(-88px, -5vw, -54px);
  z-index: -1;
  width: 1px;
  height: clamp(68px, 8vw, 118px);
  background: linear-gradient(180deg, var(--softown-gold), transparent);
  content: "";
  opacity: calc(.14 + var(--choreo-hero-progress) * .56);
  pointer-events: none;
  scale: 1 var(--choreo-hero-line);
  transform-origin: top;
}

html.institute-choreo-ready .institute-hero.is-choreo-hero .hero-copy {
  translate: 0 calc(var(--choreo-hero-y) * -.38);
  transition: opacity 280ms linear;
}

html.institute-choreo-ready .institute-hero.is-choreo-hero .hero-diagram {
  transform:
    translate3d(0, var(--choreo-hero-y), 0)
    rotate(calc(1.4deg + var(--choreo-hero-turn)))
    scale(calc(1 - var(--choreo-hero-progress) * .025));
  transform-origin: 50% 62%;
  transition: none;
  will-change: transform;
}

html.institute-choreo-ready .institute-hero.is-choreo-hero[data-choreo-phase="departing"] .hero-copy {
  opacity: .86;
}

/* -------------------------------------------------------------------------- */
/* Manifesto — coluna editorial fixa, principios em sequencia                 */
/* -------------------------------------------------------------------------- */

html.institute-choreo-ready .manifesto-section.is-choreo-manifesto {
  --choreo-manifesto-progress: 0;
}

html.institute-choreo-ready .manifesto-section.is-choreo-manifesto .manifesto-progress span {
  height: calc(var(--choreo-manifesto-progress) * 100%);
}

html.institute-choreo-ready .manifesto-section.is-choreo-manifesto [data-principle],
html.institute-choreo-ready .manifesto-section.is-choreo-manifesto [data-principle].is-current {
  color: inherit;
  opacity: .42;
  translate: 0 0;
}

html.institute-choreo-ready .manifesto-section.is-choreo-manifesto[data-choreo-step="one"] [data-principle]:nth-child(1),
html.institute-choreo-ready .manifesto-section.is-choreo-manifesto[data-choreo-step="two"] [data-principle]:nth-child(2),
html.institute-choreo-ready .manifesto-section.is-choreo-manifesto[data-choreo-step="three"] [data-principle]:nth-child(3) {
  color: #17130f;
  opacity: 1;
  translate: 12px 0;
}

@media (min-width: 901px) and (min-height: 680px) {
  html.institute-choreo-ready .manifesto-section.is-choreo-manifesto .manifesto-grid {
    align-items: stretch;
  }

  html.institute-choreo-ready .manifesto-section.is-choreo-manifesto .manifesto-column-primary {
    position: sticky;
    top: clamp(66px, 8svh, 96px);
    align-self: start;
    justify-content: flex-start;
    min-height: min(760px, calc(100svh - 116px));
  }

  html.institute-choreo-ready .manifesto-section.is-choreo-manifesto .manifesto-heading .section-title {
    max-width: 14ch;
    font-size: clamp(46px, 4.35vw, 68px);
    line-height: 1.02;
  }

  html.institute-choreo-ready .manifesto-section.is-choreo-manifesto .manifesto-photo {
    width: min(64%, 530px);
    margin-top: clamp(24px, 3svh, 38px);
  }

  html.institute-choreo-ready .manifesto-section.is-choreo-manifesto .manifesto-photo-frame {
    max-height: min(56svh, 560px);
  }
}

@media (min-width: 901px) and (min-height: 680px) and (max-height: 760px) {
  html.institute-choreo-ready .manifesto-section.is-choreo-manifesto .manifesto-column-primary {
    top: 54px;
    min-height: calc(100svh - 78px);
  }

  html.institute-choreo-ready .manifesto-section.is-choreo-manifesto .manifesto-heading .eyebrow {
    margin-bottom: 17px;
  }

  html.institute-choreo-ready .manifesto-section.is-choreo-manifesto .manifesto-heading .section-title {
    font-size: clamp(42px, 4vw, 58px);
  }

  html.institute-choreo-ready .manifesto-section.is-choreo-manifesto .manifesto-photo {
    width: min(54%, 430px);
    margin-top: 18px;
  }
}

/* -------------------------------------------------------------------------- */
/* Atuacao — quatro fichas atravessam o palco, sem capturar a roda             */
/* -------------------------------------------------------------------------- */

@media (min-width: 901px) and (min-height: 680px) {
  html.institute-choreo-ready .pillars-section.is-choreo-pillars .pillar-stage {
    --choreo-pillar-progress: 0;
    height: clamp(2100px, 318svh, 2920px);
    margin-top: clamp(44px, 5vw, 76px);
  }

  html.institute-choreo-ready .pillars-section.is-choreo-pillars .pillar-connections {
    display: none;
  }

  html.institute-choreo-ready .pillars-section.is-choreo-pillars .pillar-grid {
    position: sticky;
    top: clamp(58px, 8svh, 88px);
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    height: min(720px, calc(100svh - 112px));
    min-height: 548px;
    place-items: center;
    overflow: hidden;
    border-block: 1px solid rgb(182 155 114 / 16%);
    background:
      radial-gradient(circle at 50% 50%, rgb(182 155 114 / 8%), transparent 54%),
      linear-gradient(90deg, transparent, rgb(182 155 114 / 3%) 50%, transparent);
  }

  html.institute-choreo-ready .pillars-section.is-choreo-pillars .pillar-grid::before,
  html.institute-choreo-ready .pillars-section.is-choreo-pillars .pillar-grid::after {
    position: absolute;
    z-index: 0;
    border: 1px solid rgb(182 155 114 / 13%);
    border-radius: 50%;
    content: "";
    pointer-events: none;
  }

  html.institute-choreo-ready .pillars-section.is-choreo-pillars .pillar-grid::before {
    width: min(62vw, 840px);
    aspect-ratio: 1;
  }

  html.institute-choreo-ready .pillars-section.is-choreo-pillars .pillar-grid::after {
    width: min(38vw, 520px);
    aspect-ratio: 1;
    border-style: dashed;
    rotate: calc(var(--choreo-pillar-progress) * 70deg);
  }

  html.institute-choreo-ready .pillars-section.is-choreo-pillars .pillar-card {
    position: relative;
    grid-area: 1 / 1;
    width: min(980px, calc(100% - clamp(74px, 9vw, 150px)));
    height: min(610px, calc(100% - 58px));
    min-height: 0;
    margin: 0;
    padding: clamp(38px, 4.5vw, 64px);
    opacity: 0;
    pointer-events: none;
    scale: 1;
    translate: 0 0;
    transition:
      opacity 480ms ease,
      transform 920ms cubic-bezier(.2, .82, .22, 1),
      border-color 420ms ease,
      box-shadow 680ms ease;
    will-change: transform, opacity;
  }

  html.institute-choreo-ready .pillars-section.is-choreo-pillars .pillar-card[data-choreo-state="future"] {
    opacity: 0;
    transform: translate3d(112%, 28%, 0) rotate(4deg) scale(.9);
  }

  html.institute-choreo-ready .pillars-section.is-choreo-pillars .pillar-card[data-choreo-state="past"] {
    opacity: 0;
    transform: translate3d(-112%, -28%, 0) rotate(-4deg) scale(.9);
  }

  html.institute-choreo-ready .pillars-section.is-choreo-pillars .pillar-card[data-choreo-state="active"] {
    z-index: 5;
    border-color: rgb(182 155 114 / 76%);
    box-shadow: 0 36px 100px rgb(0 0 0 / 31%);
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) rotate(-.7deg) scale(1);
  }

  html.institute-choreo-ready .pillars-section.is-choreo-pillars .pillar-card-two[data-choreo-state="active"] {
    transform: translate3d(0, 0, 0) rotate(.55deg) scale(1);
  }

  html.institute-choreo-ready .pillars-section.is-choreo-pillars .pillar-card-three[data-choreo-state="active"] {
    transform: translate3d(0, 0, 0) rotate(.32deg) scale(1);
  }

  html.institute-choreo-ready .pillars-section.is-choreo-pillars .pillar-card-four[data-choreo-state="active"] {
    transform: translate3d(0, 0, 0) rotate(-.48deg) scale(1);
  }

  html.institute-choreo-ready .pillars-section.is-choreo-pillars .pillar-card h3 {
    font-size: clamp(36px, 4vw, 58px);
  }

  html.institute-choreo-ready .pillars-section.is-choreo-pillars .pillar-choreography-nav {
    position: absolute;
    right: clamp(18px, 2.5vw, 38px);
    bottom: clamp(22px, 3.5svh, 42px);
    z-index: 8;
    display: grid;
    gap: 9px;
  }

  html.institute-choreo-ready .pillars-section.is-choreo-pillars .pillar-choreography-nav span {
    display: grid;
    grid-template-columns: 42px auto;
    align-items: center;
    gap: 8px;
    color: var(--softown-gold);
    font-size: 9px;
    opacity: .34;
    transition: opacity 360ms ease;
  }

  html.institute-choreo-ready .pillars-section.is-choreo-pillars .pillar-choreography-nav span::before {
    height: 1px;
    background: currentColor;
    content: "";
    scale: .34 1;
    transform-origin: right;
    transition: scale 560ms var(--softown-ease-out);
  }

  html.institute-choreo-ready .pillars-section.is-choreo-pillars .pillar-choreography-nav span.is-current {
    opacity: 1;
  }

  html.institute-choreo-ready .pillars-section.is-choreo-pillars .pillar-choreography-nav span.is-current::before,
  html.institute-choreo-ready .pillars-section.is-choreo-pillars .pillar-choreography-nav span.is-past::before {
    scale: 1 1;
  }

  html.institute-choreo-ready .pillars-section.is-choreo-pillars .pillar-choreography-nav i {
    font-style: normal;
  }
}

@media (min-width: 901px) and (min-height: 680px) and (max-height: 760px) {
  html.institute-choreo-ready .pillars-section.is-choreo-pillars .pillar-grid {
    top: 48px;
    height: calc(100svh - 70px);
    min-height: 590px;
  }

  html.institute-choreo-ready .pillars-section.is-choreo-pillars .pillar-card {
    height: calc(100% - 42px);
    padding: 34px 48px;
  }

  html.institute-choreo-ready .pillars-section.is-choreo-pillars .pillar-card > div {
    padding-bottom: 60px;
  }

  html.institute-choreo-ready .pillars-section.is-choreo-pillars .pillar-card p:last-child {
    margin-top: 18px;
    line-height: 1.58;
  }
}

/* -------------------------------------------------------------------------- */
/* Infraestrutura — panorama se abre como um portal                           */
/* -------------------------------------------------------------------------- */

html.institute-choreo-ready .infrastructure-scene.is-choreo-infrastructure {
  --choreo-infra-progress: 0;
  --choreo-infra-inset: 5.5%;
  --choreo-infra-radius: 132px;
  --choreo-infra-shift: 0px;
  --choreo-infra-scale: 1.014;
}

html.institute-choreo-ready .infrastructure-scene.is-choreo-infrastructure [data-infrastructure-media] {
  border-radius: var(--choreo-infra-radius) var(--choreo-infra-radius) 8px 8px;
  clip-path: inset(var(--choreo-infra-inset) round var(--choreo-infra-radius) var(--choreo-infra-radius) 8px 8px);
  transition: clip-path 120ms linear, border-radius 120ms linear;
}

html[data-institute-experience="motion-v2"].institute-motion-ready.institute-choreo-ready .infrastructure-scene.is-choreo-infrastructure [data-infrastructure-media] picture {
  inset: -7px;
  transform: translate3d(0, var(--choreo-infra-shift), 0) scale(var(--choreo-infra-scale));
  transition: none;
  will-change: transform;
}

html[data-institute-experience="motion-v2"].institute-motion-ready.institute-choreo-ready .infrastructure-scene.is-choreo-infrastructure [data-infrastructure-media] img,
html[data-institute-experience="motion-v2"].institute-motion-ready.institute-choreo-ready .infrastructure-scene.is-choreo-infrastructure:hover [data-infrastructure-media] img {
  transform: none;
}

html.institute-choreo-ready .infrastructure-scene.is-choreo-infrastructure figcaption {
  opacity: calc(.52 + var(--choreo-infra-progress) * .48);
  translate: 0 calc((1 - var(--choreo-infra-progress)) * 18px);
}

/* -------------------------------------------------------------------------- */
/* Governanca — o astrolabio orienta tres atos de uma mesma mesa              */
/* -------------------------------------------------------------------------- */

@media (min-width: 901px) and (min-height: 680px) {
  html.institute-choreo-ready .governance-section.is-choreo-governance {
    height: clamp(2260px, 305svh, 3040px);
    padding-bottom: 0;
  }

  html.institute-choreo-ready .governance-section.is-choreo-governance > .site-container {
    height: 100%;
  }

  html.institute-choreo-ready .governance-section.is-choreo-governance .governance-map {
    --choreo-governance-progress: 0;
    position: sticky;
    top: clamp(52px, 7svh, 76px);
    height: min(730px, calc(100svh - 94px));
    min-height: 586px;
    margin-top: clamp(46px, 6vw, 84px);
    padding-top: clamp(304px, 42svh, 390px);
  }

  html.institute-choreo-ready .governance-section.is-choreo-governance .governance-astrolabe {
    scale: calc(.94 + var(--choreo-governance-progress) * .06);
    transition: filter 520ms ease, scale 520ms var(--softown-ease-out);
  }

  html.institute-choreo-ready .governance-section.is-choreo-governance .governance-window,
  html[data-institute-experience="motion-v2"].institute-motion-ready.institute-choreo-ready .governance-section.is-choreo-governance [data-governance-map] .governance-window[data-governance-node] {
    opacity: .42;
    scale: .965;
    translate: 0 9px;
    transition:
      opacity 460ms ease,
      scale 700ms var(--softown-ease-out),
      translate 700ms var(--softown-ease-out),
      border-color 300ms ease,
      background 300ms ease,
      box-shadow 560ms ease;
  }

  html.institute-choreo-ready .governance-section.is-choreo-governance .governance-window.is-choreo-current,
  html[data-institute-experience="motion-v2"].institute-motion-ready.institute-choreo-ready .governance-section.is-choreo-governance [data-governance-map] .governance-window.is-choreo-current {
    z-index: 4;
    border-color: #705b3e;
    background:
      linear-gradient(135deg, rgb(255 255 255 / 48%), transparent 38%),
      #e6d4b5;
    box-shadow: inset 0 0 0 5px rgb(112 91 62 / 9%), 0 24px 54px rgb(48 41 31 / 17%);
    opacity: 1;
    scale: 1;
    translate: 0 -8px;
  }

  html.institute-choreo-ready .governance-section.is-choreo-governance .governance-readout strong {
    color: #f1ddba;
    letter-spacing: .1em;
  }
}

/* -------------------------------------------------------------------------- */
/* Participacao — fichas entram como um arquivo vivo                          */
/* -------------------------------------------------------------------------- */

html.institute-choreo-ready .participation-section.is-choreo-participation .association-card {
  transform: none;
  transform-origin: 50% 100%;
  transition:
    opacity 620ms ease,
    translate 820ms var(--softown-ease-out),
    rotate 820ms var(--softown-ease-out),
    scale 820ms var(--softown-ease-out),
    border-color 300ms ease,
    background 300ms ease,
    box-shadow 560ms ease;
}

html.institute-choreo-ready .participation-section.is-choreo-participation .association-card[data-choreo-state="waiting"] {
  opacity: 0;
  scale: .94;
  translate: 0 54px;
}

html.institute-choreo-ready .participation-section.is-choreo-participation .association-card:nth-child(3n + 1)[data-choreo-state="waiting"] {
  rotate: -2.4deg;
  translate: -28px 58px;
}

html.institute-choreo-ready .participation-section.is-choreo-participation .association-card:nth-child(3n)[data-choreo-state="waiting"] {
  rotate: 2.4deg;
  translate: 28px 58px;
}

html.institute-choreo-ready .participation-section.is-choreo-participation .association-card[data-choreo-state="visible"] {
  opacity: 1;
  scale: 1;
  translate: 0 0;
}

html.institute-choreo-ready .participation-section.is-choreo-participation .association-card:nth-child(3n + 1)[data-choreo-state="visible"] {
  rotate: -.55deg;
}

html.institute-choreo-ready .participation-section.is-choreo-participation .association-card:nth-child(3n + 2)[data-choreo-state="visible"] {
  rotate: .45deg;
  translate: 0 14px;
}

html.institute-choreo-ready .participation-section.is-choreo-participation .association-card:nth-child(3n)[data-choreo-state="visible"] {
  rotate: .65deg;
}

/* -------------------------------------------------------------------------- */
/* Encerramento — linhas convergem, a marca assenta e o relogio marca a hora  */
/* -------------------------------------------------------------------------- */

html.institute-choreo-ready .institute-closing.is-choreo-closing {
  --choreo-closing-progress: 0;
  --choreo-closing-turn: -32deg;
}

html.institute-choreo-ready .institute-closing.is-choreo-closing .closing-emblem {
  opacity: calc(.42 + var(--choreo-closing-progress) * .58);
  scale: calc(.82 + var(--choreo-closing-progress) * .18);
  transition: opacity 120ms linear, scale 120ms linear;
}

html[data-institute-experience="motion-v2"].institute-motion-ready.institute-choreo-ready .institute-closing.is-choreo-closing .closing-orbit {
  scale: calc(1.12 - var(--choreo-closing-progress) * .12);
  transform: rotate(var(--choreo-closing-turn));
  transition: none;
}

html.institute-choreo-ready .institute-closing.is-choreo-closing .closing-brand-mark {
  opacity: calc(.48 + var(--choreo-closing-progress) * .52);
  scale: calc(.72 + var(--choreo-closing-progress) * .28);
}

html.institute-choreo-ready .institute-closing.is-choreo-closing .closing-signal {
  opacity: calc(.25 + var(--choreo-closing-progress) * .55);
  scale: calc(.82 + var(--choreo-closing-progress) * .18);
}

html.institute-choreo-ready .institute-closing.is-choreo-closing .closing-copy {
  opacity: calc(.58 + var(--choreo-closing-progress) * .42);
  translate: calc((1 - var(--choreo-closing-progress)) * -22px) 0;
}

html.institute-choreo-ready .institute-closing.is-choreo-closing[data-choreo-phase="settled"] .closing-brand-mark img {
  filter: sepia(.75) saturate(.82) brightness(.78) drop-shadow(0 12px 22px rgb(63 48 31 / 22%));
}

@media (max-width: 900px) {
  html.institute-choreo-ready .institute-hero.is-choreo-hero::after {
    right: 50%;
    bottom: -58px;
    height: 78px;
  }

  html.institute-choreo-ready .infrastructure-scene.is-choreo-infrastructure [data-infrastructure-media] {
    clip-path: inset(calc(var(--choreo-infra-inset) * .55) round clamp(48px, 11vw, 72px) clamp(48px, 11vw, 72px) 6px 6px);
  }

  html.institute-choreo-ready .participation-section.is-choreo-participation .association-card[data-choreo-state="waiting"] {
    translate: 0 32px;
  }

  html.institute-choreo-ready .participation-section.is-choreo-participation .association-card:nth-child(3n + 1)[data-choreo-state="waiting"],
  html.institute-choreo-ready .participation-section.is-choreo-participation .association-card:nth-child(3n)[data-choreo-state="waiting"] {
    translate: 0 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.institute-choreo-ready .is-choreo-hero,
  html.institute-choreo-ready .is-choreo-manifesto,
  html.institute-choreo-ready .is-ideas-choreography,
  html.institute-choreo-ready .is-choreo-pillars,
  html.institute-choreo-ready .is-choreo-infrastructure,
  html.institute-choreo-ready .is-choreo-governance,
  html.institute-choreo-ready .is-choreo-participation,
  html.institute-choreo-ready .is-choreo-closing {
    scroll-behavior: auto;
  }
}
