* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--wol-bg); color: var(--wol-text); font-family: var(--wol-font); font-size: 16px; line-height: 1.65; }
a { color: inherit; text-underline-offset: 5px; }
img, video { max-width: 100%; display: block; }
button, select { font: inherit; }
h1, h2, h3, p { margin: 0 0 24px; }
h1, h2, h3 { font-weight: 700; line-height: 1.1; }
h1 { font-size: clamp(34px, 4vw, 54px); letter-spacing: -.045em; }
h2 { font-size: clamp(27px, 2.7vw, 38px); letter-spacing: -.035em; }
h3 { font-size: clamp(25px, 2.3vw, 32px); letter-spacing: -.025em; }
p { max-width: 62ch; }
.site-header { display: flex; align-items: center; gap: 34px; min-height: 76px; padding: 12px max(6%, calc((100% - 1120px) / 2)); border-bottom: 1px solid var(--wol-border); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 17px; font-weight: 700; line-height: 1.15; white-space: nowrap; }
.brand b { display: block; font-weight: 700; }
.brand-mark { background: var(--wol-ivory); border-radius: 50%; padding: 3px; flex: none; }
.brand-mark img { width: 36px; height: 36px; }
.site-header nav { margin-left: auto; display: flex; gap: 32px; }
.site-header nav a { text-decoration: none; padding: 10px 0; font-size: 15px; }
.site-header nav a:hover, .site-header nav a[aria-current] { text-decoration: underline; }
.theme-picker { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--wol-muted); }
.theme-picker select { border: 1px solid var(--wol-border); background: var(--wol-bg); color: var(--wol-text); padding: 9px 22px 9px 10px; border-radius: 7px; min-height: 44px; max-width: 112px; }
.skip { position: fixed; top: -100px; left: 16px; background: var(--wol-bg); padding: 12px; z-index: 20; }
.skip:focus { top: 8px; }
a:focus-visible, select:focus-visible, summary:focus-visible, video:focus-visible { outline: 3px solid var(--wol-accent); outline-offset: 5px; }
.eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--wol-muted); margin-bottom: 24px; }
.lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; padding: 12px 20px; background: var(--wol-text); color: var(--wol-bg); border: 1px solid var(--wol-text); border-radius: 8px; text-decoration: none; font-size: 15px; font-weight: 600; transition: transform .2s, opacity .2s; }
.button:hover { transform: translateY(-3px); opacity: .88; }
.button span { font-size: 22px; }
.button.secondary { background: transparent; color: var(--wol-text); flex-shrink: 0; }
.text-link { display: inline-block; border-bottom: 1px solid currentColor; padding: 5px 0; text-decoration: none; font-weight: 600; color: var(--wol-accent); transition: transform .2s; }
.text-link:hover { transform: translateX(4px); }
.studio-hero { position: relative; overflow: hidden; isolation: isolate; min-height: 500px; height: auto; }
.world-art { position: absolute; inset: 0; z-index: -1; background-image: url('/assets/brand/puzzle-world.png'); background-size: cover; background-position: center 70%; }
:root[data-theme="dark"] .world-art { background-image: url('/assets/brand/puzzle-world-dark.png'); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .world-art { background-image: url('/assets/brand/puzzle-world-dark.png'); } }
.hero-inner { position: relative; display: flex; align-items: flex-start; padding: 52px 0 80px; min-height: 500px; max-width: 1120px; width: 88%; margin: auto; }
.hero-copy { z-index: 2; width: 54%; animation: enter .7s ease both; }
.hero-copy h1 { font-size: clamp(44px, 5vw, 68px); letter-spacing: 0; line-height: 1.02; margin-bottom: 24px; }
.studio-tagline { font-size: clamp(20px, 2vw, 27px); line-height: 1.4; margin-bottom: 30px; }
.studio-mascot { position: absolute; width: min(29vw, 310px); height: auto; right: 5%; top: 12%; transform: rotate(5deg); animation: mascot-enter 1s ease both; }
.hero-footnote { position: absolute; bottom: 26px; left: 6%; margin: 0; font-size: 12px; padding: 7px 12px; background: var(--wol-bg); border-radius: 4px; }
.section { padding: 64px max(6%, calc((100% - 1120px) / 2)); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 30px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > div { max-width: 600px; }
.game-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6%; align-items: center; padding: 20px 0 32px; }
.game-row + .game-row { border-top: 1px solid var(--wol-border); padding-top: 40px; }
.game-art { display: block; width: 100%; max-width: 520px; align-self: center; overflow: hidden; border-radius: 12px; }
.game-art img { width: 100%; height: auto; object-fit: contain; transition: opacity .2s; }
.game-art:hover img { opacity: .92; }
.game-summary h3 a { text-decoration: none; }
.game-summary p { margin-bottom: 22px; }
.game-summary .eyebrow { margin-bottom: 16px; }
.availability { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--wol-muted); }
.status-dot { width: 6px; height: 6px; background: var(--wol-accent); border-radius: 50%; }
.separator { padding: 0 4px; }
.studio-note { background: var(--wol-surface); }
.studio-note h2 { max-width: 750px; }
.studio-note p.lead { max-width: 760px; margin-bottom: 0; }
.contact { border-top: 1px solid var(--wol-border); }
.contact .section-heading { margin-bottom: 0; }
.contact .section-heading > div { max-width: 420px; }
.site-footer { border-top: 1px solid var(--wol-border); padding: 36px max(6%, calc((100% - 1120px) / 2)) 24px; display: flex; gap: 30px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.footer-tagline { margin: 18px 0 0; font-size: 14px; color: var(--wol-muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; }
.site-footer small { width: 100%; font-size: 12px; color: var(--wol-muted); }
.page-intro { padding-bottom: 40px; }
.page-intro h1 { max-width: 900px; }
.game-collection { padding-top: 0; }
.breadcrumb { display: inline-block; font-size: 14px; margin-bottom: 42px; text-decoration: none; color: var(--wol-accent); }
.breadcrumb:hover { text-decoration: underline; }
.game-intro { padding-top: 42px; padding-bottom: 0; }
.game-title { display: flex; align-items: center; gap: 50px; justify-content: space-between; margin-bottom: 28px; }
.game-title h1 { max-width: 830px; font-size: clamp(34px, 4vw, 52px); }
.game-title .eyebrow { margin-bottom: 18px; }
.game-banner { display: block; width: 100%; max-width: 840px; height: auto; object-fit: contain; border-radius: 12px; margin: 0 auto; }
.gameplay { display: grid; grid-template-columns: minmax(0,1fr) 240px; gap: 9%; align-items: center; max-width: none; margin: auto; scroll-margin-top: 24px; }
.gameplay h2 { max-width: 650px; }
.gameplay video { width: 100%; max-width: 240px; height: auto; object-fit: contain; border-radius: 14px; background: #102825; }
.detail-icon { border-radius: 20px; width: 100%; max-width: 200px; height: auto; justify-self: center; }
.game-utility { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; color: var(--wol-accent); margin-top: 30px; }
.screenshots { background: var(--wol-surface); }
.screenshot-grid { display: grid; grid-template-columns: repeat(4,minmax(0,210px)); gap: 24px; margin-top: 30px; justify-content: center; }
figure { margin: 0; }
.screenshot-grid img { width: 100%; max-width: 210px; height: auto; object-fit: contain; border-radius: 10px; }
figcaption { font-size: 13px; margin-top: 14px; }
.store-links { display: flex; flex-wrap: wrap; gap: 14px; margin: 22px 0; }
.prose { max-width: 870px; padding: 52px 28px 72px; margin: auto; }
.prose h1 { font-size: clamp(34px,4vw,48px); overflow-wrap: break-word; }
.prose h2 { font-size: 25px; margin: 36px 0 16px; }
.prose p { max-width: none; }
.date { font-size: 13px; color: var(--wol-muted); }
.email { overflow-wrap: anywhere; }
.resource-list { list-style: none; padding: 0; margin: 24px 0; }
.resource-list li { border-bottom: 1px solid var(--wol-border); }
.resource-list a { display: flex; align-items: center; gap: 18px; padding: 22px 0; text-decoration: none; font-weight: 600; }
.resource-list a:hover { color: var(--wol-accent); }
.resource-list a span { margin-left: auto; }
.resource-list img { border-radius: 12px; }
details { border-bottom: 1px solid var(--wol-border); padding: 20px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 16px 0 0; }
.reveal.arrived { animation: enter .65s ease both; }
@keyframes enter { from { opacity: .3; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes mascot-enter { from { opacity: 0; transform: translateY(24px) rotate(0); } to { opacity: 1; transform: translateY(0) rotate(5deg); } }

@media(max-width:1000px) { .hero-copy { width: 59%; } .hero-copy h1 { font-size: 60px; } .studio-mascot { right: 2%; top: 18%; width: 30%; } .game-row { gap: 5%; grid-template-columns: 1fr 1fr; } .gameplay { gap: 7%; } .theme-picker > span { display: none; } }
@media(max-width:700px) {
 .site-header { padding: 13px 5%; gap: 14px; min-height: 72px; flex-wrap: wrap; }
 .brand { font-size: 15px; gap: 8px; }.brand-mark img { width: 34px; height: 34px; }
 .site-header nav { gap: 18px; }.site-header nav a { font-size: 14px; }
 .theme-picker { margin-left: auto; }.theme-picker select { max-width: 92px; padding-right: 5px; font-size: 12px; }
 .studio-hero { height: auto; min-height: 0; }.hero-inner { padding: 32px 0 170px; min-height: 550px; }
 .hero-copy { width: 100%; }.hero-copy h1 { font-size: clamp(42px,9vw,56px); }.studio-tagline { font-size: 21px; }
 .studio-mascot { top: auto; bottom: 22px; right: 2%; width: 170px; }.world-art { background-size: auto 100%; background-position: 68% bottom; }
 .hero-footnote { bottom: 20px; font-size: 11px; }
 .section { padding: 44px 6%; }.section-heading { display: block; margin-bottom: 24px; }.section-heading > .text-link { margin-top: 24px; }
 .game-row { grid-template-columns: 1fr; gap: 26px; padding: 20px 0 32px; }.game-art { max-width: 520px; }.game-summary { max-width: 560px; }
 .contact .section-heading > div { margin-top: 28px; }.game-collection { padding-top: 0; }.page-intro { padding-bottom: 24px; }
 .game-intro { padding-top: 28px; padding-bottom: 0; }.breadcrumb { margin-bottom: 26px; }.game-title { display: block; }.game-title h1 { font-size: clamp(32px,7vw,42px); }.game-title > .button { margin: 6px 0 10px; }
 .game-banner { border-radius: 10px; }.gameplay { grid-template-columns: 1fr; gap: 30px; }.gameplay video { width: min(230px,100%); justify-self: center; }.detail-icon { width: min(180px,100%); justify-self: center; }
 .screenshot-grid { grid-template-columns: repeat(2,minmax(0,180px)); gap: 24px 16px; }.prose { padding-top: 45px; }.site-footer { padding: 40px 6%; }.site-footer nav { gap: 20px; }
}
@media(max-width:420px) { .site-header { column-gap: 12px; }.site-header .brand { font-size: 14px; }.site-header nav { gap: 12px; }.site-header .brand-mark img { width: 28px; height: 28px; }.theme-picker select { max-width: 78px; }.hero-inner { padding-top: 28px; min-height: 530px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*:before,*:after { animation:none!important; transition:none!important; } }

/* A game can bring its own world into the shared studio shell. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.game-world[data-game-theme="water-path"] {
 --wol-bg: #fbf3e4; --wol-surface: #f0e3ca; --wol-text: #49311e;
 --wol-muted: #70543a; --wol-accent: #17617a; --wol-border: #c4b091;
 color: var(--wol-text); background: var(--wol-bg);
}
:root[data-theme="dark"] .game-world[data-game-theme="water-path"] {
 --wol-bg: #241c17; --wol-surface: #33271e; --wol-text: #fff1d5;
 --wol-muted: #d8bd98; --wol-accent: #8bd2e6; --wol-border: #725a40;
}
@media(prefers-color-scheme:dark) {
 :root:not([data-theme="light"]) .game-world[data-game-theme="water-path"] {
  --wol-bg: #241c17; --wol-surface: #33271e; --wol-text: #fff1d5;
  --wol-muted: #d8bd98; --wol-accent: #8bd2e6; --wol-border: #725a40;
 }
}
.burrow-intro { background: var(--wol-surface); padding-top: 20px; padding-bottom: 26px; border-bottom: 3px solid var(--wol-accent); }
.burrow-intro .breadcrumb { margin-bottom: 16px; }
.burrow-hero { max-width: 900px; margin: 0 auto; text-align: center; }
.burrow-copy p { margin-left: auto; margin-right: auto; }
.burrow-copy .store-links { justify-content: center; }
.burrow-copy .eyebrow { margin-bottom: 10px; }
h1.illustrated-title { margin: 0 0 12px; line-height: 1; }
.illustrated-title img { display: block; width: min(60vw, 460px); height: auto; object-fit: contain; margin: 0 auto; }
.burrow-copy .lead { max-width: 52ch; font-size: 23px; line-height: 1.4; margin-bottom: 12px; font-weight: 600; }
.burrow-invitation { font-size: 15px; max-width: 60ch; color: var(--wol-muted); margin-bottom: 16px; }
.burrow-copy .availability { margin: 18px auto 0; justify-content: center; }
.game-world[data-game-theme="water-path"] .button { background: var(--wol-accent); color: var(--wol-bg); border-color: var(--wol-accent); }
.puzzle-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; padding-top: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--wol-border); }
.puzzle-step h2 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 12px; }
.puzzle-step p { font-size: 15px; margin: 0; }
.step-number { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--wol-accent); margin-bottom: 12px; }
.game-world[data-game-theme="water-path"] .gameplay { padding-top: 48px; padding-bottom: 48px; }
.game-world[data-game-theme="water-path"] .gameplay video { border: 3px solid var(--wol-border); }
.game-world[data-game-theme="water-path"] .screenshots img { border: 2px solid var(--wol-border); }
@media(max-width:700px) {
 .burrow-intro { padding-top: 22px; padding-bottom: 30px; }
 .illustrated-title img { width: 280px; }
 .burrow-copy .lead { font-size: 19px; }
 .burrow-invitation { font-size: 14px; }
 .burrow-copy .eyebrow { font-size: 9px; letter-spacing: .08em; }
 .burrow-copy .button { padding: 10px 14px; gap: 16px; font-size: 14px; }
 .puzzle-steps { grid-template-columns: 1fr; gap: 24px; }
 .puzzle-step { padding-left: 40px; position: relative; }
 .step-number { position: absolute; left: 0; top: 4px; }
 .puzzle-step h2 { font-size: 20px; margin-bottom: 8px; }
}
@media(max-width:420px) {
 .burrow-copy .lead { font-size: 18px; }
 .burrow-copy .availability { font-size: 11px; }
}
