:root {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
  --bg: #f5f5f2;
  --surface: #ffffff;
  --surface-soft: #eceff2;
  --ink: #101722;
  --muted: #5d6674;
  --line: #dce1e5;
  --accent: #2b5fe3;
  --accent-bright: #39aee6;
  --accent-soft: #e9efff;
  --control: #eef1f4;
  --shadow: 18, 34, 57;
}

:root[data-theme="dark"] {
  --bg: #0b0e15;
  --surface: #141a25;
  --surface-soft: #1a2230;
  --ink: #f3f5fa;
  --muted: #a4aebd;
  --line: #2a3545;
  --accent: #9bb5ff;
  --accent-bright: #62c5f0;
  --accent-soft: #1c2a47;
  --control: #1a2230;
  --shadow: 0, 0, 0;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 30px; overflow-x: clip; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  transition: background-color .3s ease, color .3s ease;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
img { max-width: 100%; }
::selection { background: #a3c6ff; color: #081120; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link {
  position: fixed;
  z-index: 30;
  top: -60px;
  left: 18px;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  border-radius: 10px;
}
.skip-link:focus { top: 16px; }
.ambient {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  filter: blur(65px);
  opacity: .38;
  border-radius: 50%;
}
.ambient--one { width: min(460px, 100%); height: 460px; right: 0; top: 500px; background: #b7cfff; }
.ambient--two { width: min(480px, 100%); height: 480px; left: 0; top: 1510px; background: #c3d9e8; }
:root[data-theme="dark"] .ambient { opacity: .12; }
.page-shell { width: min(calc(100% - 72px), 1440px); margin-inline: auto; position: relative; z-index: 1; }

.site-header {
  min-height: 98px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; text-decoration: none; }
.brand-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  flex: none;
  border: 1px solid #d4dce8;
  border-radius: 14px;
  background: linear-gradient(145deg, #f9fbff, #dce5f2);
  box-shadow: 0 8px 24px rgba(29, 52, 82, .1);
}
.brand-icon img { display: block; width: 43px; height: 43px; object-fit: contain; }
.brand-text { display: grid; gap: 1px; }
.brand-text strong { font-family: "Manrope", sans-serif; font-size: 14px; letter-spacing: -.035em; font-weight: 800; white-space: nowrap; }
.brand-text span { color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a span { color: var(--accent); padding-left: 3px; }
.theme-control {
  justify-self: end;
  display: flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--control);
}
.theme-control button {
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.theme-control button:hover { color: var(--ink); }
.theme-control button.is-active { color: var(--ink); background: var(--surface); box-shadow: 0 1px 6px rgba(0, 0, 0, .1); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(38px, 5vw, 86px);
  padding: 66px 0 86px;
}
.hero-copy { min-width: 0; padding-block: 20px; animation: enter-up .7s both; }
.eyebrow, .section-index, .card-label, .card-number, .card-meta, .stage-label, .hero-stats span, .marquee-rule, .card-action, .footer-link-group {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 700;
}
.eyebrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--accent); margin-bottom: 31px; }
.signal-dot { width: 7px; height: 7px; border-radius: 50%; background: #45bbdd; box-shadow: 0 0 0 5px rgba(69, 187, 221, .15); }
.eyebrow-divider { color: var(--muted); padding-inline: 2px; }
h1 {
  font-size: clamp(64px, 6.3vw, 110px);
  line-height: .99;
  letter-spacing: -.085em;
  font-weight: 800;
  margin-bottom: 28px;
}
h1 em, h2 em { font-style: normal; color: var(--accent); }
.accent-stop { color: var(--accent-bright); }
.hero-description { max-width: 570px; color: var(--muted); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.75; margin-bottom: 32px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; }
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 52px;
  padding: 0 18px 0 21px;
  border-radius: 11px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(var(--shadow), .12);
  transition: transform .22s ease, box-shadow .22s ease;
}
.primary-link:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(var(--shadow), .18); }
.primary-link span { font-size: 19px; line-height: 1; }
.text-link { display: inline-flex; align-items: center; gap: 11px; width: fit-content; color: var(--ink); font-size: 13px; font-weight: 800; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 5px; transition: color .2s ease, border-color .2s ease; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.text-link span { color: var(--accent); font-size: 17px; line-height: .8; }
.hero-stats { display: flex; align-items: center; gap: 28px; margin-top: 57px; }
.hero-stats div { display: grid; gap: 5px; }
.hero-stats strong { font-family: "Manrope", sans-serif; font-size: 31px; font-weight: 800; letter-spacing: -.075em; line-height: 1; }
.hero-stats span { color: var(--muted); font-size: 9px; letter-spacing: .1em; }
.hero-stats .stat-rule { width: 1px; height: 39px; background: var(--line); }

.hero-stage {
  position: relative;
  isolation: isolate;
  min-height: 510px;
  height: 100%;
  max-height: 600px;
  overflow: hidden;
  border: 1px solid #cbd6e5;
  border-radius: 28px;
  background: radial-gradient(circle at 66% 34%, #f7f9fe 0, #e9eff8 40%, #d4e0f0 100%);
  box-shadow: 0 30px 80px rgba(27, 51, 90, .12), inset 0 1px rgba(255, 255, 255, .9);
  animation: enter-up .8s .1s both;
}
:root[data-theme="dark"] .hero-stage { border-color: #425676; background: radial-gradient(circle at 66% 34%, #f4f7fc 0, #dce6f4 46%, #aebfd8 100%); box-shadow: 0 35px 90px rgba(0, 0, 0, .22); }
.stage-grid, .stage-halo, .stage-ring, .stage-node, .hero-mark, .stage-label { position: absolute; }
.stage-grid { inset: 0; opacity: .34; background-image: linear-gradient(#a9bdd8 1px, transparent 1px), linear-gradient(90deg, #a9bdd8 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(circle at center, #000 15%, transparent 72%); }
.stage-halo { width: 70%; aspect-ratio: 1; left: 15%; top: 13%; border-radius: 50%; background: radial-gradient(circle, rgba(91, 151, 255, .22) 0, rgba(91, 151, 255, .06) 45%, transparent 68%); filter: blur(15px); }
.stage-ring { border: 1px solid rgba(67, 102, 146, .24); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.stage-ring--outer { width: 84%; aspect-ratio: 1; border-style: dashed; animation: orbit 80s linear infinite; }
.stage-ring--inner { width: 64%; aspect-ratio: 1; border-color: rgba(67, 102, 146, .3); }
.stage-ring--inner::after { content: ""; position: absolute; width: 9px; height: 9px; top: 15%; right: 14%; border-radius: 50%; background: #377bfa; box-shadow: 0 0 0 8px rgba(55, 123, 250, .12); }
.stage-node { width: 4px; height: 4px; border-radius: 50%; background: #5282ca; }
.stage-node--one { left: 12%; top: 32%; }
.stage-node--two { right: 13%; bottom: 28%; }
.hero-mark { width: min(84%, 480px); height: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); filter: drop-shadow(0 22px 24px rgba(18, 35, 60, .15)); transition: transform .7s cubic-bezier(.18,.7,.2,1); }
.hero-stage:hover .hero-mark { transform: translate(-50%, -52%) scale(1.035); }
.stage-label { color: #52647e; font-size: 10px; letter-spacing: .17em; }
.stage-label--top { top: 28px; left: 29px; }
.stage-label--bottom { right: 28px; bottom: 29px; }
.marquee-rule { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 3px; border-block: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.marquee-rule span { display: inline-flex; align-items: center; gap: 14px; }
.marquee-rule span::before { content: "✦"; color: var(--accent); font-size: 13px; }

.work-section { padding: 111px 0 118px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.section-index { color: var(--accent); margin-bottom: 17px; }
.section-index span { color: var(--muted); }
h2 { font-size: clamp(40px, 4.3vw, 72px); letter-spacing: -.072em; line-height: 1.07; font-weight: 800; margin-bottom: 0; }
.section-intro { max-width: 350px; margin-bottom: 4px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; padding: 36px 0 23px; }
.filter-button {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.filter-button:hover { color: var(--accent); border-color: var(--accent); }
.filter-button.is-active { color: var(--bg); border-color: var(--ink); background: var(--ink); }
.filter-button span { font-size: 10px; opacity: .7; }
.project-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.project-card {
  grid-column: span 6;
  position: relative;
  min-width: 0;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: var(--surface);
  box-shadow: 0 12px 40px rgba(var(--shadow), .045);
  isolation: isolate;
  transition: transform .32s cubic-bezier(.18,.7,.2,1), box-shadow .32s ease, border-color .32s ease;
  animation: enter-up .55s both;
  animation-delay: calc(var(--card-index) * 60ms);
}
.project-card:is(a) { text-decoration: none; }
.project-card::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(circle 260px at var(--mx, 50%) var(--my, 0%), rgba(75, 129, 236, .105), transparent 75%); opacity: 0; transition: opacity .3s ease; }
.project-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 22px 55px rgba(var(--shadow), .13); }
.project-card:hover::before { opacity: 1; }
.project-card:nth-child(4n + 1), .project-card:nth-child(4n + 4) { grid-column: span 7; }
.project-card:nth-child(4n + 2), .project-card:nth-child(4n + 3) { grid-column: span 5; }
.project-card--game { grid-column: span 12 !important; min-height: 480px; }
.project-grid:not([data-view="all"]) .project-card { grid-column: span 6; }
.project-grid:not([data-view="all"]) .project-card:only-child { grid-column: span 12; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 2px 4px 0; }
.card-label { color: var(--accent); }
.card-number { color: var(--muted); font-size: 10px; }
.card-visual { position: relative; display: grid; place-items: center; height: 245px; margin-top: 18px; overflow: hidden; border-radius: 14px; isolation: isolate; }
.card-visual::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--visual-bg); }
.visual-lines { position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(90deg, var(--visual-line) 1px, transparent 1px), linear-gradient(var(--visual-line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle, #000, transparent 75%); }
.visual-content { position: relative; z-index: 1; display: grid; place-items: center; width: 100%; height: 100%; }
.visual-corner { position: absolute; width: 22px; height: 22px; border-color: var(--corner-color); border-style: solid; opacity: .75; }
.visual-corner--one { top: 18px; left: 18px; border-width: 1px 0 0 1px; }
.visual-corner--two { bottom: 18px; right: 18px; border-width: 0 1px 1px 0; }
.project-logo { display: block; object-fit: contain; width: min(78%, 520px); max-height: 165px; transition: transform .5s cubic-bezier(.18,.7,.2,1); }
.project-card:hover .project-logo { transform: scale(1.035); }
.project-card--saddle { --visual-bg: radial-gradient(circle at 60% 40%, #fffaf0, #eee9df); --visual-line: rgba(85, 69, 45, .07); --corner-color: #a49678; }
.project-card--saddle .project-logo { width: min(84%, 530px); max-height: 175px; }
.project-card--apis { --visual-bg: radial-gradient(circle at 55% 45%, #1d2024, #090b0e); --visual-line: rgba(226, 192, 101, .12); --corner-color: #bd9540; }
.project-card--apis .project-logo { width: min(84%, 490px); max-height: 165px; }
.project-card--bridge { --visual-bg: radial-gradient(circle at 60% 42%, #fcfbf8, #ece9e0); --visual-line: rgba(123, 98, 50, .08); --corner-color: #aa8b50; }
.project-card--bridge .project-logo { width: min(80%, 410px); max-height: 145px; }
.project-card--plainspoken { --visual-bg: radial-gradient(circle at 60% 40%, #f8fbff, #e5f0fc); --visual-line: rgba(20, 92, 176, .08); --corner-color: #4d92de; }
.project-card--plainspoken .project-logo { width: min(40%, 245px); max-height: 220px; }
.project-card--game { --visual-bg: radial-gradient(circle at 50% 50%, #172743, #080f1d); --visual-line: rgba(74, 148, 215, .17); --corner-color: #4c9bd1; }
.project-card--game .card-visual { height: 250px; }
.game-emblem { position: absolute; width: 220px; height: 220px; border: 1px solid rgba(89, 181, 245, .42); border-radius: 50%; box-shadow: 0 0 0 27px rgba(58, 130, 207, .045), 0 0 70px rgba(42, 142, 239, .25), inset 0 0 55px rgba(42, 142, 239, .12); animation: pulse 7s ease-in-out infinite; }
.game-emblem::before, .game-emblem::after { content: ""; position: absolute; border-radius: 50%; inset: 20px; border: 1px dashed rgba(112, 203, 255, .32); }
.game-emblem::after { inset: 62px; border-style: solid; border-color: rgba(112, 203, 255, .45); }
.game-emblem-core { position: absolute; width: 16px; height: 16px; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #8cdbff; border-radius: 50%; box-shadow: 0 0 28px 12px rgba(74, 177, 255, .6); }
.game-wordmark { position: absolute; display: flex; flex-direction: column; align-items: center; color: #e6f5ff; font-family: "Manrope", sans-serif; font-size: clamp(29px, 4vw, 54px); font-weight: 800; letter-spacing: .22em; line-height: .95; text-shadow: 0 4px 28px #08111e; }
.game-wordmark span { color: #8fdcff; font-size: .48em; letter-spacing: .48em; margin-top: 10px; }
.card-content { flex: 1; display: flex; flex-direction: column; padding: 21px 5px 2px; }
.card-meta { color: var(--accent); font-size: 10px; margin-bottom: 10px; }
.card-title-row { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.card-title-row h3 { font-size: clamp(28px, 2.5vw, 39px); line-height: 1.12; letter-spacing: -.055em; margin-bottom: 10px; }
.card-arrow { color: var(--accent); font-size: 25px; line-height: 1; transition: transform .25s ease; }
.project-card:hover .card-arrow { transform: translate(3px, -3px); }
.project-card--game .card-arrow { display: none; }
.card-summary { max-width: 590px; color: var(--muted); font-size: 14px; line-height: 1.65; margin-bottom: 24px; }
.card-action { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.card-action span:last-child { color: var(--accent); }
.card-status { display: inline-flex; align-items: center; gap: 9px; color: var(--muted) !important; }
.card-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #74c9ed; box-shadow: 0 0 0 4px rgba(116, 201, 237, .12); }
.empty-state { padding: 42px; text-align: center; border: 1px dashed var(--line); color: var(--muted); }

.next-section { min-height: 410px; position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; overflow: hidden; border-radius: 26px; padding: 55px 8%; background: radial-gradient(circle at 24% 56%, #233b64, #101a2b 45%, #0d1320 100%); color: #f3f7ff; }
.next-section::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(#7490ba 1px, transparent 1px), linear-gradient(90deg, #7490ba 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(90deg, #000, transparent 77%); }
.next-orbit { position: relative; width: min(72%, 290px); aspect-ratio: 1; justify-self: center; border: 1px solid rgba(162, 196, 244, .36); border-radius: 50%; box-shadow: 0 0 0 45px rgba(82, 141, 228, .05), 0 0 0 90px rgba(82, 141, 228, .03); }
.next-orbit::before, .next-orbit::after { content: ""; position: absolute; border: 1px dashed rgba(162, 196, 244, .3); border-radius: 50%; inset: 25px; }
.next-orbit::after { inset: 65px; border-style: solid; }
.next-orbit span:nth-child(1) { position: absolute; width: 12px; height: 12px; right: 15%; top: 15%; border-radius: 50%; background: #75cfff; box-shadow: 0 0 28px #4ab7f7; }
.next-orbit span:nth-child(2) { position: absolute; width: 70px; height: 70px; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #9bdcff, #3575d6 60%, #12305b); box-shadow: 0 0 80px rgba(97, 183, 255, .35); }
.next-orbit span:nth-child(3) { position: absolute; width: 5px; height: 5px; left: 6%; bottom: 25%; border-radius: 50%; background: #bfdfff; }
.next-copy { position: relative; z-index: 1; }
.next-copy .section-index { color: #9ccaff; }
.next-copy .section-index span { color: #a6b4c8; }
.next-copy h2 { font-size: clamp(35px, 3.7vw, 59px); margin-bottom: 19px; }
.next-copy h2 em { color: #9ccaff; }
.next-copy p:not(.section-index) { color: #bfcbe0; max-width: 500px; font-size: 15px; line-height: 1.7; margin-bottom: 27px; }
.next-copy .text-link { color: #eef5ff; border-color: #5e7292; }
.next-copy .text-link span { color: #9ccaff; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 42px 10%; padding: 120px 0 30px; }
.footer-intro h2 { font-size: clamp(42px, 4.8vw, 72px); }
.footer-intro p:last-child { color: var(--muted); max-width: 350px; font-size: 15px; line-height: 1.7; margin-top: 19px; }
.footer-links { display: grid; align-content: start; }
.footer-link-group { color: var(--accent); font-family: "DM Sans", sans-serif; margin: 19px 0 6px; font-size: 10px; }
.footer-link-group:first-child { margin-top: 0; }
.footer-links a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 700; text-decoration: none; transition: color .2s ease, padding .2s ease; }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.footer-links a span:last-child { color: var(--accent); }
.footer-bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); margin-top: 35px; padding-top: 22px; color: var(--muted); font-size: 11px; }
.footer-bottom p { margin-bottom: 0; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }
.footer-brand { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 800; }
.footer-brand img { background: #e4ebf6; border-radius: 6px; }

@keyframes enter-up { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes orbit { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 34px rgba(58, 130, 207, .055), 0 0 95px rgba(42, 142, 239, .34), inset 0 0 60px rgba(42, 142, 239, .16); } }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { grid-row: 2; grid-column: 1 / -1; justify-content: center; padding-bottom: 17px; }
  .hero { gap: 38px; }
  .hero-stage { min-height: 440px; }
  .project-card { min-height: 520px; }
}
@media (max-width: 760px) {
  .page-shell { width: min(calc(100% - 36px), 600px); }
  .site-header { min-height: 76px; gap: 8px; }
  .brand-icon { width: 42px; height: 42px; }
  .brand-icon img { width: 39px; height: 39px; }
  .brand-text span { display: none; }
  .brand-text strong { font-size: 13px; }
  .site-nav { gap: 28px; padding: 8px 0 16px; }
  .theme-control button { padding-inline: 9px; }
  .hero { grid-template-columns: 1fr; gap: 22px; padding: 64px 0 58px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(60px, 12.4vw, 92px); }
  .hero-description { max-width: 550px; }
  .hero-stats { margin-top: 40px; }
  .hero-stage { height: 390px; min-height: 0; max-height: none; }
  .hero-mark { width: min(78%, 350px); }
  .marquee-rule span:last-child { display: none; }
  .work-section { padding: 80px 0 88px; }
  .section-heading { display: block; }
  .section-intro { margin: 18px 0 0; }
  .project-grid { gap: 15px; }
  .project-card, .project-card:nth-child(4n + 1), .project-card:nth-child(4n + 2), .project-card:nth-child(4n + 3), .project-card:nth-child(4n + 4), .project-grid:not([data-view="all"]) .project-card { grid-column: span 12; }
  .project-card { min-height: 515px; }
  .project-card--game { min-height: 500px; }
  .next-section { grid-template-columns: 1fr; min-height: 530px; gap: 22px; padding: 38px 32px; }
  .next-orbit { width: 180px; grid-row: 2; }
  .next-copy { grid-row: 1; }
  .site-footer { grid-template-columns: 1fr; padding-top: 85px; gap: 35px; }
  .footer-bottom { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .site-nav .nav-github { display: none; }
  .eyebrow { font-size: 9px; }
  h1 { font-size: 58px; }
  .hero-actions { gap: 18px; }
  .hero-stage { height: 330px; }
  .stage-ring--outer { width: 89%; }
  .stage-label--bottom { right: 19px; bottom: 20px; font-size: 8px; }
  .stage-label--top { top: 20px; left: 20px; }
  .marquee-rule { font-size: 8px; }
  .filter-button { padding: 9px 13px; font-size: 11px; }
  .card-visual { height: 205px; }
  .project-card { min-height: 485px; padding: 15px; }
  .project-card--plainspoken .project-logo { max-height: 180px; }
  .game-wordmark { font-size: 28px; }
  .next-section { padding-inline: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
