:root {
  color-scheme: dark;
  --bg: #020204;
  --text: #f5f3ec;
  --muted: rgba(245, 243, 236, 0.62);
  --faint: rgba(245, 243, 236, 0.18);
  --line: rgba(255, 255, 255, 0.13);
  --accent: #05FA05;
  --accent-2: #7c5cff;
  --panel-x: clamp(20px, 6vw, 96px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(124, 92, 255, 0.18), transparent 28vw),
    radial-gradient(circle at 18% 72%, rgba(5, 250, 5, 0.08), transparent 34vw),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::selection {
  background: var(--accent);
  color: #070707;
}

#stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
}

.home-fluid-layer {
  position: fixed;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  overflow: hidden;
  opacity: 1;
  mix-blend-mode: normal;
}

.home-fluid-layer canvas {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 1;
}

.grain,
.grid,
.scanline,
.cursor-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.grain {
  z-index: 2;
  opacity: 0.1;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.22), transparent 1px),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.13), transparent 1px);
  background-size: 4px 4px, 7px 7px;
  mix-blend-mode: overlay;
}

.grid {
  z-index: 1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 16.666vw 100%, 100% 25vh;
  mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 88%, transparent 100%);
}

.scanline {
  z-index: 2;
  opacity: 0.18;
  background: linear-gradient(to bottom, transparent, rgba(5, 250, 5, 0.12), transparent);
  height: 34vh;
  top: -40vh;
  animation: scan 9s linear infinite;
}

.cursor-field {
  z-index: 2;
  overflow: hidden;
}

.cursor-field span {
  position: absolute;
  left: -260px;
  top: -260px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(5, 250, 5, 0.18), transparent 50%),
    radial-gradient(circle at 62% 44%, rgba(124, 92, 255, 0.18), transparent 46%);
  filter: blur(10px);
  transform: translate3d(50vw, 50vh, 0);
  will-change: transform;
}

@keyframes scan {
  to { transform: translateY(150vh); }
}

@keyframes nav-glow-pulse {
  0% {
    text-shadow: 0 0 0 rgba(5, 250, 5, 0);
    filter: brightness(1);
  }
  45% {
    text-shadow: 0 0 12px rgba(5, 250, 5, 0.84), 0 0 30px rgba(5, 250, 5, 0.34);
    filter: brightness(1.22);
  }
  100% {
    text-shadow: 0 0 8px rgba(5, 250, 5, 0.72), 0 0 20px rgba(5, 250, 5, 0.28);
    filter: brightness(1);
  }
}

@keyframes nav-line-sweep {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }
  40% {
    opacity: 1;
    transform: scaleX(1);
  }
  100% {
    opacity: 0.62;
    transform: scaleX(1);
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px var(--panel-x);
  color: #fff;
  background: linear-gradient(to bottom, rgba(2, 2, 4, 0.74), rgba(2, 2, 4, 0.34));
  border-bottom: 0;
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  mix-blend-mode: normal;
}

.brand,
nav a,
.scroll-hint,
.work-copy a,
.lab-stack a,
.lab-stack .lab-slot,
.cta {
  color: inherit;
  text-decoration: none;
}

.brand {
  display: inline-flex;
  gap: 0.46em;
  align-items: center;
  font-weight: 850;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
}

.header-motion-logo {
  display: none;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  object-fit: contain;
}

.light-case-page .header-motion-logo-light,
.tashi-talk-page .header-motion-logo-light,
.about-fullscreen-page .header-motion-logo-light {
  display: block;
  margin-right: calc(24px - 0.46em);
}

body:not(.light-case-page):not(.tashi-talk-page):not(.about-fullscreen-page) .header-motion-logo-dark {
  display: block;
  margin-right: calc(24px - 0.46em);
}

.brand span:last-child {
  color: inherit;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 42px);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.site-nav a,
.site-nav .nav-label,
.nav-group,
.work-copy a,
.lab-stack a,
.lab-stack .lab-slot {
  position: relative;
}

.site-nav > a::after,
.nav-group > a::after,
.nav-group > .nav-label::after,
.work-copy a::after,
.lab-stack a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms ease;
}

.site-nav > a:hover::after,
.nav-group:hover > a::after,
.nav-group:hover > .nav-label::after,
.work-copy a:hover::after,
.lab-stack a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-group {
  display: inline-flex;
  align-items: center;
  padding: 18px 0;
}

.nav-group > a,
.nav-group > .nav-label {
  color: inherit;
  cursor: default;
  text-decoration: none;
}

.nav-group > .nav-label {
  text-transform: none;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 260px;
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at var(--nav-radar-x, 20%) var(--nav-radar-y, 20%), rgba(5, 250, 5, 0.22), transparent 22%),
    repeating-radial-gradient(circle at var(--nav-radar-x, 20%) var(--nav-radar-y, 20%), transparent 0 22px, rgba(5, 250, 5, 0.08) 23px 24px),
    rgba(3, 3, 6, 0.9);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  text-transform: none;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-dropdown-wide {
  min-width: 330px;
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown a {
  position: relative;
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: #fff;
  line-height: 1.25;
  text-decoration: none;
  transform: none;
  transition: color 180ms ease, opacity 180ms ease, text-shadow 180ms ease, transform 180ms ease;
}

.nav-dropdown:hover a {
  color: #fff;
}

.nav-dropdown a:hover {
  background: transparent;
  color: var(--accent);
  opacity: 1;
  text-shadow: 0 0 18px rgba(5, 250, 5, 0.7);
  transform: translateX(10px);
}

.side-rail {
  position: fixed;
  left: var(--panel-x);
  top: 48%;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
}

.side-rail::before {
  content: "";
  width: 1px;
  height: 88px;
  background: var(--line);
}

main {
  position: relative;
  z-index: 3;
}

.panel {
  min-height: 100vh;
  padding: clamp(104px, 14vh, 164px) var(--panel-x);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.34fr);
  align-items: end;
  gap: clamp(32px, 8vw, 120px);
}

.home-banner-panel {
  position: relative;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  background: #020204;
}

.home-banner-panel img {
  display: block;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
}

.home-banner-panel::after {
  content: none;
}

.banner-scroll {
  color: #fff;
}

.hero-copy,
.hero-meta,
.scroll-hint {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 1040px;
  padding-bottom: 8vh;
}

.eyebrow {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow:has(+ h1),
.case-hero > .eyebrow {
  text-transform: none;
}

h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}

h1 {
  max-width: 1040px;
  font-size: clamp(4.6rem, 13.2vw, 13.4rem);
  line-height: 0.78;
  letter-spacing: -0.055em;
}

h1 span {
  display: block;
  color: rgba(255, 255, 255, 0.48);
}

.intro {
  max-width: 590px;
  margin: 36px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.55;
}

.hero-meta {
  align-self: center;
  display: grid;
  gap: 1px;
  border-left: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.1rem, 2vw, 2rem);
  font-weight: 820;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.hero-meta span {
  padding: 18px 0 18px 24px;
  border-bottom: 1px solid var(--line);
}

.scroll-hint {
  position: absolute;
  right: var(--panel-x);
  bottom: 34px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-hint::before {
  content: "";
  width: 58px;
  height: 1px;
  background: currentColor;
}

.work-intro {
  display: grid;
  align-content: center;
  justify-items: end;
}

.work-intro > * {
  width: min(760px, 100%);
}

.work-intro h2,
.motion-lab h2,
.closing h2 {
  font-size: clamp(3rem, 8vw, 9.2rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.work-intro p:not(.eyebrow),
.motion-lab p {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  line-height: 1.55;
}

.work-sequence {
  position: relative;
}

.work-sequence::before {
  content: "";
  position: absolute;
  left: calc(var(--panel-x) + 18px);
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--line) 4%, var(--line) 96%, transparent);
}

.work-sequence::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.work-item {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(76px, 0.21fr) minmax(220px, 420px) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 6vw, 88px);
  padding-left: calc(var(--panel-x) + 48px);
}

.work-item::before {
  content: "";
  position: absolute;
  left: calc(var(--panel-x) + 12px);
  top: 50%;
  width: 13px;
  height: 13px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 8px rgba(5, 250, 5, 0), 0 0 32px rgba(5, 250, 5, 0);
  transform: translateY(-50%);
  transition: border-color 260ms ease, box-shadow 260ms ease;
}

.work-item:hover::before,
.work-item.is-active::before {
  border-color: var(--accent);
  box-shadow: 0 0 0 8px rgba(5, 250, 5, 0.12), 0 0 32px rgba(5, 250, 5, 0.42);
}

.work-count {
  color: rgba(255, 255, 255, 0.42);
  font-size: clamp(1.1rem, 2.6vw, 2.8rem);
  font-weight: 850;
  letter-spacing: -0.06em;
}

.cover-link {
  display: block;
  width: min(36vw, 420px);
  max-width: 100%;
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 420ms ease, opacity 420ms ease;
}

.cover-link img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 34px 64px rgba(0, 0, 0, 0.42));
}

.work-item:hover .cover-link,
.work-item.is-active .cover-link {
  transform: translateX(14px) scale(1.035);
  filter: saturate(1.06) contrast(1.04);
}

.work-copy {
  position: relative;
  z-index: 0;
  box-sizing: border-box;
  width: fit-content;
  min-width: min(300px, 100%);
  max-width: min(560px, 42vw);
  padding: clamp(22px, 3vw, 38px);
  transform: translate3d(0, var(--work-card-y, 0px), 0);
  transition: transform 480ms cubic-bezier(0.18, 0.82, 0.22, 1);
  will-change: transform;
}

.work-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035)),
    rgba(0, 0, 0, 0.16);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px) saturate(1.18);
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
}

.work-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.work-copy h3 {
  max-width: 100%;
  font-size: clamp(2.16rem, 6.1vw, 7.38rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  overflow-wrap: normal;
  word-break: normal;
}

#moneybazaar-app .work-copy h3,
#moneybazaar-web .work-copy h3 {
  white-space: pre-line;
}

.work-copy p:not(.work-kicker) {
  max-width: min(520px, 100%);
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.3vw, 1.12rem);
  line-height: 1.55;
}

.work-copy a {
  display: inline-block;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pair-start::after,
.pair-end::after {
  position: absolute;
  left: calc(var(--panel-x) + 38px);
  color: rgba(5, 250, 5, 0.74);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.pair-start::after {
  content: "same case page";
  bottom: -9vh;
}

.pair-end::after {
  content: "App + Web";
  top: -9vh;
}

.motion-lab {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(300px, 0.48fr);
  align-items: center;
  gap: clamp(36px, 8vw, 120px);
}

.motion-lab > div:first-child {
  max-width: 820px;
}

.lab-stack {
  display: grid;
  border-top: 1px solid var(--line);
}

.lab-stack a,
.lab-stack .lab-slot {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  align-items: center;
  min-height: 104px;
  border-bottom: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.15rem, 2vw, 2rem);
  font-weight: 820;
  letter-spacing: -0.035em;
  transition: color 220ms ease, transform 220ms ease;
}

.lab-stack .lab-slot {
  cursor: default;
}

.lab-stack a:hover {
  color: var(--accent);
  transform: translateX(10px);
}

.lab-stack span {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.closing h2 {
  max-width: 980px;
}

.cta {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(156px, 18vw, 260px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #050505;
  font-weight: 850;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.cta:hover {
  transform: scale(1.05) rotate(-4deg);
  box-shadow: 0 0 80px rgba(5, 250, 5, 0.22);
}

.progress {
  position: fixed;
  left: var(--panel-x);
  right: var(--panel-x);
  bottom: 22px;
  z-index: 9;
  height: 2px;
  background: rgba(255, 255, 255, 0.16);
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 22px rgba(5, 250, 5, 0.82);
}

.load-error {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 42px;
  z-index: 20;
  border: 1px solid rgba(5, 250, 5, 0.36);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.88);
  color: #fff;
  font-size: 0.9rem;
}

.case-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 74% 8%, rgba(5, 250, 5, 0.12), transparent 28vw),
    radial-gradient(circle at 10% 34%, rgba(124, 92, 255, 0.16), transparent 34vw),
    var(--bg);
}

.case-page main {
  padding-bottom: 96px;
}

.case-hero {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(112px, 18vh, 176px) var(--panel-x) clamp(54px, 8vh, 96px);
}

.case-back {
  width: fit-content;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.case-hero h1 {
  max-width: 1180px;
  font-size: clamp(3.42rem, 9vw, 9.9rem);
  line-height: 0.94;
}

.case-hero > p:last-child {
  max-width: 720px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.24rem);
  line-height: 1.62;
}

.case-section {
  padding: clamp(54px, 8vw, 108px) var(--panel-x);
  border-top: 1px solid var(--line);
}

.case-section + .case-section {
  margin-top: clamp(54px, 9vw, 140px);
}

.case-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(240px, 0.5fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: end;
  margin-bottom: clamp(28px, 5vw, 64px);
}

.case-section-head h2 {
  font-size: clamp(1.2rem, 3vw, 3.7rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.case-section-title-en {
  display: block;
  margin-top: 0.38em;
  color: var(--muted);
  font-size: clamp(0.86rem, 1.08vw, 1.18rem);
  font-weight: 520;
  line-height: 1.72;
  letter-spacing: 0;
}

.section-title-year {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 13px;
  border: 1px solid rgba(5, 250, 5, 0.42);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 860;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-section-head.is-centered {
  justify-items: center;
  text-align: center;
}

.case-section-head.is-centered > div {
  width: 100%;
}

.case-section-head.is-centered h2 {
  text-align: center;
}

.case-section-head p:last-child {
  margin: 0;
  color: var(--muted);
  font-weight: 430;
  line-height: 1.9;
}

.case-gallery {
  --gallery-gap: clamp(10px, 1.2vw, 18px);
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: var(--gallery-gap);
}

.case-thumb {
  display: block;
  flex: 0 0 calc((100% - (var(--gallery-gap) * 4)) / 5);
  max-width: calc((100% - (var(--gallery-gap) * 4)) / 5);
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  cursor: zoom-in;
  aspect-ratio: 1 / 0.72;
}

.case-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 360ms ease, opacity 360ms ease;
}

.case-thumb:hover .case-media {
  opacity: 0.82;
  transform: scale(1.04);
}

.case-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}

.case-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
}

.case-card img,
.case-card-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  transition: transform 520ms ease, opacity 520ms ease;
}

.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88), transparent 72%);
}

.case-card span,
.case-card strong {
  position: relative;
  z-index: 1;
}

.case-card span {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-card strong {
  max-width: 92%;
  font-size: clamp(1.24rem, 2vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.case-card:hover img {
  opacity: 0.82;
  transform: scale(1.04);
}

.natural-thumb-page .case-thumb {
  flex-basis: calc((100% - (var(--gallery-gap) * 4)) / 5);
  max-width: calc((100% - (var(--gallery-gap) * 4)) / 5);
  min-width: 0;
  aspect-ratio: auto;
  background: transparent;
}

.natural-thumb-page .case-media {
  height: auto;
  object-fit: contain;
}

.natural-thumb-page .case-thumb:hover .case-media {
  transform: none;
}

.light-case-page {
  background: #fff;
  color: #080808;
}

.light-case-page .site-header {
  color: #050505;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.58));
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.light-case-page .nav-dropdown {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.16);
}

.light-case-page .nav-dropdown a {
  color: #050505;
}

.light-case-page .nav-dropdown:hover a {
  color: #050505;
}

.light-case-page .nav-dropdown a:hover {
  color: var(--accent);
}

.light-case-page .grid,
.light-case-page .grain {
  opacity: 0.14;
  filter: invert(1);
}

.light-case-page .case-section,
.light-case-page .case-hero {
  border-color: rgba(0, 0, 0, 0.08);
}

.light-case-page .case-hero h1,
.light-case-page .case-section-head h2 {
  color: #050505;
}

.light-case-page .case-section-title-en,
.light-case-page .case-hero > p:last-child {
  color: rgba(5, 5, 5, 0.64);
}

.case-card-placeholder {
  background:
    linear-gradient(135deg, rgba(5, 250, 5, 0.2), transparent),
    rgba(255, 255, 255, 0.04);
}

.case-empty {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: block;
  padding: 96px clamp(18px, 4vw, 56px) 86px;
  background: rgba(0, 0, 0, 0.88);
  opacity: 0;
  overflow: auto;
  pointer-events: none;
  cursor: grab;
  transition: opacity 180ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.lightbox img {
  display: block;
  width: min(94vw, 1600px);
  max-width: none;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.66);
}

.lightbox button,
.lightbox-count {
  position: fixed;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(12px);
}

.lightbox button {
  cursor: pointer;
}

.lightbox-close {
  right: clamp(18px, 4vw, 56px);
  top: clamp(18px, 4vw, 42px);
  padding: 10px 16px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  width: 52px;
  height: 52px;
  font-size: 1.7rem;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: clamp(18px, 4vw, 56px);
}

.lightbox-next {
  right: clamp(18px, 4vw, 56px);
}

.lightbox-count {
  left: 50%;
  bottom: 28px;
  padding: 9px 15px;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  transform: translateX(-50%);
  pointer-events: none;
}

.lightbox button:hover {
  background: rgba(5, 250, 5, 0.18);
  border-color: rgba(5, 250, 5, 0.48);
}

.lightbox.is-motion {
  display: grid;
  place-items: center;
  padding: 88px clamp(18px, 4vw, 56px);
}

.lightbox.is-motion img {
  width: auto;
  max-width: none;
  max-height: none;
}

.lightbox.is-c4d {
  display: grid;
  place-items: center;
  padding: clamp(72px, 8vh, 96px) clamp(54px, 7vw, 92px) clamp(62px, 8vh, 88px);
  overflow: hidden;
}

.lightbox.is-c4d img {
  width: auto;
  height: auto;
  max-width: min(82vw, 1280px);
  max-height: min(78vh, 840px);
  object-fit: contain;
}

.lightbox.is-c4d.is-portrait img {
  max-width: min(54vw, 620px);
  max-height: min(80vh, 860px);
}

.lightbox.is-c4d.is-panorama img {
  max-width: min(84vw, 1180px);
  max-height: min(62vh, 620px);
}

.lightbox.is-graphic-bento {
  display: grid;
  place-items: center;
  padding: clamp(72px, 8vh, 96px) clamp(42px, 6vw, 86px) clamp(62px, 8vh, 88px);
  overflow: hidden;
}

.lightbox.is-graphic-bento img {
  width: auto;
  height: auto;
  max-width: min(76vw, 1180px);
  max-height: min(76vh, 780px);
  object-fit: contain;
}

.lightbox.is-graphic-moneybazzar {
  display: grid;
  place-items: center;
  padding: clamp(72px, 8vh, 96px) clamp(42px, 6vw, 86px) clamp(62px, 8vh, 88px);
  overflow: hidden;
}

.lightbox.is-graphic-moneybazzar img {
  width: auto;
  height: auto;
  max-width: min(78vw, 1220px);
  max-height: min(76vh, 780px);
  object-fit: contain;
}

.copy-editor {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  font-family: inherit;
}

.copy-editor-toggle {
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(5, 250, 5, 0.9);
  color: #041006;
  font-weight: 900;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 18px 48px rgba(5, 250, 5, 0.2);
}

.copy-editor-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  display: none;
  width: min(420px, calc(100vw - 32px));
  max-height: min(720px, calc(100vh - 120px));
  padding: 18px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(12, 12, 14, 0.9);
  color: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(24px);
}

.copy-editor.is-open .copy-editor-panel {
  display: block;
}

.copy-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.copy-editor-head strong {
  font-size: 16px;
}

.copy-editor-close {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}

.copy-editor-note {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.55;
}

.copy-editor-list {
  display: grid;
  gap: 12px;
}

.copy-editor-item {
  display: grid;
  gap: 6px;
}

.copy-editor-item span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.copy-editor-item textarea {
  width: 100%;
  min-height: 56px;
  resize: vertical;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  line-height: 1.45;
  outline: none;
}

.copy-editor-item textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(5, 250, 5, 0.18);
}

.copy-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.copy-editor-actions button,
.copy-editor-import {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.copy-editor-save {
  background: var(--accent) !important;
  color: #041006 !important;
}

.copy-editor-import input {
  display: none;
}

.copy-editor-target {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.copy-editor-text {
  white-space: pre-line;
}

.tashi-talk-page .copy-editor-panel,
.about-fullscreen-page .copy-editor-panel {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: #050505;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.14);
}

.tashi-talk-page .copy-editor-note,
.about-fullscreen-page .copy-editor-note,
.tashi-talk-page .copy-editor-item span,
.about-fullscreen-page .copy-editor-item span {
  color: rgba(0, 0, 0, 0.58);
}

.tashi-talk-page .copy-editor-close,
.about-fullscreen-page .copy-editor-close,
.tashi-talk-page .copy-editor-actions button,
.about-fullscreen-page .copy-editor-actions button,
.tashi-talk-page .copy-editor-import,
.about-fullscreen-page .copy-editor-import {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.06);
  color: #050505;
}

.tashi-talk-page .copy-editor-item textarea,
.about-fullscreen-page .copy-editor-item textarea {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.04);
  color: #050505;
}

.tashi-talk-page .case-hero {
  min-height: 46vh;
}

.tashi-talk-page {
  background: #fff;
  color: #070707;
}

.tashi-talk-page .site-header {
  color: #050505;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.52));
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.tashi-talk-page .nav-dropdown {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.16);
}

.tashi-talk-page .nav-dropdown a {
  color: #050505;
}

.tashi-talk-page .nav-dropdown:hover a {
  color: #050505;
}

.tashi-talk-page .nav-dropdown a:hover {
  color: var(--accent);
}

.tashi-talk-page .grid,
.tashi-talk-page .grain {
  opacity: 0.14;
  filter: invert(1);
}

.tashi-talk-page .case-hero {
  min-height: 70vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.tashi-talk-page .case-hero h1 {
  color: #fff;
  -webkit-text-stroke: 1px #000;
  text-stroke: 1px #000;
}

.tashi-talk-page .case-hero h1.tashi-talk-word {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.2rem, 4vw, 4rem);
  width: min(900px, 100%);
  max-width: 100%;
  font-size: clamp(0.7rem, 1.8vw, 2rem);
  line-height: 1;
  letter-spacing: 0.16em;
}

.tashi-talk-page .case-hero h1.tashi-talk-word span {
  display: block;
}

.tashi-talk-page .case-section {
  border-top-color: rgba(0, 0, 0, 0.1);
}

.about-fullscreen-page {
  background: #fff;
  color: #070707;
}

.about-fullscreen-page main {
  background: #fff;
}

.about-fullscreen-page .site-header {
  position: sticky;
  color: #050505;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.58));
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.about-fullscreen-page .nav-dropdown {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.16);
}

.about-fullscreen-page .nav-dropdown a {
  color: #050505;
}

.about-fullscreen-page .nav-dropdown:hover a {
  color: #050505;
}

.about-fullscreen-page .nav-dropdown a:hover {
  color: var(--accent);
}

.about-fullscreen-page .grid,
.about-fullscreen-page .grain {
  opacity: 0.14;
  filter: invert(1);
}

.about-fullscreen-page .case-section {
  min-height: 100vh;
  padding-top: 0;
  background: #fff;
  border-top-color: rgba(0, 0, 0, 0.08);
}


.about-fullscreen-page .case-gallery {
  display: block;
}

.about-fullscreen-page .about-static-image {
  aspect-ratio: auto;
  background: #fff;
  border-color: transparent;
  border-radius: 0;
  cursor: default;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: calc(var(--panel-x) * -1);
  margin-right: calc(var(--panel-x) * -1);
  overflow: visible;
  pointer-events: none;
  width: calc(100% + var(--panel-x) * 2);
}

.about-fullscreen-page .about-static-image .case-media {
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  background: #fff;
}

.about-fullscreen-page .about-static-image:hover .case-media {
  opacity: 1;
  transform: none;
}

.case-hero mark {
  padding: 0 0.14em;
  background: var(--accent);
  color: #070707;
}

.case-section-divider {
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: clamp(34px, 6vw, 74px);
}

.case-section-divider .eyebrow {
  margin-bottom: 16px;
}

.tashi-talk-hero {
  min-height: 62vh;
  gap: 26px;
  padding-top: clamp(92px, 11vh, 122px);
  padding-bottom: clamp(72px, 10vh, 110px);
}

.tashi-talk-intro {
  justify-self: center;
  width: min(760px, 100%);
  max-width: 760px;
  margin: 0;
  color: #050505;
  text-align: center;
}

.tashi-talk-intro h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.tashi-talk-intro p {
  max-width: 760px;
  margin: 10px auto 0;
  color: rgba(5, 5, 5, 0.72);
  font-size: clamp(0.74rem, 1.02vw, 0.9rem);
  line-height: 1.75;
}

.tashi-talk-intro p:first-of-type {
  white-space: nowrap;
}

.logo-page .case-hero,
.moneybazzar-page .case-hero {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: clamp(96px, 12vh, 140px);
  padding-bottom: clamp(120px, 16vh, 180px);
}

.logo-page .case-hero h1,
.moneybazzar-page .case-hero h1 {
  margin-inline: auto;
  line-height: 1.02;
}

.moneybazzar-page .case-hero + .case-section {
  padding-top: clamp(90px, 12vw, 180px);
}

.motion-design-page .case-section-head h2,
.c4d-page .case-section-head h2 {
  line-height: 1.12;
}

.c4d-page .c4d-hero {
  position: relative;
  min-height: 86vh;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--bg);
  overflow: hidden;
}

.c4d-page .c4d-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bg);
}

.c4d-page .c4d-hero > h1 {
  position: absolute;
  left: calc((100vw - (10vw + min(44vw, 678px))) / 2);
  top: 50%;
  z-index: 2;
  font-size: clamp(calc(1.03rem + 4px), calc(2.7vw + 4px), calc(2.97rem + 4px));
  font-weight: 500;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.c4d-page .c4d-hero-art {
  position: absolute;
  top: 50%;
  right: 10vw;
  z-index: 1;
  display: block;
  width: min(44vw, 678px);
  height: auto;
  max-width: 678px;
  max-height: min(82%, 655px);
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}

.graphic-design-page .graphic-hero {
  position: relative;
  min-height: 86vh;
  justify-content: flex-end;
  margin-top: 88px;
  padding: 0 var(--panel-x);
  background: var(--bg);
  overflow: hidden;
}

.graphic-design-page .graphic-hero-art {
  position: absolute;
  z-index: 1;
  display: block;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.graphic-design-page .graphic-hero-art-right {
  top: 0;
  right: 0;
  width: min(62vw, calc((86vh - 140px) * 1.2677), 1596px);
  max-width: 1596px;
}

.graphic-design-page .graphic-hero-art-left {
  left: 120px;
  bottom: 80px;
  width: min(18vw, 280px);
  max-width: 280px;
}

.graphic-design-page {
  --graphic-gallery-width: min(100%, 1320px);
}

.graphic-design-page .graphic-moneybazzar-gallery,
.graphic-design-page .graphic-zcool-gallery,
.graphic-design-page .graphic-bento-gallery {
  width: var(--graphic-gallery-width);
  max-width: var(--graphic-gallery-width);
  margin-inline: auto;
}

.graphic-design-page .case-section-head {
  width: var(--graphic-gallery-width);
  max-width: var(--graphic-gallery-width);
  grid-template-columns: 1fr;
  margin-inline: auto;
}

.graphic-design-page .case-section-head > div {
  width: 100%;
}

.graphic-design-page .graphic-moneybazzar-gallery {
  justify-content: center;
}

.graphic-design-page .graphic-moneybazzar-gallery .case-thumb {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.graphic-design-page .graphic-moneybazzar-gallery .case-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.graphic-design-page .graphic-zcool-uniform-thumb {
  aspect-ratio: 1880 / 2976;
  overflow: hidden;
}

.graphic-design-page .graphic-zcool-uniform-thumb .case-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.graphic-design-page .graphic-zcool-gallery {
  justify-content: center;
}

.graphic-design-page .graphic-zcool-row-break {
  flex-basis: 100%;
  width: 100%;
  height: 0;
}

.graphic-design-page .graphic-zcool-landscape-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.graphic-design-page .graphic-zcool-landscape-thumb .case-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.graphic-design-page .graphic-bento-gallery {
  --bento-gap: clamp(10px, 1.15vw, 18px);
  display: block;
  column-count: 3;
  column-gap: var(--bento-gap);
}

.graphic-design-page .graphic-bento-gallery .case-thumb {
  display: block;
  width: 100%;
  max-width: none;
  min-width: 0;
  height: auto;
  margin: 0 0 var(--bento-gap);
  break-inside: avoid;
  aspect-ratio: auto;
}

.graphic-design-page .graphic-bento-gallery .case-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.graphic-design-page .graphic-bento-gallery .case-thumb:nth-child(1),
.graphic-design-page .graphic-bento-gallery .case-thumb:nth-child(8),
.graphic-design-page .graphic-bento-gallery .case-thumb:nth-child(13) {
  aspect-ratio: 16 / 9;
}

.graphic-design-page .graphic-bento-gallery .case-thumb:nth-child(2),
.graphic-design-page .graphic-bento-gallery .case-thumb:nth-child(11),
.graphic-design-page .graphic-bento-gallery .case-thumb:nth-child(17) {
  aspect-ratio: 4 / 3;
}

.graphic-design-page .graphic-bento-gallery .case-thumb:nth-child(4),
.graphic-design-page .graphic-bento-gallery .case-thumb:nth-child(10),
.graphic-design-page .graphic-bento-gallery .case-thumb:nth-child(15) {
  aspect-ratio: 3 / 4;
}

.graphic-design-page .graphic-bento-gallery .case-thumb:nth-child(5),
.graphic-design-page .graphic-bento-gallery .case-thumb:nth-child(9),
.graphic-design-page .graphic-bento-gallery .case-thumb:nth-child(19) {
  aspect-ratio: 3 / 2;
}

.graphic-design-page .graphic-bento-gallery .case-thumb:nth-child(3),
.graphic-design-page .graphic-bento-gallery .case-thumb:nth-child(7),
.graphic-design-page .graphic-bento-gallery .case-thumb:nth-child(12),
.graphic-design-page .graphic-bento-gallery .case-thumb:nth-child(16),
.graphic-design-page .graphic-bento-gallery .case-thumb:nth-child(18),
.graphic-design-page .graphic-bento-gallery .case-thumb:nth-child(20) {
  aspect-ratio: 1 / 1;
}

.graphic-design-page .graphic-bento-gallery .case-thumb:nth-child(6),
.graphic-design-page .graphic-bento-gallery .case-thumb:nth-child(7) {
  aspect-ratio: 16 / 9;
}

.graphic-design-page .graphic-bento-gallery .case-thumb:nth-child(14) {
  aspect-ratio: 3 / 4;
}

.graphic-design-page .graphic-bento-gallery .case-thumb:nth-child(4) .case-media {
  object-position: 76% center;
}

.graphic-design-page .graphic-bento-gallery .case-thumb:nth-child(10) .case-media {
  object-position: 18% center;
}

.graphic-design-page .graphic-bento-gallery .case-thumb:nth-child(15) .case-media,
.graphic-design-page .graphic-bento-gallery .case-thumb:nth-child(16) .case-media {
  object-position: center;
  transform: scale(1.28);
}

.c4d-page .c4d-01-wide-thumb {
  flex-basis: calc((100% - (var(--gallery-gap) * 4)) / 5);
  max-width: calc((100% - (var(--gallery-gap) * 4)) / 5);
  margin-inline: auto;
  aspect-ratio: auto;
  background: rgba(255, 255, 255, 0.04);
}

.c4d-page .c4d-01-wide-thumb .case-media {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.c4d-page .c4d-01-wide-thumb:hover .case-media {
  transform: none;
}

.c4d-page .c4d-section-02 .case-thumb {
  aspect-ratio: 1 / 1.96;
  background: rgba(255, 255, 255, 0.04);
}

.c4d-page .c4d-section-02 .case-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c4d-page .c4d-section-02 .case-thumb:hover .case-media {
  transform: scale(1.04);
}

.c4d-page .c4d-thumb-match-04 {
  aspect-ratio: 1 / 1.4;
  background: rgba(255, 255, 255, 0.04);
}

.c4d-page .c4d-thumb-match-04 .case-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c4d-page .c4d-thumb-match-04:hover .case-media {
  transform: scale(1.04);
}

.c4d-page .c4d-thumb-match-05 {
  aspect-ratio: 1 / 0.56;
  background: rgba(255, 255, 255, 0.04);
}

.c4d-page .c4d-thumb-match-05 .case-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c4d-page .c4d-thumb-match-05:hover .case-media {
  transform: scale(1.04);
}

.c4d-page .c4d-thumb-match-08 {
  aspect-ratio: 1 / 0.36;
  background: rgba(255, 255, 255, 0.04);
}

.c4d-page .c4d-thumb-match-08 .case-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c4d-page .c4d-thumb-match-08:hover .case-media {
  transform: scale(1.04);
}

.motion-design-page .motion-shader-hero {
  position: relative;
  min-height: clamp(420px, 56vh, 620px);
  justify-content: center;
  align-items: center;
  padding: clamp(104px, 13vh, 138px) 0 clamp(54px, 7vh, 72px);
  overflow: hidden;
  background: #061a62;
}

.motion-design-page .motion-shader-hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.motion-design-page .motion-shader-hero h1 {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 var(--panel-x);
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 4.4rem);
  font-weight: 750;
  line-height: 0.96;
  text-align: center;
  text-shadow: 0 18px 52px rgba(0, 0, 0, 0.32);
}

.experimental-wip-page .case-card {
  min-height: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.experimental-wip-page .case-card::after {
  display: none;
}

.experimental-wip-page .case-card img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 1;
  filter: none;
  border-radius: 8px;
  transform: none;
}

.experimental-wip-page .case-card:hover img {
  opacity: 1;
  transform: none;
}

.experimental-wip-page .case-card span,
.experimental-wip-page .case-card strong {
  position: static;
}

.experimental-wip-page .case-card span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
}

.experimental-wip-page .case-card strong {
  display: block;
  margin-top: 4px;
}

.tashi-talk-page .case-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(38px, 6vw, 84px);
  width: min(1120px, 100%);
  margin: 0 auto;
}

.tashi-talk-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.motion-design-page .motion-gif-gallery .case-thumb,
.tencent-page .case-thumb {
  flex-basis: calc((100% - (var(--gallery-gap) * 4)) / 5);
  max-width: calc((100% - (var(--gallery-gap) * 4)) / 5);
  min-width: 0;
  aspect-ratio: auto;
  background: transparent;
}

.motion-design-page .motion-gif-gallery {
  justify-content: center;
  max-width: 1160px;
  margin-inline: auto;
}

.fixed-five-gallery-page .case-gallery {
  justify-content: center;
  max-width: 1160px;
  margin-inline: auto;
}

.logo-page.fixed-five-gallery-page .case-gallery {
  justify-content: flex-start;
}

.moneybazzar-page.fixed-five-gallery-page .case-gallery {
  justify-content: flex-start;
}

.tencent-operation-page.fixed-five-gallery-page .case-gallery {
  justify-content: flex-start;
}

.chujia-page.fixed-five-gallery-page .case-gallery {
  justify-content: center;
  max-width: 1160px;
  margin-inline: auto;
}

.motion-design-page .motion-gif-gallery .case-thumb {
  flex: 0 0 calc((100% - (var(--gallery-gap) * 4)) / 5);
  max-width: calc((100% - (var(--gallery-gap) * 4)) / 5);
}

.fixed-five-gallery-page .case-thumb {
  flex: 0 0 calc((100% - (var(--gallery-gap) * 4)) / 5);
  max-width: calc((100% - (var(--gallery-gap) * 4)) / 5);
  aspect-ratio: auto;
}

.logo-page.fixed-five-gallery-page .case-thumb {
  aspect-ratio: 1 / 0.68;
}

.chujia-page.fixed-five-gallery-page .case-thumb:nth-child(-n + 5) {
  aspect-ratio: 1196 / 4524;
}

.motion-design-page .motion-gif-gallery .case-media,
.fixed-five-gallery-page .case-media,
.tencent-page .case-media {
  height: auto;
  object-fit: contain;
}

.logo-page.fixed-five-gallery-page .case-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chujia-page.fixed-five-gallery-page .case-thumb:nth-child(-n + 5) .case-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.motion-design-page .motion-gif-gallery .case-thumb:hover .case-media,
.fixed-five-gallery-page .case-thumb:hover .case-media,
.tencent-page .case-thumb:hover .case-media {
  transform: none;
}

.tencent-page .case-thumb {
  border-color: rgba(255, 255, 255, 0.1);
}

.smart-building-page .case-gallery {
  width: min(calc(100% - 48px), 1120px);
  margin-inline: auto;
  justify-content: flex-start;
}

.smart-building-page .case-thumb {
  flex: 0 0 208px;
  max-width: 208px;
}

.weiling-fixed-thumb-page .case-gallery {
  max-width: min(calc(100% - 48px), 1120px);
  margin-inline: auto;
  justify-content: center;
}

.weiling-fixed-thumb-page .case-thumb {
  border: 1px solid #e9eaea;
}

.timeline-page .case-hero {
  min-height: 52vh;
}

.timeline-section {
  position: relative;
  display: grid;
  gap: clamp(36px, 6vw, 74px);
  padding: clamp(54px, 8vw, 108px) var(--panel-x) 140px;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 70px;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(5, 250, 5, 0.72), transparent);
}

.timeline-item {
  position: relative;
  display: grid;
  gap: 12px;
  width: min(38vw, 460px);
  color: inherit;
  text-decoration: none;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 34px;
  width: clamp(44px, 7vw, 94px);
  height: 1px;
  background: rgba(5, 250, 5, 0.62);
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 28px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 24px rgba(5, 250, 5, 0.65);
}

.timeline-item.is-left {
  justify-self: start;
  text-align: right;
}

.timeline-item.is-right {
  justify-self: end;
}

.timeline-item.is-left::before {
  right: calc(-1 * clamp(44px, 7vw, 94px));
}

.timeline-item.is-right::before {
  left: calc(-1 * clamp(44px, 7vw, 94px));
}

.timeline-item.is-left::after {
  right: calc(-1 * clamp(44px, 7vw, 94px) - 6px);
}

.timeline-item.is-right::after {
  left: calc(-1 * clamp(44px, 7vw, 94px) - 6px);
}

.timeline-year {
  color: var(--accent);
  font-size: clamp(1.2rem, 3vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.timeline-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 54px rgba(0, 0, 0, 0.42));
}

.timeline-item strong {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  line-height: 1.2;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  nav {
    gap: 14px;
    font-size: 0.68rem;
  }

  .side-rail {
    display: none;
  }

  .hero,
  .motion-lab {
    grid-template-columns: 1fr;
  }

  .graphic-design-page .graphic-bento-gallery {
    column-count: 2;
  }

  .hero-meta {
    max-width: 520px;
    align-self: end;
  }

  .work-sequence::before,
  .work-item::before,
  .pair-start::after,
  .pair-end::after {
    display: none;
  }

  .work-item {
    grid-template-columns: 1fr;
    align-content: center;
    padding-left: var(--panel-x);
  }

  .cover-link {
    width: min(74vw, 420px);
  }

  .closing {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-section-head,
  .case-card-grid {
    grid-template-columns: 1fr;
  }

  .case-thumb,
  .natural-thumb-page .case-thumb,
  .motion-design-page .motion-gif-gallery .case-thumb,
  .tencent-page .case-thumb {
    flex-basis: calc((100% - (var(--gallery-gap) * 2)) / 3);
    max-width: calc((100% - (var(--gallery-gap) * 2)) / 3);
  }

  .motion-design-page .motion-gif-gallery .case-thumb {
    flex-basis: calc((100% - (var(--gallery-gap) * 2)) / 3);
    max-width: calc((100% - (var(--gallery-gap) * 2)) / 3);
  }

  .fixed-five-gallery-page .case-thumb {
    flex-basis: calc((100% - (var(--gallery-gap) * 2)) / 3);
    max-width: calc((100% - (var(--gallery-gap) * 2)) / 3);
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-top: 18px;
  }

  .brand {
    flex-direction: column;
    gap: 2px;
    line-height: 1;
  }

  nav {
    flex-direction: column;
    align-items: flex-end;
  }

  .nav-dropdown {
    left: auto;
    right: 0;
    min-width: min(78vw, 320px);
    transform: translate(0, 8px);
  }

  .nav-group:hover .nav-dropdown,
  .nav-group:focus-within .nav-dropdown {
    transform: translate(0, 0);
  }

  .case-thumb,
  .natural-thumb-page .case-thumb,
  .motion-design-page .motion-gif-gallery .case-thumb,
  .fixed-five-gallery-page .case-thumb,
  .tencent-page .case-thumb {
    flex-basis: calc(50% - 8px);
    max-width: calc(50% - 8px);
    min-width: 0;
  }

  h1 {
    font-size: clamp(4rem, 23vw, 7rem);
  }

  .hero-copy {
    padding-bottom: 20vh;
  }

  .hero-meta {
    display: none;
  }

  .scroll-hint {
    left: var(--panel-x);
    right: auto;
  }

  .work-copy h3,
  .work-intro h2,
  .motion-lab h2,
  .closing h2 {
    letter-spacing: -0.045em;
  }
}
