.hero-composition {
  --story-background: #fff;
  background: var(--story-background);
}
:root[data-theme="dark"] .hero-composition {
  --story-background: #000;
}
.statue-body {
  height: auto;
  min-height: max(180px, calc(var(--body-art-height) - var(--ribbon-flow)));
  pointer-events: auto;
}
.body-art-sticky {
  position: sticky;
  top: 0px;
  z-index: 0;
  height: 100svh;
  margin-bottom: -100svh;
  pointer-events: none;
  background: url("/optimized-images/lusora-statue-continuation.c1c60bad4be4.webp")
    calc(50% + var(--art-x, 0px))
    calc(-56.75vw - var(--ribbon-flow) + var(--art-y, 0px)) / 102% auto
    no-repeat;
  mask-image: linear-gradient(
    rgb(0, 0, 0) 0px,
    rgb(0, 0, 0) 62%,
    transparent 100%
  );
}
.statue-body::after {
  content: "";
  position: absolute;
  inset: auto 0px -1px;
  height: clamp(200px, 35svh, 500px);
  z-index: 0;
  background: linear-gradient(transparent, var(--story-background) 90%);
  pointer-events: none;
}
.message-stage {
  --story-top-space: clamp(65px, 8vw, 130px);
  position: relative;
  z-index: 1;
  padding: var(--story-top-space) 0px clamp(56px, 7vw, 112px);
  background: none;
}
.message-layout {
  position: relative;
  min-height: max(650px, var(--terminal-height, 650px));
}
.message-copy {
  width: min(760px, 52vw);
  margin-left: clamp(24px, 5.5vw, 100px);
}
.team-heading {
  display: none;
}
.team-heading-dot {
  color: var(--orange);
}
@media (prefers-reduced-motion: reduce) {
  .message-stage .team-heading {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
.message-text {
  color: rgb(241, 240, 235);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.75;
  text-shadow: rgb(0, 0, 0) 0px 2px 12px;
}
.message-text p {
  margin: 0px 0px 1.4em;
}
.message-text p:last-child {
  margin-bottom: 0px;
}
.message-text strong {
  font-weight: inherit;
  color: inherit;
}
.message-signature {
  padding-top: 15px;
  color: var(--orange);
  font-style: italic;
}
.parchment-gallery {
  position: absolute;
  right: calc(45px + clamp(20px, 6vw, 100px));
  top: 35px;
  width: min(26vw, 390px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3svh, 35px);
}
.story-photo {
  position: relative;
  width: min(17vw, 220px);
  aspect-ratio: 1.65 / 1;
  opacity: var(--photo-visibility, 1);
  transform: perspective(800px) translateY(var(--photo-shift, 0px))
    rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg))
    scale(calc(0.96 + var(--photo-visibility, 1) * 0.04));
  border-width: 8px 8px 16px;
  border-style: solid;
  border-color: rgb(255, 255, 255);
  border-image: none;
  background-origin: padding-box;
  background-clip: padding-box;
  box-shadow: rgba(0, 0, 0, 0.533) 0px 13px 30px;
  filter: grayscale(1) blur(var(--photo-blur, 0px));
}
.story-photo:nth-child(2n) {
  align-self: flex-end;
}
.story-photo:nth-child(3) {
  margin-left: 12%;
}
.story-photo::after {
  content: "";
  position: absolute;
  inset: 0px;
  background: radial-gradient(
    circle at var(--panel-x, 50%) var(--panel-y, 50%),
    #ffffff24,
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.3s;
}
.story-photo:hover::after {
  opacity: 1;
}
@media (min-width: 1101px) {
  .hero-composition .scene {
    max-height: none;
  }
}
@media (max-width: 1100px) {
  .body-art-sticky {
    background-size: auto 177svh;
    background-position: center -77svh;
  }
  .statue-body::before {
    display: none;
  }
  .message-copy {
    width: min(740px, -150px + 100vw);
    margin-left: 35px;
  }
  .message-text {
    font-size: 19px;
  }
  .parchment-gallery {
    width: 90px;
    right: 18px;
    top: 35px;
    gap: 30px;
  }
  .story-photo {
    width: 76px;
    aspect-ratio: 1.5 / 1;
    border-width: 4px 4px 8px;
  }
  .story-photo:nth-child(3) {
    margin-left: 0px;
  }
}
@media (max-width: 640px) {
  .message-stage {
    padding-top: 65px;
    padding-bottom: 64px;
    background: none;
  }
  .message-copy {
    width: calc(-100px + 100vw);
    margin-left: 20px;
  }
  .message-text {
    font-size: 16px;
    line-height: 1.8;
  }
  .message-text p {
    margin-bottom: 1.6em;
  }
  .parchment-gallery {
    width: 56px;
    right: 16px;
    gap: 32px;
  }
  .story-photo {
    width: 46px;
    aspect-ratio: 1.4 / 1;
    border-width: 3px 3px 6px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 6px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .story-photo {
    opacity: 1;
    transform: none;
    filter: grayscale(1);
  }
  .story-photo::after {
    transition: none;
  }
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/jetbrains-mono-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/jetbrains-mono-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
.cmd-window {
  --cmd-frame: #f6f6f4;
  --cmd-border: #e0e0dc;
  --cmd-tab: #e7e7e3;
  --cmd-chrome-text: #242424;
  --cmd-hover: #d9d9d4;
  overflow: hidden;
  border: 2px solid var(--cmd-frame);
  border-radius: 8px;
  background: rgb(12, 12, 12);
  box-shadow: rgba(0, 0, 0, 0.6) 0px 25px 80px;
  color: rgb(222, 222, 217);
  color-scheme: dark;
}
:root[data-theme="dark"] .cmd-window {
  --cmd-frame: #242424;
  --cmd-border: #3a3a3a;
  --cmd-tab: #303030;
  --cmd-chrome-text: #eee;
  --cmd-hover: #3b3b3b;
}
.cmd-window[data-entrance="waiting"] {
  opacity: 0;
  transform: translateY(36px) scale(0.98);
  filter: blur(12px);
}
@media (prefers-reduced-motion: reduce) {
  .cmd-window[data-entrance="waiting"] {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
.cmd-titlebar {
  display: flex;
  align-items: center;
  height: 42px;
  background: var(--cmd-frame);
  border-bottom: 1px solid var(--cmd-border);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  color: var(--cmd-chrome-text);
  user-select: none;
}
.cmd-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0px;
  height: 100%;
  padding: 0px 16px;
  background: var(--cmd-tab);
  border-radius: 6px 6px 0px 0px;
}
.cmd-tab > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cmd-icon {
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  font-weight: 700;
  background: rgb(17, 17, 17);
  border: 1px solid rgb(119, 119, 119);
  line-height: 16px;
  padding: 0px 2px;
  color: rgb(238, 238, 238);
}
.cmd-replay {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin-left: auto;
  background: transparent;
  color: var(--cmd-chrome-text);
  font-size: 21px;
  transition:
    background 0.2s,
    color 0.2s;
}
.cmd-replay:hover {
  background: var(--cmd-hover);
  color: var(--cmd-chrome-text);
}
.cmd-replay:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -4px;
}
.cmd-window-controls {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 16px;
}
.cmd-window-controls span {
  display: grid;
  place-items: center;
  width: 35px;
  height: 100%;
}
.cmd-body {
  padding: 25px 26px 32px;
  font-family: "JetBrains Mono", Consolas, monospace;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
.cmd-command,
.cmd-ready {
  font-size: 14px;
  line-height: 1.75;
  color: rgb(168, 168, 163);
}
.cmd-command {
  margin-bottom: 26px;
}
.cmd-path {
  white-space: nowrap;
}
.cmd-command-text {
  margin-left: 0px;
}
.cmd-window .message-text {
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.85;
  font-weight: 700;
  color: rgb(222, 222, 217);
  text-shadow: none;
  letter-spacing: -0.025em;
}
.cmd-window .message-text p {
  position: relative;
  margin-bottom: 1.3em;
}
.cmd-window .message-signature {
  padding-top: 0px;
  color: var(--orange);
  font-style: normal;
}
.cmd-ready {
  margin-top: 28px;
}
.cmd-cursor {
  animation: 1s steps(1) 0s infinite normal none running cmd-blink;
}
.cmd-command-cursor {
  display: none;
}
.cmd-window.is-running .cmd-ready {
  visibility: hidden;
}
.cmd-window.is-command .cmd-command-cursor {
  display: inline;
  animation: 1s steps(1) 0s infinite normal none running cmd-blink;
}
.cmd-source {
  display: block;
}
.cmd-typed {
  display: none;
}
.cmd-window.is-running .cmd-source {
  visibility: hidden;
}
.cmd-window.is-running .cmd-typed {
  display: block;
  position: absolute;
  inset: 0px;
}
.cmd-accessible {
  user-select: none;
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.cmd-window.is-running .cmd-typed.is-current::after {
  content: "▌";
  animation: 1s steps(1) 0s infinite normal none running cmd-blink;
  font-weight: 400;
}
@keyframes cmd-blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}
@media (max-width: 1100px) {
  .cmd-body {
    padding: 20px;
  }
  .cmd-window .message-text {
    font-size: 14px;
  }
}
@media (max-width: 640px) {
  .message-copy.cmd-window {
    width: calc(-40px + 100vw);
    margin-left: 20px;
  }
  .cmd-body {
    padding: 18px 16px 24px;
  }
  .cmd-window .message-text {
    font-size: 14px;
    line-height: 1.8;
  }
  .cmd-command,
  .cmd-ready {
    font-size: 12px;
  }
  .cmd-window-controls {
    display: none;
  }
  .cmd-tab {
    padding-inline: 12px;
    gap: 8px;
  }
  .cmd-tab > span:last-child {
    font-size: 11px;
  }
  .parchment-gallery {
    position: relative;
    top: auto;
    right: auto;
    margin: 36px 20px 0px;
    width: calc(-40px + 100vw);
    display: grid;
    grid-template-columns: repeat(4, minmax(0px, 1fr));
    gap: 12px;
  }
  .story-photo {
    width: 100%;
    aspect-ratio: 1.4 / 1;
  }
  .story-photo:nth-child(2n) {
    margin-top: 18px;
    align-self: auto;
  }
  .story-photo:nth-child(3) {
    margin-left: 0px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cmd-cursor,
  .cmd-command-cursor,
  .cmd-window.is-running .cmd-typed.is-current::after {
    animation: auto ease 0s 1 normal none running none;
  }
  .cmd-replay {
    transition: none;
  }
}
@media (max-width: 640px) {
  .cmd-body {
    padding-right: 64px;
  }
}
.parchment-gallery {
  --story-photo-size: min(17vw, 220px);
  top: calc(-1 * var(--story-top-space));
  height: calc(var(--terminal-height, 650px) + var(--story-top-space));
  width: min(28vw, 420px);
  justify-content: space-between;
  gap: 24px;
}
.parchment-gallery > .story-photo {
  align-self: flex-start;
  margin-left: 0px;
}
.story-middle {
  position: absolute;
  top: calc((100% - var(--story-photo-size)) / 2);
  right: 0;
  margin-right: 0px;
}
@media (max-width: 1100px) {
  .message-copy {
    width: min(740px, -300px + 100vw);
  }
  .parchment-gallery {
    --story-photo-size: 112px;
    width: 235px;
    right: 18px;
  }
  .parchment-gallery > .story-photo {
    width: 112px;
    aspect-ratio: 1.65 / 1;
  }
}
@media (max-width: 640px) {
  .message-layout {
    min-height: 650px;
  }
  .message-copy.cmd-window {
    width: calc(-40px + 100vw);
  }
  .parchment-gallery {
    --story-photo-size: min(clamp(156px, 49vw, 260px), calc(100vw - 164px));
    display: flex;
    width: calc(-40px + 100vw);
    top: 0;
    margin-top: 12px;
    height: auto;
    justify-content: flex-start;
    gap: 28px;
    right: auto;
  }
  .parchment-gallery .story-photo {
    width: min(clamp(156px, 49vw, 260px), calc(100vw - 164px));
    aspect-ratio: 1.65 / 1;
    margin-top: 0px;
  }
  .story-middle {
    margin-right: 0px;
  }
}
.parchment-gallery .story-photo.story-portrait {
  width: var(--story-photo-size);
  aspect-ratio: 1 / 1;
  border: 8px solid #fff;
  border-radius: 50%;
  overflow: hidden;
}
.parchment-gallery .story-photo.ricardo-portrait {
  --image-source: url("/optimized-images/ricardo-portrait-black.e4d6dc2deee5.webp");
  background: #000 var(--image-source) center 32% / cover no-repeat;
}
.parchment-gallery .story-photo.joana-portrait {
  --image-source: url("/optimized-images/joana-portrait-cutout.66e693a22012.webp");
  background: #000 var(--image-source) center 28% / cover no-repeat;
  margin-left: 0;
}
.parchment-gallery .story-photo.david-portrait {
  --image-source: url("/optimized-images/david-portrait-cutout.bcfa70a15e27.webp");
  background: #000 var(--image-source) center 25% / cover no-repeat;
  margin-top: 0;
}
.story-person {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.2vw, 18px);
  width: 100%;
  flex-shrink: 0;
}
.story-person .story-photo {
  flex-shrink: 0;
}
.message-stage[data-photos-active="true"] .story-photo,
.message-stage[data-photos-active="true"] .portrait-caption {
  will-change: opacity, transform;
}
@media (prefers-reduced-motion: reduce) {
  .message-stage .story-photo,
  .message-stage .portrait-caption {
    will-change: auto;
  }
}
.story-person.story-middle {
  position: absolute;
  flex-direction: row-reverse;
}
.story-person-last {
  height: var(--story-photo-size);
}
.portrait-caption {
  min-width: 0;
  margin: 0;
  padding: 12px 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, #000a, #0006);
  color: #fff;
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.6;
  opacity: var(--photo-visibility, 1);
  filter: blur(var(--photo-blur, 0px));
  transform: translateY(var(--photo-shift, 0px));
}
.portrait-caption strong,
.portrait-caption em {
  display: block;
}
.portrait-caption strong {
  font-size: clamp(15px, 1.2vw, 19px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 8px;
}
@media (min-width: 641px) and (max-width: 1100px) {
  .portrait-caption {
    padding: 8px 6px;
    font-size: 11px;
    line-height: 1.5;
  }
}
@media (max-width: 400px) {
  .portrait-caption {
    padding: 10px 6px;
    font-size: 11px;
  }
  .portrait-caption strong {
    font-size: 14px;
  }
}
.cmd-scatter-word {
  display: inline-block;
  white-space: nowrap;
}
.cmd-scatter-char {
  display: inline-block;
  transform-origin: center center;
  pointer-events: none;
}
@media (max-width: 640px) {
  .message-copy.cmd-window {
    width: calc(100% - 96px);
    margin-inline: auto;
  }
  .team-heading {
    display: block;
    opacity: var(--photo-visibility, 1);
    filter: blur(var(--photo-blur, 0px));
    transform: translateY(var(--photo-shift, 0px));
    margin: 52px 20px 24px;
    color: #fff;
    text-shadow: 0 2px 12px #000;
    text-align: center;
    font-size: clamp(28px, 8vw, 38px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
  }
  .story-person.story-middle {
    position: relative;
    top: auto;
    right: auto;
  }
  .cmd-body {
    padding: 16px 13px 20px;
  }
  .cmd-window .message-text {
    font-size: 12px;
    line-height: 1.7;
    letter-spacing: -0.035em;
  }
  .cmd-window .message-text p {
    margin-bottom: 1.15em;
  }
  .cmd-command,
  .cmd-ready {
    font-size: 10px;
    line-height: 1.6;
  }
  .cmd-command {
    margin-bottom: 20px;
  }
  .cmd-ready {
    margin-top: 20px;
  }
}

.defer-images .parchment-gallery .story-photo.story-portrait {
  background-image: var(--loaded-image, none);
}
