:root{--cm-night:#0b1820;--cm-metal:#b6cdce;--cm-gold:#ffc17a}
.site-header{background:#0b1820ed;backdrop-filter:blur(12px);border-bottom:1px solid #80999d55}
.hero{background-color:var(--cm-night)}
.hero .cm-film{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% center;z-index:-3;pointer-events:none}
.hero .hero-shade{background:linear-gradient(90deg,#08151cf5,#11242fb5 43%,#16253033),linear-gradient(0deg,#09151ae8,transparent 48%)}
.hero .hero-description,.projects .intro-aside,.studio .studio-description{font-size:1rem;line-height:1.65}
.hero h1>span:first-child{color:var(--cm-metal)}
.hero .outlined{color:#ffe1b8;-webkit-text-stroke:0}
.cm-control,.cm-game-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.65rem 1rem;border:1px solid #acbdbb;border-radius:3px;color:white;background:#101e25e8;font:inherit;cursor:pointer;text-decoration:none}
.cm-control{margin:.6rem}.cm-game-link{margin:.5rem}
.cm-control:focus-visible,.cm-game-link:focus-visible{outline:3px solid var(--cm-gold);outline-offset:3px}
#projects{background:#e5ece8;color:#192923}
#projects .game-card{border-radius:0 2.5rem 0 0;box-shadow:0 14px 36px #15252a29}
#studio{background:#162c35;color:#eff5f0}
#studio .studio-description,#studio .muted-title,#studio .dark-eyebrow{color:#c8d9d8}
#journal{background:#0c1922;color:#f0f5ed}
#journal details[open]{border-left:3px solid var(--cm-gold);padding-left:1rem}
#contact{background:#deebe6;color:#172a2b}
.site-footer{background:var(--cm-night)}
@view-transition{navigation:auto}
@media(prefers-reduced-motion:no-preference){
  html{scroll-behavior:smooth;scroll-padding-top:5rem}
  .cm-enter{animation:cm-rise .55s ease-out both}
  ::view-transition-new(root){animation:cm-rise .3s ease-out both}
  @keyframes cm-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
}
@media(max-width:700px){.hero .cm-film{object-position:64% center}.cm-control{font-size:.9rem}.hero .hero-description{max-width:32ch}}
