:root {
  --black: #020205;
  --ink: #111111;
  --paper: #f5f3ee;
  --white: #ffffff;
  --mist: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.2);
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--white);
  scroll-behavior: smooth;
}

html.resume-entry,
html.resume-entry body {
  background: var(--paper);
  color: var(--ink);
}

html.resume-entry body.intro-locked {
  overflow: auto;
}

html.resume-entry .scene-intro {
  display: none;
}

body {
  margin: 0;
  font-family: "Didot", "Bodoni 72", "Times New Roman", serif;
  background: var(--paper);
  color: var(--white);
}

body.intro-locked {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

.scene {
  position: relative;
  min-height: 100vh;
}

.scene-intro {
  position: fixed;
  inset: 0;
  z-index: 20;
  overflow: hidden;
  cursor: none;
  background:
    radial-gradient(circle at 50% 118%, rgba(20, 22, 42, 0.88), transparent 45%),
    linear-gradient(180deg, #010103 0%, #05060e 52%, #111320 100%);
  transition: background 1.15s ease, opacity 0.9s ease;
}

.scene-intro.is-revealing {
  background: #000;
  cursor: default;
}

.scene-intro.is-complete {
  pointer-events: none;
  opacity: 0;
}

.fireworks-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.7s ease;
}

.scene-intro.is-revealing .fireworks-canvas,
.scene-intro.is-revealing .intro-wordmark {
  opacity: 0;
}

.cloud {
  position: absolute;
  width: 118vw;
  min-width: 820px;
  height: 48vh;
  min-height: 330px;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 8% 65%, rgba(172, 158, 142, 0.2) 0 11%, transparent 23%),
    radial-gradient(ellipse at 20% 51%, rgba(186, 174, 158, 0.28) 0 15%, transparent 30%),
    radial-gradient(ellipse at 35% 38%, rgba(198, 186, 168, 0.34) 0 17%, transparent 34%),
    radial-gradient(ellipse at 50% 48%, rgba(178, 167, 153, 0.28) 0 20%, transparent 41%),
    radial-gradient(ellipse at 67% 38%, rgba(194, 181, 162, 0.3) 0 16%, transparent 33%),
    radial-gradient(ellipse at 84% 55%, rgba(154, 143, 132, 0.2) 0 14%, transparent 29%),
    radial-gradient(ellipse at 44% 76%, rgba(98, 92, 88, 0.16) 0 22%, transparent 46%);
  filter: blur(5px) saturate(0.75);
  opacity: 0;
  mix-blend-mode: lighten;
  transform: translate3d(-120vw, 0, 0) scale(1);
  animation: cloudPass 168s linear infinite;
  pointer-events: none;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  inset: 9% 5%;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 18% 58%, rgba(230, 215, 190, 0.16) 0 9%, transparent 22%),
    radial-gradient(ellipse at 36% 32%, rgba(238, 225, 203, 0.2) 0 10%, transparent 24%),
    radial-gradient(ellipse at 58% 44%, rgba(225, 208, 184, 0.17) 0 13%, transparent 29%),
    radial-gradient(ellipse at 74% 61%, rgba(120, 111, 103, 0.12) 0 17%, transparent 35%);
  filter: blur(1.8px);
}

.cloud::after {
  inset: 30% 10% 12%;
  opacity: 0.55;
  background:
    radial-gradient(ellipse at 20% 62%, rgba(48, 44, 44, 0.2) 0 14%, transparent 32%),
    radial-gradient(ellipse at 54% 58%, rgba(50, 46, 46, 0.18) 0 16%, transparent 36%),
    radial-gradient(ellipse at 80% 64%, rgba(42, 39, 39, 0.16) 0 13%, transparent 30%);
}

.cloud-a {
  top: 10vh;
  left: 0;
  animation-delay: -14s;
}

.cloud-b {
  top: 36vh;
  left: 0;
  width: 72vw;
  height: 36vh;
  min-width: 520px;
  min-height: 260px;
  animation-duration: 212s;
  animation-delay: -78s;
}

.cloud-c {
  top: -8vh;
  left: 0;
  width: 64vw;
  height: 31vh;
  min-width: 480px;
  min-height: 230px;
  animation-duration: 198s;
  animation-delay: -118s;
}

.cloud-d {
  top: 20vh;
  left: 0;
  width: 118vw;
  height: 58vh;
  animation-duration: 246s;
  animation-delay: -158s;
}

.cloud-e {
  top: 62vh;
  left: 0;
  width: 58vw;
  height: 28vh;
  min-width: 420px;
  min-height: 200px;
  animation-duration: 184s;
  animation-delay: -44s;
}

@keyframes cloudPass {
  0% {
    opacity: 0;
    transform: translate3d(-124vw, 0, 0) scale(1.06);
  }
  12% {
    opacity: 0;
  }
  24% {
    opacity: 0.18;
  }
  42% {
    opacity: 0.28;
  }
  58% {
    opacity: 0.1;
  }
  70% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: translate3d(122vw, -3vh, 0) scale(1.12);
  }
}

.intro-wordmark {
  position: absolute;
  left: clamp(24px, 5vw, 72px);
  bottom: clamp(38px, 8vh, 92px);
  z-index: 3;
  display: block;
  width: min(53.2vw, 735px);
  height: auto;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.7s ease;
}

.eyebrow {
  margin: 0 0 14px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.intro-logo-reveal {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.9s ease,
    transform 1.15s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scene-intro.is-logo-visible .intro-logo-reveal {
  opacity: 1;
  transform: scale(1);
}

.scene-intro.is-revealing .cloud {
  opacity: 0;
  transition: opacity 0.9s ease;
}

.scene-morph {
  min-height: 380vh;
  background: var(--paper);
}

.morph-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgb(
    var(--morph-r, 0)
    var(--morph-g, 0)
    var(--morph-b, 0)
  );
}

.brand-lockup {
  position: relative;
  width: min(46vw, 460px);
  aspect-ratio: 876 / 1327;
  transform: translateY(4vh);
  filter:
    invert(var(--brand-invert, 1))
    drop-shadow(0 0 18px rgb(255 244 211 / var(--brand-glow, 0.42)));
  pointer-events: none;
}

.brand-lockup img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
}

.brand-logo-layer {
  clip-path: inset(0 0 14% 0);
}

.brand-word-layer {
  clip-path: inset(84% 0 0 0);
  opacity: var(--wordmark-reveal, 0);
  transform: translateY(var(--wordmark-offset, 28px));
}

.morph-lockup {
  opacity: 1;
  transform: translateY(4vh) scale(var(--morph-scale, 1));
  transform-origin: 50% 46%;
  will-change: transform, filter;
}

body.intro-locked:not(.brand-handoff) .morph-lockup {
  opacity: 0;
}

.scene-sticker {
  min-height: auto;
  display: grid;
  place-items: center;
  margin-top: -20vh;
  background: var(--paper);
  padding: 0 24px 36vh;
}

.statement-sticker {
  display: block;
  width: clamp(133px, 11.9vw, 182px);
  height: auto;
  user-select: none;
}

.scene-text {
  min-height: 100vh;
  display: grid;
  place-items: start center;
  overflow: hidden;
  background: var(--paper);
  padding: 0 24px 24vh;
}

.statement-artwork {
  display: block;
  width: min(58vw, 920px);
  max-width: calc(100vw - 48px);
  height: auto;
  user-select: none;
}

.scene-gallery {
  min-height: 320vh;
  background: var(--paper);
  color: var(--ink);
}

.scene-home-gallery .gallery-track {
  --home-card-size: min(70vw, 920px);
  --home-card-gap: clamp(24px, 3.5vw, 56px);
  display: grid;
  grid-template-columns: repeat(2, var(--home-card-size));
  grid-template-rows: repeat(3, var(--home-card-size));
  gap: var(--home-card-gap);
  width: max-content;
  height: max-content;
  padding: max(24px, calc((100vh - var(--home-card-size)) / 2)) max(24px, calc((100vw - var(--home-card-size)) / 2));
}

.gallery-card {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.gallery-number,
.gallery-arrow {
  position: absolute;
  z-index: 1;
}

.gallery-number {
  top: clamp(22px, 3vw, 42px);
  left: clamp(22px, 3vw, 42px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.gallery-heading {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: calc(100% - clamp(44px, 8vw, 120px));
  transform: translate(-50%, -52%);
  text-align: center;
}

.gallery-title {
  display: block;
  font-size: clamp(54px, 8vw, 126px);
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.gallery-label {
  display: block;
  margin-top: clamp(14px, 1.6vw, 24px);
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: clamp(15px, 1.2vw, 19px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.gallery-arrow {
  right: clamp(22px, 3vw, 42px);
  bottom: clamp(18px, 2.6vw, 36px);
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1;
  transition: transform 220ms ease;
}

.gallery-card[href]:hover .gallery-arrow,
.gallery-card[href]:focus-visible .gallery-arrow {
  transform: translate(7px, -7px);
}

.card-a {
  grid-column: 1;
  grid-row: 1;
}

.card-b {
  grid-column: 2;
  grid-row: 1;
}

.card-c {
  grid-column: 2;
  grid-row: 2;
}

.card-d {
  grid-column: 2;
  grid-row: 3;
}

.gallery-sticky {
  position: sticky;
  isolation: isolate;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--paper);
}

.business-heading {
  position: absolute;
  top: clamp(28px, 7vh, 72px);
  left: clamp(24px, 4.5vw, 72px);
  z-index: 3;
  color: var(--ink);
  opacity: var(--business-title-opacity, 1);
  transform: translate3d(calc(var(--business-title-shift, 0) * -1px), 0, 0);
  pointer-events: none;
}

.business-heading h1,
.business-heading h2 {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(70px, 8.5vw, 132px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.075em;
}

.card-a .gallery-title,
.business-heading h1 {
  view-transition-name: content-title;
}

.card-b .gallery-title,
.works-heading h1 {
  view-transition-name: works-title;
}

.card-c .gallery-title,
.about-heading h1 {
  view-transition-name: about-title;
}

.business-page {
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
}

.business-page .business-detail {
  min-height: 320vh;
}

.works-page {
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
}

.works-detail {
  min-height: 300vh;
}

.about-document {
  --paper: #fff;
  background: #fff;
}

.about-page {
  min-height: 100%;
  background: #fff;
  color: var(--ink);
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

.about-page .business-back {
  background: rgba(255, 255, 255, 0.9);
}

.about-main,
.about-hero {
  min-height: 100svh;
}

.about-hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 0;
  padding: clamp(72px, 10vh, 110px) 0 clamp(48px, 8vh, 80px);
}

.about-copy {
  min-width: 0;
  padding-right: 0;
  padding-left: clamp(32px, 5vw, 80px);
}

.about-heading h1 {
  display: inline-block;
  margin: 0;
  font-size: clamp(82px, 9vw, 140px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.075em;
  white-space: nowrap;
  transform: scaleX(var(--about-title-scale, 1));
  transform-origin: left center;
}

.about-heading {
  width: clamp(360px, 30vw, 440px);
  max-width: 100%;
}

.about-wordmark {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-top: clamp(18px, 2.4vh, 28px);
}

.about-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 2.8vw, 44px);
  width: clamp(360px, 30vw, 440px);
  max-width: 100%;
  margin-top: clamp(34px, 5vh, 58px);
}

.about-intro p {
  margin: 0;
  font-size: clamp(12px, 0.95vw, 15px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.about-visual {
  display: grid;
  align-self: start;
  place-items: stretch;
  min-width: 0;
  min-height: 0;
  height: auto;
  margin: 0;
  overflow: visible;
}

.about-image {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: none;
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.about-projects {
  position: relative;
  min-height: 260svh;
  overflow: hidden;
  background: #fff;
}

.about-construction {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(220px, 28svh, 280px);
  overflow: hidden;
  isolation: isolate;
}

.about-construction-tape {
  position: absolute;
  z-index: 0;
  top: 47%;
  left: -5vw;
  width: 110vw;
  height: 38px;
  border-top: 2px solid #111;
  border-bottom: 2px solid #111;
  background: repeating-linear-gradient(135deg, #f3701b 0 30px, #111 30px 60px);
  transform: rotate(-1.2deg);
  transform-origin: center;
}

.about-construction-notice {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(18px, 3vw, 44px);
  padding: 12px 24px 8px;
}

.about-construction-worker {
  display: block;
  width: auto;
  height: clamp(170px, 24svh, 230px);
  object-fit: contain;
}

.about-construction-notice p {
  align-self: flex-start;
  margin: clamp(42px, 6vh, 62px) 0 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: clamp(15px, 1.35vw, 20px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.about-project-slot {
  position: absolute;
  background: #000;
}

.about-project-slot-1 {
  top: 14%;
  left: 6vw;
  width: min(30vw, 520px);
  aspect-ratio: 3 / 2;
}

.about-project-slot-2 {
  top: 18%;
  right: 6vw;
  width: min(19vw, 330px);
  aspect-ratio: 3 / 4;
}

.about-project-slot-3 {
  top: 34%;
  left: 14vw;
  width: min(17vw, 300px);
  aspect-ratio: 4 / 5;
}

.about-project-slot-4 {
  top: 39%;
  right: 10vw;
  width: min(34vw, 590px);
  aspect-ratio: 16 / 9;
}

.about-project-slot-5 {
  top: 63%;
  left: 5vw;
  width: min(39vw, 680px);
  aspect-ratio: 2.1 / 1;
}

.about-project-slot-6 {
  top: 66%;
  right: 8vw;
  width: min(20vw, 350px);
  aspect-ratio: 1;
}

.about-project-slot-7 {
  top: 84%;
  left: 38vw;
  width: min(26vw, 450px);
  aspect-ratio: 4 / 3;
}

.about-story {
  --story-length: 2470svh;
  position: relative;
  min-height: var(--story-length);
  background: #fff;
}

.about-story-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #fff;
}

.about-story-top {
  position: absolute;
  z-index: 2;
  bottom: clamp(18px, 3vh, 30px);
  left: 50%;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 300 25px/1 "Helvetica Neue", sans-serif;
  cursor: pointer;
  transform: translateX(-50%) rotate(-90deg);
  transform-origin: center;
  transition: opacity 180ms ease;
}

.about-story-top:hover,
.about-story-top:focus-visible {
  opacity: 0.45;
}

.about-story-scene {
  --story-opacity: 0;
  --story-y: 18px;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(32px, 8vw, 120px);
  opacity: var(--story-opacity);
  transform: translate3d(0, var(--story-y), 0);
  will-change: opacity, transform;
  pointer-events: none;
}

.about-story-lines {
  width: min(34em, 100%);
  margin: 0;
  color: var(--ink);
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: clamp(15px, 1.35vw, 20px);
  font-weight: 300;
  line-height: 1.85;
  letter-spacing: 0.025em;
  text-align: center;
}

.about-story-lines--wide {
  width: min(28em, 100%);
}

.about-story-lines span {
  display: block;
}

.about-story-lines--verse {
  width: auto;
  line-height: 2;
  letter-spacing: 0.1em;
}

.works-track {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  gap: clamp(64px, 7vw, 112px);
  padding: 0 clamp(52px, 7vw, 112px) 0 clamp(24px, 4.5vw, 72px);
  transform: translate3d(var(--works-x, 0px), 0, 0);
  transition: transform 0.04s linear;
  will-change: transform;
}

.work-card {
  flex: 0 0 clamp(420px, 34vw, 560px);
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  height: 100%;
  color: var(--ink);
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", sans-serif;
  text-decoration: none;
}

.work-image {
  grid-row: 2;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.work-placeholder {
  background: #000;
}

.work-image-link {
  grid-row: 2;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  box-shadow:
    0 1px 3px rgba(24, 21, 16, 0.12),
    0 10px 22px rgba(24, 21, 16, 0.13),
    0 24px 44px rgba(24, 21, 16, 0.09);
}

.work-image-link .work-image {
  width: 100%;
  height: 100%;
  transition: filter 320ms ease;
}

.work-image-link:hover .work-image,
.work-image-link:focus-visible .work-image {
  filter: brightness(0.88);
}

.work-details {
  grid-row: 3;
  align-self: start;
  width: 100%;
  padding-top: clamp(14px, 1.5vw, 22px);
}

.work-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.work-details h2,
.work-location {
  margin: 0;
  font-size: clamp(20px, 1.7vw, 27px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
}

.work-card--compact-title .work-details h2 {
  white-space: nowrap;
}

.work-location {
  flex: 0 0 auto;
  text-align: right;
}

.work-metadata {
  display: grid;
  gap: 3px;
  margin-top: clamp(24px, 3vh, 34px);
}

.work-metadata p {
  margin: 0;
  font-size: clamp(11px, 0.9vw, 14px);
  font-weight: 300;
  line-height: 1.35;
}

.work-metadata .work-service-start {
  padding-top: 7px;
}

.project-page {
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

.project-main {
  width: 100%;
}

.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  min-height: 78vh;
  padding: clamp(80px, 12vh, 132px) clamp(24px, 5vw, 80px) clamp(52px, 8vh, 86px);
  border-bottom: 2px solid var(--ink);
}

.project-kicker {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-hero h1 {
  grid-column: 1;
  grid-row: 3;
  margin: 0;
  font-size: clamp(72px, 11vw, 180px);
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -0.07em;
}

.project-hero--long-title h1 {
  font-size: clamp(64px, 8.5vw, 140px);
  letter-spacing: -0.055em;
}

.project-hero--googoo h1 {
  font-size: clamp(56px, 7.8vw, 128px);
  letter-spacing: -0.055em;
}

.project-hero--haoshi h1 {
  font-size: clamp(60px, 6.3vw, 108px);
  letter-spacing: -0.05em;
}

.project-hero--pub h1 {
  font-size: clamp(60px, 5.5vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.project-hero--pub h1 span {
  display: block;
}

.project-hero--marklong h1 {
  font-size: clamp(60px, 7vw, 118px);
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.project-meta {
  grid-column: 2;
  grid-row: 3;
  align-self: end;
  min-width: clamp(180px, 18vw, 280px);
  padding-bottom: 5px;
}

.project-service + .project-service {
  margin-top: 12px;
}

.project-meta p {
  margin: 0;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 300;
  line-height: 1.55;
}

.project-deck {
  display: grid;
  gap: clamp(18px, 2.5vw, 40px);
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: clamp(42px, 8vh, 86px) clamp(20px, 5vw, 80px) 16vh;
}

.project-page--white-deck .project-deck {
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}

.project-deck img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.project-end-slide {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: transparent;
}

.project-end-slide .project-end-logo {
  width: clamp(180px, 24%, 350px);
  height: auto;
}

.business-back {
  position: fixed;
  top: clamp(18px, 2.5vw, 34px);
  right: clamp(18px, 2.5vw, 34px);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  background: rgba(245, 243, 238, 0.88);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.gallery-track {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  width: max-content;
  height: 100%;
  gap: clamp(52px, 7vw, 116px);
  padding: 0 clamp(52px, 7vw, 112px) 4vh clamp(24px, 4.5vw, 72px);
  transform: translate3d(var(--gallery-x, 0px), var(--gallery-y, 0px), 0);
  transition: transform 0.04s linear;
  will-change: transform;
}

.service-card {
  position: relative;
  flex: 0 0 clamp(330px, 31vw, 470px);
  height: min(72vh, 680px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", sans-serif;
  text-decoration: none;
}

.service-vi {
  margin-top: clamp(220px, 35vh, 320px);
}

.service-ui {
  align-self: flex-end;
  height: auto;
  margin-top: 0;
  margin-bottom: clamp(18px, 3vh, 30px);
}

.service-sce {
  margin-top: clamp(42px, 7vh, 68px);
}

.service-pgv {
  align-self: flex-end;
  height: auto;
  margin-top: 0;
  margin-bottom: clamp(18px, 3vh, 30px);
}

.service-ill {
  margin-top: clamp(42px, 7vh, 68px);
}

.service-hero {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  flex: 0 0 auto;
  object-fit: contain;
}

.service-card:nth-child(3n + 2) .service-hero {
  object-position: 68% center;
}

.service-card:nth-child(3n) .service-hero {
  object-position: 28% center;
}

.service-summary {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(92px, 29%) 1fr;
  gap: clamp(18px, 2vw, 28px);
  padding: clamp(18px, 2vw, 28px) 0 0;
}

.service-code {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-width: 0;
}

.service-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.service-code strong {
  font-size: clamp(42px, 5.2vw, 76px);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.075em;
  white-space: nowrap;
}

.service-intro h2 {
  margin: 0 0 8px;
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.service-intro p {
  margin: 0;
  font-size: clamp(11px, 0.88vw, 13px);
  font-weight: 300;
  line-height: 1.42;
}

.service-english {
  margin-bottom: 9px !important;
  letter-spacing: -0.01em;
}

.service-description {
  max-width: 31em;
}

.service-card-link::after {
  content: ">";
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--ink);
  font-size: clamp(130px, 18vw, 260px);
  font-weight: 200;
  line-height: 1;
  opacity: 0;
  transform: translateX(-7%);
  transition: opacity 340ms ease, transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card-link:hover::after,
.service-card-link:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

.image-bottom .service-summary {
  order: 1;
  padding-top: 0;
  padding-bottom: clamp(18px, 2vw, 28px);
}

.image-bottom .service-hero {
  order: 2;
}

.service-page {
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

.service-page-main {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px) 16vh;
}

.service-detail-hero {
  --service-mark-height: clamp(75px, 13.5vw, 195px);
  --service-support-gap: clamp(34px, 5vh, 52px);
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(180px, 27%) minmax(0, 1fr);
  grid-template-rows: var(--service-mark-height) auto;
  align-content: end;
  align-items: start;
  column-gap: clamp(36px, 7vw, 112px);
  row-gap: var(--service-support-gap);
  padding: 14vh 0 11vh;
  border-bottom: 2px solid var(--ink);
}

.service-detail-identity,
.service-detail-introduction {
  display: contents;
}

.service-detail-identity strong {
  grid-column: 1;
  grid-row: 1;
  font-size: clamp(100px, 18vw, 260px);
  font-weight: 900;
  line-height: 0.75;
  letter-spacing: -0.085em;
}

.service-detail-sce .service-detail-identity strong,
.service-detail-pgv .service-detail-identity strong {
  transform: scaleX(0.74);
  transform-origin: left center;
}

.service-detail-ui .service-detail-identity strong,
.service-detail-ill .service-detail-identity strong {
  position: relative;
  left: clamp(-16px, -1vw, -6px);
}

.service-detail-pgv .service-detail-identity strong {
  position: relative;
  left: clamp(-12px, -0.75vw, -5px);
}

.service-detail-identity span {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.service-detail-heading {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.service-detail-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-detail-introduction h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(30px, 5.55vw, 80px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.service-detail-english {
  margin: 0 0 clamp(2px, 0.4vh, 5px);
  font-size: clamp(16px, 1.65vw, 24px);
  font-weight: 300;
  line-height: 1.25;
}

.service-detail-description {
  margin: 0;
  max-width: 48em;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 300;
  line-height: 1.65;
}

.service-detail-supporting {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}

.service-detail-catalog {
  padding-top: 8vh;
}

.service-detail-category {
  display: grid;
  grid-template-columns: minmax(180px, 27%) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 112px);
  padding: 0 0 12vh;
}

.service-detail-category-heading {
  align-self: start;
  position: sticky;
  top: 32px;
}

.service-detail-category-heading span {
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-detail-category-heading h2 {
  margin: 0;
  max-width: 9em;
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.service-detail-items {
  border-top: 2px solid var(--ink);
}

.service-detail-item {
  display: grid;
  grid-template-columns: 70px minmax(170px, 0.85fr) minmax(240px, 1.15fr);
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(20px, 2.5vw, 34px) 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.35);
}

.service-detail-item-code {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 10px;
  line-height: 1;
}

.service-detail-item-code span {
  opacity: 0.5;
}

.service-detail-item-code strong {
  font-size: 12px;
  font-weight: 800;
}

.service-detail-item-name h3 {
  margin: 0 0 7px;
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 700;
  line-height: 1.2;
}

.service-detail-item-name p,
.service-detail-item-description {
  margin: 0;
  font-size: clamp(11px, 0.95vw, 14px);
  font-weight: 300;
  line-height: 1.5;
}

.service-detail-item-name p {
  opacity: 0.72;
}

.scene-end {
  display: grid;
  place-items: center;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  padding: 10vh clamp(24px, 8vw, 110px);
}

.end-wrap {
  width: min(980px, 100%);
}

.ending-artwork {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 720px) {
  .intro-wordmark {
    width: calc(70vw - 33.6px);
    left: 24px;
    bottom: 48px;
  }

  .brand-lockup {
    width: min(68vw, 390px);
  }

  .scene-sticker {
    margin-top: -10vh;
    padding: 0 24px 24vh;
  }

  .business-heading h1,
  .business-heading h2 {
    font-size: clamp(62px, 18vw, 98px);
  }

  .scene-home-gallery .gallery-track {
    --home-card-size: 82vw;
    --home-card-gap: 20px;
  }

  .gallery-card {
    width: 100%;
    height: 100%;
  }

  .gallery-title {
    font-size: clamp(52px, 16vw, 82px);
  }

  .about-main,
  .about-hero {
    min-height: auto;
  }

  .about-hero {
    grid-template-columns: 1fr;
    gap: 52px;
    padding: 112px 24px 64px;
  }

  .about-copy {
    padding: 0;
  }

  .about-heading h1 {
    font-size: clamp(68px, 20vw, 94px);
  }

  .about-wordmark {
    width: min(82vw, 430px);
    margin-top: 16px;
  }

  .about-intro {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 16px;
    margin-top: 34px;
  }

  .about-intro p {
    max-width: 38em;
    font-size: 13px;
    line-height: 1.45;
  }

  .about-visual {
    display: block;
    height: auto;
    overflow: visible;
  }

  .about-image {
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
  }

  .about-projects {
    min-height: 340svh;
  }

  .about-project-slot-1 {
    top: 11%;
    left: 6vw;
    width: min(78vw, 360px);
  }

  .about-project-slot-2 {
    top: 20%;
    right: 7vw;
    width: 48vw;
  }

  .about-project-slot-3 {
    top: 31%;
    left: 8vw;
    width: 58vw;
  }

  .about-project-slot-4 {
    top: 43%;
    right: 5vw;
    width: 78vw;
  }

  .about-project-slot-5 {
    top: 56%;
    left: 6vw;
    width: 64vw;
  }

  .about-project-slot-6 {
    top: 68%;
    right: 10vw;
    width: 52vw;
  }

  .about-project-slot-7 {
    top: 90%;
    left: 20vw;
    width: 70vw;
  }

  .about-construction {
    height: 260px;
  }

  .about-construction-tape {
    top: 48%;
    height: 32px;
    background-size: auto;
  }

  .about-construction-notice {
    gap: 10px;
    padding: 12px 16px 6px;
  }

  .about-construction-worker {
    height: 190px;
  }

  .about-construction-notice p {
    margin-top: 50px;
    padding: 0;
    font-size: 14px;
    letter-spacing: 0.04em;
  }

  .about-story-scene {
    padding: 32px 24px;
  }

  .about-story-lines {
    width: min(24em, 100%);
    font-size: 15px;
    line-height: 1.8;
  }

  .about-story-lines--wide {
    width: min(21em, 100%);
  }

  .about-story-top {
    bottom: 18px;
  }

  .gallery-track {
    gap: 48px;
    padding-right: 48px;
  }

  .works-track {
    gap: 48px;
    padding-right: 48px;
  }

  .work-card {
    flex-basis: 82vw;
  }

  .work-card--compact-title .work-heading {
    gap: 12px;
  }

  .work-card--compact-title .work-details h2 {
    font-size: clamp(16px, 4vw, 20px);
  }

  .project-hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto auto;
    min-height: 72vh;
  }

  .project-hero h1 {
    grid-column: 1;
    grid-row: 3;
    font-size: clamp(62px, 20vw, 96px);
  }

  .project-hero--long-title h1 {
    font-size: clamp(44px, 13vw, 68px);
    letter-spacing: -0.045em;
  }

  .project-hero--googoo h1 {
    font-size: clamp(42px, 11.5vw, 64px);
    letter-spacing: -0.045em;
  }

  .project-hero--haoshi h1 {
    font-size: clamp(30px, 8.5vw, 52px);
    letter-spacing: -0.04em;
    white-space: nowrap;
  }

  .project-hero--pub h1 {
    font-size: clamp(32px, 9vw, 44px);
    line-height: 0.94;
    letter-spacing: -0.035em;
  }

  .project-hero--marklong h1 {
    font-size: clamp(28px, 7.8vw, 46px);
    letter-spacing: -0.04em;
  }

  .project-meta {
    grid-column: 1;
    grid-row: 4;
    margin-top: 28px;
    padding-bottom: 0;
  }

  .project-deck {
    padding-right: 16px;
    padding-left: 16px;
  }

  .service-card {
    flex-basis: 82vw;
    height: 82vh;
  }

  .service-summary {
    grid-template-columns: minmax(82px, 29%) 1fr;
    gap: 14px;
  }

  .service-detail-hero,
  .service-detail-category {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .service-detail-hero {
    grid-template-rows: auto;
    min-height: 100vh;
    align-content: end;
  }

  .service-detail-identity,
  .service-detail-introduction {
    display: grid;
    grid-template-rows: auto auto;
    gap: 42px;
  }

  .service-detail-identity strong,
  .service-detail-identity span,
  .service-detail-heading,
  .service-detail-supporting {
    grid-column: 1;
    grid-row: auto;
  }

  .service-detail-heading {
    min-height: 150px;
  }

  .service-detail-category-heading {
    position: static;
  }

  .service-detail-item {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
  }

  .service-detail-item-description {
    grid-column: 2;
  }

  .cloud {
    min-width: 360px;
    min-height: 160px;
    filter: blur(4px);
  }
}

@view-transition {
  navigation: auto;
}

::view-transition {
  background: var(--paper);
}

::view-transition-image-pair(root) {
  isolation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  mix-blend-mode: normal;
}

::view-transition-group(content-title),
::view-transition-group(works-title),
::view-transition-group(about-title) {
  animation-duration: 780ms;
  animation-delay: 500ms;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
}

::view-transition-old(root) {
  animation: 460ms cubic-bezier(0.55, 0, 1, 0.45) both fadePageOut;
}

::view-transition-new(root) {
  animation: 680ms 1280ms cubic-bezier(0.22, 1, 0.36, 1) both fadePageIn;
}

@keyframes fadePageOut {
  to {
    opacity: 0;
  }
}

@keyframes fadePageIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  body::after {
    content: "Rotate for the vertical drive";
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    background: var(--black);
    color: var(--white);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
