:root {
  --paper: #fff7e8;
  --cream: #fcedcc;
  --ink: #111341;
  --cobalt: #0007c9;
  --gold: #fbc902;
  --red: #f44205;
  --body: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  --display: Georgia, "Times New Roman", serif;
  color-scheme: light;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 1.0625rem/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #ed4307; outline-offset: 5px; }
.hero a:focus-visible, .site-footer a:focus-visible { outline-color: var(--gold); }
.wrap { width: min(100% - clamp(2.5rem, 9vw, 9rem), 75rem); margin-inline: auto; }
.skip-link { position: absolute; z-index: 8; inset-block-start: .5rem; inset-inline-start: .75rem; transform: translateY(-180%); background: var(--paper); color: var(--ink); padding: .55rem 1rem; }
.skip-link:focus { transform: none; }
.site-header { background: var(--paper); }
.header-inner { min-height: 4.9rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; color: inherit; min-width: 4.25rem; }
.brand img { width: 4.4rem; height: 3.25rem; object-fit: contain; }
.site-nav, .footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(.72rem, 3vw, 2.25rem); }
.site-nav a, .footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .94rem; font-weight: 650; color: inherit; text-decoration: none; }
.site-nav a:hover, .footer-links a:hover { text-decoration: underline; }
.hero { color: var(--cream); background-color: var(--cobalt); background-image: linear-gradient(90deg,rgba(3,10,125,.13),transparent 70%),url("/assets/paper-scene.webp"); background-position: center; background-size: cover; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; min-height: min(40rem, 80vw); gap: 1.75rem; }
.hero-copy { position: relative; z-index: 1; padding-block: clamp(3rem, 5.8vw, 6rem); }
.hero h1, .section-head h2, .tips h2 { font-family: var(--display); font-weight: 400; margin: 0; }
.hero h1 { font-size: clamp(4.1rem, 7.75vw, 7.1rem); line-height: .94; letter-spacing: -.068em; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { font-weight: 400; color: var(--gold); }
.hero p { max-width: 29rem; font-size: clamp(1.05rem,1.6vw,1.27rem); color: #fff6e6; margin: 1.55rem 0 1.8rem; line-height: 1.55; }
.hero-art { justify-self: center; width: min(100%, 32rem); transform: rotate(4deg); }
.hero-art img { width: 100%; }
.button { display: inline-flex; min-height: 3.05rem; align-items: center; justify-content: center; border-radius: 100vw; padding: .72rem 1.48rem; background: var(--cream); color: var(--ink); font-size: .97rem; font-weight: 750; line-height: 1.25; text-decoration: none; }
.button:hover { background: var(--gold); }
.game-section { padding-block: clamp(3.8rem, 7vw, 6rem) clamp(3rem, 6vw, 5.25rem); scroll-margin-top: 1.5rem; }
.section-head { display: grid; gap: 2rem; grid-template-columns: .92fr 1.08fr; align-items: end; margin-bottom: 2.2rem; }
.context { margin: 0 0 .35rem; font-size: .9rem; font-weight: 700; color: var(--cobalt); }
.section-head h2 { font-size: clamp(3.7rem, 7.1vw, 6.6rem); line-height: 1; letter-spacing: -.075em; }
.game-intro { max-width: 35rem; margin-block: 0 .25rem; font-size: clamp(1rem,1.44vw,1.18rem); }
.game-facts { display: flex; gap: 0; flex-wrap: wrap; padding: 0; list-style: none; border-block: 1px solid #11134138; margin: 0 0 2.15rem; }
.game-facts li { display: inline-flex; align-items: center; gap: .65rem; min-height: 3.2rem; padding-inline-end: clamp(1.2rem,4.5vw,4.9rem); font-weight: 650; font-size: .94rem; }
.game-facts li::before { content: ""; width: .45rem; height: .45rem; flex: none; border-radius: 2px; background: var(--cobalt); }
.game-facts li:nth-child(2)::before { background: var(--red); border-radius: 50%; }
.game-facts li:nth-child(3)::before { background: #af7900; transform: rotate(45deg); }
.gallery { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1rem, 2.8vw, 2.25rem); }
.theme { margin: 0; min-width: 0; }
.stage { overflow: hidden; position: relative; isolation: isolate; display: grid; place-items: center; height: clamp(14rem,30vw,26rem); border-radius: .85rem; }
.stage::before, .stage::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.royal-stage { background: #d2cbfc; }
.royal-stage::before { width: 145%; height: 68%; border-radius: 50%; background: #b6aaf3; transform: rotate(-19deg); top: 38%; }
.royal-stage::after { width: 147%; height: 62%; border-radius: 50%; border: clamp(1rem,4vw,3.5rem) solid #e1dbff; transform: rotate(-19deg); top: -33%; }
.wood-stage { background: #fbc353; }
.wood-stage::before { width: 140%; height: 131%; top: 14%; border-radius: 50%; border: clamp(1.5rem,6vw,5rem) solid #ef9d38; transform: rotate(-28deg); }
.wood-stage::after { width: 121%; height: 145%; top: -101%; border-radius: 50%; background: #ffdb78; transform: rotate(-28deg); }
.stage img { position: absolute; top: 50%; left: 50%; height: 79%; width: auto; max-width: 76%; object-fit: contain; border-radius: .55rem; box-shadow: .72rem .83rem 1.7rem #1d11283d; }
.royal-stage img { transform: translate(-50%, -50%) rotate(-5deg); }
.wood-stage img { transform: translate(-50%, -50%) rotate(5deg); }
.stage:hover img { filter: brightness(1.06); }
.theme figcaption { margin-block-start: .85rem; display: flex; gap: .85rem; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
.theme figcaption strong { font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem,2.4vw,2.05rem); line-height: 1.15; letter-spacing: -.04em; }
.theme figcaption span { font-size: .9rem; }
.tips { display: grid; align-items: center; grid-template-columns: .72fr 1.3fr; gap: clamp(1.4rem,4vw,4.5rem); padding: clamp(1.4rem,3.3vw,2.9rem); background: #f3e3bd; border-radius: .85rem; margin-top: clamp(3rem,5.6vw,5rem); }
.tips img { width: 100%; aspect-ratio: 1.88; object-fit: cover; border-radius: .5rem; }
.tips h2 { font-size: clamp(2rem,3.7vw,3.4rem); line-height: 1.06; letter-spacing: -.05em; }
.tips p { margin: .65rem 0 .7rem; max-width: 37rem; }
.tips a { font-weight: 700; }
.site-footer { background: var(--ink); color: var(--cream); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding-block: 1.8rem; }
.footer-inner .brand { min-width: 0; }
.footer-inner .brand img { width: 4rem; height: 3rem; }
.copyright { margin: 0; color: var(--cream); font-size: .89rem; }
.legal-main { padding-block: clamp(3rem,8vw,7rem); }
.legal-main h1,.legal-main h2 { color: var(--ink); font-family: var(--display); font-weight: 400; line-height: 1.15; }
.legal-main h1 { font-size: clamp(3rem,6vw,5.25rem); letter-spacing: -.05em; }
.legal-main h2 { font-size: clamp(1.7rem,3vw,2.5rem); margin-top: 1.7em; }
.legal-main p,.legal-main ul,.legal-main ol { max-width: 69ch; }
@media (max-width: 800px) {
  .hero-inner { min-height: 27rem; }
  .footer-inner { gap: .7rem 1.35rem; }
  .copyright { flex-basis: 100%; }
  .tips { grid-template-columns: .7fr 1.3fr; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 4.25rem; gap: .5rem; }
  .brand { min-width: 3.4rem; }
  .brand img { width: 3.45rem; height: 2.65rem; }
  .site-nav { gap: .85rem; }
  .site-nav a { font-size: .89rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding-block: 2.9rem .15rem; }
  .hero h1 { font-size: clamp(3.7rem,13vw,5.3rem); }
  .hero p { margin: 1rem 0 1.2rem; max-width: 27rem; }
  .hero-art { justify-self: end; width: min(67%, 15.6rem); margin-block: -.35rem .7rem; margin-inline-end: 2%; }
  .section-head { display: block; margin-bottom: 1.35rem; }
  .game-intro { margin: 1.1rem 0 0; }
  .game-facts { margin-bottom: 1.6rem; flex-wrap: wrap; }
  .game-facts li { padding-inline-end: 1.15rem; min-height: 2.7rem; font-size: .88rem; gap: .5rem; }
  .gallery { grid-template-columns: 1fr; gap: 1.8rem; }
  .stage { height: clamp(14rem,72vw,22rem); }
  .theme figcaption { margin-block-start: .6rem; }
  .tips { grid-template-columns: 1fr; gap: 1.15rem; }
  .tips img { max-width: 25rem; }
  .footer-inner { padding-block: 1.25rem; }
  .footer-links { column-gap: 1rem; }
}
@media (max-width: 355px) {
  .wrap { width: calc(100% - 1.6rem); }
  .site-nav { gap: .55rem; }
  .game-facts li { padding-inline-end: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
