/* Fall Slowly — night-blue palette, matched to the share image. Standalone: does not load /style.css (the Japanese studio theme). */
:root {
  --dusk: #172840;
  --dusk-2: #2B3D63;
  --mist: #F2F3F7;
  --paper: #FFFFFF;
  --ink: #172840;
  --ink-soft: #4F5A70;
  --rose: #B0365E;
  --petal: #E8A1B0;
  --line: #D9DDE7;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Figtree', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); }
a { color: var(--rose); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--petal); outline-offset: 2px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 16px; }

/* Top bar */
.bar { padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--mist); }
.bar nav { max-width: 760px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: baseline; }
.bar a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; }
.bar a:first-child { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); margin-right: auto; }
.bar a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--petal); text-decoration-thickness: 2px; }
.home .bar { background: var(--dusk); border-color: rgba(255,255,255,.08); }
.home .bar a { color: #C9D0DE; }
.home .bar a:first-child { color: #fff; }

/* Home hero: a dusk sky; the one moment of motion is the title settling into place */
.hero {
  background: linear-gradient(180deg, var(--dusk) 0%, var(--dusk-2) 72%, #5C4466 100%);
  color: #F3F4F8;
  padding: 72px 16px 88px;
  text-align: left;
}
.hero > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.title { font-family: var(--serif); font-weight: 300; font-size: clamp(3.2rem, 13vw, 6.5rem); line-height: 1; letter-spacing: -.01em; margin-top: 0; margin-bottom: 32px; }
.title .t2 span { display: inline-block; animation: settle 1.6s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(.35s + var(--i) * .22s); }
@keyframes settle { from { opacity: 0; transform: translateY(-.6em) rotate(-4deg); } to { opacity: 1; transform: none; } }
.lede { font-size: 1.2rem; line-height: 1.6; color: #E3E6EE; margin-bottom: 32px; }
.store { display: inline-block; font-weight: 600; padding: 14px 22px; border-radius: 999px; background: #fff; color: var(--dusk); text-decoration: none; }
.store--soon { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); margin-top: 0; }
.hero .note { font-size: .95rem; color: #C9D0DE; margin-top: 20px; }

/* The cast: four portraits, billed like a film */
.cast { background: var(--paper); border-bottom: 1px solid var(--line); padding: 40px 16px 32px; }
.cast > * { max-width: 960px; margin-left: auto; margin-right: auto; }
.cast h2 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; margin-top: 0; margin-bottom: 20px; }
.cast ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cast li { margin: 0; }
.cast img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; background: var(--mist); }
.cast span { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; margin-top: 8px; }
.cast-note { color: var(--ink-soft); font-size: .9rem; margin-top: 16px; }
@media (max-width: 640px) { .cast ul { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* Text pages */
.prose { max-width: 760px; margin: 0 auto; padding: 48px 16px 56px; }
.prose > * { max-width: 66ch; }
.prose h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 7vw, 3rem); line-height: 1.1; margin: 0 0 12px; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; line-height: 1.25; margin: 36px 0 8px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 8px; }
.meta { color: var(--ink-soft); margin-top: 0; }
.lead { font-size: 1.15rem; }
.more { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 32px; }
.help { background: var(--paper); border-left: 4px solid var(--rose); padding: 14px 18px; margin: 24px 0; border-radius: 0 8px 8px 0; }
.help p { margin: 4px 0; font-weight: 600; }

.foot { border-top: 1px solid var(--line); padding: 28px 16px 40px; color: var(--ink-soft); font-size: .92rem; }
.foot p { max-width: 760px; margin: 6px auto; }

@media (prefers-reduced-motion: reduce) {
  .title .t2 span { animation: none; }
}
