@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --paper: #f6f7fb;
  --muted: #bbc2d4;
  --faint: #959fb6;
  --line: rgba(223, 230, 255, 0.24);
  --blue: #a5bbff;
  --page: #050713;
  --pad: clamp(24px, 5.5vw, 100px);
  --ease: cubic-bezier(0.22, 0.68, 0, 1.01);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--paper);
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
}
body.modal-open {
  overflow: hidden;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  background: none;
  border: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 450;
  line-height: 1.05;
}
::selection {
  background: #b4c6ff;
  color: #080b1a;
}
:focus-visible {
  outline: 2px solid #c2d2ff;
  outline-offset: 6px;
}
button,
a,
summary {
  touch-action: manipulation;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(100%, 1560px);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 14px;
  left: 20px;
  background: var(--paper);
  color: var(--page);
  padding: 12px 20px;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: #03040a;
}
.backdrop video {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: 0.95;
}
.backdrop-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(2, 4, 13, 0.5) 0%,
    rgba(2, 4, 13, 0.24) 65%,
    rgba(2, 4, 13, 0.12) 100%
  );
}
.reading-progress {
  height: 2px;
  position: fixed;
  inset: 0 0 auto;
  transform: scaleX(0);
  transform-origin: left;
  background: #b1c4ff;
  z-index: 60;
  pointer-events: none;
}
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 27px var(--pad);
  z-index: 40;
}
.brand {
  width: 205px;
  flex: none;
}
.brand img {
  width: 100%;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 35px;
}
.site-header nav a {
  font-size: 15px;
  position: relative;
  padding: 8px 0;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: currentColor;
  width: 100%;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.site-header nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.site-header nav a:last-child {
  margin-left: 16px;
}
.site-header nav a span {
  display: inline-block;
  margin-left: 9px;
}
.menu-toggle {
  display: none;
}
.hero {
  padding-top: 158px;
  padding-bottom: 75px;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.hero-topline {
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 35px;
  color: #e3e8f5;
}
.hero-name {
  font-size: clamp(90px, 13.1vw, 200px);
  font-weight: 470;
  letter-spacing: -0.085em;
  line-height: 0.87;
  margin-left: -0.025em;
}
.name-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.09em;
}
.name-line > span {
  display: inline-block;
}
.name-period {
  color: #b5c7ff;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
  margin-top: 49px;
}
.hero-intro {
  width: min(48%, 520px);
}
.hero-intro p {
  font-size: 19px;
  line-height: 1.55;
  color: #e1e5ef;
}
.hero-intro .text-link {
  margin-top: 23px;
}
.scroll-link {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
  line-height: 1.4;
}
.round-arrow {
  display: grid;
  place-items: center;
  height: 62px;
  width: 62px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  font-size: 27px;
  transition:
    background 0.3s,
    transform 0.4s;
}
.scroll-link:hover .round-arrow {
  background: #e6ebff;
  color: #0a0f23;
  transform: translateY(4px);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 6px 0 8px;
  border-bottom: 1px solid rgba(236, 241, 255, 0.5);
  font-size: 15px;
  line-height: 1.4;
  transition:
    border-color 0.3s,
    color 0.3s;
}
.text-link span {
  transition: transform 0.35s var(--ease);
  font-size: 20px;
  line-height: 1;
}
.text-link:hover {
  color: #c5d3ff;
  border-color: currentColor;
}
.text-link:hover span {
  transform: translate(3px, -3px);
}
.section {
  padding: 120px 0 130px;
  position: relative;
}
.section-line {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 14px;
  color: #d0d6e5;
}
.section-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 9%;
  align-items: end;
  margin: 70px 0 65px;
}
h2 {
  font-size: clamp(44px, 5.8vw, 84px);
  letter-spacing: -0.06em;
  line-height: 1.03;
}
.section-description {
  font-size: 19px;
  line-height: 1.65;
  max-width: 480px;
  color: #d9dfed;
  padding-bottom: 3px;
}
.work-section {
  background: rgba(3, 5, 15, 0.46);
}
.work-list {
  border-top: 1px solid var(--line);
}
.work-item {
  border-bottom: 1px solid var(--line);
}
summary {
  list-style: none;
  cursor: pointer;
}
summary::-webkit-details-marker {
  display: none;
}
.work-item summary {
  display: grid;
  grid-template-columns: 65px 1fr 46px;
  align-items: center;
  gap: 15px;
  padding: 34px 0;
  transition: color 0.3s;
}
.row-number {
  font-size: 14px;
  color: var(--muted);
  align-self: start;
  padding-top: 9px;
}
.work-item h3 {
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.045em;
  line-height: 1.13;
}
.expand-icon {
  width: 42px;
  height: 42px;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}
.expand-icon::before,
.expand-icon::after {
  content: "";
  background: currentColor;
  position: absolute;
  left: 11px;
  right: 11px;
  top: 20px;
  height: 1px;
  transition: transform 0.3s var(--ease);
}
.expand-icon::after {
  transform: rotate(90deg);
}
details[open] .expand-icon::after {
  transform: rotate(0);
}
summary:hover {
  color: #b9ccff;
}
.work-detail {
  padding: 0 76px 35px 80px;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 8%;
  animation: detail-in 0.35s ease-out;
}
.work-detail p {
  color: #d6dcea;
  max-width: 590px;
  font-size: 18px;
}
.detail-note {
  align-self: end;
  justify-self: end;
  text-align: right;
  font-size: 14px;
  color: var(--muted);
}
.career-block {
  margin-top: 85px;
}
.small-heading {
  font-size: 16px;
  font-weight: 450;
  color: #dee3ef;
  letter-spacing: -0.01em;
  line-height: 1.5;
}
.career-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  padding: 0;
  margin: 35px 0 0;
  gap: 45px;
}
.career-list li {
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.career-date {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 23px;
}
.career-list h4 {
  font-size: 23px;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.career-list li > p:last-child {
  font-size: 16px;
  color: var(--muted);
  max-width: 330px;
}
.projects-section {
  background: rgba(4, 6, 18, 0.3);
  padding-bottom: 100px;
}
.project-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin: 95px 0 37px;
}
.project-status {
  font-size: 15px;
  color: #dce3f4;
  margin-bottom: 20px;
}
.project-heading h3 {
  font-size: clamp(66px, 8.2vw, 116px);
  letter-spacing: -0.065em;
  line-height: 1;
}
.project-heading h3 > span {
  font-size: 0.57em;
  display: inline-block;
  vertical-align: top;
  margin: 10px 0 0 35px;
  font-weight: 300;
}
.project-heading > p {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  padding-bottom: 6px;
}
.project-shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #efede8;
  text-align: left;
  isolation: isolate;
}
.project-shot > img {
  width: 100%;
  aspect-ratio: 1.85;
  object-fit: cover;
  object-position: top;
  transition: transform 1s var(--ease);
}
.project-shot:hover > img {
  transform: scale(1.025);
}
.image-action {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: #f5f6fa;
  color: #141927;
  display: flex;
  align-items: center;
  gap: 23px;
  padding: 14px 19px;
  font-size: 14px;
  line-height: 1.3;
  box-shadow: 0 4px 30px #0002;
  transition: transform 0.4s var(--ease);
}
.image-action > span:last-child {
  font-size: 25px;
}
.project-shot:hover .image-action {
  transform: translateY(-5px);
}
.image-caption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 13px;
}
.project-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  margin-top: 47px;
}
.project-lead {
  font-size: 23px;
  line-height: 1.5;
  letter-spacing: -0.035em;
}
.project-story .text-link {
  margin-top: 29px;
}
.project-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 26px;
}
.project-tabs button {
  padding: 0 0 14px;
  font-size: 15px;
  color: var(--muted);
  position: relative;
  white-space: nowrap;
}
.project-tabs button::after {
  content: "";
  position: absolute;
  bottom: -1px;
  height: 2px;
  background: #d4dfff;
  left: 0;
  right: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}
.project-tabs button[aria-selected="true"] {
  color: #fff;
}
.project-tabs button[aria-selected="true"]::after {
  transform: scaleX(1);
}
.project-panel {
  padding-top: 27px;
  min-height: 208px;
  animation: detail-in 0.35s ease-out;
}
.project-panel h4 {
  font-size: 23px;
  margin-bottom: 13px;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.project-panel p {
  font-size: 16px;
  line-height: 1.6;
  color: #cbd3e6;
}
.project-panel .panel-note {
  margin-top: 13px;
  font-size: 14px;
  color: #dbe3f5;
}
.games-section {
  padding-top: 90px;
  background: rgba(3, 5, 15, 0.32);
}
.games-heading {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 12%;
  margin-top: 80px;
  align-items: end;
}
.games-heading h2 {
  font-size: clamp(54px, 7.2vw, 106px);
  letter-spacing: -0.065em;
}
.games-heading h2 > span {
  color: #b8c9ff;
}
.games-intro {
  max-width: 310px;
}
.games-intro p {
  font-size: 21px;
  line-height: 1.5;
  letter-spacing: -0.025em;
}
.asterisk {
  display: block;
  font-size: 100px;
  line-height: 1;
  margin-bottom: 45px;
  font-weight: 300;
  transform-origin: 38px 50%;
  width: 90px;
  animation: rotate-mark 32s linear infinite;
  color: #b8c9ff;
}
.games-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  margin: 62px 0 65px;
  padding-left: 18%;
}
.games-body p {
  font-size: 18px;
  color: #d4dcef;
}
.games-topics {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 8%;
  align-items: start;
}
.games-topics > .small-heading {
  padding-top: 25px;
}
.topic {
  border-top: 1px solid var(--line);
}
.topic:last-child {
  border-bottom: 1px solid var(--line);
}
.topic summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}
.topic p {
  padding: 0 45px 24px 0;
  color: #cbd4e9;
  animation: detail-in 0.35s ease-out;
  font-size: 17px;
}
.about-section {
  background: rgba(3, 5, 15, 0.58);
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 9%;
  margin: 77px 0 95px;
}
.about-layout h2 {
  font-size: clamp(40px, 4.3vw, 64px);
}
.about-copy > p {
  margin-bottom: 25px;
  color: #c8d1e3;
  font-size: 18px;
}
.about-copy > .large-copy {
  font-size: 28px;
  line-height: 1.5;
  letter-spacing: -0.035em;
  color: #f0f3fc;
}
.about-copy .text-link {
  margin-top: 5px;
}
.knowledge-title {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 35px;
  align-items: baseline;
}
.knowledge-title h3 {
  font-size: 30px;
  letter-spacing: -0.045em;
}
.knowledge-title p {
  font-size: 15px;
  color: var(--muted);
}
.knowledge-list {
  margin: 0;
}
.knowledge-list > div {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 35px;
  border-top: 1px solid var(--line);
  padding: 26px 0;
}
.knowledge-list > div:last-child {
  border-bottom: 1px solid var(--line);
}
.knowledge-list dt {
  font-size: 19px;
  color: #e2e8f6;
}
.knowledge-list dd {
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
  color: #bdc8df;
}
.contact-section {
  padding-block: 130px 100px;
}
.contact-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  margin: 70px 0 52px;
}
.contact-heading h2 {
  font-size: clamp(60px, 10.7vw, 156px);
  letter-spacing: -0.075em;
  line-height: 1.1;
}
.contact-arrow {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf1ff;
  color: #111936;
  flex: none;
  font-size: 70px;
  line-height: 1;
  transition: background 0.3s;
}
.contact-arrow span {
  transition: transform 0.4s var(--ease);
  display: inline-block;
}
.contact-arrow:hover {
  background: #b9caff;
}
.contact-arrow:hover span {
  transform: translate(5px, -5px);
}
.contact-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
  align-items: start;
}
.contact-bottom > p {
  font-size: 19px;
  line-height: 1.6;
  color: #d8dfee;
  max-width: 470px;
}
.contact-links {
  padding-top: 1px;
  position: relative;
}
.email-link {
  font-size: clamp(18px, 2.35vw, 34px);
  letter-spacing: -0.04em;
  border-bottom: 1px solid rgba(232, 239, 255, 0.5);
  padding-bottom: 7px;
  display: inline-block;
}
.contact-links > div {
  display: flex;
  gap: 36px;
  margin-top: 24px;
}
.contact-links .text-link {
  font-size: 14px;
  border-bottom: 0;
  gap: 12px;
}
.copy-feedback {
  display: block;
  min-height: 25px;
  color: #d5e0ff;
  font-size: 14px;
  margin-top: 9px;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-block: 30px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  background: rgba(3, 5, 15, 0.2);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img {
  height: 33px;
  width: 33px;
}
.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  padding: 10px 0;
  color: #d2d9eb;
  min-height: 44px;
}
.motion-icon {
  width: 18px;
  font-size: 17px;
  line-height: 1;
  text-align: center;
}
.floating-motion {
  position: fixed;
  bottom: 18px;
  right: 24px;
  z-index: 30;
  border: 1px solid #c8d6fc3d;
  padding: 8px 13px;
  background: rgba(6, 10, 26, 0.72);
  backdrop-filter: blur(14px);
  border-radius: 2px;
  transition: opacity 0.3s;
}
.floating-motion.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.back-to-top {
  display: flex;
  gap: 20px;
  align-items: center;
}
.back-to-top > span {
  font-size: 20px;
}
.project-dialog {
  padding: 0;
  border: 1px solid #e1e8ff45;
  color: var(--paper);
  background: #090d1b;
  width: min(1200px, 94vw);
  max-width: 94vw;
  max-height: 92svh;
  overflow: auto;
}
.project-dialog::backdrop {
  background: #030611e8;
  backdrop-filter: blur(18px);
}
.dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 17px 23px;
  position: sticky;
  top: 0;
  background: #090d1b;
  z-index: 2;
}
.dialog-bar h2 {
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 1.4;
}
.dialog-bar button {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  min-height: 44px;
}
.dialog-bar button span {
  font-size: 32px;
}
.dialog-image {
  background: #f4f1eb;
}
.dialog-image img {
  width: 100%;
}
.dialog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 23px;
  font-size: 14px;
  color: var(--muted);
}
.dialog-footer .text-link {
  font-size: 14px;
}
.error-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
}
.error-page h1 {
  font-size: clamp(55px, 8vw, 110px);
  letter-spacing: -0.06em;
}
.motion-ready .hero-name .name-line > span {
  animation: name-in 1.3s var(--ease) both;
}
.motion-ready .hero-name .name-line:nth-child(2) > span {
  animation-delay: 0.13s;
}
.motion-ready .reveal {
  transition:
    transform 0.85s var(--ease),
    opacity 0.85s var(--ease);
}
.motion-ready .reveal.is-waiting {
  opacity: 0;
  transform: translateY(35px);
}
.motion-paused * {
  animation-play-state: paused !important;
}
.motion-paused .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.motion-paused .name-line > span {
  transform: none !important;
  opacity: 1 !important;
}
.motion-paused .project-shot img,
.motion-paused .image-action,
.motion-paused .text-link span,
.motion-paused .round-arrow,
.motion-paused .contact-arrow span {
  transition: none !important;
  transform: none !important;
}
.motion-paused {
  scroll-behavior: auto;
}
.motion-paused .project-panel,
.motion-paused .work-detail,
.motion-paused .topic p {
  animation: none;
}
@keyframes name-in {
  from {
    transform: translateY(110%) rotate(3deg);
  }
  to {
    transform: translateY(0) rotate(0);
  }
}
@keyframes detail-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes rotate-mark {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1700px) {
  .hero {
    padding-top: 170px;
    min-height: 920px;
  }
  .hero-name {
    font-size: 210px;
  }
  .hero-bottom {
    margin-top: 65px;
  }
}
@media (max-width: 1000px) {
  .brand {
    width: 182px;
  }
  .site-header nav {
    gap: 22px;
  }
  .site-header nav a:last-child {
    margin-left: 0;
  }
  .hero {
    padding-top: 145px;
    min-height: 850px;
  }
  .hero-name {
    font-size: 13.8vw;
  }
  .hero-intro {
    width: 52%;
  }
  .hero-intro p {
    font-size: 18px;
  }
  .section {
    padding-block: 95px;
  }
  .section-intro {
    gap: 7%;
  }
  .section-description {
    font-size: 17px;
  }
  .work-detail {
    grid-template-columns: 1fr;
    padding-right: 35px;
    gap: 20px;
  }
  .detail-note {
    justify-self: start;
  }
  .project-story {
    gap: 7%;
  }
  .project-lead {
    font-size: 21px;
  }
  .project-tabs {
    gap: 20px;
  }
  .project-tabs button {
    font-size: 14px;
  }
  .games-heading {
    gap: 8%;
  }
  .games-intro p {
    font-size: 19px;
  }
  .games-body {
    padding-left: 0;
    gap: 8%;
  }
  .knowledge-title {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .contact-arrow {
    height: 95px;
    width: 95px;
    font-size: 55px;
  }
  .contact-bottom {
    gap: 8%;
  }
  .contact-heading {
    gap: 20px;
  }
  .career-list {
    gap: 25px;
  }
  .career-list h4 {
    font-size: 21px;
  }
}
@media (max-width: 760px) {
  :root {
    --pad: 25px;
  }
  html {
    scroll-padding-top: 25px;
  }
  .site-header {
    padding-block: 22px;
  }
  .brand {
    width: 177px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 8px 0;
    font-size: 14px;
    z-index: 2;
    min-height: 44px;
  }
  .menu-lines {
    position: relative;
    width: 22px;
    height: 18px;
  }
  .menu-lines::before,
  .menu-lines::after {
    content: "";
    height: 1px;
    width: 22px;
    background: #fff;
    position: absolute;
    left: 0;
    top: 5px;
    transition:
      transform 0.3s,
      top 0.3s;
  }
  .menu-lines::after {
    top: 12px;
  }
  .menu-toggle[aria-expanded="true"] .menu-lines::before {
    transform: rotate(45deg);
    top: 8px;
  }
  .menu-toggle[aria-expanded="true"] .menu-lines::after {
    transform: rotate(-45deg);
    top: 8px;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #080d1b;
    padding: 95px var(--pad) 30px;
    border-bottom: 1px solid var(--line);
    align-items: stretch;
    gap: 0;
  }
  .site-header nav.is-open {
    display: flex;
    flex-direction: column;
  }
  .site-header nav a {
    font-size: 26px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }
  .site-header nav a:last-child {
    border: 0;
  }
  .site-header nav a::after {
    display: none;
  }
  .site-header .brand {
    z-index: 2;
  }
  .hero {
    min-height: 800px;
    padding-top: 148px;
    padding-bottom: 70px;
    justify-content: flex-start;
  }
  .hero-topline {
    font-size: 13px;
    margin-bottom: 50px;
    display: block;
  }
  .hero-topline > span:last-child {
    display: block;
    margin-top: 5px;
    color: #bac8e3;
  }
  .hero-name {
    font-size: 14.4vw;
    line-height: 0.99;
    letter-spacing: -0.085em;
  }
  .hero-name .name-line:first-child {
    font-size: 1.55em;
    line-height: 0.85;
    padding-bottom: 0.11em;
  }
  .hero-bottom {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 46px;
    margin-top: 45px;
  }
  .hero-intro {
    width: 100%;
    max-width: 460px;
  }
  .hero-intro p {
    font-size: 18px;
    line-height: 1.65;
  }
  .hero-intro .text-link {
    margin-top: 20px;
  }
  .scroll-link {
    gap: 16px;
    font-size: 14px;
  }
  .round-arrow {
    width: 49px;
    height: 49px;
    font-size: 23px;
  }
  .scroll-link br {
    display: none;
  }
  .section {
    padding-block: 76px 85px;
  }
  .section-line {
    font-size: 13px;
    padding-top: 18px;
    gap: 20px;
  }
  .section-line > span:last-child {
    text-align: right;
  }
  .section-intro {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 49px 0 42px;
  }
  h2 {
    font-size: clamp(44px, 10.5vw, 72px);
  }
  .section-description {
    font-size: 18px;
    max-width: 540px;
  }
  .work-item summary {
    grid-template-columns: 26px 1fr 35px;
    gap: 12px;
    padding: 26px 0;
  }
  .row-number {
    font-size: 12px;
    padding-top: 6px;
  }
  .work-item h3 {
    font-size: 27px;
    line-height: 1.15;
  }
  .expand-icon {
    width: 35px;
  }
  .expand-icon::before,
  .expand-icon::after {
    left: 8px;
    right: 8px;
  }
  .work-detail {
    padding: 0 0 28px 38px;
  }
  .work-detail p {
    font-size: 16px;
  }
  .detail-note {
    font-size: 13px;
  }
  .career-block {
    margin-top: 58px;
  }
  .career-list {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 25px;
  }
  .career-list li {
    display: grid;
    grid-template-columns: 1fr 1.45fr;
    gap: 13px 20px;
    padding-top: 24px;
  }
  .career-date {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
  }
  .career-list h4 {
    font-size: 22px;
    line-height: 1.2;
    margin: 0;
  }
  .career-list li > p:last-child {
    grid-column: 2;
    font-size: 15px;
  }
  .project-heading {
    margin-top: 57px;
    gap: 24px;
    align-items: start;
  }
  .project-status {
    font-size: 13px;
    margin-bottom: 14px;
  }
  .project-heading h3 {
    font-size: 65px;
  }
  .project-heading h3 > span {
    margin: 5px 0 0 16px;
  }
  .project-heading > p {
    font-size: 16px;
    padding-top: 34px;
    max-width: 130px;
  }
  .project-shot > img {
    aspect-ratio: 1.35;
    object-fit: cover;
    object-position: 25% top;
  }
  .image-action {
    bottom: 15px;
    right: 15px;
    font-size: 12px;
    padding: 11px 13px;
    gap: 15px;
  }
  .image-action > span:last-child {
    font-size: 22px;
  }
  .image-caption {
    font-size: 12px;
    line-height: 1.5;
  }
  .project-story {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 30px;
  }
  .project-lead {
    font-size: 23px;
    line-height: 1.5;
  }
  .project-story .text-link {
    margin-top: 23px;
  }
  .project-tabs {
    gap: 30px;
  }
  .project-tabs button {
    font-size: 15px;
    min-height: 44px;
  }
  .project-panel {
    min-height: 210px;
    padding-top: 23px;
  }
  .project-panel h4 {
    font-size: 24px;
  }
  .project-panel p {
    font-size: 17px;
  }
  .games-heading {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 52px;
  }
  .games-heading h2 {
    font-size: clamp(49px, 11.8vw, 81px);
  }
  .games-intro {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 500px;
  }
  .asterisk {
    font-size: 75px;
    line-height: 1;
    margin: 0;
    flex: none;
    width: 67px;
    transform-origin: 29px 50%;
  }
  .games-intro p {
    font-size: 20px;
  }
  .games-body {
    grid-template-columns: 1fr;
    gap: 22px;
    margin: 32px 0 38px;
  }
  .games-body p {
    font-size: 17px;
  }
  .games-topics {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .games-topics > .small-heading {
    padding-top: 0;
  }
  .topic summary {
    font-size: 24px;
    padding-block: 16px;
  }
  .topic p {
    padding-right: 15px;
    font-size: 16px;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 33px;
    margin: 50px 0 60px;
  }
  .about-layout h2 {
    font-size: 46px;
  }
  .about-copy > .large-copy {
    font-size: 24px;
  }
  .about-copy > p {
    font-size: 17px;
    margin-bottom: 22px;
  }
  .knowledge-title h3 {
    font-size: 29px;
    line-height: 1.2;
  }
  .knowledge-title p {
    font-size: 14px;
  }
  .knowledge-list > div {
    grid-template-columns: 1fr;
    gap: 11px;
    padding-block: 23px;
  }
  .knowledge-list dt {
    font-size: 18px;
  }
  .knowledge-list dd {
    font-size: 16px;
    line-height: 1.8;
  }
  .contact-section {
    padding-block: 75px 65px;
  }
  .contact-heading {
    margin: 47px 0 35px;
    gap: 15px;
  }
  .contact-heading h2 {
    font-size: 10.8vw;
    letter-spacing: -0.07em;
  }
  .contact-arrow {
    width: 60px;
    height: 60px;
    font-size: 36px;
  }
  .contact-bottom {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .contact-bottom > p {
    font-size: 18px;
  }
  .email-link {
    font-size: 25px;
    overflow-wrap: anywhere;
    line-height: 1.4;
  }
  .contact-links > div {
    gap: 33px;
    margin-top: 16px;
  }
  .site-footer {
    flex-wrap: wrap;
    padding-block: 23px;
    gap: 16px;
  }
  .footer-brand {
    font-size: 13px;
    gap: 8px;
  }
  .footer-brand img {
    width: 28px;
    height: 28px;
  }
  .site-footer .motion-toggle {
    order: 3;
    width: 100%;
    border-top: 1px solid var(--line);
    padding-top: 15px;
    font-size: 13px;
  }
  .back-to-top {
    font-size: 13px;
    gap: 12px;
  }
  .floating-motion {
    bottom: 12px;
    right: 13px;
    padding: 8px 10px;
    font-size: 12px;
    gap: 6px;
  }
  .dialog-bar {
    padding: 11px 15px;
    gap: 15px;
  }
  .dialog-bar h2 {
    font-size: 14px;
    max-width: 170px;
  }
  .dialog-bar button {
    gap: 8px;
    font-size: 13px;
  }
  .dialog-bar button span {
    font-size: 27px;
  }
  .dialog-footer {
    flex-direction: column;
    align-items: start;
    padding: 17px 15px;
    gap: 6px;
  }
  .project-dialog {
    max-height: 90svh;
    width: 94vw;
  }
  .dialog-image {
    overflow: auto;
  }
  .dialog-image img {
    min-width: 640px;
    max-width: none;
    width: 100%;
  }
}
@media (max-width: 380px) {
  :root {
    --pad: 20px;
  }
  .brand {
    width: 160px;
  }
  .hero-topline {
    margin-bottom: 39px;
  }
  .hero {
    min-height: 780px;
  }
  .hero-name {
    font-size: 14.2vw;
  }
  .project-heading {
    flex-direction: column;
    gap: 10px;
  }
  .project-heading > p {
    padding: 0;
    max-width: 100%;
    font-size: 19px;
  }
  .project-heading > p br {
    display: none;
  }
  .project-tabs {
    gap: 22px;
  }
  .project-tabs button {
    font-size: 14px;
  }
  .work-item h3 {
    font-size: 25px;
  }
  .email-link {
    font-size: 22px;
  }
  .contact-arrow {
    height: 52px;
    width: 52px;
    font-size: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .motion-ready .reveal.is-waiting {
    opacity: 1;
    transform: none;
  }
  .name-line > span {
    transform: none !important;
  }
  .project-shot:hover > img,
  .project-shot:hover .image-action,
  .text-link:hover span,
  .scroll-link:hover .round-arrow,
  .contact-arrow:hover span {
    transform: none;
  }
}
/* A single continuous film across every section. */
html {
  scroll-padding-top: 0;
}
.backdrop-shade {
  background: linear-gradient(
    90deg,
    rgba(2, 4, 13, 0.52),
    rgba(2, 4, 13, 0.34) 65%,
    rgba(2, 4, 13, 0.25)
  );
}
.work-section,
.projects-section,
.games-section,
.about-section {
  background: transparent;
}
.floating-motion {
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  right: 14px;
  bottom: 14px;
}
.floating-motion .motion-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.floating-motion .motion-icon {
  font-size: 18px;
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 0;
  }
  .floating-motion {
    right: 9px;
    bottom: 9px;
  }
}
@media (max-width: 760px) {
  .hero-name {
    font-size: 19.2vw;
  }
  .hero-name .name-line:first-child {
    font-size: 1.25em;
  }
}
@media (max-width: 380px) {
  .hero-name {
    font-size: 19vw;
  }
}
@media (max-width: 760px) {
  .project-heading {
    flex-direction: column;
    gap: 15px;
  }
  .project-heading h3 {
    white-space: nowrap;
  }
  .project-heading > p {
    padding: 0;
    max-width: none;
    font-size: 20px;
  }
  .project-heading > p br {
    display: none;
  }
}
