:root {
  color-scheme: light;
  --bg-start: #fffaf3;
  --bg-middle: #fff6ef;
  --bg-end: #f8f5e8;
  --ink: #3f2f33;
  --ink-soft: #78666a;
  --accent: #ba2f42;
  --accent-soft: #ef9ca4;
  --brand-text: #78666a;
  --brand-border: rgb(186 47 66 / 26%);
  --brand-bg: rgb(255 255 255 / 58%);
  --brand-shadow: rgb(186 47 66 / 10%);
  --stars-opacity: 0.18;
  --star-color: rgb(186 47 66 / 58%);
  --rose-glow: rgb(239 156 164 / 50%);
  --green-glow: rgb(169 200 142 / 52%);
  --orbit-color: rgb(186 47 66 / 12%);
  --orbit-dot: #d9404f;
  --halo-core: rgb(255 255 255 / 82%);
  --halo-middle: rgb(251 222 209 / 28%);
  --body-bg:
    radial-gradient(circle at 35% 30%, rgb(255 255 255 / 100%) 0 12%, transparent 28%),
    radial-gradient(circle at 67% 62%, rgb(211 162 156 / 8%) 0 12%, transparent 23%),
    linear-gradient(145deg, #fffdf7 8%, #f9e5d8 52%, #eec9c1 100%);
  --body-shadow:
    inset -24px -18px 40px rgb(204 119 125 / 16%),
    0 24px 74px rgb(199 93 104 / 18%),
    0 0 62px rgb(255 255 255 / 68%);
  --shade-bg: radial-gradient(circle at 25% 22%, rgb(228 159 158 / 12%), transparent 68%);
  --cloud-opacity: 0.34;
  --atmosphere: rgb(255 239 226 / 82%);
  --atmosphere-glow: rgb(239 156 164 / 20%);
  --surface-bg:
    radial-gradient(ellipse at 70% 7%, rgb(255 255 255 / 54%) 0 5%, transparent 24%),
    linear-gradient(165deg, rgb(245 205 205 / 88%), rgb(236 221 201 / 96%) 46%, rgb(211 224 188 / 94%));
  --foreground-bg:
    radial-gradient(ellipse at 26% 12%, rgb(255 255 255 / 26%) 0 5%, transparent 23%),
    linear-gradient(166deg, #cbd9ae, #93b383);
  --footer-ink: #67595c;
  --footer-bg: rgb(255 248 239 / 82%);
  --footer-border: rgb(103 89 92 / 10%);
  --focus: #ba2f42;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --kai: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", serif;
}

:root[data-theme="night"] {
  color-scheme: dark;
  --bg-start: #4a2941;
  --bg-middle: #2b1a2d;
  --bg-end: #17121c;
  --ink: #fff4ea;
  --ink-soft: rgb(255 235 225 / 64%);
  --accent: #ff9faf;
  --accent-soft: #ff788e;
  --brand-text: rgb(255 241 230 / 72%);
  --brand-border: rgb(255 185 192 / 30%);
  --brand-bg: rgb(255 248 239 / 9%);
  --brand-shadow: rgb(255 106 133 / 18%);
  --stars-opacity: 0.88;
  --star-color: rgb(255 236 226 / 88%);
  --rose-glow: rgb(220 78 112 / 28%);
  --green-glow: rgb(145 180 132 / 22%);
  --orbit-color: rgb(255 176 185 / 15%);
  --orbit-dot: #ffe0d9;
  --halo-core: rgb(255 168 179 / 25%);
  --halo-middle: rgb(244 107 139 / 12%);
  --body-bg:
    radial-gradient(circle at 31% 26%, rgb(255 246 227 / 94%) 0 7%, transparent 16%),
    radial-gradient(circle at 68% 37%, rgb(255 221 212 / 24%) 0 6%, transparent 15%),
    radial-gradient(circle at 42% 73%, rgb(139 52 91 / 16%) 0 12%, transparent 25%),
    linear-gradient(145deg, #ffd5ce 4%, #f498a5 38%, #d86584 65%, #873b69 100%);
  --body-shadow:
    inset -28px -24px 54px rgb(83 23 73 / 34%),
    inset 14px 10px 36px rgb(255 245 225 / 24%),
    0 0 34px rgb(255 197 188 / 52%),
    0 0 96px rgb(244 93 128 / 34%),
    0 30px 90px rgb(5 2 9 / 42%);
  --shade-bg:
    radial-gradient(circle at 24% 22%, rgb(97 25 71 / 24%), transparent 58%),
    repeating-radial-gradient(ellipse at 30% 15%, transparent 0 15px, rgb(255 221 210 / 5%) 17px 19px);
  --cloud-opacity: 0.72;
  --atmosphere: rgb(255 210 202 / 82%);
  --atmosphere-glow: rgb(255 139 157 / 24%);
  --surface-bg:
    radial-gradient(ellipse at 50% 0%, rgb(255 239 222 / 54%) 0 1%, transparent 16%),
    radial-gradient(ellipse at 18% 26%, rgb(225 213 171 / 19%) 0 4%, transparent 13%),
    radial-gradient(ellipse at 76% 19%, rgb(238 181 172 / 17%) 0 5%, transparent 14%),
    linear-gradient(180deg, rgb(244 169 165 / 92%) 0%, rgb(195 175 147 / 86%) 10%, rgb(119 151 113 / 95%) 25%, #425f55 58%, #263d3c 100%);
  --foreground-bg:
    radial-gradient(ellipse at 23% 20%, rgb(152 179 126 / 22%) 0 6%, transparent 16%),
    radial-gradient(ellipse at 71% 12%, rgb(221 173 155 / 14%) 0 7%, transparent 19%),
    linear-gradient(165deg, rgb(87 116 94 / 78%), #294344 44%, #1b3035 100%);
  --footer-ink: #5c434b;
  --footer-bg: rgb(255 246 235 / 90%);
  --footer-border: rgb(255 226 216 / 16%);
  --focus: #ffb6be;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg-end);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg-end);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: #942a45;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(2rem, 1fr) minmax(0, 1120px) minmax(2rem, 1fr);
  grid-template-rows: auto 1fr auto;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 28%, var(--halo-middle) 0 8%, transparent 30%),
    radial-gradient(ellipse at 12% 16%, var(--rose-glow) 0%, transparent 35%),
    linear-gradient(135deg, var(--bg-start) 0%, var(--bg-middle) 46%, var(--bg-end) 100%);
  transition: background 760ms ease;
}

.hero::before {
  position: absolute;
  z-index: -5;
  inset: 0;
  background:
    radial-gradient(circle at 9% 16%, var(--star-color) 0 1px, transparent 1.6px),
    radial-gradient(circle at 31% 7%, var(--star-color) 0 1px, transparent 1.6px),
    radial-gradient(circle at 54% 18%, var(--star-color) 0 1px, transparent 1.6px),
    radial-gradient(circle at 83% 9%, var(--star-color) 0 1px, transparent 1.6px),
    radial-gradient(circle at 93% 46%, var(--star-color) 0 1px, transparent 1.6px);
  background-size: 19rem 17rem, 23rem 19rem, 29rem 23rem, 31rem 21rem, 27rem 25rem;
  content: "";
  opacity: var(--stars-opacity);
  pointer-events: none;
  transition: opacity 760ms ease;
}

.stars {
  position: absolute;
  z-index: -3;
  inset: 0;
  overflow: hidden;
  opacity: var(--stars-opacity);
  pointer-events: none;
  transition: opacity 760ms ease;
}

.stars__layer {
  position: absolute;
  inset: -8%;
  background:
    radial-gradient(circle at 12% 24%, var(--star-color) 0 1px, transparent 1.8px),
    radial-gradient(circle at 36% 64%, var(--star-color) 0 1px, transparent 1.7px),
    radial-gradient(circle at 57% 31%, var(--star-color) 0 1px, transparent 1.8px),
    radial-gradient(circle at 74% 73%, var(--star-color) 0 1px, transparent 1.7px),
    radial-gradient(circle at 91% 22%, var(--star-color) 0 1px, transparent 1.8px);
  background-size: 23rem 19rem, 31rem 27rem, 29rem 21rem, 37rem 31rem, 27rem 25rem;
  will-change: transform;
}

.stars__layer--one {
  animation: star-drift-one 42s linear infinite alternate;
}

.stars__layer--two {
  opacity: 0.54;
  transform: rotate(12deg) scale(1.08);
  animation: star-drift-two 54s linear infinite alternate;
}

.ambient {
  position: absolute;
  z-index: -4;
  width: min(54vw, 740px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.ambient--rose {
  top: -34%;
  left: -16%;
  background: radial-gradient(circle, var(--rose-glow), transparent 70%);
  animation: ambient-rose 20s ease-in-out infinite alternate;
}

.ambient--green {
  right: -20%;
  bottom: -38%;
  background: radial-gradient(circle, var(--green-glow), transparent 72%);
  animation: ambient-green 24s ease-in-out infinite alternate;
}

.site-header {
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-column: 2;
  grid-row: 1;
  padding-top: max(clamp(1.5rem, 4vh, 3rem), env(safe-area-inset-top));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border-radius: 999px;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 1.6rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--brand-border);
  border-radius: 50% 50% 48% 52% / 58% 56% 44% 42%;
  background: var(--brand-bg);
  box-shadow: 0 8px 24px var(--brand-shadow);
  transform: rotate(-12deg);
  transition:
    border-color 760ms ease,
    background-color 760ms ease,
    box-shadow 760ms ease;
}

.brand__mark span {
  width: 0.46rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: 0 0 0 0.28rem color-mix(in srgb, var(--accent-soft) 12%, transparent);
  transition: background-color 760ms ease;
}

.brand__text {
  color: var(--brand-text);
  font-family: "Avenir Next", "SF Pro Display", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 760ms ease;
}

.theme-toggle {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.66rem;
  padding: 0.34rem 0.72rem 0.34rem 0.38rem;
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  color: var(--brand-text);
  background: var(--brand-bg);
  box-shadow: 0 10px 30px var(--brand-shadow);
  cursor: pointer;
  transition:
    color 760ms ease,
    border-color 760ms ease,
    background-color 760ms ease,
    box-shadow 760ms ease,
    transform 180ms ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
}

.theme-toggle:active {
  transform: translateY(0) scale(0.98);
}

.theme-toggle__track {
  position: relative;
  display: block;
  width: 3.15rem;
  height: 1.78rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-soft) 18%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-soft) 18%, transparent);
}

.theme-toggle__sun,
.theme-toggle__moon,
.theme-toggle__thumb {
  position: absolute;
  top: 50%;
  border-radius: 50%;
  transform: translateY(-50%);
}

.theme-toggle__sun {
  left: 0.48rem;
  width: 0.55rem;
  aspect-ratio: 1;
  background: #d9404f;
  box-shadow: 0 0 0 0.2rem rgb(217 64 79 / 10%);
}

.theme-toggle__moon {
  right: 0.45rem;
  width: 0.62rem;
  aspect-ratio: 1;
  background: #fff0df;
  box-shadow: inset -0.19rem -0.06rem 0 #a54d70;
}

.theme-toggle__thumb {
  left: 0.14rem;
  z-index: 2;
  width: 1.5rem;
  aspect-ratio: 1;
  background: #fff9ef;
  box-shadow: 0 3px 10px rgb(73 37 48 / 24%);
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

:root[data-theme="night"] .theme-toggle__thumb {
  transform: translate(1.37rem, -50%);
}

.theme-toggle__label {
  min-width: 2.25rem;
  font-family: var(--serif);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-align: center;
}

.intro {
  z-index: 6;
  align-self: center;
  grid-column: 2;
  grid-row: 2;
  width: min(55%, 620px);
  padding: clamp(4rem, 10vh, 8rem) 0 clamp(9rem, 18vh, 13rem);
}

.intro__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 clamp(1.35rem, 3vh, 2rem);
  color: var(--accent);
  font-size: clamp(0.58rem, 0.9vw, 0.7rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.5;
  transition: color 760ms ease;
}

.intro__eyebrow span {
  flex: 0 0 auto;
  width: 1.9rem;
  height: 1px;
  background: currentColor;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(4.6rem, 8.4vw, 8rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 0.98;
  text-shadow: 0 18px 48px rgb(17 6 14 / 12%);
  text-wrap: balance;
  transition: color 760ms ease;
}

.intro__subtitle {
  margin: clamp(1.5rem, 4vh, 2.5rem) 0 0;
  color: var(--accent);
  font-family: var(--kai);
  font-size: clamp(1.7rem, 2.5vw, 2.45rem);
  letter-spacing: 0.12em;
  line-height: 1.5;
  transform: rotate(-1.2deg);
  transform-origin: left center;
  transition: color 760ms ease;
}

.intro__note {
  max-width: 26rem;
  margin: 1.3rem 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(0.86rem, 1.1vw, 1rem);
  letter-spacing: 0.12em;
  line-height: 1.8;
  transition: color 760ms ease;
}

.celestial {
  position: absolute;
  z-index: 4;
  top: 7%;
  right: max(0.5rem, calc((100vw - 1120px) / 2 - 2rem));
  width: min(50vw, 720px);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  outline: 0;
  background: transparent;
  cursor: pointer;
}

.celestial__orbit,
.celestial__halo,
.celestial__body,
.celestial__response {
  position: absolute;
  border-radius: 50%;
}

.celestial__orbit {
  inset: 5%;
  border: 1px solid var(--orbit-color);
  transition: border-color 760ms ease;
  animation: orbit-spin 52s linear infinite;
}

.celestial__orbit::before {
  position: absolute;
  top: 16%;
  right: 2.2%;
  width: 0.52rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orbit-dot);
  box-shadow: 0 0 0 0.42rem color-mix(in srgb, var(--orbit-dot) 10%, transparent);
  content: "";
  transition:
    background-color 760ms ease,
    box-shadow 760ms ease;
}

.celestial__halo {
  inset: 9%;
  background: radial-gradient(circle, var(--halo-core) 0 32%, var(--halo-middle) 46%, transparent 72%);
  opacity: 0.9;
  transition:
    background 760ms ease,
    opacity 220ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.celestial__body {
  inset: 23%;
  overflow: hidden;
  background: var(--body-bg);
  box-shadow: var(--body-shadow);
  transform: translateZ(0);
  transition:
    background 760ms ease,
    box-shadow 760ms ease;
  will-change: transform;
}

.celestial__body::before,
.celestial__body::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.celestial__body::before {
  top: 23%;
  left: 17%;
  width: 16%;
  aspect-ratio: 1;
  background: rgb(121 46 84 / 9%);
  box-shadow:
    6rem 3.7rem 0 0.9rem rgb(108 39 77 / 8%),
    2.8rem 7.4rem 0 -0.2rem rgb(255 203 198 / 7%);
}

.celestial__body::after {
  top: 46%;
  right: 14%;
  width: 13%;
  aspect-ratio: 1;
  border: 1px solid rgb(255 229 216 / 11%);
}

.celestial__shade {
  position: absolute;
  right: -17%;
  bottom: -24%;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--shade-bg);
  transition: background 760ms ease;
}

.celestial__cloud {
  position: absolute;
  top: 17%;
  left: -8%;
  width: 118%;
  height: 70%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 30% 28%, transparent 0 18%, rgb(255 238 219 / 17%) 21% 25%, transparent 29%),
    radial-gradient(ellipse at 68% 63%, transparent 0 24%, rgb(255 219 211 / 12%) 27% 31%, transparent 35%);
  opacity: var(--cloud-opacity);
  transform: rotate(-12deg);
  transition: opacity 760ms ease;
  animation: cloud-drift 18s ease-in-out infinite alternate;
  will-change: transform;
}

.celestial__spark {
  position: absolute;
  display: block;
  width: 0.32rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orbit-dot);
  box-shadow: 0 0 12px color-mix(in srgb, var(--orbit-dot) 64%, transparent);
  transition:
    background-color 760ms ease,
    opacity 320ms ease,
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.celestial__spark--one {
  top: 23%;
  left: 10%;
}

.celestial__spark--two {
  top: 13%;
  right: 23%;
  width: 0.22rem;
}

.celestial__spark--three {
  right: 10%;
  bottom: 30%;
  width: 0.26rem;
  background: #9dbb86;
}

.celestial__response {
  inset: 17%;
  border: 1px solid color-mix(in srgb, var(--orbit-dot) 50%, transparent);
  opacity: 0;
  transform: scale(0.72);
  transition:
    opacity 280ms ease,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 760ms ease;
}

.celestial:hover .celestial__halo {
  opacity: 1;
  transform: scale(1.025);
}

.celestial:focus-visible .celestial__orbit {
  outline: 2px solid var(--focus);
  outline-offset: 0.45rem;
}

.celestial.is-reacting .celestial__halo {
  opacity: 1;
  transform: scale(1.11);
}

.celestial.is-reacting .celestial__response {
  opacity: 0.72;
  transform: scale(1.12);
}

.celestial.is-reacting .celestial__spark--one {
  transform: translate(-1.1rem, -0.8rem) scale(1.4);
}

.celestial.is-reacting .celestial__spark--two {
  transform: translate(0.8rem, -1rem) scale(1.3);
}

.celestial.is-reacting .celestial__spark--three {
  transform: translate(1rem, 0.7rem) scale(1.45);
}

.horizon {
  position: absolute;
  z-index: 3;
  right: -10vw;
  bottom: -18vh;
  left: -10vw;
  height: clamp(28rem, 54vh, 42rem);
  pointer-events: none;
}

.horizon__glow {
  position: absolute;
  right: 4%;
  bottom: 36%;
  width: 92%;
  height: 22%;
  border-radius: 50%;
  background: var(--atmosphere-glow);
  opacity: 0.8;
  transition: background-color 760ms ease;
}

.horizon__atmosphere,
.horizon__surface,
.horizon__foreground {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 50% 50% 0 0 / 28% 28% 0 0;
  transform-origin: center bottom;
  will-change: transform;
}

.horizon__atmosphere {
  height: 80%;
  border-top: 1px solid var(--atmosphere);
  background: transparent;
  box-shadow:
    0 -7px 28px var(--atmosphere-glow),
    inset 0 15px 30px color-mix(in srgb, var(--atmosphere) 16%, transparent);
  transition:
    border-color 760ms ease,
    box-shadow 760ms ease;
}

.horizon__surface {
  height: 76%;
  background: var(--surface-bg);
  box-shadow:
    inset 0 18px 42px color-mix(in srgb, var(--atmosphere) 24%, transparent),
    0 -2px 16px var(--atmosphere-glow);
  transition:
    background 760ms ease,
    box-shadow 760ms ease;
  animation: surface-hover 15s ease-in-out infinite alternate;
}

.horizon__foreground {
  height: 52%;
  background: var(--foreground-bg);
  box-shadow: inset 0 18px 38px color-mix(in srgb, var(--atmosphere) 10%, transparent);
  opacity: 0.86;
  transition:
    background 760ms ease,
    box-shadow 760ms ease;
  animation: foreground-drift 20s ease-in-out infinite alternate;
}

.site-footer {
  z-index: 20;
  display: flex;
  align-items: center;
  justify-self: start;
  grid-column: 2;
  grid-row: 3;
  gap: 0.9rem;
  margin-bottom: max(clamp(1.15rem, 2.6vh, 2rem), env(safe-area-inset-bottom));
  padding: 0.62rem 0.88rem;
  border: 1px solid var(--footer-border);
  border-radius: 999px;
  color: var(--footer-ink);
  background: var(--footer-bg);
  box-shadow: 0 10px 32px rgb(22 9 17 / 12%);
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  transition:
    color 760ms ease,
    border-color 760ms ease,
    background-color 760ms ease;
}

.site-footer__divider {
  width: 2rem;
  height: 1px;
  background: color-mix(in srgb, var(--footer-ink) 36%, transparent);
}

.site-footer__filings {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer__filing {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  white-space: nowrap;
}

.site-footer__filing-divider {
  width: 1rem;
  height: 1px;
  background: color-mix(in srgb, var(--footer-ink) 28%, transparent);
}

.site-footer__mps-icon {
  width: 0.9rem;
  height: 1rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.site-footer a {
  border-radius: 0.2rem;
  text-underline-offset: 0.22rem;
  text-decoration-color: color-mix(in srgb, var(--footer-ink) 38%, transparent);
  transition:
    color 180ms ease,
    text-decoration-color 180ms ease;
}

.site-footer a:hover {
  color: #a12f53;
  text-decoration-color: currentColor;
}

.site-footer a:focus-visible,
.brand:focus-visible,
.theme-toggle:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 0.3rem;
}

.is-paused *,
.is-paused *::before,
.is-paused *::after {
  animation-play-state: paused !important;
}

@keyframes star-drift-one {
  to {
    transform: translate3d(2.5%, -1.5%, 0);
  }
}

@keyframes star-drift-two {
  to {
    transform: translate3d(-2%, 1.2%, 0) rotate(12deg) scale(1.08);
  }
}

@keyframes ambient-rose {
  to {
    transform: translate3d(7vw, 5vh, 0) scale(1.06);
  }
}

@keyframes ambient-green {
  to {
    transform: translate3d(-6vw, -4vh, 0) scale(1.08);
  }
}

@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes cloud-drift {
  to {
    transform: translate3d(3%, -1%, 0) rotate(-8deg);
  }
}

@keyframes surface-hover {
  to {
    transform: translate3d(0, 0.45rem, 0) scaleX(1.02);
  }
}

@keyframes foreground-drift {
  to {
    transform: translate3d(-1.1%, 0.25%, 0) scaleX(1.025);
  }
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1.35rem minmax(0, 1fr) 1.35rem;
  }

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

  .brand__text {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
  }

  .theme-toggle {
    min-height: 2.75rem;
    gap: 0.45rem;
    padding-right: 0.58rem;
  }

  .theme-toggle__label {
    min-width: 1.9rem;
    font-size: 0.69rem;
  }

  .intro {
    align-self: start;
    width: 100%;
    padding-top: clamp(5rem, 12vh, 7rem);
    padding-bottom: 16rem;
  }

  .intro__eyebrow {
    max-width: 18rem;
    margin-bottom: 1.2rem;
    font-size: 0.52rem;
  }

  h1 {
    max-width: none;
    font-size: clamp(3.75rem, 18vw, 5.4rem);
    line-height: 1.04;
    white-space: nowrap;
  }

  .intro__subtitle {
    margin-top: 1.25rem;
    font-size: clamp(1.38rem, 6.6vw, 1.9rem);
  }

  .intro__note {
    max-width: 18rem;
    margin-top: 0.9rem;
    font-size: 0.76rem;
    line-height: 1.7;
  }

  .celestial {
    top: auto;
    right: -12vw;
    bottom: 13vh;
    width: min(88vw, 29rem);
  }

  .horizon {
    right: -34vw;
    bottom: -14vh;
    left: -34vw;
    height: 24rem;
  }

  .site-footer {
    flex-wrap: wrap;
    gap: 0.45rem 0.65rem;
    max-width: min(100%, 24rem);
    margin-bottom: max(0.9rem, env(safe-area-inset-bottom));
    padding: 0.56rem 0.72rem;
    border-radius: 1rem;
    font-size: 0.69rem;
    line-height: 1.6;
  }

  .site-footer__divider {
    width: 1.2rem;
  }

  .site-footer__filings {
    flex-wrap: wrap;
    gap: 0.35rem 0.55rem;
  }

  .site-footer__filing-divider {
    width: 0.7rem;
  }

  .stars__layer--two,
  .ambient--green {
    animation: none;
  }
}

@media (max-width: 360px) {
  .brand__text {
    display: none;
  }

  .intro {
    padding-top: 4.6rem;
  }

  h1 {
    font-size: 17.5vw;
  }

  .celestial {
    right: -17vw;
    bottom: 15vh;
  }

  .site-footer > .site-footer__divider,
  .site-footer__filing-divider {
    display: none;
  }

  .site-footer__filings {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-height: 680px) and (min-width: 761px) {
  .intro {
    padding-top: 3rem;
    padding-bottom: 7rem;
  }

  .celestial {
    top: 0;
    width: min(45vw, 550px);
  }

  .horizon {
    bottom: -24vh;
    height: 25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero,
  .brand__mark,
  .brand__text,
  .theme-toggle,
  .theme-toggle__thumb,
  .intro__eyebrow,
  h1,
  .intro__subtitle,
  .intro__note,
  .celestial__orbit,
  .celestial__halo,
  .celestial__body,
  .celestial__shade,
  .celestial__cloud,
  .celestial__spark,
  .celestial__response,
  .horizon__glow,
  .horizon__atmosphere,
  .horizon__surface,
  .horizon__foreground,
  .site-footer {
    transition-duration: 0.01ms !important;
  }
}
