:root {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #192016;
  background: #f8f8f4;
  --line: #dce1d4;
  --muted: #50594b;
  --accent: #3e5e0f;
  --lime: #c5f566;
  --mono: "Courier New", monospace;
  --gutter: clamp(18px, 3.35vw, 58px);
  --page: min(calc(100% - var(--gutter) - var(--gutter)), 1420px);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1; outline: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid #4d7415; outline-offset: 4px; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }

.skip { position: fixed; left: 1rem; top: -100px; z-index: 10; background: white; padding: 10px; }
.skip:focus { top: 10px; }

header, footer {
  width: var(--page);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header { min-height: 75px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; padding-block: 4px; font-size: 1.18rem; font-weight: 780; letter-spacing: -.055em; }
.brand:hover { text-decoration: none; }
.brand img { margin-right: 9px; }
.brand span { color: var(--muted); font-weight: 500; }

header nav, footer div { display: flex; align-items: center; gap: clamp(14px, 2.45vw, 37px); }
header nav a { padding-block: 10px; font-size: .94rem; font-weight: 650; white-space: nowrap; }
header nav a[aria-current] { color: var(--accent); text-decoration: underline; text-underline-offset: 7px; }

.brand img,.about-mark { border-radius: 24%; image-rendering: pixelated; }
.hero { position: relative; isolation: isolate; overflow: clip; padding: clamp(56px,6vw,104px) 0 clamp(42px,4vw,70px); }
main { isolation: isolate; overflow-x: clip; }
.featured, .about, .section, .project-card { position: relative; }
.hero-intro::after, .featured::before, .about::before, .about::after, .section::after, .beetle::before, .nodum::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: clamp(205px, 33vw, 620px);
  height: clamp(146px, 17vw, 275px);
  pointer-events: none;
  background: radial-gradient(circle, rgb(53 90 59 / 46%) 1.1px, transparent 1.55px) center / 12px 12px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 180' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='soft' x='-25%25' y='-30%25' width='150%25' height='160%25'%3E%3CfeGaussianBlur stdDeviation='7'/%3E%3C/filter%3E%3C/defs%3E%3Cpath filter='url(%23soft)' d='M-20 16C44 5 88 17 102 37S127 73 169 56S244 24 263 49S253 87 303 92S380 93 395 119C403 139 367 145 336 143S280 135 255 156S200 181 160 166S99 126 71 148S23 173 -20 167Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hero-intro::after { left: calc(50% - 51vw); top: 62%; }
.featured::before { right: calc(50% - 51vw); bottom: calc(100% - 12px); transform: scaleX(-1); }
.about::before { left: calc(50% - 51vw); bottom: calc(100% - 12px); height: clamp(80px, 9vw, 150px); transform: scaleY(-1); }
.beetle::before, .nodum::before {
  width: clamp(180px, 26vw, 480px);
  height: clamp(34px, calc(6vw - 14px), 70px);
  bottom: 6px;
}
.beetle::before { left: calc(50% - 51vw); transform: scaleY(-1); }
.nodum::before { right: calc(50% - 51vw); transform: scaleX(-1); }
.about::after { right: calc(50% - 51vw); top: calc(100% + 4px); height: clamp(42px, 5vw, 72px); transform: scaleX(-1); }
.section::after { right: calc(50% - 51vw); bottom: 8px; height: clamp(65px, 7vw, 106px); transform: scale(-1); }

.section-dots {
  --dot-crest: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 160' preserveAspectRatio='none'%3E%3Cfilter id='b'%3E%3CfeGaussianBlur stdDeviation='7'/%3E%3C/filter%3E%3Cpath filter='url(%23b)' d='M18 105C52 89 83 105 130 74S199 15 244 25 297 64 335 53 384 40 391 69 363 93 326 100 282 137 238 124 184 97 143 122 39 134 18 105Z'/%3E%3C/svg%3E");
  --dot-cove: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 160' preserveAspectRatio='none'%3E%3Cfilter id='b'%3E%3CfeGaussianBlur stdDeviation='7'/%3E%3C/filter%3E%3Cpath filter='url(%23b)' d='M13 46C52 14 93 27 122 45 150 62 151 97 201 107 249 118 282 66 332 61 358 59 387 70 385 97 382 119 348 115 308 123 243 136 194 155 139 126 95 102 73 83 35 82 13 81 0 65 13 46Z'/%3E%3C/svg%3E");
  --dot-drift: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 160' preserveAspectRatio='none'%3E%3Cfilter id='b'%3E%3CfeGaussianBlur stdDeviation='7'/%3E%3C/filter%3E%3Cpath filter='url(%23b)' d='M14 79C42 58 66 69 106 54 149 37 184 24 226 51 272 81 308 77 346 66 376 56 396 71 389 91 380 123 330 129 292 113 259 99 223 97 186 112 139 132 121 97 75 106 38 114 4 105 14 79Z'/%3E%3C/svg%3E");
  --dot-terrace: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 160' preserveAspectRatio='none'%3E%3Cfilter id='b'%3E%3CfeGaussianBlur stdDeviation='7'/%3E%3C/filter%3E%3Cpath filter='url(%23b)' d='M15 88C44 91 69 72 92 64 113 57 126 67 151 55 171 45 171 23 207 22 250 21 242 52 282 52 311 52 325 31 353 37 374 42 394 64 380 82 364 102 324 89 306 105 286 123 269 134 236 126 209 119 189 104 154 116 119 128 90 108 57 124 29 138 3 114 15 88Z'/%3E%3C/svg%3E");
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.section-dots::before, .section-dots::after {
  content: '';
  position: absolute;
  background: radial-gradient(circle, rgb(53 90 59 / 42%) 1.05px, transparent 1.5px) center / 12px 12px;
  mask: var(--island) center / 100% 100% no-repeat;
}
.section-dots::before {
  --island: var(--upper-island, var(--dot-crest));
  top: var(--upper-top, 72px);
  right: calc(50% - 50vw + clamp(18px, 6vw, 90px));
  width: clamp(190px, 35vw, 510px);
  height: clamp(75px, 10.5vw, 152px);
}
.section-dots::after {
  --island: var(--side-island, var(--dot-cove));
  top: var(--side-top, 59%);
  left: calc(50% - 50vw - clamp(16px, 4vw, 64px));
  width: clamp(160px, 25vw, 365px);
  height: clamp(65px, 8.5vw, 120px);
  opacity: .73;
}
[data-category="videos"] .section-dots { --upper-island: var(--dot-cove); --side-island: var(--dot-terrace); --upper-top: 48px; --side-top: 49%; }
[data-category="software"] .section-dots { --upper-island: var(--dot-drift); --side-island: var(--dot-crest); --upper-top: 100px; --side-top: 63%; }
[data-category="blog"] .section-dots { --upper-island: var(--dot-terrace); --side-island: var(--dot-drift); --side-top: 66%; }
[data-category="mc-mods"] .section-dots { --upper-island: var(--dot-crest); --side-island: var(--dot-terrace); --upper-top: 110px; --side-top: 54%; }
@media (max-width: 820px) {
  .section-dots::before { top: 0; right: 0; width: clamp(124px, 42vw, 260px); height: clamp(42px, 8vw, 65px); opacity: .75; }
  .section-dots::after { left: -105px; width: clamp(164px, 33vw, 236px); height: 62px; }
}
@media (max-width: 700px) {
  .hero-intro::after { top: calc(100% + 1px); height: 66px; width: 46vw; }
  .featured::before, .about::before, .section::after { width: 51vw; height: 74px; }
}
.hero-intro { position: relative; width: var(--page); margin: auto; text-align: center; }
.hero h1 { margin: 0; font-size: clamp(3.1rem,7.8vw,8rem); font-weight: 580; letter-spacing: -.083em; line-height: 1.07; }
.hero h1 em { font-family: Georgia,serif; font-weight: 500; color: #355a3b; letter-spacing: -.08em; }
.hero p { max-width: 39rem; margin: 20px auto 0; color: var(--muted); font-size: clamp(1rem,1.5vw,1.25rem); line-height: 1.5; text-wrap: balance; }
.fan { width: min(94%,1500px); margin: clamp(54px,6.3vw,104px) auto 0; display: grid; grid-template-columns: minmax(0,1.07fr) minmax(0,1.035fr) minmax(0,1fr) minmax(0,1.035fr) minmax(0,1.07fr); gap: clamp(10px,1.3vw,24px); align-items: center; }
.tile {
  --angle: 0deg; --size: 1;
  position: relative; display: flex; flex-direction: column; min-width: 0;
  width: 100%; aspect-ratio: var(--card-ratio, .704); border-radius: 16px; overflow: hidden;
  color: #fff; background: var(--paper); isolation: isolate;
  transform: perspective(580px) rotateY(var(--angle)) scale(var(--size));
  box-shadow: 0 12px 24px -16px #20281e60;
  transition: transform 420ms cubic-bezier(.2,.8,.2,1),box-shadow 360ms;
}
.tile.games,.tile.blog { --card-ratio: .694; --width-factor: 1.07; }
.tile.software,.tile.mc-mods { --card-ratio: .7; --width-factor: 1.035; }
.tile.games { --angle: 18deg; --size: 1.025; --paper: #583020; }
.tile.software { --angle: 10deg; --size: 1.01; --paper: #253749; }
.tile.videos { --paper: #392641; }
.tile.mc-mods { --angle: -10deg; --size: 1.01; --paper: #34452e; }
.tile.blog { --angle: -18deg; --size: 1.025; --paper: #355a3b; }
.tile .art { position: relative; flex: 1; overflow: hidden; }
.tile .art img { width: 100%; height: 100%; position: absolute; object-fit: cover; transition: scale .55s cubic-bezier(.2,.8,.2,1); }
.tile.games img { image-rendering: pixelated; scale: 1.05; }
.tile.videos img { object-position: right center; }
.tile.mc-mods img { object-position: 12% bottom; transform: scale(1.52); transform-origin: 16% bottom; }
.tile .caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: clamp(13px,1.1vw,18px) clamp(14px,1.35vw,22px); }
.tile strong { font-size: clamp(1.15rem,1.65vw,1.65rem); line-height: 1.15; font-weight: 650; letter-spacing: -.045em; }
.tile .open-icon { position: relative; flex: 0 0 21px; height: 21px; border: 1px solid #ffffff80; border-radius: 50%; }
.open-icon::before,.open-icon::after { content: ''; position: absolute; inset: 0; margin: auto; }
.open-icon::before { width: 10px; height: 1.5px; background: currentColor; }
.open-icon::after { width: 5px; height: 5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateX(2px) rotate(45deg); }
.tile:is(:hover,:focus-visible) .open-icon { border-color: currentColor; }
@media (hover: hover) {
  .tile:hover { transform: perspective(580px) translateY(-10px) rotateY(calc(var(--angle) * .5)) scale(var(--size)); box-shadow: 0 25px 35px -22px #20281e80; text-decoration: none; }
  .tile:hover img { scale: 1.075; }
}
.tile:active { transform: perspective(580px) translateY(3px) rotateY(calc(var(--angle) * .5)) scale(.97); transition-duration: 85ms; }
.featured,.about { width: var(--page); margin-inline: auto; }
.featured { margin-top: clamp(62px,8vw,130px); }
.section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.section-heading h2, .about h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.65vw, 4.6rem);
  font-weight: 780;
  letter-spacing: -.073em;
  line-height: 1.02;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid #aeb8a4;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 650;
  transition: background-color .18s ease, border-color .18s ease;
}

.pill:hover { background: white; border-color: var(--accent); text-decoration: none; }

.featured-grid { display: grid; gap: clamp(40px,6vw,100px); }
.project-card { display: grid; grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr); align-items: center; gap: clamp(30px,5.6vw,90px); padding-top: clamp(32px,3.8vw,64px); border-top: 1px solid var(--line); }
.project-copy { max-width: 39rem; }
.project-copy .eyebrow { margin: 0 0 16px; font: 600 .82rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: #53644f; }
.project-copy h3 { margin: 0; font-size: clamp(3.4rem,6.6vw,7.2rem); font-weight: 640; line-height: .96; letter-spacing: -.08em; }
.project-copy h4 { margin: 24px 0 10px; font: italic 400 clamp(1.45rem,2.4vw,2.4rem)/1.12 Georgia,serif; color: #355a3b; }
.project-copy p { margin: 0; line-height: 1.65; color: var(--muted); font-size: clamp(1rem,1.15vw,1.2rem); }
.project-copy .textlink { margin-top: 24px; font-weight: 650; }
.featured-play { padding: 0; border: 0; background: transparent; }
.project-art { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1.84; border-radius: 14px; background: #191b19; }
.project-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.project-art img[aria-hidden="false"] { opacity: 1; }
.project-art button, .slide-count { position: absolute; color: white; background: #141a19dc; border-radius: 999px; }
.project-art button { top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid #ffffff80; font: 28px/1 sans-serif; cursor: pointer; }
.project-art button:hover, .project-art button:focus-visible { background: #111; outline: 2px solid white; }
.project-art .previous { left: 8px; }
.project-art .next { right: 8px; }
.slide-count { bottom: 8px; right: 8px; padding: 3px 9px; font: 12px/1.5 system-ui; }
.nodum .project-art { order: -1; }
.nodum { grid-template-columns: minmax(0,1.16fr) minmax(0,.84fr); }
@media (prefers-reduced-motion:no-preference) {
  .section > .intro { animation: enter-section 430ms ease-out both; }
  .project-art img { transition: opacity 380ms ease; }
  ::view-transition-old(root) { animation-duration: 140ms; }
  ::view-transition-new(root) { animation-duration: 240ms; }
}
@keyframes enter-section { from { opacity: .4; translate: 0 12px; } }
@keyframes slot-in { from { translate: 0 36px; rotate: 7deg; } }
@keyframes shift-row { from { translate: -15% 0; } }
@keyframes deal { from { translate: 12% 18%; rotate: -18deg; } }
.about {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: clamp(20px, 4vw, 64px);
  margin-block: clamp(50px, 6vw, 84px);
  padding: clamp(24px, 5vw, 72px);
  border: 1px solid #d5e0c3;
  border-radius: 24px;
  background: #e9f2d9;
}

.about:focus { outline: none; }
.about-mark { width: clamp(54px, 8vw, 102px); height: auto; }
.about-copy { max-width: 44rem; }
.about-blog-link { color: var(--accent); text-decoration: underline; text-underline-offset: .16em; }
.about p { margin: 16px 0 0; color: #384433; font-size: clamp(1rem, 1.5vw, 1.23rem); line-height: 1.6; text-wrap: pretty; }
.profile-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }

footer { gap: 14px; border-top: 1px solid var(--line); padding-block: 17px; color: var(--muted); font: .85rem var(--mono); }
footer div { flex-wrap: wrap; }

.section { margin: auto; max-width: 1430px; padding: clamp(48px, 7vw, 100px) var(--gutter); }
.intro h1 { font-size: clamp(4rem, 9vw, 9rem); line-height: .9; letter-spacing: -.085em; margin: 0; }
.intro > p { max-width: 550px; font-size: 1.14rem; line-height: 1.5; margin: 22px 0 12px; }
.textlink, .fallback { display: inline-block; font-size: .94rem; text-decoration: underline; text-underline-offset: 4px; }
.grid { margin-top: 42px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 22px; }
.thumb { display: block; width: 100%; padding: 0; aspect-ratio: 16 / 9; position: relative; overflow: hidden; border: 0; border-radius: 8px; background: #171817; }
.thumb img { width: 100%; height: 100%; display: block; object-fit: contain; transition: opacity .2s; }
.thumb:hover img { opacity: .82; }
.play, .duration { position: absolute; bottom: 9px; background: #111e; color: #fff; border-radius: 4px; font: 600 .8rem var(--mono); padding: 5px 7px; }
.play { left: 10px; }
.duration { right: 10px; }
.grid article h2 { margin: 13px 0 5px; line-height: 1.1; font-size: clamp(1.15rem, 1.6vw, 1.65rem); letter-spacing: -.04em; }
.grid article p { margin: 8px 0 12px; line-height: 1.5; color: var(--muted); }
.section.empty { min-height: 64vh; }
.empty .intro h1 { font-size: clamp(2.75rem, 9vw, 9rem); letter-spacing: -.04em; }

.blog-section { max-width: 1080px; }
.blog-section .intro > p { margin-top: clamp(32px, 3.2vw, 48px); color: var(--muted); }
.blog-feed { display: grid; max-width: 52rem; gap: 24px; margin-top: clamp(32px, 5vw, 56px); }
.post-topic {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e9f2d9;
  color: #355a3b;
  font: 700 .88rem/1.35 var(--mono);
}
.blog-article :is(h1, h2) {
  margin: 14px 0 0;
  font-size: clamp(1.9rem, 4.1vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}
.blog-article {
  max-width: 52rem;
  padding: clamp(24px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}
.blog-section > .blog-article { margin: 26px auto 0; }
.post-author { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 20px 0 28px; color: var(--muted); font-size: .94rem; font-weight: 650; }
.post-author img { border-radius: 24%; image-rendering: pixelated; }
.post-author time { font-weight: 400; }
.post-body { border-top: 1px solid var(--line); padding-top: 24px; font-size: clamp(1.04rem, 1.7vw, 1.2rem); line-height: 1.75; }
.post-body p { margin: 0; }
.post-body p + p { margin-top: 1.2em; }
dialog { border: none; border-radius: 12px; width: min(960px, 94vw); max-height: 94svh; overflow: auto; padding: 14px; background: white; }
dialog::backdrop { background: #131611c9; }
.dialogbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 12px; }
.dialogbar h2 { margin: 0; font-size: 1.18rem; letter-spacing: -.035em; }
.close { background: #f0f1ec; border: none; border-radius: 50%; width: 35px; height: 35px; font-size: 1.4rem; flex-shrink: 0; }
.stage { position: relative; aspect-ratio: 16 / 9; background: #151515; }
dialog.game { width: min(960px, 94vw, max(260px, calc((100dvh - 8.5rem) * 16 / 9 + 28px))); }
.game .player-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.game .player-toolbar .fallback { margin: 0; white-space: nowrap; }
.game-controls:not([hidden]), .fullscreen-menu:not([hidden]) { display: flex; align-items: center; gap: 8px; }
.volume-control { width: clamp(3.35rem, 18vw, 8rem); height: 40px; margin: 0; accent-color: #4b7425; cursor: pointer; }
.volume-control:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 5px; }
.player-icon:not([hidden]) { display: grid; place-items: center; }
.player-icon { flex: 0 0 auto; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 9px; color: #192016; background: #f2f4ee; }
.player-icon:hover { background: #e8eee1; }
.player-icon svg { width: 20px; height: 20px; }
dialog.game.game-expanded {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #000;
}
.game-fullscreen > :not(.stage), .game.game-fullscreen .player-toolbar { display: none; }
.game-fullscreen .stage, .stage:fullscreen { width: 100%; height: 100%; aspect-ratio: auto; background: #000; }
.fullscreen-dock {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  padding: 5px max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) 5px;
}
.fullscreen-menu {
  padding: 4px 4px 4px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 18px #0003;
}
.fullscreen-menu .volume-control { width: clamp(4rem, 20vw, 7rem); }
.fullscreen-toggle { background: #fff; }
@media (hover: hover) and (pointer: fine) {
  .fullscreen-dock .fullscreen-toggle[aria-expanded="false"]:not(:hover):not(:focus-visible) { opacity: 0; }
}
iframe { width: 100%; height: 100%; display: block; border: 0; }
.fallback { margin: 12px 0 2px; }
.playing { overflow: hidden; }

@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fan { width: var(--page); margin-top: 32px; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
  .fan .tile { transform: none; border-radius: 12px; }
  .tile .caption { gap: 6px; padding: 12px; }
  .tile strong { font-size: 1.05rem; }
  .tile .open-icon { display: none; }
}
@media (max-width: 700px) {
  .project-card { grid-template-columns: 1fr; gap: 24px; }
  .nodum .project-art { order: 0; }
  .about { grid-template-columns: 1fr; }
  .hero { padding: 32px 0 0; }
  .hero h1 { font-size: clamp(2.4rem, 10.6vw, 3.75rem); }
  .hero p { max-width: 32ch; margin-top: 12px; }
  .fan { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
  .fan .tile { aspect-ratio: auto; }
  .tile .art { flex: none; aspect-ratio: 2.45; }
  .tile .caption { min-height: 44px; padding: 9px 14px; }
  .tile .open-icon { display: block; }
  .tile.games { grid-column: 1 / -1; flex-direction: row; }
  .tile.games .art { width: 42%; aspect-ratio: 1.85; }
  .tile.games .caption { flex: 1; }
  .tile.games strong { font-size: 1.4rem; }
  .featured { margin-top: 44px; }
  .section-heading h2, .about h2 { font-size: clamp(1.85rem, 7.3vw, 2.4rem); }
}
@media (max-width: 620px) {
  header { flex-wrap: wrap; gap: 3px; padding-top: 10px; }
  .brand img { width: 30px; height: 30px; }
  header nav { width: 100%; flex-wrap: wrap; gap: 0 6px; justify-content: space-between; }
  header nav a, footer a { display: inline-flex; align-items: center; min-height: 44px; }
  header nav a { font-size: .88rem; }
  .game .player-toolbar { flex-wrap: wrap; }
  .close, .screenshot-viewer button, .project-art button:not(.expand-shot) { width: 44px; height: 44px; }
  .grid { grid-template-columns: 1fr; gap: 28px; }
  footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { transition: none !important; animation: none !important; }
}

/* Featured games */
.home { background-color: white; }

.featured-grid { gap: 0; }
.featured .section-heading { margin-bottom: 32px; }
.project-card { --accent: #427350; padding-block: clamp(40px,6vw,84px); gap: clamp(32px,6vw,88px); }
.project-card.nodum { --accent: #73558e; }
.project-card.moving { --accent: #365a83; }
.project-copy h3 { font-size: clamp(2.6rem,4.8vw,5rem); line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; }
.project-copy h4 { margin: 18px 0 12px; font-size: clamp(1.35rem,2vw,1.8rem); color: var(--accent); }
.project-copy .eyebrow { color: var(--accent); font-size: .73rem; }
.project-copy .eyebrow::before { content: ''; display: inline-block; vertical-align: middle; width: 8px; height: 8px; margin-right: 10px; background: currentColor; }
.nodum .eyebrow::before { border-radius: 50%; }
.moving .eyebrow::before { width: 16px; height: 4px; transform: skewX(-30deg); }
.project-art { width: 100%; justify-self: center; aspect-ratio: 1.65; box-shadow: 0 10px 28px #17201712; }
.project-art img { object-fit: cover; }
.project-art .expand-shot { inset: 0; width: 100%; height: 100%; transform: none; background: transparent; border: 0; border-radius: inherit; cursor: zoom-in; }
.expand-shot span { position: absolute; right: 12px; top: 12px; border-radius: 50%; background: #171d1bd9; font: 20px/32px sans-serif; width: 32px; }
.project-art .expand-shot:hover { background: transparent; outline: none; }
.slide-count { pointer-events: none; }
.screenshot-viewer { width: min(96vw,1800px); max-width: 96vw; background: #171b19; color: white; padding: 14px; }
.screenshot-viewer::backdrop { background: #111813eb; }
.screenshot-viewer img { display: block; width: 100%; height: min(75svh,60vw); object-fit: contain; }
.viewer-bar,.viewer-controls { position: static; display: flex; align-items: center; gap: 16px; background: transparent; padding: 0; width: 100%; margin: 0; }
.viewer-bar { justify-content: space-between; padding-bottom: 8px; }
.viewer-controls { justify-content: center; padding-top: 8px; border: 0; }
.screenshot-viewer button { background: #343c37; color: white; border: 0; border-radius: 50%; width: 40px; height: 40px; font: 24px/1 sans-serif; cursor: pointer; }
body:has(.screenshot-viewer[open]) { overflow: hidden; }
@media (min-width: 801px) { .project-card,.project-card.nodum { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 800px) {
  .project-card,.project-card.nodum { grid-template-columns: 1fr; gap: 24px; }
  .nodum .project-art { order: 0; }
  .project-art { justify-self: start; }
  .beetle::before, .nodum::before { width: min(44vw, 240px); height: 30px; }
}
