:root {
  color-scheme: light;
  --paper: #f7f8fc;
  --white: #fff;
  --ink: #171b27;
  --muted: #596174;
  --blue: #294bff;
  --blue-dark: #1d35c2;
  --yellow: #f8d747;
  --line: #dfe3ef;
  --font-sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100% - 72px, 1360px);
  min-height: 94px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-wordmark {
  display: block;
  width: 132px;
  height: auto;
}

.brand-note,
.main-nav,
.eyebrow,
.hero-footnote,
.section-label,
.studio-rule,
.project-topline,
.project-tags,
.project-art-note,
.project-art-caption,
.art-meta,
.art-label,
.art-index {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.brand-note {
  padding-left: 16px;
  border-left: 1px solid #b8becc;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  font-size: 11px;
  font-weight: 700;
}

.main-nav a {
  text-decoration: none;
  transition: color 160ms ease;
}

.main-nav a:hover,
.text-link:hover {
  color: var(--blue);
}

.main-nav .nav-play {
  display: inline-flex;
  min-height: 44px;
  padding: 0 18px;
  align-items: center;
  gap: 12px;
  background: var(--blue);
  color: var(--white);
  transition: background-color 160ms ease, transform 160ms ease;
}

.main-nav .nav-play:hover {
  transform: translateY(-2px);
  background: var(--blue-dark);
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  width: min(100% - 72px, 1360px);
  min-height: min(700px, calc(100svh - 94px));
  margin: 0 auto;
  padding: 90px 0 84px;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  align-items: center;
  gap: 40px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: 36px;
}

.eyebrow {
  display: flex;
  margin: 0 0 28px;
  align-items: center;
  gap: 10px;
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 700;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

h1,
h2,
p {
  margin-top: 0;
}

.hero h1 {
  margin-bottom: 30px;
  font-size: clamp(46px, 6.1vw, 88px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 1.22;
}

.hero h1 span {
  color: var(--blue);
}

.hero-description {
  max-width: 560px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.centered-hero-actions {
  justify-content: center;
}

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  color: var(--white);
}

.button-primary:hover {
  background: var(--blue);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 160ms ease;
}

.hero-footnote {
  display: flex;
  margin: 74px 0 0;
  align-items: center;
  gap: 12px;
  color: #7b8292;
  font-size: 9px;
}

.hero-footnote span {
  color: var(--blue);
  font-size: 12px;
}

.hero-art {
  position: relative;
  display: grid;
  min-height: 440px;
  align-items: center;
  isolation: isolate;
}

.hero-art::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(37vw, 490px);
  height: min(37vw, 490px);
  border: 1px solid #e6e8f0;
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.art-meta {
  position: absolute;
  top: 20px;
  right: 22px;
  left: 44px;
  display: flex;
  justify-content: space-between;
  color: #81899b;
  font-size: 9px;
}

.tile-figure {
  width: 100%;
  max-width: 540px;
  overflow: visible;
  justify-self: center;
}

.art-orbit {
  fill: none;
  stroke: #bfc7dc;
  stroke-dasharray: 3 8;
  stroke-width: 1.5;
}

.art-orbit-secondary {
  stroke: #d4d9e5;
  stroke-dasharray: none;
}

.board-shadow {
  fill: #ccd3e5;
  opacity: 0.68;
}

.board-base {
  fill: var(--white);
  stroke: var(--ink);
  stroke-width: 2;
}

.board-lines {
  fill: none;
  stroke: #d8dce7;
  stroke-width: 1;
}

.tile-blue {
  fill: var(--blue);
}

.tile-yellow {
  fill: var(--yellow);
}

.tile-black {
  fill: var(--ink);
}

.tile-piece {
  fill: var(--blue);
  stroke: var(--white);
  stroke-width: 4;
}

.tile-plus {
  fill: none;
  stroke: var(--blue);
  stroke-linecap: square;
  stroke-width: 2;
}

.art-orbit-dot {
  fill: var(--yellow);
  stroke: var(--ink);
  stroke-width: 2;
}

.art-orbit-dot-small {
  fill: var(--blue);
}

.art-label {
  position: absolute;
  right: 15px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #747d91;
  font-size: 9px;
}

.art-label-line {
  width: 34px;
  height: 1px;
  background: var(--blue);
}

.art-index {
  position: absolute;
  bottom: 68px;
  left: 28px;
  color: var(--blue-dark);
  font-size: 10px;
  transform: rotate(-90deg);
  transform-origin: left;
}

.section-shell {
  width: min(100% - 72px, 1180px);
  margin: 0 auto;
}

.studio {
  padding-top: 76px;
  border-top: 1px solid var(--line);
}

.section-label {
  display: flex;
  margin-bottom: 48px;
  align-items: center;
  gap: 18px;
  color: #798194;
  font-size: 10px;
}

.section-label span:first-child {
  color: var(--blue);
}

.studio-content {
  display: grid;
  padding-bottom: 86px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 12%;
}

.studio h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 5.2vw, 68px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 1.42;
}

.studio h2 span {
  color: var(--blue);
}

.studio-copy {
  max-width: 435px;
  padding-bottom: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.studio-copy p:last-child {
  margin-bottom: 0;
}

.studio-lead {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.studio-rule {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #7b8292;
  font-size: 9px;
}

.project {
  padding-top: 138px;
  padding-bottom: 128px;
}

.project .section-label {
  margin-bottom: 26px;
}

.project-card {
  position: relative;
  display: grid;
  min-height: 470px;
  overflow: hidden;
  grid-template-columns: 1fr 0.92fr;
  background: var(--ink);
  color: var(--white);
}

.project-main {
  position: relative;
  z-index: 1;
  display: flex;
  padding: clamp(36px, 5vw, 72px);
  flex-direction: column;
  align-items: flex-start;
}

.project-topline {
  display: flex;
  width: 100%;
  margin-bottom: 43px;
  align-items: center;
  justify-content: space-between;
  color: #aab1c2;
  font-size: 9px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cdd4e3;
}

.status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
}

.project h2 {
  margin-bottom: 16px;
  font-size: clamp(56px, 8vw, 100px);
  font-weight: 700;
  letter-spacing: -0.085em;
  line-height: 1;
}

.project-period {
  color: var(--yellow);
}

.project-description {
  max-width: 465px;
  margin-bottom: 24px;
  color: #d1d5df;
  font-size: 15px;
  line-height: 2;
}

.project-tags {
  display: flex;
  margin: 0 0 35px;
  padding: 0;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.project-tags li {
  padding: 6px 9px;
  border: 1px solid #4e5363;
  color: #c7cbd5;
  font-size: 8px;
}

.button-light {
  min-height: 50px;
  background: var(--white);
  color: var(--ink);
}

.button-light:hover {
  background: var(--yellow);
}

.project-art {
  position: relative;
  display: grid;
  min-height: 470px;
  overflow: hidden;
  align-content: center;
  justify-items: center;
  background: #e7eaff;
  color: var(--ink);
}

.project-art::before,
.project-art::after {
  position: absolute;
  width: 390px;
  height: 390px;
  border: 1px solid #c5cbea;
  border-radius: 50%;
  content: "";
}

.project-art::after {
  width: 300px;
  height: 300px;
}

.project-art-note {
  position: absolute;
  top: 29px;
  left: 28px;
  z-index: 1;
  color: #525c76;
  font-size: 8px;
}

.project-art-note span {
  color: var(--blue-dark);
}

.mini-board {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(68%, 300px);
  aspect-ratio: 1;
  padding: 8px;
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: 14px 14px 0 rgb(41 75 255 / 16%);
  grid-template-columns: repeat(6, 1fr);
  transform: rotate(-5deg);
}

.mini-board > span {
  display: grid;
  min-width: 0;
  border: 1px solid #e1e4ed;
  place-items: center;
}

.mini-board .mini-tile-blue {
  background: var(--blue);
}

.mini-board .mini-tile-yellow {
  background: var(--yellow);
}

.mini-board .mini-tile-dark {
  background: var(--ink);
}

.mini-board .mini-piece {
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: inset 0 0 0 4px var(--white);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.mini-board .mini-piece-light {
  background: var(--yellow);
  box-shadow: inset 0 0 0 4px var(--ink);
  color: var(--ink);
}

.project-art-cross {
  position: absolute;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 300;
}

.project-art-cross-one {
  top: 23%;
  right: 18%;
}

.project-art-cross-two {
  bottom: 20%;
  left: 13%;
  color: var(--ink);
  font-size: 21px;
}

.project-art-caption {
  position: absolute;
  right: 27px;
  bottom: 25px;
  margin: 0;
  color: #4d5877;
  font-size: 8px;
  line-height: 1.7;
  text-align: right;
}

.project-card-index {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  padding: 13px 16px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

.closing {
  display: flex;
  min-height: 180px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.closing p {
  margin: 0;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.closing a {
  display: inline-flex;
  min-height: 50px;
  padding: 0 17px;
  align-items: center;
  gap: 26px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.closing a:hover {
  transform: translateY(-2px);
  background: var(--blue-dark);
}

.site-footer {
  display: flex;
  min-height: 110px;
  padding: 24px max(36px, calc((100% - 1360px) / 2));
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--white);
}

.footer-brand .brand-mark {
  width: 28px;
  height: 28px;
}

.footer-brand .brand-wordmark {
  width: 122px;
}

.site-footer p,
.site-footer small {
  margin: 0;
  color: #727a8b;
  font-size: 10px;
}

.site-footer small {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.not-found {
  display: grid;
  min-height: calc(100svh - 94px - 110px);
  padding: 80px 24px;
  place-content: center;
  text-align: center;
}

.not-found-code {
  margin-bottom: 16px;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.not-found h1 {
  margin-bottom: 12px;
  font-size: clamp(36px, 6vw, 56px);
  letter-spacing: -0.06em;
}

.not-found p {
  margin-bottom: 26px;
  color: var(--muted);
}

.not-found .centered-hero-actions {
  align-items: center;
}

@media (max-width: 900px) {
  .site-header,
  .hero,
  .section-shell {
    width: min(100% - 48px, 720px);
  }

  .site-header {
    min-height: 82px;
  }

  .brand-note {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 70px 0 68px;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.75fr);
    gap: 20px;
  }

  .hero h1 {
    font-size: clamp(44px, 7vw, 66px);
  }

  .hero-art {
    min-height: 360px;
  }

  .studio-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .studio-copy {
    max-width: 570px;
  }

  .project-card {
    grid-template-columns: 1fr 0.82fr;
  }

  .project-main {
    padding: 38px 30px;
  }

  .project-art {
    min-height: 440px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 72px;
  }

  .site-header,
  .hero,
  .section-shell {
    width: min(100% - 36px, 480px);
  }

  .site-header {
    min-height: 72px;
    align-items: center;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .brand-wordmark {
    width: 112px;
  }

  .main-nav {
    gap: 9px;
    font-size: 8px;
  }

  .main-nav .nav-play {
    min-height: 39px;
    padding: 0 8px;
    gap: 5px;
    white-space: nowrap;
  }

  .hero {
    padding: 65px 0 60px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 9px;
  }

  .hero h1 {
    margin-bottom: 22px;
    font-size: clamp(43px, 12vw, 62px);
  }

  .hero-description {
    font-size: 14px;
  }

  .desktop-break {
    display: none;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .button {
    min-height: 50px;
  }

  .hero-footnote {
    margin-top: 34px;
  }

  .hero-art {
    min-height: 310px;
    margin-top: 2px;
  }

  .hero-art::before {
    width: min(78vw, 350px);
    height: min(78vw, 350px);
  }

  .art-meta {
    top: 0;
    right: 12px;
    left: 18px;
  }

  .tile-figure {
    width: min(100%, 370px);
  }

  .art-label {
    right: 3px;
    bottom: 13px;
    font-size: 8px;
  }

  .art-index {
    bottom: 42px;
    left: 8px;
    font-size: 8px;
  }

  .studio {
    padding-top: 53px;
  }

  .section-label {
    margin-bottom: 31px;
    font-size: 9px;
  }

  .studio-content {
    padding-bottom: 54px;
    gap: 24px;
  }

  .studio h2 {
    font-size: clamp(37px, 10vw, 52px);
  }

  .studio-copy {
    font-size: 13px;
  }

  .studio-lead {
    font-size: 15px;
  }

  .studio-rule {
    min-height: 48px;
    font-size: 7px;
  }

  .project {
    padding-top: 92px;
    padding-bottom: 74px;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-main {
    padding: 34px 26px 38px;
  }

  .project-topline {
    margin-bottom: 36px;
    font-size: 8px;
  }

  .project h2 {
    font-size: clamp(62px, 16vw, 86px);
  }

  .project-description {
    font-size: 13px;
  }

  .project-art {
    min-height: 350px;
  }

  .project-art::before {
    width: 330px;
    height: 330px;
  }

  .project-art::after {
    width: 250px;
    height: 250px;
  }

  .mini-board {
    width: min(66%, 255px);
  }

  .closing {
    min-height: 150px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 19px;
  }

  .site-footer {
    min-height: 105px;
    padding: 22px 18px;
    flex-wrap: wrap;
    gap: 11px 20px;
  }

  .footer-brand .brand-mark {
    width: 26px;
    height: 26px;
  }

  .footer-brand .brand-wordmark {
    width: 110px;
  }

  .site-footer p {
    order: 3;
    width: 100%;
  }

  .site-footer small {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
