
:root {
  --motion-button: 180ms;
  --motion-card: 240ms;
  --motion-reveal: 560ms;
  --motion-hero: 640ms;
  --motion-menu: 260ms;
  --ease-polish: cubic-bezier(.2,.7,.2,1);
}
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }

header { position:sticky; top:0; z-index:20; transition:background-color 180ms ease,box-shadow 180ms ease,border-color 180ms ease; }
header.is-scrolled { background:#091729; border-bottom-color:#c5a66055; box-shadow:0 4px 20px #0003; }
@supports (backdrop-filter:blur(8px)) {
  header.is-scrolled { background:#091729ed; backdrop-filter:blur(8px); }
  
  header:has(.mobilemenu[open]) { backdrop-filter:none; background:#091729; }
}
[id] { scroll-margin-top:96px; }
.skip { z-index:30; }
header a,header a:hover,footer a,footer a:hover,.home .postcopy h3 a,.home .postcopy h3 a:hover,.home .gold:hover,.home .store:hover,.lightbtn:hover { text-decoration:none; }
footer nav a { display:inline-flex; align-items:center; gap:6px; padding:6px 8px; border-radius:6px; font-weight:600; transition:color 180ms ease; }
footer nav a:focus-visible { color:#ffebc7; outline-color:#ffda72; }
footer nav a::after { content:"↗"; font-size:.8em; color:#e6c678; }
footer nav[aria-label="Footer"] a::after { content:"›"; }
footer nav { gap:3px 5px; }
footer span { flex-shrink:0; }
.social-links { gap:5px; }
.social-links a { min-height:44px; }
.social-links svg { flex-shrink:0; }
a:focus-visible,summary:focus-visible,button:focus-visible { outline:3px solid #fff0c3; outline-offset:4px; }


.hero .herotext h1 { font-size:clamp(32px,3.75vw,60px); line-height:1.03; }
.hero .herotext p { max-width:35ch; }
.home .sectiontitle p { max-width:67ch; margin:6px auto 0; line-height:1.4; }
.home .gold,.home .play-store { transition:transform var(--motion-button) var(--ease-polish),box-shadow var(--motion-button),background-color var(--motion-button); }
.home .actions .gold:active,.home .poster .play-store:active { transform:translateY(1px); }
.home .poster,.home .tiles article,.home .tiles img { transition-duration:var(--motion-card); transition-timing-function:var(--ease-polish); }


.home .play-store { display:inline-flex; align-items:center; justify-content:center; width:max-content; max-width:none; padding:8px; margin:1px -8px 0; border:0; border-radius:6px; background:transparent; line-height:0; }
.home .play-store .play-badge { display:block; height:32px; width:auto; max-width:none; aspect-ratio:238.96/70.87; border:0; border-radius:0; filter:none; transform:none; }
.home .play-store:hover { background:#ffffff09; border:0; }
.home .poster:has(.play-store:active) { transform:none; }
.home .postcopy p { margin:.55em 0 .25em; }


.founderband .byline { padding-block:24px; }
.founder-intro { color:#d7cbb8; font-size:clamp(12px,1.1vw,15px); letter-spacing:.02em; }
.byline .founder-intro { margin:0 0 10px; }
.byline b { display:block; margin-top:8px; line-height:1.35; font-size:clamp(14px,1.35vw,18px); }
.byline .founder-narrative { margin:14px 0 0; line-height:1.48; }
.signature { padding:24px 10%; }
.principle-label { display:block; text-transform:uppercase; letter-spacing:.12em; font-size:11px; font-weight:700; color:#e9ca83; margin-bottom:12px; }
.principle { font:italic clamp(21px,2.25vw,32px)/1.28 Georgia,serif; color:#fff2d9; }
.signature img { margin-top:22px; }


.mobilemenu summary { display:flex; align-items:center; justify-content:center; width:44px; height:44px; padding:0; border:1px solid #b698574d; border-radius:10px; background:#e8bc480c; }
.mobilemenu summary::-webkit-details-marker { display:none; }
.mobilemenu summary::after { display:none; }
.menu-glyph { width:19px; display:grid; gap:4px; }
.menu-glyph span { height:2px; background:#f5d58d; border-radius:1px; transition:transform var(--motion-menu),opacity var(--motion-menu); }
.mobilemenu[open] .menu-glyph span:nth-child(1) { transform:translateY(6px) rotate(45deg); }
.mobilemenu[open] .menu-glyph span:nth-child(2) { opacity:0; }
.mobilemenu[open] .menu-glyph span:nth-child(3) { transform:translateY(-6px) rotate(-45deg); }
.menu-shade { display:none; }
.mobilemenu:not([open]) .menu-panel { display:none; }
.mobilemenu[open] .menu-shade { display:block; position:fixed; inset:58px 0 0; background:#020710aa; }
.menu-panel { position:absolute; top:calc(100% + 8px); right:12px; left:12px; max-height:calc(100dvh - 86px); overflow:auto; overscroll-behavior:contain; padding:18px; background:#091729fa; border:1px solid #bc9c5859; border-radius:15px; box-shadow:0 15px 35px #0008; }
.menu-heading { color:#c7b994; font-size:12px; text-transform:uppercase; font-weight:650; letter-spacing:.11em; padding:0 12px 12px; }
.mobilemenu nav { position:static; width:auto; padding:0; border:0; box-shadow:none; border-radius:0; background:none; max-height:none; overflow:visible; }
.mobilemenu nav a { min-height:48px; padding:11px 14px; margin:3px 0; border:1px solid transparent; border-radius:8px; font-weight:600; text-decoration:none; }
.mobilemenu nav a::after { content:"›"; margin-left:auto; color:#d6bd80; }
.mobilemenu nav [aria-current="page"],.mobilemenu nav .sectionactive { background:#f0c15418; border-color:#e8c77744; color:#ffe8b6; }
.menu-close { margin-top:14px; justify-content:center; min-height:44px; font-size:14px; background:#ffffff06; border-color:#9d896348; border-radius:8px; }
html.menu-open,html.menu-open body { overflow:hidden; }

html.menu-open body { overflow:clip; }
@media (hover:hover) and (pointer:fine) {
  footer nav a:hover { color:#ffebc7; }
  .home .gold:hover { transform:translateY(-2px); box-shadow:0 6px 20px #e7b83326; }
  .home .play-store:hover { transform:translateY(-1px); }
  .mobilemenu nav a:hover { background:#ffffff08; }
}
@keyframes premium-reveal { from { opacity:.92; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
@keyframes logo-settle { from { opacity:.75; transform:translateY(10px) scale(.97); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes logo-breathe { from { transform:translateY(0) scale(1); } to { transform:translateY(-3px) scale(1.006); } }
@keyframes panel-in { from { opacity:.6; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion:no-preference) {
  .enter-once { animation:premium-reveal var(--motion-reveal) var(--ease-polish) both; }
  .gamemark.enter-once { animation:logo-settle var(--motion-hero) var(--ease-polish) both; transform-origin:center; }
  .gamemark.ambient { animation:logo-breathe 3s ease-in-out infinite alternate; transform-origin:center; animation-play-state:paused; }
  .gamemark.ambient.is-visible { animation-play-state:running; }
  .herotext h1.enter-once { animation-delay:80ms; }
  .herotext p.enter-once { animation-delay:140ms; }
  .herotext .actions.enter-once { animation-delay:190ms; }
  .tiles .enter-once:nth-child(2),.posters .enter-once:nth-child(2) { animation-delay:70ms; }
  .tiles .enter-once:nth-child(3) { animation-delay:140ms; }
  .mobilemenu[data-enhanced][open] nav { animation:none; transition:none; }
  .mobilemenu[data-enhanced][open] .menu-panel { animation:panel-in var(--motion-menu) var(--ease-polish) both; transition:opacity var(--motion-menu),transform var(--motion-menu); }
  .mobilemenu[data-enhanced].menu-closing nav { opacity:1; transform:none; pointer-events:auto; }
  .mobilemenu[data-enhanced].menu-closing .menu-panel { animation:none; opacity:0; transform:translateY(-6px); pointer-events:none; }
}
@media (min-width:701px) and (max-width:860px) {
  .hero .herotext h1 { font-size:28px; }
  .hero .herotext p { font-size:14px; max-width:31ch; }
  .hero .gamemark { margin-bottom:10px; }
  .founderband .byline { padding-inline:5%; }
  .signature { padding-inline:8%; }
}
@media (max-width:700px) {
  .hero .herotext h1 { font-size:clamp(32px,8.8vw,44px); }
  .hero .herotext p { font-size:16px; }
  .home .sectiontitle p { max-width:36ch; font-size:15px; }
  .founderband { display:grid; grid-template-columns:36% 64%; min-height:0; }
  .founderband .face { position:relative; inset:auto; grid-column:1; grid-row:1; width:100%; height:215px; object-position:50% 18%; }
  .founderband .byline { display:contents; }
  .founderband .identity { grid-column:2; grid-row:1; align-self:center; padding:16px 16px 16px 12px; border-left:2px solid #d9af45; }
  .founderband h2 { font-size:24px; }
  .founderband b { font-size:14px; }
  .founderband .founder-intro { font-size:12px; margin:0 0 10px; line-height:1.4; }
  .founderband .founder-narrative { grid-column:1/-1; margin:0; padding:20px; font-size:16px; line-height:1.5; }
  .founderband .signature { display:grid; grid-template-columns:minmax(0,1fr) 95px; align-items:center; gap:20px; grid-column:1/-1; padding:20px; margin:0; border-left:0; border-top:1px solid #bda26338; background:#f4ca5904; }
  .founderband .principle { font-size:22px; line-height:1.32; }
  .founderband .signature img { width:100%; margin:0; max-height:none; }
  .principle-label { font-size:10px; margin-bottom:10px; }
  footer { padding:22px 20px; gap:18px 12px; }
  footer nav { flex-basis:100%; gap:4px; padding-top:12px; border-top:1px solid #c3a56126; }
  footer nav a { min-height:40px; padding:7px 9px; font-size:13px; }
  footer span { font-size:11px; }
}
@media (prefers-reduced-motion:reduce) {
  .home *,header,header *,footer *,.back-to-top { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}


.back-to-top { position:fixed; right:max(20px,env(safe-area-inset-right)); bottom:calc(max(20px,env(safe-area-inset-bottom)) + var(--consent-control-clearance,0px)); z-index:15; display:grid; place-items:center; width:46px; height:46px; padding:0; color:#ffda72; background:#091729f5; border:1px solid #c5a66088; border-radius:50%; box-shadow:0 4px 16px #0005; cursor:pointer; opacity:0; visibility:hidden; transform:scale(.94); transition:opacity 180ms ease,transform 180ms ease,visibility 180ms; }
.back-to-top svg { width:22px; height:22px; }
.back-to-top.is-visible { opacity:1; visibility:visible; transform:scale(1); }
html.menu-open .back-to-top { visibility:hidden; opacity:0; pointer-events:none; }
@media (hover:hover) and (pointer:fine) { .back-to-top:hover { transform:translateY(-2px); color:#ffebc7; } }
@media (max-width:700px) { [id] { scroll-margin-top:74px; } .back-to-top { right:max(12px,env(safe-area-inset-right)); bottom:calc(max(12px,env(safe-area-inset-bottom)) + var(--consent-control-clearance,0px)); } }



@media (max-width:700px) {
  
  .hero .gamemark { left:0; right:0; margin-inline:auto; width:clamp(124px,35.5vw,212px); }
}


.byline .founder-cta { margin:16px 0 0; }
.byline .founder-cta a { display:inline-flex; align-items:center; min-height:44px; font-weight:700; text-decoration:none; }
.byline .founder-cta a:active { transform:translateY(1px); }
@media (max-width:700px) { .founderband .founder-cta { grid-column:1/-1; margin:0; padding:0 20px 20px; } }

footer { flex-wrap:wrap; }
footer .copyright { flex:1 0 100%; margin:2px 0 0; font-size:12px; line-height:1.4; color:#9fb0c3; }
