@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;550;600&display=swap');
:root {
  color-scheme: dark;
  --paper: #111211;
  --ink: #eeeeea;
  --muted: #9b9e98;
  --line: #30322e;
  --accent: #d992ed;
  --gutter: clamp(18px, 3vw, 52px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'DM Sans', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
a:hover { color: var(--accent); }
::selection { background: #633379; color: white; }
.skip { position: fixed; top: -80px; left: 20px; z-index: 20; padding: 15px; background: var(--ink); color: var(--paper); }
.skip:focus { top: 10px; }
.header { display: flex; justify-content: space-between; align-items: center; padding: 21px var(--gutter); min-height: 88px; }
.logo { display: inline-flex; }
.logo img { width: 43px; height: 54px; object-fit: contain; }
.header nav { display: flex; gap: 32px; font-size: 13px; }
.header nav a { padding: 10px 0; color: var(--muted); }
.header nav a:hover, .header nav [aria-current] { color: var(--ink); }
.header nav a { position: relative; }
.header nav [aria-current] { text-decoration: none; }
.header nav [aria-current]::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #c363ed; left: 50%; bottom: 0; transform: translateX(-50%); }
.intro, .page-intro { padding: 30px var(--gutter) 32px; }
h1 { font-size: clamp(40px, 4.7vw, 70px); font-weight: 500; letter-spacing: -.055em; line-height: 1.08; }
h2 { font-size: 28px; font-weight: 500; letter-spacing: -.035em; }
.page-intro p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 18px; }
.hero-art { display: block; margin: 0 var(--gutter); overflow: hidden; background: #5933a9; }
.hero-art > img { width: 100%; height: clamp(350px, 49vw, 760px); object-fit: cover; transition: transform .6s; }
.hero-art:hover > img { transform: scale(1.018); }
.section { padding: 60px var(--gutter); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.section-heading h2 { font-size: 23px; }
.text-link { font-size: 12px; color: var(--muted); padding: 8px 0; }
.game-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 18px; }
.image-wrap { overflow: hidden; background: #20221f; }
.image-wrap img { width: 100%; aspect-ratio: 1.65; object-fit: cover; transition: transform .5s; }
.game-card:hover img { transform: scale(1.025); }
.caption { display: flex; align-items: baseline; gap: 12px; margin-top: 11px; color: #c4c7bf; }
.caption h3 { font-size: 15px; font-weight: 400; }
.art-strip { margin: 0 var(--gutter) 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.art-strip-copy { grid-column: 1 / -1; }
.art-strip-copy .text-link { font-size: 23px; color: var(--ink); }
.art-strip > a { overflow: hidden; display: block; }
.art-strip img { width: 100%; aspect-ratio: 1.69; object-fit: contain; background: #1b1d19; transition: transform .5s; }
.art-strip > a:hover img { transform: scale(1.02); }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid var(--line); margin: 0 var(--gutter); padding: 27px 0; font-size: 11px; color: var(--muted); }
.footer > div { display: flex; gap: 25px; }
.project-index { display: flex; flex-wrap: wrap; gap: 12px 25px; margin: 0 var(--gutter) 42px; font-size: 11px; color: var(--muted); }
.project-list { padding: 0 var(--gutter); }
.project { margin-bottom: 60px; scroll-margin-top: 25px; }
.project-title { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.project-title h2 { margin-top: 6px; }
.eyebrow { font-size: 10px; color: var(--muted); }
.pill { font-size: 12px; padding: 11px 0; border-bottom: 1px solid #64685e; white-space: nowrap; }
.project-cover { display: block; width: 100%; border: 0; padding: 0; background: #20221f; cursor: zoom-in; overflow: hidden; }
.project-cover img { width: 100%; max-height: 760px; aspect-ratio: 1.85; object-fit: cover; }
.project-details { margin-top: 14px; }
.project-details > p { font-size: 12px; color: var(--muted); line-height: 1.6; margin: 18px 0; }
.screenshots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.screenshots button { border: 0; padding: 0; background: none; cursor: zoom-in; }
.screenshots img { width: 100%; aspect-ratio: 1.7; object-fit: cover; }
.art-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 18px; padding: 0 var(--gutter); }
.art-card { border: 0; padding: 0; background: none; text-align: left; cursor: pointer; min-width: 0; }
.art-picture { display: block; overflow: hidden; background: #1b1d19; }
.art-picture > img { width: 100%; height: auto; aspect-ratio: 1.69; object-fit: contain; transition: transform .4s; }
.art-card:hover img { transform: scale(1.025); }
.art-card .caption { font-size: 13px; }
.gallery-end { padding: 36px var(--gutter) 50px; text-align: right; }
.studio-image { margin: 0 var(--gutter); }
.studio-image > img { width: 100%; aspect-ratio: 2; object-fit: cover; }
.team-section { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; padding: 60px var(--gutter); }
.team-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.team-list > div:first-child { padding-top: 0; }
.team-list h3 { font-size: 16px; font-weight: 400; }
.team-list p { font-size: 11px; color: var(--muted); }
.careers { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; padding: 0 var(--gutter) 65px; }
.role-list a { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.role-list a:first-child { padding-top: 0; }
.lightbox { border: 1px solid var(--line); padding: 60px 20px 20px; width: min(1200px, 96vw); max-height: 94dvh; background: var(--paper); color: var(--ink); }
.lightbox::backdrop { background: #080908ed; }
.preview-image { width: 100%; height: 70dvh; object-fit: contain; }
.close-view { position: absolute; right: 12px; top: 8px; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; background: none; cursor: pointer; }
.close-view span { font-size: 40px; font-weight: 400; line-height: 1; }
.close-view:hover { color: var(--accent); }
.preview-open { overflow: hidden; }
@media (max-width: 800px) {
  .team-section, .careers { grid-template-columns: 1fr 2fr; gap: 30px; }
  .team-list > div { display: block; }
  .team-list p { margin-top: 7px; }
}
@media (max-width: 560px) {
  .header { min-height: 76px; padding-top: 16px; padding-bottom: 16px; }
  .logo img { width: 37px; height: 47px; }
  .header nav { gap: 24px; font-size: 12px; }
  .intro, .page-intro { padding-top: 20px; padding-bottom: 24px; }
  .hero-art > img { height: 380px; }
  .section { padding-top: 38px; padding-bottom: 38px; }
  .game-grid, .art-grid { grid-template-columns: 1fr; gap: 26px; }
  .art-strip { grid-template-columns: 1fr; gap: 14px; margin-bottom: 40px; }
  .project-index { gap: 12px 20px; margin-bottom: 30px; }
  .project-title { flex-wrap: wrap; }
  .project-title h2 { font-size: 26px; }
  .project { margin-bottom: 40px; }
  .project-cover img { aspect-ratio: 1.5; }
  .screenshots { gap: 10px; }
  .project-details { margin-top: 10px; }
  .team-section, .careers { grid-template-columns: 1fr; gap: 26px; padding-top: 38px; padding-bottom: 38px; }
  .careers { padding-top: 0; }
  .studio-image > img { aspect-ratio: 1.3; }
  .footer { font-size: 10px; gap: 15px; }
  .footer > div { gap: 18px; }
  .preview-image { height: 60dvh; }
  .lightbox { padding-left: 10px; padding-right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
/* Project stories and media */
.project { margin-bottom: 96px; }
.project-title { gap: 24px; margin-bottom: 28px; }
.project-title h2 { font-size: clamp(32px, 3.7vw, 56px); letter-spacing: -.045em; }
.project-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }
.pill { display: inline-flex; justify-content: center; align-items: center; min-height: 56px; padding: 17px 28px; border: 1px solid #eeeeea; border-radius: 5px; background: #eeeeea; color: #111211; font-size: 15px; font-weight: 550; line-height: 1.3; text-align: center; text-decoration: none; }
.pill:hover { color: #111211; background: #d5d9ce; border-color: #d5d9ce; }
.pill.secondary { background: transparent; color: var(--ink); border-color: #62675d; }
.pill.secondary:hover { background: #242720; border-color: #b4baac; }
.project-details > .game-description { max-width: 1000px; margin: 32px 0; font-size: clamp(18px, 1.7vw, 25px); line-height: 1.65; color: #c5c9c0; letter-spacing: -.015em; }
.project-video, .video-embed { display: block; width: 100%; aspect-ratio: 16 / 9; background: #080908; }
.project-video { max-height: 760px; object-fit: contain; scroll-margin-top: 25px; }
.video-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.collaborations { padding: 60px var(--gutter) 0; background: #191b18; border-top: 1px solid var(--line); }
.collaboration-heading { margin-bottom: 58px; }
.collaboration-heading h2 { font-size: clamp(36px, 4.6vw, 68px); letter-spacing: -.05em; }
.collaboration-heading p { margin-top: 15px; color: var(--muted); font-size: 14px; }
.collaborations .project { margin-bottom: 0; padding-bottom: 60px; }
.download-stat { display: flex; align-items: baseline; gap: 15px; margin-top: 28px; }
.download-stat strong { font-size: clamp(44px, 5vw, 72px); font-weight: 500; letter-spacing: -.055em; }
.download-stat span { font-size: 18px; color: var(--muted); }
@media (max-width: 800px) {
 .project-title { align-items: flex-start; flex-direction: column; }
 .project-actions { justify-content: flex-start; }
}
@media (max-width: 560px) {
 .project { margin-bottom: 60px; }
 .project-title { gap: 18px; margin-bottom: 22px; }
 .project-actions { width: 100%; }
 .project-actions .pill { flex: 1 1 auto; min-height: 54px; padding: 16px 20px; font-size: 14px; white-space: normal; }
 .project-details > .game-description { margin: 24px 0; font-size: 18px; line-height: 1.65; }
 .collaborations { padding-top: 40px; }
 .collaboration-heading { margin-bottom: 35px; }
 .collaborations .project { padding-bottom: 40px; }
}
/* Stork homepage */
.stork-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding: 30px var(--gutter) 34px; transform: translateY(-10px); }
.stork-heading :is(h1,h2) { font-size: clamp(76px, 13vw, 200px); font-weight: 500; letter-spacing: -.065em; line-height: .85; }
.stork-heading > p { font-size: clamp(16px, 1.8vw, 26px); line-height: 1.4; color: #b8bcb2; padding-bottom: 4px; }
.stork-film { margin: 0 var(--gutter); background: #080908; }
.stork-film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: none; object-fit: contain; pointer-events: none; }
.stork-story { padding: 54px var(--gutter) clamp(82px, 8vw, 120px); text-align: center; }
.stork-story h2 { font-size: clamp(32px, 3.5vw, 54px); letter-spacing: -.045em; line-height: 1.12; }
.stork-teaser-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr); gap: 0; width: 100%; margin: 0; overflow: hidden; background: #4a517f; }
.stork-teaser-media { min-width: 0; margin-right: -1px; background: #4a517f; }
.stork-teaser-media video { display: block; width: calc(100% + 1px); height: clamp(250px, 31vw, 430px); margin: 0; border: 0; object-fit: cover; background: #4a517f; opacity: .9; transform: scale(.97); transform-origin: center; pointer-events: none; }
.stork-panel-copy { display: flex; align-items: center; padding: clamp(28px, 5vw, 78px); background: #4a517f; }
.stork-teaser-points { display: grid; gap: 22px; max-width: 620px; margin: 0; padding: 0; list-style: none; }
.stork-teaser-points li { display: grid; grid-template-columns: 11px 1fr; gap: 15px; align-items: start; font-size: clamp(15px, 1.25vw, 19px); font-weight: 300; line-height: 1.62; color: #f3f4f9; }
.stork-teaser-points li::before { content: ""; width: 11px; height: 11px; margin-top: .48em; background: #68a86a; box-shadow: 3px 3px 0 #3f714b; }
.stork-teaser-points li + li { color: #dfe2ef; }
.home-games { border-top: 1px solid var(--line); }
.home-games .section-heading { align-items: flex-end; margin-bottom: 35px; gap: 35px; }
.home-games .section-heading h2 { font-size: 30px; }
.home-games .section-heading p { margin-top: 15px; font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 650px; }
.home-games .text-link { flex-shrink: 0; }
.card-description { margin-top: 10px; max-width: 600px; color: var(--muted); font-size: 14px; line-height: 1.65; }
@media (max-width: 650px) {
 .stork-heading { display: block; padding-top: 24px; padding-bottom: 25px; }
 .stork-heading :is(h1,h2) { font-size: clamp(78px, 23vw, 140px); }
 .stork-heading > p { margin-top: 22px; font-size: 17px; }
 .stork-story { padding-top: 44px; padding-bottom: 68px; }
 .stork-teaser-panel { grid-template-columns: 1fr; }
 .stork-teaser-media video { height: auto; aspect-ratio: 16 / 9; }
 .stork-panel-copy { padding: 22px 24px 26px; }
 .stork-panel-copy p { max-width: 520px; }
 .home-games .section-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
}
/* A quieter type scale, with the full descriptions retained. */
.page-intro h1 { font-size: clamp(34px, 3.5vw, 50px); }
.stork-heading :is(h1,h2) { font-size: clamp(60px, 8vw, 116px); }
.stork-heading > p { font-size: 17px; }
.stork-story h2 { font-size: clamp(24px, 2.2vw, 32px); }
.project-details > .game-description { font-size: 16px; line-height: 1.75; }
.project-title h2 { font-size: clamp(27px, 2.8vw, 40px); }
.collaboration-heading h2 { font-size: clamp(30px, 3.3vw, 46px); }
.home-games .section-heading h2 { font-size: 25px; }
.home-games .section-heading p { font-size: 14px; }
.poly-pizza-info { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin: 0 var(--gutter) 38px; padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.poly-pizza-info > p { max-width: 720px; margin: 0; font-size: clamp(30px, 5vw, 68px); line-height: 1.05; letter-spacing: -.035em; }
.poly-pizza-info > div { display: flex; gap: 34px; flex-shrink: 0; color: var(--muted); }
.poly-pizza-info span { display: flex; flex-direction: column; gap: 5px; }
.poly-pizza-info strong { color: var(--ink); font-size: clamp(28px, 3.5vw, 48px); font-weight: 500; line-height: 1; }
.poly-pizza-banner { display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 170px; padding: 36px 48px; margin: 0 var(--gutter) 54px; border: 1px solid #62604e; border-radius: 6px; background: #25261e; transition: background .2s, border-color .2s; }
.poly-pizza-banner:hover { background: #303127; border-color: #ffa547; color: var(--ink); }
.poly-pizza-banner > img { width: min(44%, 410px); height: auto; }
.poly-pizza-label { font-size: clamp(17px, 2vw, 25px); color: var(--ink); }
@media (max-width: 650px) {
 .stork-heading :is(h1,h2) { font-size: clamp(60px, 17vw, 92px); }
 .stork-heading > p { font-size: 15px; }
 .project-details > .game-description { font-size: 15px; }
 .poly-pizza-info { align-items: flex-start; flex-direction: column; gap: 28px; }
 .poly-pizza-info > div { width: 100%; justify-content: space-between; gap: 20px; }
 .poly-pizza-banner { flex-direction: column; align-items: flex-start; gap: 28px; min-height: 230px; padding: 30px 24px; }
 .poly-pizza-banner > img { width: min(100%, 330px); }
 .poly-pizza-label { font-size: 16px; }
}

.works-in-progress { padding: 60px var(--gutter) 0; }
#stork-video { height: auto; max-height: none; }
#orbitaloop .project-cover img, #newton .project-cover img { height: auto; aspect-ratio: auto; max-height: none; object-fit: contain; }
#orbitaloop > .project-cover { display: flex; justify-content: center; max-height: none; overflow: visible; background: transparent; }
#orbitaloop > .project-cover img { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 180px); margin: 0 auto; }
.jam-badge { display: block; width: min(100%, 330px); margin: 28px 0 4px; }
.jam-badge img { width: 100%; height: auto; }
.jam-badge:hover { opacity: .88; }

.art-grid { padding-bottom: 50px; }
@media(max-width:560px) { .works-in-progress { padding-top: 40px; } }
/* Slowly shifting pixels belong only to the Stork homepage feature. */
.stork-feature { position: relative; isolation: isolate; overflow: hidden; background: #0e150f; }
.stork-pixels { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.stork-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, #11121135, transparent 25%, #11121130 70%, #111211); }
#newton-video { height: auto; max-height: none; }
#newton .screenshots img { object-fit: contain; background: #16201b; }
.remaining-published { padding-top: 60px; }

.home-games .caption h3 { color: #fff; }
.home-games .game-card { position: relative; isolation: isolate; overflow: hidden; padding: 16px; border: 1px solid #ffffff17; }
.home-games .game-card > :not(.scene-decor) { position: relative; z-index: 1; }
.home-games .game-card .scene-decor { inset: 0; }
.home-games .game-card .image-wrap { box-shadow: 0 14px 35px #0005; }
.home-games .game-card .caption, .home-games .game-card .card-description { padding-left: 4px; padding-right: 4px; }
.home-games .game-card .card-description { color: #d8d9d5; }
.home-games .decor-dicenations > span:nth-child(n+10) { display: none; }
.home-art-link { display: flex; flex-direction: column; align-items: center; gap: 28px; margin-top: 90px; padding-top: 72px; border-top: 1px solid var(--line); text-align: center; }
.home-art-link p { max-width: 720px; margin: 0; color: #e5e6e1; font-size: clamp(22px, 3vw, 38px); line-height: 1.25; }
.home-art-link .pill { min-width: min(100%, 390px); min-height: 82px; padding: 20px 38px; font-size: 19px; }
/* Individual worlds: each game gets its own decorative visual language. */
.major-wip-heading { padding: 25px var(--gutter) 35px; }
.major-wip-heading h1 { font-size: clamp(24px, 2.7vw, 38px); letter-spacing: -.04em; }
.themed-project, .cardboard-feature { position: relative; isolation: isolate; overflow: hidden; }
.themed-project { margin: 0 calc(-1 * var(--gutter)); padding: 58px var(--gutter) 64px; }
.themed-project > :not(.scene-decor):not(canvas) { position: relative; z-index: 1; }
.scene-decor { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.scene-decor > span { position: absolute; left: var(--x); top: var(--y); width: var(--size); height: var(--size); transform: rotate(var(--turn)); }
.scene-newton { background: #143f3d; }
.decor-newton > span { width: 200vmax; height: 7px; background: #ef72ff; opacity: .52; transform: translateX(-50%) rotate(var(--turn)); transform-origin: center; animation: tongue-drift 9s ease-in-out var(--delay) infinite alternate; }
@keyframes tongue-drift { to { transform: translateX(calc(-50% + 18px)) translateY(-14px) rotate(calc(var(--turn) + 8deg)); opacity: .82; } }
.scene-orbitaloop { background: #1b222c; }
.decor-orbitaloop > span { background: #fff; opacity: .55; border-radius: 50%; animation: star-glow 5s ease-in-out var(--delay) infinite alternate; }
@keyframes star-glow { from { opacity: .12; } to { opacity: .85; } }
.scene-dicenations { background: #30224f; }
.decor-dicenations > span { opacity: .2; }
.decor-dicenations svg { width: 100%; height: 100%; }
.decor-dicenations rect { fill: #b994e7; }
.decor-dicenations circle { fill: #34204f; }
.scene-cardboard { --ink: #352b24; --muted: #695949; --line: #cbbba9; --accent: #795037; background: #f4f0e8; color: #352b24; }
.decor-cardboard > span { background: #d39a62b8; border: 2px solid #9e673ab8; width: calc(var(--size) * 1.45); height: var(--size); transform: rotate(var(--turn)); }
.decor-cardboard > span::before { content: ''; position: absolute; height: 100%; width: 17%; left: 42%; background: #f0c78575; border-left: 1px solid #8d572f80; border-right: 1px solid #8d572f80; }
.decor-cardboard > span::after { content: ''; position: absolute; height: 2px; background: #8f5b3480; left: 0; right: 0; top: 50%; }
.scene-cardboard .pill { background: #503b2b; border-color: #503b2b; color: #fffaf4; }
.scene-cardboard .pill:hover { background: #70513a; }
.scene-cardboard .project-details > .game-description { color: #52463b; }
.scene-cardboard .project-video { background: #e8e0d2; }
.scene-stork { background: #101d12; }
.scene-stork .project-details > .game-description { padding: 22px; background: #102015de; }
.scene-trolleypark { background: #262a2e; }
.decor-trolleypark > span { width: 2px; height: 180px; border-left: 2px dashed #d5ba5960; transform: rotate(-24deg); }
.scene-protestor { background: #302d33; }
.decor-protestor > span { border: 1px solid #c5a58b25; background: #a99ab00b; height: calc(var(--size) * 3); transform: none; }
.scene-blindbeast { background: #171d1b; }
.decor-blindbeast > span { background: #95353517; width: calc(var(--size) * 2); height: 2px; transform: none; }
.scene-ghostblitz { background: #392d28; }
.decor-ghostblitz { display: none; }
.themed-project:not(.scene-cardboard):not(.scene-stork) .game-description { color: #e0e1dc; text-shadow: 0 1px 5px #0007; }
.cardboard-feature { padding-top: 44px; }
.feature-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding: 0 var(--gutter) 34px; }
.feature-heading h2 { font-size: clamp(48px, 8vw, 116px); letter-spacing: -.065em; line-height: 1; }
.feature-heading p { font-size: 17px; color: #6b5848; }
.feature-film { margin: 0 var(--gutter); }
.feature-film video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #e8e0d2; }
.feature-story { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(30px,8vw,120px); padding: 65px var(--gutter); }
.feature-story h3 { font-size: clamp(27px,2.5vw,36px); line-height: 1.15; letter-spacing: -.04em; font-weight: 500; }
.feature-story p { font-size: 16px; line-height: 1.75; color: #52463b; }
.feature-story p + p { margin-top: 24px; }
.feature-story .pill { margin-top: 28px; }
.home-collaboration { padding-bottom: 55px; }
.home-collaboration-title { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-bottom: 26px; }
.home-collaboration-title h3 { font-size: clamp(32px,4vw,56px); font-weight: 500; letter-spacing: -.04em; }
.home-collaboration-title .download-stat { margin: 0; }
.home-collaboration > a { display: block; }
.home-collaboration > a img { width: 100%; aspect-ratio: 1.85; object-fit: cover; }
.collaboration-copy { display: flex; justify-content: space-between; align-items: center; gap: 35px; margin-top: 28px; }
.collaboration-copy p { font-size: 16px; line-height: 1.75; color: #c5c9c0; max-width: 820px; }
.collaboration-copy .pill { flex-shrink: 0; }
@media(max-width:650px) {
 .themed-project { padding-top: 35px; padding-bottom: 40px; }
 .feature-heading { display: block; padding-bottom: 24px; }
 .feature-heading h2 { font-size: clamp(42px,10.5vw,68px); }
 .feature-heading p { margin-top: 20px; font-size: 15px; }
 .feature-story { grid-template-columns: 1fr; gap: 24px; padding-top: 36px; padding-bottom: 40px; }
 .feature-story p, .collaboration-copy p { font-size: 15px; }
 .home-collaboration-title, .collaboration-copy { align-items: flex-start; flex-direction: column; gap: 20px; }
 .home-collaboration-title .download-stat strong { font-size: 44px; }
 .home-collaboration .collaboration-heading { margin-bottom: 35px; }
}

/* A slightly tighter desktop canvas keeps media and copy visible at a glance. */
@media (min-width: 900px) {
 :root { --gutter: clamp(48px, 7vw, 100px); }
 body:not(.projects-page):not(.index-page) .header { min-height: 79px; padding-top: 19px; padding-bottom: 19px; }
 body:not(.projects-page):not(.index-page) .logo img { width: 39px; height: 49px; }
 body:not(.projects-page):not(.index-page) .header nav { gap: 29px; font-size: 12px; }
 .section { padding-top: 40px; padding-bottom: 40px; }
 .project { margin-bottom: 50px; }
 .themed-project { padding-top: 36px; padding-bottom: 40px; }
 .project-title { margin-bottom: 20px; }
 .feature-film { width: calc(100% - 4 * var(--gutter)); max-width: 1100px; margin-inline: auto; }
 .stork-film { width: calc(100% - 2 * var(--gutter)); max-width: 1080px; margin-inline: auto; transform: translateY(-38px); }
 .stork-film video, .feature-film video, .project-video { height: auto; max-height: none; object-fit: contain; }
 .project > .project-title,
 .project > .project-details { max-width: 1280px; margin-inline: auto; }
 .project > .project-video,
 .project > .project-cover { width: min(88%, 1100px); margin-inline: auto; max-height: 520px; }
 .project > .project-cover img { max-height: 520px; }
 .project-details > .game-description { margin-top: 22px; margin-bottom: 22px; }
 .screenshots img { aspect-ratio: 1.95; }
 .feature-story { max-width: 1100px; margin-inline: auto; }
 .feature-story { padding-top: 40px; padding-bottom: 42px; }
 .stork-heading :is(h1,h2), .feature-heading h2 { font-size: clamp(54px, 6vw, 92px); }
 .game-grid, .art-grid { max-width: 1280px; margin-inline: auto; }
 .home-games .game-grid { gap: 18px; }
 .home-games .game-card { padding: 12px; }
 .home-games .image-wrap img { aspect-ratio: 1.5; object-fit: cover; object-position: center; }
 .home-games .scene-newton .image-wrap img { object-fit: cover; object-position: center 46%; }
 .home-games .card-description { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; margin-top: 6px; font-size: 13px; line-height: 1.45; }
 .home-games .caption { margin-top: 8px; }
 .image-wrap img, .art-picture > img { aspect-ratio: 1.9; }
 .home-collaboration-title,
 .home-collaboration > a,
 .collaboration-copy { max-width: 1280px; margin-left: auto; margin-right: auto; }
 .home-collaboration > a img { max-height: 520px; }
 .collaborations, .works-in-progress { padding-top: 42px; }
 .collaboration-heading { margin-bottom: 38px; }
 .collaborations .project { padding-bottom: 42px; }
 .home-art-link { margin-top: 58px; padding-top: 48px; }
 .poly-pizza-info, .poly-pizza-banner { width: calc(100% - 2 * var(--gutter)); max-width: 1280px; margin-left: auto; margin-right: auto; }
 .poly-pizza-info { margin-bottom: 38px; }
 .poly-pizza-banner { margin-bottom: 54px; }
 .projects-page, .index-page { zoom: .9; }
}
