/* ==========================================================================
   Looma One (getlooma.one) — Coming Soon Static Stylesheet
   Cosmic Void (#05060A) · Emitted Light · Swiss Architectural Craft
   ========================================================================== */

:root {
  --bg: #05060a;
  --bg-elevated: #0a0c14;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-panel: rgba(8, 10, 16, 0.82);
  --text: #edeff5;
  --muted: #8a90a2;
  --muted-strong: #b8bece;

  /* App Light Signatures */
  --docs-start: #2f6bff;
  --docs-end: #22d3ee;
  --sheets-start: #10b981;
  --sheets-end: #a3e635;
  --slides-start: #7c3aed;
  --slides-end: #f43f5e;

  /* Starlight Accent */
  --star: #fff4e0;
  --star-soft: rgba(255, 244, 224, 0.72);
  --star-glow: rgba(255, 244, 224, 0.28);

  /* Dynamic Stage Aura (updated subtly on emblem hover) */
  --stage-aura: rgba(255, 244, 224, 0.11);

  /* Luminous Hairlines */
  --border-subtle: rgba(237, 239, 245, 0.1);
  --border-mid: rgba(237, 239, 245, 0.16);
  --border-bright: rgba(237, 239, 245, 0.26);
  --border-star: rgba(255, 244, 224, 0.38);

  /* Typography */
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  /* Motion */
  --ease-cosmic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

@property --ring-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

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

html {
  height: 100%;
  background-color: var(--bg);
  color: var(--text);
  color-scheme: dark;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: clip;
}

::selection {
  background: rgba(255, 244, 224, 0.22);
  color: var(--star);
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   Cinematic Cosmic Backdrops
   ========================================================================== */

.backdrop-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

#starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.nebula-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 440px at 50% 28%, var(--stage-aura), transparent 72%),
    radial-gradient(520px 360px at 18% 45%, rgba(47, 107, 255, 0.095), transparent 70%),
    radial-gradient(500px 360px at 82% 48%, rgba(244, 63, 94, 0.08), transparent 70%),
    radial-gradient(460px 300px at 50% 82%, rgba(16, 185, 129, 0.06), transparent 72%);
  transition: background 600ms ease;
}

/* Volumetric Orbital Rings behind Hero */
.orbital-stage {
  position: absolute;
  top: 44%;
  left: 50%;
  width: min(980px, 130vw);
  height: min(980px, 130vw);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 1px solid rgba(237, 239, 245, 0.055);
}

.orbit-ring--mid {
  inset: 14%;
  border-color: rgba(255, 244, 224, 0.065);
  border-style: dashed;
}

.orbit-ring--inner {
  inset: 28%;
  border-color: rgba(237, 239, 245, 0.07);
}

.orbit-ring--inner::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--ring-angle),
    transparent 0deg,
    rgba(34, 211, 238, 0.55) 28deg,
    transparent 75deg,
    transparent 125deg,
    rgba(16, 185, 129, 0.5) 152deg,
    transparent 195deg,
    transparent 245deg,
    rgba(244, 63, 94, 0.5) 272deg,
    transparent 320deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.7;
}

.drafting-grid {
  position: absolute;
  inset: 0;
  opacity: 0.032;
  background-image:
    linear-gradient(to right, rgba(237, 239, 245, 0.75) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(237, 239, 245, 0.75) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 30%, transparent 100%);
}

.cosmic-grain {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 244, 224, 0.35) 0.5px, transparent 0.5px),
    radial-gradient(rgba(237, 239, 245, 0.25) 0.5px, transparent 0.5px);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
  opacity: 0.038;
}

.cursor-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 400ms ease;
  background: radial-gradient(
    460px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 244, 224, 0.065),
    transparent 65%
  );
}

.cursor-glow.is-active {
  opacity: 1;
}

/* ==========================================================================
   Page Shell
   ========================================================================== */

.page-shell {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 18px 20px;
}

@media (min-width: 640px) {
  .page-shell {
    padding: 20px 32px 20px;
  }
}

/* ==========================================================================
   Header — Specular Liquid Glass Pill
   ========================================================================== */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 12px 9px 11px;
  border-radius: 9999px;
  background: linear-gradient(180deg, rgba(12, 15, 26, 0.88) 0%, rgba(7, 9, 17, 0.84) 100%);
  border: 1px solid rgba(237, 239, 245, 0.14);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 244, 224, 0.2),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.04),
    0 20px 44px -16px rgba(2, 3, 8, 0.92);
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}

.brand-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(255, 244, 224, 0.25);
  background: radial-gradient(circle at 50% 30%, rgba(255, 244, 224, 0.14), rgba(255, 244, 224, 0.03));
  box-shadow: 0 0 24px rgba(255, 244, 224, 0.18);
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.01em;
}

.brand-edition {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--star);
}

.header-status {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(237, 239, 245, 0.09);
  background: rgba(5, 6, 10, 0.55);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-strong);
}

@media (min-width: 768px) {
  .header-status {
    display: inline-flex;
  }
}

.status-beacon {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
}

.header-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted-strong);
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background-color 180ms ease;
}

.header-pill:hover {
  border-color: var(--border-star);
  color: var(--star);
  background: rgba(255, 244, 224, 0.06);
}

.header-pill--ghost {
  display: none;
}

@media (min-width: 520px) {
  .header-pill--ghost {
    display: inline-flex;
  }
}

.icon-arrow {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform 180ms var(--ease-out-soft);
}

a:hover .icon-arrow {
  transform: translate(1.5px, -1.5px);
}

/* ==========================================================================
   Hero — Monumental Celestial Centerpiece
   ========================================================================== */

.hero-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 0 22px;
}

/* Luminous Crown Badge */
.hero-crown {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  margin-bottom: 22px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 244, 224, 0.2);
  background: linear-gradient(180deg, rgba(255, 244, 224, 0.08) 0%, rgba(10, 12, 20, 0.72) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 224, 0.22),
    0 0 32px rgba(255, 244, 224, 0.1);
  backdrop-filter: blur(12px);
}

.hero-crown__dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: #10b981;
}

.hero-crown__label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--star);
}

.hero-crown__sep {
  width: 1px;
  height: 11px;
  background: rgba(237, 239, 245, 0.18);
}

.hero-crown__domain {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: var(--muted-strong);
}

/* Monumental Headline */
.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3.1rem, 8.2vw, 6.25rem);
  line-height: 0.92;
  letter-spacing: -0.032em;
  color: var(--text);
  text-shadow: 0 12px 48px rgba(5, 6, 10, 0.85);
}

.hero-accent-wrap {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  padding-bottom: 0.09em;
}

.hero-accent {
  font-style: italic;
  padding-right: 0.06em;
  background: linear-gradient(100deg, #fff4e0 0%, #ffffff 42%, #ffddb0 78%, #22d3ee 125%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(255, 244, 224, 0.22));
}

.hero-weave-svg {
  position: absolute;
  left: 0;
  bottom: -0.11em;
  width: 100%;
  height: 0.26em;
  overflow: visible;
  pointer-events: none;
}

.hero-weave-strand {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.hero-title-star {
  position: absolute;
  top: -0.04em;
  right: -0.44em;
  display: none;
  filter: drop-shadow(0 0 14px rgba(255, 244, 224, 0.65));
}

@media (min-width: 640px) {
  .hero-title-star {
    display: block;
  }
}

.hero-subtitle {
  margin-top: 22px;
  max-width: 580px;
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  line-height: 1.62;
  color: var(--muted-strong);
}

.hero-subtitle strong {
  color: var(--text);
  font-weight: 500;
}

/* ==========================================================================
   Signature Liquid-Glass Loom Dock (Rotating Tri-Color Conic Hairline)
   ========================================================================== */

.loom-dock {
  position: relative;
  margin-top: 26px;
  padding: 8px;
  border-radius: 16px;
  background: linear-gradient(
    155deg,
    rgba(16, 20, 34, 0.88) 0%,
    rgba(9, 12, 22, 0.86) 55%,
    rgba(14, 16, 28, 0.88) 100%
  );
  border: 1px solid rgba(237, 239, 245, 0.13);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 244, 224, 0.2),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.04),
    0 24px 56px -18px rgba(2, 3, 8, 0.95);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.loom-dock::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: conic-gradient(
    from var(--ring-angle),
    transparent 0deg,
    rgba(34, 211, 238, 0.85) 38deg,
    transparent 92deg,
    transparent 120deg,
    rgba(16, 185, 129, 0.8) 158deg,
    transparent 212deg,
    transparent 240deg,
    rgba(244, 63, 94, 0.8) 278deg,
    transparent 335deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.92;
}

.loom-dock__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.suite-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px 7px 8px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted-strong);
  cursor: default;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    transform 220ms var(--ease-out-soft),
    box-shadow 220ms ease;
}

.suite-pill:hover,
.suite-pill:focus-visible {
  transform: translateY(-2px);
  color: var(--text);
  border-color: var(--pill-border, var(--border-star));
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 24px -8px var(--pill-glow, rgba(255, 244, 224, 0.25));
  outline: none;
}

.suite-pill__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.suite-pill__name {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
}

.suite-pill__ext {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.suite-telemetry {
  margin-top: 12px;
  min-height: 1.35em;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 220ms ease;
}

.suite-telemetry.is-highlighted {
  color: var(--star);
}

/* Tactile Keycap CTAs */
.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  transition:
    transform 180ms var(--ease-out-soft),
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.btn--primary {
  border: 1px solid var(--star);
  background: linear-gradient(180deg, #fff8ec 0%, #fff0d4 100%);
  color: #05060a;
  font-weight: 600;
  box-shadow:
    0 0 28px rgba(255, 244, 224, 0.24),
    3px 3px 0 rgba(255, 244, 224, 0.26);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 38px rgba(255, 244, 224, 0.36),
    4px 4px 0 rgba(255, 244, 224, 0.32);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  border: 1px solid var(--border-bright);
  background: rgba(10, 13, 22, 0.85);
  color: var(--text);
  backdrop-filter: blur(12px);
}

.btn--secondary:hover {
  border-color: var(--star);
  background: rgba(17, 21, 34, 0.94);
  color: var(--star);
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Compact Architectural Footer — Ecosystem & Developer Links
   ========================================================================== */

.site-footer {
  width: 100%;
  margin-top: auto;
  padding-top: 10px;
}

.footer-console {
  position: relative;
  border-radius: 10px;
  border: 1px solid var(--border-mid);
  background: linear-gradient(180deg, rgba(10, 13, 22, 0.86) 0%, rgba(6, 8, 14, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 224, 0.12),
    0 20px 48px -20px rgba(2, 3, 8, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 840px) {
  .footer-grid {
    grid-template-columns: 1.38fr 1fr;
  }
}

.footer-section {
  padding: 16px 20px;
}

@media (min-width: 640px) {
  .footer-section {
    padding: 16px 22px;
  }
}

.footer-section + .footer-section {
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 840px) {
  .footer-section + .footer-section {
    border-top: 0;
    border-left: 1px solid var(--border-subtle);
  }
}

.footer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(237, 239, 245, 0.08);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--star);
}

.footer-heading-sub {
  color: var(--muted);
  font-size: 0.58rem;
}

/* Ecosystem Project Links */
.project-links {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

@media (min-width: 520px) {
  .project-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.project-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 11px;
  border-radius: 6px;
  border: 1px solid rgba(237, 239, 245, 0.09);
  background: rgba(5, 6, 10, 0.68);
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms var(--ease-out-soft);
}

.project-link:hover {
  border-color: var(--border-star);
  background: rgba(255, 244, 224, 0.045);
  transform: translateY(-1px);
}

.project-link__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.project-link__name {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text);
  transition: color 180ms ease;
}

.project-link:hover .project-link__name {
  color: var(--star);
}

.project-link__desc {
  font-family: var(--font-mono);
  font-size: 0.59rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Developer Section */
.dev-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.dev-bio {
  font-size: 0.83rem;
  line-height: 1.52;
  color: var(--muted-strong);
}

.dev-bio strong {
  color: var(--text);
  font-weight: 500;
}

.dev-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.dev-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(237, 239, 245, 0.12);
  background: rgba(5, 6, 10, 0.74);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted-strong);
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms var(--ease-out-soft);
}

.dev-link:hover {
  border-color: var(--border-star);
  color: var(--star);
  background: rgba(255, 244, 224, 0.05);
  transform: translateY(-1px);
}

/* Bottom Colophon */
.footer-colophon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 10px 20px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(5, 6, 10, 0.9);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  letter-spacing: 0.07em;
  color: var(--muted);
}

@media (min-width: 640px) {
  .footer-colophon {
    padding: 10px 22px;
  }
}

.colophon-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.colophon-brand {
  color: var(--muted-strong);
}

.colophon-sep {
  color: rgba(237, 239, 245, 0.22);
}

.colophon-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.tri-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tri-dot {
  width: 6px;
  height: 6px;
  border-radius: 1px;
}

.tri-dot--docs {
  background-color: var(--docs-end);
}
.tri-dot--sheets {
  background-color: var(--sheets-start);
}
.tri-dot--slides {
  background-color: var(--slides-end);
}

/* ==========================================================================
   Motion-Safe Animations
   ========================================================================== */

@keyframes ring-spin {
  to {
    --ring-angle: 360deg;
  }
}

@keyframes orbit-drift {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes hero-weave-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes hero-beacon {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

@keyframes star-pulse {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.92;
  }
  50% {
    transform: scale(1.1) rotate(8deg);
    opacity: 1;
  }
}

@keyframes gentle-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .loom-dock::before {
    animation: ring-spin 8.5s linear infinite;
  }

  .orbit-ring--inner::after {
    animation: ring-spin 18s linear infinite reverse;
  }

  .orbit-ring--mid {
    animation: orbit-drift 90s linear infinite;
  }

  .hero-weave-strand {
    stroke-dashoffset: 1;
    animation: hero-weave-draw 1.45s var(--ease-out-soft) forwards;
  }
  .hero-weave-strand:nth-child(2) {
    animation-delay: 0.16s;
  }
  .hero-weave-strand:nth-child(3) {
    animation-delay: 0.32s;
  }

  .status-beacon,
  .hero-crown__dot {
    animation: hero-beacon 2.2s ease-out infinite;
  }

  .hero-title-star {
    animation: star-pulse 4.8s ease-in-out infinite;
  }

  .reveal {
    opacity: 0;
    animation: gentle-rise 720ms var(--ease-cosmic) forwards;
  }
  .reveal--delay-1 {
    animation-delay: 70ms;
  }
  .reveal--delay-2 {
    animation-delay: 140ms;
  }
  .reveal--delay-3 {
    animation-delay: 220ms;
  }
  .reveal--delay-4 {
    animation-delay: 300ms;
  }
}

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