/* Wolfcomet — Horizon. A night landscape: sky, a comet on its orbit, the planet's limb, the ground. */

:root {
  --text: #ECEEF6;
  --muted: #A3A8C3;
  --faint: #8A90AE;
  --accent: #97ABFF;
  --star: #CFE0FF;
  --label: #B9C5FF;
  --hair: rgba(207, 224, 255, .11);
  --gutter: 16px;
  --maxw: 1280px;
  --indent-x: .55em;   /* the one step the type staircases share */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

/* the page opens on the zenith and ends on the ground: both are this deep night,
   so an overscroll on a phone never shows a lighter strip */
html {
  background: #0A0B16;
  color: var(--text);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  position: relative;
  overflow-x: clip;
  background: #0A0B16;
  font-family: var(--wc-font-body);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p { margin: 0; }
img, svg, canvas { display: block; }
a { color: inherit; }

::selection { background: rgba(151, 171, 255, .32); color: #fff; }

:focus-visible {
  outline: 2px solid var(--star);
  outline-offset: 4px;
}

.nowrap { white-space: nowrap; }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

/* ---------- shared type ---------- */

.eyebrow {
  font: 500 .75rem/1.2 var(--wc-font-a);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--label);
}

/* Silver ink: the logo's own gradient, white above, blue-silver at the baseline. */
.ink {
  background: linear-gradient(180deg, #FFFFFF 24%, #E6EBF8 50%, #B4BFE0 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

@media (forced-colors: active) {
  .ink { background: none; color: CanvasText; }
}

/* ---------- links ---------- */

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(207, 224, 255, .16);
  background: rgba(18, 20, 42, .42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text);
  font: 500 .9375rem/1 var(--wc-font-a);
  letter-spacing: .02em;
  text-decoration: none;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}

.pill-link .arrow {
  width: 16px;
  height: 16px;
  color: var(--star);
  transition: transform .3s var(--ease);
}

.pill-link:hover {
  border-color: rgba(207, 224, 255, .34);
  background: rgba(26, 29, 54, .62);
}

.pill-link:hover .arrow { transform: translateX(3px); }

.pill-link--lg {
  min-height: 48px;
  padding: 0 20px 0 24px;
  font-size: 1rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font: 500 .9375rem/1 var(--wc-font-a);
  letter-spacing: .02em;
  text-decoration: underline;
  text-decoration-color: rgba(207, 224, 255, 0);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: text-decoration-color .3s var(--ease);
}

.text-link:hover { text-decoration-color: rgba(207, 224, 255, .6); }

/* ---------- header ---------- */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding-top: max(16px, env(safe-area-inset-top));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-height: 44px;
  border-radius: 8px;
}

.brand img { height: 40px; width: auto; }

/* ---------- hero ---------- */

.hero {
  /* scene geometry — phones first */
  --sx: 80%;          /* the four-point star */
  --sy: 21%;
  --R: 175vw;         /* the comet's orbit */
  --tl: 17vw;         /* half the tail */
  --phi: 11.13deg;    /* tail length / orbit radius */
  --o0x: 0%;          /* where the orbit line starts to show */
  --a0: -33deg;       /* comet path, start and end */
  --a1: -2.5deg;
  --a-still: -13deg;  /* where it rests when motion is off */
  --hx: 60%;          /* the planet's apex */
  --hy: 86%;
  --pr: 135vw;        /* planet radius */
  --g: 84px;          /* atmosphere depth */
  --mw: 380px;        /* atmosphere falloff ellipse */
  --mh: 210px;
  --bw: 360px;        /* bloom on the limb */
  --bh: 110px;
  --star-size: 24px;
  --h1: clamp(2.6rem, 13.4vw, 3.5rem);
  --indent: 0em;

  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 132px;
  padding-bottom: 22vh;
  padding-bottom: 22svh;
}

.sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(70% 42% at var(--hx) 100%, rgba(141, 136, 250, .15), rgba(141, 136, 250, 0) 72%),
    radial-gradient(46% 34% at var(--sx) var(--sy), rgba(151, 171, 255, .085), rgba(151, 171, 255, 0) 72%),
    radial-gradient(55% 40% at 12% 8%, rgba(141, 136, 250, .05), rgba(141, 136, 250, 0) 70%),
    linear-gradient(180deg, #05060D 0%, #080914 34%, #0B0D1E 68%, #0E1126 84%, #0A0B17 100%);
}

.stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .8s ease-out;
}

.stars.is-drawn { opacity: 1; }

/* a handful of stars that breathe */
.twinkles i {
  position: absolute;
  width: 2px;
  height: 2px;
  margin: -1px 0 0 -1px;
  border-radius: 50%;
  background: #F4F7FF;
  box-shadow: 0 0 4px 1px rgba(207, 224, 255, .55), 0 0 12px 3px rgba(151, 171, 255, .18);
  opacity: .85;
}

.twinkles i:nth-child(1) { left: 13%; top: 17%; }
.twinkles i:nth-child(2) { left: 46%; top: 13%; }
.twinkles i:nth-child(3) { left: 57%; top: 15%; width: 1.5px; height: 1.5px; }
.twinkles i:nth-child(4) { left: 91%; top: 37%; }
.twinkles i:nth-child(5) { left: 67%; top: 45%; width: 1.5px; height: 1.5px; }
.twinkles i:nth-child(6) { left: 96%; top: 57%; }

/* the orbit: a hairline on the circle whose top is the star, drawn as a gradient ring on a
   viewport-sized box (a real element that size would be thousands of pixels wide) */
.orbit {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle calc(var(--R) + 2px) at var(--sx) calc(var(--sy) + var(--R)),
    rgba(214, 226, 255, 0) calc(var(--R) - .75px),
    rgba(214, 226, 255, .5) var(--R),
    rgba(214, 226, 255, 0) calc(var(--R) + .75px));
  -webkit-mask-image: linear-gradient(90deg, transparent var(--o0x), rgba(0, 0, 0, .22) calc((var(--o0x) + var(--sx)) / 2), #000 calc(var(--sx) - 2px), transparent var(--sx));
  mask-image: linear-gradient(90deg, transparent var(--o0x), rgba(0, 0, 0, .22) calc((var(--o0x) + var(--sx)) / 2), #000 calc(var(--sx) - 2px), transparent var(--sx));
}

/* the four-point star, an echo of the one in the logo */
.north-star {
  position: absolute;
  left: var(--sx);
  top: var(--sy);
  width: 0;
  height: 0;
}

.north-star svg {
  position: absolute;
  width: var(--star-size);
  height: var(--star-size);
  left: calc(var(--star-size) / -2);
  top: calc(var(--star-size) / -2);
}

.north-star::before,
.north-star::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.north-star::before {
  width: 150px;
  height: 150px;
  left: -75px;
  top: -75px;
  background: radial-gradient(closest-side, rgba(220, 230, 255, .5), rgba(151, 171, 255, .16) 32%, rgba(141, 136, 250, .05) 62%, rgba(141, 136, 250, 0));
}

.north-star::after {
  width: 560px;
  height: 560px;
  left: -280px;
  top: -280px;
  background: radial-gradient(closest-side, rgba(151, 171, 255, .07), rgba(141, 136, 250, .025) 50%, rgba(141, 136, 250, 0));
}

/* the comet: an arm from the orbit's centre, rotated; the tail is two chords of the arc */
.comet {
  position: absolute;
  left: var(--sx);
  top: calc(var(--sy) + var(--R));
  width: 0;
  height: 0;
}

.comet-arm {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  transform: rotate(var(--a-still)) translateY(calc(-1 * var(--R)));
}

.comet-head {
  position: absolute;
  left: -2px;
  top: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow:
    0 0 3px 1px rgba(255, 255, 255, .9),
    0 0 12px 3px rgba(170, 186, 255, .5),
    0 0 32px 9px rgba(141, 136, 250, .17);
}

.comet-tail,
.comet-tail-end {
  position: absolute;
  height: 12px;
  transform-origin: 100% 50%;
}

.comet-tail {
  right: 0;
  top: -6px;
  width: var(--tl);
  transform: rotate(calc(var(--phi) * -.25));
}

/* the far half overlaps the near one by a pixel so the bend never opens a seam */
.comet-tail-end {
  right: calc(100% - 1px);
  top: 0;
  width: calc(100% + 1px);
  transform: rotate(calc(var(--phi) * -.5));
}

.comet-tail::before,
.comet-tail-end::before,
.comet-tail::after,
.comet-tail-end::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}

/* core */
.comet-tail::before,
.comet-tail-end::before {
  top: 4.5px;
  height: 3px;
}

/* brightness falls as (1 - d/L)^1.6 along the whole tail, so the bend has no knee */
.comet-tail::before {
  background: linear-gradient(90deg, rgba(207, 224, 255, .32), rgba(226, 234, 255, .61) 50%, rgba(246, 248, 255, .96));
  clip-path: polygon(0 22.5%, 100% 0, 100% 100%, 0 77.5%);
}

.comet-tail-end::before {
  right: 1px;
  background: linear-gradient(90deg, rgba(207, 224, 255, 0), rgba(207, 224, 255, .105) 50%, rgba(207, 224, 255, .32));
  clip-path: polygon(0 45%, 100% 22.5%, 100% 77.5%, 0 55%);
}

/* glow around the core */
.comet-tail::after,
.comet-tail-end::after {
  top: 1px;
  height: 10px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 50%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 50%, transparent);
}

.comet-tail::after { background: linear-gradient(90deg, rgba(151, 171, 255, .12), rgba(160, 178, 255, .21) 50%, rgba(170, 186, 255, .32)); }
.comet-tail-end::after { right: 1px; background: linear-gradient(90deg, rgba(141, 136, 250, 0), rgba(146, 150, 252, .046) 50%, rgba(151, 171, 255, .12)); }

/* the planet: atmosphere, a bloom where the light sits, and the limb — every circle here is a
   gradient centred far below the box, so no layer is ever larger than the hero */
.atmosphere {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--hy) - var(--g));
  bottom: 0;
  background:
    radial-gradient(circle calc(var(--pr) + var(--g)) at var(--hx) calc(var(--pr) + var(--g)),
      rgba(220, 230, 255, .42) var(--pr),
      rgba(176, 192, 255, .16) calc(var(--pr) + 7px),
      rgba(176, 192, 255, 0) calc(var(--pr) + 20px)),
    radial-gradient(circle calc(var(--pr) + var(--g)) at var(--hx) calc(var(--pr) + var(--g)),
      rgba(176, 192, 255, .3) var(--pr),
      rgba(151, 171, 255, .14) calc(var(--pr) + var(--g) * .36),
      rgba(150, 128, 245, .055) calc(var(--pr) + var(--g) * .7),
      rgba(150, 128, 245, 0) calc(var(--pr) + var(--g)));
  -webkit-mask-image: radial-gradient(var(--mw) var(--mh) at var(--hx) 0, #000, rgba(0, 0, 0, .5) 52%, transparent);
  mask-image: radial-gradient(var(--mw) var(--mh) at var(--hx) 0, #000, rgba(0, 0, 0, .5) 52%, transparent);
}

.bloom {
  position: absolute;
  left: calc(var(--hx) - var(--bw) / 2);
  top: calc(var(--hy) - var(--bh) / 2);
  width: var(--bw);
  height: var(--bh);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(214, 226, 255, .22), rgba(151, 171, 255, .08) 46%, rgba(151, 171, 255, 0));
}

.planet {
  --c: circle calc(var(--pr) + 4px) at var(--hx) calc(var(--pr) + 4px);
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--hy) - 4px);
  bottom: 0;
  background:
    /* the lit limb */
    radial-gradient(var(--c), rgba(240, 244, 255, 0) calc(var(--pr) - 2.2px), rgba(240, 244, 255, .66) calc(var(--pr) - .9px), rgba(240, 244, 255, 0) calc(var(--pr) + .3px)),
    /* air seen edge-on, just inside it */
    radial-gradient(var(--c), rgba(151, 171, 255, 0) calc(var(--pr) - 30px), rgba(170, 186, 255, .09) calc(var(--pr) - 7px), rgba(207, 224, 255, .2) calc(var(--pr) - 1.5px), rgba(207, 224, 255, 0) var(--pr)),
    /* the night side */
    radial-gradient(var(--c), #080913 calc(var(--pr) - .6px), rgba(8, 9, 19, 0) calc(var(--pr) + .4px));
}

/* the hero ends in exactly the colour the night begins with: no seam */
.fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14%;
  background: linear-gradient(180deg, rgba(8, 9, 19, 0), #080913 94%);
}

.dusk {
  position: absolute;
  inset: 0;
  background: #04050A;
  opacity: 0;
}

/* hero copy */
.hero-copy { position: relative; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 calc(14px - .2em) 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(207, 224, 255, .16);
  background: rgba(18, 20, 42, .5);
  color: #DCE4FF;
  font: 500 .75rem/1 var(--wc-font-a);
  letter-spacing: .2em;
  text-transform: uppercase;
}

.badge-star {
  width: 12px;
  height: 12px;
  color: var(--star);
}

.display {
  margin-top: 28px;
  margin-left: -.06em;
  font-family: var(--wc-font-a);
  font-weight: 400;
  font-size: var(--h1);
  line-height: 1.02;
  letter-spacing: -.022em;
}

.display .line { display: inline; }

@media (min-width: 600px) {
  .display .line { display: block; }
  .display .line--2 { padding-left: var(--indent-x); }
}

.lede {
  margin-top: 28px;
  max-width: 33rem;
  color: var(--muted);
  font-size: clamp(1rem, .94rem + .3vw, 1.1875rem);
  line-height: 1.65;
  text-wrap: pretty;
}


/* ---------- the night between ---------- */

.night {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(42% 26% at 84% 16%, rgba(141, 136, 250, .055), rgba(141, 136, 250, 0) 70%),
    radial-gradient(50% 24% at 10% 62%, rgba(151, 171, 255, .035), rgba(151, 171, 255, 0) 70%),
    linear-gradient(180deg, #0A0B16 0%, #0A0B16 60%, #0B0C19 100%);
}

.night > .stars { z-index: -1; }

.manifesto {
  position: relative;
  padding: clamp(64px, 10vw, 136px) 0 clamp(88px, 11vw, 148px);
}

/* the same star, later in the night: a quiet rhyme beside the manifesto (wide screens) */

.stair {
  margin-top: 28px;
  margin-left: -.05em;
  font-family: var(--wc-font-a);
  font-weight: 300;
  font-size: clamp(1.75rem, .9rem + 4.4vw, 4.25rem);
  line-height: 1.14;
  letter-spacing: -.012em;
}

.stair-line { display: block; }
.stair-line:nth-child(2) { padding-left: var(--indent-x); }
.stair-line:nth-child(3) { padding-left: calc(2 * var(--indent-x)); }

/* the night deepens line by line: star-white, star, then the logo's silver base */
.stair-line:nth-child(2) .ink { background-image: linear-gradient(180deg, #F4F7FF 24%, #D9E3FF 52%, #A9B8EC 80%); }
.stair-line:nth-child(3) .ink { background-image: linear-gradient(180deg, #F4F7FF 24%, #D9E3FF 52%, #A9B5D8 80%); }








/* invitation */
.invite {
  padding: 8px 0 clamp(104px, 14vw, 200px);
}

.invite-card {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(40px, 6vw, 64px) clamp(20px, 6vw, 64px) clamp(40px, 6vw, 60px);
  border-radius: 28px;
  border: 1px solid rgba(207, 224, 255, .1);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(151, 171, 255, .09), rgba(151, 171, 255, 0) 62%),
    linear-gradient(180deg, rgba(26, 29, 54, .7), rgba(18, 20, 42, .55));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .05),
    0 40px 120px -48px rgba(0, 0, 0, .8);
  text-align: center;
}

.invite-card::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: -1px;
  height: 1px;
  background: linear-gradient(90deg, rgba(207, 224, 255, 0), rgba(207, 224, 255, .55), rgba(207, 224, 255, 0));
}

/* a printed invitation's inner rule */
.invite-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 20px;
  border: 1px solid rgba(207, 224, 255, .055);
  pointer-events: none;
}

.invite-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 28px;
}

.invite-title {
  margin-top: 16px;
  color: var(--text);
  font: 400 clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem)/1.12 var(--wc-font-a);
  letter-spacing: -.012em;
  text-wrap: balance;
}

.invite-text {
  max-width: 30rem;
  margin: 16px auto 0;
  color: var(--muted);
  text-wrap: balance;
}

.invite-card .pill-link { margin-top: 32px; }

/* ---------- footer: the ground ---------- */

.site-footer {
  --gr: 300vw;
  --gy: 36px;
  position: relative;
  isolation: isolate;
  background: #080915;
  padding: clamp(96px, 9vw, 136px) 0 max(32px, env(safe-area-inset-bottom));
}

.ground {
  position: absolute;
  left: 0;
  right: 0;
  top: -220px;
  bottom: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ground-glow {
  position: absolute;
  left: 50%;
  top: calc(220px + var(--gy));
  width: min(1400px, 150vw);
  height: 340px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(151, 171, 255, .13), rgba(141, 136, 250, .055) 46%, rgba(141, 136, 250, 0));
}

.ground-body {
  --c: circle calc(var(--gr) + 4px) at 50% calc(var(--gr) + 4px);
  position: absolute;
  left: 0;
  right: 0;
  top: calc(220px + var(--gy) - 4px);
  bottom: 0;
  background:
    radial-gradient(var(--c), rgba(214, 226, 255, 0) calc(var(--gr) - 2px), rgba(214, 226, 255, .34) calc(var(--gr) - .8px), rgba(214, 226, 255, 0) calc(var(--gr) + .3px)),
    radial-gradient(var(--c), rgba(151, 171, 255, 0) calc(var(--gr) - 30px), rgba(151, 171, 255, .1) calc(var(--gr) - 2px), rgba(151, 171, 255, 0) var(--gr)),
    radial-gradient(var(--c), #0A0B16 calc(var(--gr) - 170px), #0B0D1B calc(var(--gr) - 1px), rgba(11, 13, 27, 0) calc(var(--gr) + .4px));
}

.footer-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: last baseline;
  justify-content: space-between;
  gap: 28px 40px;
}

.footer-brand .brand img { height: 36px; }

.footer-line {
  margin-top: 16px;
  color: var(--muted);
  font-size: .9375rem;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 8px 28px;
  flex-wrap: wrap;
}

.legal {
  color: var(--faint);
  font-size: .875rem;
}

/* ---------- larger screens ---------- */

@media (min-width: 600px) {
  :root {
    --gutter: clamp(24px, 5vw, 80px);
    --indent-x: clamp(48px, 8.4vw, 132px);
  }

  .hero {
    --sx: 78%;
    --sy: 22%;
    --R: 190vw;
    --tl: 16vw;
    --phi: 9.65deg;
    --o0x: 3%;
    --a0: -30deg;
    --a1: -2deg;
    --a-still: -11deg;
    --hx: 62%;
    --hy: 86%;
    --pr: 140vw;
    --g: 120px;
    --mw: 760px;
    --mh: 300px;
    --bw: 600px;
    --bh: 170px;
    --star-size: 28px;
    --h1: clamp(3.5rem, 9.2vw, 5.5rem);
    padding-top: 148px;
    padding-bottom: 20vh;
    padding-bottom: 20svh;
  }

  .site-header { padding-top: max(24px, env(safe-area-inset-top)); }
}

@media (min-width: 900px) {
  .hero {
    --sx: 77%;
    --sy: 25%;
    --R: 250vw;
    --tl: 13vw;
    --phi: 5.96deg;
    --o0x: 30%;
    --a0: -15deg;
    --a1: -1.5deg;
    --a-still: -8.5deg;
    --hx: 63%;
    --hy: 85%;
    --pr: 150vw;
    --g: 160px;
    --mw: 1100px;
    --mh: 420px;
    --bw: 820px;
    --bh: 220px;
    --star-size: 30px;
    --h1: clamp(5rem, min(7.4vw, 12.5vh), 7.25rem);
    padding-bottom: 19vh;
    padding-bottom: 19svh;
  }

  .header-inner { min-height: 72px; }
  .site-header .brand img { height: 44px; }

  /* closer to the ground, the horizon flattens — and stays well clear of the footer logo */
  .site-footer { --gr: 400vw; }




}

/* laptops with short screens: lift the sky, trim the headline so comet and copy never meet */
@media (min-width: 900px) and (max-height: 820px) {
  .hero {
    --sy: 21%;
    --h1: clamp(4.5rem, min(7.4vw, 11.5vh), 7.25rem);
    padding-top: 128px;
    padding-bottom: 16vh;
    padding-bottom: 16svh;
  }
}

@media (min-width: 1600px) {
  .hero { --sx: 76%; }
}

/* ---------- small and short phones ---------- */

@media (max-width: 359px) {
  .brand img { height: 36px; }
  .pill-link { padding: 0 14px 0 16px; gap: 8px; }
  .hero { padding-top: 112px; }
}

@media (max-width: 599px) and (max-height: 700px) {
  .hero {
    --sy: 18.5%;
    --hy: 87%;
    padding-bottom: 17vh;
    padding-bottom: 17svh;
  }
}

/* ---------- motion (only when it is welcome) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .comet-arm { animation: comet-pass 46s cubic-bezier(.33, .08, .45, 1) -21s infinite; }
  .north-star::before { animation: breathe 7s ease-in-out infinite; }
  .twinkles i { animation: twinkle 5.5s ease-in-out infinite; }
  .twinkles i:nth-child(2) { animation-duration: 7.2s; animation-delay: -2.1s; }
  .twinkles i:nth-child(3) { animation-duration: 4.6s; animation-delay: -3.4s; }
  .twinkles i:nth-child(4) { animation-duration: 6.4s; animation-delay: -1.2s; }
  .twinkles i:nth-child(5) { animation-duration: 8.1s; animation-delay: -5s; }
  .twinkles i:nth-child(6) { animation-duration: 5.1s; animation-delay: -.6s; }

  .hero-copy > * { animation: enter .8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .07s; }
  .hero-copy > :nth-child(3) { animation-delay: .14s; }

  @supports (animation-timeline: scroll()) {
    .stars--far { animation: drift-far linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .stars--near { animation: drift-near linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .dusk { animation: dusk linear both; animation-timeline: scroll(root); animation-range: 0 85vh; }
  }

  @supports (animation-timeline: view()) {
    .stair-line,
    .invite-card { animation: rise linear; animation-timeline: view(); animation-range: entry 0% cover 34%; }
  }
}

@keyframes comet-pass {
  0% { transform: rotate(var(--a0)) translateY(calc(-1 * var(--R))); opacity: 0; }
  7% { opacity: 1; }
  78% { opacity: 1; }
  90% { transform: rotate(var(--a1)) translateY(calc(-1 * var(--R))); opacity: 0; }
  100% { transform: rotate(var(--a1)) translateY(calc(-1 * var(--R))); opacity: 0; }
}

@keyframes breathe {
  50% { transform: scale(1.14); opacity: .72; }
}

@keyframes twinkle {
  0%, 100% { opacity: .85; transform: scale(1); }
  50% { opacity: .25; transform: scale(.7); }
}

@keyframes enter {
  from { opacity: 0; transform: translateY(14px); }
}

@keyframes drift-far { to { transform: translate3d(0, 34vh, 0); } }
@keyframes drift-near { to { transform: translate3d(0, 20vh, 0); } }
@keyframes dusk { to { opacity: .6; } }

@keyframes rise {
  from { opacity: .06; transform: translateY(28px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* the error pages (404, unavailable): their one button, a breath below the line above it */
.hero-cta { margin-top: 32px; }
