:root {
  --sky: #a9c8f5;
  --sand: #f7c9b0;
  --pink: #f7a6bb;
  --dusk: #c9a8ef;
  --violet: #4a2f73;
  --night: #241a38;
  --ink: #131016;
  --paper: #fbf3ee;
  --yellow: #ffd21f;
  --glow: #7fd8ff;
  --muted: #5b4f63;
  --line: rgba(19, 16, 22, .14);
  --head: "Michroma", "Eurostile", system-ui, sans-serif;
  --body: "Space Grotesk", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: .01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

.eyebrow { font: 400 .74rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); display: flex; align-items: center; gap: .55em; margin-bottom: 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 2px var(--ink); flex: none; }

.button {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--ink); color: var(--paper);
  font: 400 .8rem/1 var(--head); text-transform: uppercase; letter-spacing: .08em;
  text-decoration: none; padding: 16px 22px; border-radius: 4px; white-space: nowrap;
  box-shadow: 4px 4px 0 var(--yellow);
  transition: transform .15s, box-shadow .15s;
}
.button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--yellow); }
.button:focus-visible, .text-link:focus-visible, .nav a:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; }
.button.small { padding: 11px 15px; font-size: .68rem; box-shadow: 3px 3px 0 var(--yellow); }
.text-link { font-weight: 500; text-underline-offset: 4px; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; }
.brand { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 .82rem/1 var(--head); text-transform: uppercase; letter-spacing: .1em; }
.mark { width: 28px; height: 28px; color: var(--ink); }
.nav nav { display: flex; gap: 28px; }
.nav nav a { text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* hero */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding: 36px 0 72px; }
.hero h1 { font-size: clamp(3.2rem, 8.5vw, 6.6rem); line-height: .95; text-transform: uppercase; margin-bottom: 26px; }
.intro { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 500; margin-bottom: 16px; max-width: 30ch; }
.sub { color: var(--muted); max-width: 52ch; margin-bottom: 30px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-bottom: 26px; }
.note { font: .74rem/1.4 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.key-art { transform: rotate(1.6deg); }
.key-art img { border-radius: 10px; box-shadow: 0 30px 60px -28px rgba(74, 47, 115, .55), 10px 10px 0 var(--ink); }

/* ribbon */
.ribbon {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 26px;
  background: var(--ink); color: var(--paper);
  padding: 20px 16px; font: 400 .95rem/1 var(--head); text-transform: uppercase; letter-spacing: .14em;
}
.ribbon span[aria-hidden] { color: var(--yellow); }

/* sections */
.section { padding: 96px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 44px; }
.section-heading > div { max-width: 720px; }
.section-heading > p { max-width: 38ch; color: var(--muted); }
.pill { font: .72rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; border: 1.5px solid currentColor; border-radius: 99px; padding: 9px 14px; white-space: nowrap; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillars article { background: #fff; border: 1.5px solid var(--ink); border-radius: 8px; padding: 28px; }
.pillars span { font: .8rem var(--mono); color: var(--muted); display: block; margin-bottom: 18px; }
.pillars h3 { margin-bottom: 12px; }
.pillars p { color: var(--muted); }

/* slice */
.slice { background: linear-gradient(180deg, var(--sky) 0%, var(--dusk) 38%, var(--pink) 62%, var(--violet) 86%, var(--night) 100%); padding: 96px 0 120px; }
.slice .eyebrow { color: var(--ink); }
.slice-lede { max-width: 56ch; font-size: 1.1rem; margin: -18px 0 56px; }
.beats { list-style: none; margin: 0; padding: 0; display: grid; gap: 64px; }
.beat { display: grid; grid-template-columns: 1.35fr 1fr; gap: 44px; align-items: center; }
.beat:nth-child(even) { grid-template-columns: 1fr 1.35fr; }
.beat:nth-child(even) figure { order: 2; }
.beat figure img { border-radius: 8px; border: 2px solid var(--ink); box-shadow: 8px 8px 0 rgba(19, 16, 22, .85); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.beat-copy { background: rgba(251, 243, 238, .9); border-radius: 8px; padding: 26px 28px; backdrop-filter: blur(4px); }
.beat-copy h3 { font-size: 1.2rem; text-transform: none; letter-spacing: .01em; margin-bottom: 12px; }
.beat-copy p:last-child { color: var(--muted); }
.time { font: .74rem/1.9 var(--mono); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; color: var(--muted); }
.time span { background: var(--ink); color: var(--yellow); padding: 4px 7px; border-radius: 3px; margin-right: 8px; }
.beat:nth-child(n+6) .beat-copy { background: rgba(36, 26, 56, .88); color: var(--paper); }
.beat:nth-child(n+6) .beat-copy p, .beat:nth-child(n+6) .time { color: #d6cbe4; }

/* ending */
.ending { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.ending-art img { border-radius: 8px; border: 2px solid var(--ink); }
.ending h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 18px; }
.ending p:last-child { color: var(--muted); }
.ending h2 { color: var(--violet); }

/* world */
.world { background: var(--night); color: var(--paper); padding: 96px 0; }
.world .eyebrow { color: #b9a9cf; }
.cast { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; overflow: hidden; }
.cast article { background: var(--night); padding: 28px; }
.cast h3 { margin-bottom: 10px; }
.cast p { color: #c9bfd8; }
.cast article:nth-child(1) h3 { color: var(--paper); }
.cast article:nth-child(2) h3, .cast article:nth-child(4) h3 { color: var(--yellow); }
.cast article:nth-child(3) h3 { color: var(--pink); }
.cast article:nth-child(5) h3 { color: #fff; }
.cast article:nth-child(6) h3 { color: var(--glow); }

/* invite */
.invite { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; padding: 104px 0; }
.invite figure img { border-radius: 8px; border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--yellow); }
.invite h2 { margin-bottom: 16px; }
.invite p:not(.eyebrow) { color: var(--muted); margin-bottom: 28px; max-width: 44ch; }

.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 0 40px; border-top: 1px solid var(--line); font: .75rem var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.small-brand { font-size: .72rem; color: var(--ink); }
.small-brand .mark { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .invite .button { white-space: normal; }
  .hero, .beat, .ending, .invite { grid-template-columns: 1fr; gap: 28px; }
  .beat:nth-child(even) { grid-template-columns: 1fr; }
  .beat:nth-child(even) figure { order: 0; }
  .pillars, .cast { grid-template-columns: 1fr; }
  .section-heading { flex-direction: column; align-items: start; }
  .nav nav { display: none; }
  .hero { padding-top: 12px; }
  .key-art { transform: none; }
  .section, .world, .invite { padding: 64px 0; }
  .slice { padding: 64px 0 80px; }
  .beats { gap: 44px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
