@font-face {
  font-family: "Azeret Mono";
  src: url("./assets/azeret-mono.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #04090e;
  --white: #eef2ee;
  --soft: #9eafb5;
  --edge: clamp(1.5rem, 4.1vw, 4.75rem);
  font-family: "Azeret Mono", monospace;
  background: var(--ink);
  color: var(--white);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
::selection { background: #b9e9f0; color: var(--ink); }
.oasis { position: relative; min-height: 42rem; height: 100svh; isolation: isolate; overflow: hidden; }
.world, .world canvas, .world-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.world { z-index: -1; background: var(--ink); }
.source-video { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
#world-canvas { z-index: 0; opacity: 0; transition: opacity .6s; image-rendering: pixelated; }
#world-canvas.ready { opacity: 1; }
.world-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4,9,14,.4), transparent 58%),
    linear-gradient(0deg, rgba(4,9,14,.76), rgba(4,9,14,.4) 26%, transparent 61%),
    radial-gradient(ellipse at 4% 3%, rgba(4,9,14,.8), transparent 34%);
  pointer-events: none;
}
.world::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,.11) 3px, rgba(0,0,0,.11) 4px);
  opacity: .4;
}
.masthead { position: absolute; top: 2.5rem; left: var(--edge); right: var(--edge); display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: .85rem; color: var(--white); text-decoration: none; }
.brand-mark { width: 2.7rem; height: 2.7rem; flex: none; }
.brand-name { display: grid; font-family: "Azeret Mono", monospace; font-size: 1.75rem; font-weight: 400; line-height: 1.05; letter-spacing: -.065em; }
.hero-copy { position: absolute; left: var(--edge); right: var(--edge); bottom: clamp(7.5rem, 16vh, 11rem); }
h1 { margin: 0; max-width: 68rem; font-size: clamp(2.65rem, 4.25vw, 5rem); font-weight: 400; line-height: 1.17; letter-spacing: -.065em; text-wrap: balance; overflow-wrap: break-word; text-shadow: 0 2px 12px #04090e, 0 0 28px #04090e; }
.edge { position: absolute; bottom: 2rem; left: var(--edge); right: var(--edge); display: flex; justify-content: space-between; align-items: center; color: var(--soft); }
.footage-credit { font-size: .75rem; opacity: .45; }
.footage-credit a { display: inline-block; padding: .75rem 0; color: inherit; text-decoration: none; }
.footage-credit a:hover { opacity: 1; color: var(--white); }
.motion-control { min-height: 2.75rem; padding: .4rem 0 .4rem .8rem; display: inline-flex; align-items: center; gap: .9rem; border: 0; background: transparent; color: #acbdc3; cursor: pointer; }
.motion-label { font-size: .75rem; opacity: .75; }
.motion-symbol { display: flex; align-items: center; gap: 3px; width: 1.2rem; height: 1.2rem; }
.motion-symbol span { width: 2px; height: 8px; background: currentColor; }
.motion-symbol span:nth-child(2) { height: 15px; }
.motion-symbol span:nth-child(3) { height: 11px; }
.motion-control[data-paused="true"] .motion-symbol span { height: 2px; }
.motion-control:hover { color: white; }
:focus-visible { outline: 2px solid #b9e9f0; outline-offset: 7px; }
@media (min-width: 1100px) {
  .brand-name { font-size: 1.875rem; }
  .brand-mark { width: 3rem; height: 3rem; }
}
@media (max-width: 700px) {
  .oasis { min-height: 36rem; }
  .world-shade { background: linear-gradient(0deg, rgba(4,9,14,.9), rgba(4,9,14,.28) 38%, transparent 66%), radial-gradient(ellipse at 5% 2%, rgba(4,9,14,.88), transparent 40%); }
  .masthead { top: 1.8rem; }
  .brand-name { font-size: 1.625rem; }
  .hero-copy { bottom: 8rem; }
  h1 { max-width: 33rem; font-size: clamp(2rem, 6.4vw, 3rem); line-height: 1.2; letter-spacing: -.065em; text-wrap: pretty; }
  .desktop-break { display: none; }
  .edge { bottom: 1.5rem; }
  .footage-credit { font-size: .75rem; }
  .motion-label { display: none; }
}
@media (max-width: 370px) {
  h1 { font-size: 1.82rem; }
  .hero-copy { bottom: 7rem; }
}
@media (max-height: 600px) and (min-width: 701px) {
  .oasis { min-height: 30rem; }
  .masthead { top: 1.6rem; }
  .hero-copy { bottom: 6.5rem; }
  h1 { font-size: clamp(2.1rem, 4.1vw, 3.8rem); }
  .edge { bottom: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  #world-canvas { transition: none; }
}
