/* LoliCode / Lovely Studio — cherry ink, warm paper and a little character. */
:root {
  color-scheme: light;
  --cherry: #9e2445;
  --cherry-deep: #791b36;
  --cream: #fff6e9;
  --paper: #f7f3eb;
  --ink: #632339;
  --muted: #8a6570;
  --line: #63233930;
  --serif:
    "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun",
    serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --type-body: 1rem;
  --type-ui: 0.875rem;
  --type-caption: 0.8125rem;
  --type-label: 0.75rem;
  --scrollbar-track: #88203d;
  --scrollbar-thumb: #e5afb9;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}
/* Native scrolling stays intact; the narrow thumb follows the cherry palette. */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track,
::-webkit-scrollbar-corner {
  background: var(--scrollbar-track);
}
::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border: 2px solid var(--scrollbar-track);
  border-radius: 999px;
  min-height: 48px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cream);
}
body {
  margin: 0;
  background: var(--cherry);
  color: var(--cream);
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: var(--type-body);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible,
video:focus-visible,
summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
[hidden] {
  display: none !important;
}
::selection {
  background: #edb9c5;
  color: var(--cherry-deep);
}
.page-width {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}
.section-space {
  padding-top: 116px;
  padding-bottom: 116px;
}
.eyebrow {
  font:
    var(--type-label)/1.5 "Consolas",
    monospace;
  letter-spacing: 0.12em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tiny-gem {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 24px;
  z-index: 100;
  background: var(--cream);
  color: var(--cherry);
  padding: 10px 20px;
}
.skip-link:focus {
  top: 12px;
}
.reading-progress {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(var(--reading-progress, 0));
  transform-origin: left;
  background: #f1ba76;
}
.site-header {
  min-height: 104px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid #fff6e940;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  font:
    italic 32px/1 Georgia,
    serif;
  letter-spacing: -1.7px;
}
.brand img {
  width: 29px;
  height: 29px;
}
.header-nav {
  display: flex;
  gap: 28px;
  font-size: var(--type-ui);
}
.header-nav a {
  position: relative;
  padding: 9px 0;
}
.header-nav a::after {
  content: "";
  position: absolute;
  height: 1px;
  background: currentColor;
  bottom: 4px;
  left: 0;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.header-nav a:hover::after,
.header-nav [aria-current]::after {
  transform: scaleX(1);
}
.header-download {
  justify-self: end;
  border: 1px solid #fff6e98c;
  padding: 9px 18px;
  font-size: var(--type-ui);
  transition:
    background 0.25s,
    color 0.25s;
}
.header-download span {
  margin-left: 20px;
}
.header-download:hover {
  background: var(--cream);
  color: var(--cherry);
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  padding-top: 65px;
  padding-bottom: 60px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 17px 0;
}
.hero h1 {
  font: 400 clamp(3rem, 5.2vw, 4.75rem) / 1.18 var(--serif);
  letter-spacing: -0.045em;
  margin-top: 24px;
}
.title-accent {
  position: relative;
}
.title-accent::after {
  content: "";
  height: 6px;
  position: absolute;
  bottom: -11px;
  left: 0;
  right: 0;
  border-top: 1px solid #f6c8c7;
  border-radius: 50%;
  transform: rotate(-3deg);
}
.hero-handwritten {
  font:
    italic clamp(23px, 2.3vw, 33px) / 1.4 Georgia,
    serif;
  color: #efc0bd;
  margin: 22px 0 24px;
  letter-spacing: -0.02em;
}
.hero-description {
  font-size: var(--type-body);
  line-height: 1.85;
  color: #f1d9d6;
}
.download-block {
  margin-top: 31px;
  scroll-margin-top: 30px;
}
.release-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  font:
    var(--type-caption)/1.6 Consolas,
    monospace;
  margin-bottom: 12px;
  letter-spacing: 0.015em;
}
.release-indicator {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #efd2a0;
}
.release-platform {
  padding-left: 9px;
  border-left: 1px solid #fff6e950;
}
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.button {
  display: inline-flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 11px 19px;
  border: 1px solid transparent;
  font-size: var(--type-ui);
  font-weight: 500;
  line-height: 1.6;
  transition:
    transform 0.35s var(--ease),
    background 0.3s,
    border-color 0.3s;
  border-radius: 2px;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: var(--cream);
  color: var(--cherry-deep);
  border-color: var(--cream);
}
.button-primary:hover {
  background: #f4d9d5;
  border-color: #f4d9d5;
}
.button-secondary {
  color: inherit;
  background: transparent;
  border-color: #fff6e94d;
}
.button-secondary:hover {
  background: #fff6e911;
  border-color: #fff6e999;
}
.button[aria-disabled="true"] {
  cursor: wait;
  opacity: 0.55;
  transform: none;
}
.download-icon {
  font-size: 20px;
  line-height: 1;
}
.download-alternatives {
  margin-top: 8px;
}
.release-status {
  font-size: var(--type-caption);
  color: #e8bbc5;
  max-width: 480px;
  margin-top: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.platform-note {
  font-size: var(--type-caption);
  color: #e8bbc5;
  margin-top: 7px;
}
.platform-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-visual {
  min-width: 0;
}
.companion-stage {
  position: relative;
  isolation: isolate;
  height: 540px;
}
.art-disc {
  position: absolute;
  z-index: -2;
  width: 87%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #eccac5;
  top: 8%;
  left: 6%;
  background-image: repeating-conic-gradient(
    from 2deg,
    #9e244528 0deg 0.3deg,
    transparent 0.3deg 8deg
  );
}
.art-disc::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid #9e24453d;
  border-radius: 50%;
}
.art-orbit {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 74%;
  border: 1px solid #f4d1c68c;
  border-radius: 50%;
  top: 14%;
  left: 0;
  transition: transform 0.8s var(--ease);
}
.orbit-one {
  transform: rotate(-35deg) translateX(calc(var(--pointer-x, 0px) * -1));
}
.orbit-two {
  transform: rotate(38deg) translateY(calc(var(--pointer-y, 0px) * -1));
}
.hero-companion {
  position: absolute;
  width: 91%;
  height: 100%;
  object-fit: contain;
  left: 5%;
  bottom: 0;
  filter: drop-shadow(0 18px 22px #65102c30);
  transform: translate3d(var(--pointer-x, 0px), var(--pointer-y, 0px), 0)
    rotate(-3deg);
  transition: transform 1.1s var(--ease);
}
.art-coordinate {
  font:
    9px/1.5 Consolas,
    monospace;
  letter-spacing: 0.1em;
  position: absolute;
  top: 0;
  left: 0;
}
.art-cross {
  position: absolute;
  color: #f9dca2;
  z-index: 3;
  font-family: Georgia, serif;
}
.cross-one {
  top: 2%;
  right: 0;
  font-size: 64px;
  transform: rotate(12deg);
}
.cross-two {
  bottom: 12%;
  left: 0;
  font-size: 50px;
}
.art-signature {
  position: absolute;
  right: 2%;
  bottom: 0;
  font:
    italic 22px/1.2 Georgia,
    serif;
  transform: rotate(-8deg);
}
.art-seal {
  position: absolute;
  top: 22%;
  left: 0;
  width: 58px;
  padding: 14px 0;
  border: 1px solid #fff6e999;
  border-radius: 50%;
  text-align: center;
  font:
    10px/1.2 Consolas,
    monospace;
  transform: rotate(-12deg);
  background: var(--cherry);
}
.art-seal i {
  display: block;
  font:
    normal 23px/0.8 Georgia,
    serif;
}
.visual-footnote {
  margin-top: 22px;
  padding-top: 13px;
  border-top: 1px solid #fff6e945;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: var(--type-caption);
  color: #efccca;
}
.visual-footnote > span:last-child {
  font:
    9px/1.8 Consolas,
    monospace;
}
.film-section {
  padding: 24px 0 86px;
}
.film-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 26px;
}
.film-heading h2 {
  font: 400 clamp(1.75rem, 2.9vw, 2.625rem)/1.4 var(--serif);
  margin-top: 10px;
}
.film-heading > p {
  font-size: var(--type-ui);
  text-align: right;
  color: #f0cbc9;
}
.film-heading > p span {
  font-size: var(--type-caption);
}
.film-player {
  position: relative;
  background: #301a25;
  padding: 12px;
  border: 1px solid #fff6e950;
  box-shadow: 0 22px 50px #4a072e28;
}
.film-player video {
  width: 100%;
  height: auto;
  aspect-ratio: 8/5;
  display: block;
  background: #241921;
}
.film-play {
  position: absolute;
  inset: 12px;
  border: 0;
  background: linear-gradient(0deg, #1f12214a, transparent 65%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 17px;
  color: #fff8e8;
  transition: background 0.4s;
  text-shadow: 0 1px 10px #0006;
}
.film-play > span:last-child {
  text-align: left;
  font: 400 24px/1.3 var(--serif);
}
.play-circle {
  display: grid;
  place-items: center;
  padding-left: 4px;
  width: 74px;
  height: 74px;
  border: 1px solid #fff4e8d9;
  border-radius: 50%;
  background: #9e2445d9;
  font-size: 19px;
  transition:
    transform 0.45s var(--ease),
    background 0.3s;
}
.film-play:hover .play-circle {
  transform: scale(1.1);
  background: var(--cherry);
}
.play-detail {
  display: block;
  font:
    9px/1.8 Consolas,
    monospace;
  margin-top: 8px;
  letter-spacing: 0.1em;
}
.film-caption {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 25px;
  color: #efccca;
  margin-top: 18px;
  font-size: var(--type-caption);
}
.film-caption > span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.film-file {
  white-space: nowrap;
  margin-left: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.film-error {
  font-size: var(--type-ui);
  margin-top: 15px;
}
.paper {
  background: var(--paper);
  color: var(--ink);
}
.studio-ribbon {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 5vw, 90px);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  padding: 22px 24px;
  font:
    13px/1 Georgia,
    serif;
  letter-spacing: 0.07em;
}
.studio-ribbon i {
  font:
    normal 28px/1 Georgia,
    serif;
}
h2 {
  font: 400 clamp(1.75rem, 2.9vw, 2.625rem) / 1.35 var(--serif);
  letter-spacing: -0.035em;
}
h3 {
  font: 400 26px/1.45 var(--serif);
  letter-spacing: -0.02em;
}
.showcase-section {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  align-items: center;
  gap: 65px;
}
.showcase-copy h2 {
  margin-top: 21px;
  margin-bottom: 24px;
}
.showcase-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.9;
}
.preview-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 30px;
}
.preview-tabs button {
  padding: 9px 11px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--type-ui);
  transition:
    background 0.3s,
    color 0.3s;
}
.preview-tabs button[aria-selected="true"] {
  background: var(--cherry);
  color: var(--cream);
  border-color: var(--cherry);
}
.preview-tabs button:hover:not([aria-selected="true"]) {
  background: #eaddd7;
}
.theme-swatch {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #0002;
}
.swatch-dark {
  background: #31222d;
}
.swatch-cream {
  background: #fce7c7;
}
.swatch-teal {
  background: #57afa9;
}
.preview-hint {
  display: block;
  font-size: var(--type-caption);
  color: var(--muted);
  margin-top: 13px;
}
.product-frame {
  min-width: 0;
  border: 1px solid var(--line);
  background: #eae2d8;
  padding: 8px;
  transform: rotate(-1deg);
  transition: transform 0.6s var(--ease);
}
.product-frame:hover {
  transform: rotate(0);
}
.product-frame-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 8px 10px;
  font:
    var(--type-label)/1.8 Consolas,
    monospace;
}
.window-dots {
  display: flex;
  gap: 4px;
}
.window-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: 1px solid #63233950;
}
.preview-open {
  position: relative;
  display: block;
  background: #261c25;
  overflow: hidden;
}
.preview-open img {
  width: 100%;
  aspect-ratio: 1000/650;
  object-fit: contain;
  transition: opacity 0.25s;
}
.preview-open img.is-changing {
  opacity: 0.7;
}
.preview-zoom {
  position: absolute;
  right: 13px;
  bottom: 12px;
  padding: 6px 10px;
  font-size: var(--type-caption);
  background: var(--paper);
  color: var(--ink);
  opacity: 0;
  transform: translateY(5px);
  transition: 0.3s;
}
.preview-open:hover .preview-zoom,
.preview-open:focus-visible .preview-zoom {
  opacity: 1;
  transform: none;
}
.product-frame figcaption {
  padding: 10px 6px 2px;
  font-size: var(--type-caption);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.features-section {
  border-top: 1px solid var(--line);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 58px;
}
.section-heading h2 {
  margin-top: 16px;
}
.section-heading > p {
  font-size: var(--type-body);
  color: var(--muted);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}
.feature {
  border-top: 1px solid var(--ink);
  padding-top: 15px;
}
.feature-number {
  font:
    var(--type-label)/1.5 Consolas,
    "Microsoft YaHei",
    sans-serif;
  color: var(--muted);
}
.feature h3 {
  font-size: 1.375rem;
  margin: 18px 0;
  min-height: 67px;
}
.feature > p {
  font-size: var(--type-body);
  color: var(--muted);
  line-height: 1.8;
  min-height: 12rem;
}
.model-stack,
.execution-preview,
.preview-illustration,
.control-illustration {
  margin-top: 22px;
  height: 152px;
  background: #eee2dd;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow: hidden;
}
.model-stack {
  flex-direction: column;
  gap: 7px;
}
.model-stack > span {
  background: var(--paper);
  border: 1px solid #63233920;
  padding: 5px 12px;
  font-size: var(--type-label);
  min-width: 150px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.5s var(--ease);
}
.feature:hover .model-stack > span:first-child {
  transform: translateX(-6px);
}
.feature:hover .model-stack > span:last-child {
  transform: translateX(6px);
}
.model-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cherry);
}
.model-dot.teal {
  background: #458c86;
}
.model-dot.cream {
  background: #bba371;
}
.model-dot.rose {
  background: #b93d63;
}
.execution-preview {
  flex-direction: column;
  gap: 2px;
  font-size: var(--type-label);
}
.execution-check {
  background: var(--cherry);
  color: var(--cream);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  line-height: 1;
}
.execution-divider {
  width: 1px;
  height: 12px;
  background: #63233950;
}
.preview-illustration {
  gap: 14px;
}
.illustration-code {
  width: 69px;
  padding: 15px 10px;
  border: 1px solid #9e244560;
  background: var(--paper);
  transform: rotate(-4deg);
}
.illustration-code i {
  display: block;
  width: 100%;
  height: 2px;
  background: #9e244560;
  margin: 8px 0;
}
.illustration-code i:nth-child(2) {
  width: 64%;
}
.illustration-code i:nth-child(3) {
  width: 80%;
}
.illustration-canvas {
  display: grid;
  place-items: center;
  width: 69px;
  height: 83px;
  border: 1px solid #9e244560;
  background: var(--cherry);
  color: var(--cream);
  transform: rotate(4deg);
}
.illustration-canvas i {
  font:
    normal 42px Georgia,
    serif;
  transition: transform 0.7s var(--ease);
}
.feature:hover .illustration-canvas i {
  transform: rotate(90deg);
}
.control-illustration {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  font-size: var(--type-label);
}
.control-illustration > span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 15px;
}
.control-illustration i {
  width: 26px;
  height: 14px;
  border-radius: 10px;
  background: var(--cherry);
  position: relative;
}
.control-illustration i::after {
  content: "";
  position: absolute;
  right: 3px;
  top: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cream);
}
.start-section {
  background: #e9ddd6;
  border-block: 1px solid var(--line);
}
.start-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
}
.start-heading h2 {
  margin: 20px 0;
}
.start-heading > p:not(.eyebrow) {
  color: var(--muted);
  font-size: var(--type-body);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  font-size: var(--type-ui);
  padding: 8px 0;
  border-bottom: 1px solid currentColor;
  margin-top: 22px;
}
.text-link span {
  transition: transform 0.35s var(--ease);
}
.text-link:hover span {
  transform: translate(3px, -3px);
}
.start-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.start-steps li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 20px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
}
.start-steps li:first-child {
  padding-top: 0;
  border-top: 0;
}
.start-steps li:last-child {
  padding-bottom: 0;
}
.step-number {
  font:
    italic 32px/1.6 Georgia,
    serif;
  color: var(--cherry);
}
.start-steps h3 {
  font-size: 1.375rem;
}
.start-steps p {
  color: var(--muted);
  font-size: var(--type-body);
  margin-top: 8px;
}
.expand-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
}
.expand-heading h2 {
  margin: 20px 0 24px;
}
.expand-heading > p:not(.eyebrow) {
  color: var(--muted);
  font-size: var(--type-body);
}
.expand-details article {
  padding-bottom: 28px;
}
.expand-details article + article {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  padding-bottom: 0;
}
.detail-label {
  font-size: var(--type-caption);
  border: 1px solid var(--line);
  padding: 4px 8px;
}
.expand-details h3 {
  font-size: 1.375rem;
  margin: 15px 0 12px;
}
.expand-details p {
  font-size: var(--type-body);
  line-height: 1.8;
  color: var(--muted);
  margin-top: 10px;
}
.roadmap-note a {
  display: inline-block;
  font-size: var(--type-ui);
  border-bottom: 1px solid var(--line);
  margin-top: 14px;
}
.updates-section {
  border-top: 1px solid var(--line);
  padding-block: 70px;
}
.updates-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}
.updates-heading h2 {
  margin-top: 16px;
}
.updates-heading .text-link {
  flex-shrink: 0;
}
.release-details {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-top: 35px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.release-details-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: var(--type-caption);
  color: var(--muted);
}
#release-version {
  font:
    italic 25px/1.5 Georgia,
    serif;
  color: var(--ink);
}
#notes {
  font-size: var(--type-body);
  line-height: 1.8;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
#notes p + p {
  margin-top: 14px;
}
#notes ul {
  padding-left: 18px;
}
.release-help {
  color: var(--muted);
  font-size: var(--type-caption);
  margin-top: 25px;
}
.closing-section {
  padding-block: 70px 95px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.closing-brooch {
  width: 100px;
  height: auto;
  margin: 0 auto 25px;
}
.closing-section .eyebrow {
  justify-content: center;
}
.closing-section h2 {
  margin: 22px 0 30px;
}
.closing-section .button-primary {
  background: var(--cherry);
  color: var(--cream);
  border-color: var(--cherry);
}
.closing-section .button-primary:hover {
  background: var(--cherry-deep);
}
.site-footer {
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}
.footer-inner {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 35px;
  align-items: start;
}
.site-footer .brand {
  font-size: 28px;
}
.site-footer p {
  font-size: var(--type-caption);
  color: var(--muted);
  margin-top: 10px;
}
.site-footer nav {
  display: grid;
  grid-template-columns: auto auto;
  gap: 8px 25px;
  font-size: var(--type-ui);
}
.site-footer nav a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer nav .button {
  padding: 0;
  border: 0;
  min-height: unset;
  font-size: var(--type-ui);
  justify-content: start;
}
.footer-credit {
  text-align: right;
}
.footer-wordmark {
  font:
    400 clamp(4rem, 18.5vw, 16rem) / 0.94 Georgia,
    serif;
  letter-spacing: -0.065em;
  text-align: center;
  padding: 50px 0 0;
  color: #9e2445;
  white-space: nowrap;
}
.footer-wordmark span {
  font-size: 0.1em;
  display: inline-block;
  vertical-align: top;
  line-height: 3;
  letter-spacing: 0;
  margin-left: 0.4em;
}
#preview-dialog {
  --scrollbar-track: #eee5dc;
  --scrollbar-thumb: #a54b64;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
  width: min(1200px, 94vw);
  max-height: 92vh;
  margin: auto;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 20px 100px #0005;
}
#preview-dialog::backdrop {
  background: #27121de0;
  backdrop-filter: blur(5px);
}
.preview-dialog-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font:
    var(--type-label)/1.5 Consolas,
    monospace;
  padding-bottom: 14px;
}
.preview-close {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 6px 12px;
  font:
    var(--type-ui)/1.5 "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
}
#preview-full-image {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  background: #241a22;
}
#preview-dialog > p {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: var(--type-caption);
  padding-top: 12px;
}
[data-motion="pending"] {
  opacity: 0;
  transform: translateY(24px);
}
[data-motion="visible"] {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--entrance-delay, 0ms);
}
@media (min-width: 1650px) {
  .page-width {
    width: min(1360px, calc(100% - 140px));
  }
  .hero {
    gap: 70px;
    padding-top: 80px;
  }
  .hero h1 {
    font-size: clamp(3rem, 5.2vw, 4.75rem);
  }
  .companion-stage {
    height: 610px;
  }
  .hero-description {
    font-size: var(--type-body);
  }
}
@media (max-width: 1100px) {
  .page-width {
    width: calc(100% - 64px);
  }
  .header-nav {
    gap: 19px;
  }
  .site-header {
    gap: 20px;
  }
  .hero {
    gap: 22px;
    padding-top: 40px;
  }
  .hero h1 {
    font-size: clamp(3rem, 5.2vw, 4.75rem);
  }
  .hero .eyebrow {
    font-size: var(--type-label);
    letter-spacing: 0.06em;
  }
  .hero-handwritten {
    font-size: 28px;
  }
  .hero-description {
    font-size: var(--type-body);
  }
  .companion-stage {
    height: 455px;
  }
  .button {
    padding-inline: 14px;
    font-size: var(--type-ui);
  }
  .download-actions {
    gap: 7px;
  }
  .art-signature {
    font-size: 19px;
  }
  .visual-footnote > span:last-child {
    font-size: 8px;
  }
  .showcase-section {
    gap: 35px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 45px;
  }
  .feature > p {
    min-height: 9rem;
  }
  .feature h3 {
    min-height: 0;
  }
  .start-inner,
  .expand-section {
    gap: 60px;
  }
  .section-space {
    padding-block: 85px;
  }
  .footer-inner {
    grid-template-columns: 1fr auto;
  }
  .footer-credit {
    grid-column: 1/-1;
    text-align: left;
    margin-top: 0 !important;
  }
  .film-caption {
    flex-direction: column;
    gap: 7px;
  }
}
@media (max-width: 780px) {
  .page-width {
    width: calc(100% - 40px);
  }
  .site-header {
    min-height: 82px;
    grid-template-columns: 1fr auto;
    gap: 15px;
  }
  .brand {
    font-size: 29px;
  }
  .header-nav {
    grid-row: 2;
    grid-column: 1/-1;
    justify-content: space-between;
    border-top: 1px solid #fff6e930;
    padding: 0 0 10px;
  }
  .header-download {
    grid-column: 2;
    grid-row: 1;
    padding: 7px 13px;
    margin-top: 15px;
  }
  .site-header .brand {
    margin-top: 15px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 38px 40px;
  }
  .hero-visual {
    width: 100%;
    max-width: 460px;
    margin-inline: auto;
  }
  .hero h1 {
    font-size: clamp(2.75rem, 8vw, 3.75rem);
  }
  .hero .eyebrow {
    font-size: var(--type-label);
    letter-spacing: 0;
  }
  .hero-handwritten {
    font-size: 22px;
    margin-block: 18px;
  }
  .hero-description {
    font-size: var(--type-body);
    line-height: 1.85;
  }
  .companion-stage {
    height: 370px;
  }
  .art-disc {
    top: 16%;
    width: 95%;
    left: 0;
  }
  .art-orbit {
    top: 20%;
    height: 64%;
  }
  .art-coordinate {
    font-size: 7px;
  }
  .cross-one {
    font-size: 43px;
    top: 8%;
  }
  .art-signature {
    font-size: 16px;
  }
  .art-seal {
    width: 43px;
    font-size: 8px;
    padding: 10px 0;
  }
  .art-seal i {
    font-size: 19px;
  }
  .visual-footnote {
    font-size: var(--type-caption);
  }
  .visual-footnote > span:last-child {
    display: none;
  }
  .download-block {
    margin-top: 24px;
  }
  .release-status,
  .platform-note {
    font-size: var(--type-caption);
  }
  .film-heading h2 {
    font-size: clamp(1.75rem, 2.9vw, 2.625rem);
  }
  .film-heading > p {
    font-size: var(--type-ui);
  }
  .film-player {
    padding: 7px;
  }
  .film-play {
    inset: 7px;
  }
  .film-section {
    padding-bottom: 55px;
  }
  .section-space {
    padding-block: 70px;
  }
  .showcase-section {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .showcase-copy h2 br {
    display: none;
  }
  .showcase-copy > p:not(.eyebrow) br {
    display: none;
  }
  .preview-tabs {
    margin-top: 24px;
  }
  .product-frame {
    transform: none;
  }
  .section-heading {
    margin-bottom: 36px;
  }
  .section-heading > p {
    font-size: var(--type-body);
  }
  .start-inner,
  .expand-section {
    gap: 40px;
  }
  .start-steps li {
    gap: 10px;
    grid-template-columns: 32px 1fr;
  }
  .start-steps h3 {
    font-size: 1.375rem;
  }
  .start-steps p {
    font-size: var(--type-body);
  }
  .step-number {
    font-size: 26px;
  }
  .expand-details h3 {
    font-size: 1.375rem;
  }
  .release-details {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .release-details-meta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
  }
  .closing-section {
    padding-block: 60px;
  }
  .footer-wordmark {
    padding-top: 35px;
  }
  .footer-inner {
    gap: 25px;
  }
}
@media (max-width: 560px) {
  .page-width {
    width: calc(100% - 36px);
  }
  .site-header {
    min-height: 75px;
  }
  .brand {
    font-size: 27px;
  }
  .brand img {
    width: 24px;
    height: 24px;
  }
  .header-download {
    font-size: var(--type-ui);
  }
  .header-nav {
    font-size: var(--type-ui);
    gap: 10px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 29px;
  }
  .hero-copy {
    width: 100%;
    padding: 0;
  }
  .hero h1 {
    font-size: clamp(2.75rem, 11.8vw, 3.5rem);
    line-height: 1.2;
    margin-top: 22px;
  }
  .hero .eyebrow {
    font-size: var(--type-label);
    letter-spacing: 0.03em;
  }
  .hero-handwritten {
    font-size: 27px;
    margin-block: 22px;
  }
  .hero-description {
    font-size: var(--type-body);
  }
  .download-block {
    margin-top: 25px;
  }
  .release-meta {
    font-size: var(--type-caption);
  }
  .button {
    min-height: 44px;
    font-size: var(--type-ui);
    padding: 10px 13px;
  }
  .release-status,
  .platform-note {
    font-size: var(--type-caption);
  }
  .hero-visual {
    width: 100%;
    max-width: 410px;
  }
  .companion-stage {
    height: 360px;
  }
  .hero-companion {
    width: 85%;
    left: 8%;
  }
  .art-disc {
    top: 6%;
    width: 83%;
    left: 8%;
  }
  .art-orbit {
    top: 13%;
    left: 4%;
    width: 91%;
    height: 76%;
  }
  .art-coordinate {
    font-size: 7px;
  }
  .art-seal {
    top: 22%;
    left: 3%;
  }
  .cross-one {
    top: 0;
    right: 3%;
  }
  .cross-two {
    left: 3%;
    bottom: 9%;
    font-size: 42px;
  }
  .art-signature {
    right: 2%;
  }
  .visual-footnote > span:last-child {
    display: inline;
    font-size: 7px;
  }
  .film-section {
    padding-top: 0;
  }
  .film-heading {
    align-items: start;
    gap: 15px;
    margin-bottom: 19px;
    flex-direction: column;
  }
  .film-heading h2 {
    font-size: clamp(1.75rem, 2.9vw, 2.625rem);
  }
  .film-heading > p {
    text-align: left;
  }
  .film-heading > p br {
    display: none;
  }
  .film-heading > p span {
    margin-left: 5px;
  }
  .film-player {
    padding: 5px;
  }
  .film-play {
    inset: 5px;
    gap: 12px;
  }
  .play-circle {
    width: 52px;
    height: 52px;
    font-size: 14px;
  }
  .film-play > span:last-child {
    font-size: 20px;
  }
  .play-detail {
    font-size: 8px;
    margin-top: 5px;
  }
  .film-caption {
    font-size: var(--type-caption);
    line-height: 1.8;
  }
  .film-file {
    margin-left: 0;
    display: inline-block;
  }
  .studio-ribbon {
    gap: 18px;
    font-size: 9px;
    letter-spacing: 0.02em;
    padding-block: 18px;
  }
  .studio-ribbon i {
    font-size: 21px;
  }
  .studio-ribbon i:last-child {
    display: none;
  }
  h2 {
    font-size: clamp(1.75rem, 2.9vw, 2.625rem);
  }
  .eyebrow {
    font-size: var(--type-label);
  }
  .section-space {
    padding-block: 58px;
  }
  .showcase-copy h2 {
    margin-top: 15px;
  }
  .showcase-copy > p:not(.eyebrow) {
    font-size: var(--type-body);
  }
  .preview-tabs {
    gap: 6px;
  }
  .preview-tabs button {
    font-size: var(--type-ui);
    padding: 8px 10px;
  }
  .preview-hint {
    font-size: var(--type-caption);
  }
  .product-frame {
    padding: 6px;
  }
  .product-frame figcaption {
    font-size: var(--type-caption);
  }
  .preview-zoom {
    opacity: 1;
    transform: none;
    font-size: var(--type-caption);
    padding: 4px 7px;
    bottom: 8px;
    right: 8px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }
  .section-heading > p br {
    display: none;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .feature h3 {
    font-size: 1.375rem;
    min-height: 0;
    margin: 14px 0;
  }
  .feature > p {
    font-size: var(--type-body);
    min-height: 0;
  }
  .feature-number {
    font-size: var(--type-label);
  }
  .model-stack,
  .execution-preview,
  .preview-illustration,
  .control-illustration {
    padding: 11px;
    height: 135px;
    margin-top: 15px;
  }
  .model-stack > span {
    font-size: var(--type-label);
    padding: 5px 7px;
    min-width: 0;
    width: 100%;
  }
  .model-dot {
    width: 5px;
    height: 5px;
  }
  .execution-preview {
    font-size: var(--type-label);
  }
  .preview-illustration {
    gap: 8px;
  }
  .illustration-code,
  .illustration-canvas {
    width: 43%;
  }
  .control-illustration {
    font-size: var(--type-label);
    gap: 12px;
  }
  .control-illustration > span {
    padding: 0;
    gap: 8px;
  }
  .start-inner,
  .expand-section {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .start-heading > p br {
    display: none;
  }
  .start-steps li {
    grid-template-columns: 36px 1fr;
    gap: 17px;
    padding-block: 20px;
  }
  .start-steps h3 {
    font-size: 1.375rem;
  }
  .start-steps p {
    font-size: var(--type-body);
  }
  .expand-heading .desktop-break {
    display: none;
  }
  .expand-details h3 {
    font-size: 1.375rem;
  }
  .updates-section {
    padding-block: 50px;
  }
  .updates-heading {
    align-items: start;
    gap: 15px;
    flex-direction: column;
  }
  .updates-heading .text-link {
    margin-top: 0;
  }
  .release-details {
    margin-top: 24px;
  }
  .release-details-meta {
    font-size: var(--type-caption);
    gap: 12px;
  }
  #notes {
    font-size: var(--type-body);
  }
  .closing-section h2 {
    font-size: clamp(1.75rem, 2.9vw, 2.625rem);
  }
  .closing-brooch {
    width: 85px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .site-footer nav {
    justify-content: start;
    gap: 8px 30px;
  }
  .site-footer p {
    font-size: var(--type-caption);
  }
  .footer-wordmark {
    padding-top: 30px;
    font-size: clamp(4rem, 18.5vw, 16rem);
  }
  #preview-dialog {
    padding: 12px;
  }
  #preview-dialog > p {
    flex-wrap: wrap;
    gap: 5px;
    font-size: var(--type-caption);
  }
  .preview-dialog-bar {
    font-size: var(--type-label);
  }
}
@media (max-width: 360px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero-handwritten {
    font-size: 24px;
  }
  .hero .eyebrow {
    font-size: var(--type-label);
  }
  .header-nav {
    font-size: var(--type-ui);
  }
  .header-download span {
    margin-left: 10px;
  }
  .companion-stage {
    height: 310px;
  }
  .feature-grid {
    gap: 30px 16px;
  }
  .feature h3 {
    font-size: 1.375rem;
  }
  .feature > p {
    min-height: 0;
  }
  .feature-number {
    font-size: var(--type-label);
  }
  .control-illustration {
    padding: 9px;
    font-size: var(--type-label);
  }
  .control-illustration i {
    width: 22px;
    flex-shrink: 0;
  }
  .studio-ribbon {
    font-size: 8px;
    gap: 13px;
  }
  h2 {
    font-size: clamp(1.75rem, 2.9vw, 2.625rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-companion {
    transform: rotate(-3deg);
  }
  [data-motion="pending"] {
    opacity: 1;
    transform: none;
  }
  .product-frame {
    transform: none;
  }
}
.companion-stage {
  overflow: clip;
}
.preview-open img {
  height: auto;
}
.release-notes-extra {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.release-notes-extra summary {
  cursor: pointer;
  width: fit-content;
  font-size: var(--type-ui);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.release-notes-extra[open] summary {
  margin-bottom: 18px;
}
#notes h3 {
  font:
    500 var(--type-body)/1.8 "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
  margin-top: 14px;
}
/* Keep the play affordance legible over both light and dark film posters. */
.film-play {
  inset: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 12px 25px 12px 14px;
  border: 1px solid #fff6e96b;
  border-radius: 80px;
  background: #84203eef;
  box-shadow: 0 8px 30px #301a2533;
  text-shadow: none;
  white-space: nowrap;
  gap: 12px;
}
.film-play:hover {
  background: #6d1933;
}
.film-play .play-circle {
  width: 48px;
  height: 48px;
  font-size: 15px;
  border-color: #fff6e980;
  background: transparent;
}
.film-play > span:last-child {
  font-size: 20px;
}
.film-play .play-detail {
  font-size: 8px;
  margin-top: 4px;
}

/* Atelier motion: engraved linework, slow orbits and quiet tactile feedback. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23grain)' d='M0 0h160v160H0z' opacity='.65'/%3E%3C/svg%3E");
}
.title-line {
  display: block;
}
.title-line > span {
  display: inline-block;
}
.hero-visual {
  position: relative;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 3% -2% 8%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #eea9971c, transparent 68%);
  pointer-events: none;
}
.companion-float {
  position: absolute;
  inset: 0;
}
.celestial-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  fill: none;
  stroke-width: 0.8;
  pointer-events: none;
  rotate: calc(var(--scene-turn, 0deg) * -1);
}
.scene-outline {
  stroke-opacity: 0.7;
}
.scene-dashes {
  stroke-dasharray: 1 9;
  stroke-opacity: 0.6;
}
.scene-compass {
  stroke-width: 1;
  stroke-opacity: 0.7;
}
.scene-satellite {
  transform-origin: 300px 300px;
  stroke: #f9dca2;
}
.scene-satellite circle,
.satellite-two path {
  fill: #f9dca2;
}
.satellite-one {
  transform: rotate(24deg);
}
.satellite-two {
  transform: rotate(218deg);
}
.motion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 0 0 12px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: var(--type-caption);
  line-height: inherit;
  white-space: nowrap;
  text-underline-offset: 4px;
}
.motion-toggle:hover {
  text-decoration: underline;
}
.motion-toggle:disabled {
  cursor: default;
  opacity: 0.65;
}
.motion-toggle-glyph {
  font-size: 16px;
}
.film-player {
  border-color: #f4cfbc80;
  box-shadow: 0 24px 70px #4a072e33, 0 0 0 5px #fff6e908;
}
.film-frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 3px 13px;
  color: #f1d0c9;
  font: 12px/1.5 Consolas, monospace;
  letter-spacing: 0.06em;
}
.film-frame-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: #e8bca4;
}
.film-frame-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}
.film-is-playing,
.film-player[data-playing="true"] .film-is-paused {
  display: none;
}
.film-player[data-playing="true"] .film-is-playing {
  display: inline;
}
.film-player[data-playing="true"] .film-frame-status i {
  opacity: 1;
  box-shadow: 0 0 0 3px #e8bca412;
}
.studio-ribbon {
  justify-content: flex-start;
  padding-inline: 0;
}
.ribbon-track,
.ribbon-set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: max-content;
}
.ribbon-set {
  min-width: 100vw;
  justify-content: space-around;
  gap: clamp(28px, 5vw, 70px);
  padding-right: clamp(28px, 5vw, 70px);
}
.studio-ribbon i:last-child {
  display: inline;
}
.feature {
  position: relative;
  isolation: isolate;
}
.feature::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1px -14px -18px;
  opacity: 0;
  background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 30%), #e3bca34a, transparent 68%);
  transition: opacity 0.65s var(--ease);
  pointer-events: none;
}
.feature::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 2px;
  background: var(--cherry);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease);
  pointer-events: none;
}
.feature[data-motion="visible"]::after {
  transform: scaleX(1);
}
.feature:focus-within::before {
  opacity: 1;
}
.button[data-magnetic] {
  translate: var(--button-x, 0px) var(--button-y, 0px);
}
.button > span:last-child,
.header-download span {
  display: inline-block;
  transition: transform 0.45s var(--ease);
}
.button:hover > span:last-child,
.header-download:hover span {
  transform: translate(2px, -2px);
}
.footer-wordmark {
  translate: 0 var(--wordmark-shift, 0px);
}
html[data-effects="active"] .title-line > span {
  animation: title-arrive 1.1s var(--ease) both;
}
html[data-effects="active"] .title-line + .title-line > span {
  animation-delay: 0.13s;
}
html[data-effects="active"] .hero-visual {
  translate: 0 var(--scene-scroll, 0px);
}
html[data-effects="active"] .companion-stage[data-scene-visible="true"] .companion-float {
  animation: companion-breathe 7s ease-in-out infinite;
}
html[data-effects="active"] .companion-stage[data-scene-visible="true"] .art-disc {
  animation: atelier-orbit 100s linear infinite;
}
html[data-effects="active"] .companion-stage[data-scene-visible="true"] .satellite-one {
  animation: satellite-orbit 48s linear infinite;
}
html[data-effects="active"] .companion-stage[data-scene-visible="true"] .satellite-two {
  animation: satellite-orbit 72s linear infinite reverse;
  animation-delay: -43s;
}
html[data-effects="active"] .companion-stage[data-scene-visible="true"] .cross-one {
  animation: atelier-orbit 40s linear infinite;
}
html[data-effects="active"] .studio-ribbon[data-scene-visible="true"] .ribbon-track {
  animation: ribbon-drift 34s linear infinite;
}
html[data-effects="active"] .feature[data-scene-visible="true"] .execution-check {
  animation: check-breathe 4.8s ease-in-out infinite;
}
html[data-effects="active"] .feature[data-scene-visible="true"] .execution-check ~ .execution-check {
  animation-delay: 0.8s;
}
html[data-effects="active"] .closing-section[data-scene-visible="true"] .closing-brooch {
  animation: brooch-breathe 8s ease-in-out infinite;
}
html[data-page-visible="false"] *,
html[data-effects="paused"] *,
html[data-effects="reduced"] * {
  animation-play-state: paused !important;
}
@keyframes title-arrive {
  from { opacity: 0.3; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes companion-breathe {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-7px) rotate(0.4deg); }
}
@keyframes atelier-orbit {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}
@keyframes satellite-orbit {
  from { transform: rotate(24deg); }
  to { transform: rotate(384deg); }
}
@keyframes ribbon-drift {
  to { transform: translateX(-50%); }
}
@keyframes check-breathe {
  0%, 60%, 100% { box-shadow: 0 0 0 0 #9e244500; }
  30% { box-shadow: 0 0 0 5px #9e244510; }
}
@keyframes brooch-breathe {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-5px) rotate(2deg); }
}
@media (hover: hover) and (pointer: fine) {
  html[data-effects="active"] .feature:hover::before {
    opacity: 1;
  }
  .film-player {
    transition: box-shadow 0.7s var(--ease), border-color 0.7s;
  }
  .film-player:hover {
    border-color: #fff6e9b3;
    box-shadow: 0 28px 80px #4a072e40, 0 0 0 7px #fff6e909;
  }
}
@media (max-width: 780px) {
  .hero-visual::before { inset-inline: 0; }
  .ribbon-set { gap: 32px; padding-right: 32px; }
  .film-frame-bar { padding-bottom: 9px; font-size: 11px; letter-spacing: 0; }
}
@media (max-width: 560px) {
  .celestial-map { opacity: 0.75; }
  .film-frame-label-detail { display: none; }
  .film-frame-bar { gap: 10px; }
  .motion-toggle { font-size: var(--type-caption); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual,
  .footer-wordmark,
  .button[data-magnetic] { translate: none !important; }
  .celestial-map { rotate: none; }
  .feature::after { transform: none; }
}
