@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500&family=IBM+Plex+Mono:wght@400&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --bg: #080908;
  --ink: #cccfc7;
  --muted: #838a7c;
  --line: #242822;
  --serif: 'Instrument Serif', Georgia, serif;
  --body: 'DM Sans', Arial, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 45px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.8 var(--body); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, video:focus-visible { outline: 1px solid #ccd6b8; outline-offset: 6px; }
::selection { background: #3c4a32; color: #e9eee1; }
.skip { position: fixed; left: 20px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px; z-index: 10; }
.skip:focus { top: 10px; }
header { max-width: 1440px; margin: auto; padding: 28px 5%; display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.wordmark { font: italic 30px/1 var(--serif); letter-spacing: -.035em; }
.wordmark span { font: 12px var(--mono); letter-spacing: 0; color: #68705f; margin-left: 9px; }
nav { display: flex; gap: 29px; font-size: 13px; color: #9aa190; }
nav a { transition: color .35s; white-space: nowrap; }
nav a:hover { color: #e7ecdf; }
nav { align-items: center; }
.social-mark { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 32px; }
.social-mark svg { width: 14px; height: 14px; }

/* Let the original face fill the room; the edges disappear into the page. */
.arrival {
  min-height: 780px;
  height: calc(100svh - 86px);
  max-height: 1060px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: clip;
  isolation: isolate;
}
.apparition {
  width: min(740px, 86vw);
  aspect-ratio: 4 / 3;
  flex: none;
  position: relative;
  margin: -72px 0 -128px;
  mask-image: radial-gradient(ellipse 49% 49% at 50% 47%, #000 20%, #000e 40%, #0008 62%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 49% 49% at 50% 47%, #000 20%, #000e 40%, #0008 62%, transparent 100%);
  animation: materialize 2.8s var(--ease) both;
}
.apparition-media {
  width: 100%; height: 100%; position: relative;
  transform: translate3d(var(--gaze-x, 0px), var(--gaze-y, 0px), 0);
  transition: transform 1.4s var(--ease);
}
.apparition video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.2) brightness(.62) contrast(1.16);
  opacity: .92;
  animation: suspended 14s ease-in-out infinite;
}
#greeting-video { opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.is-speaking #greeting-video { opacity: 1; }
.is-speaking .apparition video { filter: saturate(.28) brightness(.72) contrast(1.13); }
.arrival-copy { position: relative; z-index: 1; }
.whisper { font: 12px/1.6 var(--mono); color: var(--muted); letter-spacing: .04em; margin: 0 0 22px; }
.arrival .whisper { color: #8f9786; margin-bottom: 18px; animation-delay: .45s; }
.arrival h1 { font: 400 clamp(68px, 6.8vw, 98px)/.95 var(--serif); letter-spacing: -.035em; margin: 0 0 24px; color: #daddd3; }
.title-line { display: block; padding: 5px 22px 10px; overflow: hidden; }
.title-line + .title-line { margin-top: -8px; }
.title-line > * { display: block; animation: words-arrive 1.65s var(--ease) both; animation-delay: .6s; }
.title-line + .title-line > * { animation-delay: .82s; color: #adb5a2; font-weight: 400; }
.intro { font-size: 14px; line-height: 1.85; color: #8c9582; margin: 0 0 19px; animation-delay: 1s; }
.intro-enter { animation: arrive 1.5s var(--ease) both; }
.listen {
  display: inline-flex; align-items: center; gap: 15px; position: relative;
  background: none; border: 0; border-bottom: 1px solid #424a38;
  padding: 12px 0 13px; font-size: 13px; animation-delay: 1.15s;
  transition: color .4s, border-color .4s;
}
.listen::after { content: ''; height: 1px; background: #bbc9aa; position: absolute; left: 0; right: 0; bottom: -1px; transform: scaleX(0); transform-origin: left; transition: transform .65s var(--ease); }
.listen:hover { color: #e9f2de; }
.listen:hover::after, .listen[aria-pressed=true]::after { transform: scaleX(1); }
.duration { font: 11px var(--mono); color: #7e8a70; margin-left: 18px; }
.voice-mark { height: 15px; width: 19px; display: flex; align-items: center; justify-content: space-between; color: #9fae8c; }
.voice-mark i { display: block; width: 1px; height: 4px; background: currentColor; transform-origin: center; }
.voice-mark i:nth-child(2), .voice-mark i:nth-child(4) { height: 9px; }
.voice-mark i:nth-child(3) { height: 14px; }
.is-speaking .voice-mark i { animation: voice .75s ease-in-out infinite alternate; }
.is-speaking .voice-mark i:nth-child(2) { animation-delay: -.25s; }
.is-speaking .voice-mark i:nth-child(3) { animation-delay: -.5s; }
.is-speaking .voice-mark i:nth-child(4) { animation-delay: -.15s; }
.is-speaking .voice-mark i:nth-child(5) { animation-delay: -.4s; }
.greeting-status { font-size: 12px; color: #9cac8a; max-width: 300px; margin: 12px auto 0; }
.greeting-status:empty { display: none; }
.arrival-foot { position: absolute; left: 5%; right: 5%; bottom: 25px; display: flex; justify-content: space-between; align-items: center; font: 11px var(--mono); color: #79836e; }
.arrival-foot button { font: 11px var(--mono); color: #818c75; background: none; border: 0; padding: 10px 0; }
.arrival-foot button:hover { color: var(--ink); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; padding: 10px 0; }
.scroll-stroke { display: block; height: 25px; width: 1px; background: #293023; overflow: hidden; }
.scroll-stroke::after { content: ''; display: block; background: #a0ae8e; height: 13px; animation: descend 3s ease-in-out infinite; }

.story { max-width: 680px; margin: 0 auto; padding: 145px 30px 155px; }
.story h2 { font: 400 54px/1.13 var(--serif); letter-spacing: -.018em; margin: 0 0 42px; color: #ccd2c2; }
.story-copy { max-width: 550px; }
.story-copy p { margin: 0 0 25px; color: #a6ae9b; font-size: 17px; line-height: 1.85; }
.story-copy p.dim { color: #7e8972; }
.quiet-link { font-size: 13px; color: #9dac8d; border-bottom: 1px solid #434d39; display: inline-block; padding-bottom: 3px; transition: color .35s, border-color .35s; }
.quiet-link:hover { color: #dce9cd; border-color: #a4b690; }
.story > .quiet-link { margin-top: 13px; }
.community { max-width: 1120px; margin: 0 auto; padding: 0 40px 145px; }
.community-inner { border-top: 1px solid var(--line); padding-top: 54px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 90px; align-items: center; }
.community-copy .whisper { margin-bottom: 18px; }
.community h2 { font: 400 51px/1.1 var(--serif); letter-spacing: -.02em; margin: 0 0 26px; color: #ccd2c2; }
.community-copy > p:last-child { margin: 0; color: #a6ae9b; font-size: 16px; line-height: 1.85; }
.community-details { min-width: 0; }
.community-detail { border-bottom: 1px solid var(--line); padding: 22px 0; }
.detail-label { display: block; font: 11px/1.6 var(--mono); color: #7d8b70; margin-bottom: 12px; }
.community-social { display: flex; align-items: center; justify-content: space-between; gap: 18px; font: 400 25px/1.3 var(--serif); color: #c6d0bb; transition: color .35s; }
.community-social span { font: 18px var(--body); color: #8d9f7c; transition: transform .5s var(--ease); }
.community-social:hover { color: #e4efd9; }
.community-social:hover span { transform: translate(3px, -3px); }
.contract-value { font: 12px/1.8 var(--mono); color: #a1ad93; margin: 0; overflow-wrap: anywhere; }
.archive { max-width: 1120px; margin: auto; padding: 0 40px 125px; }
.archive-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; gap: 20px; }
.archive-heading .whisper { margin-bottom: 13px; }
.archive h2 { font: 400 49px/1.1 var(--serif); letter-spacing: -.02em; margin: 0; }
.download-all { margin-bottom: 4px; }
.listening-room { display: grid; grid-template-columns: 1.12fr 1fr; gap: 55px; }
.recording video { width: 100%; aspect-ratio: 4/3; display: block; background: #030402; object-fit: contain; filter: saturate(.6); }
.recording-caption { display: flex; align-items: baseline; gap: 20px; justify-content: space-between; margin-top: 20px; }
.recording h3 { font: 400 27px/1.2 var(--serif); margin: 0; }
.recording-caption span { font: 12px var(--mono); color: #758069; white-space: nowrap; }
.recording > p { font-size: 14px; color: #88977a; margin: 11px 0 0; }
.recording-links { display: flex; gap: 23px; margin-top: 16px; font-size: 12px; color: #acb99d; }
.recording-links > a { border-bottom: 1px solid #3c4831; transition: color .35s; }
.recording-links > a:hover { color: #e4efd9; }
#playback-message:empty { display: none; }
.recordings-list { border-top: 1px solid var(--line); }
.transmission-item { width: 100%; display: grid; grid-template-columns: 20px 1fr auto; gap: 16px; text-align: left; align-items: center; min-height: 62px; padding: 16px 0; background: none; border: 0; border-bottom: 1px solid var(--line); color: #8b977e; transition: color .4s, border-color .4s; }
.transmission-name { font-size: 14px; line-height: 1.5; transition: transform .6s var(--ease); }
.transmission-item:hover { color: #d4dfc8; border-bottom-color: #536045; }
.transmission-item:hover .transmission-name { transform: translateX(5px); }
.transmission-item[aria-pressed=true] { color: #dfe7d5; }
.transmission-num { font: 12px var(--mono); color: #657256; }
.transmission-item[aria-pressed=true] .transmission-num { font-size: 16px; color: #acbc98; }
.transmission-duration { font: 12px var(--mono); color: #778869; }
.ending { padding: 80px 25px 145px; text-align: center; }
.ending .whisper { color: #78876b; margin-bottom: 25px; }
blockquote { font: 400 clamp(43px, 4.4vw, 62px)/1.15 var(--serif); letter-spacing: -.02em; margin: 0 0 29px; color: #b9c5ad; }
blockquote em { color: #889c75; }
.ending .quiet-link { font: 12px var(--mono); color: #839570; }
footer { padding: 35px 5% 40px; max-width: 1360px; margin: auto; border-top: 1px solid #1d2517; }
footer > div:first-child { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 30px; }
footer .wordmark { font-size: 26px; color: #9caf86; }
footer > div > span { font: 12px var(--mono); color: #7a8d68; }
footer p { font-size: 12px; line-height: 1.8; color: #7c8f6e; margin: 0; }
.footer-notes { display: flex; flex-wrap: wrap; gap: 12px 25px; margin-top: 12px; font-size: 12px; color: #839773; }
.footer-notes a:hover { color: #c3d4b5; }

.reveal { transition: opacity 1.15s var(--ease), transform 1.15s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.reveal-pending { opacity: 0; transform: translateY(22px); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes materialize { from { opacity: 0; transform: scale(1.055); filter: blur(9px); } to { opacity: 1; transform: scale(1); filter: blur(0); } }
@keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes words-arrive { from { opacity: 0; transform: translateY(105%) rotate(2deg); filter: blur(5px); } to { opacity: 1; transform: translateY(0) rotate(0); filter: blur(0); } }
@keyframes suspended { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-7px) scale(1.014); } }
@keyframes descend { 0% { transform: translateY(-14px); opacity: 0; } 25% { opacity: 1; } 75% { opacity: .7; } 100% { transform: translateY(27px); opacity: 0; } }
@keyframes voice { from { transform: scaleY(.4); } to { transform: scaleY(1.15); } }

@media (max-width: 800px) {
  .arrival { min-height: 760px; max-height: 960px; }
  .apparition { width: min(700px, 112vw); margin-top: -50px; margin-bottom: -105px; }
  .arrival h1 { font-size: 83px; }
  .story { padding-top: 110px; padding-bottom: 110px; }
  .community { padding: 0 30px 110px; }
  .community-inner { gap: 40px; grid-template-columns: 1.2fr 1fr; }
  .community h2 { font-size: 46px; }
  .listening-room { gap: 30px; }
  .archive { padding-inline: 30px; }
  .transmission-item { gap: 12px; }
  .transmission-name { font-size: 13px; }
  .recording-caption { display: block; }
  .recording-caption span { display: block; margin-top: 8px; }
}
@media (max-width: 600px) {
  header { padding: 25px 7%; }
  .wordmark { font-size: 29px; }
  nav { gap: 18px; font-size: 12px; }
  .arrival { min-height: 700px; height: calc(100svh - 79px); max-height: 850px; }
  .apparition { width: min(570px, 138vw); margin-top: -50px; margin-bottom: -93px; }
  .arrival h1 { font-size: clamp(65px, 16.8vw, 85px); margin-bottom: 20px; }
  .arrival .whisper { font-size: 11px; margin-bottom: 15px; }
  .intro { font-size: 13px; margin-bottom: 17px; }
  .listen { font-size: 13px; gap: 12px; }
  .duration { margin-left: 10px; }
  .arrival-foot { left: 7%; right: 7%; bottom: 15px; font-size: 10px; }
  .arrival-foot button { font-size: 10px; }
  .story { padding: 95px 8% 100px; }
  .story h2 { font-size: 47px; margin-bottom: 30px; }
  .story-copy p { font-size: 16px; line-height: 1.85; }
  .community { padding: 0 8% 100px; }
  .community-inner { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; }
  .community h2 { font-size: 44px; margin-bottom: 24px; }
  .community-copy > p:last-child { font-size: 15px; }
  .archive { padding: 0 8% 55px; }
  .archive-heading { align-items: flex-start; gap: 18px; margin-bottom: 29px; flex-wrap: wrap; }
  .archive-heading .whisper { font-size: 12px; }
  .archive h2 { font-size: 44px; }
  .download-all { font-size: 12px; }
  .listening-room { grid-template-columns: 1fr; gap: 35px; }
  .recording-caption { display: flex; gap: 12px; }
  .recording h3 { font-size: 27px; }
  .recording-caption span { margin: 0; }
  .transmission-item { min-height: 61px; }
  .transmission-name { font-size: 14px; }
  .ending { padding: 83px 8% 100px; }
  blockquote { font-size: 44px; }
  footer { padding: 30px 8%; }
  footer > div:first-child { align-items: flex-start; flex-wrap: wrap; gap: 17px; margin-bottom: 22px; }
  .footer-notes { flex-direction: column; gap: 10px; }
  footer > div > span { font-size: 12px; }
}
@media (max-width: 380px) {
  header { padding-inline: 6%; }
  .wordmark { font-size: 27px; white-space: nowrap; }
  .wordmark span { font-size: 10px; margin-left: 6px; }
  nav { gap: 12px; font-size: 11px; }
  .social-mark { min-width: 20px; }
  .social-mark svg { width: 12px; height: 12px; }
  .arrival { min-height: 660px; }
  .arrival h1 { font-size: 62px; }
}
.motion-paused { scroll-behavior: auto; }
.motion-paused *, .motion-paused *::after { animation: none !important; transition: none !important; }
.motion-paused .reveal-pending { opacity: 1; transform: none; }
.motion-paused .apparition-media { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::after { animation: none !important; transition: none !important; }
  .reveal-pending { opacity: 1; transform: none; }
  .apparition-media { transform: none; }
}
