/* Three architectural panels follow the silhouette of the Capital mark. */
#capital-intro {
  --cg-entry-ready: 1;
  position: fixed;
  inset: 0;
  z-index: 80;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #f7f5ef;
  pointer-events: none;
}
#capital-intro[hidden] { display: none; }
.cg-entry-panel {
  position: absolute;
  z-index: -1;
  inset-block: 0;
  width: calc(33.3334% + 1px);
  background-color: var(--brand-deep);
  background-image:
    radial-gradient(ellipse at 52% 43%, var(--brand-blue) 0%, transparent 68%),
    linear-gradient(125deg, var(--brand-deep), #070522 82%);
  background-size: 100vw 100%;
  background-repeat: no-repeat;
  transform-origin: top;
  animation: cg-entry-open .84s cubic-bezier(.76,0,.18,1) 1.33s both;
}
.cg-entry-panel:first-child { left: 0; background-position: left top; }
.cg-entry-panel:nth-child(2) { left: 33.3333%; background-position: center top; animation-delay: 1.26s; }
.cg-entry-panel:nth-child(3) { right: 0; background-position: right top; animation-delay: 1.19s; }
.cg-entry-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-right: 1px solid rgb(235 235 255 / 11%);
  background: linear-gradient(90deg, transparent 77%, rgb(7 5 34 / 10%));
  box-shadow: inset 0 -2px 0 rgb(204 202 255 / 42%);
}
.cg-entry-signature {
  display: flex;
  align-items: center;
  gap: .24em;
  padding-inline: 12px;
  font-size: clamp(54px, 9vw, 166px);
  animation: cg-entry-depart .42s cubic-bezier(.55,0,.9,.5) 1.19s both;
}
.cg-entry-insignia {
  display: flex;
  align-items: flex-end;
  gap: .045em;
  width: .62em;
  height: .65em;
  transform: skewY(-12deg);
}
.cg-entry-insignia i {
  flex: 1 1 0;
  background-color: #f4f2ee;
  transform-origin: bottom;
  height: 53%;
  animation: cg-entry-rise .56s cubic-bezier(.18,.79,.21,1) .08s both;
}
.cg-entry-insignia i:nth-child(2) { height: 76%; animation-delay: .15s; }
.cg-entry-insignia i:nth-child(3) { height: 100%; background-color: #e26367; animation-delay: .22s; }
.cg-entry-type { display: grid; gap: .09em; }
.cg-entry-line { display: block; overflow: hidden; padding-block: .025em; }
.cg-entry-line b {
  display: block;
  font: 530 .84em/.9 var(--sans, sans-serif);
  letter-spacing: .045em;
  animation: cg-entry-type .7s cubic-bezier(.15,.76,.23,1) .12s both;
}
.cg-entry-line:last-child b {
  font-size: .19em;
  line-height: 1;
  font-weight: 540;
  letter-spacing: .63em;
  animation-delay: .24s;
}
@supports (background-clip:text) or (-webkit-background-clip:text) {
  .cg-entry-line:first-child b {
    background-image: linear-gradient(106deg,var(--brand-tint) 32%,var(--brand-line) 43%,#fff 49%,#f4f4ff 59%,var(--brand-tint) 68%);
    background-size: 260% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: cg-entry-type .7s cubic-bezier(.15,.76,.23,1) .12s both,
               cg-entry-reflection 1.05s cubic-bezier(.35,.16,.28,.9) .14s both;
  }
}
@media (forced-colors:active) {
  .cg-entry-line:first-child b { color:CanvasText; }
}
@keyframes cg-entry-reflection {
  from { background-position:100% center; }
  to { background-position:0 center; }
}
@keyframes cg-entry-rise {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@keyframes cg-entry-type {
  from { transform: translateY(115%); }
  to { transform: translateY(0); }
}
@keyframes cg-entry-depart {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-.22em); }
}
@keyframes cg-entry-open {
  from { transform: translateY(0); }
  to { transform: translateY(-101%); }
}
@media (prefers-reduced-motion:reduce), print {
  #capital-intro { display: none; }
}
