:root {
  --paper: #fff;
  --soft: #f7f7f7;
  --ink: #171717;
  --muted: #666;
  --line: #dedede;
  --orange: #f97316;
  --page: min(1240px, calc(100% - 64px));
}
* {
  box-sizing: border-box;
}
html {
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
body,
body.subpage,
body.request-page {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
  overflow-x: clip;
  line-break: strict;
  word-break: auto-phrase;
  overflow-wrap: break-word;
}
body::before,
.grain,
.page-transition,
.footer-y,
.hero-grid,
.cursor {
  display: none !important;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
video {
  display: block;
  max-width: 100%;
}
button {
  color: inherit;
  font: inherit;
}
header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 72px;
  padding: 0 max(32px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid rgba(23, 23, 23, 0.1);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}
.logo,
header .logo {
  display: block;
  width: auto;
  color: var(--ink);
}
.logo b,
header .logo b {
  font-family: "Caveat", cursive;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
}
.logo small,
header .logo small {
  display: none;
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
header nav a {
  position: relative;
  padding: 23px 0 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
header nav a::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--orange);
  transition: transform 180ms ease;
}
header nav a:hover::after,
header nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.menu {
  display: none;
}
main {
  min-height: 60vh;
}
.hero {
  display: block;
  width: 100%;
  min-height: calc(100svh - 72px);
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--soft);
}

.hero-image {
  width: 100%;
  height: calc(100svh - 72px);
  object-fit: cover;
  object-position: center;
}
.reveal-enabled .reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.78s ease-out var(--reveal-delay, 0ms),
    transform 0.78s cubic-bezier(0.2, 0.72, 0.2, 1) var(--reveal-delay, 0ms);
}
.reveal-enabled .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.color-text-ready .color-char {
  color: #b8b8b8;
}
.color-line-clip {
  display: block;
  overflow: hidden;
}
.color-line {
  display: inline-block;
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.76s ease-out var(--line-delay, 0ms),
    transform 0.76s cubic-bezier(0.2, 0.72, 0.2, 1) var(--line-delay, 0ms);
}
.color-text-ready.line-text-visible .color-line {
  opacity: 1;
  transform: translateY(0);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .eyebrow,
.label {
  margin: 0 0 22px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
}
.hero h1 {
  max-width: 520px;
  margin: 0;
  color: var(--ink);
  font-family: "Zen Kurenaido", sans-serif;
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 700;
  line-height: 1.48;
  letter-spacing: -0.015em;
}
.hero-copy > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--muted);
  line-height: 1.9;
}
.hero .scroll {
  position: static;
  display: inline-flex;
  margin-top: 34px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.hero .scroll::after {
  margin-left: 18px;
  content: "↓";
}
.hero-feature {
  display: block;
}
.hero-feature img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--soft);
}
.hero-feature > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 15px;
}
.hero-feature b {
  font-size: 18px;
  font-weight: 600;
}
.hero-feature small {
  color: var(--muted);
}
.home-profile {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: clamp(56px, 9vw, 140px);
  width: var(--page);
  margin: 0 auto;
  padding: 120px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
}
.home-profile__copy {
  max-width: 680px;
  font-size: 17px;
  line-height: 2.05;
}
.home-profile__copy p {
  margin: 0 0 20px;
}
.home-profile small {
  display: block;
  color: var(--muted);
}
.home-skills__head h2 {
  margin: 0 0 24px;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 600;
}
.home-skills dl {
  margin: 0;
}
.home-skills dl > div {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.home-skills dt {
  margin-bottom: 8px;
  font-weight: 600;
}
.home-skills dt span {
  display: none;
}
.home-skills dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.works {
  width: 100%;
  padding: 110px max(32px, calc((100vw - 1240px) / 2));
  color: var(--ink);
  background: var(--soft);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto 54px;
}
.section-head .label {
  margin-bottom: 10px;
}
.section-head h1,
.section-head h2,
.sub-hero h1,
.motion-heading h1,
.server-heading h1,
.request-guide-hero h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Zen Kurenaido", sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.015em;
}
.section-head h1 i,
.section-head h2 i {
  font-style: normal;
}
.filters {
  display: flex;
  gap: 8px;
}
.filters button {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}
.filters button.active {
  border-color: var(--ink);
  color: var(--paper);
  background: var(--ink);
}
.filters sup {
  margin-left: 3px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 72px 24px;
  max-width: 1240px;
  margin: 0 auto;
}
.work {
  grid-column: span 7;
}
.work:nth-child(4n + 2),
.work:nth-child(4n + 3) {
  grid-column: span 5;
}
.work.hidden {
  display: none;
}
.art {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #e9e9e9;
  cursor: pointer;
}
.art img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 300ms ease;
}
.art:hover img {
  transform: scale(1.018);
}
.art > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  color: var(--paper);
  background: rgba(23, 23, 23, 0.88);
  font-size: 11px;
}
.meta {
  display: grid;
  grid-template-columns: 1fr;
  padding-top: 18px;
}
.meta > span {
  display: none;
}
.meta h3 {
  margin: 0 0 6px;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.meta p {
  max-width: 560px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 13px;
}
.meta small {
  color: var(--muted);
  font-size: 11px;
}
body:not(.works-page) #works {
  position: relative;
  height: 520vh;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--paper);
}

body:not(.works-page) #works .wheel-stage {
  position: sticky;
  top: 72px;
  width: 100%;
  height: calc(100vh - 72px);
  overflow: clip;
}

body:not(.works-page) #works .section-head {
  position: relative;
  z-index: 4;
  height: auto;
  margin-bottom: 0;
  padding: 48px 0 42px;
  align-items: flex-start;
  pointer-events: none;
}

body:not(.works-page) #works .section-head h2,
body:not(.works-page) #works .section-head .label {
  color: var(--ink);
}

body:not(.works-page) #works .filters {
  display: none;
}

body:not(.works-page) #works .grid {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

body:not(.works-page) #works .work {
  position: absolute;
  top: 54%;
  left: 50%;
  width: min(42vw, 620px);
  transform: translate(-50%, -50%)
    translate(var(--wheel-x, 0), var(--wheel-y, 0))
    scale(var(--wheel-scale, 0.55));
  transform-origin: center;
  opacity: var(--wheel-opacity, 0.18);
  pointer-events: none;
  will-change: transform, opacity;
}

body:not(.works-page) #works .work .art img {
  aspect-ratio: 16/9;
}

body:not(.works-page) #works .work .meta {
  color: var(--ink);
}

body:not(.works-page) #works .work .meta p,
body:not(.works-page) #works .work .meta small {
  color: var(--muted);
}

body:not(.works-page) #works .work.is-active {
  --wheel-opacity: 1;
  z-index: 3;
  pointer-events: auto;
}
.single-section {
  width: var(--page);
  margin: 0 auto;
  padding: 110px 0;
  scroll-margin-top: 72px;
}

.single-section + .single-section {
  border-top: 1px solid var(--line);
}

.single-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 40px 80px;
  margin-bottom: 64px;
}

.single-heading .label {
  grid-column: 1 / -1;
  margin-bottom: -20px;
}

.single-heading h2 {
  margin: 0;
  font-family: "Zen Kurenaido", sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.single-heading > p:last-child {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.others-section .single-heading h2 {
  grid-column: 1 / -1;
  font-size: clamp(16px, 4.2vw, 52px);
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.others-section .single-heading > p:last-child {
  grid-column: 1 / -1;
}

.thumbnail-category + .thumbnail-category,
.motion-showcase + .motion-showcase,
.motion-showcase + .server-showcase {
  margin-top: 100px;
}

.thumbnail-category-heading h3,
.motion-heading h3,
.server-heading h3,
.process h3,
.request-guide h3 {
  margin: 0;
  font-family: "Zen Kurenaido", sans-serif;
  font-size: clamp(21px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.thumbnail-category-heading {
  margin-bottom: 32px;
}

.gallery-item figure {
  margin: 0;
}

.gallery-item figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.005em;
}

.gallery-item img {
  cursor: zoom-in;
}

.motion-showcase .motion-heading,
.server-showcase .server-heading {
  width: 100%;
  padding: 0 0 34px;
}

.motion-grid h4,
.server-meta h4 {
  margin: 12px 0 0;
  font-family: "Manrope", "Zen Kaku Gothic New", sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.005em;
}

.request-section {
  width: 100%;
  max-width: none;
  padding-right: max(32px, calc((100vw - 1240px) / 2));
  padding-left: max(32px, calc((100vw - 1240px) / 2));
  background: var(--soft);
}
footer h2 {
  margin: 0 0 18px;
  font-family: "Zen Kurenaido", sans-serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.sub-hero,
.request-guide-hero,
.motion-heading,
.server-heading {
  width: var(--page);
  margin: 0 auto;
  padding: 80px 0 56px;
  color: var(--ink);
  background: var(--paper);
}
.sub-hero h1 br {
  display: none;
}
.sub-hero aside,
.motion-heading p,
.server-heading p {
  color: var(--muted);
}
.editorial-gallery,
.motion-grid,
.server-grid,
.about-detail,
.process,
.other-work-list,
.request-guide,
.request-legacy {
  width: var(--page);
  margin-right: auto;
  margin-left: auto;
}
.editorial-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 52px 18px;
  padding-bottom: 110px;
}

.thumbnail-category {
  position: relative;
  height: 420vh;
}

.thumbnail-wheel-stage {
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  overflow: clip;
}

.thumbnail-wheel-stage .thumbnail-category-heading {
  position: relative;
  z-index: 4;
  margin: 0;
  padding: 34px 0 0;
}

.thumbnail-wheel-stage .editorial-gallery {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
}

.thumbnail-wheel-stage .gallery-item,
.thumbnail-wheel-stage .gallery-item:nth-child(n) {
  position: absolute;
  top: 54%;
  left: 50%;
  width: min(44vw, 660px);
  transform: translate(-50%, -50%)
    translate(var(--thumb-x, 0), var(--thumb-y, 0))
    scale(var(--thumb-scale, 0.55));
  transform-origin: center;
  opacity: var(--thumb-opacity, 0.15);
  pointer-events: none;
  will-change: transform, opacity;
}

.thumbnail-wheel-stage .gallery-item.is-active {
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
}
.gallery-item {
  grid-column: span 4;
}
.gallery-item:nth-child(5n + 1),
.gallery-item:nth-child(5n + 4) {
  grid-column: span 8;
}
.gallery-item button,
.gallery-item img {
  width: 100%;
}
.gallery-item img {
  aspect-ratio: 16/9;
  object-fit: cover;
}
.gallery-item h2,
.gallery-item h3 {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 500;
}
.gallery-item span,
.gallery-item small,
.gallery-number,
.gallery-tag {
  display: none;
}
.about-detail {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr);
  gap: 80px;
  padding: 30px 0 100px;
}
.about-detail p {
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}
.about-detail h3,
.other-work-list h2,
.request-guide-intro h2,
.request-external h2,
.request-services h3,
.request-steps h4 {
  font-family: "Zen Kurenaido", sans-serif;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.about-detail h3 {
  font-size: clamp(22px, 2vw, 28px);
}
.process {
  padding: 80px 0 110px;
  border-top: 1px solid var(--line);
}
.process ol,
.process ul {
  padding: 0;
  list-style: none;
}
.process li {
  display: grid;
  grid-template-columns: minmax(90px, 160px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.process li p {
  min-width: 0;
  margin: 0;
}
.other-work-list {
  padding-bottom: 110px;
}
.other-work-list > a {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.other-work-list h2 {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 34px);
  font-weight: 500;
}
.other-work-list small,
.other-work-number {
  color: var(--muted);
}
.motion-showcase {
  padding-bottom: 110px;
}
.server-showcase {
  height: 420vh;
}
.server-slider-stage {
  position: sticky;
  top: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: calc(100vh - 72px);
  overflow: clip;
}
.motion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 68px 28px;
}
.motion-grid video {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  background: #111;
}
.motion-grid h2 {
  margin: 12px 0 0;
  font-family: "Manrope", "Zen Kaku Gothic New", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.005em;
}
.motion-grid span {
  display: none;
}
.motion-back,
.server-back {
  display: inline-block;
  margin: 68px max(32px, calc((100vw - 1240px) / 2)) 0;
  border-bottom: 1px solid var(--ink);
}
.server-grid {
  position: relative;
  height: min(52vh, 470px);
  overflow: visible;
  perspective: 1200px;
  transform-style: preserve-3d;
}
.server-grid article {
  position: absolute;
  z-index: var(--server-card-depth, 1);
  top: 50%;
  left: 50%;
  width: min(32vw, 400px);
  transform: translate(-50%, -50%) translateX(var(--server-card-x, 0))
    translateZ(var(--server-card-z, 0)) rotateY(var(--server-card-rotate, 0deg))
    scale(var(--server-card-scale, 1));
  transform-origin: center;
  opacity: var(--server-card-opacity, 1);
  pointer-events: none;
  will-change: transform, opacity;
}
.server-grid article.is-active {
  pointer-events: auto;
}
.server-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}
.server-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 14px;
}
.server-meta span {
  display: none;
}
.server-meta h2 {
  margin: 0;
  font-family: "Manrope", "Zen Kaku Gothic New", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.005em;
}
.server-private,
.server-join {
  color: var(--muted);
  font-size: 12px;
}
.server-join {
  display: inline-block;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
}
.request-guide-hero .label,
.request-external .label {
  color: var(--orange);
}
.request-guide {
  padding-bottom: 110px;
}
.request-guide-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 54px 0;
  border-top: 1px solid var(--line);
}
.request-guide-intro h2,
.request-external h2 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 500;
}
.request-guide-intro p,
.request-external p {
  color: var(--muted);
}
.fixed-line {
  display: block;
  white-space: nowrap;
}
.request-summary,
.request-guide-copy,
.request-guide-intro h3 {
  display: flex;
  flex-direction: column;
}
.request-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0;
  list-style: none;
}
.request-steps li {
  padding: 26px 0;
  border-top: 2px solid var(--ink);
}
.request-steps li > span {
  color: var(--orange);
}
.request-steps p {
  max-width: none;
  color: var(--muted);
}
.request-steps li:last-child p {
  white-space: nowrap;
}
.request-services {
  margin-top: 80px;
}
.request-services ul {
  padding: 0;
  list-style: none;
}
.request-services li {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.request-services li span {
  color: var(--muted);
}
.request-pricing {
  margin-top: 80px;
}
.request-pricing dl {
  margin: 0;
}
.request-pricing dl > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.request-pricing dd {
  flex: none;
  margin: 0;
  font-weight: 700;
}
.request-external {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 90px;
  padding: 48px;
  color: var(--paper);
  background: var(--ink);
}
.request-external h2,
.request-external p {
  color: var(--paper);
}
.request-external h3 {
  font-size: clamp(16px, 2.2vw, 28px);
  white-space: nowrap;
}
.request-external a.btn-c {
  flex: none;
  display: inline-flex;
  gap: 18px;
  align-items: center;
  padding: 14px 20px;
  border: 1px solid var(--paper);
  border-radius: 1rem;
  color: var(--ink);
  background: var(--paper);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.6),
    0 5px 10px rgba(0, 0, 0, 0.1);
  font-weight: 700;
  white-space: nowrap;
}
.request-external .fa-position-right::before {
  content: "→";
}
.request-legacy {
  min-height: 70vh;
  padding: 100px 0;
}
#lightbox {
  width: min(1080px, calc(100% - 40px));
  max-width: none;
  padding: 52px 24px 24px;
  border: 0;
  background: var(--paper);
}
#lightbox::backdrop {
  background: rgba(0, 0, 0, 0.75);
}
#lightbox > button {
  position: absolute;
  top: 14px;
  right: 18px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
#lightbox .preview {
  width: 100%;
  aspect-ratio: 16/9;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
#lightbox h2 {
  margin: 14px 0 0;
  font-size: 18px;
}
footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  width: 100%;
  padding: 58px max(32px, calc((100vw - 1240px) / 2)) 28px;
  color: var(--paper);
  background: var(--ink);
}
footer nav {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
footer p {
  grid-column: 1/-1;
  margin: 30px 0 0;
  color: #999;
  font-size: 11px;
}
.page-top.btn--circle {
  position: fixed;
  z-index: 90;
  right: 28px;
  bottom: 28px;
  display: grid;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  place-items: center;
}
.page-top.btn--circle i {
  font-size: 150%;
  font-style: normal;
  line-height: 60px;
  letter-spacing: 0;
  transition: transform 0.3s;
}
.page-top.btn--circle:hover i {
  transform: translateY(-3px);
}
@media (max-width: 900px) {
  :root {
    --page: calc(100% - 40px);
  }
  header {
    height: 64px;
    padding: 0 20px;
  }
  .menu {
    z-index: 102;
    display: block;
    padding: 8px 0;
    border: 0;
    background: transparent;
  }
  header nav {
    position: fixed;
    z-index: 101;
    inset: 64px 0 auto;
    display: none;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 12px 20px 28px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }
  header nav.open {
    display: flex;
  }
  header nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  header nav a::after {
    display: none;
  }
  .hero {
    min-height: 0;
    padding: 0;
    background: #191c21;
  }
  .hero-image {
    display: block;
    height: auto;
    object-fit: contain;
    object-position: center;
  }
  .server-showcase {
    height: 380vh;
  }
  .server-slider-stage {
    top: 64px;
    height: calc(100svh - 64px);
  }
  .server-grid {
    height: min(50svh, 420px);
    perspective: 900px;
  }
  .server-grid article {
    width: min(76vw, 320px);
  }
  .home-profile,
  .about-detail,
  .request-guide-intro {
    grid-template-columns: 1fr;
  }
  .home-profile {
    gap: 58px;
    padding: 80px 0;
  }
  .works {
    padding: 78px 20px;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 18px;
  }
  .work,
  .work:nth-child(n) {
    grid-column: span 1;
  }
  body:not(.works-page) #works {
    height: 420vh;
    padding: 0;
    background: var(--paper);
  }
  body:not(.works-page) #works .wheel-stage {
    position: sticky;
    top: 64px;
    height: calc(100svh - 64px);
    overflow: clip;
  }
  body:not(.works-page) #works .section-head {
    position: relative;
    height: auto;
    padding: 30px 20px 0;
    margin-bottom: 0;
  }
  body:not(.works-page) #works .section-head h2,
  body:not(.works-page) #works .section-head .label {
    color: var(--ink);
  }
  body:not(.works-page) #works .grid {
    position: absolute;
    display: block;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  body:not(.works-page) #works .work {
    position: absolute;
    top: 55%;
    left: 50%;
    width: min(78vw, 430px);
    transform: translate(-50%, -50%)
      translate(var(--wheel-x, 0), var(--wheel-y, 0))
      scale(var(--wheel-scale, 0.55));
    opacity: var(--wheel-opacity, 0.18);
  }
  body:not(.works-page) #works .work .meta {
    color: var(--ink);
  }
  body:not(.works-page) #works .work .meta p,
  body:not(.works-page) #works .work .meta small {
    color: var(--muted);
  }
  .editorial-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item,
  .gallery-item:nth-child(n) {
    grid-column: span 1;
  }
  .thumbnail-category {
    height: 360vh;
  }
  .thumbnail-wheel-stage {
    position: sticky;
    top: 64px;
    height: calc(100svh - 64px);
    overflow: clip;
  }
  .thumbnail-wheel-stage .thumbnail-category-heading {
    padding: 28px 0 0;
  }
  .thumbnail-wheel-stage .editorial-gallery {
    position: absolute;
    display: block;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  .thumbnail-wheel-stage .gallery-item,
  .thumbnail-wheel-stage .gallery-item:nth-child(n) {
    position: absolute;
    top: 55%;
    left: 50%;
    width: min(78vw, 430px);
    transform: translate(-50%, -50%)
      translate(var(--thumb-x, 0), var(--thumb-y, 0))
      scale(var(--thumb-scale, 0.55));
    opacity: var(--thumb-opacity, 0.15);
    pointer-events: none;
  }
  .motion-grid,
  .request-steps {
    grid-template-columns: 1fr;
  }
  .request-external {
    align-items: flex-start;
    flex-direction: column;
    padding: 32px 24px;
  }
  .single-section {
    padding: 78px 0;
    scroll-margin-top: 64px;
  }

  .single-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
  }

  .single-heading .label {
    grid-column: auto;
    margin-bottom: 0;
  }

  .request-section {
    padding-right: 20px;
    padding-left: 20px;
  }
}
@media (max-width: 560px) {
  .reveal-enabled .reveal-item {
    transform: translateY(24px);
    transition-duration: 0.62s;
  }
  .reveal-enabled .reveal-item.is-visible {
    transform: translateY(0);
  }
  .color-line {
    transform: translateY(24px);
    transition-duration: 0.66s;
  }
  footer {
    padding-right: 12px;
    padding-left: 12px;
  }
  footer h2 {
    font-size: clamp(18px, 5.3vw, 24px);
    letter-spacing: -0.06em;
    white-space: nowrap;
  }
  .others-section .single-heading {
    width: calc(100% + 24px);
    margin-left: -12px;
  }
  .others-section .single-heading h2 {
    font-size: clamp(18px, 5.5vw, 24px);
    letter-spacing: -0.08em;
  }
  .thumbnail-category-heading h3,
  .motion-heading h3,
  .server-heading h3 {
    font-size: clamp(20px, 5.5vw, 24px);
    letter-spacing: -0.04em;
    white-space: nowrap;
  }
  .label {
    font-size: 14px;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
  .grid,
  .editorial-gallery {
    grid-template-columns: 1fr;
  }
  .server-grid article {
    flex-basis: min(82vw, 360px);
  }
  .other-work-list > a {
    grid-template-columns: 1fr auto;
  }
  .other-work-number {
    display: none;
  }
  .process li {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .process li p {
    grid-column: auto;
    padding-left: 0;
  }
  .request-services li {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .request-summary,
  .request-guide-copy {
    font-size: min(15px, 2.8vw);
    letter-spacing: -0.02em;
  }
  .request-guide-intro h3 {
    font-size: clamp(19px, 5.3vw, 23px);
  }
  .request-steps li:last-child p {
    font-size: min(15px, 3.3vw);
    letter-spacing: -0.02em;
  }
  footer {
    grid-template-columns: 1fr;
  }
  footer p {
    grid-column: auto;
  }
  .page-top.btn--circle {
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
  }
  .page-top.btn--circle i {
    line-height: 52px;
  }
}
@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;
  }
  .reveal-enabled .reveal-item,
  .reveal-enabled .reveal-item.is-visible {
    opacity: 1;
    transform: none;
  }
  .color-text-ready .color-char {
    color: var(--ink) !important;
  }
  .color-line {
    opacity: 1;
    transform: none;
  }
  body:not(.works-page) #works {
    height: auto;
    padding: 80px max(20px, calc((100vw - 1240px) / 2));
    background: var(--paper);
  }
  body:not(.works-page) #works .wheel-stage {
    position: static;
    height: auto;
    overflow: visible;
  }
  .thumbnail-category {
    height: auto !important;
  }
  .thumbnail-wheel-stage {
    position: static;
    height: auto;
    overflow: visible;
  }
  .thumbnail-wheel-stage .editorial-gallery {
    position: static;
    display: grid;
    height: auto;
  }
  .thumbnail-wheel-stage .gallery-item,
  .thumbnail-wheel-stage .gallery-item:nth-child(n) {
    position: static;
    width: auto;
    transform: none !important;
    opacity: 1;
    pointer-events: auto;
  }
  .server-showcase {
    height: auto;
    padding-bottom: 80px;
  }
  .server-slider-stage {
    position: static;
    display: block;
    height: auto;
    overflow: visible;
  }
  .server-grid {
    display: flex;
    gap: 24px;
    height: auto;
    padding-bottom: 20px;
    overflow-x: auto;
    overflow-y: visible;
    perspective: none;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .server-grid article {
    position: static;
    flex: 0 0 min(82vw, 360px);
    width: auto;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  body:not(.works-page) #works .section-head,
  body:not(.works-page) #works .grid {
    position: static;
    height: auto;
    margin: 0 auto 40px;
  }
  body:not(.works-page) #works .grid {
    display: grid;
  }
  body:not(.works-page) #works .work {
    position: static;
    width: auto;
    transform: none !important;
    opacity: 1;
  }
  body:not(.works-page) #works .section-head h2,
  body:not(.works-page) #works .section-head .label,
  body:not(.works-page) #works .work .meta {
    color: var(--ink);
  }
}
