/* Dawnstone's established midnight, sandstone, mist and restrained plum palette. */
:root {
  color-scheme: dark;
  --midnight: #11161d;
  --mist: #ece7de;
  --sand: #d4c0a1;
  --gold: #c79a43;
  --plum: #2e1a47;
  --gutter: clamp(24px, 6vw, 100px);
  --vh: 1svh;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: var(--midnight);
}
body {
  margin: 0;
  color: var(--mist);
  font-family: Georgia, "Times New Roman", serif;
  background: var(--midnight);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--mist);
  outline-offset: 7px;
  box-shadow: 0 0 0 5px #6c3bd155;
}
button {
  cursor: pointer;
}
::selection {
  background: #6c3bd1;
  color: white;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 20px;
  padding: 14px;
  background: var(--midnight);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  background: linear-gradient(#090e15db, transparent);
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo {
  display: block;
  width: auto;
  height: 84px;
  overflow: hidden;
}
.menu-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0;
  background: transparent;
  font: 10px Arial, sans-serif;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 0 10px 12px;
}
.menu-symbol {
  font-size: 20px;
}
.cinematic .brand,
.cinematic .menu-label {
  opacity: var(--header-reveal, 1);
}
.cinematic.header-quiet .site-header {
  background: none;
}
.landscape {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #11161d;
}
.landscape picture,
.landscape img,
.landscape-video {
  display: block;
  width: 100%;
  height: 100%;
}
.landscape picture,
.landscape-video,
.journey-thread {
  transform-origin: 50% 45%;
  will-change: transform;
}
.cinematic .landscape picture,
.cinematic .landscape-video,
.cinematic .journey-thread {
  transform: scale(var(--scene-zoom, 1));
}
.landscape img,
.landscape-video {
  object-fit: cover;
  object-position: 50% 50%;
}
.landscape-video {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.cinematic.video-ready .landscape-video {
  opacity: 1;
}
.landscape-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #080d1466 0%,
    #080d1410 35%,
    #080d1466 65%,
    #080d14e6 100%
  );
  opacity: var(--scene-vignette, 1);
}
.landscape:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #10151de8, #10151d9c 48%, #10151d33);
  opacity: var(--scene-shade, 0);
}
main {
  position: relative;
  z-index: 2;
}
.chapter {
  position: relative;
  min-height: 100svh;
  scroll-margin-top: 0;
}
.chapter-hold {
  position: relative;
  min-height: 100svh;
  padding: 130px var(--gutter) 95px;
  display: flex;
  align-items: center;
}
.intro-content {
  width: 100%;
  text-align: center;
  padding-bottom: 5svh;
}
.eyebrow {
  font:
    10px/1.5 Arial,
    sans-serif;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  margin: 0 0 30px;
}
.introduction .eyebrow {
  font-size: 14px;
  letter-spacing: 0.12em;
  margin-bottom: 32px;
}
.introduction h1 {
  font-size: clamp(48px, 8.4vw, 140px);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  line-height: 1;
  margin: 0;
  text-shadow: 0 3px 50px #080b10;
}
.introduction h1 span {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  font-size: 0.28em;
  letter-spacing: 0.5em;
  margin-top: 20px;
  color: var(--sand);
}
.introduction h1 span:before,
.introduction h1 span:after {
  content: "";
  display: block;
  width: 65px;
  height: 1px;
  background: var(--sand);
}
.intro-motto {
  font-size: clamp(15px, 1.5vw, 21px);
  line-height: 1.6;
  max-width: 400px;
  margin: 36px auto 30px;
  text-wrap: balance;
  text-shadow: 0 2px 10px #000;
}
.explore {
  display: inline-flex;
  gap: 25px;
  padding: 13px 0;
  border-bottom: 1px solid #d4c0a180;
  font:
    10px/1.5 Arial,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.explore span {
  font-size: 16px;
}
.edge-note {
  position: absolute;
  bottom: 42px;
  left: var(--gutter);
  font:
    10px/1.7 Arial,
    sans-serif;
  letter-spacing: 0.06em;
  color: #ece7deb3;
}
.scroll-note {
  position: absolute;
  bottom: 42px;
  right: var(--gutter);
  font:
    10px/1.7 Arial,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--sand);
}
.scroll-note span {
  margin-left: 16px;
}
.story .chapter-hold {
  justify-content: space-between;
  gap: 9vw;
}
.scene-copy {
  max-width: 680px;
  flex: 1;
}
.story h2 {
  font-size: clamp(72px, 10vw, 162px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 36px;
}
.story h2 span {
  display: block;
  font-size: 0.27em;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
.body-copy {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.7;
  color: #e0ddd6;
  max-width: 420px;
  text-wrap: pretty;
  margin: 30px 0 0;
}
.scene-caption {
  font-size: clamp(23px, 3vw, 46px);
  line-height: 1.3;
  max-width: 320px;
  font-style: italic;
  align-self: flex-end;
  margin: 0 0 10svh;
  text-shadow: 0 2px 30px #000;
}
.story .scene-caption.purpose-caption {
  white-space: nowrap;
  max-width: none;
  flex-shrink: 0;
}
.text-baseline {
  display: inline-block;
  width: 0;
  height: 0;
  line-height: 0;
  vertical-align: baseline;
}
.ending {
  text-align: center;
}
.ending .chapter-hold {
  justify-content: center;
}
.ending-content {
  max-width: 800px;
}
.ending h2 {
  font-size: clamp(54px, 6.8vw, 80px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.ending .ending-launch {
  font-size: clamp(10px, 0.85vw, 12px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.14em;
  color: #e0b45a;
  margin: 0 0 10px;
  text-shadow: 0 1px 3px #080d14, 0 2px 12px #080d14;
}
.ending-content > p:not(.eyebrow) {
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.6;
  color: #d4d0c8;
  margin: 8px 0;
}
.hello {
  margin: 12px auto 0;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  border: 1px solid #d4c0a177;
  padding: 17px 25px;
  font:
    12px Arial,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: background 0.25s;
}
.hello:hover {
  background: #d4c0a11a;
}
.back-to-start {
  display: block;
  margin: 26px auto;
  font:
    10px Arial,
    sans-serif;
  letter-spacing: 0.1em;
  color: var(--sand);
  width: fit-content;
}
footer {
  position: absolute;
  bottom: 26px;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font:
    9px/1.7 Arial,
    sans-serif;
  color: #ece7de80;
  letter-spacing: 0.04em;
}
.journey-thread,
.shared-title {
  display: none;
}
.journey-controls {
  position: fixed;
  z-index: 41;
  bottom: 22px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  font:
    9px Arial,
    sans-serif;
  letter-spacing: 0.12em;
}
.motion-toggle {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--sand);
  padding: 12px 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}
.motion-toggle[aria-pressed="false"] {
  opacity: 0.6;
}
.motion-toggle:hover {
  color: var(--mist);
}
.progress-label {
  color: var(--sand);
}
/* Motion is enhancement only: the source document remains a complete ordinary page. */
.cinematic .site-header {
  position: fixed;
}
.cinematic .chapter {
  height: 112svh;
}
.cinematic .introduction {
  height: 112svh;
}
.cinematic .ending {
  height: 160svh;
}
.cinematic .chapter-hold {
  height: 100svh;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}
.cinematic .chapter-hold.is-current {
  pointer-events: auto;
}
.cinematic .story h2 {
  opacity: 0;
  margin-bottom: 36px;
}
.cinematic .shared-title {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 3;
  pointer-events: none;
  left: var(--gutter);
  top: 33svh;
  opacity: 0;
  will-change: opacity;
}
.shared-prefix {
  font-size: clamp(20px, 2.6vw, 38px);
  margin-bottom: 16px;
}
.shared-word {
  font-size: clamp(72px, 10vw, 162px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.shared-rule {
  width: 64px;
  height: 1px;
  background: var(--sand);
  margin-top: 27px;
  transform-origin: left;
}
.cinematic .journey-thread {
  display: block;
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.8;
}
.journey-thread svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.journey-thread path {
  fill: none;
  stroke: var(--sand);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.journey-thread .journey-route {
  stroke: none;
  fill: none;
}
.journey-thread .wayfinder-core {
  fill: var(--gold);
  stroke: #ffe4a3;
  filter: drop-shadow(0 0 5px #e6b95be6) drop-shadow(0 0 12px #c79a4399);
  transform-box: fill-box;
  transform-origin: center;
}
.wayfinder-halo {
  fill: none;
  stroke: var(--gold);
  stroke-width: 0.8;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.wayfinder-arrival {
  opacity: var(--arrival-glow, 0);
}
.wayfinder-aura {
  fill: url(#wayfinder-gold-glow);
  transform-box: fill-box;
  transform-origin: center;
}
.journey-thread .wayfinder-sparkle {
  fill: #ffd36b;
  stroke: none;
  filter: drop-shadow(0 0 3px #ffcc59);
  transform-box: fill-box;
  transform-origin: center;
}
.journey-thread .wayfinder-diagonal {
  stroke: #eeb749;
  stroke-width: 0.7;
  transform-box: fill-box;
  transform-origin: center;
}
.cinematic .wayfinder-aura {
  animation: wayfinder-gold-breathe 3.6s ease-in-out infinite;
}
.cinematic .wayfinder-sparkle {
  animation: wayfinder-star-twinkle 2.8s ease-in-out infinite;
}
.cinematic .wayfinder-diagonal {
  animation: wayfinder-star-twinkle 3.8s ease-in-out -0.9s infinite;
}
.cinematic .wayfinder-core {
  animation: wayfinder-breathe 2.6s ease-in-out infinite;
}
.cinematic .wayfinder-halo {
  animation: wayfinder-ripple 2.6s ease-out infinite;
}
/* Animate children only; the outer SVG group owns the exact route anchor. */
@keyframes wayfinder-breathe {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.18); opacity: 1; }
}
@keyframes wayfinder-ripple {
  0% { transform: scale(0.65); opacity: 0; }
  20% { opacity: 0.4; }
  100% { transform: scale(2.1); opacity: 0; }
}
@keyframes wayfinder-gold-breathe {
  0%, 100% { transform: scale(0.72); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 1; }
}
@keyframes wayfinder-star-twinkle {
  0%, 100% { transform: scale(0.75); opacity: 0.3; }
  35% { transform: scale(1.1); opacity: 1; }
  46% { transform: scale(0.9); opacity: 0.5; }
  58% { transform: scale(1); opacity: 1; }
  76% { transform: scale(0.85); opacity: 0.6; }
}
.cinematic .ending {
  z-index: 4;
}
.cinematic .ending .chapter-hold {
  background: linear-gradient(transparent, #10151db3);
  padding-top: calc(56svh + 44px);
  align-items: flex-start;
}
.ending .back-to-start {
  margin-top: 4px;
}
.ending .hello {
  margin-top: 8px;
  min-height: 44px;
}
.cinematic .body-copy {
  position: relative;
}
.still .landscape:after {
  opacity: 0.8;
}
.still .journey-controls {
  background: #11161d;
}
.still .site-header {
  position: fixed;
}
@media (min-width: 701px) {
  .cinematic .body-copy {
    margin-top: 210px;
  }
  .cinematic .scene-caption {
    margin-bottom: 18svh;
  }
}
@media (max-width: 700px) {
  :root {
    --gutter: 25px;
  }
  .site-header {
    padding: 16px var(--gutter);
  }
  .brand-logo {
    height: 48px;
  }
  .introduction h1 {
    font-size: clamp(34px, 10.7vw, 70px);
    letter-spacing: 0.025em;
  }
  .introduction h1 span {
    font-size: 0.32em;
    margin-top: 18px;
  }
  .introduction h1 span:before,
  .introduction h1 span:after {
    width: 35px;
  }
  .intro-content {
    padding-bottom: 7svh;
  }
  .introduction .eyebrow {
    font-size: 14px;
    margin-bottom: 25px;
  }
  .intro-motto {
    font-size: 16px;
    max-width: 270px;
    margin-top: 32px;
  }
  .edge-note {
    bottom: 75px;
    font-size: 9px;
  }
  .scroll-note {
    bottom: 75px;
    font-size: 8px;
  }
  .scroll-note span {
    display: none;
  }
  .chapter-hold {
    padding-top: 125px;
    padding-bottom: 110px;
  }
  .story .chapter-hold {
    display: block;
    min-height: 100svh;
  }
  .story h2 {
    font-size: clamp(65px, 19vw, 108px);
  }
  .body-copy {
    font-size: 17px;
    max-width: 360px;
  }
  .scene-caption {
    font-size: 24px;
    margin-top: 38px;
    margin-left: auto;
    max-width: 250px;
    text-align: right;
  }
  .story .scene-caption.purpose-caption {
    font-size: clamp(18px, 6vw, 27px);
  }
  .eyebrow {
    font-size: 9px;
  }
  .cinematic .shared-title {
    top: 29svh;
  }
  .shared-word {
    font-size: clamp(65px, 20vw, 110px);
  }
  .shared-prefix {
    font-size: 23px;
  }
  .cinematic .story h2 {
    margin: 0;
    height: 24svh;
  }
  .cinematic .body-copy {
    margin: 21svh 0 0;
    font-size: clamp(15px, 2.15svh, 18px);
    line-height: 1.6;
    max-width: 340px;
  }
  .cinematic .scene-caption {
    position: absolute;
    bottom: 12svh;
    right: var(--gutter);
    font-size: clamp(20px, 3svh, 27px);
    line-height: 1.2;
    margin: 0;
    max-width: 240px;
  }
  .cinematic .chapter {
    height: 112svh;
  }
  .cinematic .introduction {
    height: 112svh;
  }
  .cinematic .ending {
    height: 160svh;
  }
  .cinematic .ending .chapter-hold {
    padding-top: calc(43svh + 28px);
  }
  .ending h2 {
    font-size: clamp(43px, 12vw, 68px);
  }
  .ending-content > p:not(.eyebrow) {
    font-size: 17px;
  }
  .ending .chapter-hold {
    display: flex;
  }
  .ending-content {
    padding-bottom: 25px;
  }
  .desktop-break {
    display: none;
  }
  footer {
    font-size: 8px;
    bottom: 68px;
    display: block;
  }
  footer span {
    display: block;
    margin-top: 4px;
  }
  .journey-controls {
    bottom: 17px;
    right: var(--gutter);
    left: var(--gutter);
    justify-content: space-between;
  }
  .cinematic .landscape picture,
  .cinematic .landscape-video,
  .cinematic .journey-thread {
    transform-origin: 50% 40%;
  }
  .shared-rule {
    margin-top: 22px;
  }
}
@media (max-height: 800px) and (min-width: 701px) {
  .cinematic .ending .chapter-hold {
    padding-top: calc(48svh + 28px);
  }
  .ending h2 {
    font-size: 60px;
  }
}
@media (max-height: 650px) and (min-width: 701px) {
  .chapter-hold {
    padding-top: 100px;
    padding-bottom: 65px;
  }
  .cinematic .shared-title {
    top: 27svh;
  }
  .shared-word {
    font-size: 95px;
  }
  .cinematic .body-copy {
    margin-top: 130px;
    font-size: 17px;
  }
  .cinematic .ending .chapter-hold {
    padding-top: calc(44svh + 24px);
  }
  .ending h2 {
    font-size: 54px;
  }
  .ending-content > p:not(.eyebrow) {
    font-size: 17px;
  }
  .hello {
    margin-top: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
  .landscape {
    position: absolute;
    height: 100svh;
  }
  .story {
    background: var(--midnight);
  }
  .ending {
    background: #0b1016;
  }
}
@media (max-width: 700px) {
  .cinematic .body-copy {
    position: absolute;
    top: 55svh;
    left: var(--gutter);
    right: var(--gutter);
    margin: 0;
  }
}
@media (max-width: 700px) and (max-height: 700px) {
  .cinematic .shared-title {
    top: 27svh;
  }
  .shared-prefix {
    font-size: 20px;
    margin-bottom: 12px;
  }
  .shared-word {
    font-size: 65px;
  }
  .cinematic .body-copy {
    top: 52svh;
    font-size: 15px;
    line-height: 1.5;
  }
  .cinematic .scene-caption {
    font-size: 20px;
    bottom: 12svh;
  }
  .ending h2 {
    font-size: 42px;
  }
  .ending-content > p:not(.eyebrow) {
    font-size: 15px;
    margin: 8px 0;
  }
  .ending-content {
    padding-bottom: 0;
  }
  .ending .hello {
    margin-top: 8px;
    padding: 14px 20px;
  }
  .back-to-start {
    margin-top: 20px;
  }
  .ending .chapter-hold {
    padding-top: 95px;
    padding-bottom: 110px;
  }
  .cinematic .ending .chapter-hold {
    padding-top: calc(43svh + 24px);
  }
}
.brand {
  min-height: 44px;
}
.motion-toggle {
  min-height: 44px;
  min-width: 44px;
}
.back-to-start {
  min-height: 44px;
  padding: 15px 0;
  margin-top: 12px;
  margin-bottom: 0;
}

/* Short/narrow endings must remain readable when wrapping exceeds one screen. */
@media (max-width: 370px), (max-height: 500px) {
  .cinematic .ending .chapter-hold {
    overflow-y: auto;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 70px;
  }
  .cinematic .ending-content,
  .cinematic .ending footer {
    flex-shrink: 0;
  }
  .cinematic .ending footer {
    position: static;
    width: 100%;
    margin-top: 22px;
  }
}
