* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: #f6efff;
  font: 16px / 1.5 system-ui;
}
header {
  padding: 20px 4vw;
}
h1 {
  font-size: 26px;
  margin: 0;
}
p {
  color: #c6bbd0;
  margin: 3px 0;
}
.stage {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.hero-title {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 4.07%;
  transform: translateX(-50%);
  margin: 0;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: 12vw;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #f6e3bc;
  background: linear-gradient(180deg, #fffef6 0%, #fff3d8 32%, #eed8ac 65%, #c7a875 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.035vw rgba(255, 250, 226, 0.65);
  filter: drop-shadow(0 0.06vw 0 rgba(91, 61, 74, 0.65))
    drop-shadow(0 0.16vw 0.12vw rgba(47, 29, 55, 0.42))
    drop-shadow(0 0.32vw 0.6vw rgba(34, 24, 43, 0.23));
  pointer-events: none;
}
.glass-title {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hero-title {
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.keylight {
  left: 19.67%;
  top: calc(9.30% + 12px);
  width: 24.29%;
}
.landscape {
  display: block;
  width: 100%;
  height: 100%;
}
.lorbo {
  position: absolute;
  left: 7.76%;
  top: 10.2%;
  width: 50%;
  height: auto;
  pointer-events: none;
}
footer {
  padding: 16px 4vw;
  display: flex;
  gap: 20px;
  align-items: center;
}
button {
  border: 1px solid #a58db9;
  background: #362844;
  color: #fff;
  border-radius: 8px;
  padding: 8px 20px;
  font: inherit;
  cursor: pointer;
}
button:focus-visible {
  outline: 3px solid #cab5ee;
}
footer p {
  font-size: 14px;
}
.lorbo.keylight {
  left: 19.67%;
  top: calc(9.30% + 12px);
  width: 24.29%;
}
.contact-shadow {
  position: absolute;
  z-index: 1;
  transform: translate(-50%, -50%) rotate(4deg);
  background: radial-gradient(
    ellipse at center,
    rgba(22, 18, 11, 0.72) 0%,
    rgba(25, 20, 12, 0.52) 28%,
    rgba(29, 23, 15, 0.2) 53%,
    transparent 74%
  );
  filter: blur(2px);
  pointer-events: none;
}
.ambient {
  position: absolute;
  z-index: 0;
  display: block;
  object-fit: fill;
  pointer-events: none;
  mask-image:
    linear-gradient(to right, transparent, #000 6%, #000 94%, transparent),
    linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 6%, #000 94%, transparent),
    linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-composite: source-in;
}
.stage {
  isolation: isolate;
}
.hero-copy {
  position: absolute;
  z-index: 3;
  top: 19.4%;
  max-width: 610px;
  color: #fff9ee;
}
.hero-copy:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -22% -20%;
  background: radial-gradient(
    ellipse,
    rgba(25, 22, 35, 0.68) 0%,
    rgba(25, 22, 35, 0.4) 40%,
    transparent 72%
  );
  filter: blur(15px);
  pointer-events: none;
}
.hero-copy .definition {
  color: #fffaf2;
  margin: 0 0 15px;
  text-wrap: balance;
  text-shadow: 0 2px 12px #221a2870;
}
.hero-copy .description {
  color: #fff8ee;
  margin: 0 0 25px;
  text-wrap: pretty;
  text-shadow: 0 1px 8px #21172390;
}
.invite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
.invite:hover {
  background: #fffaf2;
  box-shadow:
    0 6px 24px #20152666,
    inset 0 1px 0 #fff;
}
.invite:focus-visible,
.motion-control:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
}
.motion-control {
  position: absolute;
  z-index: 5;
  right: 24px;
  top: 22px;
  display: flex;
  align-items: center;
  -webkit-backdrop-filter: blur(16px);
  font-weight: 550;
}
.switch-track {
  width: 34px;
  height: 20px;
  padding: 3px;
  border-radius: 20px;
}
.switch-track:after {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translateX(14px);
  transition: transform 0.15s;
}
.motion-control[aria-checked="false"] .switch-track:after {
  transform: translateX(0);
}
@media (max-width: 700px) {
  .stage {
    width: 100%;
    background: #24272b;
  }
  .landscape {
    height: auto;
  }
  .hero-copy {
    position: relative;
    top: auto;
    max-width: 500px;
    margin: -6% auto 0;
    padding: 0 27px;
    text-align: center;
  }
  .hero-copy:before {
    inset: -80px -20px -70px;
    background: linear-gradient(transparent, #24272b 26%);
  }
  .hero-copy .definition {
    font-size: 26px;
  }
  .hero-copy .description {
    font-size: 17px;
  }
  .motion-control {
    top: 10px;
    right: 10px;
  }
  .glass-title {
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .lorbo.keylight {
    top: calc(9.3vw + 12px);
  }
  .contact-shadow {
    top: calc(29.65vw + 12px);
    height: 1.5vw;
  }
  .ambient {
    height: var(--mobile-height) !important;
    top: var(--mobile-top) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .invite,
  .switch-track:after {
    transition: none;
  }
}

/* Desktop: the character and the invitation sit under their respective words. */
@media (min-width: 701px) {
  .hero-copy {
    left: 46.5%;
    width: 36%;
    max-width: none;
    padding: 0 2%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-copy:before {
    inset: -18% -25% -23%;
    background: radial-gradient(
      ellipse at 50% 47%,
      rgba(28, 24, 32, 0.52),
      rgba(28, 24, 32, 0.24) 45%,
      transparent 73%
    );
    filter: blur(24px);
  }
  .hero-copy .definition {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 2.7vw, 48px);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 1.12;
    color: #fff9ed;
    margin: 0 0 clamp(17px, 1.5vw, 27px);
    text-shadow: 0 2px 20px #211a2566;
  }
  .definition-intro,
  .definition-story {
    display: block;
  }
  .definition-story {
    font-style: italic;
    letter-spacing: -0.05em;
  }
  .hero-copy .description {
    max-width: 42ch;
    font-size: clamp(15px, 1.05vw, 18px);
    font-weight: 400;
    letter-spacing: 0.005em;
    line-height: 1.7;
    color: #f5f0e9;
    margin: 0 auto clamp(23px, 2vw, 35px);
    text-wrap: pretty;
    text-shadow: 0 1px 12px #201525aa;
  }
  .invite {
    min-height: 54px;
    gap: 27px;
    padding: 16px 25px;
    border-radius: 999px;
    font-size: 14px;
    letter-spacing: 0.015em;
    background: linear-gradient(160deg, #fffbf1, #efe1c7);
    border-color: #fff9ea;
    box-shadow:
      0 8px 28px #160f2438,
      inset 0 1px 0 #fff;
  }
  .invite:hover {
    background: #fffdf7;
    box-shadow: 0 10px 30px #160f2455;
  }
  .invite svg {
    width: 18px;
    height: 18px;
  }
  .motion-control {
    top: 1.7vw;
    padding: 9px 12px 9px 15px;
    font-size: 12px;
    min-height: 40px;
    background: #2c25354a;
    border-color: #fff6df30;
    box-shadow: none;
  }
}

.lorbo.quill-placement {
  display: block;
  z-index: 2;
}
.quill-placement[hidden] {
  display: none !important;
}
@media (max-width: 700px) {
  .lorbo.quill-placement {
    top: 7.6vw;
  }
}

/* Wooden artwork with a softly revealed, drifting particle halo. */
.invite {
  position: relative;
  isolation: isolate;
  width: 310px;
  max-width: 100%;
  height: 92px;
  min-height: 92px;
  padding: 0 20px;
  gap: 0;
  border: 0;
  border-radius: 999px;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff1ce;
  font-family: var(--lorbo-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  text-shadow: 0 2px 4px #000;
  overflow: visible;
}
.invite:before,
.invite:after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.invite:after {
  background-image: none;
}
.invite:is(:hover, :focus-visible):before {
  filter: none;
}
.invite:focus-visible {
  outline: var(--lorbo-focus-ring);
  outline-offset: 5px;
}
.invite-label {
  position: relative;
  z-index: 1;
  white-space: nowrap;
  transform: none;
  text-align: center;
  line-height: 1.2;
  color: #241036;
  -webkit-text-stroke: 0.3px rgba(16, 5, 30, 0.8);
  text-shadow:
    0 -1px 1px rgba(9, 2, 19, 0.9),
    0 1px 0 rgba(235, 203, 255, 0.95),
    0 2px 1px rgba(171, 119, 219, 0.5);
  transition:
    color 0.25s ease,
    text-shadow 0.25s ease;
}
.spark-halo:before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 999px;
  box-shadow:
    0 0 12px #ffce6777,
    0 0 25px #ffa73344,
    inset 0 0 8px #ffd99144;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--lorbo-hover);
}
.spark-halo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}
.invite:is(:hover, :focus-visible) .spark-halo:before {
  opacity: 1;
}
.spark {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: #fff7da;
  box-shadow:
    0 0 3px #fff0a5,
    0 0 7px #ffcc55,
    0 0 13px #ffad3bcc;
  opacity: 0;
  animation: magic-drift var(--time) ease-in-out both;
}
.spark.star {
  border-radius: 0;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  background: #fff8db;
}
body[data-motion="off"] .spark {
  animation-play-state: paused !important;
}
@keyframes magic-drift {
  0% {
    transform: translate(0, 0) scale(0.6);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  35% {
    transform: translate(calc(var(--dx) * 0.35), calc(var(--dy) * 0.35)) scale(1);
    opacity: 1;
  }
  75% {
    opacity: 0.85;
  }
  100% {
    transform: translate(var(--dx), var(--dy)) scale(0.4);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .spark {
    animation: none !important;
  }
  .spark-halo,
  .invite:before {
    transition: none;
  }
}

/* Translucent glass Motion control. */
.motion-control {
  isolation: isolate;
  width: auto;
  height: 46px;
  min-height: 46px;
  padding: 0 16px;
  justify-content: center;
  gap: 11px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.22),
      rgba(255, 255, 255, 0.06) 55%,
      rgba(255, 255, 255, 0.12)
    ), rgba(35, 28, 45, 0.22);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 4px 16px rgba(17, 12, 28, 0.16);
  color: #fffaf2;
  text-shadow: 0 1px 3px rgba(20, 14, 32, 0.4);
  font-size: 12px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.motion-control:before,
.motion-control:after {
  content: none;
  display: none;
}
.motion-control:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.29), rgba(255, 255, 255, 0.09)),
    rgba(35, 28, 45, 0.22);
}
.switch-track {
  background: linear-gradient(135deg, #98ad79, #587348);
  box-shadow:
    inset 0 1px 3px #283b2877,
    0 0 6px #98ad7933;
}
.switch-track:after {
  background: #fff7e2;
  box-shadow: 0 1px 3px #57371588;
}
.motion-control[aria-checked="false"] .switch-track {
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 3px #251d3640;
}
@media (max-width: 700px) {
  .motion-control {
    height: 42px;
    min-height: 42px;
    padding: 0 13px;
    font-size: 11px;
    gap: 9px;
  }
}

.hero-copy .definition {
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.08;
}
.definition-story {
  font-style: normal;
  letter-spacing: 0;
}
@media (min-width: 1100px) {
  .hero-copy {
    left: 45%;
    width: 48%;
    padding: 0;
    text-align: left;
    align-items: flex-start;
  }
  .hero-copy .definition {
    width: 100%;
    margin-bottom: 27px;
    text-align: left;
  }
  .definition-intro {
    display: block;
  }
  .definition-story {
    display: block;
    margin-left: 3vw;
  }
  .hero-copy .description {
    max-width: none;
    margin: 0 0 30px 6vw;
    text-align: left;
    line-height: 1.9;
  }
  .description span {
    display: block;
    white-space: nowrap;
  }
  .description span:nth-child(2) {
    margin-left: 1.2vw;
  }
  .description span:nth-child(3) {
    margin-left: 2.4vw;
  }
  .description span:nth-child(4) {
    margin-left: 3.6vw;
  }
  .hero-copy .invite {
    margin-left: calc(14vw + 12px);
  }
}

.journey:after {
  content: "";
  height: 15vw;
}

/* Readable regular-weight dek; the script introduction stays unchanged. */
.hero-copy .description {
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  font-size: clamp(19px, 1.4vw, 24px);
  line-height: 1.65;
}
html {
  scrollbar-gutter: stable;
}
/* Let the copy leave line by line while Lorbo finishes his idle cycle. */
.hero-copy:before {
  transition: opacity 1.2s ease;
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy:before {
    transition: none;
  }
}
.hero-copy .definition {
  font-family: var(--lorbo-heading);
  font-weight: 500;
}
.hero-copy .description {
  font-family: var(--lorbo-body);
  font-weight: 400;
}
/* Simple introductory hero. */
.hero-copy .invite {
  width: auto;
}
.invite:before,
.invite:after,
.invite .spark-halo {
  display: none;
}
.invite svg {
  display: block;
  width: 18px;
  height: 18px;
}
.hero-copy .definition {
  margin-bottom: 30px;
}

/* Three descending steps follow the branch toward the invitation. */
.hero-copy .definition > span {
  display: block;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .hero-copy .definition > span:nth-child(2) {
    margin-left: 3vw;
  }
  .hero-copy .definition > span:nth-child(3) {
    margin-left: 6vw;
  }
}

/* First frame of the new rectangular crystal asset. */
.hero-copy .invite,
.hero-copy .invite:hover {
  width: 345px;
}
.invite:before {
  content: "";
  width: 118%;
  aspect-ratio: 2128 / 912;
  background: none;
  filter: none;
}
.invite .invite-label,
.invite:is(:hover, :focus-visible) .invite-label {
  -webkit-text-stroke: 0;
}

.invite:after {
  width: 118%;
  aspect-ratio: 2128 / 912;
  background: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.invite:is(:hover, :focus-visible):after {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .invite:after {
    transition: none;
  }
}
.invite svg {
  transform: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Plain purple pill replaces the crystal artwork. */
.hero-copy .invite {
  border-radius: 999px;
}
.invite:before,
.invite:after {
  display: none !important;
}
.invite .invite-label,
.invite:is(:hover, :focus-visible) .invite-label {
  color: #fff;
  text-shadow: none;
}
.invite svg {
  color: #fff;
}
.hero-copy .invite,
.hero-copy .invite:hover {
  width: auto;
}

/* Center the deck in the clear space beside Lorbo, ending at the title edge. */
.hero-copy {
  left: 40%;
  width: 47%;
  padding: 0;
  align-items: center;
  text-align: center;
}
.hero-copy .definition {
  text-align: center;
}
.hero-copy .definition > span,
.hero-copy .definition > span:nth-child(2),
.hero-copy .definition > span:nth-child(3) {
  margin-left: 0;
}
.hero-copy .invite {
  margin-left: 0;
  align-self: center;
}
@media (max-width: 700px) {
  .hero-copy {
    left: auto;
    width: auto;
    margin-left: 24px;
    margin-right: 24px;
  }
  .hero-copy .invite {
    margin-left: 0;
    align-self: center;
  }
}
@media (min-width: 701px) {
  .hero-copy {
    top: 20.3%;
  }
}

/* A quiet announcement strip separates the introduction from the explanation. */
/* Ribbon follows the diagonal bark edge before extending into the valley. */
.launch-strip {
  position: absolute;
  top: 43%;
  left: 45%;
  width: 41.97%;
  height: 4.2vw;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 48px 12px 18.5%;
  border: 0;
  border-radius: 0;
  background: none;
  filter: drop-shadow(0 5px 5px #100b1940);
  font:
    500 clamp(12px, 0.84vw, 16px) / 1.4 "Plus Jakarta Sans",
    sans-serif;
  color: #fff3db;
  isolation: isolate;
}
.launch-strip:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url(/homepage/lorbo-launch-ribbon.svg) center / 100% 100% no-repeat;
}
.launch-strip:after {
  display: none;
}
.launch-strip span {
  white-space: nowrap;
}
.launch-strip span + span:before {
  content: "✦";
  color: #d7bc8a;
  font-size: 10px;
}
@media (max-width: 700px) {
  .launch-strip {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: max-content;
    max-width: calc(100% - 32px);
    height: auto;
    clip-path: none;
    padding: 14px 24px;
    margin: 32px auto 0;
    gap: 18px;
    font-size: 11px;
    letter-spacing: 0.025em;
    min-height: 56px;
  }
  .launch-strip span + span:before {
    margin-right: 18px;
  }
}
/* Real foreground occlusion replaces the approximate ribbon cutout. */
.launch-strip {
  z-index: 1;
  clip-path: none;
}
.lorbo {
  z-index: 3;
}
@media (max-width: 700px) {
  body {
    overflow-x: hidden;
  }
}

/* Keep the hero layers in their original square coordinate system. */
.stage > .landscape {
  display: block;
}
.scene-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
}
@media (max-width: 700px) {
  .stage {
    aspect-ratio: 1008 / 3058;
    min-height: 0;
    padding-bottom: 0;
  }
  .scene-top .hero-copy {
    position: absolute;
    left: 0;
    right: 0;
    top: 45%;
    margin: 0;
  }
  .scene-top .launch-strip {
    position: absolute;
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
  }
}
.stage {
  container-type: inline-size;
}
.scene-top:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background: linear-gradient(90deg, #101514 0, transparent 2.5%, transparent 97.5%, #101514 100%);
}
.stage:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
  background: linear-gradient(90deg, #101514 0, transparent 2.5%, transparent 97.5%, #101514 100%);
}
.hero-copy .definition {
  font-size: clamp(30px, 3.5cqw, 64px);
}
.launch-strip {
  height: 4.2cqw;
  font-size: clamp(9px, 0.84cqw, 12px);
  padding-right: 18px;
  gap: 8px;
  letter-spacing: 0;
}
@media (min-width: 701px) {
  .motion-control {
    right: 24px;
  }
}

.launch-strip span + span:before {
  margin-right: 8px;
}
.scene-top:after,
.stage:after {
  display: none !important;
}

/* Crop the trim from the right edge; mirror it for the opposite side. */
body:before,
body:after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: 36px;
  z-index: 12;
  pointer-events: none;
  background: none;
  box-shadow: 0 0 5px #0008;
}
body:before {
  left: calc(50% - 600px - 36px);
  transform: none;
}
body:after {
  right: calc(50% - 600px - 36px);
  transform: scaleX(-1);
}
@media (max-width: 1200px) {
  body:before,
  body:after {
    display: none;
  }
}

.site-frame-top {
  padding: 0;
}
.site-frame-top .frame-controls {
  margin: auto;
}
.site-frame-top .motion-control {
  position: absolute;
}
@media (max-width: 700px) {
  .site-frame-top {
    height: 80px;
  }
  .site-frame-top .motion-control {
    right: 16px;
  }
}
.wood-side {
  position: fixed;
  top: 0;
  bottom: 0;
  width: max(0px, calc(50% - 600px));
  pointer-events: none;
  z-index: 0;
  background: #1c1c17;
}
.wood-side-left {
  left: 0;
}
.wood-side-right {
  right: 0;
  transform: scaleX(-1);
}
.site-frame-top {
  border-bottom: 2px solid #8c754c;
  box-sizing: border-box;
}

.site-frame-top {
  border: 0;
  box-shadow: none;
}

.site-frame-top:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleY(-1);
  width: min(100%, 1216px);
  height: 36px;
  background: none;
  pointer-events: none;
}
@media (max-width: 700px) {
  .site-frame-top:after {
    height: 24px;
  }
  .site-frame-top .motion-control {
    top: 5px;
  }
}

html,
body {
  overflow-x: clip;
}
.journey .stage {
  overflow: visible;
}
.stage > .landscape {
  position: absolute;
  top: min(2.538vw, 36.5472px);
  left: -90.443984375%;
  transform: none;
  width: 257.390625%;
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
}
.stage > .landscape > .landscape-slice {
  display: block;
  width: 100%;
  height: auto;
}
.stage > .landscape > .landscape-slice + .landscape-slice {
  margin-top: calc(-100% / 289);
}
@media (min-width: 3340px) {
  .journey,
  .site-frame-top .frame-controls {
    max-width: 43.2vw !important;
  }
}

.scene-top .glass-title {
  top: 15%;
  bottom: auto;
  height: 100%;
  z-index: 1;
}
.scene-top .launch-strip {
  display: none !important;
}
.wood-side,
body:before,
body:after,
.site-frame-top:after {
  display: none !important;
}
.journey {
  max-width: 1440px;
  margin-inline: auto;
}
.stage {
  aspect-ratio: 3072 / 10091.72736 !important;
  min-height: 0;
  padding: 0;
}
.site-frame-top {
  width: 100%;
  height: 0;
  background: none;
}
.site-frame-top .frame-controls {
  max-width: 1440px;
}
.site-frame-top .motion-control {
  top: 16px;
  right: 16px;
}
.lorbo.quill-placement {
  left: 17.5%;
  top: 26.2%;
  width: 27.6%;
  height: auto;
}
.contact-shadow {
  display: block;
  left: 31.3%;
  top: 51.76%;
  width: 16.8%;
  height: 1.44%;
  opacity: 0.5;
}
.scene-top .hero-copy {
  position: absolute;
  left: 43%;
  right: auto;
  top: 38%;
  width: 46%;
  padding: 0;
  margin: 0;
  text-align: center;
  align-items: center;
}
.scene-top .hero-copy .definition {
  font-size: clamp(18px, 2.85cqw, 41px);
  line-height: 1.15;
  margin: 0;
  text-align: center;
}
.scene-top .hero-copy {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.scene-top .hero-copy .invite {
  margin: 0;
  align-self: center;
}
.scene-top .launch-strip {
  top: 47%;
  left: 49%;
  width: 46%;
  transform: none;
  margin: 0;
  height: auto;
  min-height: 40px;
  padding: 10px 14px;
  justify-content: center;
  font-size: clamp(9px, 0.85cqw, 13px);
}
@media (max-width: 700px) {
  .hero-copy .invite {
    width: auto;
  }
  .scene-top .launch-strip {
    top: 60%;
    font-size: 9px;
    padding: 7px;
    gap: 5px;
  }
  .hero-copy .definition {
    font-size: clamp(17px, 3.5cqw, 26px);
  }
}

.journey .stage {
  transform: translateY(-40px);
}
.scene-top .lorbo.quill-placement {
  z-index: 3;
}

.site-frame-top .frame-controls {
  position: relative;
  height: 150px;
}
.medallion-home {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 116px;
  height: 116px;
  display: block;
  filter: drop-shadow(0 3px 5px #23170b55);
}
.medallion-home::before {
  content: "";
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 220, 151, 0.32) 0%,
    rgba(255, 210, 126, 0.2) 38%,
    rgba(255, 210, 126, 0) 70%
  );
  filter: blur(7px);
  pointer-events: none;
  z-index: -1;
}
.medallion-home img {
  width: 100%;
  height: 100%;
  display: block;
  clip-path: circle(44.7% at 50% 49.7%);
}
.medallion-home:focus-visible {
  outline: var(--lorbo-focus-ring);
  border-radius: 50%;
  outline-offset: 2px;
}
.header-actions {
  position: absolute;
  right: 16px;
  top: 78px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-frame-top .header-actions .motion-control {
  position: static;
  transform: none;
  margin: 0;
}
@media (max-width: 1100px) {
  .header-actions {
    top: 142px;
    right: 20px;
  }
}
@media (max-width: 700px) {
  .medallion-home {
    width: 92px;
    height: 92px;
    top: 12px;
  }
  .header-actions {
    top: 116px;
    right: 12px;
    gap: 10px;
  }
}

.hero-copy .invite,
.hero-copy .invite:hover,
.site-frame-top .motion-control,
.site-frame-top .motion-control:hover {
  background: transparent !important;
  border: 0;
  box-shadow: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  isolation: isolate;
}
.hero-copy .invite::before,
.site-frame-top .motion-control::before {
  content: "";
  display: block !important;
  position: absolute;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  transform: none;
  z-index: -1;
  pointer-events: none;
  filter: drop-shadow(0 3px 4px #1e140c44);
  transition: filter 0.18s;
}
.hero-copy .invite::after,
.site-frame-top .motion-control::after {
  display: none !important;
}
.hero-copy .invite:hover::before,
.site-frame-top .motion-control:hover::before {
  filter: brightness(1.08) drop-shadow(0 3px 4px #1e140c44);
}
.hero-copy .invite,
.hero-copy .invite:hover {
  width: 224px;
}
.hero-copy .invite .invite-label,
.hero-copy .invite:hover .invite-label,
.hero-copy .invite svg {
  text-shadow: 0 1px 0 #e9c18b80;
}
@media (max-width: 700px) {
  .hero-copy .invite,
  .hero-copy .invite:hover {
    width: 190px;
  }
  .site-frame-top .motion-control {
    width: 138px;
  }
}

.medallion-home img,
.medallion-home .medallion-spin {
  transition: filter var(--lorbo-hover);
}
.medallion-home .medallion-spin {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  pointer-events: none;
}
.medallion-home .medallion-spin[hidden] {
  display: none !important;
}
.medallion-home.is-spinning img {
  opacity: 0;
  transition: none;
}
.medallion-home:is(:hover, :focus-visible) img,
.medallion-home:is(:hover, :focus-visible) .medallion-spin {
  filter: brightness(1.08);
}
body[data-motion="off"] .medallion-home:is(:hover, :focus-visible) img {
  filter: brightness(1.2);
}
.hero-copy .invite::before {
  filter: drop-shadow(0 0 12px rgba(255, 207, 123, 0.32)) drop-shadow(0 3px 4px #1e140c44);
}
.hero-copy .invite:hover::before {
  filter: brightness(1.08) drop-shadow(0 0 15px rgba(255, 207, 123, 0.42))
    drop-shadow(0 3px 4px #1e140c44);
}
@media (prefers-reduced-motion: reduce) {
  .medallion-home img,
  .medallion-home .medallion-spin {
    transition: none;
  }
  .medallion-home:is(:hover, :focus-visible) img {
    filter: brightness(1.2);
  }
}

.hero-copy .hero-facts {
  opacity: 1;
  transition: opacity 420ms ease;
  will-change: opacity;
}
.hero-copy .hero-facts.is-scroll-hidden {
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy .hero-facts {
    transition: none;
  }
}

.hero-copy .hero-facts {
  position: relative;
  isolation: isolate;
  margin-top: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 800px;
  max-width: none;
  height: 116px;
  box-sizing: border-box;
  padding: 0 98px 22px;
  color: #fff1d8;
  font:
    600 20px / 1.4 "Plus Jakarta Sans",
    sans-serif;
  text-shadow: 0 1px 3px #170c26;
  white-space: nowrap;
}
.hero-copy .hero-facts::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  filter: drop-shadow(0 3px 5px #10091955);
}
.hero-facts span + span {
  border-left: 1px solid rgba(244, 211, 153, 0.5);
  padding-left: 24px;
}
@media (max-width: 700px) {
  .hero-copy .hero-facts {
    width: 340px;
    max-width: none;
    height: 50px;
    padding: 0 41px 9px;
    gap: 10px;
    font-size: 10px;
  }
  .hero-facts span + span {
    padding-left: 10px;
  }
}

.site-frame-top .motion-control,
.site-frame-top .motion-control:hover {
  width: auto;
  height: 46px;
  min-height: 46px;
  padding: 0 16px;
  gap: 11px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.22),
      rgba(255, 255, 255, 0.06) 55%,
      rgba(255, 255, 255, 0.12)
    ), rgba(35, 28, 45, 0.22) !important;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 4px 16px rgba(17, 12, 28, 0.16) !important;
  color: #fffaf2;
  text-shadow: 0 1px 3px rgba(20, 14, 32, 0.4);
  font-weight: 550;
}
.site-frame-top .motion-control::before,
.site-frame-top .motion-control::after {
  content: none;
  display: none !important;
}
.site-frame-top .motion-control:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.29), rgba(255, 255, 255, 0.09)),
    rgba(35, 28, 45, 0.22) !important;
}
@media (max-width: 700px) {
  .site-frame-top .motion-control,
  .site-frame-top .motion-control:hover {
    height: 42px;
    min-height: 42px;
    padding: 0 13px;
    gap: 9px;
  }
}

.revised-ambient-layer {
  position: absolute;
  left: -90.443984375%;
  top: min(2.538vw, 36.5472px);
  width: 257.390625%;
  aspect-ratio: 6936 / 8784;
  pointer-events: none;
  z-index: 0;
}
.revised-ambient-layer video[hidden] {
  display: none !important;
}
.revised-ambient-layer .revised-ambient {
  position: absolute;
  display: block;
  object-fit: fill;
  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-composite: add;
  -webkit-mask-composite: source-over;
}

.parchment-section {
  position: absolute;
  z-index: 4;
  top: max(88cqw, calc(100svh + 80px));
  box-sizing: border-box;
  scroll-margin-top: 64px;
  color: #342a23;
  isolation: isolate;
  filter: drop-shadow(0 24px 30px #07151266);
}
.parchment-section h2 {
  font:
    600 clamp(32px, 3.3cqw, 48px) / 1.08 "Cormorant Garamond",
    Georgia,
    serif;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: #30261e;
}
.parchment-section .parchment-intro {
  color: #4e4133;
  margin: 0;
  max-width: 70ch;
}
.parchment-points {
  list-style: none;
  display: grid;
}
.parchment-points .proof-ink {
  display: block;
  margin: 0 0 15px;
  transform: rotate(-2deg);
}
.parchment-points li:nth-child(even) .proof-ink {
  transform: rotate(2deg);
}
.parchment-points h3 {
  color: #392b20;
}
.parchment-points p {
  color: #4e4133;
}
@media (max-width: 700px) {
  .parchment-section {
    width: calc(100% - 32px);
    padding: 36px 26px;
    top: max(110cqw, calc(100svh + 64px));
  }
  .parchment-section .parchment-intro {
    font-size: 16px;
  }
  .parchment-points {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
    padding-top: 24px;
  }
  .parchment-section h2 {
    font-size: 34px;
  }
}

/* Keep late-positioned sections out of the first paint until layout is measured. */
html.js[data-homepage="desktop"] :is(.ink-flow, .alpha-ending):not([data-layout-ready]) {
  visibility: hidden;
}

/* Initial scroll geometry must be in place before scripts load. */
.journey:after {
  display: none;
}
.journey .stage {
  position: sticky;
  top: 0;
}
.glass-title,
.definition > span,
#invite,
.hero-access-note,
.hero-facts {
  will-change: transform, opacity;
}
