:root { color-scheme: dark; font-family: Inter, "Segoe UI", sans-serif; color: #f3f1ff; }
* { box-sizing: border-box; }
body { margin: 0; background: #060817; }
main { position: relative; width: 100%; height: 100vh; height: 100dvh; overflow: hidden; isolation: isolate; }
#sky { position: absolute; left: 0; top: 0; width: clamp(100%, 177.68vh, 120%); height: clamp(100%, 56.28vw, 120%); }
/* On panoramic screens leave the meeting point of the two lower folds in view. */
@media (min-aspect-ratio: 2/1) { #sky { max-height: 110vh; } }
#sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#mist, #layered { visibility: hidden; }
.rendered #layered, .crop #mist, .crop #layered { visibility: visible; }
.star { --ink: 148 194 255; position: absolute; display: flex; align-items: center; height: 48px;
  transform: translate(-22px,-50%); padding: 0 12px 0 calc(22px + clamp(23px, 2.05vw, 34px));
  white-space: nowrap; cursor: default; user-select: none; }
.api { left: 37.91866%; top: 41.97662%; }
.training { --ink: 212 170 255; left: 58.19378%; top: 60.89267%; }
.story { left: 22%; top: 24%; cursor: pointer; text-decoration: none; }
.star[hidden] { display: none; }
.star span { font-size: clamp(.95rem, 1.12vw, 1.15rem); font-weight: 400; letter-spacing: .022em;
  color: #c6c8e1; opacity: .59;
  transition: opacity 1s ease-in-out, color 1s ease-in-out, text-shadow 1s ease-in-out; }
.star::before { content: ""; pointer-events: none; position: absolute; top: 50%; left: 22px; width: 64px; height: 54px;
  transform: translate(-50%,-50%); opacity: 0; transition: opacity 1s ease-in-out;
  background: radial-gradient(ellipse, white 0%, rgb(var(--ink) / .55) 5%, rgb(var(--ink) / .25) 14%, transparent 68%); }
.star:is(:hover,:focus-visible)::before { opacity: 1; }
.star:is(:hover,:focus-visible) span { opacity: 1; color: #f5f4ff; text-shadow: 0 0 10px rgb(var(--ink) / .35); }
.star:focus-visible { outline: none; }
.star:focus-visible span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

/* A quick crossing catches the light at the core. A deliberate hover gives
   the name time to appear. Both targets share the same continuous hit area. */
.service-stars .star::before {
  width: 54px; height: 44px;
  background: radial-gradient(ellipse closest-side, #f8f8ffb3 0%, rgb(var(--ink) / .39) 16%,
    rgb(var(--ink) / .20) 34%, rgb(var(--ink) / .06) 63%, transparent 100%);
  transition: opacity 360ms ease-out;
}
.service-stars .star span {
  transition-duration: 340ms;
  transition-timing-function: ease-out;
}
.service-stars .star:is(:hover,:focus-visible)::before {
  transition-duration: 260ms;
  transition-timing-function: cubic-bezier(.24,.32,.28,1);
}
.service-stars .star:is(:hover,:focus-visible) span {
  color: #f0eff9; text-shadow: 0 0 8px rgb(var(--ink) / .18);
  transition-duration: 760ms;
  transition-delay: 120ms;
  transition-timing-function: cubic-bezier(.3,.13,.34,1);
}
.service-stars .star:focus-visible span { transition-delay: 0ms; }
.star-study { container-type: inline-size; }
.tapered-stars .star::after {
  content: ""; position: absolute; pointer-events: none;
  left: 22px; top: calc(50% + 1px); transform: translate(-50%,-50%);
  width: var(--star-diameter); aspect-ratio: 1;
  background: radial-gradient(closest-side, #fff 0% 3%, rgb(var(--ink)) 12%);
  background: radial-gradient(closest-side, #fff 0% 3%, #f2f5ff 5%, rgb(var(--ink)) 8%,
    hsl(from rgb(var(--ink)) h 100% 65%) 17%, hsl(from rgb(var(--ink)) h 96% 60%) 55%);
  mask: var(--star-mask) center / 100% 100% no-repeat;
  mix-blend-mode: screen;
}
.tapered-stars .star::before { z-index: 1; }
.navigation-stars .star::after, .navigation-stars .star::before {
  top: calc(50% + 1px); width: var(--star-diameter); height: var(--star-diameter);
  transform: translate(-50%,-50%) rotate(var(--tilt));
}
.navigation-stars .star::after {
  background: radial-gradient(closest-side, white 0% 4.2%, #eff4ff 6.1%, rgb(var(--ink)) 16%);
}
.navigation-stars .star::before {
  background: radial-gradient(closest-side, white 0% 6%, #ecf2ff 11%, rgb(var(--ink)) 24%);
  mask: var(--flare-mask) center / 100% 100% no-repeat;
  mix-blend-mode: screen;
}
.reading-story .star { visibility: hidden; }
#our-story {
  position: absolute; inset: 0; overflow-y: auto;
  background: linear-gradient(95deg, #050818 15%, rgb(5 8 24 / .91) 46%, rgb(7 8 25 / .46) 82%);
  color: #dde0f1;
}
.story-copy { width: min(38rem, 80%); margin-left: clamp(32px, 13vw, 240px); padding: clamp(32px, 7vh, 84px) 0 5rem; }
.return-link { display: inline-flex; gap: .65em; align-items: center; color: #c6c8e2; font-size: .93rem; text-decoration: none; }
.return-link:is(:hover,:focus-visible) { color: white; text-decoration: underline; text-underline-offset: 4px; }
.story-copy h1 { margin: .55em 0 .38em; font: normal clamp(3rem, 5.5vw, 5.5rem)/1.05 Georgia, serif; letter-spacing: -.04em; color: #f1f0ff; }
.story-copy h1:focus { outline: none; }
.story-copy p { margin: 0 0 1em; font-size: 1.04rem; line-height: 1.6; }
.story-copy .story-opening { color: #f1f0fb; font: normal 1.45rem/1.45 Georgia, serif; }
.story-copy .story-signoff { color: #d1c9fa; margin-top: 1.65em; }
@media (prefers-reduced-motion: reduce) {
  .service-stars .star::before, .service-stars .star span,
  .service-stars .star:is(:hover,:focus-visible)::before,
  .service-stars .star:is(:hover,:focus-visible) span { transition: none; }
}
#motion { position: absolute; bottom: 12px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  display: grid; place-items: center; opacity: .58; color: inherit; background: transparent; cursor: pointer; }
#motion:is(:hover,:focus-visible) { opacity: 1; background: #6575ae22; }
#motion span { width: 10px; height: 12px; border-inline: 2px solid currentColor; }
.paused #motion span { width: 0; height: 0; border: 0; border-block: 6px solid transparent; border-left: 9px solid currentColor; }
button:focus-visible { outline: 1px solid #d5dfff; outline-offset: 1px; }
#review { position: fixed; inset: 0; background: #070a14; padding: 4vh 1.6vw 6vh; }
#review:not([hidden]) { display: flex; flex-direction: column; justify-content: center; }
#review header { display: flex; gap: .55rem; margin-bottom: 4vh; }
#review header button { font: inherit; font-size: .95rem; color: #b1bad1; border: 1px solid #353b50; border-radius: 1.2rem;
  padding: .42rem .95rem; cursor: pointer; background: transparent; }
#review button[aria-pressed="true"] { color: #f2f4ff; border-color: #838faf; background: #252d46; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35vw; }
figure { margin: 0; min-width: 0; }
figcaption { margin-bottom: .8rem; font-size: 1rem; color: #c9d0e4; }
.crop { position: relative; overflow: hidden; width: 100%; aspect-ratio: 1.55; max-height: 66vh; background: #060817; }
.crop canvas { position: absolute; pointer-events: none; }
body[data-review] main { visibility: hidden; }
#full-review:not([hidden]) { display: flex; position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  gap: 2px; padding: 3px; border: 1px solid #b8c7fd36; border-radius: 24px; background: #090c20d9; }
#full-review button { background: transparent; color: #b6bdd3; font: inherit; font-size: .82rem;
  border: 0; border-radius: 20px; padding: .52rem .95rem; cursor: pointer; white-space: nowrap; }
#full-review button[aria-pressed="true"] { background: #323951; color: #f3f2ff; }
