@font-face {
  font-family: Fraunces;
  src: url(./assets/fraunces-400-latin.woff2) format('woff2');
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url(./assets/inter-var-latin.woff2) format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --paper: #f4eee2;
  --silver: #b6c4cf;
  --gold: #eac98b;
  --edge: clamp(22px, 5.8vw, 112px);
  --serif: Fraunces, Georgia, serif;
  --body: Inter, Arial, sans-serif;
  background: #080d15;
  color: var(--paper);
  font: 400 16px/1.5 var(--body);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
h1,
h2,
p {
  margin: 0;
}
a {
  color: inherit;
}
em {
  font-weight: 400;
  color: var(--gold);
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.skip {
  position: fixed;
  top: -150px;
  left: var(--edge);
  z-index: 25;
  background: #15171c;
  padding: 1rem;
}
.skip:focus {
  top: 10px;
}
.mast {
  position: absolute;
  z-index: 15;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(17px, env(safe-area-inset-top)) max(var(--edge), env(safe-area-inset-right)) 0
    max(var(--edge), env(safe-area-inset-left));
  pointer-events: none;
}
.mast a {
  pointer-events: auto;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.brand {
  font: 400 clamp(17px, 1.65vw, 26px)/1.15 var(--serif);
  letter-spacing: -0.045em;
}
.brand svg {
  width: 19px;
  height: 27px;
  flex: none;
  color: var(--gold);
  overflow: visible;
}
.shortcut {
  font-size: 0.79rem;
}
.shortcut span {
  color: var(--gold);
  font-size: 1.1rem;
}
h1,
h2 {
  font: 400 clamp(48px, 6.5vw, 125px)/0.99 var(--serif);
  letter-spacing: -0.057em;
  text-wrap: balance;
}
.kicker,
.flight-foot {
  font: 500 0.64rem/1.55 var(--body);
  text-transform: uppercase;
  letter-spacing: 0.17em;
}
.kicker {
  color: var(--gold);
  margin: 0 0 clamp(13px, 2.2vh, 26px);
}
.kicker i,
.hint i {
  display: inline-block;
  vertical-align: middle;
  height: 1px;
  width: 1.35em;
  background: currentColor;
  opacity: 0.55;
  margin: 0 0.6em;
}
.voice,
.invite-info,
.invite-message {
  max-width: 37ch;
  color: #d0d8de;
  font-size: clamp(15px, 1.15vw, 20px);
  line-height: 1.57;
  text-wrap: pretty;
}
.voice {
  margin: clamp(14px, 2.5vh, 30px) 0 0;
}
.voyage {
  position: relative;
  isolation: isolate;
}
.stage {
  position: relative;
  isolation: isolate;
}
.scenery,
.turn,
.travel,
.flight-foot,
.track-meter {
  display: none;
}
.beat,
.invitation {
  padding: clamp(32px, 6vw, 110px) var(--edge);
}
.opening {
  padding-top: 140px;
}
.beat h1,
.beat h2 {
  max-width: 11ch;
}
.payoff h2 {
  max-width: 19ch;
  font-size: clamp(38px, 4.3vw, 86px);
  line-height: 1.06;
}
.invitation {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  background:
    linear-gradient(90deg, #080d15f7, #080d15d6 43%, #080d153d),
    url(./assets/lake-panorama.webp) center / cover;
}
.invite-inner {
  max-width: 40rem;
}
.invite-message {
  font: 400 clamp(22px, 2.15vw, 36px)/1.25 var(--serif);
  letter-spacing: -0.025em;
  color: var(--paper);
  margin: 0.7em 0 0.5em;
}
.invite-info {
  max-width: 38ch;
}
#app-handoff {
  margin-top: clamp(15px, 2.8vh, 30px);
}
#app-handoff .handoff-actions {
  gap: clamp(1rem, 2.5vw, 2.35rem);
}
/* Phone membership CTA from design/paywall-hospitality, 5e33eaa. */
#app-handoff .launch-link {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(100%, 17rem);
  min-height: 60px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #f3cc7f;
  color: #141413;
  box-shadow:
    0 0 0 1px rgb(255 236 196 / 70%),
    0 0 18px rgb(243 204 127 / 32%);
  font: 600 1.1875rem/1.2 var(--serif);
  letter-spacing: 0.005em;
  transition:
    transform 0.24s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.2s cubic-bezier(0.23, 1, 0.32, 1),
    background-color 0.14s linear;
  -webkit-tap-highlight-color: transparent;
}
#app-handoff .launch-link:hover {
  background: #f3cc7f;
}
#app-handoff .launch-link:focus-visible {
  outline: 2px solid #e4bb74;
  outline-offset: 3px;
}
#app-handoff .launch-link:active {
  background: #e8be6e;
  box-shadow:
    0 0 0 1px rgb(255 236 196 / 85%),
    0 0 12px rgb(243 204 127 / 40%);
  transform: scale(0.985);
  transition-duration: 0.09s, 0.2s, 0.14s;
}
@media (prefers-reduced-motion: no-preference) {
  #app-handoff .launch-link.lit::after {
    content: '';
    position: absolute;
    top: -20%;
    bottom: -20%;
    left: 0;
    width: 46%;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(
      100deg,
      transparent,
      rgba(255, 250, 236, 0.1) 30%,
      rgba(255, 252, 242, 0.36) 50%,
      rgba(255, 250, 236, 0.1) 70%,
      transparent
    );
    animation: reading-sheen 2.2s cubic-bezier(0.37, 0, 0.63, 1) 0.9s 1 both;
  }
  @keyframes reading-sheen {
    from {
      transform: translateX(-140%) skewX(-18deg);
    }
    to {
      transform: translateX(330%) skewX(-18deg);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  #app-handoff .launch-link,
  #app-handoff .launch-link:active {
    transform: none;
    transition:
      background-color 0.14s linear,
      box-shadow 0.2s linear;
  }
}
@media (max-width: 700px) {
  #app-handoff .launch-link {
    width: 100%;
  }
}
#app-handoff .handoff-scan img {
  width: 154px;
  height: 154px;
  image-rendering: auto;
}
#app-handoff .handoff-scan {
  gap: 0.6rem;
}
#app-handoff .handoff-scan figcaption {
  font: 400 0.72rem/1.4 var(--body);
  color: var(--silver);
  max-width: 11ch;
}
footer {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem var(--edge);
  background: #090d12;
  color: #bcc5c9;
  font-size: 0.875rem;
}
footer > span {
  font: 400 17px var(--serif);
  white-space: nowrap;
}
.site-notices {
  width: min(100%, 62ch);
  overflow-wrap: anywhere;
}
.site-notices nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
}
.site-notices a,
.site-notices summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.site-notices a {
  text-underline-offset: 0.2em;
}
.site-notices summary {
  display: list-item;
  width: fit-content;
  line-height: 1.5;
  padding-block: 0.75rem;
}
.site-notices details,
.site-notices .sky-credits {
  margin-top: 0.4rem;
}
footer summary {
  cursor: pointer;
}
footer p {
  margin-top: 0.75rem;
}
.live .stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  margin-bottom: -100vh;
  margin-bottom: -100svh;
  overflow: hidden;
  background: #080d15;
}
.live .scenery,
.live .turn,
.live .script,
.live .scenery > * {
  display: block;
  position: absolute;
  inset: 0;
}
.live .scenery {
  z-index: 0;
  pointer-events: none;
}
.deep-sky {
  background: radial-gradient(
    ellipse at 71% 35%,
    #1c2a39 0%,
    #111c2a 31%,
    #0b1420 56%,
    #080e16 80%,
    #080c13 100%
  );
}
.shore {
  visibility: hidden;
}
.shore.media-ready {
  visibility: visible;
}
.lake-ground,
.near-pine {
  position: absolute;
  left: var(--art-left);
  top: var(--art-top);
  width: var(--art-width);
  height: var(--art-height);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.lake-ground {
  transform-origin: 100% 58%;
  transform: translate3d(0, var(--ground-offset, 120vh), 0) scale(var(--land-scale, 1));
}
.media-ready[data-shot='portrait'] .lake-ground {
  background-image: url(./assets/lake-terrain-portrait.webp);
}
.media-ready[data-shot='wide'] .lake-ground {
  background-image: url(./assets/lake-terrain-wide.webp);
}
.near-pine {
  display: none;
}
.media-ready[data-shot='wide'] .near-pine {
  display: block;
  width: calc(var(--art-width) * 0.3125);
  height: calc(var(--art-height) * 0.83333333);
  background-image: url(./assets/lake-pine-wide.webp);
  transform: translate3d(var(--pine-x, -110%), var(--pine-y, -10%), 0);
}
.shore video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 31%;
  opacity: 0;
}
.shore video.playing {
  opacity: 1;
}
.live .chart-host {
  inset: auto;
  left: var(--cx);
  top: var(--cy);
  width: var(--diam);
  height: var(--diam);
  transform: translate(-50%, -50%);
  opacity: 0;
}
.live .orbit-canvas,
.live .soft-canvas {
  width: 100%;
  height: 100%;
  pointer-events: none;
  visibility: hidden;
}
.live .body-plate {
  inset: 0 auto auto 0;
  width: var(--d);
  height: var(--d);
  max-width: none;
  transform: translate(calc(var(--x) - 50%), calc(var(--y) - 50%));
  opacity: var(--a, 0);
  pointer-events: none;
}
.live .turn {
  z-index: 1;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
}
.live .turn.dragging {
  cursor: grabbing;
}
.live .turn:focus-visible {
  outline-offset: -7px;
}
.live .script {
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 10, 17, 0.4), transparent 54%);
}
.live .beat {
  position: absolute;
  inset: 50% auto auto var(--edge);
  width: min(38vw, 800px);
  transform: translateY(calc(-44% + var(--lift, 0px)));
  padding: 0;
  opacity: 0;
  visibility: hidden;
  will-change: auto;
}
.live .beat.active {
  visibility: visible;
  opacity: var(--opacity, 1);
}
.live h1 {
  font-size: clamp(65px, 7.5vw, 145px);
}
.live .payoff {
  width: 49vw;
}
@media (min-width: 701px) and (min-height: 601px) {
  .live .payoff {
    top: 40%;
  }
  .live .payoff .voice {
    position: relative;
    isolation: isolate;
  }
  .live .payoff .voice::before {
    content: '';
    position: absolute;
    inset: -55% -10%;
    z-index: -1;
    background: radial-gradient(ellipse at center, #080e16e8 30%, #080e16c9 56%, transparent 76%);
  }
}
.live .payoff h2 {
  max-width: 17ch;
}
.live .payoff .voice {
  max-width: 36ch;
  color: #f0eee5;
  text-shadow: 0 1px 3px #080d15;
}
.live .payoff .kicker {
  text-shadow: 0 1px 3px #080d15, 0 0 6px #080d15;
}
.live .flight-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  position: absolute;
  z-index: 2;
  bottom: max(27px, env(safe-area-inset-bottom));
  left: var(--edge);
  right: var(--edge);
  pointer-events: none;
  color: #becbd1;
}
.hint b {
  font-weight: 400;
  color: var(--gold);
  font-size: 0.95rem;
}
.coordinate {
  font-variant-numeric: tabular-nums;
  color: #d2b98c;
}
.live .track-meter {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #ffffff13;
}
.track-meter i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform-origin: 0 50%;
  transform: scaleX(0);
}
.live .travel {
  display: block;
  position: relative;
  height: 1100vh;
  height: 1100svh;
  margin-bottom: 55vh;
  margin-bottom: 55svh;
  pointer-events: none;
}
#descent {
  position: absolute;
  top: 74.7%;
}
#birth-sky {
  position: absolute;
  top: 12%;
}
.live .invitation {
  background: linear-gradient(90deg, #080d15ec 3%, #080d15d9 28%, #080d1566 60%, transparent 93%);
  pointer-events: none;
}
.live .invite-inner {
  pointer-events: auto;
}
@media (max-width: 700px) {
  :root {
    --edge: clamp(21px, 6.4vw, 40px);
  }
  .mast {
    padding-top: max(12px, env(safe-area-inset-top));
  }
  .brand svg {
    width: 15px;
    height: 23px;
  }
  .live .beat,
  .live .payoff {
    inset: auto var(--edge) max(12%, 65px);
    width: auto;
    transform: translateY(var(--lift, 0px));
  }
  .live h1 {
    font-size: clamp(50px, 13vw, 90px);
  }
  .live .beat h2 {
    font-size: clamp(40px, 11vw, 64px);
    max-width: 13ch;
  }
  .live .payoff h2 {
    font-size: clamp(31px, 8.4vw, 53px);
    max-width: 20ch;
  }
  @media (orientation: portrait) {
    .live .payoff {
      top: max(18svh, calc(env(safe-area-inset-top) + 3rem));
      bottom: auto;
    }
    .live .payoff .voice {
      position: absolute;
      top: 43svh;
      left: 0;
      width: 26ch;
      max-width: 69%;
      margin: 0;
      color: #e1e5e5;
    }
  }
  .live .voice {
    max-width: 38ch;
    font-size: clamp(14px, 3.9vw, 18px);
    line-height: 1.45;
    margin-top: 12px;
  }
  .kicker {
    margin-bottom: 10px;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
  }
  .live .script {
    background: linear-gradient(0deg, #070d15db, rgba(7, 13, 21, 0.57) 26%, transparent 53%);
  }
  .live .flight-foot {
    bottom: max(16px, env(safe-area-inset-bottom));
    font-size: 0.55rem;
    letter-spacing: 0.075em;
    gap: 8px;
  }
  .coordinate {
    text-align: right;
    max-width: 47%;
  }
  .hint i {
    width: 0.55em;
    margin: 0 0.35em;
  }
  .live .invitation {
    align-items: flex-end;
    padding-top: 25svh;
    padding-bottom: max(8svh, env(safe-area-inset-bottom));
    background: linear-gradient(0deg, #080d15 0%, #080d15ea 25%, #080d15a8 53%, transparent 86%);
  }
  .invite-inner {
    width: 100%;
  }
  .invitation h2 {
    font-size: clamp(57px, 16vw, 80px);
  }
  .invite-info {
    font-size: 0.96rem;
  }
  footer {
    align-items: flex-start;
  }
}
@media (max-width: 355px) and (orientation: portrait) {
  .live .payoff h2 {
    font-size: clamp(26px, 8.4vw, 30px);
  }
  .live .payoff .kicker {
    font-size: 0.56rem;
    letter-spacing: .06em;
  }
}
@media (max-height: 600px) and (min-aspect-ratio: 1/1) {
  .mast {
    padding-top: 5px;
  }
  .live .beat {
    inset: 49% auto auto var(--edge);
  }
  .live h1,
  .live .beat h2 {
    font-size: clamp(29px, 7.8vh, 49px);
  }
  .live .voice {
    font-size: clamp(12px, 2.6vh, 15px);
    line-height: 1.35;
    margin-top: 7px;
  }
  .live .payoff h2 {
    font-size: clamp(27px, 6.1vh, 42px);
  }
  .kicker {
    margin-bottom: 6px;
  }
  .live .flight-foot {
    bottom: 9px;
  }
  .invite-inner {
    margin-block: 1rem;
  }
  .live .invitation {
    padding-block: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .live .turn {
    cursor: default;
  }
}

/* The lake holds the reading and the invitation in the same scene. */
.live .invitation,
.invitation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.71fr);
  grid-template-areas: 'offer gist';
  align-items: center;
  gap: 8vw;
}
.invite-inner {
  grid-area: offer;
  scroll-margin-block-start: 8vh;
}
.reading-leaf {
  grid-area: gist;
  pointer-events: auto;
  align-self: center;
  justify-self: center;
  width: min(100%, 355px);
  padding: clamp(21px, 2.5vw, 40px);
  border-block: 1px solid #d6c09973;
  background: linear-gradient(120deg, #0b1621ed, #101c26e8);
  box-shadow: 0 12px 40px #10151928;
}
.reading-leaf .kicker {
  margin-bottom: 5px;
}
.reading-leaf h3 {
  margin: 0;
  color: var(--paper);
  font: 400 clamp(26px, 2.5vw, 41px)/1.12 var(--serif);
  letter-spacing: -0.045em;
}
.reading-leaf dl {
  margin: 1.1em 0 0.6em;
}
.reading-leaf dt {
  color: var(--gold);
  font: 500 0.66rem/1.4 var(--body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.reading-leaf dd {
  margin: 0.25em 0 1.05em;
  font: 400 clamp(16px, 1.2vw, 20px)/1.38 var(--serif);
  color: #ece5db;
}
.full-reading {
  font-size: 0.84rem;
  color: #d4dce0;
}
.full-reading summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  cursor: pointer;
  list-style: none;
  color: var(--paper);
}
.full-reading summary:after {
  content: '+';
  color: var(--gold);
  font-size: 1.2em;
}
.full-reading[open] summary:after {
  content: '−';
}
.full-reading summary::-webkit-details-marker {
  display: none;
}
.full-reading p {
  margin: 0.75em 0;
  text-wrap: pretty;
}
.full-reading p:last-child {
  margin-bottom: 0;
}
.live .beat:not(.active) {
  visibility: visible;
  opacity: 0;
}
@media (max-width: 700px) {
  .live .invitation,
  .invitation {
    grid-template-columns: 1fr;
    grid-template-areas: 'gist' 'offer';
    align-content: center;
    gap: clamp(28px, 6vh, 55px);
    padding-top: 18svh;
    padding-bottom: 8svh;
  }
  .reading-leaf {
    justify-self: start;
    width: min(100%, 390px);
    padding: 16px 21px;
  }
  .reading-leaf dl {
    margin: 0.75em 0 0.3em;
  }
  .reading-leaf dd {
    margin-bottom: 0.6em;
  }
  .full-reading summary {
    min-height: 38px;
  }
}
.shore .lake-loop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 31%;
}
.shore .lake-loop[hidden] {
  display: none;
}
/* Each moving strip is positioned in the source painting's coordinate system. */
.shore[data-shot='portrait'] :is(video, .lake-loop) {
  position: absolute;
  inset: 48.958333% 0 auto;
  width: 100%;
  height: 36.458333%;
  object-fit: fill;
}
.shore[data-shot='wide'] :is(video, .lake-loop) {
  position: absolute;
  inset: 68.855219% 0 auto;
  width: 100%;
  height: 24.242424%;
  object-fit: fill;
  mask-image: linear-gradient(transparent, #000 2.5%, #000 97.5%, transparent);
}
@media (orientation: portrait) {
  .invitation {
    background-image: linear-gradient(0deg, #080d15f7, #080d1580), url(./assets/lake-story.webp);
  }
}
