/* Layout adapters for the shared theme. Palette and timings live in royal-tokens.css. */
:root{color-scheme:light;--bg:var(--royal-background);--ink:var(--royal-ink);--muted:var(--royal-muted);--gold:var(--royal-gold);--line:var(--royal-edge);--red:var(--royal-hover);--paper:var(--royal-surface)}
body{font-size:16px;background:var(--bg);color:var(--ink)}
.header,.footer,.address-strip{background:var(--royal-surface);color:var(--ink);border-color:var(--line)}
.header{min-height:88px}.header .brand img{width:265px;height:53px}.brand small{color:var(--muted)}
.hero-shade{background:linear-gradient(90deg,#131b231c,#131b2300),linear-gradient(0deg,var(--bg),transparent 12%)}
.hero-copy{margin:50px 6%;padding:32px 34px;max-width:660px;background:var(--royal-surface);border:18px solid transparent;border-image:url('/assets/royal-panel.png') 145 fill / 22px / 0 stretch;box-shadow:0 8px 26px #17233424}
.hero-copy h1{font-size:clamp(36px,4vw,60px);color:var(--ink)}.hero h1 em,.page-top h1 em{color:var(--gold)}
.hero-copy .lead,.intro{color:var(--muted);font-size:16px}.hero-copy .actions{margin-top:22px;gap:12px}.hero-copy .eyebrow{margin-bottom:12px}
.button{min-height:44px;padding:10px 19px;border-color:var(--line);background:var(--royal-surface);color:var(--ink);box-shadow:inset 0 1px #fff8;transition:background var(--royal-hover-ms),border-color var(--royal-hover-ms),box-shadow var(--royal-hover-ms)}
.button:hover{background:var(--royal-hover);border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--royal-metal)}
.primary{background:var(--royal-hover);color:var(--ink);border-color:var(--royal-metal)}.primary:hover,.secondary:hover,.ghost:hover{background:#cec0a4;color:var(--ink)}
.feature,.parchment,.download-card,.news,.spotlight{background:var(--royal-surface);border:15px solid transparent;border-image:url('/assets/royal-panel.png') 145 fill / 18px / 0 stretch;box-shadow:0 4px 14px #19222b0d;color:var(--ink)}
.feature{padding:20px 14px}.feature h3{font-size:24px}.feature p{min-height:76px}.feature a{display:inline-block;padding:6px 0}
.parchment{padding:30px}.parchment h2{font-size:30px}.steps p,.news p,.download-card ol,.download-card p,.spotlight p,.details p{color:var(--muted)}
.news-copy{padding:24px}.news-copy h2,.download-card h2{font-size:28px}.news-grid h2{font-size:24px}.news+.news{margin-top:24px}
.spotlight>div{padding:26px}.spotlight img{min-height:250px}.spotlight:hover{border-color:transparent}
.download-card{padding:24px}.tag{border-color:var(--line)}.platform-icon,.steps li:before,.parchment .eyebrow{color:var(--gold)}
.toast{background:var(--royal-surface);color:var(--ink);border:1px solid var(--line);box-shadow:0 4px 16px #1b243b22}
.page-top{animation:royal-appear var(--royal-open-ms) ease-out}.three-grid{gap:22px}
nav a{transition:color var(--royal-hover-ms),border-color var(--royal-hover-ms)}
@keyframes royal-appear{from{opacity:.3}to{opacity:1}}
@media(max-width:850px){.hero{min-height:540px}.hero-copy{margin:32px 5%;padding:22px;max-width:600px}.hero-shade{background:linear-gradient(0deg,var(--bg),transparent 12%)}.three-grid{gap:18px}.header .brand img{width:245px;height:49px}}
@media(max-width:420px){.hero-copy{margin:24px 14px;padding:18px 10px;border-width:12px}.hero-copy h1{font-size:35px}.hero-copy .lead{font-size:15px}.hero-copy .button{font-size:13px}.feature{padding:18px 10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Readable desktop navigation and an on-demand film, shared ivory identity. */
.header{gap:24px}.header .brand img{width:300px;height:60px;object-fit:contain}.header nav{gap:12px}.header nav a{font-size:17px;line-height:1.35;font-weight:600;color:#293846;padding:12px 15px;border-bottom:2px solid transparent}.header nav a:hover,.header nav a:focus-visible{color:#1b2b3a;background:#e4dccb;border-bottom-color:#805e2c;outline-offset:4px}.header nav a[aria-current=page]{color:#503816;background:#e5dbc4;border-bottom-color:#805e2c}.header nav .nav-download{background:#293846;color:#fff6e5;border:1px solid #293846}.header nav .nav-download:hover{background:#3b4c5d;color:#fff6e5}.brand small{letter-spacing:.12em;color:#535c65}
.trailer-spotlight{margin:0 0 46px}.trailer-spotlight img{aspect-ratio:16/9;object-fit:contain;background:#14202b;height:auto;min-height:0}.trailer-page{max-width:1200px}.trailer-page h1{font-size:clamp(34px,5vw,60px)}.trailer-player{position:relative;aspect-ratio:16/9;background:#14202b;border:1px solid #a6854c;box-shadow:0 8px 28px #17233420;margin:30px 0 14px}.trailer-player video{display:block;width:100%;height:100%;object-fit:contain}.trailer-start{position:absolute;inset:0;width:100%;border:0;background:linear-gradient(transparent 45%,#111b2ae0);display:flex;align-items:flex-end;justify-content:center;gap:16px;padding:32px;color:#fff6e5;cursor:pointer;font:600 24px 'SkarCraft Serif',Georgia,serif}.trailer-start[hidden]{display:none}.trailer-start:hover .play-disc,.trailer-start:focus-visible .play-disc{background:#e5cf9e;color:#263647}.trailer-start:focus-visible{outline:3px solid #cfaa62;outline-offset:4px}.trailer-start small{display:block;font-size:14px;font-weight:400;margin-top:4px}.play-disc{border:1px solid #e1c181;background:#14202bb3;border-radius:50%;width:58px;height:58px;display:grid;place-items:center;font-size:34px}.film-caption{font-size:12px;color:#616b72;margin-top:24px}.trailer-page .actions{display:flex;gap:12px;flex-wrap:wrap}#trailer-feedback:empty{display:none}
@media(max-width:850px){.header{gap:10px}.header .brand img{width:265px;height:53px}.header nav{gap:5px;flex-wrap:wrap;justify-content:center}.header nav a{font-size:15px;padding:10px 12px}.trailer-start{padding:16px;font-size:19px}.play-disc{width:46px;height:46px;font-size:28px}}
@media(max-width:420px){.header nav{gap:2px}.header nav a{font-size:13px;padding:10px 8px}.trailer-start{padding:12px;font-size:16px}.trailer-start small{font-size:12px}}
