:root { --accent: #346b42; --muted: #58647a; --line: #dfe4e9; }
.studio { font-size: 16px; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.studio a:focus-visible, .studio button:focus-visible, .screenshot-track:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.skip-link { position: absolute; top: -80px; left: 16px; padding: 12px 20px; background: white; z-index: 2; }
.skip-link:focus { top: 12px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; }
.studio-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 400 1.4rem/1.2 var(--serif); }
.studio-brand img { display: block; flex-shrink: 0; object-fit: contain; }
.site-header nav { display: flex; gap: 32px; }
.site-header nav a { text-decoration: none; padding-block: 12px; }
.intro { text-align: center; padding-block: 24px 64px; }
.intro-logo { width: 160px; height: 160px; object-fit: contain; display: block; margin: 0 auto 16px; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 600; margin: 0 0 16px; }
.intro h1 { font: 400 clamp(2.3rem, 5vw, 3.6rem)/1.12 var(--serif); letter-spacing: -.025em; margin: 0 0 24px; }
.studio-story { max-width: 720px; margin-inline: auto; color: var(--muted); line-height: 1.75; }
.studio-story p { margin: 0 0 12px; }
.games { scroll-margin-top: 24px; }
.games h2 { font: 400 2.2rem/1.2 var(--serif); letter-spacing: -.02em; margin: 0 0 36px; }
.games h2::after { content: ""; display: block; width: 56px; height: 2px; background: var(--accent); margin-top: 16px; }
.game + .game { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 48px; }
.game-overview { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 24px; }
.game-icon { width: 112px; height: 112px; border-radius: 24px; }
.game-info h3 { font: 400 2rem/1.2 var(--serif); margin: 0 0 8px; letter-spacing: -.02em; }
.platform { color: var(--muted); margin: 0 0 12px; font-size: .88rem; }
.game-description { max-width: 760px; color: var(--muted); margin: 0 0 10px; line-height: 1.65; }
.purchase-note { font-size: .8rem; color: var(--muted); margin: 0 0 20px; }
.stores { display: flex; flex-wrap: wrap; gap: 16px; }
.store-status { display: flex; flex-direction: column; gap: 6px; }
.store-badge { display: flex; align-items: center; gap: 12px; min-width: 164px; height: 48px; padding: 10px 16px; border: 1px solid var(--ink); border-radius: 7px; font-size: 1rem; font-weight: 500; line-height: 1; }
.store-badge svg { width: 24px; height: 26px; }
.store-badge.apple { background: #10131a; color: #fff; }
.store-note { color: var(--muted); font-size: .72rem; }
.screenshot-gallery { margin-top: 32px; }
.gallery-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.gallery-heading h4 { font: 400 1.3rem/1.3 var(--serif); margin: 0; }
.gallery-controls { display: flex; gap: 8px; }
.gallery-controls[hidden] { display: none; }
.gallery-controls button { width: 44px; height: 44px; border: 1px solid #b9c2ce; background: white; color: var(--ink); border-radius: 50%; font-size: 1.2rem; cursor: pointer; }
.gallery-controls button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.gallery-controls button:disabled { opacity: .35; cursor: default; }
.screenshot-track { display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-color: #6b9976 #edf0f2; padding-bottom: 20px; }
.screenshot-track figure { flex: 0 0 280px; min-width: 0; margin: 0; scroll-snap-align: start; }
.screenshot-track img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; border-radius: 10px; background: #f4f6f2; }
.screenshot-track figcaption { font: 400 1rem/1.4 var(--serif); margin-top: 10px; }
.gallery-hint { color: var(--muted); font-size: .75rem; margin: 8px 0 0; }
.more-games { text-align: center; font: 400 1.25rem/1.5 var(--serif); margin: 48px 0; }
.site-footer { border-top: 1px solid var(--line); padding-block: 24px 32px; display: flex; justify-content: space-between; gap: 24px; }
.site-footer .studio-brand { font-size: 1rem; }
.copyright { font-size: .72rem; color: var(--muted); margin: 8px 0 0; }
.footer-links { font-size: .8rem; color: var(--muted); display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links nav { display: flex; gap: 24px; }
@media (max-width: 640px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { padding-block: 16px; gap: 12px; }
  .site-header .studio-brand { font-size: 1rem; gap: 8px; }
  .site-header .studio-brand img { width: 40px; height: 40px; }
  .site-header nav { gap: 16px; font-size: .8rem; }
  .intro { padding-block: 16px 40px; }
  .intro-logo { width: 128px; height: 128px; }
  .studio-story { text-align: left; font-size: .92rem; }
  .game-overview { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
  .game-icon { width: 72px; height: 72px; border-radius: 16px; }
  .game-info { display: contents; }
  .game-info h3 { grid-column: 2; grid-row: 1; font-size: 1.7rem; align-self: start; margin-top: 4px; }
  .platform { grid-column: 2; grid-row: 1; align-self: end; margin: 0; font-size: .75rem; }
  .game-description, .purchase-note, .stores { grid-column: 1 / -1; margin: 0; }
  .game-description { font-size: .92rem; }
  .stores { gap: 12px; }
  .store-badge { min-width: 0; font-size: .88rem; padding-inline: 12px; gap: 8px; }
  .screenshot-track figure { flex-basis: min(260px, 76vw); }
  .screenshot-track { gap: 16px; }
  .site-footer { flex-direction: column; }
  .footer-links { align-items: flex-start; }
}
@media (max-width: 360px) { .site-header { flex-wrap: wrap; } .site-header nav { margin-left: 48px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
